@charset "utf-8";
/*=========================
  Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

/* color */
:root {
  --navy: #132b88;
  --yellow: #ffe109;
  --gold: #a3925e;
  --black: #333333;
}

/* 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: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.125rem;
  color: #333333;
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
}
a {
  text-decoration: none;
  transition: 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.75;
    }
  }
}

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;
  margin-bottom: 3rem;
  font-weight: 700;
  .en {
    font-size: 6rem;
    background: linear-gradient(180deg, #00197a 0%, #2641a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .jp {
    font-size: 2rem;
    margin-top: 2rem;
  }
  @media (max-width: 960px) {
    .en {
      font-size: 2.75rem;
    }
    .jp {
      font-size: 1.25rem;
    }
  }
}

.hours-table {
  background-color: var(--gold);
  color: #ffffff;
  padding: 0.5rem 1rem;
  display: grid;
  grid-template-columns: auto repeat(7, 1fr);
  font-size: 1rem;
  text-align: center;
  text-wrap: balance;
  .row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    &:first-of-type {
      border-bottom: 1px solid #ffffff;
      padding-bottom: 0.5rem;
      margin-bottom: 0.5rem;
    }
  }
  .th {
    padding: 0.5rem 0.5rem;
  }
  .cell {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/*=========================
  header
=========================*/
header {
  /* height: 100px; */
  position: absolute;
  z-index: 10;
  width: 100%;
  padding-left: 1rem;
  .flex {
    display: flex;
    justify-content: space-between;
  }
  .flex-right {
    display: flex;
  }
  .logo-groupe {
    .row1 {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
    }
    .logo {
      max-width: 450px;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
    }
    .sub {
      color: #ffffff;
      border: 1px solid #ffffff;
      padding: 0.5rem;
      text-align: center;
      font-size: 1rem;
      font-weight: 700;
    }
    .address-wrapper {
      width: fit-content;
      margin-left: 2rem;
      text-align: center;
      font-size: 1rem;
    }
    .address1 {
      margin-bottom: 0.5rem;
    }
    .address2 {
      background-color: var(--navy);
      color: #ffffff;
      width: fit-content;
      padding: 0.25rem 0.75rem;
      border-radius: 100px;
      margin-bottom: 0.5rem;
    }
  }
  .links {
    display: flex;
    justify-content: center;
    height: max-content;
    text-align: center;
    line-height: 1;
  }
  .tel {
    opacity: 1;
    padding: 0.5rem 1rem;
    background-color: var(--gold);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      clip-path: polygon(0 0, 0% 100%, 100% 0);
      background-color: #ffffff;
      opacity: 0.2;
    }
    * {
      position: relative;
      z-index: 1;
    }
    .row2 {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2rem;
    }
    .icon {
      margin-right: 0.5rem;
    }
  }
  .web {
    opacity: 1;
    padding: 1rem 2rem;
    background-color: var(--yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      clip-path: polygon(0 0, 0% 100%, 100% 0);
      background-color: #ffffff;
      opacity: 0.2;
    }
    * {
      position: relative;
      z-index: 1;
    }
    .icon {
      margin-inline: auto;
      width: 30px;
    }
  }
  .menu {
    opacity: 1;
    padding: 1rem 1rem;
    background-color: var(--navy);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    .sp-hamburger {
      display: flex;
      position: relative;
      z-index: 1001;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30%;
      width: 30px;
      height: fit-content;
      aspect-ratio: 1/1;
      .line {
        height: 1px;
        width: 100%;
        background-color: #ffffff;
        content: '';
        transition: 0.3s;
      }
    }
  }
  .menu.active {
    opacity: 1;
    .sp-hamburger {
      .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 {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 90vw;
    height: 100dvh;
    background-color: var(--navy);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    .inner {
    }
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      /* align-items: center; */
      justify-content: center;
      gap: 1.5rem;
      .nav-items__item a {
        /* text-align: center;
        text-wrap: balance; */
        font-size: 1.5rem;
        border-bottom: 1px solid #ffffff;
        @media (max-width: 960px) {
          font-size: 1.125rem;
        }
      }
    }
  }
  .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;
  }
}
@media (max-width: 1120px) {
  header {
    .logo-groupe {
      .row1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }
      .logo {
        width: 60%;
        margin-top: 10px;
      }
      .sub {
        padding: 5px;
        /* font-size: 12px; */
      }
      .address-wrapper {
        display: none;
      }
    }
    .links {
      .tel,
      .web {
        display: none;
      }
      .menu {
        width: max-content;
        font-size: 10px;
        padding: 10px;
        .sp-hamburger {
          width: 20px;
        }
      }
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  min-height: 750px;
  .mv-img {
    width: 100%;
    height: 100%;
    min-height: 750px;
    object-fit: cover;
  }
  .overlay-stripe {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 30%;
    height: 100%;
  }
  .inner {
    position: absolute;
    z-index: 2;
    bottom: 5%;
    left: 0;
    right: 0;
    color: #ffffff;
    width: 90%;
    margin-inline: auto;
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    .flex-left {
      width: 40%;
    }
    .flex-right {
      width: 60%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 2rem;
    }
  }
  .copy {
    text-align: center;
    text-shadow: 0px 3px 6px rgb(0 0 0 / 0.75);
    letter-spacing: 0.2em;
    .row1 {
      font-size: clamp(1.5rem, 0.5rem + 1.6667vw, 2.5rem);
    }
    .row2 {
      font-size: clamp(2.5rem, 1rem + 2.5vw, 4rem);
    }
    .row3 {
      font-size: clamp(2.5rem, 1rem + 2.5vw, 4rem);
    }
  }
  .banner {
    opacity: 1;
    display: block;
    margin-inline: auto;
  }
  .banner1 {
  }
  .banner2 {
  }
}
@media (max-width: 960px) {
  section.mv {
    min-height: 500px;
    .mv-img {
      min-height: 500px;
    }
    .flex {
      .flex-left {
        display: none;
      }
      .flex-right {
        width: 100%;
        margin-inline: auto;
      }
    }
    .copy {
      .row1 {
        font-size: 1.125rem;
      }
      .row2,
      .row3 {
        font-size: 1.75rem;
      }
    }
    .banner2 {
      width: 100%;
      max-width: 500px;
    }
  }
}

.under-mv {
  margin: 3rem 0;
  .container {
    margin: 3rem 0;
    margin-inline: auto;
  }
  .banner {
    width: 80%;
    max-width: 500px;
    margin-inline: auto;
    margin-bottom: 1rem;
  }
  .address-wrapper {
    width: fit-content;
    margin-inline: auto;
    text-align: center;
    font-size: 1rem;
  }
  .address1 {
    margin-bottom: 0.5rem;
  }
  .address2 {
    background-color: var(--navy);
    color: #ffffff;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
  }
}

/*=========================
  consultation
=========================*/
section.consultation {
  background: url(../img/consultation-bg.jpg) no-repeat;
  background-size: cover;
  color: #ffffff;
  position: relative;
  padding: 5rem 0;
  .container {
    position: relative;
    z-index: 1;
  }
  .copy {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    span:not(.sp-row) {
      font-size: 1.5em;
    }
    @media (max-width: 960px) {
      .sp-row {
        font-size: 1.5em;
      }
    }
  }
  .links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: calc(100% - 2rem);
    max-width: 700px;
    margin-inline: auto;
    .tel,
    .web {
      opacity: 1;
      position: relative;
      &::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #ffffff;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
      }
      @media (any-hover: hover) {
        &:hover::after {
          opacity: 0.4;
        }
      }
    }
  }
  .bg-img.img1 {
    position: absolute;
    bottom: 20px;
    left: 5%;
    width: calc(284 / 1920 * 100vw);
    max-width: 284px;
    @media (max-width: 960px) {
      width: calc(130 / 430 * 100vw);
      max-width: 200px;
    }
  }
  .bg-img.img2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(677 / 1920 * 100vw);
    max-width: 677px;
    @media (max-width: 960px) {
      width: calc(250 / 430 * 100vw);
      max-width: 400px;
    }
  }
}
@media (max-width: 960px) {
  section.consultation {
    .copy {
      font-size: 1.125rem;
    }
    .links {
      flex-direction: column;
      .tel,
      .web {
        width: fit-content;
        max-width: 80%;
        margin-inline: auto;
      }
      .banner-sp {
      }
    }
  }
}

