@charset "utf-8";
/**
 * Theme Name: Custom Theme new
 * Description: custom theme style sheet
 */

/* pager */
#pager {
  margin: auto;
  overflow: hidden;
}
#pager:before,
#pager:after {
  content: "";
  display: block;
  overflow: hidden;
}
#pager a {
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
#pager a:hover {
  background: #4d984d;
}
#pager .pages,
#pager .current,
#pager .extend,
#pager a {
  float: left;
  display: block;
  text-decoration: none;
  line-height: 20px;
  color: #333;
  background: #0d5279;
  border-radius: 4px;
}
#pager a {
  color: #fff;
}
#pager .pages,
#pager .current {
  background: #dedede;
}

@media screen and (max-width: 1024px) {
  #pager .pages,
  #pager .current,
  #pager .extend,
  #pager a {
    margin: 0 0 0 5px;
    padding: 4px 10px;
  }
}

@media screen and (min-width: 1025px) {
  #pager .pages,
  #pager .current,
  #pager .extend,
  #pager a {
    margin: 0 0 0 3px;
    padding: 2px 8px;
  }
}
/* pager-single */
#pager-single {
  clear: both;
  margin: 20px 0;
  padding: 10px 0 0;
  text-align: center;
}
#pager-single ul {
  width: 100%;
  margin: 0 auto;
}
#pager-single ul li {
  float: left;
  display: inline-block;
  width: 33%;
  min-height: 1px;
}
#pager-single ul li a {
  display: inline-block;
  font-weight: bold;
  font-size: 0.9em;
}
#pager-single ul li#prev {
  text-align: left;
}
#pager-single ul li#next {
  text-align: right;
}
#pager-single ul li#back {
  text-align: center;
}

/* SP SearchForm */
.sp-searchform {
  padding: 10px;
  text-align: center;
  background: #f7f7f7;
}
.sp-searchform #wp-search-wrapper {
  padding: 1.5rem 0;
  line-height: 1;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}
.sp-searchform #wp-searchform {
  letter-spacing: -0.4em;
}
.sp-searchform #wp-searchform div .screen-reader-text {
  display: none;
}
.sp-searchform #wp-searchform input {
  letter-spacing: normal;
  display: inline-block;
  vertical-align: middle;
  font-family: "メイリオ", Meiryo, Verdana, Arial, sans-serif;
  font-size: 16px;
  color: #4d4d4d;
}
.sp-searchform #wp-searchform input#s {
  width: 84%;
  height: 26px;
  margin: 0;
  padding: 4px !important;
  font-size: 16px;
  outline: none;
  background: rgb(255, 255, 255);
  border: solid 1px #ffa900;
  border-radius: 0;
}
.sp-searchform #wp-searchform input[type="image"] {
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 5px;
  width: 24px;
  height: 24px;
  background: #ffa900;
  border: solid 1px #ffa900;
  cursor: pointer;
  filter: none;
  border-radius: 0;
}
.sp-searchform #wp-searchform input[type="image"]:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/* Placeholder */
.sp-searchform #wp-searchform input#s::-webkit-input-placeholder {
  padding: 3px 0 0 3px;
  font-size: 13px;
}
.sp-searchform #wp-searchform input#s::-moz-placeholder {
  padding: 3px 0 0 3px;
  font-size: 13px;
}
.sp-searchform #wp-searchform input#s:-ms-input-placeholder {
  height: 24px;
  font-size: 13px;
  color: #999;
}
/* Editor-style */
body.mceContentBody {
  font-family: "メイリオ", meiryo, Verdana, sans-serif;
  font-size: 13px;
}
.editor-area p {
  clear: both;
  margin: 0 0 0.5em 0;
  padding: 0;
}
.editor-area a {
  color: #2e8ece;
}
.editor-area .alignleft,
.editor-area .alignright {
  float: none;
}

/*-- APPEND ----------------------------------------------------------------*/

iframe.wp-embedded-content {
  width: 100%;
}

