@charset "utf-8";
/*=========================
  Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Questrial&display=swap');

.en {
  font-family: 'Questrial', serif;
}

/* color */
:root {
  --blue1: #5890cf;
  --blue2: #dae4f0;
  --navy: #28325b;
  --beige: #d1caba;
}
.blue {
  color: var(--blue1);
}

/* 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: 80px;
  }
}
body {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: #333333;
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  @media (max-width: 960px) {
    font-size: 1rem;
  }
}
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: 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: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: pink;
  --color: #333333;
  --bg-color-lighten: color-mix(in srgb, var(--bg-color), white 25%);
  --color-lighten: color-mix(in srgb, var(--color), white 25%);
  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: var(--bg-color-lighten);
      color: var(--color-lighten);
      border: var(--color-lighten) 1px solid;
    } */
    &::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;
    }
  }
}

.section-title {
  text-align: center;
  text-wrap: balance;
  margin-bottom: 4rem;
  @media (max-width: 960px) {
    margin-bottom: 3rem;
  }
  .en {
    color: var(--beige);
    font-size: 8rem;
    line-height: 1;
    @media (max-width: 960px) {
      font-size: 4rem;
    }
  }
  .jp {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    &::before,
    &::after {
      content: '';
      width: min(200px, 20%);
      margin-inline: 1rem;
      height: 1px;
      background-color: #333333;
    }
    @media (max-width: 960px) {
      font-size: 1.25rem;
      &::before,
      &::after {
        display: none;
      }
    }
  }
}

/*=========================
  header
=========================*/
header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  /* height: 100px; */
  @media (max-width: 960px) {
    position: fixed;
    height: 80px;
  }
  .flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .logo {
    @media (max-width: 960px) {
      width: 240px;
      margin: 10px;
    }
  }
  .nav-groupe {
    display: flex;
    align-items: flex-start;
  }
  .links {
    background-color: var(--blue2);
    padding: 10px 1rem 1rem;
    text-align: center;
    margin-right: 2rem;
    @media (max-width: 960px) {
      display: none;
    }
    .label {
      background-color: #333333;
      color: #fff;
      font-size: 0.8rem;
      padding: 2px 20px;
      border-radius: 100px;
      margin-bottom: 10px;
      /* width: max-content; */
      margin-inline: auto;
    }
    .link-items {
      display: flex;
      justify-content: center;
      gap: 1rem;
    }
    .link-item {
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem 2rem;
      font-size: 1.5rem;
      position: relative;
      .icon {
        margin-right: 10px;
      }
      &::before {
        content: '';
        position: absolute;
        right: 3px;
        bottom: 3px;
        width: 20px;
        height: 20px;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        background-color: #fff;
        /* opacity: 0.75; */
      }
    }
    .link-item.tel {
      background-color: var(--navy);
    }
    .link-item.web {
      background-color: var(--blue1);
    }
  }
  .hamburger {
    color: var(--navy);
    width: 80px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    @media (max-width: 960px) {
      background-color: var(--navy);
      color: #ffffff;
      width: 50px;
      margin: 10px;
    }
    .lines {
      width: 40px;
      min-height: fit-content;
      aspect-ratio: 40/25;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: calc(100% / 3);
      position: relative;
      .line {
        height: 3px;
        width: 100%;
        /* background-color: #ffffff; */
        background-color: var(--navy);
        transition: 0.3s;
      }
      @media (max-width: 960px) {
        width: 25px;
        .line {
          height: 1px;
          background-color: #ffffff;
        }
      }
    }
    .row {
      font-size: 14px;
      font-weight: 600;
      transition: 0.3s;
      @media (max-width: 960px) {
        font-size: 10px;
      }
    }
  }
  .hamburger.active {
    color: #ffffff;
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 100%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 100%;
      rotate: 45deg;
    }
  }
  .sp-nav {
    background-color: rgba(40, 50, 91, 0.9);
    color: #fff;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 90vw;
    height: 100dvh;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    .nav-items {
      width: max-content;
      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;
      }
    }
  }
  .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%;
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  .mv-img {
    width: 100%;
    @media (max-width: 960px) {
      min-height: 400px;
      object-fit: cover;
      object-position: 70% 50%;
    }
  }
  .copy {
    position: absolute;
    top: 50%;
    left: 5%;
    translate: 0% -50%;
    width: max-content;
    font-size: clamp(2.25rem, 0rem + 3.75vw, 4.5rem);
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .point {
    position: absolute;
    top: 70%;
    left: 35%;
    translate: 0% -50%;
    width: calc(412 / 1920 * 100vw * 1.2);
    max-width: 412px;
    @media (max-width: 960px) {
      top: initial;
      left: initial;
      bottom: 1rem;
      right: 1rem;
      translate: 0% 0%;
      width: calc(240 / 430 * 100vw);
      max-width: 240px;
    }
  }
}

