@charset "UTF-8";
/* ------------------------------------------------------------
   Variables
------------------------------------------------------------ */
/* ----- Breakpoint ----- */
/* ----- Font family ----- */
/* ----- Font family ----- */
/* ------------------------------------------------------------
   mixin
------------------------------------------------------------ */
/* ----- Media Queries ----- */
/* ----- image filter ----- */
/* ----- diagonal filter ----- */
/* ------------------------------------------------------------
   Function
------------------------------------------------------------ */
/* ------------------------------------------------------------
   Top
------------------------------------------------------------ */
.top {
  overflow: hidden;
  background: #F2EFEC;
  /* ----- mainvisual ----- */
  /* ----- content ----- */
  /* ----- p-value ----- */
}
.top .main-visualInner {
  overflow: hidden;
  position: relative;
}
.top .visual-pic {
  height: 100vh;
  width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.top .visual-pic .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* トリミングしつつ全面表示 */
}
.top .p-value {
  padding: 4rem 0;
  margin-bottom: 10vw;
}
.top .p-value__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.top .p-value__media {
  height: clamp(320px, 28vw, 550px);
  overflow: hidden;
  background: #ddd;
  /* 左だけコンテナ外へ（画面端まで） */
  margin-left: calc(-1 * max(0px, (100vw - 1200px) / 2));
  /* 幅：コンテナ幅(=100%) + 左の外側余白分 + 右に出したい量 */
  width: calc(100% + max(0px, (100vw - 1200px) / 2) + 20%);
  /* ↑この 80px が「右端の若干手前で止める/少しだけ超える」調整値 */
}
.top .p-value__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* XDっぽいトリミング */
  -o-object-position: center;
  object-position: center; /* 必要なら調整 */
  display: block;
}
.top .p-value__card {
  position: absolute;
  right: 0;
  top: 20%;
  width: min(820px, 100%);
  padding: clamp(2.5rem, 80 / var(--max-md) * 100vw, 5rem) 0 clamp(2.5rem, 80 / var(--max-md) * 100vw, 5rem) clamp(2.5rem, 110 / var(--max-md) * 100vw, 6.875rem);
  z-index: 2;
  padding-right: 1rem;
  /* 背景は“カード自身”には持たせない（レイヤ分離） */
  background: transparent;
}
.top .p-value__card::before {
  content: "";
  position: absolute;
  inset: 0; /* まずカードのサイズにぴったり */
  background: #fff;
  z-index: -1;
  -webkit-box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.top .p-value__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%; /* カードの右端から開始 */
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: -1;
}
.top .p-value__card p {
  line-height: 3;
}
.top .p-products {
  position: relative;
  background: url(../../../img/top/top_product_bg@2x.webp) no-repeat;
  background-size: 100% 455px;
  background-position: top center;
  padding: 3.75rem 0;
  z-index: 1;
  margin-bottom: 3.75rem;
}
.top .p-products::before {
  content: "";
  width: 100%;
  height: 455px;
  background: rgba(255, 255, 255, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
.top .p-products h2 {
  padding-left: 3.125rem;
}
@media (max-width: 1279px) {
  .top {
    position: relative;
  }
}
@media (max-width: 1023px) {
  .top {
    position: relative;
  }
  .top .visual-pic {
    height: auto;
  }
  .top .p-value__card {
    position: relative;
    margin-top: -20%;
    left: 1rem;
    padding: 2em;
  }
}
@media (max-width: 767px) {
  .top {
    position: relative;
  }
  .top .p-value__card p {
    line-height: 2;
  }
}
@media (max-width: 639px) {
  .top {
    position: relative;
  }
}
/*# sourceMappingURL=../../map/object/project/top.css.map */