/* ---------------------------------------
   Reset
--------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body,
h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ---------------------------------------
   Variables
--------------------------------------- */
:root {
  --c-text: #2d3132;
  --c-sub: #9c9c9c;
  --c-white: #ffffff;
  --c-bg: #ffffff;
  --c-accent: #1e5fcb;
  --header-h: clamp(52px, 5.9vw, 84px);

  /* design canvas = 1920px wide. gutter scales proportionally,
     capped so it never exceeds the source design values. */
  --gutter: clamp(20px, 18.75vw, 360px);
  --gutter-wide: clamp(20px, 5.2vw, 100px);
  --gallery-gap: clamp(8px, 0.63vw, 12px);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;
}

body {
  font-family: var(--font-jp);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------
   Reveal-on-scroll utility
   (direct children stagger in one after another;
   the [data-reveal] element itself does not animate)
--------------------------------------- */
[data-reveal] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal] > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal] > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal] > *:nth-child(n + 5) { transition-delay: 0.4s; }

/* grid wrappers are revealed via their own items instead (see below),
   so cancel the generic child-fade on them to avoid double-fading */
.category__inner > .category__grid,
.lineup__inner > .lineup__grid {
  opacity: 1;
  transform: none;
  transition: none;
}

/* CATEGORY cards cascade in individually */
.category__grid > .category__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.category__inner.is-visible .category__grid > .category__item {
  opacity: 1;
  transform: translateY(0);
}

.category__grid > .category__item:nth-child(2) { transition-delay: 0.06s; }
.category__grid > .category__item:nth-child(3) { transition-delay: 0.12s; }
.category__grid > .category__item:nth-child(4) { transition-delay: 0.18s; }
.category__grid > .category__item:nth-child(5) { transition-delay: 0.24s; }
.category__grid > .category__item:nth-child(6) { transition-delay: 0.3s; }

/* LINEUP cards cascade in individually (standalone sections only,
   not the reused .lineup__grid inside relatedProducts) */
.lineup__inner .lineup__grid > .lineup__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lineup__inner.is-visible .lineup__grid > .lineup__item {
  opacity: 1;
  transform: translateY(0);
}

.lineup__inner .lineup__grid > .lineup__item:nth-child(2) { transition-delay: 0.05s; }
.lineup__inner .lineup__grid > .lineup__item:nth-child(3) { transition-delay: 0.1s; }
.lineup__inner .lineup__grid > .lineup__item:nth-child(4) { transition-delay: 0.15s; }
.lineup__inner .lineup__grid > .lineup__item:nth-child(5) { transition-delay: 0.2s; }

/* CONCEPT body copy fades in line by line */
.concept__body > p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.concept__inner.is-visible .concept__body > p {
  opacity: 1;
  transform: translateY(0);
}

.concept__body > p:nth-child(1) { transition-delay: 0.15s; }
.concept__body > p:nth-child(2) { transition-delay: 0.3s; }

/* ---------------------------------------
   First view (header + hero = 100vh)
--------------------------------------- */
.fv {
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------
   Header
--------------------------------------- */
.c-header {
  background: var(--c-white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  transition: border-color 0.25s ease;
}

/* コーナン共通CSSの `header:not(.pane-header__b2b)` が border-bottom を
   none にリセットしており、詳細度(要素+クラス相当)が .c-header より高いため
   上書きされてしまう。IDセレクタで詳細度を上げて確実に効かせる。 */
#js-header {
  border-bottom: 1px solid #e0e0e0;
}

.c-header.is-scrolled {
  border-bottom-color: #e0e0e0;
}

.c-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 48px);
  min-height: var(--header-h);
  padding-inline: clamp(20px, 5.2vw, 100px);
}

.c-header__logo {
  position: relative;
  display: block;
}