/*=========================
  implant
=========================*/
section.implant {
  padding: var(--section-padding);
  background: url(../img/implant-bg.svg) no-repeat;
  background-size: cover;
  .implant-item {
    background-color: #2641a9;
    color: #ffffff;
    padding: 2rem;
    outline: 1px solid #ffffff;
    outline-offset: -10px;
    position: relative;
    padding-bottom: 7rem;
    margin-top: 12rem;
    margin-bottom: 5rem;
    .number {
      position: absolute;
      bottom: 20px;
      left: 20px;
      font-size: 6rem;
      line-height: 1;
      opacity: 0.3;
    }
    .flex {
      display: flex;
      justify-content: center;
      gap: 2rem;
      .flex-left {
        width: 50%;
        position: relative;
      }
      .flex-right {
        width: 50%;
        position: relative;
      }
    }
    .texts-wrapper {
      padding-inline: 1rem;
    }
    .title {
      text-align: center;
      margin-bottom: 1rem;
      .row1 {
        font-size: 1.5rem;
      }
      .row2 {
        font-size: 2rem;
      }
    }
    .item-img {
      position: absolute;
      z-index: 1;
      top: -7rem;
      width: 100%;
    }
    @media (max-width: 960px) {
      padding: 1rem;
      margin-inline: calc(50% - 50vi);
      margin-top: 0rem;
      padding-bottom: 4rem;
      .flex {
        flex-direction: column-reverse;
        .flex-left {
          width: 100%;
        }
        .flex-right {
          width: 100%;
        }
      }
      .title {
        .row1 {
          font-size: 1.125rem;
        }
        .row2 {
          font-size: 1.35rem;
        }
      }
      .item-img {
        position: initial;
        max-width: 500px;
        margin-inline: auto;
      }
    }
  }
  .implant-item.reverse {
    .number {
      position: absolute;
      bottom: 20px;
      right: 20px;
      left: initial;
    }
    @media (max-width: 960px) {
      .flex {
        flex-direction: column;
      }
    }
  }
  .implant-item:last-of-type {
    margin-bottom: 0;
  }
  .textbox {
    background: url(../img/implant-textbox-bg.jpg) no-repeat;
    background-size: cover;
    color: #ffffff;
    padding: 4rem 10%;
    .title {
      font-size: 2rem;
      text-align: center;
      text-wrap: balance;
      line-height: 1;
      border-bottom: 1px solid #ffffff;
      margin-bottom: 2rem;
      padding-bottom: 2rem;
    }
    .text {
      font-size: 1.125rem;
      text-align: center;
      text-wrap: balance;
    }
    @media (max-width: 960px) {
      margin-inline: calc(50% - 50vi);
      margin-bottom: 5rem;
      padding: 2rem 1rem;
      .title {
        line-height: 1.5;
        padding-bottom: 1rem;
      }
      .text {
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  implant05
=========================*/
section.implant05 {
  padding: var(--section-padding);
  background-color: #ebeef3;
  .number {
    font-size: 6rem;
    text-align: center;
    line-height: 1;
    margin-bottom: 2rem;
  }
  .title {
    text-align: center;
    text-wrap: balance;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .text {
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  .banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    .banner {
      width: calc(50% - 1rem);
    }
  }
}

/*=========================
  trouble
=========================*/
section.trouble {
  padding: var(--section-padding);
  position: relative;
  .trouble-items-wrapper {
    margin-top: 5rem;
    padding: var(--section-padding);
    background: url(../img/trouble-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    &::before {
      content: '';
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      height: 100%;
      background-color: #000;
      opacity: 0.5;
    }
    .container {
      position: relative;
      z-index: 2;
    }
    .trouble-items {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      .trouble-item {
        width: calc(25% - 2rem);
      }
      @media (max-width: 960px) {
        gap: 1rem;
        .trouble-item {
          width: calc(50% - 0.5rem);
        }
      }
    }
  }
  .recommend {
    position: absolute;
    bottom: calc(-300px + 5rem);
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    height: 300px;
    margin-inline: auto;
    background-color: var(--gold);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    padding: 3rem 0 0rem;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    .copy {
      text-align: center;
      font-size: 2rem;
      color: #ffffff;
    }
    @media (max-width: 960px) {
      position: initial;
      clip-path: initial;
      height: initial;
      .copy {
        position: relative;
        z-index: 2;
        font-size: 1.5rem;
      }
      &::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -50px;
        z-index: 1;
        background-color: var(--gold);
        width: 100%;
        height: 150px;
        clip-path: polygon(0% 0%, 0 60%, 50% 100%, 100% 60%, 100% 0%);
      }
    }
  }
}

/*=========================
  about implant
=========================*/
section.about-implant {
  margin-top: -5rem;
  @media (max-width: 960px) {
    margin-top: 0rem;
  }
  .title-wrapper {
    padding-top: 400px;
    background-size: cover;
    background-position: 50% 100%;
    position: relative;
    &::before,
    &::after {
      content: '';
      position: absolute;
      top: 0;
      width: 50%;
      height: 50%;
    }
    &::before {
      left: 0;
      background-color: #e2f0ff;
      clip-path: polygon(0 0, 0% 100%, 100% 0);
    }
    &::after {
      right: 0;
      background-color: #fcfaea;
      clip-path: polygon(0 0, 100% 100%, 100% 0);
    }
    @media (max-width: 960px) {
      padding-top: 100px;
    }
  }
  .textbox {
    background-color: #e0e7ef;
    .flex {
      display: flex;
      justify-content: center;
      .flex-left {
        width: 45%;
        .img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      .flex-right {
        width: 55%;
        padding: 5rem 5%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        .title {
          margin-bottom: 2rem;
          text-align: center;
          text-wrap: balance;
          font-size: 2rem;
          font-weight: 700;
        }
      }
    }
    @media (max-width: 960px) {
      .flex {
        flex-direction: column;
        .flex-left {
          width: 100%;
          .sp-img {
            width: 100%;
            max-height: 300px;
            object-fit: cover;
          }
        }
        .flex-right {
          width: 100%;
          position: relative;
          top: -10rem;
          margin-bottom: -10rem;
          .title {
            font-size: 1.5rem;
          }
        }
      }
    }
  }
}

/*=========================
  feature
=========================*/
section.feature {
  padding: var(--section-padding);
  background: url(../img/feature-bg.jpg) no-repeat;
  background-size: cover;
  .section-title {
    .en {
      color: #ffffff;
      background: none;
      -webkit-background-clip: initial;
      -webkit-text-fill-color: initial;
    }
    .jp {
      color: #ffffff;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    .flex-item {
      background-color: #ffffff;
      padding: 1rem;
      width: calc(100% / 3 - 2rem);
      .item-img {
        margin-bottom: 1rem;
        margin-inline: auto;
      }
      .title {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 1rem;
      }
      .text {
        font-weight: 500;
        font-size: 1rem;
      }
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-item {
        width: 100%;
      }
    }
  }
}

/*=========================
  COMPARISON
=========================*/
section.comparison {
  padding: var(--section-padding);
  .description {
    font-weight: 500;
    text-align: center;
    text-wrap: balance;
    margin-bottom: 3rem;
    @media (max-width: 960px) {
      text-align: justify;
    }
  }
  .table-wrapper {
    overflow-x: auto;
    width: 100%;
  }
  .comparison-table {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    border: 1px solid var(--navy);
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
      &:not(:last-of-type) {
        border-bottom: 1px solid var(--navy);
        .th {
          border-bottom: 1px solid #ffffff;
        }
      }
      .cell:not(:last-of-type) {
        border-right: 1px solid var(--navy);
      }
      .col2 {
        background-color: #d9e6fb;
      }
    }
    .cell {
      padding: 1rem;
      text-align: center;
      text-wrap: balance;
      .img {
        margin-inline: auto;
      }
    }
    .th {
      background-color: var(--navy);
      color: #ffffff;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .type {
      .name {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 0.5rem;
      }
    }
    .td {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-weight: 500;
      .icon {
        font-size: 2rem;
        color: red;
      }
    }
    @media (max-width: 960px) {
      width: 800px;
      font-size: 0.9rem;
      .cell {
        padding: 0.5rem;
      }
      .type {
        .name {
          font-size: 1.25rem;
        }
      }
      .td {
        .icon {
          font-size: 1.5rem;
        }
      }
    }
  }
}

/*=========================
  REJECTED
=========================*/
section.rejected {
  padding: var(--section-padding);
  position: relative;
  .text-image {
    position: relative;
    margin-top: 10rem;
    margin-bottom: 5rem;
    .texts {
      width: 60%;
      min-height: 540px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      background: linear-gradient(180deg, #00197b 0%, #2641a2 100%);
      color: #ffffff;
      padding: 5rem 10% 5rem 5%;
      .title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
      }
    }
    .image {
      width: 45%;
      position: absolute;
      z-index: 1;
      top: -4rem;
      right: 0rem;
    }
    @media (max-width: 960px) {
      margin-top: -8rem;
      margin-bottom: 0rem;
      .image {
        width: 90%;
        max-width: 500px;
        position: relative;
        top: initial;
        right: 0rem;
        left: 0rem;
        bottom: -7rem;
        margin-inline: auto;
      }
      .texts {
        min-height: initial;
        width: 100%;
        padding: 3rem 5%;
        padding-top: 10rem;
        .title {
          font-size: 1.5rem;
        }
      }
    }
  }
  .textbox {
    background: url(../img/rejected-2.png) no-repeat;
    background-size: cover;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 5rem;
    .inner {
      width: 55%;
      margin-left: 5%;
      padding: 2rem;
    }
    .title {
      font-size: 2rem;
      margin-bottom: 2rem;
    }
    @media (max-width: 960px) {
      background: none;
      position: relative;
      .sp-img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        margin-inline: auto;
      }
      .inner {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
      }
      .title {
        font-size: 1.5rem;
        text-align: center;
      }
      .sp-bg-img {
        position: absolute;
        bottom: -10rem;
        right: 0;
        z-index: -1;
        width: calc(250 / 430 * 100vw);
      }
    }
  }
  .flex-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    .flex-item {
      width: calc(100% / 3 - 2rem);
      background-color: var(--navy);
      color: #ffffff;
      padding: 1rem 1rem 0.5rem 1rem;
      position: relative;
      display: flex;
      justify-content: center;
      /* align-items: center; */
      flex-direction: column;
      .img {
        margin-bottom: 1rem;
      }
      .title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #ffffff;
      }
      .text {
        font-size: 1rem;
        flex-grow: 1;
        margin-bottom: 2rem;
      }
      .title-en {
        /* position: absolute; */
        font-size: 3rem;
        color: #2e3e7b;
        text-align: center;
      }
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-item {
        width: 100%;
        .img {
          width: 100%;
          max-width: 500px;
          margin-inline: auto;
        }
      }
    }
  }
  .bg-img1 {
    position: absolute;
    width: calc(500 / 1920 * 100vw);
    max-width: 500px;
    top: 0;
    left: 0;
    z-index: -1;
    @media (max-width: 960px) {
      width: calc(250 / 430 * 100vw);
    }
  }
  .bg-img2 {
    position: absolute;
    width: calc(370 / 1920 * 100vw);
    max-width: 370px;
    bottom: 0;
    right: 0;
    z-index: -1;
    @media (max-width: 960px) {
      width: calc(250 / 430 * 100vw);
    }
  }
}

/*=========================
  flow
=========================*/
section.flow {
  padding: var(--section-padding);
  background: url(../img/flow-bg.png) no-repeat;
  /* background-size: cover; */
  .section-title {
    position: relative;
    z-index: 1;
    background: url(../img/flow-title-bg.png) no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    color: #ffffff;
    height: 400px;
    display: grid;
    place-content: center;
    margin-bottom: 5rem;
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: #000;
      opacity: 0.5;
    }
    .inner {
      position: relative;
      z-index: 1;
    }
    .jp {
      font-size: 3rem;
    }
    @media (max-width: 960px) {
      background-position: 55% 50%;
      height: 230px;
      .jp {
        font-size: 2rem;
      }
    }
  }
  .flow-item {
    background-color: #ffffff;
    border: 1px solid #333333;
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    margin-bottom: 5rem;
    .texts {
      width: 60%;
    }
    .item-img {
      width: 40%;
    }
    @media (max-width: 960px) {
      padding: 1rem;
      flex-direction: column-reverse;
      margin-bottom: 2rem;
      .texts {
        width: 100%;
      }
      .item-img {
        width: 100%;
        img {
          margin-inline: auto;
        }
      }
    }
    .row {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .number {
      border-radius: 100vmax;
      background-color: var(--gold);
      font-size: 2.5rem;
      color: #ffffff;
      width: 80px;
      height: 80px;
      display: grid;
      place-content: center;
      @media (max-width: 960px) {
        font-size: 1.5rem;
        width: 60px;
        height: 60px;
      }
    }
    .title {
      font-size: 2rem;
      border-bottom: 1px solid #333333;
      padding-bottom: 0.5rem;
      flex-grow: 1;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      margin-bottom: 2rem;
      font-weight: 500;
    }
    .links {
      display: flex;
      gap: 2rem;
      @media (max-width: 960px) {
        max-width: 300px;
        margin-inline: auto;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
    }
  }
  .flow-item:not(:last-of-type) {
    &::after {
      content: '';
      width: 2px;
      height: 5rem;
      background-color: #333333;
      position: absolute;
      bottom: -5rem;
      left: 50%;
      translate: -50% 0%;
    }
  }
  .flow-annotation {
    padding: 5rem 0;
    background: url(../img/flow-annotation.png) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    min-height: 400px;
    .inner {
      width: calc(100% - 2rem);
      max-width: 1400px;
      margin-inline: auto;
    }
    .title {
      width: 90%;
      margin-inline: auto;
      font-size: 2rem;
      border-bottom: 1px solid #ffffff;
      padding-bottom: 1rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      text-align: center;
      @media (max-width: 960px) {
        text-align: justify;
      }
    }
  }
  .flow-annotation2 {
    padding: var(--section-padding);
    background: url(../img/flow-bg-bottom.svg) no-repeat;
    /* background-size: cover; */
    background-position: 50% 100%;
    .inner {
      background-color: #ffffff;
      width: calc(100% - 2rem);
      max-width: 1280px;
      margin-inline: auto;
      border: 1px solid #333333;
      padding: 2rem;
      @media (max-width: 960px) {
        padding: 1rem;
      }
    }
    .title {
      font-size: 2rem;
      text-align: center;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      font-size: 1rem;
      @media (max-width: 960px) {
        font-size: 0.9rem;
      }
    }
  }
}

/*=========================
  case
=========================*/
section.case {
  padding: var(--section-padding);
  padding-top: 0;
  position: relative;
  .section-title {
    background: url(../img/case-title-bg.png) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: #000;
      opacity: 0.4;
    }
    .inner {
      position: relative;
      z-index: 1;
    }
    .en {
      color: #ffffff;
      background: none;
      -webkit-background-clip: initial;
      -webkit-text-fill-color: initial;
    }
    .jp {
      color: #ffffff;
    }
    @media (max-width: 960px) {
      padding: 3rem 0;
      .en {
        font-size: 3.5rem;
      }
      .jp {
        font-size: 1.5rem;
      }
    }
  }
  .before-after {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    .img {
      width: calc(50% - 50px);
      background: #ccc;
      aspect-ratio: 4/3;
      height: fit-content;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .triangle {
      width: 50px;
      height: fit-content;
      aspect-ratio: 1/1;
      clip-path: polygon(0 0, 0% 100%, 100% 50%);
      background-color: var(--navy);
    }
    @media (max-width: 960px) {
      gap: 10px;
      .triangle {
        width: 20px;
      }
      .img {
        width: calc(50% - 15px);
      }
    }
  }
  .table {
    width: calc(100% - 2rem);
    max-width: 1000px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
      border-bottom: 1px solid #333333;
      padding-bottom: 0.5rem;
      margin-bottom: 0.5rem;
    }
    .row:last-of-type {
      border-bottom: none;
    }
    .th {
    }
    .td {
    }
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
      font-size: 0.9rem;
      .row {
      }
      .th {
        font-size: 1.125rem;
      }
    }
  }
  .wip {
    position: absolute;
    z-index: 1;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    @media (max-width: 960px) {
      font-size: 4rem;
    }
  }
}

/*=========================
  fee
=========================*/
section.fee {
  padding: var(--section-padding);
  padding-bottom: 0;
  @media (max-width: 960px) {
    .section-title {
      .en {
        font-size: 3.5rem;
      }
      .jp {
        font-size: 1.5rem;
      }
    }
  }
  .table-wrapper {
    max-width: 1000px;
    margin-inline: auto;
    margin-bottom: 5rem;
    .title {
      font-size: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .table {
      display: grid;
      grid-template-columns: 30% 1fr;
      border: var(--gold) 1px solid;
      @media (max-width: 960px) {
        font-size: 1rem;
      }
      .row {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1/-1;
      }
      .th {
        padding: 0.5rem 5%;
        background-color: var(--gold);
        color: #ffffff;
        border-bottom: #ffffff 1px solid;
      }
      .td {
        padding: 0.5rem 5%;
        border-bottom: var(--gold) 1px solid;
      }
      .row:last-of-type {
        .th,
        .td {
          border-bottom: none;
        }
      }
    }
    .text {
      font-size: 1rem;
    }
  }
  .textbox {
    padding: 2rem;
    border: 1px solid #333333;
    margin-bottom: 5rem;
    @media (max-width: 960px) {
      padding: 1rem;
    }
    .title {
      font-size: 2rem;
      margin-bottom: 2rem;
      text-align: center;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      text-align: center;
      margin-bottom: 2rem;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        gap: 10px;
      }
      .flex-item {
        flex-shrink: 1;
      }
    }
    .credits {
      text-align: center;
      text-wrap: balance;
    }
  }
  @media (max-width: 960px) {
    .textbox1 {
      .flex-item {
        width: calc(20% - 10px);
      }
    }
    .textbox2 {
      .flex {
        /* justify-content: space-between; */
      }
      .flex-item {
        width: calc(33% - 10px);
      }
    }
  }
  .guarantee {
    padding: var(--section-padding);
    background: url(../img/fee-guarantee.png) no-repeat;
    background-size: cover;
    background-position: center;
    .title {
      text-align: center;
      font-size: 3rem;
      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;
      }
    }
    .list {
      width: calc(100% - 2rem);
      max-width: 1200px;
      margin-inline: auto;
      background-color: #ffffff;
      padding: 2rem;
      .list-item {
        border-bottom: #333333 1px dashed;
        display: flex;
        align-items: center;
        gap: 2rem;
        .number {
          flex-shrink: 0;
        }
      }
      @media (max-width: 960px) {
        padding: 1rem;
        .list-item {
          gap: 1rem;
        }
      }
    }
  }
}

