@charset "utf-8";

/*--------------------
webfont
--------------------*/
* {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
}

/*--------------------
common
--------------------*/
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  counter-reset: number 0;
  overflow-x: hidden;
  color: #483F35;
  /* position: relative; */
  background-color: var(--bg-base);
  background-attachment: fixed;
  background-position: left 60px top 60px;
  background-repeat: no-repeat;

  @media (max-width: 767px) {
    background-position: left 20px top 30px;
    background-size: 186px;
  }

  &.no-scroll {
    overflow: hidden;
  }

  &.body_h {
    background-image: url("../img/bg_logo_fixed_h.svg");
  }

  &.body_b {
    background-image: url("../img/bg_logo_fixed_b.svg");
  }
}

a {
  color: var(--text-base);
  text-decoration: none;
  transition: ease-in .2s;

  &:hover {
    transition: ease-in .2s;
  }
}

picture {
  display: block;

  img {
    width: 100%;
  }
}

.grecaptcha-badge {
  display: none !important;
}

.container {
  max-width: calc(1440px + 4%);
  margin: auto;
  padding: 0 2%;

  @media (max-width: 1530px) {
    width: 100%;
  }

  @media (max-width: 767px) {
    width: 100%;
    padding: 0 5%;
  }
}

.container_m {
  max-width: calc(1200px + 4%);
  margin: auto;
  padding: 0 2%;

  @media (max-width: 1300px) {
    width: 100%;
    padding: 0 5%;
  }
}

.container_s {
  max-width: calc(960px + 4%);
  margin: auto;
  padding: 0 2%;

  @media (max-width: 1000px) {
    width: 100%;
    padding: 0 5%;
  }
}

.pc {
  display: block;

  @media (max-width: 767px) {
    display: none;
  }
}

.sp {
  display: none;

  @media (max-width: 767px) {
    display: block;
  }
}

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

.h_only,
.b_only {
  display: none;
}

/* お問い合わせ、LINE予約 */
.cta_area {
  display: flex;
  /* 10px-15px:766px-1920px */
  gap: clamp(0.625rem, 0.417rem + 0.43vw, 0.938rem);

  @media (max-width: 1300px) {
    margin-left: auto;
  }

  a {
    border-radius: 10px;
    color: #fff;
    /* 14px-16px:766px-1920px */
    font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* 120px-140px:766px-1920px */
    width: clamp(7.5rem, 6.668rem + 1.73vw, 8.75rem);
    /* 50px-60px:766px-1920px */
    height: clamp(3.125rem, 2.709rem + 0.87vw, 3.75rem);
    transition: ease-in .2s;

    &.btn_line {
      background-color: #166189;

      &::before {
        content: "";
        width: 20px;
        height: 20px;
        background: url("../img/icon_line.svg") center center / contain no-repeat;
      }
    }

    &.btn_tel {
      background-color: #C7B342;
      gap: 2px;

      &::before {
        content: "";
        width: 20px;
        height: 20px;
        background: url("../img/icon_tel.svg") center center / contain no-repeat;
      }
    }

    &:hover {
      opacity: 0.8;
    }
  }
}

/* 次へ前へ */
.swiper_area {
  position: relative;

  .swiper-button-next,
  .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 27px;
    height: 27px;
    margin: 0;

    &::after {
      content: "";
      display: block;
      width: 27px;
      height: 27px;
    }

    @media (max-width: 767px) {
      width: 24px;
      height: 24px;

      &::after {
        width: 24px;
        height: 24px;
      }
    }
  }

  .swiper-button-prev {
    left: -10px;

    @media (max-width: 767px) {
      left: 0;
    }

    &::after {
      background: var(--icon-arrow) top left no-repeat;
      background-size: contain;
      transform: rotate(-180deg);
    }
  }

  .swiper-button-next {
    right: -10px;
    left: auto;

    @media (max-width: 767px) {
      right: 0;
    }

    &::after {
      background: var(--icon-arrow) top left no-repeat;
      background-size: contain;
    }
  }

  .swiper-button-disabled {
    display: none !important;
  }

  /* pagination */
  .swiper-pagination {
    bottom: -30px;

    @media (max-width: 767px) {
      bottom: -20px;
    }

    .swiper-pagination-bullet {
      background: #DBDBDB;
      opacity: 1;
      margin: 0 6px;

      &.swiper-pagination-bullet-active {
        background: var(--text-color);
        opacity: 0.5;
      }
    }
  }
}

/*--------------------
loader
--------------------*/
.loader-inner {
  width: 30px;
  height: 30px;
  border: 3px solid #ccc;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------
main
--------------------*/
main {
  /* 80px-120px:375px-1920px */
  padding-bottom: clamp(5rem, 4.393rem + 2.59vw, 7.5rem);
}

body.home main {
  padding-bottom: 0;
}

/*--------------------
header
--------------------*/
header {
  position: relative;

  .header_inner {
    position: relative;
    background-color: var(--bg-base);
    z-index: 2;
    display: flex;
    align-items: center;
    height: 110px;

    @media (max-width: 767px) {
      height: 56px;
    }

    /* ロゴ */
    .logo {
      margin: 0;
      align-self: flex-start;

      a {
        /* 180px-250px:1000px-1920px */
        width: clamp(11.25rem, 6.495rem + 7.61vw, 15.625rem);
        /* 180px-220px:1000px-1920px */
        height: clamp(11.25rem, 8.533rem + 4.35vw, 13.75rem);
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-base);
        border-radius: 0 0 20px 0;
        transition: none;

        @media (max-width: 767px) {
          width: 113px;
          height: 108px;
        }

        img {
          width: 54%;

          @media (max-width: 767px) {
            width: 62%;
          }
        }
      }
    }

    /* 営業時間 */
    .opening_hours {
      @media (max-width: 767px) {
        display: grid;
        column-gap: 7px;
      }

      .ttl {
        /* 9px-12px:375px-1920px */
        font-size: clamp(0.563rem, 0.517rem + 0.19vw, 0.75rem);
        color: var(--text-base);
        border: 1px var(--text-base) solid;
        margin: 0 0 5px;
        padding: 2px 5px;
        width: fit-content;

        @media (max-width: 767px) {
          grid-column: 1;
          grid-row: 1 / 3;
          margin-bottom: 0;
          line-height: 1.3;
          padding: 2px 4px;
        }
      }

      .time {
        /* 10px-13px:375px-1920px */
        font-size: clamp(0.625rem, 0.579rem + 0.19vw, 0.813rem);
        color: var(--text-base);
        display: block;

        @media (max-width: 767px) {
          &:nth-last-of-type(1) {
            grid-column: 2;
            grid-row: 1;
          }

          &:nth-last-of-type(2) {
            grid-column: 2;
            grid-row: 2;
          }
        }
      }
    }

    /* グローバルナビ */
    .g_nav {
      margin-left: auto;
      /* 2px-40px:1400px-1200px */
      margin-right: clamp(1.25rem, -2.115rem + 3.85vw, 2.5rem);

      @media (max-width: 1300px) {
        display: none;
      }

      .g_nav_list {
        display: flex;
        /* 15px-40px:1400px-1200px */
        gap: clamp(0.938rem, -3.269rem + 4.81vw, 2.5rem);
        margin: 0;

        .g_nav_item {
          position: relative;

          &>a,
          span {
            /* 14px-18px:1400px-1920px */
            font-size: clamp(0.875rem, 0.202rem + 0.77vw, 1.125rem);
            color: var(--text-base);
            font-weight: 500;
            height: 110px;
            display: flex;
            align-items: center;

            &:hover {
              color: var(--text-color);
            }
          }

          span {
            position: relative;

            &::before {
              content: "";
              display: block;
              position: absolute;
              bottom: 25px;
              left: 50%;
              width: 8px;
              height: 8px;
              border: 0;
              border-top: solid 2px var(--text-color);
              border-right: solid 2px var(--text-color);
              transform: translateX(-50%) rotate(135deg);
            }
          }

          .g_nav_dropdown {
            position: absolute;
            top: 110px;
            left: -200px;
            width: 800px;
            background-color: #166189;
            border-radius: 10px;
            padding: 40px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            display: none;
            transition: ease-in .2s;
            overflow-y: scroll;
            height: 70vh;
            max-height: 850px;

            .box {
              .ttl {
                color: #fff;
                font-size: 18px;
                font-weight: 600;
                border-bottom: 1px #fff solid;
                padding-bottom: 5px;
                margin: 0 0 10px;
              }

              .dropdown_list {
                display: flex;
                flex-wrap: wrap;
                gap: 10px 5%;

                .dropdown_item {
                  width: 50%;
                  line-height: 1.5;
                  color: #fff;
                  font-size: 16px;

                  a {
                    display: inline-block;
                    line-height: 1.5;
                    color: #fff;
                    font-size: 16px;
                    font-weight: normal;

                    &:hover {
                      opacity: 0.6;
                    }
                  }

                  &:nth-child(even) {
                    width: 45%;
                  }

                  /* a {
                    color: #fff;
                    font-size: 16px;
                    font-weight: normal;

                    &:hover {
                      opacity: 0.6;
                    }
                  } */
                }
              }

              &:nth-child(1) {
                grid-column: 1;
                grid-row: 1;
              }

              &:nth-child(2) {
                grid-column: 2;
                grid-row: 1;
              }

              &:nth-child(3) {
                grid-column: 1;
                grid-row: 2;
              }

              &:nth-child(4) {
                grid-column: 2;
                grid-row: 2;
              }

              &:nth-child(5) {
                grid-column: 1;
                grid-row: 3;
              }

              &:nth-child(6) {
                grid-column: 2;
                grid-row: 3;
              }
            }
          }

          &:hover {
            .g_nav_dropdown {
              display: grid;
            }
          }
        }
      }
    }

    /* CTA */
    .header_cta {
      margin-right: 20px;
      @media (max-width: 767px) {
        display: none;
      }
    }

    /* ハンバーガー */
    .hamburger_lines {
      position: relative;
      /* width: clamp(1.375rem, 1.148rem + 0.97vw, 1.875rem); */
      width: 30px;
      /* 20px-30px:767px-1920px */
      margin: 0 clamp(1.25rem, 0.834rem + 0.87vw, 1.875rem);
      /* height: clamp(13px, 3.466666666666667vw, 26px); */
      /* height: clamp(0.75rem, 0.53rem + 0.94vw, 1.375rem); */
      height: 24px;
      -webkit-transition-duration: 300ms;
      transition-duration: 300ms;

      @media (max-width: 767px) {
        width: 22px;
        height: 18px;
        margin: 0 5% 0 auto;
      }

      .line {
        position: absolute;
        right: 0;
        left: 0;
        display: block;
        width: 100%;
        height: clamp(0.125rem, 0.097rem + 0.12vw, 0.188rem);
        margin: auto;
        -webkit-transition-duration: 300ms;
        transition-duration: 300ms;
        background-color: var(--ham-color);
        border-radius: 5vw;
      }

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

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

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

      &.active {
        position: fixed;
        z-index: 102;
        right: 0;

        .line {
          background-color: var(--tab-active-color);
        }
      }
    }

    &.visible {
      position: fixed;
      width: 100%;
      background-color: var(--header-inner);
      z-index: 30;
      top: 0;

      .logo {
        align-self: center;

        a {
          width: 227px;
          height: auto;
          border-radius: 0;
          background-color: transparent;
          margin: 0 30px 0 40px;

          @media (max-width: 767px) {
            width: 113px;
            margin: 0 10px;
          }

          img {
            width: 100%;
          }
        }
      }
    }
  }
}

header:has(.header_inner.visible) {
  margin-top: 110px;

  @media (max-width: 767px) {
    margin-top: 56px;
  }
}

/*--------------------
ハンバーガー中身
--------------------*/
/*フッター、ハンバーガー　共通ナビ*/
.f_nav {
  @media (max-width: 767px) {
    width: calc((100% - 30px) / 2);
  }

  /* .f_nav_ttl {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px #C7B342 solid;
    padding-bottom: 7px;
    font-size: 16px;
    font-weight: 600;
    
    &::before {
      content: "";
      width: 24px;
      height: 24px;
      background: url("../img/icon_sun_yellow.svg") center center / contain no-repeat;
    }
  }
  &.nav_b {
    .f_nav_ttl {
      &::before {
        background: url("../img/icon_moon_yellow.svg") center center / contain no-repeat;
      }
    }
  } */
  .f_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 50px;

    .f_nav_item {
      width: calc((100% - 50px) / 2);

      a {
        line-height: 2;
        font-size: 14px;
        font-weight: 500;

        &:hover {
          opacity: 0.8;
        }
      }

      &+.f_nav_item {
        @media (max-width: 767px) {
          margin-top: 5px;
        }
      }
    }
  }
}

/* コンタクト、ハンバーガー　共通 */
.contact_box {
  text-align: center;

  .inner {
    max-width: 745px;
    width: 90%;
    margin: auto;
    position: relative;

    &::before {
      content: "";
      display: block;
      width: 214px;
      height: 98px;
      background: url("../img/contact_decoration.svg") top center / contain no-repeat;
      position: absolute;
      top: -80px;
    }

    @media (max-width: 767px) {
      &::before {
        width: 125px;
        height: 57px;
        top: -55px;
        left: -10px;
      }
    }

    .read {
      /* 18px-30px:375px-1920px */
      font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
      font-weight: 600;
      color: #00284A;
      /* 20px-40px:375px-1920px */
      margin: 0 0 clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
      display: inline-block;

      small {
        display: block;
        /* 13px-18px:375px-1920px */
        font-size: clamp(0.813rem, 0.737rem + 0.32vw, 1.125rem);
        margin-top: 5px;
      }
    }

    .cta_area {
      /* 5px-25px:375px-1920px */
      gap: clamp(0.313rem, 0.009rem + 1.29vw, 1.563rem);

      a {
        width: calc((100% - 25px) / 2);
        /* 16px-25px:375px-1920px */
        font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
      }
    }
  }
}

/* フッター、ハンバーガー共通インフォ */
.f_info {
  .txt {
    font-size: 14px;
    margin: 0 0 20px;
  }

  .sns_list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    gap: 15px;

    .sns_item {
      a {
        display: block;
        width: 32px;

        img {
          width: 100%;
        }

        &:hover {
          opacity: 0.8;
          ;
        }
      }
    }
  }

  .link_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;

    .link_item {
      a {
        /* 12px-14px:375px-1920px */
        font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
        text-decoration: underline;

        &:hover {
          text-decoration: none;
        }
      }
    }
  }
}

.ham_con {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ham-con-bg);
  transition: ease-in .2s;
  z-index: 101;
  overscroll-behavior: none;
  overflow: auto;
  padding: 50px;

  @media (max-width: 767px) {
    gap: 0;
    padding: 50px 10%;
  }

  * {
    color: var(--text-base);
  }

  .ham_logo {
    width: 100%;
    margin: 0;

    @media (max-width: 767px) {
      margin-bottom: 50px;
    }

    a {
      width: 260px;
      margin: auto;
      display: block;

      @media (max-width: 767px) {
        width: 235px;
      }

      img {
        width: 100%;
      }
    }
  }

  .f_nav {
    width: 40%;
    align-self: flex-start;

    @media (max-width: 767px) {
      width: 100%;
      margin-bottom: 60px;
    }

    .f_nav_list {
      gap: 30px 50px;
      /* 10px-40px:900px-1920px */
      padding: 0 clamp(0.625rem, -1.029rem + 2.94vw, 2.5rem);

      .f_nav_item {
        a {
          /* 14px-18px:375px-1920px */
          font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
        }
      }
    }
  }

  .contact_box {
    text-align: left;
    padding: 0 40px;
    align-self: flex-start;

    @media (max-width: 767px) {
      padding: 0;
    }

    .inner {
      width: 100%;
      /* 30px-40px:375px-1920px */
      margin-bottom: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      padding-top: 25px;

      &::before {
        width: 110px;
        height: 50px;
        top: -20px;
        left: -40px;
      }

      @media (max-width: 767px) {
        &::before {
          left: 0;
        }
      }

      .read {
        /* 16px-18px:375px-1920px */
        font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
        margin-bottom: 20px;
        color: var(--text-base);

        @media (max-width: 767px) {
          text-align: center;
        }

        small {
          /* 13px-14px:375px-1920px */
          font-size: clamp(0.813rem, 0.797rem + 0.06vw, 0.875rem);
          display: inline-block;
          margin: 0;
        }
      }

      .cta_area {
        @media (max-width: 767px) {
          gap: 10px;
        }

        a {
          font-size: 16px;

          @media (max-width: 767px) {
            width: calc((100% - 10px) / 2);
            height: 44px;
          }
        }
      }
    }
  }

  .seo_ttl {
    width: 100%;
    text-align: center;
    font-weight: 500;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    margin: 0;

    @media (max-width: 767px) {
      margin-top: 50px;
    }
  }

  &::-webkit-scrollbar {
    display: none;
  }
}

header.active {
  .ham_con {
    display: flex;
    transition: ease-in .2s;
  }

  .header_inner {
    z-index: 102;
    background-color: transparent;

    .logo,
    .opening_hours,
    .g_nav,
    .cta_area,
    .btn_instagram {
      display: none;
    }
  }
}