/*=========================
  movie
=========================*/
section.movie {
  padding: var(--section-padding);
  background-color: var(--blue2);
  .wrapper {
    width: calc(100% - 2rem);
    max-width: 900px;
    margin-inline: auto;
    video {
      max-width: 100%;
    }
  }
}

/*=========================
  trouble
=========================*/
section.trouble {
  .label {
    background-color: #f1efea;
    padding: 3rem;
    font-size: 2rem;
    text-align: center;
    text-wrap: balance;
    .en {
      font-size: 1.125rem;
    }
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .bg1 {
    padding: 5rem 0;
    background: url(../img/trouble-bg1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    .flex-items {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 0rem;
      .flex-item {
        width: calc(100% / 4);
        @media (max-width: 960px) {
          width: calc(100% / 2);
        }
      }
    }
  }
  .bg2 {
    padding: 0 0 5rem;
    background: url(../img/trouble-bg2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    .label-arrow {
      padding: 1rem 0 4rem;
      background-color: #7a766b;
      color: #ffffff;
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
      text-wrap: balance;
      margin-bottom: 4rem;
      clip-path: polygon(100% 0, 0 0, 50% 100%);
      @media (max-width: 960px) {
        padding: 2rem;
        clip-path: none;
        font-size: 1.5rem;
      }
    }
    .copy {
      text-align: center;
      margin-bottom: 2rem;
      .row:nth-of-type(2) {
        font-size: 2rem;
      }
      @media (max-width: 960px) {
        .row:nth-of-type(1) {
          margin-bottom: 0.5rem;
        }
        .row:nth-of-type(2) {
          font-size: 1.25rem;
        }
      }
    }
    .link-items {
      background-color: var(--blue2);
      display: flex;
      justify-content: center;
      gap: 2rem;
      width: fit-content;
      margin-inline: auto;
      padding: 1rem 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
        gap: 1rem;
      }
      .link-item {
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 2rem;
        font-size: 1.5rem;
        position: relative;
        .icon {
          margin-right: 10px;
        }
        &::before {
          content: '';
          position: absolute;
          right: 3px;
          bottom: 3px;
          width: 20px;
          height: 20px;
          clip-path: polygon(100% 0, 0% 100%, 100% 100%);
          background-color: #fff;
        }
      }
      .link-item.tel {
        background-color: var(--navy);
      }
      .link-item.web {
        background-color: var(--blue1);
      }
    }
  }
}

/*=========================
  feature
=========================*/
.feature-title {
  color: var(--beige);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  .number {
    margin-left: 1rem;
    font-size: 5rem;
  }
  @media (max-width: 960px) {
    font-size: 1.75rem;
    .number {
      font-size: 3rem;
    }
  }
}

section.feature {
  padding: var(--section-padding);
  padding-bottom: 0;
  background: url(../img/feature-bg.svg) no-repeat;
  background-size: cover;
  background-position: center;
  .feature01 {
    padding: 3rem 0;
    /* padding-top: 0; */
    position: relative;
    .inner {
      max-width: 830px;
      position: relative;
      z-index: 1;
    }
    @media (max-width: 960px) {
      .feature-title {
        text-align: center;
        text-shadow: 0px 0px 3px rgb(0 0 0 / 0.25);
      }
    }
    .title {
      font-size: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        text-align: center;
      }
    }
    .textbox {
      box-shadow: 0 0px 10px rgba(0, 0, 0, 0.15);
      background-color: #ffffff;
      padding: 2rem;
      outline: #333 1px solid;
      outline-offset: -10px;
    }
    .feature-img {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

/*=========================
  feature02
=========================*/
section.feature02 {
  padding: var(--section-padding);
  .feature-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  .title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1.75rem;
    }
  }
  .text {
    text-align: center;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      text-align: justify;
    }
  }
  .flex-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-item {
      width: calc(100% / 4 - 2rem);
      margin-bottom: 4rem;
      .img {
        width: 100%;
        /* aspect-ratio: 261/225;
        object-fit: cover; */
      }
      .item-title {
        background-color: var(--navy);
        color: #ffffff;
        text-align: center;
        padding: 0.5rem 1rem;
      }
      @media (max-width: 960px) {
        width: 100%;
        max-width: 500px;
        margin-bottom: 2rem;
        .img {
          width: 100%;
          aspect-ratio: 16/9;
          object-fit: cover;
        }
      }
    }
  }
  .textbox {
    padding: 2rem;
    background-color: var(--blue2);
    position: relative;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    .point {
      position: absolute;
      width: calc(240 / 1920 * 100vw);
      max-width: 179px;
      top: -2rem;
      left: 2rem;
      @media (max-width: 960px) {
        display: none;
      }
    }
    .flex {
      display: flex;
      justify-content: center;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .flex-left {
        width: 60%;
        position: relative;
        .title {
          .row:nth-of-type(1) {
            font-size: 1.25rem;
          }
          .row:nth-of-type(2) {
          }
        }
        .text {
          text-align: initial;
        }
        @media (max-width: 960px) {
          width: 100%;
          .title {
            margin-bottom: 1rem;
          }
        }
      }
      .flex-right {
        width: 40%;
        .inner {
          max-width: 300px;
          margin-inline: auto;
        }
        .img {
          width: 100%;
        }
        .name {
          background-color: var(--navy);
          color: #ffffff;
          text-align: center;
          padding: 1rem;
        }
        @media (max-width: 960px) {
          width: 100%;
        }
      }
    }
  }
}

