@charset "utf-8";

:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

h2.section-title {
  background-color: #cae2be;
  margin-bottom: 3rem;
  padding: 1rem;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  @media (max-width: 960px) {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  &::before,
  &::after {
    content: '';
    display: block;
    width: 100px;
    height: 90px;
    @media (max-width: 960px) {
      width: 50px;
      height: 40px;
    }
  }
  &::before {
    background: url(../img/sec-title-bg1.svg) no-repeat;
    background-size: contain;
  }
  &::after {
    background: url(../img/sec-title-bg2.svg) no-repeat;
    background-size: contain;
  }
}

/*=========================
  page header
=========================*/
header.page-header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding-left: 1rem;
  @media (max-width: 960px) {
    padding: 10px;
    position: sticky;
        top: 0;
        left: 0;
        z-index: 999;
  }
  .logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    .logo {
      color: #6c9258;
      font-size: 2.5rem;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.5rem;
        align-items: center;
      }
    }
    .sub {
      margin-left: 1rem;
      background-color: #6c9258;
      color: #fff;
      padding: 0.5rem;
      font-size: 0.9rem;
      @media (max-width: 960px) {
        padding: 0.25rem 0.5rem;
        font-size: 12px;
      }
    }
  }
  .links-wrapper {
    margin-left: auto;
    display: flex;
    @media (max-width: 960px) {
      display: none;
    }
    .link {
      width: 120px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 10px;
      color: #fff;
      padding: 1rem 0;
    }
    .tel {
      background-color: #5c9265;
    }
    .web {
      background-color: #7fc48a;
    }
    .access {
      background-color: #a9dcb1;
    }
  }
  .sp-hamburger {
    display: none;
    background-color: #6c9258;
    position: relative;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;
    width: 36px;
    height: fit-content;
    aspect-ratio: 1/1;
    margin-left: auto;
    @media screen and (max-width: 960px) {
      display: flex;
    }
    .line {
      height: 1px;
      width: 60%;
      background-color: #ffffff;
      transition: 0.3s;
    }
  }
  .sp-hamburger.active {
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 60%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 60%;
      rotate: 45deg;
    }
  }
  .sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 100vw;
    height: 100dvh;
    background-color: #afd4a9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      .nav-items__item a {
        text-align: center;
        text-wrap: balance;
        font-size: 1.2rem;
        font-weight: 500;
      }
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}

/*=========================
  page mv
=========================*/
section.page-mv {
  .img-wrapper {
    position: relative;
    .mv-img {
      width: 100%;
      min-height: 200px;
      object-fit: cover;
    }
    .inner {
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      .page-title {
        width: max-content;
        color: #fff;
        text-align: center;
        text-shadow: 0px 3px 6px rgb(0 0 0 / 0.5);
        .jp {
          font-size: 3rem;
        }
        .en {
          font-size: 2rem;
        }
        @media (max-width: 960px) {
          .jp {
            font-size: 2rem;
          }
          .en {
            font-size: 1.5rem;
          }
        }
      }
    }
  }
}

/*=========================
  adult
=========================*/
section.adult-sec1 {
  padding: var(--section-padding);
  .item {
    margin-bottom: 4rem;
    /* &:last-of-type {
      margin-bottom: 0;
    } */
    .img {
      margin-inline: auto;
    }
    .label {
      background: rgba(222, 252, 243, 0.6);
      padding: 1rem 10%;
      min-height: 100px;
      text-align: center;
      text-wrap: balance;
      font-size: 1.2rem;
      display: grid;
      align-items: center;
      grid-template-columns: auto 1fr auto;
      translate: -0% -50%;
      margin-bottom: -2rem;
      @media (max-width: 960px) {
        min-height: auto;
        translate: -0% -0%;
        margin-bottom: 0rem;
        padding: 1rem 0.5rem;
      }
      &::before,
      &::after {
        content: '';
        display: block;
        width: 45px;
        aspect-ratio: 1/1;
        @media (max-width: 960px) {
          width: 20px;
        }
      }
      &::before {
        background: url(../img/parentheses-1.svg) no-repeat;
        background-size: contain;
        margin-bottom: 50%;
        @media (max-width: 960px) {
          margin-bottom: auto;
        }
      }
      &::after {
        background: url(../img/parentheses-2.svg) no-repeat;
        background-size: contain;
        margin-top: 50%;
        @media (max-width: 960px) {
          margin-top: auto;
        }
      }
    }
    .text {
      max-width: 1000px;
      margin-inline: auto;
    }
  }
}