.youtube {
  position: relative;
  max-width: 100%;
  padding-top: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

div#toc_container {
  margin-top: 32px;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .h_logoarea {
    margin: 0 1% 2%;
    padding: 4px;
  }
}
/* コラムCTA */
.colum-cta {
  background-color: #ce4343;
  margin-inline: auto;
  margin-bottom: 24px;
  display: block;
  width: clamp(448px, 50%, 520px);
  padding: 24px;
  color: white;
  text-decoration: none;
  text-align: center;
  span.colum-cta-heading {
    font-size: 20px;
    font-weight: bold;
  }
  a {
    color: white;
    text-decoration: none;
    &:hover {
      /*opacity: 0.8; */
    }
  }
  .colum-cta-in1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .colum-cta-line {
    background-color: #12a73b;
    &:hover {
      background-color: #20913f;
    }
  }
  .colum-cta-contact {
    background-color: #007aff;
    :hover {
      background-color: #246bb9;
    }
  }
  .c-cta-up-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    height: 70px;
    width: clamp(200px, 30%, 320px);
    justify-content: space-around;
    border-radius: 8px;
    p {
      text-align: left;
      width: 160px;
      margin-bottom: 0px;
    }
    .svg-inline--fa {
      height: 20px;
      padding-left: 8px;
    }
  }
  .colum-cta-in2 {
    background-color: #ffa800;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 24px;
    &:hover {
      background-color: #eda313;
    }
  }
  .colum-cta-tel {
    span {
      font-size: 32px;
    }
    img {
      width: 40px;
    }
  }
  .colum-cta-tel p > span {
    font-size: 16px !important;
  }
  .colum-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
}
@media screen and (max-width: 600px) {
  .colum-cta {
    width: clamp(320px, 95%, 520px);
    padding: 12px;
    > P {
      font-size: 15px;
    }
    .c-cta-up-in {
      display: flex;
      align-items: center;
      border-radius: 8px;
      p {
        text-align: left;
        width: 115px;
        font-size: 14px;
      }
      .svg-inline--fa {
        height: 14px;
      }
    }
    .colum-cta-tel p > span {
      font-size: 14px !important;
    }
  }
}
div#toc_container {
  margin-inline: auto;
  width: 64% !important;
  min-width: 476px;
}
@media screen and (max-width: 600px) {
  div#toc_container {
    margin-inline: auto;
    width: 94% !important;
    min-width: 300px;
  }
}
.sp_tab-head {
  li {
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
  }
  li.tel {
    background-color: #ce4343;
    text-align: center;
  }
  li.mail {
    background-color: #ffba00;
    text-align: center;
  }
  a {
    color: white !important;
  }
}
.f_pc_bnr.sp_tab {
  ul.cf.f-contact {
    .li-icon,
    h6 {
      color: #fff;
    }
    .tel {
      background-color: #ce4343;
      border: 3px solid #ce4343;
    }
    .mail {
      background-color: #ffba00;
      border: 3px solid #ffba00;
    }
    .line {
      border: 3px solid #06c152;
      background-color: #06c152;
    }
  }
}
.f-contact li:nth-child(1) h6 {
  text-align: center;
  color: #000 !important;
}
.f-contact li:nth-child(1) .li-icon {
  text-align: center;
  color: #000 !important;
}

#h_contact {
  .li-icon,
  h6 {
    color: white !important;
  }
  .tel {
    background-color: #ce4343;
    border: 3px solid #ce4343;
  }
  .mail {
    background-color: #ffba00;
    border: 3px solid #ffba00;
  }
  .line {
    border: 3px solid #06c152;
    background-color: #06c152;
  }
}
@media screen and (min-width: 961px) {
  .sp_tab-head {
    display: none !important;
  }
}

.wpb {
  #f-tel {
    .li-icon,
    h6 {
      color: white !important;
    }
  }
}

/* ブログカード */
.wpb {
  .blogcard-wrap {
    display: flex;
    gap: 20px;
    margin-inline: auto;
    margin-bottom: 30px;
    padding-bottom: 8px;
    background-color: #ffffff;
    padding: 8px;
    h4.b-title {
      font-size: 18px;
    }
  }
  a.blogcard-wrap:hover,
  .blogcard-wrap:hover * {
    text-decoration: none;
    opacity: 0.9;
  }
  @media screen and (max-width: 600px) {
    .blogcard-wrap {
      flex-direction: column;
    }
  }
}

