@charset "UTF-8";
/*トップページメインビジュアル*/
/* SP改行ユーティリティ */
.u-br--sp { display: none; }
@media screen and (max-width: 767px) {
  .u-br--sp { display: block; }
}
/* オーバーレイは見た目だけ。クリックは通す */
.p-top-fv__main::before { pointer-events: none; }

/* ドットを最前面へ。位置は中央下に固定・自由に調整可 */
.p-top-fv__banners { position: relative; }
.p-top-fv__banners .slick-dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;           /* 既存の -30px を適宜調整 */
  z-index: 30;             /* オーバーレイやトラックより上 */
}
.p-top-fv__banners .slick-dots li button { pointer-events: auto; }

/* スライド本体は一段下げる（競合時のみ効く） */
.p-top-fv__banners .slick-list,
.p-top-fv__banners .slick-track { z-index: 1; position: relative; }

.p-top-fv {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-end;
  height: 100%;
}
.p-top-fv__main {
  position: relative;
  height: calc(100svh - 155px - 70px);
  min-height: 350px;
  width: 100%;
  overflow: hidden;
}
.p-top-fv__main::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(82, 83, 84, 0.7) 5.8%, rgba(82, 83, 84, 0) 79.83%);
}
.p-top-fv__box {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 0px;
  margin: 0 10px;
  border-radius: 8px;
  flex: 1 1 300px; /* ✅ 最低300px、でも自然に伸びる */
}
@media screen and (min-width: 1280px) {
  .p-top-fv__box {
    width: 50%;
    flex: 0 0 50%;
  }
}

.p-top-fv__btn {
  margin-top: 24px;
  text-align: center;
}

.p-top-fv__btn-link {
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  border-radius: 8px;
  display: inline-block;
}
.p-top-fv__cnt {
  position: absolute;
  top: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: #fff;
  font-weight: 500;
  padding-bottom: 40px;

}
.p-top-fv__main-ttl {
  font-size: 1.2em;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-align: center;
}
.p-top-fv__sub-ttl {
  font-size: 1.375rem;
  line-height: 2.2;
}
.p-top-fv__slider {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.5, 1, 0.89, 1);
}
.p-top-fv__slider.slick-initialized {
  display: block;
  opacity: 1;
}
.p-top-fv__slider .slick-list,
.p-top-fv__slider .slick-track {
  width: 100%;
  height: 100%;
}
.p-top-fv__slide img,
.p-top-fv__slide source {
  width: 100%;
  height: 100%;
  -o-object-position: center left;
     object-position: center left;
}
.p-top-fv__banners {
  margin-top: 40px;
  margin-bottom: 40px !important;
}
.p-top-fv__banners .slick-track {
  display: flex;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.p-top-fv__banners .slick-dots {
  bottom: -30px;
}
.p-top-fv__banners .slick-dots li {
  margin: 0;
}
.p-top-fv__banner {
  height: 230px;
}
@media screen and (max-width: 1279px) {
  .p-top-fv__cnt > div {
    width: 100%;
    max-width: 100%;
    margin: 20px;
  }
  .p-top-fv__cnt {
    left: 0; /* 0戻し */
    justify-content: flex-end;
    font-weight: 500;
    padding-bottom: 14%;
  }
  .p-top-fv__main-ttl {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 767px) {
  .p-top-fv__cnt > div {
    flex: 0 0 auto; 
    width: 100%;
    max-width: none;
    margin: 0 0 20px 0; /* 上は0、下だけ余白を取る */
    display: flex; 
    align-items: stretch; 
    flex-direction: column;

  }
  .p-top-fv__cnt {
    font-size: 1.1em; 
    padding: 0 15px; 
    align-items: center;
    padding-bottom: 5%;
    justify-content: flex-end; 
    flex-direction: column;
  }
  .p-top-fv__main {
    height: calc(100svh - 16vw - 40px - 70px);
  }
  .p-top-fv__main-ttl {
    font-size: 0.8em;
    margin-bottom: 4px;
    line-height: 1.6;
  }
  .p-top-fv__sub-ttl {
    font-size: 1rem;
  }
  .p-top-fv__banners {
    margin-top: 20px;
    margin-bottom: 10px !important;
  }
  .p-top-fv__banner {
    width: 80vw;
    height: auto;
  }
  .p-top-fv__btn {
    margin-top: 10px;
    text-align: center;
  }
}

/*下層ページメインビジュアル*/
.p-page-visual {
  position: relative;
  width: 100%;
  height: 340px;
}
.p-page-visual::before {
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(145, 147, 150, 0.2);
}
.p-page-visual__inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-page-visual__ttl {
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 500;
}
.p-page-visual__ttl::before {
  content: attr(data-en);
  font-size: 0.45em;
}
.p-page-visual--simple {
  height: 170px;
  background: linear-gradient(180deg, rgba(228, 228, 228, 0.6) 0%, rgba(243, 243, 243, 0) 100%) !important;
  margin-bottom: 20px;
}
.p-page-visual--simple::before {
  content: none;
}
.p-page-visual--simple .p-page-visual__inner {
  max-width: 1320px;
  justify-content: left;
  align-items: center;
}
.p-page-visual--simple .p-page-visual__ttl {
  align-items: flex-start;
  color: #9b8c6e;
  font-size: 1.25rem;
}
.p-page-visual--simple .p-page-visual__ttl::before {
  font-size: 2.7em;
}
.p-page-visual--simple + .l-page-content {
  padding-top: 20px;
}
@media screen and (max-width: 767px) {
  .p-page-visual {
    height: 150px;
  }
  .p-page-visual__ttl {
    font-size: 1.8571428571rem;
  }
  .p-page-visual--simple {
    height: 120px;
    margin-bottom: 0;
  }
  .p-page-visual--simple .p-page-visual__ttl {
    font-size: 1rem;
  }
  .p-page-visual--simple .p-page-visual__ttl::before {
    font-size: 2em;
  }
}