/*--------------------
footer
--------------------*/
footer {
  background-color: #222E39;

  * {
    color: #fff;
  }

  .footer_inner {
    display: flex;
    justify-content: center;
    /* 50px-100px:1000px-1200px */
    gap: clamp(3.125rem, -0.272rem + 5.43vw, 6.25rem);
    padding-top: 60px;
    padding-bottom: 50px;

    @media (max-width: 1000px) {
      flex-wrap: wrap;
      padding: 50px 10% 60px;
      gap: 50px 50px;
    }

    @media (max-width: 767px) {
      justify-content: flex-start;
    }

    .f_logo {
      max-width: 260px;
      align-self: center;
      flex-shrink: 0;

      @media (max-width: 1000px) {
        max-width: none;
        width: 100%;
        margin-right: 0;
      }

      img {
        width: 100%;

        @media (max-width: 1000px) {
          width: 235px;
          display: block;
          margin: auto;
        }
      }

      small {
        text-align: center;
        font-size: 10px;
        margin-top: 10px;
        line-height: 1.6;
        display: block;
      }
    }

    .f_nav {
      max-width: 256px;

      @media (max-width: 1000px) {
        max-width: inherit;
        width: calc((100% - 30px) / 2);
      }

      @media (max-width: 767px) {
        width: 100%;
      }

      .f_nav_list {
        @media (max-width: 767px) {
          width: 100%;
          gap: 20px 0;
        }

        .f_nav_item {
          @media (max-width: 767px) {
            width: 50%;
          }
        }
      }
    }
  }

  .copyright {
    background-color: #000;
    text-align: center;
    margin: 0;
    padding: 10px;
    /* 10px-12px:375px-1920px */
    font-size: clamp(0.625rem, 0.595rem + 0.13vw, 0.75rem);

    @media (max-width: 767px) {
      padding: 10px 10px 80px;
    }
  }
}

/*--------------------
保険/美容 切り替え
--------------------*/
.fixed_switch {
  position: fixed;
  z-index: 10;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  ul {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      /* 100px-114px:767px-1920px */
      width: clamp(6.25rem, 5.668rem + 1.21vw, 7.125rem);
      height: clamp(6.25rem, 5.668rem + 1.21vw, 7.125rem);
      border-radius: 20px 0 0 20px;
      background-color: var(--tab-base-color);
      /* 14px-16px:767px-1920px */
      font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
      font-weight: 500;
      color: #fff;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      display: flex;
      justify-content: center;
      flex-direction: column;
      transition: ease-in .2s;

      a {
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        line-height: 1.3;
      }

      &+li {
        margin-top: 10px;
      }

      &::before {
        content: "";
        /* 35px-40px:767px-1920px */
        width: clamp(2.188rem, 1.98rem + 0.43vw, 2.5rem);
        height: clamp(2.188rem, 1.98rem + 0.43vw, 2.5rem);
      }

      &.switch_online::before {
        display: none;
      }

      &.switch_online a::before {
        background: url("../img/icon_fixed_online.svg") center center / contain no-repeat;
        content: "";
        display: block;
        /* 35px-40px:767px-1920px */
        width: clamp(2.188rem, 1.98rem + 0.43vw, 2.5rem);
        height: clamp(2.188rem, 1.98rem + 0.43vw, 2.5rem);
      }

      &.switch_b::before {
        background: url("../img/icon_fixed_b.svg") center center / contain no-repeat;
      }

      &.switch_h::before {
        background: url("../img/icon_fixed_h.svg") center center / contain no-repeat;
      }

      &:hover {
        background-color: var(--tab-hover-color);
      }
    }
  }

  &.sp {
    width: 100%;
    top: inherit;
    transform: none;
    bottom: 0;
    right: inherit;
    z-index: 30;

    ul {
      display: flex;
      width: 100%;

      li {
        border-radius: 0;
        /* width: 25%; */
        width: calc(100% / 2);
        height: auto;
        font-size: 12px;

        +li {
          margin-top: 0;
          border-left: 1px #fff solid;
        }

        &::before {
          width: 16px;
          height: 16px;
        }

        a {
          font-size: 12px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 5px;
          width: 100%;
          height: 100%;
          padding: 15px 0;

          br {
            display: none;
          }
        }

        &.switch_line {
          &::before {
            display: none;
          }

          a {
            background-color: #166189;

            &::before {
              content: "";
              display: block;
              width: 16px;
              height: 16px;
              background: url("../img/icon_line.svg") center center / contain no-repeat;
            }
          }
        }

        &.switch_tel {
          &::before {
            display: none;
          }

          a {
            background-color: #C7B342;

            &::before {
              content: "";
              display: block;
              width: 16px;
              height: 16px;
              background: url("../img/icon_tel.svg") center center / contain no-repeat;
            }
          }
        }

        &.switch_online {
          &::before {
            display: none;
          }

          a {
            &::before {
              content: "";
              display: block;
              width: 16px;
              height: 16px;
              background: url("../img/icon_fixed_online.svg") center center / contain no-repeat;
            }
          }
        }

        &.switch_hb {
          background-color: #A1AAAF;
          gap: 5px;
        }
      }
    }
  }
}

.body_h {
  .switch_online:hover {
    background-color: #166189;
  }

  .switch_h {
    background-color: var(--tab-active-color);
    cursor: default;

    &:hover {
      background-color: var(--tab-active-color);
    }
  }
}

.body_b {
  .switch_b {
    background-color: var(--tab-active-color);
    cursor: default;

    &:hover {
      background-color: var(--tab-active-color);
    }
  }
}

/*--------------------
title
--------------------*/
.sec_ttl {
  text-align: center;

  .ja {
    color: var(--title-base);
    /* 22px-30px:375px-1920px */
    font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
    font-weight: 600;
    margin: 0;
  }

  .en {
    color: var(--text-color);
    /* 12px-14px:375px-1920px */
    font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
    font-family: var(--font-en);
    margin: 5px 0 0;

    @media (max-width: 767px) {
      margin: 2px 0 0;
    }
  }
}

.home {
  .sec_ttl {
    .ja {
      /* 25px-40px:375px-1920px */
      font-size: clamp(1.563rem, 1.335rem + 0.97vw, 2.5rem);
    }

    .en {
      /* 12px-16px:375px-1920px */
      font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
    }
  }
}

.mark_sec_ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color2);
  font-weight: 600;
  /* 22px-30px:375px-1920px */
  font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
  /* 30x-40px:375px-1920px */
  margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
  text-align: center;

  &::before {
    content: "";
    background: var(--mark-ttl-icon) center center / contain no-repeat;
    /* 25px-30px:375px-1920px */
    width: clamp(1.563rem, 1.487rem + 0.32vw, 1.875rem);
    height: clamp(1.563rem, 1.487rem + 0.32vw, 1.875rem);
    margin-bottom: 5px;
  }

  &::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background-color: #76ADCB;
    margin-top: 10px;
  }
}

/*--------------------
btn
--------------------*/
/* 〇＋＞アイコン */
.body_h {
  .icon_arrow {
    &::after {
      content: "";
      display: block;
      background: url("../img/icon_arrow_h.svg") center center / contain no-repeat;
      width: 18px;
      height: 18px;
    }
  }
}

.body_b {
  .icon_arrow {
    &::after {
      content: "";
      display: block;
      background: url("../img/icon_arrow_b.svg") center center / contain no-repeat;
      width: 18px;
      height: 18px;
    }
  }
}

/* もっと見るボタン */
.btn_more {
  a {
    display: inline-flex;
    color: var(--title-color);
    font-weight: 500;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    border: 1px var(--text-color) solid;
    align-items: center;
    gap: 15px;
    border-radius: 100px;
    padding: 10px 20px 10px 30px;

    @media (max-width: 767px) {
      padding: 5px 20px 5px 30px;
    }

    &::after {
      content: "";
      display: block;
      width: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      height: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      border: 0;
      border-top: solid 1px var(--text-color);
      border-right: solid 1px var(--text-color);
      transform: rotate(45deg);
      transition: ease-in .2s;
    }

    &:hover {
      background-color: var(--bg-color);
    }
  }
}

.body_b {
  .btn_more {
    a:hover {
      background-color: #363827;
    }
  }
}

.btn_more2 {
  a {
    display: inline-flex;
    color: var(--text-color);
    align-items: center;
    gap: 10px;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

    &::after {
      content: "";
      display: block;
      background: url("../img/icon_arrow_h.svg") center center / contain no-repeat;
      width: 18px;
      height: 18px;
      transition: ease-in .2s;
    }

    &:hover {
      opacity: 0.8;
    }
  }
}

.btn_more3 {
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--text-color);
    font-weight: 500;
    border-radius: 20px;
    padding: 10px 20px 10px 30px;
    /* 16px-25px:375px-1920px */
    font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
    text-align: center;
    max-width: 500px;
    padding: 20px 10px;
    width: 90%;
    position: relative;

    @media (max-width: 767px) {
      border-radius: 10px;
      max-width: 300px;
      padding: 15px 10px;
    }

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 20px;
      display: block;
      /* 6px-8px:375px-1920px */
      width: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
      height: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
      border: 0;
      border-top: solid 2px #fff;
      border-right: solid 2px #fff;
      transform: translateY(-50%) rotate(45deg);
      transition: ease-in .2s;
    }

    &:hover {
      opacity: 0.8;
      ;
    }
  }
}

.btn_more4 {
  a {
    position: relative;
    display: inline-flex;
    color: var(--title-color);
    font-weight: 500;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    border: 1px var(--title-color) solid;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    padding: 15px 20px;
    min-width: 300px;
    width: fit-content;

    @media (max-width: 767px) {
      min-width: 200px;
      padding: 10px 25px 10px 20px;
    }

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 20px;
      display: block;
      width: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      height: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      border: 0;
      border-top: solid 1px var(--title-color);
      border-right: solid 1px var(--title-color);
      transform: translateY(-50%) rotate(45deg);
      transition: ease-in .2s;
      margin-left: auto;
    }

    @media (max-width: 767px) {
      &::after {
        right: 10px;
      }
    }

    &:hover {
      background-color: var(--bg-color);
    }
  }
}

.body_b {
  .btn_more4 {
    a:hover {
      background-color: var(--btn-hover);
    }
  }
}

/*--------------------
list
--------------------*/
.list_circle {
  list-style: none;
  margin: 0;
  padding: 0;

  &>li {
    display: flex;
    gap: 5px;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    color: var(--text-base);

    &::before {
      content: "●";
      color: var(--text-color);
      font-size: 9px;
      margin-top: 5px;
    }
  }
}

.list_check {
  list-style: none;
  margin: 0;
  padding: 0;

  &>li {
    display: flex;
    gap: 5px;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    font-weight: 500;
    color: var(--text-base);

    &::before {
      content: "";
      color: var(--text-color);
      background: url("../img/icon_check.svg") center center / contain no-repeat;
      /* 16px-18px:375px-1920px */
      width: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
      height: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
      margin-top: 3px;
      flex-shrink: 0;
    }

    &+li {
      margin-top: 10px;
    }
  }
}

/*--------------------
tab
--------------------*/
.hb_tab {
  .button_area {
    display: flex;
    gap: 20px;
    /* 28px-46px:375px-1920px */
    margin-bottom: clamp(1.75rem, 1.477rem + 1.17vw, 2.875rem);

    @media (max-width: 767px) {
      gap: 10px;
    }

    button {
      border: none;
      width: calc((100% - 20px) / 2);
      display: block;
      background-color: #A1AAAF;
      /* 16px-30px:375px-1920px */
      font-size: clamp(1rem, 0.788rem + 0.91vw, 1.875rem);
      font-weight: 600;
      color: #fff;
      border-radius: 20px;
      padding: 15px 0;
      cursor: pointer;
      transition: ease-in .2s;
      position: relative;

      @media (max-width: 767px) {
        width: calc((100% - 10px) / 2);
        border-radius: 10px;
      }

      &::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -33px;
        border: 15px solid transparent;
        border-bottom: 20px solid var(--text-color);
        transform: translateX(-50%) rotate(180deg);
        transition: ease-in .2s;
        opacity: 0;
      }

      small {
        font-size: 0.7em;
        display: block;
        text-align: center;

        @media (max-width: 767px) {
          font-size: 0.6em;
        }
      }

      &.active {
        &::after {
          opacity: 1;
        }

        @media (max-width: 767px) {
          &::after {
            bottom: -17px;
            border: 8px solid transparent;
            border-bottom: 11px solid var(--text-color);
          }
        }
      }

      &:nth-child(1) {
        &.active {
          background-color: #166189;

          &::after {
            border-bottom-color: #166189;
          }
        }
      }

      &:nth-child(2) {
        &.active {
          background-color: #C7B342;

          &::after {
            border-bottom-color: #C7B342;
          }
        }
      }
    }
  }

  .box {
    display: none;

    &.show {
      display: block;
    }
  }
}

.body_b {}

/*--------------------
美容TOP セクション順番並び替え
--------------------*/
body.home.body_b {
  main {
    display: flex;
    flex-direction: column;

    .top_campaign {
      order: 1;
    }

    .top_greeting {
      order: 2;
    }

    .top_instagram {
      order: 3;
    }

    .top_by_worries_b {
      order: 4;
    }

    .top_first {
      order: 5;
    }

    .top_news {
      order: 6;
    }

    .top_contact {
      order: 7;
    }

    .sec_faq {
      order: 8;
    }

    .sec_access {
      order: 9;
    }

    .top_medical_hours {
      order: 10;
    }

    .top_banner_area {
      order: 11;
    }
  }
}

/*--------------------
top
--------------------*/
body.home {
  header {
    background-color: var(--bg-base);
  }
}

/* mv */
.mv {
  position: relative;
  width: 80%;
  height: 80svh;
  margin: -0 auto 0;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  z-index: 1;

  @media (max-width: 767px) {
    width: 90%;
    height: 65svh;
  }

  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .mv_copy {
    position: absolute;
    right: 4.17vw;
    bottom: 4.17vw;
    z-index: 1;
    max-width: 600px;
    width: 31.25vw;
    margin: 0;

    @media (max-width: 767px) {
      width: 72.86vw;
      right: initial;
      left: 5.33vw;
      bottom: 10.67vw;
    }

    img {
      width: 100%;
    }
  }
}

.body_b {
  .mv {
    .mv_copy {
      right: initial;
      left: 4.17vw;

      @media (max-width: 767px) {
        left: 5.33vw;
        bottom: 10.67vw;
      }
    }
  }
}

/* お知らせ ブログ */
.post_list {
  list-style: none;
  margin: 0;
  padding: 0;

  @media (max-width: 767px) {
    width: 100%;
  }

  .post_item {
    border-bottom: 1px var(--text-color) solid;

    a {
      display: flex;
      align-items: center;
      gap: 25px;
      padding: 20px 20px 20px 0;
      background: var(--icon-arrow) center right no-repeat;
      background-size: 18px;

      @media (max-width: 767px) {
        gap: 0 25px;
        flex-direction: column;
        align-items: flex-start;
      }

      &:hover {
        opacity: 0.8;
      }

      &::after {
        margin-left: auto;
      }

      time {
        font-family: var(--font-en);
        color: var(--text-color);
        /* 13px-16px:375px-1920px */
        font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
        flex-shrink: 0;
      }

      span {
        color: var(--text-base);
        /* 14px-18px:375px-1920px */
        font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
      }
    }
  }
}

.top_news {
  /* 40px-80px:375px-1920px */
  padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
  background-color: var(--bg-base);

  .inner {
    background-color: var(--bg-color);
    padding: 40px 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    @media (max-width: 767px) {
      flex-direction: column;
      border-radius: 10px;
      padding: 40px 20px;
    }

    .sec_ttl {
      width: 200px;
      text-align: left;

      @media (max-width: 767px) {
        text-align: center;
        margin-bottom: 10px;
      }
    }

    .post_list {
      width: calc(100% - 200px);

      @media (max-width: 767px) {
        width: 100%;
      }
    }

    .btn_more {
      width: 100%;
      margin-top: 30px;
      text-align: right;

      @media (max-width: 767px) {
        text-align: center;
      }

      a {
        &:hover {
          background-color: var(--btn-hover);
        }
      }
    }
  }

  &.blog {
    padding-top: 30px;

    .inner {
      background-color: #FAF8EF;

      .sec_ttl {
        .en {
          color: var(--tab-hover-color);
        }
      }

      .post_list {
        .post_item {
          border-bottom: 1px var(--tab-hover-color) solid;

          a {
            background-image: url(../img/icon_arrow_b2.svg);

            time {
              color: var(--tab-hover-color);
            }
          }
        }
      }

      .btn_more {
        a {
          &:hover {
            background-color: #F7F2D4;
          }
        }
      }
    }
  }
}

.body_b {
  .top_news {
    background: none;
  }
}

.body_b {
  .top_news {
    padding-top: 0;
    /* 40px-80px:375px-1920px */
    padding-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);

    .inner {
      .post_list {
        .post_item {
          a {
            background: url("../img/icon_arrow_b.svg") center right no-repeat;
          }
        }
      }
    }
  }
}

/* はじめての方へ */
.top_first {
  background: var(--bg-base);
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
  }

  .belongings_box {
    background-color: var(--bg-color);
    /* 60px-80px:375px-1920px */
    margin-top: clamp(3.75rem, 3.447rem + 1.29vw, 5rem);
    padding: 30px 60px;
    border-radius: 20px;

    @media (max-width: 767px) {
      padding: 20px;
      border-radius: 10px;
    }

    .ttl {
      /* 16px-18px:375px-1920px */
      font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
      color: var(--text-color);
      border-bottom: 1px var(--text-color) solid;
      /* 10px-20px:375px-1920px */
      margin: 0 0 clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
      padding-bottom: 10px;

      small {
        /* 12px-16px:375px-1920px */
        font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);

        @media (max-width: 767px) {
          display: block;
        }
      }
    }

    .list_circle {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;

      @media (max-width: 767px) {
        flex-direction: column;
        gap: 2px;
      }
    }
  }

  .btn_more4 {
    display: flex;
    justify-content: center;
    /* 30px-40px:375px-1920px */
    margin-top: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
  }
}

.body_b {
  .top_first {
    background: none;
  }
}

