@charset "UTF-8";

/* TOP (#Index) : PC用 → @media(レスポンシブ) */

/* ========================================
  オープニング
======================================== */
html.is-opening {
  overflow-y: scroll; /* hidden だとスクロールバーが消え、終了時の出現で画面がずれる */
}

/* オープニング表示中は白フラッシュ不要 */
html.is-opening .overlay {
  display: none;
}

html.is-opening-skip #Index .opening {
  display: none;
}

#Index .opening {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #364128;
  transition:
    opacity 3s cubic-bezier(0.45, 0, 0.55, 1),
    visibility 0s linear 3s;
}

#Index .opening.is-end {
  opacity: 0;
  visibility: hidden;
}

#Index .opening__logo {
  width: clamp(137px, 15.25vw + 79.8px, 275px); /* 375px:137px → 1280px:275px */
  height: auto;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.04);
  animation: opening-logo-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes opening-logo-in {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* オープニング終了とともに KV がゆっくり引く */
#Index .p-kv__slides {
  transition: transform 3s cubic-bezier(0.45, 0, 0.55, 1);
}

html.is-opening #Index .p-kv__slides {
  transform: scale(1.05);
}

#Index .opening__skip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s;
}

@media (hover: hover) {
  #Index .opening__skip:hover {
    opacity: 0.6;
  }
}

#Index .opening__skip:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media screen and (max-width: 600px) {
  #Index .opening__skip {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
  }
}

/* ========================================
  KV
======================================== */
#Index .p-kv {
  position: relative;
  overflow: hidden;
}

#Index .p-kv__visual {
  position: relative;
  isolation: isolate;
  padding-top: 61px;
}

/* 上側の背景（最背面）。下端をフェードさせ、下側の背景との境目に線が出ないようにする */
#Index .p-kv__visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  aspect-ratio: 2880 / 1000;
  background: url("../img/top/kv-top-bg.png") no-repeat center top / 100% auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent);
  pointer-events: none;
}

/* 下側の背景（上側の背景より手前） */
#Index .p-kv__visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  aspect-ratio: 2881 / 806;
  background: url("../img/top/kv-bottom-bg.png") no-repeat center bottom / 100% auto;
  pointer-events: none;
}

#Index .p-kv__photo {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 1280 / 600;
  overflow: hidden;
}

#Index .p-kv__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

#Index .p-kv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s;
}

#Index .p-kv__slide.is-active {
  opacity: 1;
}

#Index .p-kv__slide picture,
#Index .p-kv__slide img {
  display: block;
}

#Index .p-kv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#Index .p-kv__slide .annotation {
  position: absolute;
  right: 21px;
  bottom: 17px;
  z-index: 1;
  font-size: 17px;
  line-height: 0.9;
  color: #fff;
}

#Index .p-kv__slide .annotation--note {
  left: 21px;
  font-size: clamp(10px, 0.3315vw + 8.76px, 13px); /* 375px:10px → 1280px:13px */
  line-height: 1.6;
}

#Index .p-kv__slide .annotation--note.small-slide {
  font-size: 13px;
}

#Index .p-kv__lead *,
#Index .p-kv__band {
  font-feature-settings: normal;
}

#Index .p-kv__lead {
  position: relative;
  padding: 37px 0 56px;
  text-align: center;
}

#Index .p-kv__catch {
  font-size: 23px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--color-text-sub);
}

#Index .p-kv__title {
  margin-top: 29px;
  font-size: 55px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--color-text-sub);
}

#Index .p-kv__en {
  margin-top: 1px;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0;
  color: var(--color-gold-dark);
}

#Index .p-kv__band {
  padding: 14px 20px;
  background: var(--color-main-dark);
  color: #fff;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

#Index .p-kv__band-inner {
  display: block;
}

#Index .p-kv__band-line {
  display: block;
}

#Index .p-kv__band small {
  font-size: 13px;
  line-height: 1;
}

/* ========================================
  資料請求CTA
======================================== */
#Index .p-cta {
  position: relative;
  z-index: 1;
  padding: 104px 20px 0;
  margin-bottom: 90px;
  text-align: center;
}

#Index .p-cta__ttl {
  font-size: 60px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text-sub);
}

#Index .p-cta__btn {
  margin-top: 12px;
}

/* ========================================
  コンセプト・アクセス概要
======================================== */
#Index .p-concept {
  padding: 57px 20px 66px;
  background: var(--color-main-dark) url("../img/top/t-access-bg.jpg") no-repeat center / 100% 100%;
}

#Index .p-concept__inner {
  max-width: 902px;
  margin: 0 auto;
}

/* ========================================
  Contents
======================================== */
#Index .p-contents {
  padding: 82px 20px 150px;
  background: var(--color-bg);
}

#Index .p-contents__ttl {
  padding-top: 7px;
  text-align: center;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--color-text-sub);
}

#Index .p-contents__ttl span {
  display: block;
}