/*=========================
  feature03
=========================*/
section.feature03 {
  padding: var(--section-padding);
  background: url(../img/feature03-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-left {
        width: min(100%, 500px);
        margin-inline: auto;
      }
      .flex-right {
        width: 100%;
      }
    }
  }
  .texts {
    .feature-title {
      text-align: center;
    }
    .title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 2rem;
    }
  }
  .texts2 {
    border-bottom: 2px solid var(--blue1);
    .flex {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      margin-bottom: 1rem;
      .flex-left {
        width: 30%;
      }
      .flex-right {
        width: 70%;
      }
      @media (max-width: 960px) {
        .flex-left {
          width: min(100%, 500px);
          margin-inline: auto;
        }
        .flex-right {
          width: 100%;
        }
      }
    }
    .title {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 1rem;
      font-size: 1.5rem;
      text-align: center;
      margin-bottom: 1rem;
      &::before,
      &::after {
        content: '';
        display: inline-block;
        background-color: var(--blue1);
        width: 100%;
        height: 2px;
      }
      @media (max-width: 960px) {
        gap: 0.5rem;
      }
    }
  }
}

/*=========================
  feature04
=========================*/
section.feature04 {
  padding: var(--section-padding);
  background: url(../img/feature-bg.svg) no-repeat;
  background-size: cover;
  background-position: center;
  .flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-left {
      width: 60%;
      .feature-title {
        text-align: center;
      }
      .title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
      }
      @media (max-width: 960px) {
        width: 100%;
        .title {
          font-size: 1.5rem;
        }
      }
    }
    .flex-right {
      width: 40%;
      .img2 {
        position: relative;
        top: -50px;
        margin-left: 40%;
      }
      @media (max-width: 960px) {
        width: min(100%, 500px);
        margin-inline: auto;
        .img2 {
          position: relative;
          top: -50px;
          margin-left: auto;
        }
      }
    }
  }
}

/*=========================
  feature05
=========================*/
section.feature05 {
  padding: var(--section-padding);
  background: url(../img/feature03-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  .feature-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  .title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1.75rem;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
      .title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-left {
        width: min(100%, 500px);
        margin-inline: auto;
      }
      .flex-right {
        width: 100%;
        .title {
          font-size: 1.15rem;
        }
      }
    }
  }
}