.wpb {
  #ts-fab-below {
    .author-headline {
      background-color: black;
      color: white;
      padding: 4px 8px;
    }
    h3 {
      background: none;
      border: none;
      margin-bottom: 0px;
      font-size: 18px;
    }
    p {
      margin-bottom: 8px;
    }
    .author-in-right {
      display: flex;
      align-items: center;
      gap: 20px;
      span {
        font-size: 20px;
        font-weight: bold;
      }
    }
    .author-wrap {
      border: solid 2px;
      padding: 8px;
      margin-bottom: 100px;
      background-color: white;
      margin-top: -1px;
    }
    img {
      width: 150px;
    }
  }
}
.wpb {
  .contact_bg {
    th {
      text-align: left !important;
    }
    .c-input,
    .textarea01 {
      border: #dedede 1px solid;
      width: 95.5%;
      padding: 2% 2%;
      font-size: 16px;
    }
    input::placeholder {
      color: #4d4b4b69;
    }

    input::-webkit-input-placeholder {
      color: #4d4b4b69;
    }
    input[type="radio"] {
      appearance: auto;
    }
  }
}
/* 新着記事表示 */
.new-post {
  margin-top: 12px;
  a {
    display: block;
    border-bottom: #dedede 1px dotted;
    margin-bottom: 16px;
  }
  span {
    display: block;
  }
}

/* モバイルハンバーガーメニュー */