.c-header__logoImg {
  height: auto;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-header__logoImg--main {
  width: clamp(140px, 12vw, 220px);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.c-header__logoImg--scrolled {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(90px, 7vw, 130px);
  transform: translateY(-30%) scale(0.85);
  opacity: 0;
}

.c-header.is-scrolled .c-header__logoImg--main {
  opacity: 0;
  transform: translateY(-70%) scale(0.85);
}

.c-header.is-scrolled .c-header__logoImg--scrolled {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.c-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
}

.c-header__navLink {
  position: relative;
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 500;
  padding-bottom: 8px;
  white-space: nowrap;
}

.c-header__navLink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.c-header__navLink:hover::after {
  transform: scaleX(1);
}

/* ---------------------------------------
   Hero
--------------------------------------- */
.hero {
  position: relative;
  color: var(--c-white);
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  line-height: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.12) 32%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.hero__inner {
  position: absolute;
  left: clamp(20px, 5.2vw, 100px);
  top: 12%;
  right: clamp(80px, 8vw, 160px);
}

.hero__brand {
  line-height: 0;
}

.hero__brand img {
  width: clamp(230px, 35vw, 905px);
  height: auto;
}

.hero__subtitle {
  margin-top: clamp(8px, 1.2vw, 20px);
  font-family: var(--font-jp);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 6px 26px rgba(0, 0, 0, 0.3);
  font-size: clamp(18px, 1.19vw, 31px);
}

.hero__subtitle-break {
  display: none;
}

.hero__scroll {
  position: absolute;
  right: clamp(16px, 2.5vw, 48px);
  bottom: clamp(40px, 6vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
}

.hero__scroll-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(64px, 6.5vw, 120px);
  height: clamp(64px, 6.5vw, 120px);
  transform: translate(-50%, -50%) rotate(0deg);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: heroScrollRingSpin 18s linear infinite;
  pointer-events: none;
}

.hero__scroll-text {
  position: relative;
  writing-mode: vertical-rl;
  font-size: clamp(10px, 0.7vw, 13px);
  letter-spacing: 0.15em;
  animation: scrollTextPulse 1.8s ease-in-out infinite;
}

@keyframes heroScrollRingSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero__scroll-line {
  width: 1px;
  height: clamp(28px, 3vw, 56px);
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--c-white);
  animation: scrollLine 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollLine {
  0% { top: -40%; }
  70% { top: 100%; }
  100% { top: 100%; }
}

@keyframes scrollTextPulse {
  0%, 70%, 100% { opacity: 1; }
  35% { opacity: 0.4; }
}

/* ---------------------------------------
   Concept
--------------------------------------- */
.concept {
  padding-block: clamp(48px, 6.6vw, 127px) clamp(48px, 6vw, 115px);
}

.concept__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(40px, 5.5vw, 105px);
}

.concept__row {
  display: flex;
  justify-content: center;
}

.concept__body {
  flex: 0 1 900px;
  min-width: 0;
  text-align: center;
}

.concept__body p {
  font-size: clamp(13px, 1.05vw, 20px);
  font-weight: 500;
  line-height: 2.3;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}

.concept__body p + p {
  margin-top: 1.6em;
}

.concept__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(24px, 3vw, 44px);
}

.concept__navBreak {
  display: none;
}