section.adult-sec2 {
  padding: var(--section-padding);
  padding-top: 0;
  .container > .description {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
  }
  .steps {
    margin-bottom: 8rem;
    > .title {
      width: fit-content;
      margin-inline: auto;
      text-align: center;
      font-size: 2rem;
      font-weight: 500;
      margin-bottom: 3rem;
      @media (max-width: 960px) {
        font-size: 1.25rem;
        margin-bottom: 2rem;
      }
      &::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, #2fb5b9 30%, #363528 30%);
        margin-top: 0.5rem;
      }
    }
    .steps-item {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-bottom: 4rem;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
        gap: 1rem;
      }
      .img-wrapper {
        flex-shrink: 0;
        width: fit-content;
      }
      .text-wrapper {
        /* width: 60%; */
        .title {
          font-size: 1.5rem;
          padding-bottom: 0.5rem;
          margin-bottom: 0.5rem;
          border-bottom: 1px solid #6c9258;
        }
      }
    }
  }
  .content1 {
    background: linear-gradient(180deg, #fff 40%, #fafff0 40%);
    padding-bottom: 6rem;
    @media (max-width: 960px) {
      background: linear-gradient(180deg, #fff 20%, #fafff0 20%);
      padding-bottom: 2rem;
    }
    .img {
      margin-inline: auto;
      /* margin-bottom: 2rem; */
    }
    .label {
      padding: 1rem 10%;
      height: 100px;
      text-align: center;
      text-wrap: balance;
      font-size: 1.5rem;
      display: grid;
      align-items: center;
      grid-template-columns: auto 1fr auto;
      @media (max-width: 960px) {
        padding: 1rem 1rem;
        font-size: 1.25rem;
        min-height: auto;
      }
      &::before,
      &::after {
        content: '';
        display: block;
        width: 45px;
        aspect-ratio: 1/1;
        @media (max-width: 960px) {
          width: 25px;
        }
      }
      &::before {
        background: url(../img/parentheses-1.svg) no-repeat;
        background-size: contain;
        margin-bottom: 50%;
      }
      &::after {
        background: url(../img/parentheses-2.svg) no-repeat;
        background-size: contain;
        margin-top: 50%;
      }
    }
    .text {
      max-width: 900px;
      margin-inline: auto;
    }
  }
}

section.adult-sec3 {
  padding: var(--section-padding);
  padding-top: 0;
  .content1 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .img-wrapper {
      width: 40%;
      .img {
        height: 100%;
        object-fit: cover;
        object-position: 100% 50%;
      }
      @media (max-width: 960px) {
        width: 100%;
        .img {
          width: 100%;
          max-height: 230px;
        }
      }
    }
    .texts-wrapper {
      width: 60%;
      margin-left: auto;
      padding: 2rem 0;
      @media (max-width: 960px) {
        width: 100%;
        padding: 0;
      }
      .text {
        margin-bottom: 1rem;
      }
      ul li {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.5rem;
      }
    }
  }
}

/*=========================
  child
=========================*/
section.child-sec1 {
  padding: var(--section-padding);
  .item {
    .img {
      margin-inline: auto;
    }
    .label {
      background: rgba(222, 252, 243, 0.6);
      padding: 1rem 10%;
      min-height: 100px;
      text-align: center;
      text-wrap: balance;
      font-size: 1.2rem;
      display: grid;
      align-items: center;
      grid-template-columns: auto 1fr auto;
      translate: -0% -50%;
      margin-bottom: -2rem;
      @media (max-width: 960px) {
        translate: -0% -0%;
        margin-bottom: 0rem;
        padding: 1rem 0.5rem;
      }
      &::before,
      &::after {
        content: '';
        display: block;
        width: 45px;
        aspect-ratio: 1/1;
        @media (max-width: 960px) {
          width: 20px;
        }
      }
      &::before {
        background: url(../img/parentheses-1.svg) no-repeat;
        background-size: contain;
        margin-bottom: 50%;
        @media (max-width: 960px) {
          margin-bottom: auto;
        }
      }
      &::after {
        background: url(../img/parentheses-2.svg) no-repeat;
        background-size: contain;
        margin-top: 50%;
        @media (max-width: 960px) {
          margin-top: auto;
        }
      }
    }
    .text {
      max-width: 1000px;
      margin-inline: auto;
    }
  }
}

