@charset "utf-8";

:root {
  --font-shippori: 'Shippori Mincho', serif;
  --pink: #e57285;
  --brown: #5E371C;
}

.under #mainimage {
  margin-top: 70px;

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

header {
  * {
    letter-spacing: 0;
  }

  a {
    transition: ease-in .2s;
  }

  a:hover {
    text-decoration: none;
  }

  .header__inner {
    display: flex;
    align-items: center;
    background-color: #FBF3F4;

    @media (max-width: 1023px) {
      height: 50px;
    }

    .header__logo {
      width: clamp(140px, 125.437px + 3.883vw, 200px);
      margin-right: auto;
      margin-left: 2.08vw;
    }

    .header__g-nav {
      margin-right: 3.13vw;

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

      .header__g-nav-list {
        display: flex;
        gap: 3.13vw;

        .header__g-nav-item {

          &>a,
          &>span {
            font-family: var(--font-shippori);
            font-weight: 600;
            font-size: 16px;
            letter-spacing: 0;
            display: flex;
            align-items: center;
            height: 70px;
          }

          &>a:hover,
          &>span:hover {
            text-decoration: none;
            color: var(--pink);
          }

          span:hover {
            cursor: default;
          }
        }
      }
    }

    .header__cta {
      @media (max-width: 1023px) {
        display: none;
      }
    }
  }
}

