/* 明暗は利用者指定の章構成。明度反転の繰り返しではなく、章の役割で面を固定する。 */
@font-face { font-family: 'Cheri photo sans'; src: url('../fonts/20261011_tone-sans.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cheri photo mincho'; src: url('../fonts/20261011_tone-mincho.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:is(.finish-light,.finish-petal,.finish-tide) .brand__tagline { white-space: nowrap; letter-spacing: .02em; }
.finish-tide {
  --tone-ink: #293e48;
  --tone-night: #192d38;
  --tone-night-raised: #263e4b;
  --tone-white: #fff;
  --tone-light: #f4f7f8;
  --tone-on-dark: #f4f7f8;
  --tone-sub-dark: #c3d0d6;
  --tone-line-dark: #526a76;
  --tone-accent-dark: #edb9c0;
  --tone-accent: #985360;
}
/* 新規の面を持つ章だけ局所トークンを再設計。本文全体へ白文字を波及させない。 */
.tone-bluehour :is(.brand-origin-band,.cookie-taste-band),
.tone-atelier :is(.hero,.brand-collection-band,.cookie-taste-band),
.tone-editorial :is(.brand-origin-band,.brand-shop-band,.cookie-taste-band) {
  --color-bg: var(--tone-night);
  --color-text: var(--tone-on-dark);
  --color-sub: var(--tone-sub-dark);
  --color-line: var(--tone-line-dark);
  --color-accent: var(--tone-accent-dark);
  background: var(--tone-night);
  color: var(--tone-on-dark);
}
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .brand-origin__relationship { color: var(--color-sub); }
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .brand-collection-band { border-radius: 0; }
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .brand-community-band { border-top: 1px solid var(--color-line); }
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .section-band--plain > .surface-light { display: none; }
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .footer {
  --blue-hour-deep: var(--tone-night);
  --color-bg: var(--tone-on-dark);
  --color-sub: var(--tone-sub-dark);
  --color-accent: var(--tone-accent-dark);
  --color-line: var(--tone-line-dark);
  color: var(--tone-on-dark);
}
:is(.tone-bluehour,.tone-atelier,.tone-editorial) :is(.brand-origin-band,.brand-collection-band,.brand-shop-band,.cookie-taste-band) :is(h2,h3) { color: inherit; }
:is(.tone-bluehour,.tone-atelier,.tone-editorial) .text-link { border-color: currentColor; }
.tone-selector a:is(:hover,:focus-visible) { color: var(--tone-accent); }
.tone-selector a:active { transform: translateY(1px); }
.tone-selector a:focus-visible { outline: 2px solid var(--tone-accent); outline-offset: 3px; }

/* A: 白い写真の入口、夕景の章、白い商品棚。夜の面は風景の文脈で置く。 */
.tone-bluehour .brand-origin-band { margin-top: var(--space-7); }
.tone-bluehour .brand-origin { gap: var(--space-6); }
.tone-bluehour .brand-origin__landscape { border-radius: 4px 64px 4px 4px; }
.tone-bluehour .brand-collection-band { background: var(--tone-white); }
.tone-bluehour .brand-collection__heading .latin { color: var(--tone-accent); }
.tone-bluehour .brand-collection__photo { border-radius: 16px 16px 64px 16px; }
.tone-bluehour .cookie-taste__photo { border-radius: 16px 64px 16px 16px; }
.tone-bluehour .cookie-facts { --color-paper: var(--tone-white); }

/* B: 写真の白さを暗い余白で引き立てる。商品棚は石と木を見せるギャラリー。 */
.tone-atelier { --tone-night: #222629; --tone-night-raised: #32383c; --tone-sub-dark: #ced2d4; --tone-line-dark: #666e74; }
.tone-atelier .hero { margin-bottom: 0; }
.tone-atelier .hero__product-logo { filter: brightness(0) invert(1); }
.tone-atelier .hero__bridge-stage { filter: invert(1); }
.tone-atelier .hero__identity { mix-blend-mode: difference; }
.tone-atelier .hero__copy { color: var(--tone-on-dark); }
.tone-atelier .hero .hero__lead { color: var(--tone-sub-dark); }
.tone-atelier .hero .button { background: var(--tone-accent-dark); color: var(--tone-night); border-color: var(--tone-accent-dark); }
.tone-atelier .hero .button:hover { background: var(--tone-on-dark); }
.tone-atelier .hero .button:focus-visible { outline-color: var(--tone-accent-dark); }
.tone-atelier .hero__photo { background: var(--tone-night); }
.tone-atelier .hero-latest { --ink: var(--tone-on-dark); --muted: var(--tone-sub-dark); --line: var(--tone-line-dark); }
.tone-atelier .brand-origin__landscape { border-radius: 64px 16px 16px 16px; }
.tone-atelier .brand-collection__heading { border-bottom: 0; }
.tone-atelier .brand-collection__heading .latin { font-size: clamp(36px, 5vw, 72px); line-height: 1.15; color: var(--tone-accent-dark); }
.tone-atelier .brand-collection__photo { border-radius: 4px; }
.tone-atelier .brand-collection__caption { padding-top: var(--space-5); border-top: 1px solid var(--tone-line-dark); }
.tone-atelier .cookie-taste__photo { border-radius: 4px; }

/* C: 誌面の文字が主役。風景は挿絵、木質の商品写真は余白の中の一品に。 */
.tone-editorial .brand-origin__copy h2 { font-size: clamp(26px, 4vw, 56px); line-height: 1.4; }
.tone-editorial .brand-origin__copy { order: -1; }
.tone-editorial .brand-origin__landscape { border-radius: 4px; }
.tone-editorial .brand-origin__relationship { padding-top: var(--space-5); border-top: 1px solid var(--tone-line-dark); }
.tone-editorial .brand-collection-band { background: var(--tone-white); }
.tone-editorial .brand-collection__heading { border-bottom: 2px solid var(--tone-ink); }
.tone-editorial .brand-collection__photo { border-radius: 16px 64px 16px 16px; }
.tone-editorial .brand-collection__caption h3 { font-size: clamp(23px, 2.4vw, 36px); }
.tone-editorial .brand-shop-band .shop-section { padding-block: var(--space-8); border-bottom: 0; }
.tone-editorial .brand-shop-band h2 { font-size: clamp(32px, 4.5vw, 64px); line-height: 1.4; }
.tone-editorial .cookie-taste__photo { border-radius: 4px; }
.tone-editorial .cookie-taste__copy h2 { font-size: clamp(24px, 3vw, 44px); }

@media (min-width: 768px) {
  .tone-bluehour .brand-origin { max-width: 1280px; grid-template-columns: 7fr 5fr; gap: var(--space-7); }
  .tone-bluehour .brand-origin__landscape img { aspect-ratio: 4/3; }
  .tone-atelier .brand-origin { grid-template-columns: 4fr 7fr; }
  .tone-atelier .brand-collection { grid-template-columns: 7fr 4fr; align-items: start; gap: var(--space-7); }
  .tone-atelier .brand-collection__heading { grid-column: 1/-1; }
  .tone-atelier .brand-collection__photo { grid-column: 1; }
  .tone-atelier .brand-collection__photo img { aspect-ratio: 3/2; object-position: right center; }
  .tone-atelier .brand-collection__caption { grid-column: 2; grid-template-columns: 1fr; }
  .tone-editorial .brand-origin { grid-template-columns: 8fr 4fr; align-items: end; gap: var(--space-7); }
  .tone-editorial .brand-origin__copy { max-width: 42em; }
  .tone-editorial .brand-origin__landscape { margin-bottom: var(--space-5); }
  .tone-editorial .brand-origin__landscape img { aspect-ratio: 3/4; object-position: 60% center; }
  .tone-editorial .brand-collection { grid-template-columns: 7fr 4fr; align-items: start; gap: var(--space-7); }
  .tone-editorial .brand-collection__heading { grid-column: 1/-1; }
  .tone-editorial .brand-collection__photo { grid-column: 1; }
  .tone-editorial .brand-collection__photo img { aspect-ratio: 3/2; }
  .tone-editorial .brand-collection__caption { grid-column: 2; grid-template-columns: 1fr; padding-top: var(--space-6); }
  .tone-editorial .brand-shop-band .shop-section { grid-template-columns: 5fr 6fr; gap: var(--space-7); padding-block: var(--space-9); }
}
@media (max-width: 374px) {
  :is(.finish-light,.finish-petal,.finish-tide) .brand__tagline { font-size: 12px; letter-spacing: 0; }
  :is(.finish-light,.finish-petal,.finish-tide) .header__inner { gap: 4px; }
  :is(.finish-light,.finish-petal,.finish-tide) .brand { gap: 8px; }
  :is(.finish-light,.finish-petal,.finish-tide) .mobile-menu summary { min-width: 84px; gap: 8px; }
}
