@charset "UTF-8";
:root {
  --vw: (100vw / 1400) * var(--ratio);
  --ratio: calc(var(--pc-width) / 750);
  --pc-width: 450;
}

html:not(.wf-active):not(.wf-inactive) #feature .sec__credit {
  opacity: 0 !important;
  visibility: hidden !important;
}

html.wf-active #feature .sec__credit.is-show,
html.wf-inactive #feature .sec__credit.is-show {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/*共通
----------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.l-container {
  width: 100%;
}

.l-header {
  padding: 0;
  position: relative;
  z-index: 999;
  background-color: #fff;
  overflow-x: clip;
}

.l-footer {
  padding: 0;
  position: relative;
  z-index: 999;
  background-color: #fff;
  overflow-x: clip;
}

.pc-footer {
  margin: 0;
}

#feature {
  width: 100%;
  margin: 0 auto;
  color: #000;
  background-image: url('../img/pc_bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  box-sizing: border-box;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: 400;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  position: relative;
  overflow: clip;
}
#feature * { box-sizing: border-box; padding: 0; margin: 0; }
#feature a { width: 100%; display: block; color: #000; text-decoration: none; }
#feature a:hover { opacity: 1; }
#feature img { width: 100%; height: auto; display: block; }

#feature .contentsWrap {
  display: grid;
  grid-template-columns: 1fr calc(var(--pc-width) / 1400 * 100vw) 1fr;
  width: 100%;
  position: relative;
}
#feature .mainWrap { order: 2; }

/* 左右エリアの設定 */
#feature .leftWrap,
#feature .rightWrap {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  
  display: flex;
  justify-content: center;
  align-items: center;

  /* 初期状態は非表示（クリック不可） */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* .img01 到達時にフェードイン表示 */
#feature .leftWrap.is-show,
#feature .rightWrap.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#feature .leftWrap { order: 1; }
#feature .rightWrap { order: 3; }

#feature .leftWrap img {
  width: 50%;
}
#feature .rightWrap a {
  width: 14%;
}
#feature .rightWrap a:hover {
  opacity: 0.9;
}

#feature .mainWrap .inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

#feature .bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
#feature .bg-wrap img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1px;
}

#feature .hero,
#feature .sec-contents {
  position: relative;
  z-index: 2; 
}

/* アニメーション
----------------------------*/
#feature .js-fadeIn {
  opacity: 0;
  filter: blur(10px);
  transition: filter 0.8s ease, opacity 0.8s ease;
  will-change: filter, opacity;
}
#feature .js-fadeIn.is-show { opacity: 1; filter: blur(0); }

#feature .js-fadeUp {
  opacity: 0;
  transform: translateY(calc(30 * var(--vw)));
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}
#feature .js-fadeUp.is-show { opacity: 1; transform: translateY(0); }

/* メインビジュアル (.hero)
----------------------------*/
#feature .hero { position: relative; width: 100%; }
#feature .hero__img { width: 100%; position: relative; overflow: hidden; }
#feature .hero__img img {
  transform: scale(1.15);
  transition: transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform-origin: center top;
}
#feature .hero__img.is-show img { transform: scale(1); }
#feature .hero__ttl {
  position: absolute;
  top: calc(655 * var(--vw));
  left: calc(104 * var(--vw));
  width: 72%;
  height: 100%;
  z-index: 10;
  opacity: 0;
  transition: opacity 1.5s ease 0.8s;
}
#feature .hero__ttl.is-show { opacity: 1; }

/* コンテンツ・テキスト類共通
----------------------------*/
#feature .sec-contents { padding-bottom: calc(100 * var(--vw)); }
#feature .sec__lead {
  margin: calc(80 * var(--vw)) auto calc(80 * var(--vw));
  text-align: center;
  font-size: calc(23 * var(--vw));
  line-height: 1.87;
  letter-spacing: 0.04em; /* 文字間隔調整 */
  font-weight: 500;
}
#feature .sec__txt {
  text-align: center;
  font-size: calc(23 * var(--vw));
  line-height: 1.87;
  letter-spacing: 0.08em; /* 文字間隔調整 */
  font-weight: 500;
}