.flow_swiper_area {
  @media (max-width: 767px) {
    width: 100%;
    margin: auto;
  }

  .flow_swiper {
    padding: 10px;

    .swiper-wrapper {
      .swiper-slide {
        display: grid;
        gap: 15px 30px;
        background-color: var(--bg-color2);
        box-shadow: var(--box-shadow);
        padding: 25px 40px 40px;
        border-radius: 20px;
        position: relative;

        @media (max-width: 767px) {
          display: block;
          padding: 30px 20px;
          border-radius: 10px;
        }

        .hgroup {
          grid-column: 1;
          grid-row: 1;
          display: flex;
          align-items: center;
          /* 10px-20px:375px-1920px */
          gap: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);

          @media (max-width: 767px) {
            margin-bottom: 15px;
          }

          .step_num {
            color: var(--text-color);
            font-family: var(--font-en);
            /* 12px-16px:375px-1920px */
            font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
            margin: 0;

            .num {
              font-family: var(--font-en);
              /* 18px-40px:375px-1920px */
              font-size: clamp(1.125rem, 0.791rem + 1.42vw, 2.5rem);
              margin-left: 5px;
            }
          }

          .ttl {
            margin: 0;
            color: var(--title-base);
            /* 18px-30px:375px-1920px */
            font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
          }
        }

        .img {
          grid-column: 1;
          grid-row: 2;
          display: block;
          width: 380px;
          height: auto;
          flex-shrink: 0;
          border-radius: 10px;

          @media (max-width: 767px) {
            width: 100%;
            margin: 0 auto 20px;
          }
        }

        .txt {
          grid-column: 2;
          grid-row: 2;
          margin: 0;
          color: var(--text-base);
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          line-height: 2;
        }
      }
    }
  }
}

/* お悩みから探す */
.top_by_worries {
  background: url("../img/bg_logo_h.svg") left 60px top 60px no-repeat, var(--bg-color);
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  @media (max-width: 767px) {
    background: url("../img/bg_logo_h.svg") left 20px top 30px no-repeat, var(--bg-color);
    background-size: 186px;
  }

  .sec_ttl {
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
  }
}

.by_worries_tab {
  .button_area {
    display: flex;
    gap: 20px;
    /* 28px-46px:375px-1920px */
    margin-bottom: clamp(1.75rem, 1.477rem + 1.17vw, 2.875rem);

    @media (max-width: 767px) {
      gap: 10px;
    }

    button {
      border: none;
      width: calc((100% - 20px) / 2);
      display: block;
      background-color: var(--tab-base-color);
      /* 16px-30px:375px-1920px */
      font-size: clamp(1rem, 0.788rem + 0.91vw, 1.875rem);
      font-weight: 600;
      color: #fff;
      border-radius: 20px;
      padding: 15px 0;
      cursor: pointer;
      transition: ease-in .2s;
      position: relative;

      @media (max-width: 767px) {
        width: calc((100% - 10px) / 2);
        border-radius: 10px;
      }

      &::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -33px;
        border: 15px solid transparent;
        border-bottom: 20px solid var(--text-color);
        transform: translateX(-50%) rotate(180deg);
        transition: ease-in .2s;
        opacity: 0;
      }

      small {
        font-size: 0.7em;
        display: block;
        text-align: center;

        @media (max-width: 767px) {
          font-size: 0.6em;
        }
      }

      &.active {
        background-color: var(--text-color);

        &::after {
          opacity: 1;
        }

        @media (max-width: 767px) {
          &::after {
            bottom: -17px;
            border: 8px solid transparent;
            border-bottom: 11px solid var(--text-color);
          }
        }
      }

      &+button {
        &.active {
          background-color: #C7B342;

          &::after {
            border-bottom-color: #C7B342;
          }
        }
      }
    }
  }

  .by_worries_box {
    background-color: var(--bg-base);
    display: none;
    /* 30px-60px:375px-1920px */
    padding-top: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
    /* 30px-50px:375px-1920px */
    padding-bottom: clamp(1.875rem, 1.572rem + 1.29vw, 3.125rem);
    border-radius: 20px;
    box-shadow: 0px 0px 15px -5px #cecece;

    @media (max-width: 767px) {
      border-radius: 10px;
    }

    /* 標ぼう科目 */
    .subject_list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      list-style: none;
      margin: 0;
      padding: 0;

      @media (max-width: 767px) {
        gap: 10px;
      }

      .subject_item {
        width: calc((100% - 40px) / 3);
        height: 62px;
        border-radius: 100px;
        background-color: #F5F5F5;
        /* 16px-20px:375px-1920px */
        font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        color: #00284A;
        font-weight: 600;
        cursor: pointer;
        margin: 0;
        padding: 0 15px;

        @media (max-width: 767px) {
          width: calc((100% - 10px) / 2);
          padding: 8px 15px;
          height: auto;
          text-align: center;
        }

        &:has(small) {
          flex-direction: column;

          small {
            display: block;
            width: 100%;
            font-size: clamp(10px, 9.029px + 0.259vw, 14px);
            text-align: center;
          }
        }

        &.active {
          background-color: var(--tab-active-color);
          color: #fff;
        }
      }
    }

    /* 症状 */
    .symptoms_list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      list-style: none;
      /* 30px-40px:375px-1920px */
      margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0 0;
      padding: 0;

      @media (max-width: 767px) {
        gap: 10px;
      }

      .symptoms_item:not(:has(a)) {
        background-color: #F5F8FA;
        border-radius: 20px;
        text-align: center;
        /* 18px-28px:375px-1920px */
        padding: clamp(1.125rem, 0.973rem + 0.65vw, 1.75rem) 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        overflow: hidden;
      }

      .symptoms_item {
        position: relative;
        width: calc((100% - 60px) / 4);
        background-color: #F5F8FA;
        border-radius: 20px;
        overflow: hidden;

        @media (max-width: 767px) {
          width: calc((100% - 10px) / 2);
          border-radius: 10px;
        }

        img {
          @media (max-width: 767px) {
            width: 60%;
          }
        }

        span {
          width: 100%;
          display: flex;
          flex-grow: 1;
          align-items: center;
          justify-content: center;
          /* 12px-18px:375px-1920px */
          font-size: clamp(0.75rem, 0.659rem + 0.39vw, 1.125rem);
          font-weight: 600;
          color: var(--title-base);
          margin-top: 10px;

          @media (max-width: 767px) {
            font-size: 15px;
          }
        }

        a {
          border-radius: 20px;
          text-align: center;
          /* 18px-28px:375px-1920px */
          padding: clamp(1.125rem, 0.973rem + 0.65vw, 1.75rem) 0;
          display: flex;
          flex-wrap: wrap;
          justify-content: center;

          &:hover {
            opacity: 0.6;
          }
        }

        &.frequent {
          &::before {
            content: "";
            background: url("../img/icon_sun_yellow.svg") center center / contain no-repeat;
            /* 30px-45px:375px-1920px */
            width: clamp(1.875rem, 1.647rem + 0.97vw, 2.813rem);
            height: clamp(1.875rem, 1.647rem + 0.97vw, 2.813rem);
            position: absolute;
            top: 15px;
            left: 15px;
            z-index: 1;
          }
        }
      }
    }

    .frequent_txt {
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 5px;
      margin: 20px 0 0;

      @media (max-width: 767px) {
        justify-content: flex-end;
      }

      img {
        width: 30px;

        @media (max-width: 767px) {
          width: 20px;
        }
      }
    }

    &.show {
      display: block;
    }

    &+.by_worries_box {

      /* 標ぼう科目 */
      .subject_list {
        .subject_item {
          width: calc((100% - 40px) / 3);
          background-color: #F5F5F5;
          color: #00284A;

          @media (max-width: 767px) {
            width: calc((100% - 10px) / 2);
          }

          &:nth-child(3) {
            @media (max-width: 767px) {
              width: 100%;
            }
          }

          &:nth-child(4) {
            width: calc(100% - ((100% - 40px) / 3) - 20px);

            @media (max-width: 767px) {
              width: 100%;
            }
          }

          &.active {
            background-color: #C7B342;
            color: #fff;
          }
        }
      }

      /* 症状 */
      .symptoms_list {
        .symptoms_item {
          background-color: #FCFAEF;
        }
      }
    }
  }
}

/* 当院について */
.top_about {
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, -3.75rem + 10vw, 3.75rem);
  }

  .read {
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, -3.75rem + 10vw, 3.75rem);

    p {
      color: var(--title-base);
      text-align: center;
      line-height: 2;
      margin: 0;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      font-weight: 500;

      @media (max-width: 767px) {
        &+p {
          margin-top: 20px;
        }
      }
    }
  }

  .about_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;

    @media (max-width: 767px) {
      flex-direction: column;
    }

    .about_item {
      width: calc((100% - 40px) / 3);
      background-color: var(--bg-color);
      border-radius: 20px;
      /* 30px-40px:375px-1920px */
      padding: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      display: flex;
      flex-direction: column;

      @media (max-width: 767px) {
        width: 100%;
      }

      .ttl {
        margin: 0 0 20px;
        text-align: center;
        color: var(--text-color);
        /* 16px-20px:375px-1920px */
        font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
        font-weight: 600;
        min-height: 4em;
        align-content: center;

        @media (max-width: 767px) {
          min-height: auto;
        }

        &::after {
          content: "";
          display: block;
          background-color: var(--text-color);
          margin: 10px auto 0;
          /* 25px-35px:375px-1920px */
          width: clamp(1.563rem, 1.411rem + 0.65vw, 2.188rem);
          /* 2px-3px:375px-1920px */
          height: clamp(0.125rem, 0.11rem + 0.06vw, 0.188rem);
        }
      }

      .txt {
        line-height: 2;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        margin: 0;
      }
    }
  }
}

/* 院長よりご挨拶 */
.name_area {
  .specialty {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--specialty-color);
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    border-radius: 5px;

    @media (max-width: 767px) {
      padding: 10px;
    }
  }
}

.top_greeting {
  position: relative;
  /* 60px-120px:375px-1920px */
  margin-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  /* 100px-200px:375px-1920px */
  margin-bottom: clamp(6.25rem, 4.733rem + 6.47vw, 12.5rem);

  &::after {
    content: "";
    position: absolute;
    /* 40px-80px:375px-1920px */
    top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    right: 0;
    z-index: -1;
    width: 90%;
    height: 100%;
    background-color: var(--bg-color);
    border-radius: 20px 0 0 20px;
  }

  .greeting_box {
    /* 40px-80px:375px-1920px */
    padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    padding-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    padding-left: calc((100% - 80%) / 2);
    margin-right: calc((100% - 80%) / 2);
    background-color: var(--bg-color2);
    border-radius: 0 20px 20px 0;
    box-shadow: 0px 0px 15px -5px #cecece;

    @media (max-width: 767px) {
      padding-left: 0;
      margin-right: 5%;
    }

    .sec_ttl {
      /* 30px-60px:375px-1920px */
      margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
    }

    .inner {
      max-width: 960px;
      width: 90%;
      margin: auto;
      display: grid;
      grid-template-columns: 30% 1fr;
      column-gap: 40px;

      @media (max-width: 767px) {
        display: flex;
        flex-direction: column;
      }

      .dr_img {
        grid-column: 1;
        grid-row: 1 / 3;

        @media (max-width: 767px) {
          width: 200px;
          margin: 0 auto 30px;
        }

        img {
          width: 100%;
        }
      }

      .read {
        margin-bottom: 30px;
        grid-column: 2;
        grid-row: 1;

        p {
          color: var(--text-base);
          line-height: 2;
          margin: 0;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

          &+p {
            margin-top: 20px;
          }
        }
      }

      .name_area {
        grid-column: 2;
        grid-row: 2;
        text-align: right;

        .position {
          /* 15px-20px:375px-1920px */
          font-size: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);
          font-weight: 600;
          color: var(--text-base);
          margin: 0;

          .name {
            /* 18px-25px:375px-1920px */
            font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
            margin-left: 15px;

            @media (max-width: 767px) {
              display: block;
            }
          }
        }

        .specialty {
          margin-top: 10px;
        }
      }
    }
  }

  &.b_only {
    /* 40px-80px:375px-1920px */
    margin-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);

    .greeting_box {
      box-shadow: none;
    }

    &::after {
      background-color: #18222B;
    }
  }
}

/* 医師紹介 */
.top_doctor {
  /* 100px-200px:375px-1920px */
  padding-top: clamp(6.25rem, 4.733rem + 6.47vw, 12.5rem);
  /* 60px-120px:375px-1920px */
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }

  .doctor_list {
    list-style: none;
    margin: 0;
    padding: 0;

    .doctor_item {
      border-bottom: 1px var(--text-color) solid;
      /* 40px-50px:375px-1920px */
      padding-bottom: clamp(2.5rem, 2.348rem + 0.65vw, 3.125rem);

      .name_area {
        display: flex;
        align-items: center;
        column-gap: 15px;

        @media (max-width: 767px) {
          display: grid;
          grid-template-columns: max-content 1fr;
          row-gap: 10px;
        }

        .name {
          font-weight: 600;
          color: var(--text-color);
          margin: 0;
          /* 18px-25px:375px-1920px */
          font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);

          @media (max-width: 767px) {
            grid-column: 1;
            grid-row: 1;
          }

          small {
            /* 13px-18px:375px-1920px */
            font-size: clamp(0.813rem, 0.737rem + 0.32vw, 1.125rem);
          }
        }

        .name_en {
          margin: 0;
          padding-bottom: 2px;
          font-family: var(--font-en);
          /* 12px-16px:375px-1920px */
          font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
          color: var(--tab-hover-color);
          align-self: flex-end;

          @media (max-width: 767px) {
            grid-column: 2;
            grid-row: 1;
          }
        }

        .specialty {
          @media (max-width: 767px) {
            grid-column: 1 / 3;
            grid-row: 2;
            width: fit-content;
          }
        }
      }

      .name_area:has(.name > small) {
        .name_en {
          margin-left: -15px;
        }
      }

      .message {
        color: var(--text-base);
        line-height: 2;
        margin: 0;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        margin-top: 20px;
      }

      &+.doctor_item {
        /* 40px-50px:375px-1920px */
        padding-top: clamp(2.5rem, 2.348rem + 0.65vw, 3.125rem);
      }
    }
  }
}

/* ルアクリニックが選ばれる理由 */
.top_feature {
  background-color: var(--bg-color);
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }

  .feature_list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: number 0;

    .feature_item {
      display: grid;
      grid-template-columns: 1fr 380px;
      grid-template-rows: auto;
      row-gap: 30px;
      max-width: 1080px;
      width: 100%;
      background-color: var(--bg-color2);
      border-radius: 20px;
      padding: 60px 80px;

      @media (max-width: 767px) {
        display: block;
        border-radius: 10px;
        padding: 0 20px 40px;
      }

      .ttl {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        position: relative;

        @media (max-width: 767px) {
          margin-bottom: 30px;
        }

        span {
          display: block;
          position: absolute;
          top: 85px;
          z-index: 2;
          /* 18px-25px:375px-1920px */
          font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
          font-weight: 600;
          color: var(--text-color);

          @media (max-width: 767px) {
            position: static;
            margin-top: -20px;
          }
        }

        &::before {
          position: absolute;
          left: -15px;
          counter-increment: number 1;
          content: counter(number, decimal-leading-zero) " ";
          display: block;
          font-family: var(--font-en);
          font-weight: 300;
          color: #D8E5EB;
          font-size: 120px;
          line-height: 1;
          z-index: 1;
        }

        @media (max-width: 767px) {
          &::before {
            position: static;
            font-size: 70px;
            font-weight: 400;
            margin-left: -10px;
          }
        }
      }

      .img {
        grid-column: 2;
        grid-row: 1;
        border-radius: 10px;
        overflow: hidden;

        @media (max-width: 767px) {
          width: 90%;
          margin: 0 auto 30px;
        }

        img {
          width: 100%;
        }
      }

      .textarea {
        grid-column: 1 / 3;
        grid-row: 2;

        p {
          color: var(--text-base);
          line-height: 2;
          margin: 0;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

          &+p {
            margin-top: 20px;
          }
        }
      }

      .btn_more4 {
        grid-column: 1 / 3;
        grid-row: 3;
        display: flex;
        justify-content: center;
        margin-top: 10px;

        @media (max-width: 767px) {
          margin-top: 30px;
        }
      }

      &:nth-child(even) {
        margin-left: auto;
      }

      &+.feature_item {
        /* 30px-40px:375px-1920px */
        margin-top: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      }
    }
  }
}

/* Instagram */
.top_instagram {
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);

    .ja {
      font-family: var(--font-en);
    }

    &::before {
      content: "";
      background: url("../img/icon_instagram_blue.svg") center center / contain no-repeat;
      display: block;
      margin: 0 auto 5px;
      /* 24px-40px:375px-1920px */
      width: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
      height: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
    }
  }

  .instagram_area {
    @media (max-width: 767px) {
      overflow-x: scroll;
    }

    iframe {
      @media (max-width: 767px) {
        width: 750px !important;
      }
    }
  }

  .btn_more2 {
    text-align: right;
    /* 20px-40px:375px-1920px */
    margin: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem) 0 0;

    a {
      font-family: var(--font-en);
    }
  }
}

.body_b {
  .top_instagram {
    .sec_ttl {
      &::before {
        content: "";
        background: url("../img/icon_instagram_yellow.svg") center center / contain no-repeat;
      }
    }
  }
}