.wpb {
  scroll-behavior: smooth;
  .hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 38px;
    position: relative;
    z-index: 1001;
    margin-left: 6px;
  }

  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  }

  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s;
  }

  .hamburger-line:nth-child(1) {
    top: 0;
  }

  .hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-line:nth-child(3) {
    bottom: 0;
  }

  /* ハンバーガーメニューがアクティブな時 */
  .hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(20px) rotate(45deg);
  }

  .hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-16px) rotate(-45deg);
  }
  .sp-menu-wrap {
    display: none;
  }

  @media screen and (max-width: 767px) {
    header {
      position: fixed;
      width: 100%;
      z-index: 9999;
      background-color: white;
      top: 0px;
    }
    #h_logo {
      float: left;
      width: 67%;
    }
    #h_contact {
      float: right;
      width: 33%;
      display: flex;
    }
    #content {
      margin: 90px 2% 40px;
    }
    .sp_tab-head {
      display: flex;
    }
  }
  .sp-menu-wrap {
    display: none;
    @media screen and (max-width: 767px) {
      display: block;
      .new-sp-menu {
        z-index: 999;
        display: none;
        @media screen and (max-width: 1000px) {
          display: flex;
          align-items: center;
        }
      }
      .new-sp-menu img {
        width: 40px;
        height: 40px;
        cursor: pointer;
        padding-left: 8px;
      }
      /* スマホメニュー */
      .sp-menu {
        position: fixed;
        top: 54px;
        bottom: 0px;
        left: 0;
        width: 100%;
        height: calc(100vh - 54px);
        background-color: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        ul {
          height: auto;
        }
      }

      .sp-menu.is-active {
        transform: translateX(0);
      }
      .burger-close {
        display: none; /* 初期状態で非表示 */
      }
      .head-menu-wrap {
        position: relative;
      }
      .sp-menu-child {
        display: none; /* 初期状態で非表示 */
        position: absolute;
        top: 80px;
        left: 10vw;
        width: 90vw;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 998;
        height: 200vh;
        padding-top: 30px;
        opacity: 0.9;
      }

      .sp-menu-child ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
      }

      .sp-menu-child ul a {
        text-decoration: none;
      }

      .sp-menu-child ul {
        li {
          padding: 15px;
          border-bottom: 1px solid #ddd;
          text-align: left;
          font-size: 16px;
          color: black;
          float: none !important;
          margin-left: 0% !important;
          box-sizing: border-box;
          width: 100% !important;
        }
      }

      .sp-menu-child ul li:hover {
        background-color: #f4f4f4;
      }
      .sp-menu-toc {
        display: flex;
        flex-direction: column;
        height: 350px;
        a {
          padding: 16px;
          font-size: 16px;
          border: 0.5px solid #ddd;
        }
      }
      .new-sp-menu.active .burger-open {
        display: none; /* メニューオープンアイコン非表示 */
      }

      .new-sp-menu.active .burger-close {
        display: block; /* メニュークローズアイコン表示 */
      }

      .new-sp-menu.active .sp-menu-child {
        display: block; /* メニューを表示 */
      }
      .sp-ul {
        min-height: 1100px;
      }
      ul.sp_tab-head {
        display: flex;
      }
      div#h_contact {
        display: flex;
      }
      .t-visit {
        text-align: center;
        padding: 36px 0 36px 0;
        h2 {
          color: black;
          font-size: 16px;
        }
        .visit-button {
          position: relative;
          margin-inline: auto;
          margin-top: 12px;
          &:has(.line) {
            > span {
              color: #08c656;
            }
          }
          &:has(.tel) {
            > span {
              color: #e6652d;
            }
          }
          &:has(.web) {
            > span {
              color: #309cd7;
            }
          }
          button {
            width: clamp(300px, 90%, 560px);
            padding: 22px 40px;
            text-align: center;
            color: white;
            margin-top: 32px;
            border-radius: 32px;
            border: none;
            position: relative;
            font-weight: 700;
            letter-spacing: 0.5px;
            font-size: 16px;
            border-radius: 40px;
            &:hover {
              cursor: pointer;
              transform: translateY(6px);
              transition: transform 0.3s ease;
              box-shadow: none;
            }
            &::after {
              position: absolute;
              content: "";
              background-image: url("/wp-content/uploads/2025/01/right-ungle.png.webp");
              width: 20px;
              height: 20px;
              background-size: contain;
              background-repeat: no-repeat;
              right: 10px;
            }
            &::before {
              position: absolute;
              content: "";
              width: 36px;
              height: 36px;
              background-size: contain;
              background-repeat: no-repeat;
              left: 20px;
              bottom: 16px;
            }
          }
          .line {
            background-color: #08c656;
            box-shadow: 0px 5px 0px #30693f;
            &::before {
              background-image: url("/wp-content/uploads/2025/01/line-icon.webp");
            }
          }
          .tel {
            background: linear-gradient(50deg, #e6652d 50%, #ffa400);
            box-shadow: 0px 5px 0px #6f4003;
            background-color: unset;
            border: none !important;
            &::before {
              background-image: url("https://door.giogiozone.com/wp-content/uploads/2025/01/tel.webp");
            }
          }
          .web {
            background: linear-gradient(50deg, #309cd7 50%, #30b9d7);
            box-shadow: 0px 5px 0px #024059;
            &::before {
              background-image: url("https://door.giogiozone.com/wp-content/uploads/2025/01/web.webp");
            }
          }
          span {
            position: absolute;
            left: calc(50% - 100px);
            background-color: #ffffff00;
            top: 8px;
            border-radius: 6px;
            z-index: 1;
            color: black !important;
          }
          hr {
            position: absolute;
            width: 20px;
            height: 18px;
            clip-path: polygon(50% 55%, 0 0, 100% 0);
            background-color: white;
            bottom: 35px;
            left: calc(50% - 10px);
            z-index: 1;
            border: none;
            color: white;
          }
        }
      }
      @media screen and (min-width: 1024px) {
        .t-visit {
          .visit-button-wrap {
            display: flex;
          }
          .visit-button {
            width: 100%;
          }
        }
      }
      .service-areas-accordion {
        width: 100%;
        border: 1px solid #ddd;
        span,
        .area-item {
          font-size: 16px;
        }
        .area-item {
          padding: 15px;
          padding-left: 16px;
          border-bottom: dotted 1px #ddd;
        }
      }

      .accordion-header {
        width: 100%;
        padding: 15px;
        background: #fff;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
      }

      .accordion-header .arrow {
        transition: transform 0.3s;
      }

      .accordion-header.active .arrow {
        transform: rotate(180deg);
      }

      .accordion-content {
        overflow: hidden;
        transition: 0.3s ease-out;
        max-height: 0;
      }

      .accordion-content.active {
        overflow: visible;
        max-height: 100%;
      }

      .accordion-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .accordion-content li {
        padding: 10px 15px;
        border-top: 1px solid #eee;
      }
      .accordion-content li:hover {
        background: #f5f5f5;
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .blog {
    header {
      top: 0px;
      padding-top: 10px;
    }
    .sp-menu {
      top: 60px !important;
      height: calc(100vh - 60px) !important;
    }
  }
}

.author-page {
  margin-top: 130px;
  @media screen and (max-width: 767px) {
    margin: 90px 0% 40px !important;
  }
  div#ts-fab-below,
  .breadcrumbs {
    max-width: 1000px;
    margin-inline: auto;
  }
  .breadcrumbs {
    padding-left: 12px;
  }
  .blog_content {
    background-color: aliceblue;
    padding: 36px;
    margin-top: 12px;
    .t-img,
    .t-span,
    .blog_ttl {
      text-align: center !important;
      display: block !important;
      margin-inline: auto;
    }
    .t-span {
      color: #1e73be;
      font-size: 24px;
      font-weight: bold;
    }
    .blog_ttl {
      font-size: 32px !important;
      font-weight: bold !important;
    }
  }
}

.slug-author {
  @media (width < 768px) {
    #wrapper {
      margin-top: 20px;
    }
  }
}
.post-type-archive-faq {
  @media screen and (max-width: 767px) {
    #content {
      margin: 110px 2% 40px;
    }
  }
}
.wpb {
  @media screen and (max-width: 767px) {
    .privacy {
      margin-bottom: 60px;
      display: block;
    }
  }
}
.author-in-left a {
  color: blue;
  text-decoration: underline;
}

