@charset "utf-8";
/*=========================
  Common
=========================*/
/* font import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* color */
:root {
  --main: #333333;
  --sub: #ffffff;
}

/* variables */
:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

html {
  scroll-behavior: smooth;
  /* scroll-padding-top: 100px;  */
}
/* @media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 0px;
  }
} */
body {
  font-family: 'Noto Serif JP', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: #363528;
  /* line-height: 1.7; */
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  @media (max-width: 960px) {
    font-size: 1rem;
  }
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.6;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  line-height: 2;
  text-align: justify;
  @media (max-width: 960px) {
    /* font-size: 1rem; */
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
  font-size: inherit;
  font-weight: inherit;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 960px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1400px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: #fff;
  --color: #3d9f09;
  --r: 0px;
  background-color: var(--bg-color);
  color: var(--color);
  border-radius: var(--r);
  border: 1px solid var(--color);
  box-shadow: 0px 3px 6px rgb(0 0 0 / 0.2);
  padding: 1rem 1rem;
  width: fit-content;
  min-width: 250px;
  margin-inline: auto;
  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) {
    &::before {
      border-radius: var(--r);
      content: '';
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

/*=========================
  header
=========================*/
header.top-header {
  position: absolute;
  z-index: 100;
  top: 0;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  display: flex;
  @media (max-width: 960px) {
    position: fixed;
    padding: 10px;
  }
  .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%;
}

/*=========================
  side-bnr
=========================*/
.side-bnr {
  width: 60px;
  background-color: #7fc48a;
  position: fixed;
  top: 70%;
  transform: translateY(-50%);
  right: 0;
  z-index: 100;
  padding: 2rem 0;
  border-radius: 5px 0 0 5px;
}
.side-bnr a {
  display: block;
  color: #fff;
  font-size: 18px;
  text-orientation: upright;
  writing-mode: vertical-rl;
  text-align: center;
  line-height: 60px;
}
.side-bnr a i {
  margin-bottom: 1rem;
}
.side-bnr2 {
  width: 60px;
  background-color: #5c9265;
  position: fixed;
  top: 35%;
  transform: translateY(-50%);
  right: 0;
  z-index: 100;
  padding: 2rem 0;
  border-radius: 5px 0 0 5px;
}
.side-bnr2 a {
  display: block;
  color: #fff;
  font-size: 18px;
  text-orientation: upright;
  writing-mode: vertical-rl;
  text-align: center;
  line-height: 60px;
}
.side-bnr2 a i {
  margin-bottom: 1rem;
}
.side-bnr2 span {
  font-size: 14px;
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  .img-wrapper {
    position: relative;
    .splide {
      .mv-img {
        width: 100%;
        @media (max-width: 960px) {
          min-height: 540px;
          object-fit: cover;
        }
      }
    }
    .inner {
      position: absolute;
      z-index: 2;
      top: 40%;
      left: 50%;
      translate: -50% -50%;
      color: #fff;
      text-align: center;
      text-shadow: 0px 2px 4px rgb(0 0 0 / 0.5);
      letter-spacing: 0.3em;
      @media (max-width: 960px) {
        top: 48%;
        width: 95%;
        margin-inline: auto;
      }
      .logo {
        margin-inline: auto;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          width: 120px;
        }
      }
      .row:nth-of-type(1) {
        font-size: 3rem;
        margin-bottom: 0.5rem;
        @media (max-width: 960px) {
          font-size: 2rem;
        }
      }
      .row:nth-of-type(2) {
        font-size: 1.25rem;
        border: 1px solid #fff;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        @media (max-width: 960px) {
          font-size: 1rem;
          width: fit-content;
          margin-inline: auto;
        }
      }
      .row:nth-of-type(3) {
        font-size: 2rem;
        @media (max-width: 960px) {
          font-size: 1.5rem;
        }
      }
    }
  }
  .copy {
    position: absolute;
    top: 0;
    left: 30px;
    writing-mode: vertical-rl;
    background-color: #b1a356;
    color: #fff;
    padding: 2rem;
    line-height: 2;
    letter-spacing: 0.2em;
    font-size: 1.25rem;
    .lg {
      font-size: 1.4em;
      color: #565310;
    }
    @media (max-width: 960px) {
      position: static;
      writing-mode: initial;
      padding: 2rem 10px;
      letter-spacing: 0.1em;
      font-size: 1rem;
      text-align: center;
    }
  }
  .banner-wrapper {
    position: absolute;
    bottom: 20px;
    right: 0;
    .banner {
      display: block;
      opacity: 1;
      cursor: pointer;
      width: calc(680 / 1920 * 100vw);
      max-width: 680px;
    }
    @media (max-width: 960px) {
      position: static;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      .banner {
        width: 90%;
        max-width: 400px;
      }
    }
  }
}

/*=========================
  global nav
=========================*/
section.global-nav {
  box-shadow: 0px 2px 4px rgb(0 0 0 / 0.2);
  .pc-nav {
    padding: 2.5rem;
      transition: all 0.5s ease;
    .nav-items {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 4%;
    }
    .nav-items__item.current {
      position: relative;
      &::before {
        content: '';
        display: block;
        background-color: #68b440;
        width: 50px;
        height: 3px;
        position: absolute;
        z-index: 1;
        bottom: -1rem;
        left: 50%;
        translate: -50% 0%;
      }
    }
  }
  @media (max-width: 960px) {
    display: none;
  }
}
.pc-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/*.pc-nav.fixed{
	position: fixed;
	z-index: 999;
	top:0;
	left:0;
}*/

/*=========================
  treatment
=========================*/
section.treatment {
  margin-top: 2rem;
  padding: var(--section-padding);
  padding-bottom: 0;
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .main {
      margin-bottom: 1rem;
    }
    .sub {
      font-size: 2rem;
      text-align: center;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
  }
  .content1 {
    background: url(../img/top/treatment-bg1.png) no-repeat;
    background-position: 0% 100%;
    background-size: 90% 90%;
    padding-bottom: 6rem;
    @media (max-width: 960px) {
      background-size: 100% 90%;
      padding-bottom: 4rem;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .img-wrapper {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
    .texts-wrapper {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title {
        font-size: 2rem;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          font-size: 1.5rem;
          text-align: center;
        }
      }
      .text {
        margin-bottom: 2rem;
      }
    }
  }
  .content2-3 {
    padding: 6rem 0 0rem;
    background: url(../img/top/treatment-bg2.png) no-repeat;
    background-position: 100% 100%;
    background-size: 100%;
    @media (max-width: 960px) {
      padding: 4rem 0 4rem;
    }
    .container {
      display: flex;
      @media (max-width: 960px) {
        flex-direction: column;
        gap: 2rem;
      }
    }
    .content2,
    .content3 {
      width: 50%;
      display: flex;
      flex-direction: column;
      @media (max-width: 960px) {
        width: 100%;
      }
      .img {
        width: 100%;
      }
      .texts-wrapper {
        position: relative;
        top: -10%;
        background-color: #fff;
        width: 90%;
        margin-inline: auto;
        flex-grow: 1;
        box-shadow: 0 3px 6px rgb(0 0 0 / 0.2);
        padding: 2rem 5%;
        display: flex;
        flex-direction: column;
        @media (max-width: 960px) {
          width: 100%;
        }
        .title {
          font-size: 2rem;
          margin-bottom: 1rem;
          @media (max-width: 960px) {
            font-size: 1.5rem;
            text-align: center;
          }
        }
        .text {
          flex-grow: 1;
          margin-bottom: 2rem;
        }
      }
    }
  }
}

/*=========================
  concept
=========================*/
section.concept {
  padding: var(--section-padding);
  padding-bottom: 200px;
  background: url(../img/top/concept-bg.png) no-repeat;
  background-size: cover;
  position: relative;
  @media (max-width: 960px) {
    padding-bottom: 4rem;
  }
  .flex {
    position: relative;
    z-index: 1;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .texts-wrapper {
      padding: 2rem 5%;
      .section-title {
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          .main {
            width: 70%;
            max-width: 300px;
            margin-inline: auto;
          }
        }
      }
      .title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          font-size: 1.25rem;
          line-height: 1.75;
          text-align: center;
        }
      }
    }
    .img-wrapper {
      .img {
        height: 100%;
        object-fit: cover;
        @media (max-width: 960px) {
          margin-inline: auto;
          max-height: 500px;
        }
      }
    }
  }
  .img2 {
    position: absolute;
    /* z-index: 2; */
    left: 0;
    bottom: 0;
    width: calc(450 / 1920 * 100vw);
    max-width: 370px;
    @media (max-width: 960px) {
      display: none;
    }
  }
}