@media (min-width: 1025px) {
  .concept__navBreak {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
}

@media (max-width: 1024px) {
  .concept__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .concept__navLink {
    text-align: center;
  }

}

.concept__navLink {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: var(--c-text);
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: clamp(6px, 1.2vw, 10px) clamp(14px, 3vw, 26px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.concept__navLink:hover {
  background: #fff;
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ---------------------------------------
   Concept collage (static photo wall, replaces
   the earlier auto-scrolling marquee gallery)
--------------------------------------- */
.concept__collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(160px, 26vw, 340px);
  gap: var(--gallery-gap);
  width: 100%;
  max-width: calc(1760px + var(--gutter-wide) * 2);
  padding-inline: var(--gutter-wide);
  margin-inline: auto;
}

.concept__collageItem {
  overflow: hidden;
  background: #e4e4e4;
  border-radius: 6px;
}

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

.concept__collageItem--1 { grid-column: span 3; }
.concept__collageItem--2 { grid-column: span 5; }
.concept__collageItem--3 { grid-column: span 4; }
.concept__collageItem--4 { grid-column: span 6; }
.concept__collageItem--5 { grid-column: span 6; }

/* ---------------------------------------
   LINEUP comments (single customer review shown
   above each product's LINEUP block, in the same
   left-label/right-card look as the earlier
   combined "Comments" section, now repeated per product)
--------------------------------------- */
.lineup-comments {
  background: #fff;
  padding-block: clamp(16px, 2vw, 32px) clamp(48px, 6.6vw, 127px);
}

.lineup__comments {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 8vw, 120px);
  padding-inline: clamp(20px, 5.2vw, 100px);
}

.lineup__commentsHead {
  flex: 0 0 auto;
  width: clamp(160px, 22vw, 260px);
}

.lineup__commentsLabel {
  font-family: var(--font-en);
  font-size: clamp(26px, 2.86vw, 55px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(4px, 0.5vw, 8px);
}

.lineup__commentsTitle {
  font-size: clamp(14px, 1.3vw, 25px);
  font-weight: 500;
}

.lineup__commentsList {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 28px);
}

.lineup__commentsCard {
  background: #f5f5f5;
  padding: clamp(24px, 2.6vw, 48px);
}

.lineup__commentsCardStars {
  display: flex;
  gap: 3px;
  margin-bottom: clamp(8px, 1vw, 14px);
}

.lineup__star {
  display: inline-block;
  width: clamp(13px, 1.1vw, 17px);
  height: clamp(13px, 1.1vw, 17px);
  background: #e8a33d;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2% 35%, 39% 35%
  );
}

.lineup__commentsCardTitle {
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 700;
  margin-bottom: clamp(10px, 1.4vw, 26px);
}

.lineup__commentsCardText {
  font-size: clamp(12px, 1vw, 18px);
  line-height: 1.8;
  color: var(--c-text);
}

.lineup__commentsCardSource {
  font-size: clamp(11px, 0.9vw, 14px);
  color: var(--c-sub);
  margin-top: clamp(8px, 1vw, 14px);
}

/* ---------------------------------------
   Category
--------------------------------------- */
.category {
  padding-block: clamp(48px, 6.6vw, 127px);
}

.category__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.category__label {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.02vw, 20px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-sub);
  margin-bottom: clamp(6px, 0.8vw, 12px);
}

.category__title {
  font-size: clamp(20px, 1.98vw, 38px);
  font-weight: 700;
  margin-bottom: clamp(32px, 4vw, 76px);
}

.category__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(40px, 5vw, 88px) clamp(16px, 1.9vw, 36px);
  text-align: left;
}

.category__item {
  grid-column: span 2;
}

/* With exactly 5 items, the last row (items 4-5) would otherwise sit
   flush left under columns 1-2; center that pair instead. */
.category__item:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.category__item:nth-child(5):nth-last-child(1) {
  grid-column: 4 / span 2;
}

.category__link {
  display: block;
}

/* Kohnan's site-wide base CSS underlines links on hover/focus (a:hover,
   a:focus) and draws a thick focus-ring outline on focus (e.g. right after
   a click) -- this card's title/subtitle text and its box shouldn't pick
   those up. */
.category__link:hover,
.category__link:hover *,
.category__link:focus,
.category__link:focus * {
  text-decoration: none;
}

.category__link:focus {
  outline: none;
}

.category__thumb {
  position: relative;
  display: block;
  aspect-ratio: 377 / 509;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
  transition: box-shadow 0.4s ease;
}

.category__link:hover .category__thumb {
  box-shadow: 0 16px 32px rgba(45, 49, 50, 0.18);
}

.category__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.category__thumb img.is-active {
  opacity: 1;
}