/* 当院は予約制となっております */
.top_contact {
  background: url("../img/contact_bg.jpg") center center / cover no-repeat;
  /* 40px-80px:375px-1920px */
  padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
  padding-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);

  @media (max-width: 767px) {
    background: url("../img/contact_bg_sp.jpg") center center / cover no-repeat;
  }

  .contact_box {
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    /* 30px-60px:375px-1920px */
    padding: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem) 0;

    @media (max-width: 1300px) {
      width: 90%;
    }

    @media (max-width: 767px) {
      border-radius: 10px;
    }

    .cta_area {
      a {
        border-radius: 20px;
        /* 54px-78px:375px-1920px */
        height: clamp(3.375rem, 3.011rem + 1.55vw, 4.875rem);

        @media (max-width: 767px) {
          width: 80%;
          border-radius: 10px;
        }

        &::before {
          content: "";
          width: 32px;
          height: 32px;
        }

        @media (max-width: 767px) {
          &::before {
            width: 18px;
            height: 18px;
          }
        }
      }
    }

    /* 乳腺腫瘍科セカンドオピニオン外来予約 */
    .btn_second_opinion {
      position: relative;
      border-radius: 20px;
      background-color: #222e39;
      color: #fff;
      /* 14px-25px:375px-1920px */
      font-size: clamp(0.875rem, 0.708rem + 0.71vw, 1.563rem);
      font-weight: 600;
      display: flex;
      justify-content: center;
      align-items: center;
      /* 54px-78px:375px-1920px */
      height: clamp(3.375rem, 3.011rem + 1.55vw, 4.875rem);
      /* 5px-25px:375px-1920px */
      margin-top: clamp(0.313rem, 0.009rem + 1.29vw, 1.563rem);

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        display: block;
        /* 6px-8px:375px-1920px */
        width: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
        height: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
        border: 0;
        border-top: solid 2px #fff;
        border-left: solid 2px #fff;
        transform: translateY(-50%) rotate(135deg);
        transition: ease-in.2s;
      }

      @media (max-width: 767px) {
        &::after {
          right: 10px;
          border-top: solid 2px #fff;
          border-left: solid 2px #fff;
        }
      }

      &:hover {
        opacity: 0.8;
      }
    }
  }
}

strong {
  font-weight: bold;
  color: var(--text-color);
}

.ul_list {
  list-style: none;
  margin: 20px 0;
  padding: 0;

  &.wrap {
    background-color: #fff;
    /* 20px-40px:375px-1920px */
    padding: 20px clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    border-radius: 10px;
    width: fit-content;

    li {
      font-weight: 500;
    }
  }

  li {
    display: flex;
    gap: 5px;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

    @media (max-width: 767px) {
      line-height: 1.5;
    }

    &::before {
      content: "●";
      display: inline-block;
      color: var(--text-color);
      font-size: 8px;
      margin-top: 0.5rem;
    }

    @media (max-width: 767px) {
      &::before {
        margin-top: 0.2rem;
      }
    }

    +li {
      margin-top: 5px;
    }
  }
}

.ol_list {
  padding: 0 0 0 1em;

  li {
    line-height: 2;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

    @media (max-width: 767px) {
      line-height: 1.5;
    }

    &::marker {
      color: var(--text-color);
    }

    +li {
      margin-top: 5px;
    }
  }

  &+h5 {
    margin-top: 20px;
  }
}

.blue {
  color: var(--text-color);
}

/* よくある質問 */
.sec_faq {
  background-color: var(--bg-color3);
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);

    .ja {
      color: #00284A;
    }

    .en {
      color: var(--text-color);
    }
  }

  .faq_list {
    list-style: none;
    margin: 0;
    padding: 0;

    .faq_item {
      background-color: #fff;
      border-radius: 20px;
      /* 20px-40px:375px-1920px */
      padding: 0 clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);

      .faq_q {
        /* 16px-22px:375px-1920px */
        font-size: clamp(1rem, 0.909rem + 0.39vw, 1.375rem);
        font-weight: 600;
        color: #00284A;
        margin: 0;
        /* 25px-30px:375px-1920px */
        padding: clamp(1.563rem, 1.487rem + 0.32vw, 1.875rem) 0;
        display: flex;
        align-items: center;
        gap: 10px;

        &::before {
          content: "Q.";
          font-family: var(--font-en);
          font-weight: normal;
          /* 25px-35px:375px-1920px */
          font-size: clamp(1.563rem, 1.411rem + 0.65vw, 2.188rem);
          color: var(--text-color);
          flex-shrink: 0;
          line-height: 1;
        }

        &::after {
          content: "";
          display: block;
          /* 10px-15px:375px-1920px */
          width: clamp(0.625rem, 0.549rem + 0.32vw, 0.938rem);
          height: clamp(0.625rem, 0.549rem + 0.32vw, 0.938rem);
          border: 0;
          border-top: solid 3px var(--text-color);
          border-left: solid 3px var(--text-color);
          transform: rotate(225deg);
          margin-left: auto;
          transition: ease-in .2s;
          flex-shrink: 0;
        }

        &.show::after {
          transform: rotate(45deg);
        }
      }

      .faq_a {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        border-top: 1px var(--text-color) solid;
        margin: 0;
        /* 25px-35px:375px-1920px */
        padding: clamp(1.563rem, 1.411rem + 0.65vw, 2.188rem) 0;
        display: flex;
        gap: 10px;

        @media (max-width: 767px) {
          padding-top: 20px;
        }

        &::before {
          content: "A.";
          display: block;
          font-family: var(--font-en);
          font-weight: normal;
          /* 25px-35px:375px-1920px */
          font-size: clamp(1.563rem, 1.411rem + 0.65vw, 2.188rem);
          color: var(--text-color);
          flex-shrink: 0;
          line-height: 1;
          margin-top: -5px;
        }

        @media (max-width: 767px) {
          &::before {
            margin-top: 0;
          }
        }
      }

      &+.faq_item {
        /* 20px-30px:375px-1920px */
        margin-top: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);
      }
    }
  }

  .btn_more4 {
    display: flex;
    justify-content: center;
    /* 40px-60px:375px-1920px */
    margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);

    a {
      &:hover {
        background-color: #E4F0F7;
      }
    }
  }
}

.body_b {
  .sec_faq {
    .btn_more4 {
      a {
        border-color: #166189;
        color: #00284A;

        &:after {
          border-top-color: #166189;
          border-right-color: #166189;
        }

        &:hover {
          background-color: #F7F2D4;
        }
      }
    }
  }
}

/* アクセス */
.sec_access {
  background-color: #fff;
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);

    .ja {
      color: #00284A;
    }

    .en {
      color: #166189;
    }
  }

  .read {
    /* 16px-22px:375px-1920px */
    font-size: clamp(1rem, 0.909rem + 0.39vw, 1.375rem);
    font-weight: 600;
    text-align: center;
  }

  .btn {
    text-align: center;
    /* 30px-40px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

    a {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      font-weight: 600;
      color: #166189;

      &::after {
        content: "";
        display: block;
        background: url(../img/icon_arrow_h.svg) center center / contain no-repeat;
        width: 18px;
        height: 18px;
      }

      &:hover {
        opacity: 0.8;
      }
    }
  }

  .googlemap {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, 1.932rem + 2.42vw, 3.75rem);

    @media (max-width: 767px) {
      height: 220px;
    }

    iframe {
      width: 100%;
      height: 100%;
    }
  }

  .access_directions {
    display: grid;
    gap: 0 40px;

    @media (max-width: 767px) {
      display: block;
    }

    .ttl {
      color: #166189;
      background-color: #EFF5F8;
      /* 16px-22px:375px-1920px */
      font-size: clamp(1rem, 0.909rem + 0.39vw, 1.375rem);
      font-weight: 600;
      text-align: center;
      border-radius: 10px;
      margin: 0;
      /* 10px-15px:375px-1920px */
      padding: clamp(0.625rem, 0.549rem + 0.32vw, 0.938rem);

      &:nth-of-type(1) {
        grid-column: 1 / 3;
        grid-row: 1;
      }

      &:nth-of-type(2) {
        grid-column: 1;
        grid-row: 3;
      }

      &:nth-of-type(3) {
        grid-column: 2;
        grid-row: 3;
      }
    }

    .txt {
      /* 14px-18px:375px-1920px */
      font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
      font-weight: 600;
      text-align: center;
      margin: 20px 0 40px;

      @media (max-width: 767px) {
        margin: 10px 0 30px;
      }

      &:nth-of-type(1) {
        grid-column: 1 / 3;
        grid-row: 2;
      }

      &:nth-of-type(2) {
        grid-column: 1;
        grid-row: 4;
      }

      &:nth-of-type(3) {
        grid-column: 2;
        grid-row: 4;
      }
    }
  }
}

/* キャンペーン */
.top_campaign {
  background: var(--bg-base);
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }

  .campaign_swiper_wrapper {
    position: relative;

    @media (max-width: 767px) {
      width: 100%;
    }

    .swiper {
      width: calc(100% - 6em);

      @media (max-width: 767px) {
        width: calc(100% - 4em);
      }

      .campaign_swiper {
        .swiper-wrapper {
          .swiper-slide {
            img {
              width: 100%;
              height: auto;
            }
          }
        }
      }
    }

    .swiper-button-next,
    .swiper-button-prev {
      top: 50%;
      display: block;
      height: clamp(1.5rem, 1.159rem + 1.45vw, 2.25rem);

      &::after {
        content: "";
        display: block;
        height: clamp(1.5rem, 1.159rem + 1.45vw, 2.25rem);
      }

      @media (max-width: 767px) {
        width: 24px;
        height: 24px;

        &::after {
          height: 24px;
        }
      }
    }

    .swiper-button-prev {
      left: 0;

      &::after {
        background: url(../img/icon_arrow_b_prev.svg) top left no-repeat;
        background-size: 100%;
      }
    }

    .swiper-button-next {
      right: 0;
      left: auto;

      &::after {
        background: url(../img/icon_arrow_b.svg) top left no-repeat;
        background-size: 100%;
      }
    }
  }

  .campaign_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

    .campaign_item {
      width: calc((100% - 60px) / 2);

      @media (max-width: 767px) {
        width: 100%;
      }

      img {
        width: 100%;
      }
    }
  }

  .btn_more4 {
    display: flex;
    justify-content: center;
    /* 30px-60px:375px-1920px */
    margin-top: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }
}

/* お悩みから探す/美容 */
.top_by_worries_b {
  background: url("../img/bg_logo_b.svg") left 60px top 60px no-repeat, #2B3641;
  /* 60px-120px:375px-1920px */
  padding-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  @media (max-width: 767px) {
    background: url("../img/bg_logo_b.svg") left 20px top 30px no-repeat, #2B3641;
    background-size: 186px;
  }

  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }

  .worries_accordion {
    display: flex;
    flex-wrap: wrap;
    /* 20px-40px:375px-1920px */
    gap: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);

    .worries_item {
      width: calc((100% - 40px) / 2);

      @media (max-width: 767px) {
        width: 100%;
      }

      .ttl {
        background-color: #E0E0E0;
        border-radius: 10px;
        color: #00284A;
        /* 16px-20px:375px-1920px */
        font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
        margin: 0;
        padding: 25px;
        text-align: center;
        position: relative;
        cursor: pointer;

        @media (max-width: 767px) {
          padding: 12px;
        }

        &::after {
          content: "";
          position: absolute;
          top: 50%;
          right: 20px;
          display: block;
          /* 8px-13px:375px-1920px */
          width: clamp(0.5rem, 0.424rem + 0.32vw, 0.813rem);
          height: clamp(0.5rem, 0.424rem + 0.32vw, 0.813rem);
          border: 0;
          /* 2px-3px:375px-1920px */
          border-top: solid clamp(0.125rem, 0.11rem + 0.06vw, 0.188rem) #00284A;
          border-left: solid clamp(0.125rem, 0.11rem + 0.06vw, 0.188rem) #00284A;
          transform: translateY(-50%) rotate(225deg);
          transition: ease-in .2s;
        }

        &.show {
          &::after {
            transform: translateY(-50%) rotate(45deg);
          }
        }
      }

      .menu_list {
        background-color: #37495A;
        border-radius: 10px;
        margin: 5px 0 0;
        padding: 20px 50px;
        list-style: none;

        @media (max-width: 767px) {
          padding: 15px 35px;
        }

        .menu_item {
          line-height: 1.5;

          a {
            color: #fff;
            /* 14px-16px:375px-1920px */
            font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
            font-weight: 600;
            display: flex;
            gap: 5px;

            &::before {
              content: "●";
              color: #C7B342;
              font-size: 10px;
              /* 3px-6px:375px-1920px */
              margin-top: clamp(0.188rem, 0.142rem + 0.19vw, 0.375rem);
            }
          }

          .menu_list_sub {
            list-style: none;
            line-height: 1.5;
            padding: 0 0 0 15px;

            .menu_item_sub {
              margin: 5px 0;
              color: #fff;
              font-size: 12px;
              display: flex;
              align-items: center;
              gap: 6px;

              &::before {
                content: "";
                background-color: #fff;
                width: 6px;
                height: 1px;
              }
            }
          }

          &+.menu_item {
            margin-top: 10px;
          }
        }
      }
    }
  }
}

/* 診療時間 */
.top_medical_hours {
  background-color: #fff;
  /* 80px-150px:375px-1920px */
  padding-bottom: clamp(5rem, 3.938rem + 4.53vw, 9.375rem);

  .inner {
    max-width: 790px;
    width: 90%;
    margin: auto;

    .sec_ttl {
      display: flex;
      align-items: center;
      /* 14px-20px:375px-1920px */
      gap: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
      /* 15px-20px:375px-1920px */
      margin-bottom: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);

      .ja {
        /* 18px-30px:375px-1920px */
        font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
        color: #00284A;
      }

      .en {
        color: #166189;
      }
    }

    .medical_hours_table {
      width: 100%;

      thead {
        tr {
          background-color: #D2E4ED;

          th {
            color: #166189;
            /* 14px-20px:375px-1920px */
            font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
            text-align: center;
            font-weight: 600;
            padding: 10px;

            @media (max-width: 767px) {
              padding: 5px;
            }

            &:nth-of-type(1) {
              width: 200px;

              @media (max-width: 767px) {
                width: 22%;
              }
            }

            &:nth-of-type(2) {
              padding-left: 18px;

              @media (max-width: 767px) {
                padding-left: 10px;
              }
            }

            &:nth-last-of-type(1) {
              padding-right: 18px;

              @media (max-width: 767px) {
                padding-right: 10px;
              }
            }
          }
        }
      }

      tbody {
        tr {
          border-top: 1px #D2E4ED solid;

          th {
            background-color: #E9F1F5;
            color: #00284A;
            /* 14px-18px:375px-1920px */
            font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
            text-align: center;
            font-weight: 300;
            padding: 17px 10px;

            @media (max-width: 767px) {
              text-align: left;
              padding: 6px 10px;
              display: flex;
              justify-content: center;
              line-height: 1.2;
            }
          }

          td {
            background-color: #F5F8FA;
            /* 14px-18px:375px-1920px */
            font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
            text-align: center;
            padding: 10px;

            @media (max-width: 767px) {
              padding: 0;
            }

            &.on {
              color: #76ADCB;
              font-weight: bold;
              /* 12px-18px:375px-1920px */
              font-size: clamp(0.75rem, 0.659rem + 0.39vw, 1.125rem);
            }

            &.off {
              color: #9CAFB9;
              font-weight: bold;
              /* 10px-13px:375px-1920px */
              font-size: clamp(0.625rem, 0.579rem + 0.19vw, 0.813rem);
            }

            &:nth-of-type(1) {
              padding-left: 20px;

              @media (max-width: 767px) {
                padding-left: 4px;
              }
            }

            &:nth-last-of-type(1) {
              padding-right: 20px;

              @media (max-width: 767px) {
                padding-right: 4px;
              }
            }
          }
        }
      }
    }

    .notes {
      margin: 15px 0 0;
      /* 12px-14px:375px-1920px */
      font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
    }
  }
}

/* キレイレポバナー */
.top_banner_area {
  background-color: #fff;
  /* 80px-150px:375px-1920px */
  padding-bottom: clamp(5rem, 3.938rem + 4.53vw, 9.375rem);

  .inner {
    max-width: 700px;
    width: 90%;
    margin: auto;

    a {
      img {
        width: 100%;
      }

      &:hover {
        opacity: 0.8;
      }
    }
  }
}

/*--------------------
PAGE TOP
--------------------*/
.pagetop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  margin: 0;
  z-index: 9;

  @media (max-width: 767px) {
    width: 60px;
  }

  a {
    img {
      width: 100%;
    }

    &:hover {
      opacity: 0.8;
    }
  }
}

/*--------------------
下層ページタイトル
--------------------*/
.page_title {
  background: url("../img/page_title_h.jpg") center center / cover no-repeat;
  /* 106px-320px:375px-1920px; */
  height: clamp(6.625rem, 3.379rem + 13.85vw, 20rem);
  display: flex;
  justify-content: center;
  align-items: center;

  @media (max-width: 767px) {
    background: url("../img/page_title_h_sp.jpg") center center / cover no-repeat;
  }

  h1,
  p {
    /* 18px-30px:375px-1920px; */
    font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
    font-weight: 600;
    color: #fff;
    margin: 0;
  }
}

body.body_b {
  .page_title {
    background-image: url("../img/page_title_b.jpg");

    @media (max-width: 767px) {
      background-image: url("../img/page_title_b_sp.jpg");
    }
  }
}

/*--------------------
パンくず
--------------------*/
.breadcrumb {
  max-width: calc(1200px + 4%);
  width: 100%;
  /* 10px-15px:375px-1920px */
  /* 40px-80px:375px-1920px */
  margin: clamp(0.625rem, 0.549rem + 0.32vw, 0.938rem) auto clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
  padding: 0 2%;

  @media (max-width: 1500px) {
    padding: 0 5%;
  }

  .breadcrumb_list {
    font-size: clamp(0.625rem, 0.537rem + 0.38vw, 0.875rem);
    display: flex;
    align-items: center;
    margin: auto;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;

    .breadcrumb_item {
      display: flex;
      align-items: center;

      &>span {
        color: var(--text-base);
      }

      &+.breadcrumb_item {
        &::before {
          content: "";
          display: block;
          width: 10px;
          height: 1px;
          background-color: var(--text-base);
          margin: 0 8px;
        }
      }
    }
  }
}

.page_common {
  .breadcrumb {
    .breadcrumb_list {
      .breadcrumb_item {
        &>a {
          color: #000;
        }

        &>span {
          color: #000;
        }

        &+.breadcrumb_item {
          &::before {
            background-color: #000;
          }
        }
      }
    }
  }
}

