@charset "utf-8";

/* =============================================================

fv




















*  ============================================================= */

.fv {
  width: 100%;
  height: 100vh;
  height: 100svh;
}

@media (min-width: 1024px) {
  .fv {
    display: flex;
    height: 100vh;
  }
}

/* = = = = = = = = = = = = = = = = = = = = = = = = = = = */

.fv__main {
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
}

@media (min-width: 1024px) {
  .fv__main {
    width: 640px;
    min-width: 640px;
    height: 100%;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - */

:root {
  --slide-duration: 5s;
  --slide-count: 4; /* 追加の場合 countを増やす */
  --total-duration: calc(var(--slide-duration) * var(--slide-count));
}

.fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv__bg span {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fvFade var(--total-duration) infinite;
}

/* 追加の場合 .fv__bg span:nth-child()を増やす */
.fv__bg span:nth-child(1) {
  animation-delay: calc(var(--slide-duration) * 0);
}
.fv__bg span:nth-child(2) {
  animation-delay: calc(var(--slide-duration) * 1);
}
.fv__bg span:nth-child(3) {
  animation-delay: calc(var(--slide-duration) * 2);
}
.fv__bg span:nth-child(4) {
  animation-delay: calc(var(--slide-duration) * 3);
}

@keyframes fvFade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 追加の場合 sp pc 共に増やす */
.fv__bg span:nth-child(1) {
  background-image: url("../img/home/fv-sp-1.webp");
  animation-delay: calc(var(--slide-duration) * 0);
}

.fv__bg span:nth-child(2) {
  background-image: url("../img/home/fv-sp-2.webp");
  animation-delay: calc(var(--slide-duration) * 1);
}

.fv__bg span:nth-child(3) {
  background-image: url("../img/home/fv-sp-3.webp");
  animation-delay: calc(var(--slide-duration) * 2);
}

.fv__bg span:nth-child(4) {
  background-image: url("../img/home/fv-sp-4.webp");
  animation-delay: calc(var(--slide-duration) * 3);
}

@media (min-width: 1024px) {
  .fv__bg span:nth-child(1) {
    background-image: url("../img/home/fv-pc-1.webp");
  }
  .fv__bg span:nth-child(2) {
    background-image: url("../img/home/fv-pc-2.webp");
  }
  .fv__bg span:nth-child(3) {
    background-image: url("../img/home/fv-pc-3.webp");
  }
  .fv__bg span:nth-child(4) {
    background-image: url("../img/home/fv-pc-4.webp");
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - */

.fv__main-title {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  width: 1.2rem;
  writing-mode: vertical-rl;
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  color: #fff;
}

@media (min-width: 1024px) {
  .fv__main-title {
    position: absolute;
    top: 40px;
    left: 40px;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - */

.fv__main-logo {
  position: absolute;
  top: 40%;
  left: 20px;
  z-index: 2;
  width: 272px;
}

@media (min-width: 1024px) {
  .fv__main-logo {
    position: absolute;
    top: 40%;
    left: 40px;
  }
}

/* - - - - - - - - - - - - - - - - - - - - - - */

.fv__main-guide {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  width: 296px;
}

@media (min-width: 1024px) {
  .fv__main-guide {
    position: absolute;
    bottom: 40px;
    left: 40px;
  }
}

.fv__main-guide .guide-txt {
  font-size: 1.2rem;
  color: #fff;
}

.fv__main-guide .guide-button {
  font-size: 1.5rem;
  color: #5d6960;
}

.fv__main-guide .guide-button {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 16px 48px 20px 16px;
  font-size: 1.5rem;
  line-height: 1.45;
  color: #5d6960;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
}

.fv__main-guide .guide-button span {
  font-size: 2rem;
}

.fv__main-guide .guide-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 15px;
  height: 13px;
  background: url("../img/common/icon-arrow.png") no-repeat center / contain;
  transform: translateY(-50%);
}

@media (min-width: 1024px) {
  .fv__main-guide .guide-button::after {
    transition: transform 0.5s ease;
  }
  .fv__main-guide .guide-button:hover::after {
    transform: translateY(-50%) translateX(8px);
  }
}

/* = = = = = = = = = = = = = = = = = = = = = = = = = = = */

.fv__copy {
  display: none;
}

@media (min-width: 1024px) {
  .fv__copy {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100%;
  }
  .fv__copy img {
    width: 160px;
    height: 300px;
    object-fit: contain;
  }
}

/* =============================================================

lyt__blk




















*  ============================================================= */

.lyt__blk-40 {
  padding-top: 40px;
}

.lyt__blk-80 {
  padding-top: 80px;
}

.lyt__blk-120 {
  padding-top: 120px;
}

/* =============================================================

lyt__container




















*  ============================================================= */

.lyt__container {
  width: 88%;
  max-width: 480px;
  margin: 0 auto;
}

.lyt__container-sp {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .lyt__container,
  .lyt__container-sp {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .lyt__container,
  .lyt__container-sp {
    padding-right: 80px;
  }
}

/* =============================================================

heading




















*  ============================================================= */

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heading__title {
  display: flex;
  align-items: center;
  font-size: 2.4rem;
  line-height: 1.5;
}

.heading__title-en {
  font-size: 2.8rem;
}

.heading__title-accent {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 14px;
}

.heading__text {
  margin-top: 14px;
  font-size: 1.3rem;
}

.heading__line {
  position: relative;
  width: 100%;
  height: 1px;
  background: #d6d6d6;
}

.heading__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: #5d6960;
}

/* =============================================================

slider




















*  ============================================================= */

.slider {
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .slider {
    position: relative;
  }
  .slider::after {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    right: -1px;
    z-index: 2;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, rgba(245, 243, 236, 0), #f5f3ec);
  }
}

@media (min-width: 1200px) {
  .slider {
    width: calc(100% - 80px);
  }
}

.slider__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 12px;
  scrollbar-width: none;
}

@media (min-width: 1024px) {
  .slider__track {
    scroll-padding-left: 0;
  }
}

.slider__item {
  flex: 0 0 auto;
  width: 240px;
}

.slider__item:first-child {
  margin-left: 6%;
}

.slider__item:last-child {
  margin-right: 6%;
}

@media (min-width: 1024px) {
  .slider__item:first-child {
    margin-left: 0;
  }
  .slider__item:last-child {
    margin-right: 160px;
  }
}

.slider__number {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.slider__image {
  display: block;
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.slider__text {
  margin-top: 16px;
  font-size: 1.8rem;
  line-height: 1.8;
}

.slider__text span {
  letter-spacing: 0;
  font-size: 1.7rem;
}

/* =============================================================

info




















*  ============================================================= */

.info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid #d6d6d6;
}

@media (min-width: 1024px) {
  .info {
    flex-direction: row;
  }
}

.info__button {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
}

.info__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 15px;
  height: 13px;
  background: url("../img/common/icon-arrow.png") no-repeat center / contain;
  transform: translateY(-50%);
}

.info__button a {
  display: block;
  padding: 16px 48px 20px 16px;
  color: #5d6960;
  font-size: 1.5rem;
  line-height: 1.45;
}

.info__button-date {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

@media (min-width: 1024px) {
  .info__button {
    width: calc((100% - 40px) / 3);
  }
  .info__button a {
    padding: 12px 48px 12px 16px;
  }
  .info__button::after {
    transition: transform 0.5s ease;
  }
  .info__button:hover::after {
    transform: translateY(-50%) translateX(8px);
  }
}

/* =============================================================

concept




















*  ============================================================= */

.concept {
  position: relative;
  min-height: 624px;
  padding: 100px 20px 48px;
  background: url("../img/home/home-concept.webp") no-repeat center / cover;
}

.concept__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.concept__title {
  font-size: 3.2rem;
  line-height: 1.4;
}

.concept__line {
  width: 80px;
  height: 1px;
  margin-top: 24px;
  background: #fff;
}

.concept__text {
  margin-top: 64px;
  font-size: 1.6rem;
  line-height: 2.2;
}

.concept__text p + p {
  margin-top: 32px;
}

.concept__image {
  display: none;
}

@media (min-width: 1024px) {
  .concept {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    background: none;
  }
  .concept__content {
    width: 360px;
    color: #5d6960;
  }
  .concept__title {
    color: #5d6960;
  }
  .concept__line {
    background: #5d6960;
  }
  .concept__image {
    display: block;
    overflow: hidden;
    width: 400px;
    aspect-ratio: 400 / 620;
    background: url("../img/home/home-concept.webp") no-repeat center / cover;
    border-radius: 10px;
  }
}

/* =============================================================

card




















*  ============================================================= */

.card {
  display: grid;
  gap: 20px;
}

.card__item {
  position: relative;
  display: block;
  min-height: 240px;
  padding: 32px 0;
  overflow: hidden;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}

.card__item-en,
.card__item-ja {
  position: relative;
  top: 64px;
  left: 30px;
  z-index: 1;
  display: block;
}

.card__item-en {
  font-size: 1.5rem;
}

.card__item-ja {
  margin-top: 8px;
  font-size: 2.2rem;
}

.item-treatment {
  background-image: url("../img/home/home-card-1.webp");
  background-position: left center;
}

.item-dentist {
  background-image: url("../img/home/home-card-2.webp");
  background-position: left center;
}

.item-first {
  background-image: url("../img/home/home-card-3.webp");
  background-position: left center;
}

@media (min-width: 1024px) {
  .card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card__item {
    background-position-x: right;
    transition: all 0.5s ease;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  .card__item:hover {
    opacity: 0.6;
  }
}

/* =============================================================

treatment




















*  ============================================================= */

.treatment {
  width: 100%;
}

.treatment__title {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.treatment__body {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #bebcb3;
  border-top: 1px solid #bebcb3;
}

.treatment__inner {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px 0;
  padding: 32px 0;
}

.treatment__inner + .treatment__inner {
  border-top: 1px solid #bebcb3;
}

.treatment__label {
  font-size: 1.4rem;
  white-space: nowrap;
}

.treatment__list li {
  margin-bottom: 16px;
}

.treatment__list li:last-of-type {
  margin-bottom: 0;
}

.treatment__text {
  grid-column: 2 / 3;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .treatment__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .treatment__inner {
    grid-template-columns: 100px 100px 1fr;
    gap: 20px 0;
    padding: 32px 0;
  }

  .treatment__inner + .treatment__inner {
    border-top: 0;
    border-left: 1px solid #bebcb3;
  }

  .treatment__inner-private {
    grid-template-columns: 100px 1fr;
    padding-left: 32px;
  }

  .treatment__text {
    grid-column: auto;
  }
}