.category__link:hover .category__thumb img {
  transform: scale(1.06);
}

/* Kohnan's site-wide base.css has `a:hover img { opacity: 1; }`, which
   outranks our plain `.category__thumb img { opacity: 0; }` (2 elements +
   1 pseudo-class beats 1 class + 1 element) and was forcing BOTH swatch
   images to opacity:1 while hovered -- so swapping the active color while
   still hovering was invisible until the mouse left and our rule regained
   control. Re-assert it here with enough specificity to win under hover too. */
.category__link:hover .category__thumb img {
  opacity: 0;
}

.category__link:hover .category__thumb img.is-active {
  opacity: 1;
}

.category__colors {
  position: absolute;
  left: clamp(8px, 1.1vw, 20px);
  bottom: clamp(8px, 1.1vw, 20px);
  z-index: 2;
  display: flex;
  gap: clamp(4px, 0.4vw, 6px);
}

.category__colorBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(13px, 1.1vw, 17px);
  height: clamp(13px, 1.1vw, 17px);
  padding: 2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.category__colorBtn.is-active {
  border-color: rgba(45, 49, 50, 0.45);
  transform: scale(1.15);
}

.category__colorSwatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.category__colorSwatch--black {
  background: #2d3132;
}

.category__colorSwatch--white {
  background: #fff;
  border: 1px solid #cbcbcb;
}

.category__icon {
  position: absolute;
  right: clamp(8px, 1.1vw, 20px);
  bottom: clamp(8px, 1.1vw, 20px);
  width: clamp(24px, 2.8vw, 53px);
  height: clamp(24px, 2.8vw, 53px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.category__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(6px, 0.5vw, 8px);
  height: clamp(6px, 0.5vw, 8px);
  border-right: 2px solid var(--c-text);
  border-bottom: 2px solid var(--c-text);
  transform: translate(-60%, -70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.category__link:hover .category__icon {
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

.category__link:hover .category__icon::after {
  animation: categoryIconBounce 0.9s ease infinite;
}

@keyframes categoryIconBounce {
  0%, 100% { transform: translate(-60%, -70%) rotate(45deg); }
  50% { transform: translate(-60%, -20%) rotate(45deg); }
}

.category__name {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(18px, 2.3vw, 45px);
  font-weight: 600;
  line-height: 1.15;
  margin-top: clamp(8px, 1vw, 16px);
}

.category__slash {
  display: inline-block;
  font-size: 0.7em;
  vertical-align: 0.05em;
}

.category__nameJa {
  display: block;
  font-size: clamp(12px, 1.02vw, 20px);
  font-weight: 500;
  color: var(--c-sub);
  margin: 4px 0 0;
}

/* ---------------------------------------
   Product detail (per-category showcase)
--------------------------------------- */
.product-detail {
  padding-block: clamp(48px, 6.6vw, 127px) clamp(48px, 6vw, 115px);
}

.product-detail__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--gutter-wide);
  margin-bottom: clamp(32px, 4.2vw, 80px);
}

.product-detail__title {
  font-family: var(--font-en);
  font-size: clamp(40px, 5.5vw, 100px);
  font-weight: 600;
}

.product-detail__subtitle {
  font-size: clamp(14px, 1.3vw, 25px);
  color: var(--c-sub);
  margin-top: 6px;
}

.product-detail__desc {
  max-width: 560px;
  font-size: clamp(13px, 1.2vw, 23px);
  line-height: 1.8;
}

.product-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4px, 0.3vw, 6px);
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--gutter-wide);
  margin-bottom: clamp(40px, 4.6vw, 88px);
}

.product-detail__heroImg {
  aspect-ratio: 865 / 564;
  overflow: hidden;
}

.product-detail__heroImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail__heroImg:hover img {
  transform: scale(1.05);
}