/*--------------------
下層 共通ページ
--------------------*/
.body_h,
.body_b {
  &.page_common {
    background: #F5F8FA;

    .sec_ttl {
      .ja {
        color: #00284a;
      }

      .en {
        color: #166189;
      }
    }

    strong {
      color: #166189;
    }

    .ul_list {
      li {
        &::before {
          color: #166189;
        }
      }
    }

    .ol_list {
      li {
        &::marker {
          color: #166189;
        }
      }
    }

    .btn_more3 {
      a {
        background-color: #166189;
      }
    }

    .blue {
      color: #166189;
    }
  }
}

/*--------------------
オンライン診療について
--------------------*/
.sec_online_consultation {
  .sec_ttl {
    /* 30px-60px:375px-1920px */
    margin-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
  }

  .flow_list_ttl {
    background-color: var(--bg-color);
    /* 18px-30px:375px-1920px */
    font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
    font-weight: 600;
    color: var(--ham-color);
    text-align: center;
    border-radius: 10px;
    /* 10px-20px:375px-1920px */
    padding: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
  }

  .flow_list {
    list-style: none;
    /* 50px-70px:375px-1920px */
    margin: 0 0 clamp(3.125rem, 2.822rem + 1.29vw, 4.375rem) 1.5em;
    padding: 0;
    border-left: 3px #166189 dotted;

    @media (max-width: 767px) {
      margin-left: 1em;
    }

    .flow_item {
      margin: 0 0 0 -2.5%;
      padding: 0;
      gap: 1em;

      @media (max-width: 767px) {
        margin: 0 0 0 -1em;
        gap: 0.5em;
      }

      h4 {
        /* 20px-30px:375px-1920px */
        margin: 0 0 clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);
        display: flex;
        align-items: center;
        gap: 15px;
        /* 18px-25px:375px-1920px */
        font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
        font-weight: 600;
        color: #166189;

        &::before {
          counter-increment: number 1;
          content: counter(number) " ";
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: clamp(1rem, 0.802rem + 0.85vw, 1.563rem);
          color: #fff;
          width: 42px;
          height: 42px;
          background-color: #166189;
          border-radius: 100px;
          flex-shrink: 0;
        }

        @media (max-width: 767px) {
          &::before {
            width: 30px;
            height: 30px;
          }
        }
      }

      .flow_item_inner {
        margin-left: 50px;

        .flow_img {
          max-width: 500px;
          width: 100%;
          /* 20px-30px:375px-1920px */
          /* margin-bottom: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem); */
          border-radius: 20px;
        }

        .flow_img_wrap {
          display: flex;
          flex-wrap: wrap;
          /* 20px-30px:375px-1920px */
          margin-bottom: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);

          img {
            max-width: 350px;
            width: 80%;
          }
        }

        .txt {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          line-height: 2;
          /* 20px-30px:375px-1920px */
          margin: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem) 0 20px;

          @media (max-width: 767px) {
            line-height: 1.5;
          }
        }

        h5 {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          font-weight: 600;
          color: #166189;
          display: flex;
          align-items: center;
          gap: 5px;
          border-bottom: 1px #166189 solid;
          margin: 0 0 10px;
          padding-bottom: 5px;

          &::before {
            content: "▼";
            color: #166189;
          }
        }

        .ol_list {
          &+h5 {
            margin-top: 20px;
          }
        }
      }

      &+.flow_item {
        /* 50px-60px:375px-1920px */
        margin-top: clamp(3.125rem, 2.973rem + 0.65vw, 3.75rem);
      }
    }
  }

  .online_consultation_list {
    border: 1px #166189 solid;
    border-radius: 20px;
    margin-bottom: 40px;

    .ttl {
      /* 18px-25px:375px-1920px */
      font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
      font-weight: 600;
      color: #166189;
      width: fit-content;
      background-color: #F5F8FA;
      padding: 0 10px;
      margin: -0.75em auto 0;
    }

    .ul_list {
      display: grid;
      grid-template-columns: repeat(2, max-content);
      justify-content: center;
      gap: 0 40px;
      margin: 20px auto 40px;

      @media (max-width: 767px) {
        display: flex;
        flex-direction: column;
        width: 85%;
      }

      li {
        font-weight: 500;
        margin-top: 10px;
      }
    }
  }

  .precautions_ttl {
    font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem);
    margin: 0 0 10px;
    color: #166189;
  }

  .precautions_box {
    .txt {
      margin: 0;
      line-height: 2;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      font-weight: 500;

      @media (max-width: 767px) {
        line-height: 1.5;
      }

      &+.txt {
        @media (max-width: 767px) {
          margin-top: 10px;
        }
      }
    }
  }

  .btn_area {
    /* 40px-60px:375px-1920px */
    margin: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem) auto 0;

    .btn_more3 {
      a {
        margin: auto;
      }

      &.navy {
        /* 20px-30px:375px-1920px */
        margin-bottom: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);

        a {
          background-color: #222e39;
        }
      }
    }
  }
}

/*--------------------
はじめての方へ
--------------------*/
.ttl_triangle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  /* 15px-40px:375px-1920px */
  margin-bottom: clamp(0.938rem, 0.558rem + 1.62vw, 2.5rem);
  /* 14px-16px:375px-1920px */
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  color: var(--text-color);

  @media (max-width: 767px) {
    gap: 6px;
  }

  &::before,
  &::after {
    content: "▼";
    color: var(--text-color);
    /* 12px-14px:375px-1920px */
    font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
    display: block;
    text-shadow: none;
  }
}

.page_first-guide {
  main {
    padding-bottom: 0;
  }

  .sec_ttl {
    /* 40px-60px:375px-1920px */
    margin-bottom: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
  }

  .sec_flow {
    .online_box {
      background-color: #fff;
      border-radius: 20px;
      /* 40px-80px:375px-1920px */
      margin-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
      padding: 30px;

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .ttl_triangle {
        color: #166189;
        margin-bottom: 15px;

        &::before,
        &::after {
          color: #166189;
        }
      }

      .btn_more4 {
        display: flex;
        justify-content: center;

        a {
          border-color: #166189;
          color: #166189;

          &::after {
            border-top: solid 1px #166189;
            border-right: solid 1px #166189;
          }

          &:hover {
            background-color: #E4F0F7;
          }
        }
      }
    }

    .flow_list {
      list-style: none;
      margin: 0;
      padding: 0;

      .flow_item {
        .inner {
          display: grid;
          grid-template-columns: 52% 1fr;
          /* 30px-40px:375px-1920px */
          gap: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

          @media (max-width: 767px) {
            display: flex;
            flex-direction: column;
          }

          .hgroup {
            grid-column: 1 / 3;
            grid-row: 1;
            text-align: center;

            .num {
              /* 40px-65px:375px-1920px */
              font-size: clamp(2.5rem, 2.121rem + 1.62vw, 4.063rem);
              font-family: var(--font-en);
              color: #166189;
              margin: 0;
            }

            .ttl {
              color: #00284A;
              display: flex;
              align-items: center;
              gap: 25px;
              margin: -10px 0 0;
              /* 22px-30px:375px-1920px */
              font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);

              &::before,
              &::after {
                content: '';
                flex-grow: 1;
                height: 1px;
                background: #166189;
              }
            }
          }

          .flow_img {
            grid-column: 1;
            grid-row: 2;

            img {
              width: 100%;
              border-radius: 20px;

              @media (max-width: 767px) {
                border-radius: 10px;
              }
            }
          }

          .txt {
            grid-column: 2;
            grid-row: 2;
            /* 14px-16px:375px-1920px */
            font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
            font-weight: 600;
            line-height: 2;
            margin: 0;

            small {
              display: block;
              margin-top: 20px;
              font-weight: normal;
            }
          }
        }

        .detail_box {
          display: flex;
          gap: 40px;
          /* 30px-40px:375px-1920px */
          margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;

          @media (max-width: 767px) {
            flex-direction: column;
            gap: 30px;
          }

          .insurance,
          .uninsured {
            border-radius: 10px;
            overflow: hidden;
            background-color: #fff;
            width: calc((100% - 40px) / 2);

            @media (max-width: 767px) {
              width: 100%;
            }

            .ttl {
              background-color: #166189;
              color: #fff;
              /* 18px-25px:375px-1920px */
              font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
              margin: 0;
              /* 10px-15px:375px-1920px */
              padding: clamp(0.625rem, 0.549rem + 0.32vw, 0.938rem);
              text-align: center;
            }

            .txt {
              /* 14px-16px:375px-1920px */
              font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
              line-height: 2;
              margin: 0;
              padding: 30px 40px;

              @media (max-width: 767px) {
                padding: 20px;
              }
            }
          }

          .uninsured {
            .ttl {
              background-color: #C7B342;
            }
          }
        }

        small {
          /* 12px-14px:375px-1920px */
          font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
        }

        a {
          color: #00284A;
          text-decoration: underline;

          @media (max-width: 767px) {
            display: block;
            width: fit-content;
            margin-left: auto;
          }

          &:hover {
            text-decoration: none;
          }
        }

        &+.flow_item {
          &::before {
            content: "";
            display: block;
            /* 30px-60px:375px-1920px */
            /* 20px-40px:375px-1920px */
            margin: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem) auto clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
            width: 0;
            height: 0;
            /* 30px-50px:375px-1920px */
            border-left: clamp(1.875rem, 1.572rem + 1.29vw, 3.125rem) solid transparent;
            border-right: clamp(1.875rem, 1.572rem + 1.29vw, 3.125rem) solid transparent;
            /* 15px-30px:375px-1920px */
            border-top: clamp(0.938rem, 0.71rem + 0.97vw, 1.875rem) solid #166189;
          }
        }
      }
    }
  }

  .first_attention {
    background-color: #E6EFF4;
    /* 60px-120px:375px-1920px */
    margin-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
    /* 40px-80px:375px-1920px */
    padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    /* 60px-120px:375px-1920px */
    padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

    .inner {
      background-color: #fff;
      border-radius: 20px;
      max-width: 1200px;
      width: 90%;
      margin: auto;
      /* 40px-60px:375px-1920px */
      /* 20px-120px:375px-1920px */
      padding: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem) clamp(1.25rem, -0.267rem + 6.47vw, 7.5rem);
      box-shadow: 0px 0px 15px -5px #cecece;
      ;

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .sec_ttl {
        /* 18px-25px:375px-1920px */
        font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
        /* 30px-40px:375px-1920px */
        margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
        color: #00284A;
      }

      .txt {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        line-height: 2;
        margin: 0 0 40px;
      }

      .ttl {
        /* 16px-18px:375px-1920px */
        font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
        color: #166189;
        border-bottom: 1px #166189 solid;
        /* 10px-20px:375px-1920px */
        margin: 0 0 clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
        padding-bottom: 10px;

        small {
          /* 12px-16px:375px-1920px */
          font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);

          @media (max-width: 767px) {
            display: block;
          }
        }
      }

      .list_circle {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;

        @media (max-width: 767px) {
          flex-direction: column;
          gap: 2px;
        }

        &>li {
          color: #333333;
          font-weight: 500;

          &::before {
            color: #166189;
          }
        }
      }
    }
  }
}

/*--------------------
よくある質問
--------------------*/
.page_faq {
  &.body_h {
    background: #F5F8FA;
  }

  &.body_b {
    background: #222E39;
  }

  .sec_faq {
    background-color: inherit;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/*--------------------
アクセス
--------------------*/
.page_access {
  .sec_access {
    background-color: inherit;
    padding-top: 0;
    padding-bottom: 0;

    .access_directions_wrap {
      .access_directions {

        /* display: flex; */
        /* flex-direction: column; */
        /* width: calc(68% - 40px); */
        @media (max-width: 767px) {
          width: 100%;
        }

        .ttl {
          background-color: #fff;
          color: #166189;

          &:nth-of-type(2) {
            grid-row: 4;
          }

          &:nth-of-type(3) {
            grid-row: 4;
          }
        }

        .txt {
          &:nth-of-type(2) {
            grid-row: 5;
          }

          &:nth-of-type(3) {
            grid-row: 5;
          }
        }
      }

      .walking_root_list {
        grid-column: 1 / 3;
        grid-row: 3;
        list-style: none;
        /* 40px-60px:375px-1920px */
        margin: 0 0 clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
        padding: 0;
        display: flex;
        gap: 30px;

        @media (max-width: 767px) {
          flex-direction: column;
        }

        .walking_root_item {
          width: calc((100% - 60px) / 3);

          @media (max-width: 767px) {
            width: 80%;
            margin: auto;
          }

          img {
            width: 100%;
            border-radius: 10px;
          }
        }
      }
    }
  }
}

/*--------------------
当院について
--------------------*/
.page_about {
  &.body_h {
    background: #F5F8FA;

    .top_about {
      padding-top: 0;

      .about_list {
        .about_item {
          background-color: #fff;
        }
      }
    }

    .top_greeting {
      margin-bottom: 0;

      &::after {
        background-color: #E6EFF4;
      }
    }

    .top_doctor {
      .doctor_list {
        .doctor_item {
          .name_area {
            .specialty {
              background-color: #fff;
            }
          }
        }
      }
    }

    .top_feature {
      background-color: #E6EFF4;
    }

    .top_instagram {
      padding-bottom: 0;
    }
  }

  &.body_b {
    background: #222E39;

    .top_greeting {
      &.b_only {
        &::after {
          display: none;
        }
      }

      .greeting_box {
        padding: 0;
        margin-right: 0;
        background-color: transparent;
        border-radius: 0;
      }
    }

    .loop_swiper {
      /* 60px-120px:375px-1920px; */
      margin-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

      .swiper-wrapper {
        display: flex;
        align-items: center;
        width: max-content;
        animation: scrollLoop 40s linear infinite;

        .swiper-slide {
          flex-shrink: 0;
          margin-right: 20px;
          width: 28.13vw;
          flex-shrink: 0;

          img {
            width: 100%;
          }

          &.vertical {
            width: 18.75vw;
          }
        }
      }
    }
  }
}

@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/*--------------------
料金表（保険）
--------------------*/
.page_price-insurance,
.page_price-uninsured {
  background: var(--bg-color4);

  &.body_h,
  &.body_b {
    background-image: none;
  }

  .sec_basic_price {
    max-width: 700px;
    width: 90%;
    /* 60px-100px:375px-1920px */
    margin: 0 auto clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .basic_price {
      background-color: var(--box-bg);
      border: 1px var(--border-color) solid;
      border-radius: 10px;
      margin: 0;
      /* 10px-20px:375px-1920px */
      /* 20px-60px:375px-1920px */
      padding: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem) clamp(1.25rem, 0.643rem + 2.59vw, 3.75rem);
      display: flex;
      flex-wrap: wrap;

      dt {
        width: 77%;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        color: var(--text-color2);
        font-weight: 600;
        padding: 20px 0;
        border-top: 1px var(--border-color) solid;

        &:nth-of-type(1) {
          border-top: none;
        }
      }

      dd {
        width: 23%;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        color: var(--text-base);
        margin: 0;
        text-align: right;
        font-weight: 500;
        padding: 20px 0;
        border-top: 1px var(--border-color) solid;

        &:nth-of-type(1) {
          border-top: none;
        }
      }
    }
  }
}

.sec_price {
  .price_box {
    .menu_name {
      background-color: var(--tab-active-color);
      color: #fff;
      /* 16px-20px:375px-1920px */
      font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
      margin: 0 0 10px;
      padding: 10px;
      border-radius: 4px;
      text-align: center;
    }

    .menu_name_sub {
      color: #fff;
      /* 16px-20px:375px-1920px */
      font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
      /* 20px-30px:375px-1920px */
      margin: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem) 0 0;
      display: flex;
      align-items: center;
      gap: 5px;

      &::before {
        content: "";
        display: inline-block;
        /* 30px-40px:375px-1920px */
        width: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
        height: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
        background: url("../img/icon_moon_yellow.svg") center center / contain no-repeat;
      }
    }

    dl {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      margin: 0;

      dt {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        color: var(--text-color);
        font-weight: 600;
        padding: 20px 0;
        text-align: left;
        width: 50%;
        border-bottom: 1px var(--tab-active-color) solid;

        @media (max-width: 767px) {
          width: 100%;
          display: block;
          border-bottom: none;
          padding: 10px 0 0;
        }
      }

      dd {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        font-weight: 500;
        color: var(--text-base);
        margin-left: 0;
        padding: 20px 0;
        text-align: right;
        width: 50%;
        border-bottom: 1px var(--tab-active-color) solid;

        @media (max-width: 767px) {
          width: 100%;
          display: block;
          padding: 6px 0 10px;
        }

        &:has(p) {
          display: flex;
          flex-direction: column;

          p {
            margin: 0;

            &:has(span) {
              display: flex;
              justify-content: space-between;

              span {
                width: 50%;

                @media (max-width: 767px) {
                  width: 70%;
                }
              }
            }

            &+p {
              /* 10px-20px:375px-1920px */
              margin-top: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
            }
          }
        }
      }

      &+.menu_name_sub {
        /* 40px-60px:375px-1920px */
        margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
      }
    }

    &+.price_box {
      /* 70px-100px:375px-1920px */
      margin-top: clamp(4.375rem, 3.92rem + 1.94vw, 6.25rem);
    }
  }
}

.price_notes {
  color: var(--text-base);
  /* 12px-14px:375px-1920px */
  font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
  text-align: right;
  /* 15px-20px:375px-1920px */
  margin: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem) 0 0;
}

.page_price-uninsured {
  .sec_basic_price {
    .basic_price {
      /* dt,
      dd {
        padding: 0;
      } */
    }

    .price_notes {
      text-align: left;
    }
  }
}

