/* ================================
   THE NORTH FACE MATERNITY+ 2026 SS
   ================================ */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "goldenbook", "a-otf-ryumin-pr6n", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 14px;
  line-height: 1.8;
  background-color: #fff;
  font-weight: 300;
  color: black;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 100px 60px;
}

.hero-title {
  text-align: left;
}

.hero-title.inview {
  transition-delay: 0.3s;
}

.hero-title img {
  width: 320px;
  height: auto;
}

.hero-logo {
  text-align: right;
}

.hero-logo.inview {
  transition-delay: 0.9s;
}

.hero-logo img {
  width: 80px;
  height: auto;
}

/* ================================
   Concept Section
   ================================ */
.concept {
  padding: 100px 60px;
  background-color: #fff;
}

.concept-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-items: end;
  justify-content: space-between;
}

.concept-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.concept-content {
  display: flex;
  justify-content: flex-end;
}

.concept-text {
  max-width: 500px;
  font-size: 13px;
  line-height: 2.2;
  text-align: justify;
  font-weight: 300;
}

/* ================================
   Product Lines Title
   ================================ */
.product-lines-title {
  padding: 80px 60px 200px;
  background-color: #fff;
  text-align: center;
}

.section-title-svg {
  height: 14px;
  width: auto;
  margin: 0 auto 30px;
}

.itemgraf {
  max-width: 800px;
  margin: 40px auto 0;
}

.itemgraf img {
  width: 100%;
  height: auto;
}

/* ================================
   Look Section
   ================================ */
.look-section {
  padding: 40px 0 100px;
  background-color: #fff;
}

.look-block {
  margin: 0 auto 240px;
  padding: 0;
}

.look-block:last-child {
  margin-bottom: 0;
}

.look-img {
  cursor: pointer;
}

a.look-img-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.look-img img {
  width: 100%;
  height: auto;
  display: block;
}