/*=========================
  contact
=========================*/
section.contact {
  padding: var(--section-padding);
  background: url(../img/contact-bg.png) no-repeat;
  background-size: cover;
  background-position: center;
  .section-title {
    margin-bottom: 1rem;
    .en {
      color: var(--navy);
    }
  }
  .copy {
    text-align: center;
    margin-bottom: 1rem;
    .row:nth-of-type(2) {
      font-size: 2rem;
    }
    @media (max-width: 960px) {
      .row:nth-of-type(1) {
        font-size: 1rem;
        margin-bottom: 0.5rem;
      }
      .row:nth-of-type(2) {
        font-size: 1.25rem;
      }
    }
  }
  .link-items {
    background-color: var(--blue2);
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: fit-content;
    margin-inline: auto;
    padding: 1rem 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
      gap: 1rem;
    }
    .link-item {
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem 2rem;
      font-size: 1.5rem;
      position: relative;

      .icon {
        margin-right: 10px;
      }
      &::before {
        content: '';
        position: absolute;
        right: 3px;
        bottom: 3px;
        width: 20px;
        height: 20px;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        background-color: #fff;
      }
    }
    .link-item.tel {
      background-color: var(--navy);
    }
    .link-item.web {
      background-color: var(--blue1);
    }
  }
}

/*=========================
  rejected
=========================*/
section.rejected {
  padding: var(--section-padding);
  background-color: #f1efea;
  .title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    @media (max-width: 960px) {
      font-size: 1.25rem;
    }
  }
  .copy {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .text {
    max-width: 800px;
    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: calc(100% / 3 - 2rem);
      background-color: #ffffff;
      border: 1px solid var(--navy);
      padding: 2rem;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-direction: column;
      @media (max-width: 960px) {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
      }
      .title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .border {
        background-color: #333333;
        width: 50%;
        height: 2px;
        margin-inline: auto;
        margin-bottom: 1rem;
      }
      .text {
        margin-bottom: 0;
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  flow
=========================*/
section.flow {
  padding: var(--section-padding);
  background: url(../img/flow-bg.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 0;
  .flow-items {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 4rem;
    .flow-item {
      background-color: #ffffff;
      box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
      padding: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        padding: 1rem;
      }
      .flex {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          flex-direction: column;
        }
        .flex-left {
          width: 70%;
          @media (max-width: 960px) {
            width: 100%;
          }
          > .row {
            display: flex;
            align-items: center;
            border-bottom: 2px solid var(--blue1);
            padding-bottom: 1rem;
            margin-bottom: 1rem;
            .number {
              background-color: var(--blue1);
              color: #ffffff;
              aspect-ratio: 1/1;
              width: 60px;
              border-radius: 100vmax;
              display: flex;
              justify-content: center;
              align-items: center;
              font-size: 2rem;
              margin-right: 1rem;
              @media (max-width: 960px) {
                font-size: 1.5rem;
                width: 50px;
                flex-shrink: 0;
              }
            }
            .title {
              font-size: 2rem;
              @media (max-width: 960px) {
                font-size: 1.5rem;
              }
            }
          }
        }
        .flex-right {
          width: 30%;
          .img {
            width: 100%;
            object-fit: cover;
          }
          @media (max-width: 960px) {
            width: min(100%, 500px);
            margin-inline: auto;
          }
        }
      }
      .bg-gray {
        background-color: #f4f4f4;
        padding: 2rem;
        @media (max-width: 960px) {
          padding: 2rem 1rem;
        }
        .copy {
          text-align: center;
          margin-bottom: 1rem;
          .row:nth-of-type(2) {
            font-size: 2rem;
          }
          @media (max-width: 960px) {
            .row:nth-of-type(1) {
              font-size: 1rem;
            }
            .row:nth-of-type(2) {
              font-size: 1.25rem;
            }
          }
        }
        .link-items {
          background-color: var(--blue2);
          display: flex;
          justify-content: center;
          gap: 2rem;
          width: 100%;
          max-width: 1000px;
          margin-inline: auto;
          padding: 1rem 2rem;
          @media (max-width: 960px) {
            background-color: transparent;
            padding: 0;
            flex-direction: column;
            gap: 1rem;
          }
          .link-item {
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem 2rem;
            font-size: 1.5rem;
            position: relative;
            .icon {
              margin-right: 10px;
            }
            &::before {
              content: '';
              position: absolute;
              right: 3px;
              bottom: 3px;
              width: 20px;
              height: 20px;
              clip-path: polygon(100% 0, 0% 100%, 100% 100%);
              background-color: #fff;
            }
          }
          .link-item.tel {
            width: 50%;
            max-width: 400px;
            background-color: var(--navy);
            height: 100px;
            @media (max-width: 960px) {
              width: 100%;
            }
          }
          .link-item.web {
            width: 50%;
            max-width: 400px;
            background-color: var(--blue1);
            height: 100px;
            @media (max-width: 960px) {
              width: 100%;
            }
          }
        }
      }
    }
  }
  .textbox {
    background-color: #dae4f0;
    padding: 2rem;
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      .flex-left {
        width: 65%;
        .title {
          font-size: 2rem;
          margin-bottom: 1rem;
        }
      }
      .flex-right {
        width: 35%;
      }
      @media (max-width: 960px) {
        flex-direction: column;
        .flex-left {
          width: 100%;
          .title {
            font-size: 1.5rem;
            text-align: center;
          }
        }
        .flex-right {
          width: 100%;
        }
      }
    }
  }
}

/*=========================
  case
=========================*/
section.case {
  padding: var(--section-padding);
  background-color: #f1efea;
  .case-items {
    max-width: 900px;
    margin-inline: auto;
    .case-item {
      margin-bottom: 4rem;
      .label {
        background-color: var(--navy);
        color: #ffffff;
        text-align: center;
        font-size: 1.5rem;
        padding: 1rem;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          padding: 0.5rem;
          font-size: 1.25rem;
        }
      }
      .title {
        text-align: center;
        margin-bottom: 1rem;
      }
      .before-after {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        @media (max-width: 960px) {
          gap: 0.5rem;
        }
        .before,
        .after {
          width: calc(50% - 10px);
          .img {
            width: 100%;
          }
          .title {
            background-color: var(--navy);
            color: #ffffff;
            padding: 0.5rem;
            @media (max-width: 960px) {
              font-size: 1rem;
            }
          }
        }
        .arrow {
          width: 30px;
          height: 50px;
          clip-path: polygon(0 0, 0% 100%, 100% 50%);
          background-color: var(--navy);
          @media (max-width: 960px) {
            width: 10px;
            height: 25px;
          }
        }
      }
    }
  }
}