.price_index {
  /* 60px-120px:375px-1920px */
  margin-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

  .index_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;

    @media (max-width: 767px) {
      gap: 20px;
    }

    .index_item {
      width: calc((100% - 120px) / 4);

      @media (max-width: 767px) {
        width: calc((100% - 20px) / 2);
      }

      a {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        display: flex;
        align-items: center;
        border-bottom: 1px var(--tab-active-color) solid;
        padding: 0 0 10px;

        @media (max-width: 767px) {
          padding: 0 0 8px;
        }

        &::after {
          content: "";
          width: 6px;
          height: 6px;
          border: 0;
          border-bottom: solid 1px var(--tab-active-color);
          border-right: solid 1px var(--tab-active-color);
          transform: rotate(45deg);
          transition: ease-in .2s;
          margin-left: auto;
          margin-right: 5px;
          flex-shrink: 0;
        }
      }
    }
  }
}

/*--------------------------
お悩みから探す（保険） 一覧
--------------------------*/
.post-type-archive-worries {
  background: #F5F8FA;

  main {
    background-position: left 5% top 60px;
    background-repeat: no-repeat;
    background-image: url("../img/bg_logo_h.svg");
    background-size: 450px;

    @media (max-width: 767px) {
      background-image: none;
    }
  }
}

/*--------------------------
お悩みから探す（保険） 詳細
--------------------------*/
.single-worries,
.page_mammary-second-opinion {
  .num_list {
    font-weight: 600;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: number 0;

    &>li {
      color: #166189;
      /* 16x-20px:375px-1920px */
      font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);
      position: relative;

      span {
        /* 25x-30px:375px-1920px */
        padding-left: clamp(1.563rem, 1.487rem + 0.32vw, 1.875rem);
        display: block;
      }

      &::before {
        position: absolute;
        top: 2px;
        counter-increment: number 1;
        content: counter(number) " ";
        color: #fff;
        /* 20x-25px:375px-1920px */
        width: clamp(1.25rem, 1.174rem + 0.32vw, 1.563rem);
        height: clamp(1.25rem, 1.174rem + 0.32vw, 1.563rem);
        background-color: #166189;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        border-radius: 4px;
        /* 14x-20px:375px-1920px */
        font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
        /* 5px-10px:375px-1920px */
        margin-right: clamp(0.313rem, 0.237rem + 0.32vw, 0.625rem);
        flex-shrink: 0;
      }

      &+li {
        /* 30x-40px:375px-1920px */
        margin-top: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      }

      .list_circle {
        list-style: circle;

        &>li {
          font-weight: normal;
          margin-top: 10px;
          font-weight: 500;
        }
      }
    }
  }

  .list_circle {
    &>li {
      display: block;
      position: relative;
      padding-left: 15px;
      font-weight: 500;

      &::before {
        position: absolute;
        top: 0;
        left: 0;
        margin-right: 5px;
      }

      &+li {
        margin-top: 10px;
      }
    }
  }

  strong {
    font-weight: 600;
  }

  .issue_summary_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;

    &>li {
      display: flex;
      align-items: center;
      gap: 15px;
      background-color: #F5F8FA;
      border-radius: 10px;
      padding: 20px;

      @media (max-width: 767px) {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

      .ttl {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        color: #166189;
        margin: 0;
        flex-shrink: 0;
      }

      .txt {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;

        @media (max-width: 767px) {
          align-items: flex-start;
        }

        &::before {
          content: "";
          background: url("../img/icon_arrow2_h.svg") center center / contain no-repeat;
          display: inline-block;
          /* 16px-21px:375px-1920px */
          width: clamp(1rem, 0.924rem + 0.32vw, 1.313rem);
          height: clamp(1rem, 0.924rem + 0.32vw, 1.313rem);
          flex-shrink: 0;
        }

        @media (max-width: 767px) {
          &::before {
            margin-top: 6px;
          }
        }
      }
    }
  }
}

.single-worries {
  background: #F5F8FA;

  main {
    padding-bottom: 0;

    .txt {
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      /* 30x-40px:375px-1920px */
      margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
      line-height: 2;
    }
  }

  .page_title {
    padding: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    height: auto;
    background: #76ADCB;
  }

  .worries_first {
    /* 40px-80px:375px-1920px */
    margin-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);

    .img {
      max-width: 600px;
      width: 90%;
      /* 40px-60px:375px-1920px */
      margin: 0 auto clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
      border-radius: 20px;
      overflow: hidden;

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      img {
        width: 100%;
      }
    }
  }

  .worries_cause {
    /* 60px-100px:375px-1920px */
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .issue_summary_list {
      &>li {
        background-color: #fff;
      }
    }
  }

  .worries_template {
    background-color: #E6EFF4;
    /* 60px-100px:375px-1920px */
    padding-top: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .inner {
      background-color: #fff;
      box-shadow: var(--box-shadow);
      border-radius: 20px;
      max-width: 1200px;
      width: 90%;
      margin: auto;
      /* 40px-70px:375px-1920px */
      padding: 40px 0 clamp(2.5rem, 2.045rem + 1.94vw, 4.375rem);

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .template_box {
        /* 50px-120px:767px-1920px */
        padding: 0 clamp(3.125rem, 0.215rem + 6.07vw, 7.5rem);

        @media (max-width: 767px) {
          padding: 0 5%;
        }

        a {
          text-decoration: underline;

          &:hover {
            text-decoration: none;
          }
        }

        .supplement {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          /* 30x-40px:375px-1920px */
          margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0 0;
          line-height: 2;
        }

        &+.template_box {
          /* 60px-80px:375px-1920px */
          margin-top: clamp(3.75rem, 3.447rem + 1.29vw, 5rem)
        }
      }
    }
  }

  .worries_aim {
    /* 40px-80px:375px-1920px */
    margin-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    /* 60px-100px:375px-1920px */
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .list_check {
      background-color: #fff;
      border: 1px #76ADCB solid;
      border-radius: 20px;
      padding: 40px 60px;

      /* 30px-40px:375px-1920px */
      /* 20px-60px:375px-1920px */
      /* padding: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) clamp(1.25rem, 0.643rem + 2.59vw, 3.75rem); */
      @media (max-width: 767px) {
        border-radius: 10px;
        padding: 30px 20px;
      }
    }
  }

  .worries_conclusion {
    background-color: #fff;
    /* 60px-100px:375px-1920px */
    padding-top: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);
    /* 30px-60px:375px-1920px */
    padding-bottom: clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);

    .sec_ttl {
      /* 22px-30px:375px-1920px */
      font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
      position: relative;
      /* 30px-40px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      /* 10px-20px:375px-1920px */
      padding: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
      text-align: center;
      color: #166189;
      border-top: 1px #166189 solid;
      border-bottom: 1px #166189 solid;
    }

    .wysiwyg_area {
      p {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        /* 30x-40px:375px-1920px */
        margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
        line-height: 2;
      }

      p:has(small) {
        line-height: 1.2;
      }
    }
  }
}

/*--------------------------
施術メニュー（美容） 一覧
--------------------------*/
.post-type-archive-menu.body_b {
  background: #222E39;

  main {
    background-position: left 5% top 60px;
    background-repeat: no-repeat;
    background-image: url("../img/bg_logo_b.svg");
    background-size: 450px;

    @media (max-width: 767px) {
      background-image: none;
    }

    .top_by_worries_b {
      background: none;
      padding-top: 0;
      padding-bottom: 0;
    }
  }
}

/*--------------------------
施術メニュー（美容） 詳細
--------------------------*/
.single-menu.body_b {
  background: #222E39;

  .page_title {
    background: #18222B;
    padding: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    height: auto;
  }

  .menu_about {
    .sec_ttl {
      /* 22px-30px:375px-1920px */
      font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
      position: relative;
      /* 30px-40px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      /* 10px-20px:375px-1920px */
      padding: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
      text-align: center;
      color: #fff;
      font-weight: 600;
      border-top: 1px #C7B342 solid;
      border-bottom: 1px #C7B342 solid;
    }

    .img {
      max-width: 500px;
      width: 90%;
      border-radius: 20px;
      overflow: hidden;
      /* 30px-40px:375px-1920px */
      margin: 0 auto clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

      img {
        width: 100%;
      }
    }

    .txt {
      p {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        line-height: 2;
        color: #fff;
      }
    }
  }

  .menu_recommend {
    .inner {
      background-color: #EAE7E7;
      border-radius: 20px;
      overflow: hidden;
      display: flex;

      @media (max-width: 767px) {
        flex-direction: column-reverse;
      }

      .img {
        width: 300px;
        min-height: 260px;
        overflow: hidden;

        @media (max-width: 767px) {
          width: 100%;
          min-height: inherit;
          height: 150px;
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }

      .list_check {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* 30px-40px:375px-1920px */
        /* 20px-40px:375px-1920px */
        margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);

        &>li {
          color: #333;
        }
      }
    }
  }

  .menu_feature {
    position: relative;
    /* 60px-120px:375px-1920px */
    margin-top: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
    /* 100px-160px:375px-1920px */
    margin-bottom: clamp(6.25rem, 5.34rem + 3.88vw, 10rem);

    &::after {
      content: "";
      position: absolute;
      /* 40px-80px:375px-1920px */
      top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
      right: 0;
      z-index: -1;
      width: 90%;
      height: 100%;
      background-color: #18222B;
      border-radius: 20px 0 0 20px;
    }

    .feature_box {
      /* 40px-80px:375px-1920px */
      padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
      padding-bottom: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
      padding-left: calc((100% - 80%) / 2);
      margin-right: calc((100% - 80%) / 2);
      border-radius: 0 20px 20px 0;
      background: url("../img/bg_logo_fixed_b.svg") left 60px top 60px no-repeat, var(--bg-color2);

      @media (max-width: 767px) {
        background: url("../img/bg_logo_fixed_b.svg") left 20px top 30px no-repeat, var(--bg-color2);
        background-size: 186px;
        padding-left: 5%;
        margin-right: 5%;
      }
    }

    .inner {
      max-width: 960px;
      width: 90%;
      margin: auto;
    }

    .wysiwyg_area {
      .large {
        /* 18px-25px:375px-1920px */
        font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
        font-weight: 600;
        color: var(--text-color);

        &+p {
          margin-top: -10px;
        }
      }

      .medium {
        /* 18px-20px:375px-1920px */
        font-size: clamp(1.125rem, 1.095rem + 0.13vw, 1.25rem);
        font-weight: 600;
        color: var(--text-color);

        &+p {
          margin-top: -10px;
        }
      }

      h3 {
        /* 16px-25px:375px-1920px */
        font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
        font-weight: 600;
        color: var(--text-base);
        display: flex;
        gap: 5px;
        /* 30px-40px:375px-1920px */
        margin-top: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

        &::before {
          content: "";
          display: inline-block;
          background: url("../img/icon_moon_yellow.svg") center center / contain no-repeat;
          /* 30px-40px:375px-1920px */
          width: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
          height: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
          flex-shrink: 0;
          margin-top: -2px;
        }

        &+p {
          margin-top: -10px;
        }

        &+p.medium {
          margin-top: 0;
        }
      }

      ul,
      ol {
        margin: 15px 0;
      }

      p.medium+ul,
      p.medium+ol {
        margin-top: -10px;
      }

      a {
        display: inline-flex;
        color: var(--title-color);
        font-weight: 500;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        border: 1px var(--text-color) solid;
        align-items: center;
        gap: 10px;
        border-radius: 100px;
        margin: 0 10px 10px 0;
        padding: 2px 10px 2px 20px;
        text-decoration: none;

        &::after {
          content: "";
          display: block;
          width: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
          height: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
          border: 0;
          border-top: solid 1px var(--text-color);
          border-right: solid 1px var(--text-color);
          transform: rotate(45deg);
          transition: ease-in .2s;
        }

        &:hover {
          opacity: 0.8;
        }
      }
    }
  }

  .sec_case {
    /* 60px-100px:375px-1920px */
    margin-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .sec_case_ttl {
      border-radius: 500px;
      /* 100px-160px:375px-1920px */
      width: clamp(6.25rem, 5.34rem + 3.88vw, 10rem);
      height: clamp(6.25rem, 5.34rem + 3.88vw, 10rem);
      border: 2px #C7B342 solid;
      outline: 1px #C7B342 solid;
      outline-offset: -5px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      /* 30px-40px:375px-1920px */
      margin: 0 auto clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

      .ja {
        color: #fff;
        /* 22px-30px:375px-1920px */
        font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
        font-weight: 600;
        margin: 0;
      }

      .en {
        color: #C7B342;
        /* 12px-14px:375px-1920px */
        font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
        font-family: var(--font-en);
        margin: 0;
      }
    }
  }

  .sec_price {
    background-color: #2B3641;
    /* 40px-80px:375px-1920px */
    padding-top: clamp(2.5rem, 1.893rem + 2.59vw, 5rem);
    /* 60px-100px:375px-1920px */
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);
  }

  .menu_risk {
    /* 60px-80px:375px-1920px */
    padding-top: clamp(3.75rem, 3.447rem + 1.29vw, 5rem);
    /* 60px-100px:375px-1920px */
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .risk_box {
      background-color: #37495A;
      border-radius: 20px;
      /* 30px-40px:375px-1920px */
      /* 20px-60px:375px-1920px */
      padding: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) clamp(1.25rem, 0.643rem + 2.59vw, 3.75rem);

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .list_circle {
        &>li {
          &+li {
            margin-top: 6px;
          }
        }
      }
    }
  }

  .sec_faq {
    background-color: #2B3641;

    .sec_ttl {
      .ja {
        color: #fff;
        font-family: var(--font-en);
        /* 40px-60px:375px-1920px */
        font-size: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
        font-weight: 400;

        small {
          /* 25px-40px:375px-1920px */
          font-size: clamp(1.563rem, 1.335rem + 0.97vw, 2.5rem);
        }
      }
    }

    .faq_box {
      .faq_list {
        .faq_item {
          background-color: #33404D;

          .faq_q,
          .faq_a {
            color: #fff;
          }
        }
      }
    }
  }

  .menu_flow {
    /* 60px-80px:375px-1920px */
    margin-top: clamp(3.75rem, 3.447rem + 1.29vw, 5rem);

    /* 60px-100px:375px-1920px */
    /* margin-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem); */
    .flow_list {
      list-style: none;
      margin: 0;
      padding: 0;

      &>li {
        display: grid;
        grid-auto-columns: auto 260px 1fr;

        @media (max-width: 767px) {
          grid-auto-columns: auto 1fr;
        }

        .num {
          grid-column: 1;
          grid-row: 1 / 3;
          /* 40px-61px:375px-1920px */
          font-size: clamp(2.5rem, 2.181rem + 1.36vw, 3.813rem);
          font-family: var(--font-en);
          color: #C7B342;
          display: flex;
          flex-direction: column;
          align-items: center;
          margin: -20px 10px 0 0;

          @media (max-width: 767px) {
            grid-column: 1;
            grid-row: 1 / 4;
          }

          &::after {
            content: "";
            width: 1px;
            height: 100%;
            background-color: #C7B342;
          }
        }

        .img {
          grid-column: 2;
          grid-row: 1 / 3;
          width: 260px;

          @media (max-width: 767px) {
            grid-column: 2;
            grid-row: 1;
            margin-bottom: 20px;
          }

          img {
            width: 100%;
            border-radius: 10px;
          }
        }

        .ttl {
          grid-column: 3;
          grid-row: 1;
          /* 10px-20px:375px-1920px */
          margin: auto 0 clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem) 30px;
          color: #C7B342;
          font-weight: 600;
          /* 18px-25px:375px-1920px */
          font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);

          @media (max-width: 767px) {
            grid-column: 2;
            grid-row: 2;
            margin-left: 0;
          }
        }

        .txt {
          grid-column: 3;
          grid-row: 2;
          margin: 0 0 auto 30px;
          color: #fff;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

          @media (max-width: 767px) {
            grid-column: 2;
            grid-row: 3;
            margin-left: 0;
          }
        }

        &+li {
          /* 40px-60px:375px-1920px */
          margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
        }
      }
    }
  }

  .menu_conclusion {
    max-width: 1200px;
    width: 90%;
    /* 60px-100px:375px-1920px */
    margin: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem) auto 0;
    background-color: #414139;
    border: 1px #C7B342 solid;
    border-radius: 20px;

    @media (max-width: 767px) {
      border-radius: 10px;
    }

    .txt {
      color: #fff;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      margin: 0;
      /* 30px-40px:375px-1920px */
      padding: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
      line-height: 2;
    }
  }

  .menu_guidelines {
    /* 60px-100px:375px-1920px */
    margin: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem) auto 0;

    .txt {
      color: #fff;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      margin: 0;
      padding: 20px 0;
      line-height: 2;
      border-top: 1px #fff solid;
      border-bottom: 1px #fff solid;
    }
  }
}

.case_photo {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 6px;

  @media (max-width: 1000px) {
    margin-bottom: 20px;
    justify-content: center;
  }

  .case_before,
  .case_after {
    .img {
      max-width: 500px;
      aspect-ratio: 1 / 1;

      @media (max-width: 1000px) {
        /* width: calc((100% - 6px) / 2); */
        /* width: 100%; */
        width: calc(100% - 60px);
        height: auto;
        margin: auto;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .caption {
      text-align: center;
      color: #fff;
      font-family: var(--font-en);
      /* 18px-30px:375px-1920px */
      font-size: clamp(1.125rem, 0.943rem + 0.78vw, 1.875rem);
      margin: 6px 0 0;
    }
  }

  .case_after {
    .caption {
      color: #C7B342;
    }
  }
}

.case_list {
  list-style: none;
  margin: 0;
  padding: 0;

  .case_item {
    display: grid;
    gap: 0 30px;

    @media (max-width: 1000px) {
      display: flex;
      flex-direction: column;
    }

    .case_ttl {
      grid-column: 1 / 3;
      grid-row: 1;
      /* 16px-25px:375px-1920px */
      font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
      color: var(--text-base);
      display: flex;
      gap: 5px;
      font-weight: 600;
      margin: 0 0 15px;

      &::before {
        content: "";
        display: inline-block;
        background: url("../img/icon_moon_yellow.svg") center center / contain no-repeat;
        /* 30px-40px:375px-1920px */
        width: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
        height: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
        flex-shrink: 0;
        margin-top: -2px;
      }
    }

    .case_photo {
      max-width: 400px;
    }

    .btn_more4 {
      grid-column: 1 / 3;
      grid-row: 3;
      /* 20px-30px:375px-1920px */
      margin-top: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem);
      display: flex;
      justify-content: center;
    }

    &+.case_item {
      /* 40px-60px:375px-1920px */
      margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
      padding-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
      position: relative;

      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-image: repeating-linear-gradient(to right,
            #fff 0px,
            #fff 2px,
            transparent 2px,
            transparent 6px);
      }
    }
  }
}