/*=========================
  greeting
=========================*/
section.greeting {
  padding: var(--section-padding);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 65%, #f2f2f2 65%);
  @media (max-width: 960px) {
    background: none;
  }
  .flex {
    display: flex;
    /* align-items: center; */
    gap: 2rem;
    margin-bottom: 5rem;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .flex-left {
      width: 50%;
      flex-shrink: 0;
      .texts {
        width: calc(100% - 2rem);
        max-width: 800px;
        margin-left: auto;
        .title {
          color: var(--navy);
          font-size: 2rem;
          margin-bottom: 2rem;
        }
        @media (max-width: 960px) {
          margin-inline: auto;
          .title {
            font-size: 1.5rem;
            text-align: center;
          }
        }
      }
      @media (max-width: 960px) {
        width: 100%;
      }
    }
    .flex-right {
      width: 50%;
      position: relative;
      .img {
        width: 100%;
        @media (max-width: 960px) {
          max-width: 500px;
          margin-inline: auto;
        }
      }
      .name {
        position: relative;
        z-index: 1;
        bottom: 3rem;
        left: 2rem;
        background: rgb(255 255 255 / 0.75);
        padding: 1rem 2rem;
        width: fit-content;
        margin-left: 0;
        text-align: center;
        @media (max-width: 960px) {
          position: initial;
          width: 100%;
          max-width: 500px;
          margin-inline: auto;
        }
        .row {
          display: flex;
          justify-content: center;
          align-items: baseline;
          font-size: 2rem;
        }
        .post {
          font-size: 0.8em;
          margin-right: 1rem;
        }
        .jp {
        }
        .en {
          color: var(--gold);
          font-size: 1.25rem;
        }
      }
      @media (max-width: 960px) {
        width: 100%;
      }
    }
  }
  .career {
    display: flex;
    justify-content: center;
    gap: 2rem;
    .list {
      width: 50%;
      background-color: #fff292;
      padding: 1.5rem;
      .title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
      }
      .list-item {
        font-weight: 500;
        margin-bottom: 0.5rem;
      }
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .list {
        width: 100%;
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  access
=========================*/
section.access {
  padding: var(--section-padding);
  background: url(../img/access-bg.svg) no-repeat;
  background-size: contain;
  background-position: 0 0;
  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
      padding: 0rem 5%;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      gap: 2rem;
      .flex-left {
        width: 100%;
      }
      .flex-right {
        width: 100%;
      }
    }
  }
  .logo {
    margin-bottom: 0.5rem;
    max-width: 450px;
    margin-inline: auto;
    @media (max-width: 960px) {
      width: 80%;
    }
  }
  .address {
    font-size: 1rem;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  .tel {
    display: block;
    text-align: center;
    border: 1px solid #333333;
    width: max-content;
    padding: 1rem 2rem;
    margin-inline: auto;
    margin-bottom: 2rem;
    .row2 {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2rem;
      border-bottom: 1px solid #333333;
      margin-bottom: 0.5rem;
      .icon {
        width: 30px;
        margin-right: 1rem;
      }
    }
    .row3 {
      font-size: 1.5rem;
    }
  }
  .table-wrapper {
    .table-text {
      font-size: 1rem;
    }
    @media (max-width: 960px) {
      .table-text {
        font-size: 0.8rem;
      }
    }
  }
}

/*=========================
  faq
=========================*/
section.faq {
  padding: var(--section-padding);
  position: relative;
  .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bg-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: var(--navy);
    opacity: 0.5;
  }
  .container {
    position: relative;
    z-index: 2;
  }
  .section-title {
    .en {
      color: #ffffff;
      background: none;
      -webkit-background-clip: initial;
      -webkit-text-fill-color: initial;
    }
  }
  .faq-items {
    max-width: 1200px;
    margin-inline: auto;
  }
  .faq-item {
    background-color: #ffffff;
    padding: 1rem 2rem;
    margin-bottom: 0.5rem;
    @media (max-width: 960px) {
      padding: 1rem;
    }
    .q {
      font-size: 1.5rem;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      @media (max-width: 960px) {
        font-size: 1.125rem;
      }
      .icon {
      }
    }
    .a {
      background-color: #e0e0e0;
      font-size: 1.125rem;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.2s ease;
      @media (max-width: 960px) {
        font-size: 0.9rem;
      }
    }
  }
  .faq-item.open {
    .a {
      margin-top: 1rem;
      max-height: initial;
      padding: 1rem;
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  background-color: #f2f2f2;
  padding: var(--section-padding);
  .flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-left {
        width: 100%;
      }
      .flex-right {
        width: 100%;
      }
    }
    .logo {
      margin-bottom: 0.5rem;
      margin-inline: auto;
    }
    .logo-sub {
      border: 1px solid #333333;
      font-size: 1.25rem;
      padding: 0.5rem;
      width: fit-content;
      margin-inline: auto;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 1rem;
      }
    }
    .address {
      width: fit-content;
      margin-inline: auto;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 1rem;
      }
    }
    .links {
      display: flex;
      justify-content: center;
      @media (max-width: 960px) {
        flex-direction: column;
        gap: 1rem;
        width: fit-content;
        max-width: 400px;
        margin-inline: auto;
      }
    }
    .table-wrapper {
      margin-bottom: 3rem;
      @media (max-width: 960px) {
        .table-text {
          font-size: 0.9rem;
        }
      }
    }
    .official-site {
      img {
        margin-inline: auto;
      }
    }
  }
}

section.map {
  width: 100%;
  height: 400px;
  iframe {
    width: 100%;
    height: 100%;
  }
}

.copyright {
  background-color: var(--gold);
  color: #ffffff;
  font-weight: 700;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* scroll top button */
.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  a {
    --radius: 100vmax;
    .block {
      border-radius: var(--radius);
      width: 50px;
      height: 50px;
      background: var(--yellow);
      display: flex;
      justify-content: center;
      align-items: center;
      .triangle {
        display: block;
        width: 50%;
        height: 50%;
        clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
        background: #ffffff;
      }
    }
  }
  a::before {
    border-radius: var(--radius);
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  a:hover {
    opacity: 1;
  }
  a:hover::before {
    opacity: 0.25;
  }
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (max-width: 768px) {
  .scroll-top {
    bottom: 5%;
    right: 5%;
    a::before {
      display: none;
    }
  }
}