/*=========================
  fee
=========================*/
section.fee {
  padding: var(--section-padding);
  background: url(../img/feature03-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  .section-title {
    .row:nth-of-type(1) {
      font-size: 3rem;
      @media (max-width: 960px) {
        font-size: 2rem;
      }
    }
    .row:nth-of-type(2) {
      font-size: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
  }
  .table-groupe {
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 4rem;
    .table {
      display: grid;
      grid-template-columns: 1fr 1fr;
      @media (max-width: 960px) {
        grid-template-columns: 1fr;
        font-size: 1rem;
      }
      .row {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1/-1;
        @media (max-width: 960px) {
          border: 1px solid var(--navy);
        }
        .th {
          background-color: var(--blue1);
          color: #ffffff;
          padding: 0.5rem 1rem;
        }
        .td {
          background-color: #ffffff;
          padding: 0.5rem 1rem;
          display: flex;
          /* justify-content: center; */
          align-items: center;
        }
      }
      .row:not(:last-of-type) {
        .th {
          border-bottom: 1px solid #ffffff;
        }
        .td {
          border-bottom: 1px solid #dae4f0;
        }
        @media (max-width: 960px) {
          border-bottom: none;
        }
      }
    }
    .text {
      font-size: 1rem;
      @media (max-width: 960px) {
        font-size: 0.9rem;
      }
    }
  }
  .textbox1 {
    max-width: 1000px;
    margin-inline: auto;
    background-color: #ffffff;
    border: 1px solid #333333;
    padding: 2rem;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    .title {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    .img {
      margin-inline: auto;
      margin-bottom: 1rem;
    }
    .row {
      text-align: center;
      margin-bottom: 1rem;
    }
    .row:nth-child(2) {
      margin-bottom: 0;
    }
  }
  .textbox2 {
    background-color: var(--blue2);
    padding: 2rem;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      .flex-left {
        width: 65%;
        .title {
          font-size: 2rem;
          margin-bottom: 1rem;
        }
      }
      .flex-right {
        width: 35%;
        .img {
          width: 100%;
        }
      }
      @media (max-width: 960px) {
        flex-direction: column;
        .flex-left {
          width: 100%;
          .title {
            font-size: 2rem;
            text-align: center;
          }
        }
        .flex-right {
          width: 100%;
        }
      }
    }
  }
}

/*=========================
  greeting
=========================*/
section.greeting {
  padding: var(--section-padding);
  .flex {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .flex-left {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title {
        font-size: 2rem;
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          font-size: 1.25rem;
          text-align: center;
        }
      }
      .text {
        margin-bottom: 4rem;
        @media (max-width: 960px) {
          margin-bottom: 1rem;
        }
      }
      .name {
        width: max-content;
        margin-left: auto;
        .row {
          display: flex;
          align-items: baseline;
          gap: 1rem;
        }
        .jp {
          font-size: 2rem;
        }
        .en {
          color: #d1caba;
          text-align: right;
        }
        @media (max-width: 960px) {
          margin-inline: auto;
          .jp {
            font-size: 1.5rem;
          }
        }
      }
    }
    .flex-right {
      width: 50%;
      padding-bottom: 2rem;
      @media (max-width: 960px) {
        width: 100%;
        max-width: 100%;
      }
      .inner {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        /* padding: 0; */
        /* display: -webkit-box; */
      }
      .img {
        /* display: block; */
        width: 85%;
        margin-left: auto;
        margin-right: 0;
        @media (max-width: 960px) {
          width: 85%;
          max-width: 100%;
        }
      }
      .label {
        /* display: inline-block; */
        position: absolute;
        z-index: 1;
        top: 0%;
        right: 0%;
        padding: 0;
        .jp {
          background-color: var(--navy);
          color: #ffffff;
          writing-mode: vertical-lr;
          font-size: 2rem;
          letter-spacing: 0.3em;
          padding: 2rem 1rem;
          @media (max-width: 960px) {
            font-size: 1.5rem;
          }
        }
        .en {
          margin-left: auto;
          padding: 1rem;
          font-size: 1.75rem;
          writing-mode: vertical-lr;
          @media (max-width: 960px) {
            font-size: 1.25rem;
          }
        }
      }
      .circle {
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 0;
        @media (max-width: 960px) {
          width: 130px;
        }
      }
    }
  }
  .bg-blue {
    background-color: var(--blue2);
    padding: 2rem 0;
    .flex {
      width: calc(100% - 2rem);
      max-width: 1100px;
      margin-inline: auto;
      margin-bottom: 0;
      display: flex;
      justify-content: center;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .table {
      width: 50%;
      background-color: #ffffff;
      padding: 1rem;
      border: #333333 1px solid;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title {
        background-color: #333333;
        color: #ffffff;
        text-align: center;
        padding: 1rem;
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        @media (max-width: 960px) {
          padding: 0.5rem;
          font-size: 1.25rem;
        }
      }
      li {
        margin-bottom: 0.5rem;
        @media (max-width: 960px) {
          margin-bottom: 1rem;
          font-size: 1rem;
        }
      }
    }
    .table:nth-child(1) {
      li {
        display: flex;
        column-gap: 1rem;
        .block {
          flex-shrink: 0;
        }
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          flex-direction: column;
        }
      }
    }
    .table:nth-child(2) {
      li {
        padding-left: 1rem;
        margin-bottom: 2rem;
      }
    }
  }
}