.case_detail {
  grid-column: 2;
  grid-row: 2;

  .case_detail_list {
    display: flex;
    flex-wrap: wrap;

    dt {
      width: 120px;
      flex-shrink: 0;
      color: #C7B342;
      border-bottom: 1px #C7B342 solid;
      /* 15px-20px:375px-1920px */
      padding-bottom: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);
      margin-bottom: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);
      /* 13px-16px:375px-1920px */
      font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
      font-weight: 500;

      @media (max-width: 767px) {
        width: 70px;
      }
    }

    dd {
      width: calc(100% - 120px);
      color: #fff;
      margin: 0;
      border-bottom: 1px #E0E0E0 solid;
      /* 15px-20px:375px-1920px */
      padding-bottom: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);
      margin-bottom: clamp(0.938rem, 0.862rem + 0.32vw, 1.25rem);
      padding-left: 10px;
      /* 13px-16px:375px-1920px */
      font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);

      @media (max-width: 767px) {
        width: calc(100% - 70px);
      }

      &.price {
        color: #C7B342;
        font-weight: 500;

        .price_detail {
          color: #fff;
          /* 13px-16px:375px-1920px */
          font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
          margin: 10px 0 0;
          font-weight: normal;
        }
      }
    }
  }
}

.text-base {
  color: var(--text-base);
  /* 14px-16px:375px-1920px */
  font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
  text-align: center;
}

/*--------------------------
キャンペーン 一覧
--------------------------*/
.post-type-archive-campaign {
  background: var(--bg-color4);

  &.body_b {
    background: var(--bg-color4);
  }

  .campaign_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
    padding: 0;

    .campaign_item {
      list-style: none;
      margin: 0;
      padding: 0;
      width: calc((100% - 40px) / 2);

      @media (max-width: 767px) {
        width: 100%;
      }

      .img {
        img {
          width: 100%;
        }
      }
    }
  }
}

/*--------------------------
お知らせ、ブログ 一覧
--------------------------*/
.post-type-archive-news-insurance,
.post-type-archive-news-uninsured,
.post-type-archive-blog {
  background: var(--bg-color4);

  &.body_b {
    background: var(--bg-color4);
  }
}

.page_post_inner {
  display: flex;
  justify-content: space-between;
  /* 80px-120px:375px-1920px */
  padding-bottom: clamp(5rem, 4.393rem + 2.59vw, 7.5rem);

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 80px;
  }

  main,
  aside {
    .post_list {
      .post_item {
        a {
          display: grid;
          grid-template-columns: max-content 1fr;
          grid-template-rows: min-content min-content;
          gap: 0;
          position: relative;
          padding: 30px 40px 30px 0;

          @media (max-width: 767px) {
            padding: 20px 40px 20px 0;
          }

          &::after {
            content: "";
            width: 22px;
            height: 22px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 0;
          }

          .img {
            grid-column: 1;
            grid-row: 1 / 3;
            width: 150px;
            height: 150px;
            margin-right: 30px;
            border-radius: 10px;
            overflow: hidden;

            img {
              object-fit: cover;
              width: 100%;
              height: 100%;
            }
          }

          time {
            grid-column: 2;
            grid-row: 1;
            color: var(--text-color);
            margin-top: auto;
            margin-bottom: 5px;
            /* 12px-14px:375px-1920px */
            font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
          }

          .post_ttl {
            grid-column: 2;
            grid-row: 2;
            /* 14px-18px:375px-1920px */
            font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
            margin: 0 0 auto;
          }
        }

        &:first-child {
          margin-top: -20px;
        }
      }
    }
  }

  main {
    width: 67%;
    padding-bottom: 0;

    @media (max-width: 767px) {
      width: 100%;
    }

    .breadcrumb {
      padding: 0;
    }
  }

  /* サイドバー */
  aside {
    width: 27%;
    margin-top: 100px;

    @media (max-width: 767px) {
      width: 100%;
    }

    .aside_ttl {
      font-size: 18px;
      background-color: var(--title-base);
      color: var(--bg-base);
      margin: 0 0 20px;
      padding: 15px 25px;
      border-radius: 6px;
    }

    .post_list {
      margin-bottom: 60px;

      .post_item {
        &:first-child {
          margin-top: -20px;

          @media (max-width: 767px) {
            margin-top: 0;
          }
        }

        a {
          padding: 20px 0;
          background: none;

          .img {
            width: 80px;
            height: 80px;
            margin-right: 15px;
            margin-bottom: auto;
          }

          .post_ttl {
            font-size: 14px;
          }
        }
      }
    }

    .archive_list {
      list-style: none;
      margin: -20px 0 0;
      padding: 0;

      .year {
        border-bottom: 1px var(--text-color) solid;

        .year_toggle {
          position: relative;
          font-size: 16px;
          margin: 0;
          padding: 15px 0 17px;
          color: var(--text-color);

          &::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 10px;
            width: 9px;
            height: 9px;
            border: 0;
            border-top: solid 2px var(--text-color);
            border-right: solid 2px var(--text-color);
            transform: translateY(-50%) rotate(135deg);
            transition: ease-in .2s;
          }

          &.show {
            &::after {
              transform: translateY(-50%) rotate(-45deg);
            }
          }
        }

        .month_list {
          list-style: none;
          margin: 0 0 20px;
          padding: 0;
          display: none;

          li {
            display: flex;
            gap: 5px;
            align-items: center;
            font-size: 14px;
            color: var(--text-base);

            &::before {
              content: "";
              display: inline-block;
              background-color: var(--text-color);
              ;
              width: 10px;
              height: 1px;
            }

            a {
              color: var(--text-base);

              &:hover {
                opacity: 0.8;
              }
            }

            +li {
              margin-top: 10px;
            }
          }
        }

        .year_toggle {
          cursor: pointer;
          display: block;
        }
      }
    }
  }
}

/*--------------------------
お知らせ、ブログ 詳細
--------------------------*/
.single-news-insurance,
.single-news-uninsured,
.single-blog,
.single-campaign {
  background: var(--bg-color4);

  &.body_b {
    background: var(--bg-color4);
  }

  .post_main {
    .eyecatch {
      max-width: 600px;
      width: 80%;
      margin: auto;
      border-radius: 10px;
      overflow: hidden;

      img {
        width: 100%;
      }
    }

    time {
      font-family: var(--font-en);
      color: var(--text-color);
      margin-top: auto;
      margin-bottom: 10px;
      /* 14px-18px:375px-1920px */
      font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
    }

    .post_ttl {
      color: var(--text-base);
      /* 18px-25px:375px-1920px */
      font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
      /* 30px-60px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
      /* 10px-20px:375px-1920px */
      padding-bottom: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
      border-bottom: 1px var(--text-color) solid;
    }
  }

  .btn_back {
    /* 80px-120px:375px-1920px */
    margin-top: clamp(5rem, 4.393rem + 2.59vw, 7.5rem);
  }

  .wysiwyg_area {
    hr {
      border-color: var(--text-color);
      /* 30px-40px:375px-1920px */
      margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
    }

    h2 {
      background-color: var(--tab-active-color);
      color: var(--bg-base);
      /* 16px-25px:375px-1920px */
      font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
      border-radius: 6px;
      /* 20px-40px:375px-1920px */
      margin: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem) 0;
      padding: 15px 30px;

      @media (max-width: 767px) {
        padding: 10px 20px;
      }
    }

    h3 {
      /* 16px-25px:375px-1920px */
      font-size: clamp(1rem, 0.863rem + 0.58vw, 1.563rem);
      color: var(--text-base);
      border-left: 8px var(--tab-active-color) solid;
      /* 20px-40px:375px-1920px */
      margin: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem) 0;
      padding-left: 15px;
    }

    h4 {
      /* 16px-22px:375px-1920px */
      font-size: clamp(1rem, 0.909rem + 0.39vw, 1.375rem);
      color: var(--text-base);
      border-bottom: 1px var(--tab-active-color) solid;
      /* 20px-40px:375px-1920px */
      margin: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem) 0;
      padding-bottom: 10px;
    }
  }
}

.wysiwyg_area {
  p {
    color: var(--text-base);
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    line-height: 2;
  }

  a {
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }

  em {
    font-style: italic;
  }

  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .alignright {
    display: block;
    margin-left: auto;
  }

  table {
    border: 1px var(--title-base) solid;

    tbody {
      tr {
        th {
          background-color: var(--box-bg2);
          border: 1px var(--title-base) solid;
          color: #fff;
          padding: 20px;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        }

        td {
          border: 1px var(--title-base) solid;
          color: var(--text-base);
          padding: 20px;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        }
      }
    }
  }

  ul,
  ol {
    list-style: none;
    /* 30px-40px:375px-1920px */
    margin: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem) 0;
    padding: 0;

    li {
      /* 14px-18px:375px-1920px */
      font-size: clamp(0.875rem, 0.814rem + 0.26vw, 1.125rem);
      /* display: flex;
      gap: 7px; */
      color: var(--text-base);
      position: relative;

      +li {
        margin-top: 10px;
      }
    }
  }

  ul {
    li {
      padding-left: 15px;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 9px;
        height: 9px;
        background-color: var(--tab-active-color);
        border-radius: 100px;
        margin-top: 8px;
        flex-shrink: 0;
      }

      @media (max-width: 767px) {
        &::before {
          top: -2px;
        }
      }
    }
  }

  ol {
    li {
      padding-left: 30px;

      &::before {
        counter-increment: number 1;
        content: counter(number) " ";
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 23px;
        height: 23px;
        background-color: var(--tab-active-color);
        border-radius: 50px;
        line-height: 0;
        font-size: 14px;
        flex-shrink: 0;
        color: var(--bg-color4);
        position: absolute;
        top: 1px;
        left: 0;
      }

      @media (max-width: 767px) {
        &::before {
          top: -1px;
        }
      }
    }
  }
}

.btn_back {
  width: max-content;

  a {
    display: flex;
    align-items: center;
    color: var(--tab-active-color);
    font-weight: 500;
    /* 14px-16px:375px-1920px */
    font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
    gap: 20px;

    @media (max-width: 767px) {
      gap: 10px;
    }

    &::before {
      content: "";
      display: inline-block;
      background: var(--icon-arrow-line) center center / contain no-repeat;
      width: 40px;
      height: 7px;
    }

    @media (max-width: 767px) {
      &::after {
        width: 25px;
        height: 6px;
        margin-bottom: 5px;
      }
    }

    &:hover {
      gap: 25px;
      margin-left: -5px;

      @media (max-width: 767px) {
        gap: 15px;
      }
    }
  }
}

/*--------------------------
症例検索フォーム
--------------------------*/
.case_search {
  background-color: #414139;
  border: 1px #C7B342 solid;
  border-radius: 20px;
  /* 40px-110px:375px-1920px */
  margin: 0 auto clamp(2.5rem, 1.438rem + 4.53vw, 6.875rem);
  padding: 40px 0;

  .sec_ttl {
    /* 30px-40px:375px-1920px */
    margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
  }

  .search_box {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    margin: 0;

    dt {
      width: 70px;
      flex-shrink: 0;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      color: #fff;
      font-weight: 600;
      padding-top: 10px;
    }

    dd {
      width: calc(100% - 70px);
      margin: 0;
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      color: #fff;
      font-weight: 600;

      select {
        width: 100%;
        border-radius: 6px;
        border: none;
        padding: 10px 25px;
        color: #000;
        background: #fff;

        @media (max-width: 767px) {
          height: 40px;
        }

        &:focus-visible {
          outline: none;
        }

        option {
          color: #000;
        }

        option:first-child {
          color: #A2998F;
        }
      }

      label {
        margin: 10px 0;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-width: calc(100% / 8);

        @media (max-width: 767px) {
          min-width: 20vw;
          font-size: 16px;
        }

        span {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        }
      }

      input[type="checkbox"] {
        position: relative;
        width: 16px;
        height: 16px;
        background-color: #fff;
        vertical-align: -1px;
        border-radius: 3px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
      }

      input[type="checkbox"]:checked {
        background-color: #C7B342;
      }

      input[type="checkbox"]:checked::before {
        position: absolute;
        top: 1px;
        left: 5px;
        transform: rotate(50deg);
        width: 6px;
        height: 10px;
        border-right: 2px solid #00284A;
        border-bottom: 2px solid #00284A;
        content: '';
      }
    }
  }

  .submit {
    background: #C7B342;
    border: none;
    /* 14px-20px:375px-1920px */
    font-size: clamp(0.875rem, 0.784rem + 0.39vw, 1.25rem);
    font-weight: 500;
    /* 200px-300px:375px-1920px */
    width: clamp(12.5rem, 10.983rem + 6.47vw, 18.75rem);
    margin: 40px auto 0;
    padding: 5px;
    border-radius: 100px;
    display: block;
    color: #00284A;
    line-height: 2;
    transition: ease-in 0.35s;
    cursor: pointer;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 20px;
      display: block;
      width: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      height: clamp(0.313rem, 0.241rem + 0.15vw, 0.375rem);
      border: 0;
      border-top: solid 1px #00284A;
      border-right: solid 1px #00284A;
      transform: translateY(-50%) rotate(45deg);
      transition: ease-in .2s;
      margin-left: auto;
    }

    &:hover {
      opacity: 0.8;
    }
  }
}

.post-type-archive-case {
  &.body_b {
    background: var(--bg-color4);
  }

  .case_archive {
    .text-base {
      text-align: center;
      color: #fff;
    }
  }
}

/*--------------------
ページネーション
--------------------*/
.pagination {
  text-align: center;
  margin-top: clamp(2.5rem, 2.06rem + 1.88vw, 3.75rem);

  * {
    font-family: var(--font-en);
    font-weight: 500;
  }

  .page-numbers {
    padding: 0.5em;
    min-width: 2em;
    font-size: clamp(0.938rem, 0.827rem + 0.47vw, 1.25rem);
  }

  .current {
    display: inline-block;
    background-color: var(--text-color);
    line-height: 1;
    border-radius: 100px;
    color: var(--bg-color2);
  }

  .prev {
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 0.2em;

    &::before {
      content: "";
      width: clamp(0.438rem, 0.393rem + 0.19vw, 0.563rem);
      height: clamp(0.438rem, 0.393rem + 0.19vw, 0.563rem);
      border: 0;
      border-top: solid 1px var(--text-color);
      border-right: solid 1px var(--text-color);
      transform: rotate(-135deg);
    }
  }

  .next {
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 0.2em;

    &::after {
      content: "";
      width: clamp(0.438rem, 0.393rem + 0.19vw, 0.563rem);
      height: clamp(0.438rem, 0.393rem + 0.19vw, 0.563rem);
      border: 0;
      border-top: solid 1px var(--text-color);
      border-right: solid 1px var(--text-color);
      transform: rotate(45deg);
    }
  }
}