/* ハンバーガーメニューが開いているとき */
header.active {
  .header-inner {
    position: fixed;
    background-color: transparent;
    border-bottom: none;
    justify-content: flex-end;

    .g-nav__logo,
    .g-nav {
      display: none;
    }
  }

  .hamburger {
    display: flex;

    @media (min-width: 1024px) {
      display: none
    }

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

.header__cta {
  display: flex;

  .header__cta-btn {
    a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 180px;
      height: 70px;
      font-family: var(--font-shippori);
      font-weight: 600;
      font-size: 20px;
      color: #fff;
      line-height: 1;
      transition: ease-in .2s;

      @media (max-width: 1023px) {
        height: 55px;
      }
    }

    a:hover {
      color: #fff;
      filter: brightness(1.1);
    }
  }

  .btn-web {
    a {
      background-color: var(--pink);

      &::before {
        content: "";
        background: url("../asset/icon-web.svg") center center / contain no-repeat;
        width: 22px;
        height: 20px;
        margin-bottom: -2px;
      }
    }
  }

  .btn-tel {
    a {
      background-color: var(--brown);

      &::before {
        content: "";
        background: url("../asset/icon-tel.svg") center center / contain no-repeat;
        width: 16px;
        height: 20px;
        margin-bottom: -2px;
      }
    }
  }
}

.header__cta.sp-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  @media (max-width: 1023px) {
    display: flex;
  }

  .header__cta-btn {
    width: 50%;

    a {
      width: 100%;
      letter-spacing: 0;
    }

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

/* ハンバーガー */
.header__hamburger {
  display: none;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: var(--pink);
  justify-content: center;
  align-items: center;
  cursor: pointer;

  @media (max-width: 1023px) {
    display: flex;
    width: 50px;
    height: 50px;
  }

  .hamburger_lines {
    position: relative;
    width: 55%;
    margin: auto;
    height: 15px;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;

    .line {
      position: absolute;
      right: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 1px;
      margin: auto;
      background-color: #fff;
      transition: all 0.3s ease;
    }

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

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

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

/*--- トップページのときだけheaderをbottomに固定する処理 ---*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(var(--header-y, 0px));
  opacity: var(--header-o, 1);
  transition: transform .28s ease, opacity .28s ease;
}

#header.no-trans {
  transition: none !important;
}

#header.is-top {
  --header-y: 0px;
  --header-o: 1;
}

#header.is-bottom {
  --header-y: var(--header-bottom-y, 0px);
  --header-o: 1;

  .has-dropdown {
    .dropdown {
      top: inherit;
      bottom: 100%;
    }
  }
}

#header.is-hide-up {
  --header-y: -110%;
  --header-o: 0;
}

#header.is-hide-down {
  --header-y: calc(var(--header-bottom-y, 0px) + 110%);
  --header-o: 0;
}

#header.is-prep-top {
  --header-y: -110%;
  --header-o: 1;
}

#header.is-prep-bottom {
  --header-y: calc(var(--header-bottom-y, 0px) + 110%);
  --header-o: 1;
}

@media (prefers-reduced-motion: reduce) {
  #header {
    transition: none;
  }
}

html.top #header,
body.top #header {
  visibility: hidden;
}

html.hdr-ready #header,
body.hdr-ready #header {
  visibility: visible;
}

/*--- ドロップダウン ---*/
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  background: rgba(251, 243, 244, 0.85);
  padding: 2.08vw;

  .dropdown__inner {
    width: fit-content;
    margin: 0 auto;

    .dropdown__title {
      font-family: var(--font-shippori);
      font-weight: 600;
      font-size: 20px;
      color: var(--pink);
      margin: 0 0 20px;
    }

    .dropdown__list {
      display: flex;
      gap: 2.08vw;
      line-height: 1;

      .dropdown__item {
        &>a {
          font-size: 15px;
          letter-spacing: 0;

          &::before {
            content: "";
            background: url("data:image/svg+xml,%3Csvg width='9' height='10' viewBox='0 0 9 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 4.76318L5.05058e-07 9.52632L9.21465e-07 4.35084e-05L8.25 4.76318Z' fill='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
            width: 11px;
            height: 11px;
            display: inline-block;
            margin-right: 5px;
          }
        }

        &>a:hover {
          text-decoration: none;
          color: var(--pink);
        }
      }
    }
  }
}

.dropdown-menu {
  .dropdown__inner {
    display: flex;
    gap: 4.17vw;

    .dropdown__list {
      flex-direction: column;
      gap: 20px;
    }
  }
}

.has-dropdown:hover {
  .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

/*--- ハンバーガー中身 ---*/
.hamburger {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 100px);
  height: auto;
  background-color: #fff;
  z-index: 103;
  overflow-y: scroll;
  overscroll-behavior: none;
  padding-bottom: 60px;

  .hamburger__inner {
    width: 86%;
    margin: 0 auto;
    padding: 40px 0 50px;

    .hamburger__nav-list {
      .hamburger__nav-item {
        line-height: 1.2;

        &>a,
        &>span {
          position: relative;
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: 20px;
          color: var(--brown);
          border-bottom: 1px var(--pink) solid;
          width: 100%;
          display: block;
          padding-bottom: 10px;

          &::after {
            content: "";
            position: absolute;
            top: 40%;
            right: 0;
            background: url("data:image/svg+xml,%3Csvg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.342773 0.364105L8.84277 8.3641L17.3428 0.364106' stroke='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
            width: 17px;
            height: 8px;
          }
        }

        .hamburger__accordion {
          padding-top: 30px;

          .hamburger__accordion-title {
            font-family: var(--font-shippori);
            font-weight: 500;
            font-size: 18px;
            line-height: 1.2;
            color: var(--pink);
            margin: 0 0 20px;
          }
        }

        .hamburger__sub-nav-list {
          .hamburger__sub-nav-item {

            &>a,
            &>span {
              position: relative;
              font-weight: 300;
              font-size: 15px;
              padding-left: 16px;
              display: block;

              &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 2px;
                background: url("data:image/svg+xml,%3Csvg width='9' height='10' viewBox='0 0 9 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 4.76318L5.05058e-07 9.52632L9.21465e-07 4.35084e-05L8.25 4.76318Z' fill='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
                width: 11px;
                height: 11px;
                display: inline-block;
                margin-right: 5px;
              }
            }
          }

          .hamburger__sub-nav-item+.hamburger__sub-nav-item {
            margin-top: 20px;
          }
        }

        .hamburger__sub-nav-list+.hamburger__accordion-title {
          margin-top: 40px;
        }
      }

      .hamburger__nav-item.show {
        &>span {
          &::after {
            transform: rotate(-180deg);
          }
        }
      }

      .hamburger__nav-item+.hamburger__nav-item {
        margin-top: 40px;
      }
    }
  }

  .hamburger__online-banner {
    width: 90%;
    margin: 0 auto;
  }
}

/*--- ファーストビュー ---*/
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
  opacity: 0;
  animation: heroFadeIn 2s ease-out 0.2s forwards;

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

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

  .hero__online-banner {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 240px;

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

    a {
      transition: ease-in .2s;
    }

    a:hover {
      filter: brightness(1.1);
    }
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*--- ファーストビュー ---*/
.menu_title {
  .title_area {
    margin-bottom: clamp(30px, 27.573px + 0.647vw, 40px);
  }

  .menu_title__inner {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
  }

  .menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.08vw 2.6vw;

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

    .menu__item {
      width: calc((100% - 10.4vw) / 5);

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

      a {
        display: block;
        color: var(--brown);
        transition: ease-in .2s;
        text-align: center;

        .menu__label-ja {
          font-family: var(--font-shippori);
          font-weight: 500;
          font-size: clamp(14px, 12.544px + 0.388vw, 20px);
          line-height: 1.2;
          letter-spacing: 0;
          margin: clamp(10px, 8.786px + 0.324vw, 15px) 0 0;

          small {
            display: block;
            font-size: clamp(11px, 10.272px + 0.194vw, 14px);
            letter-spacing: 0;
          }
        }

        .menu__label-en {
          font-family: var(--font-shippori);
          font-weight: 500;
          color: #B08960;
          font-size: clamp(8px, 7.029px + 0.259vw, 12px);
          line-height: 1.2;
          letter-spacing: 0;
          margin: 5px 0 0;
        }
      }

      a:hover {
        color: var(--brown);
        text-decoration: none;
        opacity: 0.8;
      }
    }
  }
}

/*--------------------
タブ
--------------------*/
.tab {
  .tab__button-area {
    .tab__button {
      cursor: pointer;
      /* transition: ease-in .2s; */
    }
  }

  .tab__panel-area {
    .tab__panel {
      height: 0;
      opacity: 0;
      overflow: hidden;
      transition: opacity 0.4s ease;

      &.show {
        height: auto;
        opacity: 1;
      }
    }
  }
}

/* 当院についてページ */
.page-id-37 {
  .flow-tab {
    margin-bottom: clamp(60px, 50.291px + 2.589vw, 100px);

    .flow-tab__button-area {
      display: flex;
      gap: 30px;
      max-width: 900px;
      width: 100%;
      margin: 0 auto clamp(30px, 27.573px + 0.647vw, 40px);

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

      .flow-tab__button {
        position: relative;
        display: block;
        width: calc((100% - 30px) / 2);
        padding: 15px;
        border: 2px solid #F5F2EF;
        border-radius: 10px;
        background-color: #F5F2EF;
        font-family: var(--font-shippori);
        font-weight: 600;
        font-size: clamp(18px, 15.573px + 0.647vw, 28px);
        letter-spacing: 0.3em;
        line-height: 1.6;
        color: var(--brown);
        text-align: center;

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

        &::after {
          content: "";
          position: absolute;
          left: 50%;
          bottom: -8px;
          width: 14px;
          height: 14px;
          background-color: #FBF3F4;
          border: 2px solid var(--pink);
          border-top: none;
          border-left: none;
          transform: translateX(-50%) rotate(45deg);
          box-sizing: border-box;
          opacity: 0;
        }
      }

      .flow-tab__button.active,
      .flow-tab__button:hover {
        border: 2px solid var(--pink);
        background-color: #FBF3F4;

        &::after {
          opacity: 1;
        }
      }

      .flow-tab__button.button-re.active,
      .flow-tab__button.button-re:hover {
        border-color: #E3A96C;
        background-color: #F9F3EE;

        &::after {
          border-color: #E3A96C;
        }
      }
    }

    .flow__list {
      .flow__item {
        position: relative;
        background-color: #FBF3F4;
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 0 40px;
        padding: 40px 50px 40px 80px;

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

        .flow__num {
          position: absolute;
          left: 0;
          top: 0;
          width: clamp(40px, 37.573px + 0.647vw, 50px);
          height: clamp(40px, 37.573px + 0.647vw, 50px);
          background-color: var(--pink);
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-family: var(--font-shippori);
          font-weight: 500;
          font-size: clamp(25px, 22.573px + 0.647vw, 35px);
          margin: 0;
          border-radius: 0 0 10px 0;
        }

        .flow__title {
          grid-column: 2;
          grid-row: 1;
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: clamp(18px, 16.301px + 0.453vw, 25px);
          color: var(--brown);
          letter-spacing: 0.3em;
          line-height: 1.2;
          margin: auto 0 clamp(20px, 17.573px + 0.647vw, 30px);

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

        .flow__img {
          grid-column: 1;
          grid-row: 1 / 3;
          align-self: center;

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

        .flow__text {
          grid-column: 2;
          grid-row: 2;
          margin: 0;

          .text-base {
            font-size: 15px;
            line-height: 2;
            margin-bottom: 0;
          }

          .text-small {
            font-size: 12px;
            line-height: 1.5;
            margin-top: clamp(20px, 17.573px + 0.647vw, 30px);
            margin-bottom: 0;
          }
        }
      }

      .flow__item+.flow__item {
        margin-top: 50px;

        &::before {
          content: "";
          position: absolute;
          bottom: calc(100% + 10px);
          left: 50%;
          transform: translateX(-50%);
          width: 56px;
          height: 29px;
          background: url("data:image/svg+xml,%3Csvg width='49' height='22' viewBox='0 0 49 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.2485 21.75L-0.000177389 -7.5303e-07L48.4972 3.48675e-06L24.2485 21.75Z' fill='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
        }
      }
    }

    .panel-re {
      .flow__list {
        .flow__item {
          background-color: #F9F3EE;

          .flow__num {
            background-color: #C99762;
          }
        }
      }

      .flow__item+.flow__item {
        &::before {
          background-image: url("data:image/svg+xml,%3Csvg width='49' height='22' viewBox='0 0 49 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24.2485 21.75L-0.000177389 -7.5303e-07L48.4972 3.48675e-06L24.2485 21.75Z' fill='%23C99762'/%3E%3C/svg%3E%0A");
        }
      }
    }
  }

  .mariposa-banner {
    max-width: 800px;
    width: 100%;
    margin: 0 auto clamp(60px, 50.291px + 2.589vw, 100px);

    a {
      transition: ease-in .2s;
    }

    a:hover {
      filter: brightness(1.1);
    }
  }

  /* 美容治療を検討されている方へ */
  .aesthetic-consider {
    .uninsured-title {
      font-weight: 600;
      font-size: clamp(17px, 16.757px + 0.065vw, 18px);
      color: var(--pink);
      margin: 50px 0 10px;
    }
    .uninsured-title+.ic_01 {
      margin-bottom: 50px;
    }
  }
}

/*------------------------------
メニュー詳細ページ 
------------------------------*/
.page-menu {
  .text-base {
    font-size: 15px;
    margin: 0;
  }

  .menu-detail {
    .menu-detail__main-img {
      max-width: 500px;
      width: 80%;
      margin: 0 auto clamp(30px, 27.573px + 0.647vw, 40px);
    }

    /* 原因 */
    .menu-cause {
      background-color: #F9F8F7;
      margin: clamp(20px, 17.573px + 0.647vw, 30px) 0;
      padding: 30px clamp(20px, 10.291px + 2.589vw, 60px) clamp(30px, 25.146px + 1.294vw, 50px);

      .menu-cause__title {
        text-align: center;
        margin-bottom: 25px;

        .ja {
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: clamp(22px, 20.544px + 0.388vw, 28px);
          color: var(--brown);
          letter-spacing: 0.3em;
          line-height: 1.5;
        }

        .en {
          font-family: var(--font-shippori);
          font-weight: 500;
          font-size: clamp(9px, 8.272px + 0.194vw, 12px);
          color: var(--pink);
          line-height: 1.5;
          letter-spacing: 0;
          margin: 0;
        }
      }
    }

    /* 対策 */
    .menu-treatment {
      background-color: #FBF3F4;
      margin: clamp(20px, 17.573px + 0.647vw, 30px) 0;
      padding: 30px clamp(20px, 10.291px + 2.589vw, 60px) clamp(30px, 25.146px + 1.294vw, 50px);

      .menu-treatment__title {
        text-align: center;
        margin-bottom: 25px;

        .ja {
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: clamp(22px, 20.544px + 0.388vw, 28px);
          color: var(--brown);
          letter-spacing: 0.3em;
          line-height: 1.5;
        }

        .en {
          font-family: var(--font-shippori);
          font-weight: 500;
          font-size: clamp(9px, 8.272px + 0.194vw, 12px);
          color: var(--pink);
          line-height: 1.5;
          letter-spacing: 0;
          margin: 0;
        }
      }
    }

    /* 治療法 */
    .menu-treatment-method {
      margin: clamp(40px, 35.146px + 1.294vw, 60px) 0;

      .menu-treatment-method__title {
        text-align: center;
        border: 2px var(--pink) solid;
        outline: 1px var(--pink) solid;
        outline-offset: -5px;
        padding: 20px;
        margin-bottom: clamp(30px, 27.573px + 0.647vw, 40px);

        .ja {
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: clamp(22px, 20.544px + 0.388vw, 28px);
          color: var(--brown);
          letter-spacing: 0.3em;
          line-height: 1.5;
        }

        .en {
          font-family: var(--font-shippori);
          font-weight: 500;
          font-size: clamp(9px, 8.272px + 0.194vw, 12px);
          color: var(--pink);
          line-height: 1.5;
          letter-spacing: 0;
          margin: 0;
        }
      }

      .menu-treatment-method__text {
        .float-left {
          img {
            float: left;
            width: 375px;
            margin: 0 40px 40px 0;

            @media (max-width: 767px) {
              float: none;
              width: 250px;
              margin: 0 auto 30px;
              display: block;
            }
          }
        }
      }
    }

    /* 取り扱い中のバイオ製剤 */
    .handling {
      margin: 60px 0;

      .handling__title {
        font-family: var(--font-shippori);
        font-weight: 600;
        font-size: clamp(22px, 21.515px + 0.129vw, 24px);
        color: var(--brown);
        letter-spacing: 0.3em;
        line-height: 1.5;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: clamp(30px, 27.573px + 0.647vw, 40px);

        &::before,
        &::after {
          content: "";
          height: 2px;
          flex: 1;
        }

        &::before {
          background: linear-gradient(90deg, #fff 0%, var(--pink) 100%);
        }

        &::after {
          background: linear-gradient(90deg, var(--pink) 0%, #fff 100%);
        }

        span {
          flex-shrink: 0;
          white-space: nowrap;
        }
      }

      .handling__text {
        margin: clamp(30px, 27.573px + 0.647vw, 40px) 0;
      }

      .handling__table {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;

        tbody {
          tr {
            border: 1px var(--pink) solid;

            th {
              box-sizing: border-box;
              padding: 15px;
              background-color: #FBF3F4;
              font-family: var(--font-shippori);
              font-weight: 500;
              font-size: 18px;
              width: 170px;

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

            td {
              box-sizing: border-box;
              padding: 30px;
              font-size: 15px;

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

  .menu-faq {
    margin: clamp(60px, 50.291px + 2.589vw, 100px) 0;

    .menu-faq__title {
      text-align: center;
      margin-bottom: clamp(30px, 27.573px + 0.647vw, 40px);

      .ja {
        font-family: var(--font-shippori);
        font-weight: 600;
        font-size: clamp(22px, 20.544px + 0.388vw, 28px);
        color: var(--brown);
        letter-spacing: 0.3em;
        line-height: 1.5;
      }

      .en {
        font-family: var(--font-shippori);
        font-weight: 500;
        font-size: clamp(9px, 8.272px + 0.194vw, 12px);
        color: var(--pink);
        line-height: 1.5;
        letter-spacing: 0;
        margin: 0;
      }
    }

    .menu-faq__list {
      .menu-faq__item {
        .faq-q {
          position: relative;
          background-color: #F9F3EE;
          font-family: var(--font-shippori);
          font-weight: 600;
          font-size: clamp(16px, 15.515px + 0.129vw, 18px);
          color: var(--brown);
          line-height: 1.5;
          padding: clamp(20px, 17.573px + 0.647vw, 30px) clamp(55px, 51.359px + 0.971vw, 70px);
          margin: 0;
          border-bottom: 1px #B08960 solid;
          cursor: pointer;

          &::before {
            content: "Q.";
            position: absolute;
            top: 50%;
            left: clamp(15px, 11.359px + 0.971vw, 30px);
            transform: translateY(-50%);
            font-family: var(--font-shippori);
            font-weight: 600;
            font-size: 28px;
            line-height: 1;
            color: #B08960;
          }

          &::after {
            content: "";
            position: absolute;
            top: 45%;
            right: 20px;
            transform: rotate(180deg);
            background: url("data:image/svg+xml,%3Csvg width='18' height='15' viewBox='0 0 18 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.66016 0L17.3204 15L-9.72748e-05 15L8.66016 0Z' fill='%23B08960'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
            width: clamp(15px, 13.786px + 0.324vw, 20px);
            height: clamp(15px, 13.786px + 0.324vw, 20px);
          }
        }

        .faq-q.show {
          &::after {
            transform: rotate(0);
          }
        }

        .faq-a {
          display: none;
          position: relative;
          background-color: #FBFAF9;
          margin: 20px 0 0;
          padding: 30px 40px clamp(20px, 17.573px + 0.647vw, 30px) clamp(55px, 51.359px + 0.971vw, 70px);

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

          &::before {
            content: "A.";
            position: absolute;
            top: clamp(30px, 27.573px + 0.647vw, 40px);
            left: clamp(15px, 11.359px + 0.971vw, 30px);
            font-family: var(--font-shippori);
            font-weight: 600;
            font-size: 28px;
            line-height: 1;
            color: var(--pink);
          }
        }
      }

      .menu-faq__item+.menu-faq__item {
        margin-top: clamp(30px, 27.573px + 0.647vw, 40px);
      }
    }
  }
}

/*------------------------------
お薬・化粧品
------------------------------*/
.page-drug_and_cosmetic {
  padding-bottom: clamp(60px, 50.291px + 2.589vw, 100px);

  .cosme-index {
    .cosme-index__list {
      display: flex;
      flex-wrap: wrap;
      gap: 20px 40px;
      background-color: #FBF3F4;
      padding: clamp(30px, 25.146px + 1.294vw, 50px) clamp(20px, 12.718px + 1.942vw, 50px);

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

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

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

        a {
          position: relative;
          padding-left: 15px;
          font-size: 15px;
          line-height: 1.5;
          display: inline-block;

          &::before {
            content: "";
            position: absolute;
            top: 0.25rem;
            left: 0;
            background: url("data:image/svg+xml,%3Csvg width='9' height='10' viewBox='0 0 9 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 4.76314L5.05058e-07 9.52628L9.21465e-07 -2.26797e-06L8.25 4.76314Z' fill='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
            width: 11px;
            height: 11px;
          }
        }
      }
    }
  }

  .cosme-catalog {
    margin-top: clamp(60px, 55.146px + 1.294vw, 80px);

    .cosme-catalog__list {
      .cosme-catalog__item {
        .cosme-catalog__head {
          border-bottom: 1px var(--pink) solid;
          padding-bottom: 20px;
          margin-bottom: 40px;

          .cosme-catalog__category {
            font-family: var(--font-shippori);
            font-weight: 600;
            font-size: clamp(14px, 12.544px + 0.388vw, 20px);
            line-height: 1.5;
            color: var(--pink);
            margin: 0;
          }

          .cosme-catalog__title {
            font-family: var(--font-shippori);
            font-weight: 600;
            font-size: clamp(22px, 20.544px + 0.388vw, 28px);
            line-height: 1.5;
            color: var(--brown);
            margin: 0;
          }
        }

        .cosme-catalog__contents {
          display: grid;
          grid-template-rows: auto 1fr;
          gap: 40px;

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

          /* 画像がないとき */
          &:not(:has(.cosme-catalog__img)) {
            grid-template-columns: 1fr;

            .cosme-catalog__text {
              grid-column: 1 / -1;
            }
          }

          /* ボタンがないとき */
          &:not(:has(.cosme-catalog__btn)) {
            grid-template-rows: 1fr;
          }

          .cosme-catalog__img {
            grid-column: 1;
            grid-row: 1 / -1;
            width: 240px;
          }

          .cosme-catalog__text {
            grid-column: 2;
            font-size: 15px;
            margin: 0;
          }

          .cosme-catalog__btn {
            justify-self: flex-end;

            a {
              font-family: var(--font-shippori);
              font-weight: 600;
              font-size: clamp(16px, 15.029px + 0.259vw, 20px);
              display: block;
              background-color: var(--pink);
              color: #fff;
              line-height: 1;
              padding: clamp(15px, 13.786px + 0.324vw, 20px) clamp(40px, 42.427px + -0.647vw, 30px);
              border-radius: 10px;
              transition: ease-in .2s;
            }

            a:hover {
              text-decoration: none;
              filter: brightness(1.1);
            }
          }
        }
      }

      .cosme-catalog__item+.cosme-catalog__item {
        margin-top: 60px;
      }
    }
  }

  .other-cosme {
    margin-top: clamp(60px, 50.291px + 2.589vw, 100px);

    .other-cosme__title {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: clamp(7px, 6.029px + 0.259vw, 11px);
      font-family: var(--font-shippori);
      font-weight: 600;
      font-size: clamp(15px, 12.573px + 0.647vw, 25px);
      color: var(--brown);
      margin: 0 0 clamp(20px, 17.573px + 0.647vw, 30px);
      text-align: center;
      line-height: 1.5;

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

      &::before,
      &::after {
        content: "";
        background: url("data:image/svg+xml,%3Csvg width='22' height='19' viewBox='0 0 22 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8252 18.75L-0.000121802 1.31815e-07L21.6505 -1.76094e-06L10.8252 18.75Z' fill='%23E57285'/%3E%3C/svg%3E%0A") center center / contain no-repeat;
        width: clamp(15px, 12.573px + 0.647vw, 25px);
        height: clamp(15px, 12.573px + 0.647vw, 25px);
        display: block;
      }

      @media (max-width: 767px) {

        &::before,
        &::after {
          margin-bottom: 5px;
        }
      }
    }

    .other-cosme__banner {
      display: block;
      width: 100%;
      max-width: 800px;
      margin: 0 auto;
      transition: ease-in .2s;
    }

    .other-cosme__banner:hover {
      filter: brightness(1.1);
    }
  }
}