.certificate {
  margin: 0 auto;
  padding: 20px;

  /* 見出し */
  h2 {
    text-align: center;
    margin-bottom: 30px;
  }

  /* コンテンツを囲む親div */
  > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCでは2列のグリッドレイアウト */
    gap: 20px; /* アイテム間の隙間 */
    width: 100%;

    /* 各証明書のコンテンツ */
    .content {
      display: flex;
      flex-direction: column;
      align-items: center;
      border-radius: 5px;
      padding: 15px;
      /* 証明書のタイトル */
      h3 {
        margin-bottom: 15px;
        text-align: center;
        font-size: 16px;
      }

      /* 証明書の画像 */
      img {
        max-width: 100%;
        width: clamp(280px, 90%, 600px) !important;
        height: auto;
      }
    }
  }
}

/* タブレット向けの調整 */
@media (max-width: 768px) {
  .certificate {
    > div {
      gap: 15px; /* 間隔を少し狭くする */
    }
  }
}

/* スマートフォン向けの調整 */
@media (max-width: 480px) {
  .certificate {
    > div {
      grid-template-columns: 1fr; /* モバイルでは1列表示に変更 */
      gap: 15px; /* 間隔を調整 */

      .content {
        h3 {
          font-size: 15px; /* 見やすいサイズに調整 */
        }
      }
    }
  }
}

.f-page {
  margin-top: 140px;
  margin-left: 0px !important;
  margin-right: 0px !important;
  .f-head-wrap {
    background-color: #1e73be;
    color: white;
    padding: 24px 12px;
    text-align: center;
    span,
    h2 {
      color: white;
    }
  }
  .lead {
    text-align: center;
    background-color: #edf4fa;
    padding: 24px 12px;
    margin-bottom: 60px;
  }
  .t-flow {
    padding-top: 0px;
    .pc-flow-wrap {
      width: 95%;
      max-width: 1280px;
      @media screen and (max-width: 1024px) {
        display: contents;
      }
    }
    .flow-content-wrap {
      background-color: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      @media screen and (max-width: 1024px) {
        padding: 0px;
      }
      &::after {
        display: none;
      }
      .flow-content-inner {
        box-shadow: 0 4px 6px rgba(0, 0, 0.2, 0.2);
        padding-left: 0px;
        img {
          width: 100%;
          display: inline-block !important;
          box-sizing: border-box;
        }
        p {
          text-align: center;
          background-color: #1e73be;
          margin: 0px;
          padding: 12px 0;
        }
        .f-p {
          color: black;
          padding: 12px;
          background-color: white;
          p {
            background-color: white;
            color: black;
            text-align: left;
          }
        }
      }
    }
    .flow-content-heading {
      display: flex !important;
      align-items: center;
      transform: skewX(333deg);
      margin-bottom: -8px;
      padding-left: 0px;
      & span {
        color: #1e73be;
        &:first-of-type {
          transform: rotate(0deg);
          font-size: 30px;
          height: auto;
          opacity: 1;
        }
        &:nth-of-type(2) {
          font-size: 30px;
          margin-left: 0px;
        }
      }
    }
  }

  .f-reason {
    text-align: center;
    background-color: #f0f4f8;
    padding: 48px 12px;
    h2 {
      color: #1e73be;
      font-size: 32px;
      @media screen and (max-width: 600px) {
        font-size: 24px;
      }
    }
    .services {
      display: grid;
      grid-template-columns: repeat(2, minmax(140px, 1fr));
      gap: 70px 40px;
      padding: 60px 20px;
      max-width: 1200px;
      margin: 0 auto;
      @media screen and (max-width: 768px) {
        grid-template-columns: minmax(280px, 1fr);
      }
      .service-card {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        img {
          width: 100%;
          height: auto;
          display: block;
          object-fit: cover;
        }

        .card-content {
          padding: 20px;
          flex: 1;
          display: flex;
          flex-direction: column;

          .service-title {
            margin: 0 0 8px;
            font-size: 1.6rem;
            color: #2c64b8;
            @media screen and (max-width: 600px) {
              font-size: 20px;
            }
          }

          .service-subtitle {
            margin: 0 0 16px;
            font-size: 1.1rem;
            font-weight: 600;
            color: #555;
            font-weight: 900;
          }

          .service-description {
            margin: 0;
            flex: 1;
            font-size: 0.9rem;
            line-height: 1.6;
          }
        }
      }
    }
  }
}