/*=========================
  trouble
=========================*/
section.trouble {
  padding: var(--section-padding);
  padding-bottom: 0;
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .main {
      margin-bottom: 1rem;
    }
    .sub {
      font-size: 2rem;
      text-align: center;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.5rem;
        line-height: 1.75;
      }
    }
  }
  .flex {
    display: flex;
    align-items: stretch;
    margin-bottom: 6rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
      margin-bottom: 4rem;
    }
    .img-wrapper {
      width: 50%;
      .img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      @media (max-width: 960px) {
        width: 100%;
        .img {
          max-height: 240px;
        }
      }
    }
    .texts-wrapper {
      width: 50%;
      padding: 2rem 5%;
      @media (max-width: 960px) {
        width: 100%;
        padding-top: 0;
      }
      .checklist {
        .cheklist__item {
          display: grid;
          grid-template-columns: auto 1fr;
          align-items: flex-start;
          margin-bottom: 1rem;
          .icon {
            width: 30px;
            margin-right: 1rem;
            @media (max-width: 960px) {
              width: 24px;
            }
          }
        }
      }
    }
  }
  .bg-green {
    padding: var(--section-padding);
    background: url(../img/top/trouble-bg.svg) no-repeat;
    background-size: cover;
    .container {
      max-width: 1000px;
    }
    .inner {
      .title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          font-size: 1.5rem;
          margin-bottom: 1rem;
        }
      }
      .text {
        margin-bottom: 2rem;
      }
    }
  }
}

