/* ================================================================
   BE CERA — Index page styles
   Page-specific rules only; shared atoms live in css/site.css
================================================================ */

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 8s var(--ease) forwards;
}
.hero__slide.is-active .hero__slide-bg { animation: heroZoom 8s var(--ease) forwards; }
.hero__slide-bg--sp { display: none; }
@media (max-width: 720px) {
  .hero__slide-bg:not(.hero__slide-bg--sp) { display: none; }
  .hero__slide-bg--sp { display: block; }
}
@keyframes heroZoom {
  from { transform: scale(1.15); }
  to   { transform: scale(1.02); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(60px, 10vh, 120px);
}
.hero__eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: none;
  opacity: .9;
  margin-bottom: 24px;
}
.hero__eyebrow::before { background: rgba(255,255,255,.7); }
.hero__title {
  max-width: 900px;
  margin-bottom: 25px;
  line-height: 1.3;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
  color: #fff;
  font-size: clamp(48px, 6vw, 56px);
}
.hero__sub {
  font-family: var(--serif-jp);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 36px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero__title .emph {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  padding: 0 .15em;
}

.hero__bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__cta-group {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: none;
  padding: 20px 40px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: all .4s var(--ease);
}
.hero__cta:hover { background: #fff; color: var(--ink); }

/* Slide meta strip (right side) */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: none;
}
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 36px; height: 1px;
  background: rgba(255,255,255,.4);
  transition: background .3s var(--ease);
  cursor: pointer;
}
.hero__dot.is-active { background: #fff; }
.hero__count { opacity: .8; }

.scroll-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: none;
  color: #fff;
  opacity: .8;
}
.scroll-hint::before {
  content: "";
  display: block;
  width: 1px; height: 40px;
  background: rgba(255,255,255,.6);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================================
   NEWS
================================================================ */
.news {
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--bg);
}
.news__head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.news__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  max-width: 1000px;
}
.news__item {
  border-bottom: 1px solid var(--line);
}
.news__item a,
.news__item .news__static {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: 22px 4px;
  color: var(--body-text);
  transition: color .3s var(--ease), padding .3s var(--ease);
}
.news__item a:hover {
  color: var(--accent);
  padding-left: 12px;
}
.news__date {
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  white-space: nowrap;
}
.news__text {
  font-family: var(--serif-jp);
  font-size: 15px;
  letter-spacing: 0.06em;
  flex: 1;
}
.news__arrow {
  font-family: var(--serif-en);
  font-size: 14px;
  color: var(--ink-mute);
  transition: transform .3s var(--ease);
}
.news__item a:hover .news__arrow {
  transform: translateX(6px);
  color: var(--accent);
}

/* ================================================================
   ABOUT
================================================================ */
.about {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.about__img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__img-caption {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--bg);
  padding: 16px 22px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: none;
  color: var(--body-text);
  border: 1px solid var(--line);
}
.about__year {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--serif-en);
  color: #fff;
  line-height: 1;
}
.about__year-sup {
  font-size: 30px;
  letter-spacing: 0.24em;
  text-transform: none;
  margin-bottom: -7px;
  display: block;
  opacity: .8;
}
.about__year-num {
  font-size: 68px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.about__content { max-width: 720px; }
.about__content .eyebrow { display: block; margin-bottom: 18px; }
.about__content .section-headline-en { margin-bottom: 24px; }
.about__eyebrow { display: block; margin-bottom: 24px; text-transform: none; }
.about__title {
  margin-bottom: 32px;
}
.about__title .hi {
  color: var(--accent);
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
}
.about__text {
  margin-bottom: 40px;
}
.about__signature {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 36px;
}

/* ================================================================
   PRODUCTS
================================================================ */
.products {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-alt);
  position: relative;
}
.products__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 80px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.products__head-left { max-width: 720px; }
.products__head-left .eyebrow { margin-bottom: 18px; display: block; }
.products__head-left h2 { margin-bottom: 0; }

/* Endless marquee gallery */
.products__marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.products__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: products-marquee 180s linear infinite;
  will-change: transform;
}
.products__marquee:hover .products__track { animation-play-state: paused; }
@keyframes products-marquee {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.pcard {
  flex: 0 0 auto;
  display: block;
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}
.pcard__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.pcard:hover .pcard__img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .products__track { animation: none; }
}