#feature .sec__credit {
  margin: calc(20 * var(--vw)) auto calc(100 * var(--vw));
  text-align: center;
}

/* クレジット一覧（Flexboxで横並び・折り返し制御） */
#feature .sec__credit .credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: calc(10.5 * var(--vw)) calc(14 * var(--vw));
}

#feature .sec__credit .item {
  display: inline-block;
}

#feature .sec__credit .link {
  display: inline-flex;
  align-items: flex-end;
  width: auto;
  color: #000;
  text-decoration: none;
  border-bottom: none; 
  box-shadow: none;
  background: linear-gradient(#000, #000) no-repeat left bottom / 100% 0.5px;
  padding-bottom: 0; 
  font-family: "nimbus-sans", "hiragino-kaku-gothic-pron", sans-serif;
  font-size: calc(21 * var(--vw));
  line-height: 1; 
  font-weight: 300;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

#feature .sec__credit .txt {
  margin-right: calc(10 * var(--vw));
}

/* コンテンツ個別レイアウト調整 */

#feature .img01 {
  width: 87%;
  margin: calc(88 * var(--vw)) auto calc(66 * var(--vw)) 0;
}

#feature .img02 {
  width: 73%;
  margin: calc(70 * var(--vw)) 0 0 auto;
}

#feature .img03 {
  width: 86.5%;
  margin: calc(206 * var(--vw)) auto calc(72 * var(--vw));
}

#feature .img04 {
  width: 100%;
  margin: calc(69 * var(--vw)) auto 0;
}

#feature .img05-06_wrapper {
  position: relative;
  width: 100%;
  height: calc(780 * var(--vw));
  margin: calc(-52 * var(--vw)) 0 0;
}

#feature .img05 {
  position: absolute;
  width: 57%;
  top: calc(142 * var(--vw));
  left: 0;
  z-index: 10;
}

#feature .img06 {
  position: absolute;
  width: 46.5%;
  top: calc(458 * var(--vw));
  right: 0;
}

#feature .img07 {
  width: 80%;
  margin: calc(350 * var(--vw)) auto calc(63 * var(--vw));
}

#feature .img08 {
  width: 80%;
  margin: calc(72 * var(--vw)) auto calc(34 * var(--vw));
}

#feature .img09-10_wrapper {
  position: relative;
  width: 100%;
  height: calc(1200 * var(--vw));
  margin: calc(-140 * var(--vw)) 0 0;
}

#feature .img09 {
  position: absolute;
  width: 56%;
  top: calc(256 * var(--vw));
  right: 0;
  z-index: 10;
  clip-path: inset(1px); /* ★四方の1px分を切り落として白線を消去 */
}

#feature .title01 {
  position: absolute;
  width: 37%;
  top: calc(260 * var(--vw));
  left: calc(20 * var(--vw));
  z-index: 10;
}

#feature .text01 {
  position: absolute;
  top: calc(379 * var(--vw));
  left: calc(18 * var(--vw));
  text-align: left;
  z-index: 10;
}

#feature .img10 {
  position: absolute;
  width: 56%;
  bottom: calc(-237 * var(--vw));
  left: 0;
}

#feature .title02 {
  position: absolute;
  width: 36%;
  bottom: calc(115 * var(--vw));
  right: calc(41 * var(--vw));
  z-index: 10;
}

#feature .text02 {
  position: absolute;
  bottom: calc(-149 * var(--vw));
  right: calc(13 * var(--vw));
  text-align: left;
  z-index: 10;
}

#feature .img11 {
  width: 87%;
  margin: calc(435 * var(--vw)) auto calc(63 * var(--vw)) 0;
}

#feature .img12 {
  width: 80%;
  margin: calc(72 * var(--vw)) 0 calc(72 * var(--vw)) auto;
}

#feature .title03 {
  position: absolute;
  width: 72%;
  margin: calc(82 * var(--vw)) auto 0 calc(104 * var(--vw));
}

#feature .img13 {
  width: 67%;
  margin: calc(395 * var(--vw)) auto calc(66 * var(--vw)) calc(24 * var(--vw));
}

