/*=========================
  Common
=========================*/
/* font define */
.font-libre {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-style: normal;
}
.font-noto-sans {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
}
.font-mincho {
  font-family: 'Zen Old Mincho', system-ui;
  font-weight: 400;
  font-style: normal;
}
.font-garamond {
  font-family: 'EB Garamond', system-ui;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-style: normal;
}

.en {
  font-family: 'EB Garamond', system-ui;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* color */
:root {
  --purple: #7076b4;
  --gold: #e6b422;
  --navy: #000538;
  --text-color: #2c363c;
}
.purple {
  color: var(--purple);
}
.gold {
  color: var(--gold);
}
.navy {
  color: var(--navy);
}

/* common variables */
:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
@media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 90px;
  }
}
body {
  font-family: 'Zen Old Mincho', system-ui;
  font-weight: 400;
  color: #2c363c;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
}
a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.5;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  line-height: 2;
  text-align: justify;
  /* @media (max-width: 960px) {
    font-size: 0.9rem;
  } */
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial !important;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  /* --bg-color: pink;
  --color: #333333;
  background-color: var(--bg-color);
  color: var(--color); */
  padding: 0.5rem 1rem;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* font-size: 1.25rem; */
  /* font-weight: bold; */
  position: relative;
  .icon {
    margin-right: 0.5rem;
  }
  @media (any-hover: hover) {
    /* &:hover {
      opacity: 1;
      background-color: color-mix(in srgb, var(--bg-color), white 25%);
      color: color-mix(in srgb, var(--color), white 25%);
    } */
    &::before {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

/*=========================
  header
=========================*/
header {
  position: absolute;
  z-index: 5;
  top: 0;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  .logo-group {
    margin-left: 1rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 0.5);
    .logo1 {
      font-size: 1.25rem;
	  color: #000538;
    }
    .logo2 {
      font-size: 1.75rem;
	  color: #000538;
    }
    .logo3 {
      font-size: 3rem;
	  color: #000538;
    }
  }
  .buttons {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: auto;
    .button {
      flex-direction: column;
      justify-content: space-between;
      .row1 {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
      }
      .row2 {
        font-size: 1.75rem;
      }
    }
    .tel {
      background-color: #ffffff;
      color: #000538;
      .row1 {
        border-bottom: 1px solid #000538;
        padding-bottom: 0.5rem;
        width: 100%;
      }
    }
    .web {
      background: url(../img/button-web-bg.jpg) no-repeat;
      background-size: cover;
      background-position: center;
    }
    .instagram {
      background: linear-gradient(135deg, rgba(255, 164, 19, 1) 0%, rgba(254, 80, 66, 1) 50%, rgba(253, 0, 110, 1) 100%);
      .row2 {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .icon {
        margin: auto;
        width: 30px;
      }
    }
  }
  .sp-hamburger {
    display: none;
    position: relative;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;
    width: min(20vw, 90px);
    height: fit-content;
    aspect-ratio: 1/1;
    .line {
      height: 2px;
      width: 30%;
      background-color: #ffffff;
      content: '';
      transition: 0.3s;
    }
  }
  .sp-hamburger.active {
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      rotate: 45deg;
    }
  }
  .sp-nav {
    background-color: #676766;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 85vw;
    height: 100vh;
    overflow: scroll;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      .nav-items__item a {
        text-align: center;
        text-wrap: balance;
        font-size: 1.1rem;
      }
    }
    .dropdown-menu {
      text-align: center;
      text-wrap: balance;
      margin-top: 0.5rem;
      display: grid;
      grid-template-rows: 0fr;
      height: 0;
      visibility: hidden;
      opacity: 0;
      transform: translateY(-50px);
      transition: transform 0.3s ease;
      transform-origin: top center;
      .dropdown-menu__item {
        padding: 0.75rem 0;
      }
    }
    .dropdown-menu.active {
      height: auto;
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
@media (max-width: 960px) {
  header {
    position: fixed;
    height: 90px;
    background-color: rgb(0 0 0 / 0.6);
    .logo-group {
      gap: 0.25rem;
      .logo1 {
        font-size: 0.8rem;
      }
      .logo2 {
        font-size: 0.8rem;
      }
      .logo3 {
        font-size: 1.75rem;
      }
    }
    .buttons {
      display: none;
    }
    .sp-hamburger {
      display: flex;
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  .copy {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 75%;
    translate: -50% -50%;
    width: max-content;
    color: #ffffff;
    font-size: clamp(2rem, 0.5rem + 2.5vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 0.5);
  }
  .circles {
    position: absolute;
    bottom: 5%;
    right: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .circle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: calc(200 / 1920 * 100vw);
    min-width: 120px;
    max-width: 200px;
    .text {
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      width: 100%;
      font-size: clamp(1rem, 0.5rem + 0.8333vw, 1.5rem);
      text-align: center;
      .purple {
        font-size: 1.25em;
      }
    }
  }
}
@media (max-width: 960px) {
  section.mv {
    .splide__slide {
      height: 500px;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .copy {
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      font-size: 1.75rem;
    }
    .circles {
      gap: 1rem;
      .circle {
        min-width: 100px;
        .text {
          font-size: 0.9rem;
        }
      }
    }
  }
}

/*=========================
  global nav
=========================*/
section.global-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  width: 100%;
  height: 120px;
  background-color: #676766;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  .pc-nav {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    /* padding: 2rem; */
    .nav-items {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5%;
      text-align: center;
      text-wrap: balance;
    }
    .nav-items__item {
      position: relative;
      &::before {
        position: absolute;
        content: '▲';
        bottom: -25px;
        left: 0;
        right: 0;
        text-align: center;
        width: 100%;
        opacity: 0;
        transition: opacity 0.3s;
      }
      &:hover::before {
        opacity: 1;
      }
    }
    .nav-items__item a {
      font-size: 1.2rem;
    }
  }
  .dropdown-menu {
    scale: 1 0;
    transform-origin: top center;
    transition: 0.3s;
    position: absolute;
    background-color: #ffffff;
    color: #2c363c;
    top: 110%;
    left: 50%;
    translate: -50% 0%;
    width: 200%;
    .dropdown-menu__item {
      padding: 1rem 0.5rem;
      a {
        font-size: 1rem;
      }
    }
  }
  .nav-items__item:has(.dropdown-menu):hover {
    .dropdown-menu {
      scale: 1 1;
    }
  }
}
@media (max-width: 960px) {
  section.global-nav {
    display: none;
    /* .pc-nav {
      display: none;
    } */
  }
}

/*=========================
  concept
=========================*/
section.concept {
  padding: var(--section-padding);
  padding-bottom: 0;
  background: url(../img/index/concept-bg.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  color: #ffffff;
  position: relative;
  .section-title {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 2rem;
    position: relative;
    .en {
      color: #4d5074;
      color: rgb(255 255 255 / 0.3);
      font-family: 'EB Garamond', system-ui;
      font-weight: 400;
      font-size: 6rem;
      line-height: 1;
    }
    .copy {
      position: absolute;
      z-index: 1;
      top: 50%;
      left: 50%;
      translate: -50% -25%;
      width: 100%;
      font-size: 3rem;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .text {
    width: 65%;
    margin-bottom: 5rem;
  }
  .concept-img {
    /* position: absolute;
    z-index: -1;
    bottom: 0;
    right: 5%; */
    /* width: calc(600 / 1920 * 100vw);
    max-width: 600px; */
    width: 35%;
    max-width: 500px;
  }
}
@media (max-width: 960px) {
  section.concept {
    .section-title {
      margin-bottom: 3rem;
      .en {
        font-size: 3.5rem;
      }
      .copy {
        font-size: 1.25rem;
        translate: -50% -50%;
      }
    }
    .flex {
      flex-direction: column;
      gap: 0.5rem;
      .text {
        width: 100%;
        margin-bottom: 0rem;
      }
      .concept-img {
        width: 80%;
        max-width: 280px;
        margin-left: auto;
      }
    }
  }
}

section.worries {
  padding: var(--section-padding);
  background-color: var(--navy);
  background-image: url(../img/index/worries-bg.svg);
  background-repeat: no-repeat;
  background-position: 0% 100%;
  background-size: 100%;
  color: #ffffff;
  .section-title {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 4rem;
    position: relative;
    .en {
      color: #4d5074;
      color: rgb(255 255 255 / 0.3);
      font-family: 'EB Garamond', system-ui;
      font-weight: 400;
      font-size: 5rem;
      line-height: 1;
    }
    .copy {
      position: absolute;
      z-index: 1;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      width: 100%;
      font-size: 2.5rem;
    }
  }

  .worries-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 1rem;
    row-gap: 2rem;
  }
  .worries-item {
    background-color: #4d638f;
    padding: 1rem 0.25rem;
    width: calc(25% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    .item-img {
      margin-bottom: 0.5rem;
    }
    .number {
      font-family: 'Libre Baskerville', serif;
      color: var(--gold);
      font-size: 2rem;
      line-height: 1;
    }
    .text {
      flex-grow: 1;
      display: grid;
      place-content: center;
    }
    .button {
      background: linear-gradient(135deg, #e6b422 0%, #735a11 100%);
      width: 80%;
      display: grid;
      grid-template-columns: 1fr 80% 1fr;
      padding: 0.75rem 0.75rem;
      .icon {
        margin: 0;
      }
    }
  }
}
@media (max-width: 960px) {
  section.worries {
    .section-title {
      .en {
        font-size: 3.5rem;
      }
      .copy {
        font-size: 2rem;
      }
    }
    .worries-items {
      flex-direction: column;
      .worries-item {
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
      }
    }
  }
}

section.medical {
  padding: var(--section-padding);
  position: relative;
  .bg-colors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    .bg-color {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #b4c4d1;
      opacity: 0.45;
    }
    .layer1 {
      clip-path: polygon(100% 0, 0% 100%, 0 0);
    }
    .layer2 {
      clip-path: polygon(0 100%, 100% 100%, 0 0);
    }
  }

  .section-title {
    position: absolute;
    top: 5rem;
    left: 3%;
    writing-mode: vertical-lr;
    .en {
      color: #8d97ac;
      font-size: 4.5rem;
      font-weight: 400;
      width: fit-content;
      line-height: 1;
    }
    .jp {
      color: #000538;
      font-size: 2rem;
    }
  }

  .container {
    width: 75%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: 5%;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 4rem;
  }
  .medical-item {
    position: relative;
    .item-img {
      position: relative;
      margin-bottom: 0.5rem;
      padding-bottom: 10px;
      img {
        position: relative;
        z-index: 1;
        width: calc(100% - 10px);
      }
      &::before {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        background-color: #ffffff;
        box-shadow: 0px 3px 6px rgb(0 0 0 / 0.2);
      }
    }
    .item-title {
      display: grid;
      grid-template-columns: 1fr 80% 1fr;
      align-items: center;
      font-size: 1.5rem;
      text-align: center;
      &::before {
        content: '';
      }
      .icon {
      }
    }
    .circle {
      position: absolute;
      z-index: 1;
      .circle-bg {
        width: 136px;
      }
      .text {
        position: absolute;
        z-index: 2;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        padding: 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
        line-height: 1.75;
      }
    }
    &:nth-of-type(1) {
      .circle {
        top: -20px;
        left: -20px;
      }
    }
    &:nth-of-type(2) {
      .circle {
bottom: 0px;
                left: -20px;
      }
    }
    &:nth-of-type(3) {
      .circle {
        bottom: 0px;
        right: -20px;
      }
    }
    &:nth-of-type(4) {
      .circle {
        bottom: 0px;
        left: -20px;
      }
    }
    &:nth-of-type(5) {
      .circle {
        top: -20px;
        left: -20px;
      }
    }
    &:nth-of-type(6) {
      .circle {
        top: -20px;
        left: -20px;
      }
    }
    &:nth-of-type(7) {
      .circle {
        bottom: 0px;
        right: -20px;
      }
      .item-title {
        font-size: 1.25rem;
      }
    }
    &:nth-of-type(8) {
      .circle {
        bottom: 0px;
        right: -20px;
      }
    }
    &:nth-of-type(9) {
      .circle {
        top: -20px;
        left: -20px;
      }
    }
  }
}
@media (max-width: 960px) {
  section.medical {
    .section-title {
      position: initial;
      writing-mode: initial;
      text-align: center;
      margin-bottom: 4rem;
      .en {
        font-size: 3.5rem;
        width: 100%;
      }
      .jp {
        font-size: 1.75rem;
      }
    }
    .container {
      width: calc(100% - 2rem);
      max-width: 1200px;
      margin-inline: auto;
    }
    .grid {
      grid-template-columns: 1fr;
    }
    .medical-item {
      width: 90%;
      max-width: 500px;
      margin-inline: auto;
      .circle {
        .circle-bg {
          width: 100px;
        }
        .text {
          font-size: 0.8rem;
          padding: 10px;
        }
      }
      .item-title {
        font-size: 1.25rem;
      }
    }
  }
}

/*=========================
  feature
=========================*/
section.feature {
  .section-title {
    position: relative;
    padding: 3rem 0;
    .bg-img {
      position: absolute;
      z-index: -1;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .title-wrapper {
      background-color: rgb(255 255 255 / 0.5);
      width: 70%;
      max-width: 900px;
      padding: 2rem 0;
      padding-left: 5%;
      .en {
        font-size: 5rem;
        line-height: 1;
        color: #b2b1be;
      }
      .jp {
        font-size: 1.5rem;
      }
    }
  }
  .section-body {
    padding: var(--section-padding);
    position: relative;
    background: url(../img/index/feature-bg.png) no-repeat;
    background-size: contain;
    background-position: 50% 100%;
    color: #000538;
    /* background-position: 0% 00%; */
    .bg-layers {
      position: absolute;
      z-index: -1;
      inset: 0;
      .layer {
        position: absolute;
        width: 100%;
        height: 100%;
      }
      .layer1 {
        clip-path: polygon(0 0, 0 60%, 100% 0);
        background-color: #ebeff2;
        /* opacity: 0.45; */
      }
      .layer2 {
      }
    }
    .bg-img {
      position: absolute;
      width: 100%;
    }

    .feature01 {
      margin-bottom: 5rem;
      .number {
        width: fit-content;
        margin-inline: auto;
        margin-bottom: 3rem;
        text-align: center;
        .row1 {
          font-size: 1rem;
        }
        .row2 {
          font-size: 4rem;
          line-height: 1;
        }
      }
      .feature-title {
        text-align: center;
        text-wrap: balance;
        margin-bottom: 3rem;
        position: relative;
        .en {
          color: #d9dae1;
          font-family: 'EB Garamond', system-ui;
          font-weight: 400;
          font-size: 5.5rem;
          line-height: 1;
        }
        .jp {
          position: absolute;
          z-index: 1;
          top: 50%;
          left: 50%;
          translate: -50% -50%;
          width: 100%;
          font-size: 2.5rem;
        }
      }
      .text {
        width: fit-content;
        margin-inline: auto;
        margin-bottom: 3rem;
      }
      .flex {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
      }
      .flex-item {
        position: relative;
        .circle {
          position: absolute;
          z-index: 1;
          .circle-bg {
            width: 136px;
          }
          .text {
            position: absolute;
            z-index: 2;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            padding: 1.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.9rem;
            line-height: 1.75;
          }
        }
        &:nth-of-type(1) {
          .circle {
            top: 0;
            left: 0;
          }
        }
        &:nth-of-type(2) {
          .circle {
            bottom: 0;
            left: 0;
          }
        }
        &:nth-of-type(3) {
          .circle {
            top: 0;
            right: 0;
          }
        }
      }
    }
    .feature02-03 {
      width: calc(100% - 2rem);
      max-width: 1200px;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
    }
    .feature02-03-item {
      width: 50%;
      background-color: #eff3f5;
      padding: 3rem 2rem;
      .feature-title {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
      }
      .number {
        width: fit-content;
        padding-right: 1.5rem;
        margin-right: 1.5rem;
        border-right: 1px solid #000538;
        .row1 {
          font-size: 1rem;
        }
        .row2 {
          font-size: 4rem;
          line-height: 1;
        }
      }
      .title {
        font-size: 1.5rem;
        font-weight: 400;
      }
      .text {
        color: #2c363c;
        font-weight: 300;
        margin-bottom: 2rem;
      }
    }
    .feature02 {
    }
    .feature03 {
      margin-top: 5rem;
    }
  }
}
@media (max-width: 960px) {
  section.feature {
    .section-title {
      .title-wrapper {
        width: 100%;
        text-align: center;
        .en {
          font-size: 3.5rem;
        }
        .jp {
          font-size: 1.25rem;
        }
      }
    }
    .section-body {
      .feature01 {
        .number {
          margin-bottom: 2rem;
          .row1 {
            font-size: 0.8rem;
          }
          .row2 {
            font-size: 3rem;
          }
        }
        .feature-title {
          .en {
            font-size: 2.5rem;
          }
          .jp {
            font-size: 1.5rem;
          }
        }
        .text {
          width: calc(100% - 2rem);
          margin-inline: auto;
        }
        .flex {
          flex-direction: column;
          .flex-item {
            width: 80%;
            max-width: 400px;
            .circle {
              width: 110px;
              .text {
                padding: 10px;
                font-size: 0.9rem;
              }
            }
          }
        }
      }
      .feature02-03 {
        flex-direction: column;
        .feature02-03-item {
          width: 100%;
          padding: 2rem 1rem;
          .feature-title {
            flex-direction: column;
            margin-bottom: 1rem;
            .number {
              border-right: none;
              margin-inline: auto;
              margin-bottom: 1rem;
              .row1 {
                font-size: 0.8rem;
              }
              .row2 {
                font-size: 3rem;
              }
            }
            .title {
              font-size: 1.25rem;
            }
          }
        }
        .feature03 {
          margin-top: 0;
        }
      }
    }
  }
}

/*=========================
  hygiene
=========================*/
section.hygiene {
  padding: var(--section-padding);
  background-color: #565b8b;
  color: #ffffff;
  position: relative;
  .section-title {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 4rem;
    position: relative;
    .en {
      width: 100%;
      color: #4d5074;
      color: rgb(255 255 255 / 0.3);
      font-family: 'EB Garamond', system-ui;
      font-weight: 400;
      font-size: 6rem;
      line-height: 1;
    }
    .jp {
      position: absolute;
      z-index: 1;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      font-size: 2.5rem;
    }
  }
  .text {
    text-align: center;
    text-wrap: balance;
    color: #dddee7;
    margin-bottom: 4rem;
  }
  .button {
    margin-inline: auto;
    border: #e6b422 1px solid;
    background-color: #ffffff;
    color: #2c363c;
    font-size: 1.2rem;
    padding: 1.2rem;
    width: 80%;
    max-width: 280px;
    &::after {
      content: '';
      position: absolute;
      right: 0;
      width: 40px;
      height: 1px;
      background-color: #e6b422;
    }
  }
  .img1 {
    position: absolute;
    top: 50%;
    left: 5%;
    translate: 0% -50%;
    width: calc(400 / 1920 * 100vw);
    max-width: 400px;
  }
  .img2-3 {
    position: absolute;
    top: 50%;
    right: 5%;
    translate: 0% -50%;
    width: calc(390 / 1920 * 100vw);
    max-width: 390px;
    aspect-ratio: 1/1;
    min-height: fit-content;
    .img2 {
      position: relative;
      top: 0;
      left: 0;
      width: calc(260 / 1920 * 100vw);
      max-width: 260px;
    }
    .img3 {
      position: absolute;
      bottom: 0;
      right: 0;
      width: calc(260 / 1920 * 100vw);
      max-width: 260px;
    }
  }
}
@media (max-width: 960px) {
  section.hygiene {
    .section-title {
      margin-bottom: 2rem;
      .en {
        font-size: 3.75rem;
      }
      .jp {
        width: 100%;
        font-size: 2rem;
      }
    }
    .button {
      margin-bottom: 3rem;
    }
    .img1 {
      position: initial;
      translate: initial;
      width: 80%;
      margin-inline: auto;
      margin-bottom: 3rem;
    }
    .img2-3 {
      position: relative;
      inset: 0;
      translate: initial;
      width: 80%;
      margin-inline: auto;
      .img2 {
        width: 70%;
      }
      .img3 {
        width: 70%;
      }
    }
  }
}

/*=========================
  greeting
=========================*/
section.greeting {
  padding: 10rem 0 5rem;
  position: relative;
  .bg-layer {
    position: absolute;
    z-index: -1;
    background-color: #f6f8f9;
    width: 70%;
    height: 85%;
    top: 15%;
    right: 0;
  }
  .images {
    position: absolute;
    top: 5rem;
    left: 5%;
  }
  .img1 {
    width: calc(750 / 1920 * 100vw);
    max-width: 750px;
  }
  .img2 {
    width: calc(550 / 1920 * 100vw);
    max-width: 550px;
    position: relative;
    top: -20px;
    margin-left: auto;
  }
  .img3 {
    width: calc(450 / 1920 * 100vw);
    max-width: 450px;
    position: relative;
    top: -40px;
    left: -20px;
  }
  .texts {
    width: 50%;
    margin-left: auto;
    margin-right: 3%;
    .inner {
      padding: 5%;
    }
    .title {
      padding: 0.5rem;
      background-color: #ffffff;
      box-shadow: 0px 3px 6px rgb(0 0 0 / 0.2);
      font-size: 3rem;
      font-weight: 700;
      -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
      display: block;
      margin: auto;
      margin-bottom: 3rem;
    }
    .copy {
      font-size: 2rem;
      text-align: center;
      text-wrap: balance;
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem;
      border-bottom: #000538 1px solid;
    }
    .text {
      font-weight: 300;
      margin-bottom: 3rem;
    }
    .doctor-name {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      margin-bottom: 3rem;
      .post {
        background-color: var(--navy);
        color: #ffffff;
        /* font-size: 1.25rem; */
        padding: 0.5rem 1rem;
      }
      .jp {
        font-size: 2.5rem;
      }
      .en {
        font-size: 1.5rem;
        margin-top: auto;
      }
    }
    .button {
      margin-inline: auto;
      border: #e6b422 1px solid;
      background-color: #ffffff;
      color: #2c363c;
      font-size: 1.2rem;
      padding: 1.2rem;
      width: 80%;
      max-width: 280px;
      margin-bottom: 3rem;
      &::after {
        content: '';
        position: absolute;
        right: 0;
        width: 40px;
        height: 1px;
        background-color: #e6b422;
      }
    }
    .document-wrapper {
      background-color: #ffffff;
      padding: 2rem;
      box-shadow: 0px 3px 6px rgb(0 0 0 / 0.2);
      .document-text {
        text-align: center;
        margin-bottom: 2rem;
      }
      .document-img {
        margin-inline: auto;
        box-shadow: 0px 0px 2px rgb(0 0 0 / 0.2);
      }
    }
  }
}
@media (max-width: 960px) {
  section.greeting {
    padding: var(--section-padding);
    .images {
      position: relative;
      inset: 0;
      .img1 {
        width: 90%;
        max-width: 500px;
        margin-inline: auto;
      }
      .img2 {
        width: 90%;
        display: none;
      }
      .img3 {
        width: 90%;
        display: none;
      }
    }
    .texts {
      width: calc(100% - 2rem);
      margin-inline: auto;
      .title {
        writing-mode: initial;
        background-color: initial;
        box-shadow: none;
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
      }
      .copy {
        font-size: 1.5rem;
      }
      .text {
        margin-bottom: 1rem;
      }
      .doctor-name {
        .post {
          font-size: 0.9rem;
        }
        .jp {
          font-size: 1.5rem;
        }
        .en {
          display: none;
        }
      }
      .document-wrapper {
        padding: 1.5rem;
      }
    }
    .inner {
      padding: 0;
    }
  }
}

/*=========================
  gallery
=========================*/
section.gallery {
  padding: var(--section-padding);
  .splide {
    .splide__list {
      height: auto;
    }
    .splide__slide {
      img {
        width: 400px;
        max-width: 100%;
        height: fit-content;
        aspect-ratio: 4/3;
        object-fit: cover;
      }
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  padding: var(--section-padding);
  background-color: #808192;
  color: #ffffff;
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
  }
  .flex-left {
    width: max-content;
  }
  .flex-right {
    width: 50%;
  }
  .logo-group {
    width: fit-content;
    margin-inline: auto;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 0.5);
    margin-bottom: 2rem;
    .logo1 {
      font-size: 1.75rem;
    }
    .logo2 {
      font-size: 3rem;
    }
  }
  .adress {
    width: fit-content;
    margin-inline: auto;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    .icon {
      width: 30px;
      margin-right: 1rem;
    }
  }
  .banner-adress {
    width: 90%;
    max-width: 300px;
    margin-inline: auto;
  }
  .buttons {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: auto;
    margin-bottom: 2rem;
    .button {
      flex-grow: 1;
      flex-direction: column;
      justify-content: space-between;
      .row1 {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.9rem;
      }
      .row2 {
        font-size: 1.75rem;
      }
    }
    .tel {
      background-color: #ffffff;
      color: #000538;
      .row1 {
        border-bottom: 1px solid #000538;
        padding-bottom: 0.5rem;
        width: 100%;
      }
    }
    .web {
      background: url(../img/button-web-bg.jpg) no-repeat;
      background-size: cover;
      background-position: center;
    }
  }
  .hours {
    .hours-table {
      background-color: #ffffff;
      color: #000538;
      padding: 0.5rem 1rem;
      display: grid;
      grid-template-columns: auto repeat(8, 1fr);
      font-family: 'Noto Sans JP', sans-serif;
      font-size: 0.9rem;
      .row {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1/-1;
      }
      .row:first-of-type {
        border-bottom: 1px solid rgba(1, 36, 56, 0.5);
      }
      .cell {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 0.5rem;
      }
      .th {
      }
    }
    .caption {
      font-size: 0.9rem;
      line-height: 1.5;
    }
  }

  .payments {
    margin-bottom: 3rem;
    .payments-img {
      margin-inline: auto;
      margin-bottom: 1rem;
    }
    .text {
      text-align: center;
      text-wrap: balance;
    }
  }
  .banner-link {
    display: block;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 4rem;
    &:last-of-type {
      margin-bottom: 0;
    }
    &:hover {
      @media (any-hover: hover) {
        opacity: 0.7;
      }
    }
  }
}
@media (max-width: 960px) {
  footer {
    .flex {
      flex-direction: column;
      .flex-left {
        width: 100%;
        .logo-group {
          .logo1 {
            font-size: 1.2rem;
          }
          .logo2 {
            font-size: 2rem;
          }
        }
      }
      .flex-right {
        width: 100%;
        .buttons {
          flex-direction: column;
          gap: 2rem;
          .button {
            margin-inline: auto;
            width: 80%;
            max-width: 400px;
          }
        }
        .hours {
          max-width: 500px;
          margin-inline: auto;
          .hours-table {
            padding: 0.5rem 0.5rem;
          }
        }
      }
    }
  }
}

/*=========================
  map
=========================*/
section.map {
  .wrapper {
    width: 100%;
    height: 360px;
  }
  iframe {
    width: 100%;
    height: 100%;
  }
}

.copyright {
  background-color: #808192;
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* sp fixed buttons */
.sp-fixed-buttons {
  display: none;
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 1;
  bottom: 0;
  /* display: grid; */
  grid-template-columns: repeat(3, 1fr);
  .button {
    background-color: var(--navy);
    color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    border-top: 1px solid #ffffff;
    &:not(:last-of-type) {
      border-right: 1px solid #ffffff;
    }
  }
  .icon-wrapper {
    width: 100%;
    display: grid;
    place-items: center;
  }
  .icon {
    width: 25px;
    margin-inline: auto;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 960px) {
  body {
    margin-bottom: 80px;
  }
  .sp-fixed-buttons {
    display: grid;
  }
}