.products__footer {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

/* ================================================================
   BRANDS — horizontal scroll / editorial
================================================================ */
.brands {
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.brands__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 64px;
}
.brands__head-left .eyebrow { display: block; margin-bottom: 14px; }
.brands__head-left h2 { margin-bottom: 0; }

.brands__track-wrap {
  position: relative;
  overflow: hidden;
}
.brands__track {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
  padding: 4px var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.brands__track::-webkit-scrollbar { display: none; }

.bcard {
  flex: 0 0 clamp(280px, 30vw, 400px);
  scroll-snap-align: start;
  cursor: pointer;
}
.bcard__img {
  aspect-ratio: 3 / 4;
  background: var(--bg-deep);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.bcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__info {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.bcard__name {
  font-family: var(--serif-en);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-align: center;
}
.bcard__name img { max-width: 300px; width: 100%; height: auto; display: block; margin: 0 auto; }
.bcard__idx {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.bcard__sub {
  display: block;
  font-family: var(--serif-jp);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.1em;
  margin-top: 6px;
  text-align: center;
}

.brands__footer {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.brands__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 0 var(--gutter);
}
.brands__progress {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  max-width: 420px;
}
.brands__progress::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: var(--ink);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.brands__arrows {
  display: flex;
  gap: 8px;
}
.bnav-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all .3s var(--ease);
  font-size: 14px;
  color: var(--ink);
}
.bnav-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ================================================================
   BtoB — split panel (index version)
================================================================ */
.btob {
  position: relative;
  overflow: hidden;
}
.btob__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.btob__img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.btob__content {
  background: var(--btob-bg);
  color: var(--ink);
  padding: clamp(60px, 8vw, 100px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.btob__eyebrow { color: var(--ink-mute); margin-bottom: 24px; display: block; }
.btob__eyebrow::before { background: var(--ink-mute); }
.btob__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}
.btob__head-left { max-width: 720px; }
.btob__head-left .eyebrow { margin-bottom: 18px; display: block; }
.btob__head-left h2 { margin-bottom: 0; }
.btob__title {
  margin-bottom: 28px;
}
.btob__text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--body-text);
  margin-bottom: 44px;
  max-width: 520px;
}
.btob .btn {
  border-color: var(--ink);
  color: var(--ink);
  align-self: flex-start;
}
.btob .btn::before { background: oklch(0.73 0.09 35.42); }
.btob .btn:hover { color: var(--bg); }

/* ================================================================
   Shop CTA
================================================================ */
.shop-cta {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg-alt);
  text-align: center;
}
.shop-cta__eyebrow { display: inline-block; margin-bottom: 24px; }
.shop-cta__title {
  margin-bottom: 24px;
}
.shop-cta__title .it { font-style: italic; font-weight: 400; color: var(--accent); }
.shop-cta__sub {
  margin-bottom: 56px;
  letter-spacing: 0.08em;
}
.shop-cta__main {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 26px 56px;
  background: oklch(0.73 0.09 35.42);
  color: var(--bg);
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: none;
  transition: all .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.shop-cta__main:hover { letter-spacing: 0.36em; }

.shop-cta__markets-title {
  margin-top: 72px;
  margin-bottom: 32px;
  text-align: center;
  font-family: var(--serif-jp);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 500;
}
.shop-cta__markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 800px;
  margin: 0 auto;
}
.market-col {
  padding: 32px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-right: 1px solid var(--line);
}
.market-col:nth-child(even) { border-right: none; }
.market-col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.market-col__en {
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-transform: none;
}
.market-col__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.market-link {
  font-family: var(--serif-jp);
  font-size: 15px;
  color: var(--body-text);
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.market-link:hover { border-color: var(--ink); color: var(--accent); }
.ext-icon { flex-shrink: 0; opacity: .6; }
.line-icon { flex-shrink: 0; }

/* ================================================================
   Amazon block
================================================================ */
.amazon-block {
  max-width: 1000px;
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  border-top: 1px solid var(--line);
}
.amazon-block__label {
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: initial;
  color: var(--ink-soft);
  margin-top: 30px;
  margin-bottom: 14px;
}
.amazon-block__main {
  font-family: var(--serif-jp);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px 40px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.amazon-block__main:hover { border-color: var(--ink); color: var(--accent); }

.amazon-brands {
  border-bottom: 1px solid var(--line);
  padding: 28px 12px 32px;
}
.amazon-brands__title {
  font-family: var(--serif-jp);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--body-text);
  margin-bottom: 22px;
}
.amazon-brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.amazon-brands__grid a {
  font-family: var(--serif-jp);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--body-text);
  border: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.amazon-brands__grid a:hover { border-color: var(--ink); color: var(--accent); }

/* ================================================================
   SNS Section
================================================================ */
.sns-section {
  padding: clamp(80px, 10vw, 140px) 0 clamp(100px, 14vw, 180px);
  background: var(--bg);
}
.sns-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sns-section__title {
  text-align: center;
  margin-bottom: 40px;
}
.sns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sns-card {
  background: var(--bg);
  border: 1px solid var(--ink);
  padding: 36px 36px;
  min-height: 140px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  text-decoration: none;
  color: var(--ink);
}
.sns-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 12px);
}
.sns-card:hover {
  background: oklch(0.73 0.09 35.42);
  color: var(--bg);
  border-color: oklch(0.73 0.09 35.42);
}
.sns-card__name {
  font-family: var(--serif-jp);
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: inherit;
}
.sns-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  flex-shrink: 0;
  transition: all .4s var(--ease);
}
.sns-card__icon svg { width: 24px; height: 24px; }
.sns-card__handle {
  display: flex;
  flex-direction: column;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: inherit;
}
.sns-card__handle .ja {
  font-family: var(--serif-jp);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ================================================================
   Tweaks Panel (dev/prototype tool)
================================================================ */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 18px 20px;
  min-width: 260px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.25);
  font-family: var(--sans-jp);
  font-size: 12.5px;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks__title {
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: none;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.tweaks__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.tweaks__label { color: var(--body-text); font-size: 11.5px; letter-spacing: 0.08em; }
.tweaks__opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tweaks__opts button {
  padding: 8px 6px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--body-text);
  transition: all .2s ease;
  letter-spacing: 0.04em;
}
.tweaks__opts button.is-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.tweaks__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 11.5px;
}
.tweaks__toggle input { accent-color: var(--ink); }