#feature .img14 {
  width: 67%;
  margin: calc(70 * var(--vw)) calc(26 * var(--vw)) calc(66 * var(--vw)) auto;
}

#feature .img15 {
  width: 93.5%;
  margin: calc(198 * var(--vw)) auto 0;
}

#feature .img16 {
  width: 93.5%;
  margin: calc(68 * var(--vw)) auto calc(72 * var(--vw));
}

/* VIEW ALL ボタン */
#feature .sec__all {
  margin: calc(150 * var(--vw)) auto calc(100 * var(--vw));
}
#feature .sec__all-btn {
  width: 19%;
  margin: calc(202 * var(--vw)) auto calc(100 * var(--vw)) calc(297 * var(--vw));
}

/* クレジット */

#feature .credit01 {
  margin: calc(40 * var(--vw)) auto 0 calc(203 * var(--vw));
}

#feature .credit01 .credit .item:nth-child(3) {
  flex-basis: 100%;
}

#feature .credit02 {
  margin: calc(34.5 * var(--vw)) auto calc(12.5 * var(--vw));
}

#feature .credit03 .credit .item:nth-child(1) {
  flex-basis: 100%;
}

#feature .credit03 .credit .item:nth-child(2) {
  flex-basis: 100%;
}

#feature .credit04 {
  position: absolute;
  top: calc(566 * var(--vw));
  left: calc(20 * var(--vw));
  text-align: left;
}

#feature .credit04 .link {
  flex-direction: column;
  align-items: flex-start; /* 左寄せ */
  background: none; /* 親要素全体の下線を消去 */
  box-shadow: none;
}

/* テキストの各行（<br>での改行部分含む）と価格にそれぞれ直接下線を適用 */
#feature .credit04 .txt,
#feature .credit04 .price {
  text-decoration: underline;
  text-underline-offset: calc(3 * var(--vw)); /* 文字と下線の間隔 */
  text-decoration-thickness: 0.5px;           /* 下線の太さ */
}

#feature .credit04 .txt {
  margin-right: 0;
  margin-bottom: calc(4 * var(--vw)); /* WONDER SHAPE と価格の間の間隔 */
  line-height: 1.5;                   /* 改行時の行間調整 */
  text-align: left;                   /* 複数行テキストの左寄せ */
}

#feature .credit05 {
  position: absolute;
  bottom: calc(-331 * var(--vw));
  right: calc(45 * var(--vw));
  text-align: left;
}

#feature .credit05 .link {
  flex-direction: column;
  align-items: flex-start; /* 左寄せ */
  background: none; /* 親要素全体の下線を消去 */
  box-shadow: none;
}

/* テキストの各行（<br>での改行部分含む）と価格にそれぞれ直接下線を適用 */
#feature .credit05 .txt,
#feature .credit05 .price {
  text-decoration: underline;
  text-underline-offset: calc(3 * var(--vw)); /* 文字と下線の間隔 */
  text-decoration-thickness: 0.5px;           /* 下線の太さ */
}

#feature .credit05 .txt {
  margin-right: 0;
  margin-bottom: calc(4 * var(--vw)); /* 商品名と価格の間の余白 */
  line-height: 1.5;                   /* 改行時の行間調整 */
  text-align: left;                   /* 複数行テキストの左寄せ */
}

#feature .credit06 {
  margin: calc(-23.5 * var(--vw)) auto 0 calc(147.5 * var(--vw));
}

#feature .credit07 {
  margin: calc(-38.5 * var(--vw)) auto 0 calc(204.5 * var(--vw));
}

#feature .credit08 {
  margin: calc(31.5 * var(--vw)) auto calc(71.5 * var(--vw));
}

/* 1400px以上の固定 
----------------------------*/
@media screen and (min-width: 1401px) {
  :root {
    --vw: 1px * var(--ratio);
  }
  #feature .contentsWrap {
    /* 中央カラム幅をpx単位で自動計算 */
    grid-template-columns: 1fr calc(var(--pc-width) * 1px) 1fr;
  }
}