section.child-sec2 {
  padding: var(--section-padding);
  .section-title + .title {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    @media (max-width: 960px) {
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }
    &::after {
      content: '';
      display: block;
      width: 300px;
      margin-inline: auto;
      height: 3px;
      background: linear-gradient(to right, #2fb5b9 30%, #363528 30%);
      margin-top: 1rem;
    }
  }
  .description {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 3rem;
    }
  }
  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    &:last-of-type {
      margin-bottom: 0;
    }
    .img-wrapper {
      flex-shrink: 0;
      width: fit-content;
    }
    .text-wrapper {
      /* width: 60%; */
      .title {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #6c9258;
        @media (max-width: 960px) {
          font-size: 1.25rem;
        }
      }
    }
  }
}

section.child-sec3 {
  padding: var(--section-padding);
  .section-title + .title {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    @media (max-width: 960px) {
      font-size: 1.25rem;
      margin-bottom: 1rem;
    }
    &::after {
      content: '';
      display: block;
      width: 300px;
      margin-inline: auto;
      height: 3px;
      background: linear-gradient(to right, #2fb5b9 30%, #363528 30%);
      margin-top: 1rem;
    }
  }
  .description {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
  }
  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    &:last-of-type {
      margin-bottom: 0rem;
    }
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .img-wrapper {
      flex-shrink: 0;
      width: fit-content;
    }
    .text-wrapper {
      /* width: 60%; */
      .title {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #6c9258;
        @media (max-width: 960px) {
          font-size: 1.25rem;
        }
      }
    }
  }
}

section.child-sec4 {
  padding: var(--section-padding);
  .flex-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    row-gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-item {
      width: calc(100% / 3 - 2rem);
      background-color: #fff;
      padding: 1rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      box-shadow: 0 3px 6px rgb(0 0 0 / 0.12);
      @media (max-width: 960px) {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
      }
      .title {
        text-align: center;
        font-weight: 500;
      }
      .text {
        font-size: 0.9rem;
      }
    }
  }
}

/*=========================
  senior
=========================*/
section.senior-sec1 {
  padding: var(--section-padding);
  .item {
    .img {
      margin-inline: auto;
    }
    .label {
      background: rgba(222, 252, 243, 0.6);
      padding: 1rem 10%;
      min-height: 100px;
      text-align: center;
      text-wrap: balance;
      font-size: 1.2rem;
      display: grid;
      align-items: center;
      grid-template-columns: auto 1fr auto;
      translate: -0% -50%;
      margin-bottom: -2rem;
      @media (max-width: 960px) {
        translate: -0% -0%;
        margin-bottom: 1rem;
        padding: 1rem 0.5rem;
      }
      &::before,
      &::after {
        content: '';
        display: block;
        width: 45px;
        aspect-ratio: 1/1;
        @media (max-width: 960px) {
          width: 20px;
        }
      }
      &::before {
        background: url(../img/parentheses-1.svg) no-repeat;
        background-size: contain;
        margin-bottom: 50%;
        @media (max-width: 960px) {
          margin-bottom: auto;
        }
      }
      &::after {
        background: url(../img/parentheses-2.svg) no-repeat;
        background-size: contain;
        margin-top: 50%;
        @media (max-width: 960px) {
          margin-top: auto;
        }
      }
    }
    .text {
      max-width: 1000px;
      margin-inline: auto;
    }
  }
}

section.senior-sec2 {
  padding: var(--section-padding);
  .container > .description {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
  }
  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    &:last-of-type {
      margin-bottom: 0;
    }
    @media (max-width: 960px) {
      flex-direction: column-reverse;
      gap: 1rem;
    }
    .img-wrapper {
      flex-shrink: 0;
      width: fit-content;
    }
    .text-wrapper {
      /* width: 60%; */
      .title {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #6c9258;
        @media (max-width: 960px) {
          font-size: 1.25rem;
        }
      }
    }
  }
}

section.senior-sec3 {
  padding: var(--section-padding);
  .description {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 4rem;
  }
  .flex-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-item {
      width: 50%;
      padding: 2rem;
      border: 1px solid #6c9258;
      outline: 1px solid #6c9258;
      outline-offset: -10px;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title {
        text-align: center;
        text-wrap: balance;
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 1rem;
      }
      .text {
        font-size: 1rem;
      }
    }
  }
}