#Index .p-contents__ttl span::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  margin: 10px auto 0;
  background: #3c3c3c;
}

#Index .p-card {
  max-width: 800px;
  margin: 86px auto 0;
}

#Index .p-contents__ttl + .p-card {
  margin-top: 70px;
}

#Index .p-card:nth-of-type(4) {
  margin-top: 89px;
}

#Index .p-card:nth-of-type(5) {
  margin-top: 93px;
}

#Index .p-card__link {
  position: relative;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

#Index .p-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #bcb5af;
  mix-blend-mode: multiply;
}

#Index .p-card__link .annotation {
  position: absolute;
  right: 15px;
  bottom: 2%;
  z-index: 1;
  text-align: right;
  color: #fff;
}

#Index .p-card__small {
  font-size: 10px;
}

#Index .p-card__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#Index .p-card__en {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

#Index .p-card__ja {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.8;
}

#Index .p-card__label .c-btn {
  margin-top: 1px;
}

#Index .p-card__txt {
  margin-top: 23px;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  text-align: left;
  color: var(--color-text-sub);
}

/* ========================================
  資料請求CTA（下）・注意書き
======================================== */
#Index .p-bottom {
  padding: 0 20px 26px;
  background: var(--color-bg);
}

#Index .p-bottom__btn {
  text-align: center;
}

#Index .p-bottom__foot {
  position: relative;
  max-width: 1000px;
  margin: 156px auto 0;
  padding-right: 100px;
}

#Index .p-bottom__notes {
  text-align: left;
  font-size: 10px;
  line-height: 2;
  color: var(--color-text-sub);
}

#Index .p-bottom__notes p {
  /* font-feature-settings: normal; */
  font-size: 10px;
  line-height: 2;
}

/* ========================================
  レスポンシブ
======================================== */
@media screen and (max-width: 1023px) {
  #Index .p-kv__visual {
    padding-top: 20px;
  }

  #Index .p-kv__photo {
    margin: 0 16px;
    max-width: none;
  }

  #Index .p-kv__title {
    font-size: clamp(30px, 5vw, 52px);
  }

  #Index .p-kv__band {
    font-size: clamp(14px, 2.2vw, 22px);
  }

  #Index .p-bottom__notes {
    padding: 0 8px;
  }
}

@media screen and (max-width: 600px) {
  #Index .p-concept {
    padding: 40px 16px;
    background-image: url("../img/top/t-access-bg-sp.jpg");
  }

  #Index .p-concept__inner {
    max-width: 351px;
  }

  #Index .p-kv__visual {
    padding-top: 0;
  }

  #Index .p-kv__visual::after {
    aspect-ratio: 751 / 407;
    background-image: url("../img/top/kv-bottom-bg-sp.png");
  }

  #Index .p-kv__photo {
    margin: 0;
    aspect-ratio: 375 / 200;
  }

  #Index .p-kv__slide .annotation {
    right: 10px;
    bottom: 2%;
    font-size: 10px;
  }

  #Index .p-kv__slide .annotation--note {
    left: 10px;
    bottom: 4px;
    line-height: 1.5;
  }

  #Index .p-kv__slide .annotation--note.small-slide {
    font-size: clamp(9px, 0.884vw + 5.69px, 17px); /* 375px:9px → 600px:11px */
  }

  #Index .p-kv__lead {
    padding: 30px 16px 50px;
  }

  #Index .p-kv__catch {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0;
  }

  #Index .p-kv__title {
    margin-top: 30px;
    font-size: 30px;
    line-height: 1.4;
  }

  #Index .p-kv__en {
    margin-top: 8px;
    font-size: 12px;
  }

  #Index .p-kv__band {
    padding: 20px 16px;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  #Index .p-kv__band small {
    font-size: 10px;
  }

  #Index .p-cta {
    padding: 50px 20px 0;
    margin-bottom: 50px;
  }

  #Index .p-cta__ttl {
    font-size: 35px;
    line-height: 1;
  }

  #Index .p-cta__btn {
    margin-top: 50px;
  }

  #Index .p-contents {
    padding: 50px 4% 100px;
  }

  #Index .p-contents__ttl {
    padding-top: 0;
    font-size: 20px;
  }

  #Index .p-contents__ttl + .p-card,
  #Index .p-card:nth-of-type(4),
  #Index .p-card:nth-of-type(5) {
    margin-top: 50px;
  }

  #Index .p-card {
    margin-top: 50px;
  }

  #Index .p-card__en {
    font-size: 24px;
  }

  #Index .p-card__ja {
    margin-top: 6px;
    font-size: 14px;
  }

  #Index .p-card__txt {
    margin-top: 10px;
    padding: 0 25px;
    font-size: 14px;
    line-height: 1.9;
  }

  #Index .p-bottom {
    padding: 0 20px;
  }

  #Index .p-bottom__notes {
    padding: 0 6px;
  }

  #Index .p-bottom__foot {
    margin-top: 100px;
    padding-right: 0;
  }
}