.product-detail__tabs {
  position: relative;
  display: flex;
  gap: clamp(24px, 2.7vw, 52px);
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--gutter-wide);
  margin-bottom: clamp(20px, 2.3vw, 44px);
  overflow-x: auto;
  scrollbar-width: none;
}

.product-detail__tabs::-webkit-scrollbar {
  display: none;
}

.product-detail__tab {
  padding-block: 0 clamp(10px, 1.1vw, 20px);
  font-size: clamp(12px, 1vw, 18px);
  color: var(--c-text);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.product-detail__tab.is-active {
  color: var(--c-accent);
  font-weight: 500;
}

.product-detail__tabLine {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--c-accent);
  transition: left 0.3s ease, width 0.3s ease;
}

.product-detail__carousel {
  max-width: none;
  margin-inline: auto;
  padding-inline-start: var(--gutter-wide);
}

.product-detail__track {
  position: relative;
  display: flex;
  cursor: grab;
  user-select: none;
  gap: clamp(10px, 1vw, 18px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* trailing space so the last slide(s) can reach the left edge when a
     tab near the end is clicked -- set precisely in JS (main.js), since
     a %-based value here creates a circular dependency with the flex
     children's own %-based widths and never resolves exactly */
}

.product-detail__track::-webkit-scrollbar {
  display: none;
}

.product-detail__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.product-detail__dragHint {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(44px, 4.4vw, 64px);
  height: clamp(44px, 4.4vw, 64px);
  margin-left: calc(clamp(44px, 4.4vw, 64px) / -2);
  margin-top: calc(clamp(44px, 4.4vw, 64px) / -2);
  border-radius: 50%;
  background: rgba(45, 49, 50, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.product-detail__track.is-hover .product-detail__dragHint,
.product-detail__track.is-dragging .product-detail__dragHint {
  opacity: 1;
}

.product-detail__slide {
  flex: 0 0 calc((100% - clamp(10px, 1vw, 18px) * 2) / 2.5);
  scroll-snap-align: start;
}

.product-detail__slideImg {
  position: relative;
  aspect-ratio: 602 / 394;
  overflow: hidden;
  background: #f5f5f5;
}

.product-detail__slideImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail__slideImg:hover img {
  transform: scale(1.05);
}

.product-detail__slideTitle {
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 700;
  margin-top: clamp(14px, 1.6vw, 30px);
}

.product-detail__slideText {
  font-size: clamp(12px, 1vw, 18px);
  line-height: 1.8;
  margin-top: clamp(6px, 0.8vw, 14px);
}

/* ---------------------------------------
   Feature (static image + text rows; replaces the
   earlier sticky scroll-jack crossfade version)
--------------------------------------- */
.feature__head {
  text-align: center;
  padding-block: clamp(16px, 2vw, 32px) clamp(24px, 3vw, 48px);
}

.feature__headLabel {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.02vw, 20px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-sub);
  margin-bottom: clamp(6px, 0.8vw, 12px);
}

.feature__headTitle {
  font-size: clamp(20px, 1.98vw, 38px);
  font-weight: 700;
}

.feature__sticky {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: clamp(16px, 2vw, 28px);
  align-items: start;
  padding-inline: var(--gutter-wide);
  padding-bottom: clamp(48px, 6.6vw, 127px);
}

.feature__media,
.feature__body {
  display: contents;
}

.feature__mediaItem {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #e4e4e4;
}

.feature__mediaItem:nth-child(1) { grid-column: 1; grid-row: 1; }
.feature__mediaItem:nth-child(2) { grid-column: 2; grid-row: 1; }

.feature__mediaItem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__textItem:nth-child(1) { grid-column: 1; grid-row: 2; }
.feature__textItem:nth-child(2) { grid-column: 2; grid-row: 2; }

.feature__title {
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 700;
  margin-bottom: clamp(10px, 1.4vw, 26px);
}

.feature__text {
  font-size: clamp(12px, 1vw, 18px);
  line-height: 1.8;
}

@media (max-width: 720px) {
  .feature__sticky {
    grid-template-columns: 1fr;
    row-gap: clamp(12px, 4vw, 20px);
  }

  .feature__mediaItem:nth-child(1) { grid-column: 1; grid-row: 1; }
  .feature__mediaItem:nth-child(2) { grid-column: 1; grid-row: 3; }

  .feature__textItem:nth-child(1) { grid-column: 1; grid-row: 2; }
  .feature__textItem:nth-child(2) { grid-column: 1; grid-row: 4; }
}

/* ---------------------------------------
   Lineup (system-inserted product widget; dummy placeholder)
--------------------------------------- */
.lineup {
  background: #f5f5f5;
  padding-block: clamp(48px, 6.6vw, 127px);
}

.lineup__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.lineup__label {
  font-family: var(--font-en);
  font-size: clamp(12px, 1.02vw, 20px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-sub);
  margin-bottom: clamp(6px, 0.8vw, 12px);
}

.lineup__title {
  font-size: clamp(20px, 1.98vw, 38px);
  font-weight: 700;
  margin-bottom: clamp(32px, 4vw, 76px);
}

.lineup__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.6vw, 30px);
  text-align: left;
}