/*=========================
  clinic
=========================*/
section.clinic {
  padding: var(--section-padding);
  .section-title {
    .row:nth-child(1) {
      font-size: 3rem;
    }
    .row:nth-child(2) {
      font-size: 2rem;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .flex-left {
      width: 50%;
      @media (max-width: 960px) {
        width: min(100%, 500px);
        margin-inline: auto;
      }
    }
    .flex-right {
      width: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      @media (max-width: 960px) {
        width: 100%;
      }
      .logo {
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          width: min(90%, 280px);
          margin-inline: auto;
        }
      }
      .address {
        text-align: center;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          font-size: 1rem;
        }
      }
      .tel {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
        display: block;
        width: fit-content;
        margin-inline: auto;
      }
      .hour-table-wrapper {
        .hours-table {
          border-top: 1px solid #333333;
          border-bottom: 1px solid #333333;
          padding: 0.5rem 0rem;
          display: grid;
          grid-template-columns: auto repeat(8, 1fr);
          font-size: 1rem;
          text-align: center;
          text-wrap: balance;
          margin-bottom: 1rem;
          .row {
            display: grid;
            grid-template-columns: subgrid;
            grid-column: 1 / -1;
            &:first-of-type {
              border-bottom: 1px solid #333333;
              padding-bottom: 0.5rem;
              margin-bottom: 0.5rem;
            }
          }
          .th {
            padding: 0.5rem 0.5rem;
          }
          .cell {
            display: flex;
            justify-content: center;
            align-items: center;
          }
        }
        .text {
          font-size: 1rem;
        }
      }
    }
  }
  .map-wrapper {
    width: 100%;
    height: 400px;
    iframe {
      width: 100%;
      height: 100%;
    }
  }
}