/*--------------------------
症例 詳細
--------------------------*/
.single-case.body_b {
  background: var(--bg-color4);

  .page_title {
    background: #37495A;
    /* 20px-40px:375px-1920px */
    padding: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    height: auto;
  }

  .case_main {
    /* 60px-80px:375px-1920px */
    margin-bottom: clamp(3.75rem, 3.447rem + 1.29vw, 5rem);

    .case_ttl {
      /* 16px-30px:375px-1920px */
      font-size: clamp(1rem, 0.788rem + 0.91vw, 1.875rem);
      color: #fff;
      font-weight: 600;
      /* 30px-60px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.42rem + 1.94vw, 3.75rem);
    }

    .case_photo_swiper_area {
      position: relative;
      max-width: 500px;
      width: 90%;
      /* 60px-80px:375px-1920px */
      margin: 0 auto clamp(3.75rem, 3.447rem + 1.29vw, 5rem);

      .case_photo {
        @media (max-width: 1000px) {
          margin-bottom: 0;
        }
      }

      .swiper-button-prev,
      .swiper-button-next {
        background-color: #C7B342;
        width: 40px;
        height: 60px;
        top: 50%;

        @media (max-width: 767px) {
          width: 30px;
          height: 40px;
        }

        &::after {
          color: #222E39;
          font-size: 18px;
          font-weight: bold;
        }

        @media (max-width: 767px) {
          &::after {
            font-size: 15px;
          }
        }
      }

      .swiper-button-prev {
        left: -40px;

        @media (max-width: 767px) {
          left: 0;
        }
      }

      .swiper-button-next {
        right: -40px;

        @media (max-width: 767px) {
          right: 0;
        }
      }

      .swiper-pagination {
        bottom: -30px;

        .swiper-pagination-bullet {
          background-color: #C7B342;
          margin: 0 7px;
        }
      }
    }

    .case_comment {
      background-color: #37495A;
      border-radius: 20px;
      /* 20px-30px:375px-1920px */
      /* 20px-60px:375px-1920px */
      padding: clamp(1.25rem, 1.098rem + 0.65vw, 1.875rem) clamp(1.25rem, 0.643rem + 2.59vw, 3.75rem);

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .ttl {
        color: #C7B342;
        text-align: center;
        /* 13px-16px:375px-1920px */
        font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
        font-weight: 600;
        margin: 0 0 20px;
      }

      .txt {
        color: #fff;
        /* 13px-16px:375px-1920px */
        font-size: clamp(0.813rem, 0.767rem + 0.19vw, 1rem);
      }
    }
  }

  .case_info {
    /* 60px-80px:375px-1920px */
    margin-bottom: clamp(3.75rem, 3.447rem + 1.29vw, 5rem);

    .hgroup {
      margin: 0 0 15px;
      display: flex;
      align-items: center;

      @media (max-width: 767px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .treatment_name {
        /* 18px-25px:375px-1920px */
        font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
        font-weight: 600;
        display: flex;
        align-items: baseline;
        gap: 10px;
        margin: 0;
        color: #fff;

        @media (max-width: 767px) {
          gap: 5px;
        }

        &::before {
          content: "";
          display: block;
          width: 0;
          height: 0;
          border-left: 11px solid transparent;
          border-right: 11px solid transparent;
          border-top: 19px solid #C7B342;

          @media (max-width: 767px) {
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 15px solid #C7B342;
          }
        }
      }

      .btn {
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        background-color: #C7B342;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #00284A;
        margin-left: auto;
        padding: 6px 25px 6px 25px;
        position: relative;
        border-radius: 100px;
        font-weight: 500;

        @media (max-width: 767px) {
          margin: 0;
        }

        &::after {
          content: "";
          position: absolute;
          top: 50%;
          right: 10px;
          display: block;
          width: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
          height: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
          border: 0;
          border-top: solid 1px #00284A;
          border-left: solid 1px #00284A;
          transform: translateY(-50%) rotate(135deg);
          transition: ease-in .2s;
        }

        &:hover {
          opacity: 0.8;
        }
      }
    }

    .treatment_table {
      width: 100%;
      margin: auto;
      border-collapse: collapse;
      border-spacing: 0;
      border: 1.5px #E0E0E0 solid;

      tbody {
        tr {
          th {
            width: 185px;
            background: #414139;
            border: 1px #E0E0E0 solid;
            padding: 20px 30px;
            text-align: center;
            vertical-align: middle;
            font-weight: 500;
            line-height: 1.5;
            /* 15px-17px:375px-1920px */
            font-size: clamp(0.938rem, 0.907rem + 0.13vw, 1.063rem);
            color: #fff;

            @media (max-width: 767px) {
              display: block;
              width: 100%;
              padding: 10px 20px;
              border-bottom: none;
            }
          }

          td {
            padding: 20px 30px;
            border: 1px #E0E0E0 solid;
            text-align: left;
            vertical-align: middle;
            line-height: 1.5;
            /* 14px-16px:375px-1920px */
            font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
            color: #fff;

            @media (max-width: 767px) {
              display: block;
              width: 100%;
              padding: 20px;
              border-top: none;
            }
          }
        }
      }
    }
  }
}

/*--------------------------
乳腺セカンドオピニオン外来
--------------------------*/
.page_mammary-second-opinion.body_b {
  background: #222E39;

  .page_title {
    background: #18222B;
    /* 20px-40px:375px-1920px */
    padding: clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);
    height: auto;
  }

  main {
    padding-bottom: 0;

    .sec_ttl {
      /* 22px-30px:375px-1920px */
      font-size: clamp(1.375rem, 1.254rem + 0.52vw, 1.875rem);
      /* 30px-40px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      /* 10px-20px:375px-1920px */
      padding: clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem) 0;
      text-align: center;
      color: #fff;
      font-weight: 600;
      border-top: 1px #C7B342 solid;
      border-bottom: 1px #C7B342 solid;
    }

    .sec_ttl_underline {
      color: #C7B342;
      border-bottom: 1px #C7B342 solid;
      /* 18px-25px:375px-1920px */
      font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
      margin: 0 0 20px;
      padding-bottom: 6px;
      font-weight: 600;
    }

    .txt {
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      line-height: 2;
      margin: 0;
      color: #fff;
    }

    .notes {
      /* 12px-14px:375px-1920px */
      font-size: clamp(0.75rem, 0.72rem + 0.13vw, 0.875rem);
      color: #fff;
    }

    .list_circle {
      &>li {
        font-weight: normal;
      }
    }

    .num_list {
      &>li {
        .list_circle {
          &>li {
            font-weight: normal;
          }
        }
      }
    }
  }

  .mso_about {
    /* 60px-120px:375px-1920px */
    margin-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);

    .img {
      max-width: 500px;
      width: 90%;
      /* 30px-40px:375px-1920px */
      margin: 0 auto clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      border-radius: 20px;
      overflow: hidden;

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      img {
        width: 100%;
      }
    }
  }

  .mso_doctor {
    /* 60px-100px:375px-1920px */
    padding-bottom: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);

    .video {
      width: 100%;
      /* 30px-40px:375px-1920px */
      margin-top: clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);
      margin-bottom: 30px;

      video {
        width: 100%;
      }
    }

    .message {
      margin-bottom: 40px;

      .name_area {
        display: grid;
        width: fit-content;
        margin-left: auto;
        grid-template-columns: 1fr auto;
        column-gap: 10px;

        .specialty {
          grid-column: 1 / 3;
          grid-row: 1;
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          color: #fff;
          /* 5px-12px:375px-1920px */
          margin: 0 0 clamp(0.313rem, 0.206rem + 0.45vw, 0.75rem);
          padding: 0;
          background-color: transparent;
        }

        .name {
          grid-column: 1;
          grid-row: 2;
          /* 18px-25px:375px-1920px */
          font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
          font-weight: 600;
          color: #fff;
          margin: 0;
          margin-left: auto;
        }

        .name_en {
          grid-column: 2;
          grid-row: 2;
          align-self: flex-end;
          /* 12px-16px:375px-1920px */
          font-size: clamp(0.75rem, 0.689rem + 0.26vw, 1rem);
          font-family: var(--font-en);
          font-weight: 600;
          color: #C7B342;
          margin: 0;
        }
      }
    }

    .profile {
      .history_dl {
        background-color: #2b3641;
        border-radius: 20px;
        display: flex;
        flex-wrap: wrap;
        /* 10px-30px:375px-1920px */
        /* 20px-60px:375px-1920px */
        padding: clamp(0.625rem, 0.322rem + 1.29vw, 1.875rem) clamp(1.25rem, 0.643rem + 2.59vw, 3.75rem);

        @media (max-width: 767px) {
          border-radius: 10px;
        }

        dt {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          font-weight: 600;
          color: #C7B342;
          width: 210px;
          margin: 5px 0;

          @media (max-width: 767px) {
            width: 100%;
            margin: 10px 0;
          }
        }

        dd {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          width: calc(100% - 210px);
          margin: 5px 0;
          color: #fff;

          @media (max-width: 767px) {
            width: 100%;
            margin: -5px 0 10px;
          }
        }
      }

      &+.profile {
        /* 40px-60px:375px-1920px */
        margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
      }
    }
  }

  .bg_blue {
    background-color: #2b3641;
    padding-top: 40px;
    /* 60px-120px:375px-1920px */
    padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  }

  .bg_light_blue {
    /* 60px-100px:375px-1920px */
    margin-top: clamp(3.75rem, 3.143rem + 2.59vw, 6.25rem);
    /* 60px-120px:375px-1920px */
    padding-bottom: clamp(3.75rem, 2.84rem + 3.88vw, 7.5rem);
  }

  .mso_target {
    .list_check {
      /* 30px-40px:375px-1920px */
      margin: 0 0 clamp(1.875rem, 1.723rem + 0.65vw, 2.5rem);

      &.wrap {
        background-color: #414139;
        border: 1px #C7B342 solid;
        border-radius: 10px;
        padding: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 60px;

        @media (max-width: 767px) {
          padding: 20px;
          gap: 10px;
          flex-direction: column;
        }

        &>li {
          margin-top: 0;
          /* 16px-20px:375px-1920px */
          font-size: clamp(1rem, 0.939rem + 0.26vw, 1.25rem);

          &::before {
            /* 20px-24px:375px-1920px */
            width: clamp(1.25rem, 1.189rem + 0.26vw, 1.5rem);
            height: clamp(1.25rem, 1.189rem + 0.26vw, 1.5rem);
            background-image: url(../img/icon_check_b.svg);
          }
        }
      }
    }

    .mso_target_cta {
      margin-top: 40px;

      .ttl {
        /* 18px-25px:375px-1920px */
        font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
        /* 10px-20px:375px-1920px */
        margin: 0 auto clamp(0.625rem, 0.473rem + 0.65vw, 1.25rem);
        color: #C7B342;
        font-weight: 600;
        width: fit-content;
        position: relative;

        &::before,
        &::after {
          content: "";
          position: absolute;
          top: 50%;
          width: 30px;
          height: 1px;
          background-color: #C7B342;
        }

        @media (max-width: 767px) {

          &::before,
          &::after {
            width: 15px;
          }
        }

        &::before {
          left: -40px;
        }

        @media (max-width: 767px) {
          &::before {
            left: -20px;
          }
        }

        &::after {
          right: -40px;
        }

        @media (max-width: 767px) {
          &::after {
            right: -20px;
          }
        }
      }

      .read {
        /* 16px-22px:375px-1920px */
        font-size: clamp(1rem, 0.909rem + 0.39vw, 1.375rem);
        font-weight: 600;
        text-align: center;
        color: #fff;
      }

      .btn {
        margin-bottom: 30px;

        a {
          position: relative;
          border-radius: 20px;
          background-color: #C7B342;
          color: #222E39;
          /* 14px-25px:375px-1920px */
          font-size: clamp(0.875rem, 0.708rem + 0.71vw, 1.563rem);
          font-weight: 600;
          display: flex;
          justify-content: center;
          align-items: center;
          /* 54px-78px:375px-1920px */
          height: clamp(3.375rem, 3.011rem + 1.55vw, 4.875rem);
          /* 5px-25px:375px-1920px */
          margin: 0 auto clamp(0.313rem, 0.009rem + 1.29vw, 1.563rem);
          max-width: 745px;
          width: 100%;

          @media (max-width: 767px) {
            border-radius: 10px;
          }

          &::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 20px;
            display: block;
            /* 6px-8px:375px-1920px */
            width: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
            height: clamp(0.375rem, 0.345rem + 0.13vw, 0.5rem);
            border: 0;
            border-top: solid 2px #222E39;
            border-left: solid 2px #222E39;
            transform: translateY(-50%) rotate(135deg);
            transition: ease-in.2s;
          }

          @media (max-width: 767px) {
            &::after {
              right: 10px;
              border-top: solid 2px #222E39;
              border-left: solid 2px #222E39;
            }
          }

          &:hover {
            opacity: 0.8;
          }
        }
      }

      .tel_area {
        display: flex;
        align-items: center;
        justify-content: center;

        @media (max-width: 767px) {
          display: grid;
        }

        .sub {
          display: inline-block;
          border: 1px #fff solid;
          border-radius: 4px;
          margin-right: 15px;
          padding: 3px 15px 4px;
          font-weight: 600;
          color: #fff;

          @media (max-width: 767px) {
            grid-column: 1 / 3;
            grid-row: 1;
            width: max-content;
            margin: 0 auto 10px;
          }
        }

        a {
          /* 24px-40px:375px-1920px */
          font-size: clamp(1.5rem, 1.257rem + 1.04vw, 2.5rem);
          font-weight: 600;
          line-height: 1;

          @media (max-width: 767px) {
            grid-column: 1;
            grid-row: 2;
          }

          &::before {
            content: "";
            background: url("../img/icon_tel_frame_white.svg") center center / contain no-repeat;
            /* 20px-32px:375px-1920px */
            width: clamp(1.25rem, 1.068rem + 0.78vw, 2rem);
            height: clamp(1.25rem, 1.068rem + 0.78vw, 2rem);
            display: inline-block;
            margin-right: 5px;
          }
        }

        small {
          /* 14px-16px:375px-1920px */
          font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
          font-weight: 600;
          align-self: flex-end;
          color: #fff;

          @media (max-width: 767px) {
            grid-column: 2;
            grid-row: 2;
          }
        }
      }

      .notes {
        margin-top: 20px;
        text-align: center;

        @media (max-width: 767px) {
          text-align: left;
        }
      }
    }
  }

  .mso_detail {
    .list_circle {
      /* 40px-60px:375px-1920px */
      margin-bottom: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
    }

    .attention_box {
      background-color: #2b3641;
      border-radius: 20px;
      /* 20px-40px:375px-1920px */
      padding: 30px clamp(1.25rem, 0.947rem + 1.29vw, 2.5rem);

      @media (max-width: 767px) {
        border-radius: 10px;
      }

      .sec_ttl_underline {
        text-align: center;
        padding-bottom: 20px;
        color: #fff;
        border-bottom-color: #76ADCB;
      }

      .list_circle {
        margin-bottom: 10px;

        &>li {
          &::before {
            color: #76ADCB;
          }
        }
      }
    }
  }

  .mso_data {
    .num_list {
      &>li {
        .txt {
          font-weight: normal;
          color: initial;
          margin: 20px 0 0;
          color: #fff;
        }

        .notes {
          font-weight: normal;
          color: initial;
          margin: 20px 0 0;
          color: #fff;
        }

        .list_circle {
          &>li {
            a {
              text-decoration: underline;
              display: inline-block;
              margin-left: 10px;
              color: #c7b342;
              font-weight: 600;

              &:hover {
                text-decoration: none;
              }
            }

            small {
              @media (max-width: 767px) {
                display: block;
              }
            }
          }
        }
      }
    }

    .num_list {
      &>li {
        color: #c7b342;

        &::before {
          background-color: #c7b342;
          color: #222e39;
        }
      }
    }
  }

  .mso_reservation {
    .txt {
      margin: 20px 0;
    }

    .sec_ttl_underline {
      /* 40px-60px:375px-1920px */
      margin-top: clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);
    }
  }

  .mso_flow {
    .flow_list {
      list-style: none;
      margin: 0;
      padding: 0;
      counter-reset: number 0;

      &>li {
        display: flex;
        gap: 20px;
        position: relative;
        /* 30px-50px:375px-1920px */
        padding: clamp(1.875rem, 1.572rem + 1.29vw, 3.125rem) 0;

        &::before {
          counter-increment: number 1;
          content: counter(number, decimal-leading-zero);
          color: #c7b342;
          font-family: var(--font-en);
          /* 40px-61px:375px-1920px */
          font-size: clamp(2.5rem, 2.181rem + 1.36vw, 3.813rem);
          flex-shrink: 0;
          line-height: 1;
        }

        a {
          color: #c7b342;
          text-decoration: underline;
          font-weight: 500;

          &:hover {
            text-decoration: none;
          }
        }

        &+li {
          border-top: 1px #c7b342 solid;

          &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            border-left: 30px solid transparent;
            border-right: 30px solid transparent;
            border-top: 18px solid #c7b342;
          }
        }
      }
    }
  }
}

.page_recruit {
  main {
    .txt {
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      line-height: 2;
      margin: 0;
      text-align: center;

      a {
        color: var(--text-color);
        font-weight: 500;
      }
    }
  }
}

.page_privacypolicy,
.page_online-consultation-terms {
  main {
    .ttl {
      color: #166189;
      border-bottom: 1px #166189 solid;
      /* 18px-25px:375px-1920px */
      font-size: clamp(1.125rem, 1.019rem + 0.45vw, 1.563rem);
      margin: 0 0 20px;
      padding-bottom: 6px;
      font-weight: 600;
    }

    .txt {
      /* 14px-16px:375px-1920px */
      font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
      line-height: 2;
      margin: 0 0 clamp(2.5rem, 2.197rem + 1.29vw, 3.75rem);

      &:last-child {
        margin-bottom: 0;
      }

      a {
        color: #166189;
        text-decoration: underline;
        font-weight: 500;

        &:hover {
          text-decoration: none;
        }
      }
    }
  }
}

.page_commerce {
  .commerce_table {
    width: 100%;

    tr {
      border: 1px #166189 solid;

      th {
        padding: 10px 20px;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);
        font-weight: 600;
        color: #166189;
        background-color: #E6EFF4;

        @media (max-width: 767px) {
          display: block;
          width: 100%;
        }
      }

      td {
        padding: 20px;
        /* 14px-16px:375px-1920px */
        font-size: clamp(0.875rem, 0.845rem + 0.13vw, 1rem);

        @media (max-width: 767px) {
          padding: 15px 20px;
          display: block;
          width: 100%;
        }
      }
    }
  }
}

.inspection_table {
  width: 100%;
  /* table-layout: fixed; */
  outline: 1px #166189 solid;
  outline-offset: -1px;

  @media (max-width: 767px) {
    width: 700px;
  }

  thead {
    th {
      background-color: #166189;
      font-weight: 500;
      font-size: clamp(14px, 13.515px + 0.129vw, 16px);
      color: #fff;
      border: 1px #D5DEE3 solid;
      padding: clamp(8px, 7.515px + 0.129vw, 10px);

      &:first-child {
        width: 240px;

        @media (max-width: 767px) {
          width: 150px;
        }
      }
    }
  }

  tbody {
    th {
      background-color: #F5F8FA;
      font-weight: 500;
      font-size: clamp(14px, 13.515px + 0.129vw, 16px);
      border: 1px #D5DEE3 solid;
      padding: clamp(8px, 7.515px + 0.129vw, 10px);

      small {
        font-size: clamp(12px, 11.515px + 0.129vw, 14px);
        display: inline-block;
      }

      &.time {
        @media (max-width: 767px) {
          font-size: 10px;
        }
      }
    }

    td {
      font-size: 18px;
      border: 1px #D5DEE3 solid;
      padding: clamp(8px, 7.515px + 0.129vw, 10px);
      text-align: center;
      color: #166189;
      font-weight: 500;
      font-size: clamp(14px, 13.515px + 0.129vw, 16px);
      width: 110px;

      @media (max-width: 767px) {
        width: 90px;
      }

      &.on {
        font-weight: bold;
        font-size: clamp(18px, 17.515px + 0.129vw, 20px);
      }
    }
  }
}
.inspection_table_notes {
  font-size: clamp(12px, 11.515px + 0.129vw, 14px);
  margin: 15px 0 0;
}