.lineup__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #e4e4e4;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.lineup__item:hover .lineup__thumb {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(45, 49, 50, 0.15);
}

.lineup__name {
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.6;
  margin-top: clamp(8px, 1vw, 14px);
}

.lineup__price {
  margin-top: clamp(4px, 0.6vw, 8px);
}

.lineup__priceValue {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  color: #d32f2f;
}

.lineup__priceTax {
  font-size: clamp(10px, 0.9vw, 13px);
  color: var(--c-sub);
  margin-left: 2px;
}

/* ---------------------------------------
   Kohnan product API widget (LINEUP / related products)
   商品情報取得APIの共通コードが生成する .goods-slider-container /
   .dynamic-slider / .slider-item をこのLPのデザインに合わせて上書き。
   common.css(コーナン他ページ向け汎用スタイル)は読み込まず、独自定義している。
--------------------------------------- */
.goods-slider-container {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.dynamic-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(14px, 1.6vw, 30px) clamp(14px, 1.6vw, 30px);
  text-align: left;
}

.slider-item {
  flex: 0 0 calc((100% - clamp(14px, 1.6vw, 30px) * 3) / 4);
}

@media (max-width: 1024px) {
  .slider-item {
    flex: 0 0 calc((100% - clamp(14px, 1.6vw, 30px)) / 2);
  }
}

@media (max-width: 720px) {
  .dynamic-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .dynamic-slider::-webkit-scrollbar {
    display: none;
  }

  .slider-item {
    flex: 0 0 34vw;
    scroll-snap-align: start;
  }
}

.slider-item a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #e4e4e4;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.slider-item:hover a {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(45, 49, 50, 0.15);
}

.slider-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-caption {
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.6;
  margin-top: clamp(8px, 1vw, 14px);
  color: var(--c-text);
}

.slider-caption span:not(.tax_class) {
  display: inline-block;
  margin-top: clamp(4px, 0.6vw, 8px);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  color: var(--c-text);
}

.tax_class {
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 400;
  color: var(--c-sub);
  margin-left: 2px;
}

.relatedProducts__products.goods-slider-container {
  max-width: none;
  padding-inline: 0;
  margin-top: clamp(12px, 1.4vw, 18px);
}

/* .lineup__inner already establishes the 1200px content width + its own
   side padding, so .goods-slider-container must not add a second layer
   of padding here (it did, up to 360px each side on ultra-wide screens,
   squeezing the slider down to a narrow strip) */
.lineup__inner .goods-slider-container {
  max-width: none;
  padding-inline: 0;
}