/*=========================
  commitment
=========================*/
section.commitment {
  padding: var(--section-padding);
  padding-bottom: 0;
  background: url(../img/top/comittment-bg.png) no-repeat;
  background-size: cover;
  background-color: #fff;
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .main {
      margin-bottom: 1rem;
    }
    .sub {
      font-size: 2rem;
      text-align: center;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
  }
  .flex-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 6rem;
    @media (max-width: 960px) {
      flex-direction: column;
      margin-bottom: 4rem;
    }
    .flex-item {
      width: calc(100% / 3 - 2rem);
      background-color: #fff;
      padding: 2rem;
      @media (max-width: 960px) {
        width: 100%;
      }
      .img {
        margin-bottom: 1rem;
        margin-inline: auto;
      }
      .title {
        text-align: center;
        font-size: 1.125rem;
        font-weight: 500;
        margin-bottom: 1rem;
      }
      .text {
        font-size: 1rem;
        font-weight: 300;
      }
    }
  }
  .bg-img {
    padding: 10rem 0 2rem;
    background: url(../img/top/under-commitment-bg.png) no-repeat;
    background-size: cover;
    @media (max-width: 960px) {
      padding: 4rem 0;
    }
    .grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: stretch;
      column-gap: 2%;
      @media (max-width: 960px) {
        grid-template-columns: 1fr;
      }
      .grid-item {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        .textbox {
          flex-grow: 1;
          padding: 2rem;
          background-color: rgba(47, 181, 185, 0.8);
          color: #fff;
          border-radius: 30px 0 30px 0;
          .title {
            font-size: 1.5rem;
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
            text-align: center;
            padding: 0.5rem;
            margin-bottom: 1rem;
          }
        }
      }
      .grid-item:nth-child(1) {
        /* margin-bottom: 10%; */
      }
      .grid-item:nth-child(3) {
        .textbox {
          background-color: rgba(108, 146, 88, 0.8);
        }
      }
      .copy {
        padding: 1rem;
        writing-mode: vertical-rl;
        font-size: 2rem;
        background: rgb(255 255 255 / 0.5);
        backdrop-filter: blur(5px);
        @media (max-width: 960px) {
          grid-row: 1/2;
          writing-mode: initial;
          text-align: center;
          font-size: 1.5rem;
        }
        .row:nth-child(1) {
          span {
            color: #6c9258;
          }
        }
        .row:nth-child(2) {
          span {
            color: #2fb5b9;
          }
        }
      }
    }
  }
}