html {
  scroll-padding-top: 100px; /* Chrome / Safari / Firefox 全対応 */
}

.faq-page {
  .q-category {
    margin-bottom: 60px;
    .inner {
      background-color: #edf4fa;
      width: clamp(280px, 90%, 900px);
      margin-inline: auto;
      padding: 12px;
      .q-c-head {
        color: #1e73be;
      }
      ul {
        list-style: none;
        padding-left: 0px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        a {
          text-decoration: none;
          width: 45%;
          background-color: white;
          padding: 12px;
          position: relative;
          color: black;
          @media screen and (max-width: 768px) {
            width: 90%;
          }
          &::after {
            content: "▼";
            position: absolute;
            right: 12px;
            top: 12px;
            color: #1e73be;
          }
          &:hover {
            opacity: 0.8;
          }
        }
      }
    }
  }
  .q-a-content.t-question {
    background: none;
    padding-bottom: 60px;
    .question-content-wrap {
      .q-h {
        color: #1e73be;
        border-bottom: solid 2px #1e73be;
        padding-bottom: 8px;
        margin-top: 40px;
      }
      .question-content-heading {
        box-shadow: 0 4px 6px rgba(0, 0, 0.2, 0.2);
        p {
          padding-left: 12px;
        }
      }
      .question-content.accordion-content {
        box-shadow: 0 4px 6px rgba(0, 0, 0.2, 0.2);
      }
    }
  }
}

.page-company {
  .c-table {
    max-width: 800px;
    width: 90%;
    margin-inline: auto;
    > div {
      display: flex;
      border-bottom: solid 1px #b4b4b4;
      padding-bottom: 4px;
      margin-bottom: 24px;
      .l {
        color: #1e73be;
        text-align: left;
        font-weight: bold;
        display: block;
        width: 100%;
        font-size: 18px;
      }
      .r {
        display: block;
        width: 100%;
      }
    }
  }
  .one {
    color: #1e73be;
    font-size: 18px;
    font-weight: bold;
    border-bottom: solid 2px #1e73be !important;
  }
  .company-history {
    background-color: #edf4fa;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  a {
    color: black;
  }
}

.f-navi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto !important;
  float: none;
}

#copyright {
  text-align: center;
  float: none;
}

@media screen and (max-width: 767px) {
  .p-copy {
    display: none;
  }
}
.single-blogs {
  .contact_bg {
    overflow: hidden;
    h2:not(.ttl01) {
      font-size: 28px;
      border-top: solid 3px #bc1548; /*上線*/
      border-bottom: solid 3px #bc1548; /*下線*/
      padding-top: 4px;
      margin-bottom: 12px;
      @media screen and (max-width: 768px) {
        font-size: 24px;
      }
    }
  }
}
@media screen and (min-width: 768px) {
  footer {
    max-width: 100% !important;
  }
}

.post-type-archive-blogs {
  @media screen and (min-width: 768px) {
    h1.ttl01 {
      font-size: 35px;
      text-align: center;
      font-weight: 300;
      color: #bc1548;
      margin-bottom: 20px;
    }
    @media screen and (max-width: 767px) {
      h1.ttl01 {
        font-size: 24px;
        text-align: center;
        font-weight: 300;
        color: #bc1548;
        margin-bottom: 10px;
      }
    }
  }
}

.page:not(.home) {
  @media (width < 768px) {
    #wrapper {
      margin-top: 160px;
    }
  }
}

.post-type-archive-blogs {
  #content {
    @media (width <= 768px) {
      margin-top: 160px;
    }
    h1 {
      background: none;
      color: #bd1548;
      font-size: 24px;
      font-weight: bold;
    }
  }
}

#atl {
  background: none;
  color: #bd1548;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