@media (max-width: 720px) {
  .lineup__inner .goods-slider-container {
    margin-inline: calc(var(--gutter) * -1);
  }

  .lineup__inner .goods-slider-container .dynamic-slider {
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
}

/* ---------------------------------------
   Related products (dummy placeholder)
--------------------------------------- */
.relatedProducts {
  padding-block: clamp(48px, 6.6vw, 127px);
}

.relatedProducts__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.relatedProducts__head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 32px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.relatedProducts__listWrap {
  background: #f5f5f5;
}

.relatedProducts__list {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(24px, 3.2vw, 56px) var(--gutter);
}

.relatedProducts__label {
  font-size: clamp(20px, 1.98vw, 38px);
  font-weight: 700;
}

.relatedProducts__headText {
  font-size: clamp(12px, 1vw, 15px);
  color: var(--c-sub);
}

.relatedProducts__item {
  background: #fff;
  border-radius: 6px;
  padding: clamp(24px, 3.2vw, 56px);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.relatedProducts__item:last-child {
  margin-bottom: 0;
}

.relatedProducts__row {
  display: flex;
  gap: clamp(24px, 3.2vw, 56px);
}

.relatedProducts__thumb {
  flex: 0 0 clamp(220px, 40vw, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #b8b8b0;
}

.relatedProducts__thumb img,
.relatedProducts__subThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relatedProducts__body {
  flex: 1 1 auto;
  min-width: 0;
}

.relatedProducts__title {
  font-size: clamp(16px, 1.5vw, 26px);
  font-weight: 700;
  margin-bottom: clamp(10px, 1.2vw, 18px);
}

.relatedProducts__text {
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.9;
  color: var(--c-text);
}

.relatedProducts__sub {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(16px, 1.8vw, 24px);
}

.relatedProducts__subThumb {
  flex: 1 1 0;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #b8b8b0;
}

.relatedProducts__productsLabel {
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid rgba(45, 49, 50, 0.1);
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  color: var(--c-sub);
}

.relatedProducts__products {
  margin-top: clamp(12px, 1.4vw, 18px);
}

/* ---------------------------------------
   Related articles (dummy placeholder)
--------------------------------------- */
.relatedArticles {
  padding-block: clamp(40px, 5vw, 80px) clamp(48px, 6.6vw, 127px);
  border-top: 1px solid rgba(45, 49, 50, 0.1);
}

.relatedArticles__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.relatedArticles__heading {
  font-size: clamp(20px, 1.98vw, 38px);
  font-weight: 700;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.relatedArticles__item {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}

.relatedArticles__thumb {
  flex: 0 0 30%;
  aspect-ratio: 4 / 3;
  background: #d8dee8;
}

.relatedArticles__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
  background: var(--c-accent);
  color: #fff;
  padding: clamp(20px, 2.6vw, 40px) clamp(24px, 3.2vw, 48px);
}

.relatedArticles__title {
  font-size: clamp(14px, 1.2vw, 19px);
  font-weight: 700;
  line-height: 1.6;
}

.relatedArticles__icon {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  vertical-align: -0.1em;
}

.relatedArticles__text {
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.8;
  opacity: 0.9;
}

.relatedArticles__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(4px, 0.6vw, 8px);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: clamp(8px, 1vw, 12px) clamp(20px, 2.4vw, 28px);
}

.relatedArticles__btnArrow {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

/* ---------------------------------------
   Related keywords (SEO tag list; dummy placeholder)
--------------------------------------- */
.related {
  padding-block: clamp(28px, 3.6vw, 56px);
  border-top: 1px solid rgba(45, 49, 50, 0.08);
}

.related__inner {
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.related__title {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  color: var(--c-sub);
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.related__group {
  margin-bottom: clamp(10px, 1.2vw, 16px);
}

.related__group:last-child {
  margin-bottom: 0;
}

.related__tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.9vw, 12px);
}

.related__tag a {
  display: block;
  font-size: clamp(11px, 0.9vw, 13px);
  color: var(--c-sub);
  border: 1px solid rgba(45, 49, 50, 0.14);
  border-radius: 999px;
  padding: clamp(4px, 0.5vw, 6px) clamp(12px, 1.3vw, 16px);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related__tag a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ---------------------------------------
   Footer
--------------------------------------- */
.c-footer {
  background: #f5f5f5;
  padding-block: clamp(32px, 4.4vw, 64px);
}

.c-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  text-align: center;
  padding-inline: var(--gutter-wide);
}

.c-footer__logo {
  width: clamp(140px, 12vw, 220px);
  height: auto;
}

.c-footer__top {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: var(--c-text);
  border: 1px solid rgba(45, 49, 50, 0.2);
  border-radius: 999px;
  padding: 10px 28px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.c-footer__top:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.c-footer__copyright {
  font-family: var(--font-en);
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--c-sub);
  margin-top: clamp(8px, 1vw, 12px);
}

/* ---------------------------------------
   Responsive
--------------------------------------- */
@media (min-width: 721px) and (max-width: 1024px) {
  .fv {
    height: auto;
    min-height: 0;
  }

  .hero {
    flex: none;
    aspect-ratio: 3 / 2;
  }

  .hero__brand img {
    width: clamp(230px, 46vw, 905px);
  }

  .hero__subtitle {
    font-size: clamp(16px, 1.58vw, 22px);
  }
}

@media (max-width: 720px) {
  .c-header__nav {
    display: none;
  }

  .hero__inner {
    right: var(--gutter);
  }

  .hero__brand {
    white-space: normal;
  }

  .hero__subtitle {
    font-size: clamp(14px, 4vw, 19px);
  }

  .hero__subtitle-break {
    display: inline;
  }

  .concept__inner {
    padding-inline: clamp(20px, 6vw, 40px);
  }

  .concept__body {
    flex-basis: 100%;
    text-align: left;
  }

  .concept__body p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0;
  }

  .lineup__comments {
    flex-direction: column;
    gap: 16px;
  }

  .lineup__commentsHead {
    width: auto;
  }

  .concept__collage {
    grid-auto-rows: clamp(140px, 42vw, 220px);
  }

  .concept__collageItem--1,
  .concept__collageItem--2,
  .concept__collageItem--3,
  .concept__collageItem--4,
  .concept__collageItem--5 {
    grid-column: span 6;
  }

  .concept__collageItem--1 {
    grid-column: span 12;
  }

  .category__inner {
    padding-inline: var(--gutter-wide);
  }

  .category__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category__item:nth-child(4):nth-last-child(2) {
    grid-column: span 2;
  }

  .category__item:nth-child(5):nth-last-child(1) {
    grid-column: span 2;
  }

  .product-detail__head {
    flex-direction: column;
  }

  .product-detail__hero {
    grid-template-columns: 1fr;
  }

  .relatedProducts__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .relatedProducts__row {
    flex-direction: column;
  }

  .relatedProducts__thumb {
    flex: 0 0 auto;
    width: 100%;
  }

  .relatedProducts__sub {
    flex-wrap: wrap;
  }

  .relatedProducts__inner,
  .relatedProducts__list,
  .relatedArticles__inner,
  .related__inner {
    padding-inline: clamp(16px, 5vw, 32px);
  }

  .product-detail__slide {
    flex-basis: 80%;
  }

  .relatedArticles__item {
    flex-direction: column;
  }

  .relatedArticles__thumb {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .relatedArticles__btn {
    white-space: nowrap;
  }

  .lineup__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    gap: clamp(14px, 4vw, 20px);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .lineup__grid::-webkit-scrollbar {
    display: none;
  }

  .relatedProducts__products.lineup__grid {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .lineup__item {
    flex: 0 0 34vw;
    scroll-snap-align: start;
  }
}

@media (max-width: 1024px) and (min-width: 721px) {
  .relatedProducts__inner,
  .relatedProducts__list,
  .relatedArticles__inner,
  .related__inner,
  .lineup__inner {
    padding-inline: var(--gutter-wide);
  }

  .lineup__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