/*=========================
  greeting
=========================*/
section.greetiing {
  padding: var(--section-padding);
  padding-top: 8rem;
  margin-bottom: 6rem;
  background: url(../img/top/greeting-bg.png) no-repeat;
  background-size: 95% 75%;
  background-position: 100% 100%;
  @media (max-width: 960px) {
    padding-top: 4rem;
    margin-bottom: 2rem;
    background-size: 100% 100%;
  }
  .upper-img-wrapper {
    position: relative;
    width: 85%;
    padding-right: 10%;
    margin-bottom: 8rem;
    @media (max-width: 960px) {
      width: 100%;
      padding-right: 0%;
      margin-bottom: 2rem;
    }
    .img {
      width: 100%;
      max-height: 300px;
      object-fit: cover;
      object-position: 50% 25%;
    }
    .copy {
      position: absolute;
      top: 50%;
      right: 0;
      translate: 0% -50%;
      height: max-content;
      padding: 3vw 3vw;
      background-color: #b1a356;
      color: #fff;
      writing-mode: vertical-rl;
      font-size: 1.75rem;
      line-height: 1.75;
      .col:nth-of-type(2) {
        margin-top: 2rem;
      }
      .col:nth-of-type(3) {
        margin-top: 4rem;
      }
      .col:nth-of-type(4) {
        margin-top: 6rem;
      }
      @media (max-width: 960px) {
        position: static;
        translate: 0% 0%;
        writing-mode: initial;
        font-size: 1.25rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        .col {
          flex-shrink: 0;
          margin-top: 0 !important;
        }
      }
    }
  }
  .container {
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .texts-wrapper {
        width: 65%;
        padding: 0 2% 0 7%;
        @media (max-width: 960px) {
          width: 100%;
          padding: 0;
        }
        .title {
          margin-bottom: 2rem;
          @media (max-width: 960px) {
            .main {
              width: 70%;
              margin-inline: auto;
            }
          }
        }
        .text {
          /* margin-bottom: 4rem; */
        }
      }
      .img-wrapper {
        width: 35%;
        position: relative;
        @media (max-width: 960px) {
          width: 100%;
          max-width: 450px;
          margin-inline: auto;
        }
        .name {
          position: absolute;
          z-index: 1;
          right: 0;
          bottom: 0;
          background-color: rgba(108, 146, 88, 0.9);
          color: #fff;
          padding: 1rem 2rem;
          text-align: center;
          .jp {
            font-size: 2rem;
          }
          .en {
          }
        }
      }
    }
  }
}

/*=========================
  introduction
=========================*/
section.introduction {
  padding: var(--section-padding);
  position: relative;
  margin-bottom: 4rem;
  .border {
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: calc(100% - 2vw);
    height: calc(100% - 20px);
    border: 3px solid #6c9258;
    @media (max-width: 960px) {
      width: calc(100% - 1rem);
      border: 2px solid #6c9258;
    }
  }
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .main {
      width: 70%;
      margin-inline: auto;
      margin-bottom: 1rem;
    }
    .sub {
      font-size: 2rem;
      text-align: center;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
  }
  .bg-img1 {
    position: relative;
    z-index: 2;
    background: url(../img/top/intoroduction-bg1.jpg) no-repeat;
    background-size: cover;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
    @media (max-width: 960px) {
      padding: 2rem 0;
      margin-bottom: 4rem;
    }
    .copy {
      color: #fff;
      writing-mode: vertical-rl;
      font-size: 2rem;
      line-height: 2;
      letter-spacing: 0.2em;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.25rem;
        line-height: 1.75;
      }
    }
  }
  .container:has(.flex-items) {
    max-width: 1600px;
  }
  .flex-items {
    margin-inline: auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    @media (max-width: 960px) {
      width: 90%;
      flex-direction: column;
    }
    .flex-item {
      width: calc(100% / 3 - 2rem);
      display: flex;
      flex-direction: column;
      @media (max-width: 960px) {
        width: 100%;
      }
      .img {
        margin-bottom: 1rem;
      }
      .title {
        color: #565310;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        text-align: center;
      }
      .text {
        font-size: 1rem;
        margin-bottom: 2rem;
        flex-grow: 1;
      }
    }
  }
}