section.senior-sec4 {
  padding: var(--section-padding);
  .flex-items {
    margin-inline: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5%;
    row-gap: 2rem;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-item {
      width: calc(100% / 2 - 2rem);
      max-width: 500px;
      background-color: #fff;
      padding: 1rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      box-shadow: 0 3px 6px rgb(0 0 0 / 0.12);
      @media (max-width: 960px) {
        width: 100%;
        margin-inline: auto;
      }
      .img {
        margin-bottom: 0.5rem;
      }
      .title {
        text-align: center;
        font-weight: 500;
      }
      .text {
        font-size: 0.9rem;
      }
    }
  }
}

/*=========================
  clinic
=========================*/
section.clinic-sec1 {
  padding: var(--section-padding);
  .img {
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  .table {
    max-width: 700px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
    }
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
      column-gap: 1rem;
      margin-bottom: 0.5rem;
      border-bottom: #68b440 1px solid;
      .th {
        padding: 0.5rem;
        font-weight: 500;
        @media (max-width: 960px) {
          font-weight: 700;
        }
      }
      .td {
        padding: 0.5rem;
      }
    }
  }
  .banner {
    display: block;
    width: fit-content;
    margin-inline: auto;
    @media (max-width: 960px) {
      max-width: 500px;
    }
  }
}

section.clinic-sec2 {
  padding: var(--section-padding);
  .bg-green {
    padding: var(--section-padding);
    background-color: #f7fff5;
    .copy {
      text-align: center;
      margin-bottom: 2rem;
      font-size: 1.5rem;
      font-weight: 500;
    }
    .container > .text {
      text-align: center;
      text-wrap: balance;
      margin-bottom: 2rem;
    }
    .flex-items {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 2rem;
      @media (max-width: 960px) {
        column-gap: 1rem;
      }
      .flex-item {
        width: calc(100% / 4 - 2rem);
        @media (max-width: 960px) {
          width: calc(100% / 2 - 0.5rem);
        }
        .img {
          margin-inline: auto;
        }
        .text {
          font-size: 0.9rem;
        }
      }
    }
  }
}

section.clinic-sec3 {
  padding: var(--section-padding);
  .slider-wrapper {
    max-width: 700px;
    margin-inline: auto;
    .splide {
      .splide__slide {
        .img {
          width: 100%;
          aspect-ratio: 45/32;
          object-fit: cover;
        }
      }
    }
    .thumbnails {
      display: flex;
      margin: 1rem auto 0;
      justify-content: center;
      .thumbnail {
        width: calc(100% / 6);
        overflow: hidden;
        margin: 0 0.2rem;
        cursor: pointer;
        img {
          width: 100%;
          height: auto;
        }
      }
    }
  }
}

section.clinic-sec4 {
  padding: var(--section-padding);
  .red {
    color: red;
  }
  .container > .text {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 1rem;
  }
  .container > .copy {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 3rem;
    @media (max-width: 960px) {
      font-size: 1.25rem;
    }
    &::after {
      content: '';
      display: block;
      width: 300px;
      margin-inline: auto;
      height: 3px;
      background: linear-gradient(to right, #2fb5b9 30%, #363528 30%);
      margin-top: 1rem;
    }
  }
  .policy-item {
    margin-bottom: 4rem;
    .title {
      font-size: 1.5rem;
      font-weight: 500;
      padding-bottom: 0.5rem;
      margin-bottom: 1rem;
      border-bottom: 2px solid #6c9258;
      @media (max-width: 960px) {
        font-size: 1.25rem;
      }
    }
  }
}

/*=========================
  staff
=========================*/
section.staff-sec1 {
  padding: var(--section-padding);
  margin-bottom: 6rem;
  .container > .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .texts-wrapper {
      width: 55%;
      .text {
        margin-bottom: 2rem;
      }
      @media (max-width: 960px) {
        width: 100%;
        .name {
          margin-inline: auto;
        }
      }
    }
    .img-wrapper {
      width: 45%;
      .img {
        margin-inline: auto;
      }
      @media (max-width: 960px) {
        width: 80%;
      }
    }
  }
  .dental-iiha_bnr{
	display: block;
	width: 234px;
	margin: 50px auto 0;
  }
}