/* ================================================================
   Responsive — index-page-specific rules
================================================================ */

/* --- 960px breakpoint --- */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .btob__inner { grid-template-columns: 1fr; }
  .btob__img { min-height: 320px; }
  .brands__head { grid-template-columns: 1fr; }
}

/* --- 720px breakpoint --- */
@media (max-width: 720px) {
  .amazon-brands__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 7vw; margin-bottom: 5px; }
  .sns-grid { grid-template-columns: 1fr; }
}

/* --- 560px breakpoint --- */
@media (max-width: 560px) {
  .shop-cta__markets { grid-template-columns: 1fr; }
  .market-col { border-right: none; border-bottom: 1px solid var(--line); }
  .market-col:last-child { border-bottom: none; }
  .market-link { flex-basis: 50%; border-bottom: 1px solid var(--line); }

  /* Hero SP */
  .hero__content { padding-bottom: clamp(20px, 0.5vh, 80px); }
  .hero__eyebrow { font-size: 12px; margin-bottom: 9px; }
  .hero__sub { font-size: 12px; margin-bottom: 12px; line-height: 1.3; }
  .hero__bottom-row { gap: 10px; }
  .hero__cta-group { gap: 10px; flex-wrap: nowrap; width: 100%; }
  .hero__cta { font-size: 12px; padding: 8px; line-height: 1.4; letter-spacing: 0; flex: 0 0 calc(50% - 5px); align-items: flex-start; position: relative; }
  .hero__cta svg { display: none; }
  .scroll-hint { left: auto; right: var(--gutter); bottom: 96px; }

  /* About SP */
  .about__title { font-size: 22px; }

  /* Amazon brands SP */
  .amazon-brands__grid { grid-template-columns: 1fr; }

  /* SNS SP */
  .sns-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
  }
  .sns-card__handle { align-items: center; }
}