section.introduction2 {
  padding: var(--section-padding);
  background: url(../img/top/intoroduction-bg2.jpg) no-repeat;
  background-size: cover;
  color: #fff;
  .container > .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .text {
    margin-bottom: 2rem;
  }
  .flex-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-wrap: wrap;
      column-gap: 1rem;
    }
    .flex-item {
      .img {
        margin-inline: auto;
      }
      .title {
        text-align: center;
      }
      @media (max-width: 960px) {
        width: calc(100% / 2 - 1rem);
        .img {
          width: 85%;
        }
      }
    }
  }
}

/*=========================
  FAQ
=========================*/
section.faq {
  padding: var(--section-padding);
  background: url(../img/top/faq-bg.jpg) no-repeat;
  background-size: cover;
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .main {
      margin-bottom: 1rem;
    }
    .sub {
      font-size: 2rem;
      text-align: center;
      font-weight: 500;
      @media (max-width: 960px) {
        font-size: 1.75rem;
      }
    }
  }
  .flex-items {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
	margin-bottom: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-item {
      background-color: #fff;
      border: 1px solid #68b440;
      padding: 1.5rem;
	  width: 30%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .question {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 1rem;
        .q {
          flex-shrink: 0;
          background-color: #68b440;
          color: #fff;
          font-size: 1.25rem;
          aspect-ratio: 1/1;
          width: 35px;
          display: grid;
          place-content: center;
          margin-right: 0.5rem;
        }
      }
      .answer {
        .a {
          background-color: #2fb5b9;
          color: #fff;
          font-size: 1.25rem;
          aspect-ratio: 1/1;
          width: 35px;
          display: grid;
          place-content: center;
          margin-right: 1rem;
        }
        .text {
          color: #565310;
          font-size: 1rem;
          margin-bottom: 2rem;
        }
      }
    }
  }
}


section.faq .question{
	display: flex;
	justify-content: center;
	align-items: center;
}
section.faq .question .q{
	flex-shrink: 0;
	background-color: #68b440;
	color: #fff;
	font-size: 1.25rem;
	aspect-ratio: 1 / 1;
	width: 35px;
	display: grid;
	place-content: center;
	margin-right: 0.5rem;
}
section.faq .answer .a{
	background-color: #2fb5b9;
	color: #fff;
	font-size: 1.25rem;
	aspect-ratio: 1 / 1;
	width: 35px;
	display: grid;
	place-content: center;
	margin-left: 0.8em;
}
.accordion-004 {
    width: 80%;
	margin: 0 auto;
    margin-bottom: 30px;
    border: 2px solid #68b440;
    border-radius: 5px;
}

.accordion-004 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::before,
.accordion-004 summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #68b440;
    content: '';
}

.accordion-004 summary::before {
    position: absolute;
    right: 1em;
    rotate: 90deg;
}

.accordion-004 summary::after {
    transition: rotate .3s;
	    position: absolute;
	right: 1em;
}

.accordion-004[open] summary::after {
    rotate: 90deg;
}

.accordion-004 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 1em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}
@media (max-width: 960px) {
	.accordion-004 {
		width: 100%;
	}
	.accordion-004 summary {
		padding: 1em 1.5em 1em 1em;
	}
}