/*=========================
  faq
=========================*/
section.faq {
  padding: var(--section-padding);
  background: url(../img/feature03-bg.jpg) no-repeat;
  /* background-size: cover; */
  background-position: top;
  .section-title {
    .en {
      color: var(--navy);
    }
    .jp {
      color: var(--navy);
    }
  }
  .faq-items {
    max-width: 1000px;
    margin-inline: auto;
  }
  .faq-item {
    background-color: #ffffff;
    margin-bottom: 2rem;
    border: 1px solid var(--navy);
    .question {
      background-color: var(--blue1);
      color: #ffffff;
      font-size: 1.5rem;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      @media (max-width: 960px) {
        font-size: 1.125rem;
      }
      .Q {
        background-color: var(--navy);
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        @media (max-width: 960px) {
          padding: 0.5rem;
        }
      }
      .title {
        width: 100%;
        padding: 1rem;
        @media (max-width: 960px) {
          font-size: 1rem;
        }
      }
      .icon {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 1rem;
      }
    }
    .answer {
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-in-out;
      .text {
        padding: 2rem;
        @media (max-width: 960px) {
          padding: 1rem;
          font-size: 0.9rem;
        }
      }
    }
  }
  .faq-item:last-of-type {
    margin-bottom: 0;
  }
  .faq-item.open {
    .answer {
      max-height: 500px;
    }
  }
}

/*=========================
  contact form
=========================*/
section.contact-form {
  padding: var(--section-padding);
  background-color: var(--blue2);
  .section-title {
    .en {
      color: var(--blue1);
    }
    .jp {
      color: #333333;
    }
  }
  .form-wrapper {
    max-width: 1000px;
    margin-inline: auto;
    .form-table {
      display: grid;
      grid-template-columns: 30% 1fr;
      border: 1px solid var(--navy);
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        grid-template-columns: 1fr;
      }
      .form-item {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1/-1;
        .th {
          background-color: var(--navy);
          color: #ffffff;
          display: flex;
          justify-content: center;
          align-items: center;
          border-bottom: 1px solid #ffffff;
          @media (max-width: 960px) {
            padding: 0.5rem;
          }
        }
        .td {
          padding: 0.75rem 1.5rem;
          border-bottom: 1px solid var(--navy);
          @media (max-width: 960px) {
            padding: 0.5rem 1rem;
          }
          input,
          textarea {
            width: 100%;
            border: none;
          }
          input[type='checkbox'] {
            width: auto;
          }
        }
      }
      .form-item:last-child {
        .th,
        .td {
          border-bottom: none;
        }
      }
      .post-code {
        input {
          max-width: 230px;
          margin-left: 0.5rem;
        }
        margin-bottom: 1rem;
      }
    }
    .submit-button {
      display: block;
      margin-inline: auto;
      background-color: var(--navy);
      color: #ffffff;
      border: none;
      cursor: pointer;
      padding: 0.5rem 1rem;
      font-size: 1.25rem;
      min-width: 200px;
      @media (any-hover: hover) {
        transition: 0.3s;
        &:hover {
          opacity: 0.7;
        }
      }
    }
    .required {
      color: red;
      margin-left: 0.5rem;
    }
    .privacy-policy {
      max-height: 200px;
      overflow-y: scroll;
      background-color: #ffffff;
      margin-bottom: 1rem;
      padding: 8px;
      p {
        font-size: 0.9rem;
      }
    }
  }
}

.copyright {
  background-color: var(--navy);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}