.look-text {
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.look-block-3 .look-img-1 .look-text {
  padding-left: 20px;
}
.look-item:hover .look-text {
  opacity: 1;
}

.look-item-name {
  font-size: 12px;
  letter-spacing: 0.2rem;
  font-weight: 400;
  margin-bottom: 2px;
}

.look-item-meta {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.look-item-meta:last-child {
  margin-bottom: 0;
}

.look-shop {
  flex-shrink: 0;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 3px;
}

.look-shop:hover {
  opacity: 0.7;
}

/* Block 1: 左大きい + 右2枚(2は小さく下にずれ、3は右端まで) + テキスト左下 */
.look-block-1 {
  display: flex;
  gap: 0;
}

.look-block-1 .look-col-left {
  width: 50%;
  padding-left: 40px;
  padding-right: 60px;
}

.look-block-1 .look-col-right {
  width: 50%;
  padding-left: 60px;
}

.look-block-1 .look-img-2 {
  width: 50%;
  padding-top: 40px;
}

.look-block-1 .look-img-3 {
  padding-top: 80px;
}

/* Block 2: 横幅いっぱい1枚（左右余白あり） */
.look-block-2 {
  padding: 0 40px;
}

.look-block-2 .look-img-full img {
  width: 100%;
  height: auto;
}

/* Block 3: 左大きい(5) + 右下に6+クレジット */
.look-block-3 {
  display: flex;
  gap: 0;
}

.look-block-3 .look-col-left {
  width: 50%;
}

.look-block-3 .look-col-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
}

.look-block-3 .look-img-2 {
  width: 70%;
  margin-left: auto;
}

/* Block 4: 7と8が狭い間隔で横並び、上下左右余白大きい */
.look-block-4 {
  display: flex;
  gap: 16px;
  padding: 0 120px;
}

.look-block-4 .look-img-1,
.look-block-4 .look-img-2 {
  width: 50%;
}

/* Block 5: 階段状レイアウト */
.look-block-stairs {
  display: flex;
  gap: 40px;
  padding: 0 0 0 40px;
  margin-bottom: 340px;
}

.stair-col-left {
  width: 50%;
  padding-top: 300px;
}

.stair-col-right {
  width: 50%;
  padding-top: 300px;
}

/* 左上の2枚（10と9が階段状に） */
.stair-row-1 {
  display: flex;
  gap: 10px;
  margin-bottom: 80px;
  padding-right: 40px;
}

.stair-10 {
  width: 50%;
}

.stair-9 {
  width: 50%;
  margin-top: 120px;
}

/* 11: 右側大きい */
.stair-11 {
  width: 100%;
}

/* 12: 左側大きい */
.stair-12 {
  width: 100%;
  margin-top: 300px;
}

/* 13, 14: 右側小さめ */
.stair-13 {
  width: 40%;
  margin-left: auto;
  margin-top: 160px;
}

.stair-14 {
  width: 40%;
  margin-left: auto;
  margin-top: 16px;
}

/* Block 6: 15 + クレジット */
.look-block-6 {
  padding: 0 120px;
}

.stair-15 {
  width: 100%;
  margin-left: 30%;
  margin-top: 160px;
}

/* Block 7: 16, 17 + 18 */
.look-block-7 {
  display: flex;
  gap: 40px;
  padding: 0 0 0 40px;
}

.look-block-7 .look-col-left {
  width: 50%;
}

.look-block-7 .look-col-right {
  width: 50%;
  display: flex;
  align-items: center;
}

.look-block-7 .img-16 {
  width: 70%;
}

.look-block-7 .img-17 {
  width: 50%;
  margin-top: 120px;
}

.look-block-7 .img-18 {
  width: 100%;
}

/* ================================
   Item Lineup Section
   ================================ */
.item-lineup {
  padding: 80px 40px 120px;
  background-color: #fff;
  overflow: hidden;
}

.item-lineup-title {
  text-align: center;
  margin-bottom: 30px;
}

.item-lineup-title img {
  height: 14px;
  width: auto;
  margin: 0 auto;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.item-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

a.item-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.item-card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: visible;
  margin-bottom: 16px;
}

.item-card-image::before,
.item-card-image::after {
  content: "";
  position: absolute;
  left: -100vw;
  right: -100vw;
  height: 1px;
  background-color: #ccc;
  pointer-events: none;
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.item-card.inview.is-visible .item-card-image::before,
.item-card.inview.is-visible .item-card-image::after {
  clip-path: inset(0 0 0 0);
  transition-delay: 0.6s;
}

.item-card-image::before {
  top: 0;
}

.item-card-image::after {
  bottom: 0;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.slider-track .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slider-track .slide.active {
  opacity: 1;
}

.slider-nav {
  position: absolute;
  bottom: 8px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  overflow: hidden;
  z-index: 3;
}

.slider-nav img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.slider-nav:hover {
  opacity: 0.7;
}

.slider-prev {
  left: 2px;
}

.slider-next {
  right: 2px;
  transform: scaleX(-1);
}

.item-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.item-name {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.5;
}

.item-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.item-meta {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.item-actions {
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-plus {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.item-plus img {
  width: 16px;
  height: 16px;
}

.item-shop {
  flex-shrink: 0;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 3px;
}

.item-shop:hover {
  opacity: 0.7;
}

.item-catchcopy,
.item-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}

.item-card.is-open .item-catchcopy,
.item-card.is-open .item-description {
  max-height: 500px;
  opacity: 1;
}

.item-catchcopy {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
}

.item-card.is-open .item-catchcopy {
  padding-top: 20px;
  margin-bottom: 16px;
}

.item-description {
  font-size: 11px;
  line-height: 1.9;
  font-weight: 300;
  padding-bottom: 0;
}

.item-card.is-open .item-description {
  padding-bottom: 20px;
}

/* ================================
   Links Section
   ================================ */
.links-section {
  border-top: 1px solid #ccc;
}

.links-grid {
  display: flex;
}

.links-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 0;
  font-size: 22px;
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 4px;
  color: inherit;
}

.links-item:first-child {
  border-right: 1px solid #ccc;
}

.links-item:hover {
  opacity: 0.7;
}

/* ================================
   Repair Banner
   ================================ */
.repair-banner {
  padding: 60px;
  border-top: 1px solid #ccc;
}

.repair-banner-link {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.repair-banner-link:hover {
  opacity: 0.85;
}

.repair-banner-img {
  flex-shrink: 0;
  width: 240px;
  height: 140px;
  overflow: hidden;
  border-radius: 999px 0 0 999px;
}

.repair-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.repair-banner-text {
  flex: 1;
  padding: 0 40px;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ================================
   Footer
   ================================ */
.footer {
  padding: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.footer-col {
  width: 50%;
}
.footer-note {
  font-size: 11px;
  margin-bottom: 40px;
}
.footer-note a {
  text-decoration: underline;
  text-decoration-color: #999;
  text-underline-offset: 3px;
}
.footer-note a:hover {
  opacity: 0.7;
}
.footer-credits {
  display: flex;
  gap: 60px;
}

.footer-company-logo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.credit-block {
  min-width: 200px;
}

.credit-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.credit-list p {
  font-size: 12px;
  line-height: 1.6;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 100px;
  height: auto;
}

.footer-notice {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 60px;
  display: flex;
  justify-content: space-between;
}

.footer-notice p {
  font-size: 12px;
  font-weight: 300;
  width: 50%;
}
.footer-notice p:first-child {
  font-size: 11px;
}

/* Look: 右端にくっつく画像のテキスト余白 */
@media screen and (min-width: 769px) {
  .look-block-1 .look-img-3 .look-text,
  .stair-11 .look-text,
  .stair-13 .look-text,
  .stair-14 .look-text,
  .look-block-7 .img-18 .look-text {
    padding-right: 10px;
  }
}

/* ================================
   Parallax
   ================================ */
@media screen and (min-width: 769px) {
  .look-section .look-col-left,
  .look-section .look-col-right,
  .look-section .stair-col-left,
  .look-section .stair-col-right,
  .look-block-4 > .look-item {
    will-change: transform;
  }
}

/* ================================
   InView Fade-in
   ================================ */
.inview {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.inview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.look-item.inview {
  transform: none;
  transition: opacity 0.8s ease;
}

.look-item.inview.is-visible {
  transform: none;
}

.inview.parallax-ready {
  transition: none;
}

/* ================================
   Responsive
   ================================ */
@media screen and (max-width: 1024px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 40px;
  }

  .hero-title img {
    width: 240px;
  }

  .hero-logo img {
    width: 60px;
  }

  .concept {
    padding: 60px 24px;
  }

  .concept-inner {
    flex-direction: column;
  }
  .concept-title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .concept-content {
    justify-content: flex-start;
  }

  .concept-text {
    max-width: 100%;
    font-size: 13px;
  }

  .product-lines-title {
    padding: 60px 24px 40px;
  }

  .look-section {
    padding: 30px 0 60px;
  }

  .look-block {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  /* SP: 全てのルックを1カラム縦並びに */
  .look-block-1,
  .look-block-3,
  .look-block-4,
  .look-block-7 {
    display: block;
    padding: 0 20px;
  }

  /* SP: Block stairsをflexで並び替え */
  .look-block-stairs {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  .look-block-1 .look-col-left,
  .look-block-1 .look-col-right,
  .look-block-3 .look-col-left,
  .look-block-3 .look-col-right,
  .look-block-7 .look-col-left,
  .look-block-7 .look-col-right {
    width: 100%;
    padding: 0;
  }

  .look-block-1 .look-col-right {
    display: block;
  }

  /* SP: 基本は100%幅 */
  .look-item {
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
  }

  .stair-row-1 {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 0;
  }

  /* SP: 9と10の順番を入れ替え */
  .stair-9 {
    order: 1;
  }

  .stair-10 {
    order: 2;
  }

  .stair-col-left,
  .stair-col-right {
    display: contents;
  }

  /* SP: 11, 12, 13, 14, 15の順番に */
  .stair-row-1 {
    order: 0;
  }

  .stair-11 {
    order: 1;
  }

  .stair-12 {
    order: 2;
  }

  .stair-13 {
    order: 3;
  }

  .stair-14 {
    order: 4;
  }

  .stair-15 {
    order: 5;
  }

  /* SP: クレジットを常に表示 */
  .look-text {
    opacity: 1;
    padding: 10px 0 20px;
  }

  /* 1.jpg: 通常 */
  .look-block-1 .look-img-1 {
    width: 100% !important;
  }

  /* 2.jpg: 小さめ、右の余白なし */
  .look-block-1 .look-img-2 {
    width: 70% !important;
    margin-left: auto !important;
    margin-right: -20px !important;
  }

  /* 3.jpg: 通常 */
  .look-block-1 .look-img-3 {
    width: 100% !important;
  }

  /* 4.jpg: 左右の余白なし */
  .look-block-2 {
    padding: 0 !important;
  }

  /* SP: Block 3-4を並び替え (6, 7, 5, 8の順) */
  .look-block-3-4-wrapper {
    display: flex;
    flex-direction: column;
  }

  .look-block-3-4-wrapper .look-block-3,
  .look-block-3-4-wrapper .look-block-4 {
    display: contents;
    padding: 0 !important;
  }

  .look-block-3-4-wrapper .look-col-left,
  .look-block-3-4-wrapper .look-col-right {
    display: contents;
  }

  /* 6.jpg: 1番目、左右にマージンあり */
  .look-block-3-4-wrapper .look-item.sp-item-6 {
    order: 1;
    width: 80% !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;
  }

  /* 7.jpg: 2番目、左のみにマージン */
  .look-block-3-4-wrapper .look-item.sp-item-7 {
    order: 2;
    width: calc(100% - 60px) !important;
    margin: 0 0 30px 60px !important;
    padding: 0 !important;
  }

  /* 5.jpg: 3番目、左右マージンなし */
  .look-block-3-4-wrapper .look-item.sp-item-5 {
    order: 3;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
  }

  /* 8.jpg: 4番目、小さめ */
  .look-block-3-4-wrapper .look-item.sp-item-8 {
    order: 4;
    width: 70% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 20px !important;
  }

  /* 9.jpg: 通常 */
  .stair-9 {
    width: 100% !important;
  }

  /* 10.jpg: 小さめ、右揃え、右マージンなし */
  .stair-10 {
    width: 70% !important;
    margin-left: auto !important;
    margin-right: -20px !important;
  }

  /* 11.jpg: 左右に余白なし */
  .stair-11 {
    width: calc(100% + 40px) !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  /* 12.jpg: 左右に余白なし */
  .stair-12 {
    width: 100% !important;
    margin-left: -20px !important;
    width: calc(100% + 40px) !important;
  }

  /* 13, 14: もっと小さく */
  .stair-13,
  .stair-14 {
    width: 50% !important;
  }

  /* 15.jpg: 通常 */
  .stair-15 {
    width: 100% !important;
  }

  .stair-15 .look-text,
  .stair-11 .look-text,
  .look-block-7 .img-17 .look-text {
    padding: 10px 0 20px;
  }

  /* SP: 端くっつき画像のキャプションに余白 */
  .look-block-3-4-wrapper .sp-item-5 .look-text,
  .stair-10 .look-text,
  .look-block-7 .img-18 .look-text {
    padding-right: 10px;
  }

  .stair-11 .look-text {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* 16.jpg: 小さめ */
  .look-block-7 .img-16 {
    width: 70% !important;
  }

  /* 17.jpg: 右の余白なし */
  .look-block-7 .img-17 {
    width: 80% !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* 18.jpg: 右の余白なし */
  .look-block-7 .img-18 {
    width: calc(100% + 20px) !important;
    margin-left: 0 !important;
    margin-right: -20px !important;
  }

  .item-lineup {
    padding: 60px 0;
  }

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

  .item-card-image {
    aspect-ratio: auto;
    overflow: hidden;
  }

  .item-card-image {
    overflow: hidden !important;
  }

  .slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    transition: transform 0.4s ease;
  }

  .item-card .slider-track .slide {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex: none !important;
    width: calc(50% - 2px) !important;
    height: auto !important;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    opacity: 1 !important;
    transition: none !important;
  }

  .item-name {
    font-size: 14px;
  }

  .item-catchcopy {
    font-size: 12px;
  }

  .footer {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-col {
    width: 100%;
  }
  .footer-notice p {
    width: 100%;
  }
  .footer-credits {
    flex-direction: column;
    gap: 30px;
  }

  .footer-company-logo {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo {
    align-self: flex-end;
  }

  .footer-notice {
    flex-direction: column;
    gap: 10px;
    padding-top: 30px;
  }

  .links-grid {
    flex-direction: column;
  }

  .links-item {
    padding: 40px 0;
    font-size: 16px;
  }

  .links-item:first-child {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .repair-banner {
    padding: 40px 20px;
  }

  .repair-banner-img {
    width: 120px;
    height: 80px;
  }

  .repair-banner-text {
    padding: 0 20px;
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .hero-content {
    padding: 24px;
  }

  .hero-title img {
    width: 180px;
  }

  .hero-logo img {
    width: 50px;
  }

  .concept-title {
    font-size: 16px;
  }

  .item-name {
    font-size: 12px;
  }
}