/*=========================
  footer
=========================*/
footer {
  border-top: #565310 1px solid;
  padding: var(--section-padding);
  .logo {
    margin-inline: auto;
    width: 400px;
    margin-bottom: 1rem;
    @media (max-width: 960px) {
      width: 300px;
    }
  }
  .label {
    background-color: #6c9258;
    color: #fff;
    width: fit-content;
    margin-inline: auto;
    padding: 1rem;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1rem;
    }
  }
  .address {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      flex-direction: column;
      gap: 2rem;
    }
    .links-wrapper {
      display: flex;
      justify-content: center;
      .link {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        color: #fff;
        padding: 1rem;
      }
      .tel {
        background-color: #5c9265;
      }
      .web {
        background-color: #7fc48a;
      }
    }
    .hours-wrapper {
      width: 480px;
      @media (max-width: 960px) {
        width: 95%;
        max-width: 480px;
      }
      .hours-table {
        background-color: #fff;
        border: #68b440 1px solid;
        display: grid;
        grid-template-columns: auto repeat(8, 1fr);
        font-size: 1rem;
        text-align: center;
        text-wrap: balance;
        .row {
          display: grid;
          grid-template-columns: subgrid;
          grid-column: 1 / -1;
          padding-right: 10px;
          &:first-of-type {
            background-color: #68b440;
            color: #ffffff;
          }
        }
        .th {
          padding: 0.5rem 0.5rem;
        }
        .cell {
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
      .color {
        color: #6c9258;
      }
      .text {
        font-size: 14px;
      }
    }
  }
  .dental-iiha_bnr{
	display: block;
	width: 234px;
	margin: 0 auto 50px;
  }
  .banner {
    display: block;
    width: min(600px, 80%);
    margin-inline: auto;
  }
}

section.map {
  .wrapper {
    width: 100%;
    height: 360px;
    iframe {
      width: 100%;
      height: 100%;
    }
    @media (max-width: 960px) {
      height: 260px;
    }
  }
}

.copyright {
  background-color: #68b440;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.sp-fixed-links {
  display: none;
  position: fixed;
  z-index: 10;
  bottom: 0;
  width: 100%;
  /* display: flex; */
  @media (max-width: 960px) {
    display: none;
  }
  .link {
    width: calc(100% / 3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    height: 70px;
    /* padding: 1rem 0; */
    .icon {
      width: 24px;
    }
  }
  .tel {
    background-color: #5c9265;
  }
  .web {
    background-color: #7fc48a;
  }
  .access {
    background-color: #a9dcb1;
  }
}
@media (max-width: 960px) {
  body {
    margin-bottom: 70px;
  }
  .sp-fixed-links {
    display: flex;
  }
}

/*=========================
  TOP　ポップアップ
=========================*/
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
	background-color: #fefefe;
	margin: 5% auto;
	padding: 20px 20px 50px;
	width: 80%;
	margin-top: 60px;
}
.modal-content h2.section-title {
    background-color: #cae2be;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    font-size: 1.5rem;
    font-weight: 600;
	margin-top: 50px;
}
.modal_links-wrapper{
	display: flex;
	justify-content: flex-start;
	gap: 3%;
}
.modal .tel {
	background-color: #5c9265;
}
.modal .web {
	background-color: #7fc48a;
}
.modal .link {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	color: #fff;
	padding: 1rem;
	}
.modal-content p{
	font-size: 1rem;
}
.modal-content p .red{
	color: red;
}
.modal-content .copy {
	width: fit-content;
	margin-inline: auto;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 500;
	margin-top: 3rem;
	margin-bottom: 3rem;
}
.modal-content .copy::after {
	content: '';
	display: block;
	width: 300px;
	margin-inline: auto; height: 3px;
	background: linear-gradient(to right, #2fb5b9 30%, #363528 30%);
	margin-top: 0.75rem;
}
.modal-content .policy-item .title {
	font-size: 1.25rem;
	font-weight: 500;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid #6c9258;
}
.modal-content .policy-item .text {
	margin-bottom: 20px;
}
.close-button {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 960px) {
	.modal-content {
		width: 90%;
	}
	.modal-content h2.section-title {
		font-size: 1.25rem;
	}
	.modal_links-wrapper{
		display: block
	}
	.modal .tel {
		margin-bottom: 15px;
	}
	.modal-content p{
		line-height: 1.75;
		font-size: 0.9rem;
	}
	.modal-content .copy {
		font-size: 1.25rem;
	}
	.modal-content .policy-item .title {
		font-size: 17px;
		font-weight: 500;
		padding-bottom: 0.5rem;
		margin-bottom: 1rem;
		border-bottom: 2px solid #6c9258;
	}
}
