/* =========================================================
   Mettle Coffee Club — Swiss International Style
   Tokens, type, layout, components
   ========================================================= */

:root {
  /* =========================================
     DESIGN GUIDELINES — Mettle Coffee Club
     Swiss International Style
     - Palette (3 colors only):
       Base   #FBFBF6  オフホワイト — 70% (背景)
       Main   #373C38  チャコールグリーン — 25% (文字・構造線)
       Accent #F8B500  黄檗 Kihada — 5% (ドット・強調のみ)
     - Type: EN = Inter / Helvetica, JA = Noto Sans JP,
       Logo = Montserrat (Gotham代替), Mono = JetBrains Mono
     - border-radius: 0 / シャドウ・グラデーション禁止
     - 構造線は 1px solid Main のみ / 余白単位 8px
     - テキストは左揃え(CTAのみ例外) / 説明文は「。」で改行
     ========================================= */
  --color-base: #FBFBF6;    /* オフホワイト — 70% */
  --color-main: #373C38;    /* チャコールグリーン — 25% */
  --color-accent: #F8B500;  /* 黄檗 Kihada — 5% */

  /* Type — Swiss grotesque first */
  --font-en: 'Helvetica Neue', 'Helvetica', 'Inter', Arial, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-logo: 'Montserrat', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Grid */
  --grid-max: 1280px;
  --unit: 8px;

  /* Lines */
  --border-main: 1px solid var(--color-main);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--color-base);
  color: var(--color-main);
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-main);
}

/* Scrollbar */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track {
  background: var(--color-base);
  border-left: var(--border-main);
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-main);
  border: 3px solid var(--color-base);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-accent);
}

/* =========================================================
   Typography
   ========================================================= */
.t-display {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.t-display-ja {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.t-h1 {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.t-h1-ja {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.t-h2 {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t-h2-ja {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
}

.t-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t-body { font-size: 16px; line-height: 1.7; }
.t-small { font-size: 13px; line-height: 1.5; }

/* All text left-aligned by default. Never justified. */
p, h1, h2, h3, h4, h5, h6, ul, ol, dl { text-align: left; }

.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Reduce awkward orphans/short last lines on narrow viewports */
p, li, dd, figcaption, .section__desc, .archive-header__desc { text-wrap: pretty; }
h1, h2, h4, .section__title--en, .archive-header__title, .subscribe-cta__title--en, .about-block__title { text-wrap: balance; }
.journal-card__title, h3.journal-card__title { text-wrap: pretty; }

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

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.bordered-grid > * { border-right: var(--border-main); }
.bordered-grid > *:last-child { border-right: none; }

/* =========================================================
   Logo — image-based brand logo
   ========================================================= */
.site-header__logo a {
  display: inline-flex;
  align-items: center;
  height: 72px;
  padding-right: 8px;
}
.site-header__logo img {
  height: clamp(44px, 6.2vw, 84px);
  width: auto;
  display: block;
}
.logo-mark {
  font-family: var(--font-logo);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  display: inline-block;
}
.logo-mark .dot { color: var(--color-accent); }
.logo-mark--reverse { color: var(--color-base); }

/* =========================================================
   Buttons — radius 0 always
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-main);
  color: var(--color-base);
}
.btn--primary:hover {
  background-color: var(--color-accent);
  color: var(--color-base);
}

.btn--secondary,
.btn--ghost {
  background: transparent;
  color: var(--color-main);
  border: 1px solid var(--color-main);
}
.btn--secondary:hover,
.btn--ghost:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-main);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-base);
}
.btn--accent:hover {
  background-color: #FFD24A;
  color: var(--color-base);
}

/* Featured plan button: cream by default, yellow on hover */
.btn--featured {
  background-color: var(--color-base);
  color: var(--color-main);
  border: 1px solid var(--color-base);
}
.btn--featured:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-main);
}

.btn--lg { padding: 24px 40px; font-size: 14px; }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }

/* Inline ghost arrow link */
.link-arrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 4px;
  transition: color 0.18s, border-color 0.18s;
}
.link-arrow:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* =========================================================
   Site header — centered nav, larger logo, icon actions
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-base);
  border-bottom: 1px solid rgba(55, 60, 56, 0.08);
}
.site-header__inner {
  /* デザイン準拠: ヘッダーは全幅（ロゴ左端・アイコン右端）。中央寄せしない */
  max-width: none;
  margin: 0;
  padding: 0 clamp(20px, 3.4vw, 48px);
  height: clamp(68px, 8.4vw, 110px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
}
.site-header__logo {
  justify-self: start;
}
.site-header__logo a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding-right: 0;
}
.site-header__logo-img {
  height: clamp(44px, 6.2vw, 84px);
  width: auto;
  display: block;
}
.site-header__logo img {
  height: clamp(44px, 6.2vw, 84px);
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-self: end;
}
.nav-desktop a {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: color 0.18s;
  color: var(--color-main);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--color-accent); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  justify-self: end;
}
.site-header__account,
.site-header__cart {
  height: 44px;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-left: none;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.18s;
  position: relative;
  color: var(--color-main);
  background: transparent;
}
.site-header__account:hover,
.site-header__cart:hover {
  background: transparent;
  color: var(--color-accent);
}
.site-header__account svg,
.site-header__cart svg {
  width: 26px;
  height: 26px;
  display: block;
}
.site-header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 0;
  border-radius: 999px;
  position: absolute;
  top: 4px;
  right: 2px;
  line-height: 1;
}
.site-header__hamburger {
  display: none;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-main);
  position: relative;
}
.site-header__hamburger span::before,
.site-header__hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--color-main);
}
.site-header__hamburger span::before { top: -7px; }
.site-header__hamburger span::after { top: 7px; }

/* =========================================================
   Mobile nav
   ========================================================= */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: var(--color-main);
  color: var(--color-base);
  padding: 96px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(251, 251, 246, 0.2);
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(55, 60, 56, 0.5);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* =========================================================
   Page show/hide (router) — ★WordPressでは絶対に有効化しないこと★
   プロトタイプ（SPA）専用のルーターCSS。WPは固定ページの body に
   `page` クラスを自動付与するため、これが生きているとページ全体が
   真っ白になる（前セッションの地雷1）。
.page { display: none; }
.page.is-active { display: block; }
   ========================================================= */

/* =========================================================
   Section header + label
   ========================================================= */
.section { padding: 96px 0; }
.section--tight { padding: 96px 0; }
.section--dark {
  background: var(--color-main);
  color: var(--color-base);
}
.section__header {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
  max-width: 100%;
}
.section__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section__label::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
}
.section__index { display: none; }
.section__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section__desc { font-size: 15px; opacity: 0.75; max-width: 480px; line-height: 1.8; }
.section--dark .section__header { border-color: rgba(251, 251, 246, 0.15); }
.section--dark .section__label { color: rgba(251, 251, 246, 0.6); }

/* =========================================================
   Hero — full-bleed image with overlay text
   ========================================================= */
.hero {
  border-bottom: var(--border-main);
  position: relative;
  width: 100%;
  background: var(--color-base);
}
.hero__media-full {
  position: relative;
  width: 100%;
  height: calc(100svh - clamp(68px, 8.4vw, 110px)); /* fills first view exactly below the header */
  min-height: 520px;
  max-height: 960px;
  overflow: hidden;
}
.hero__media-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(55, 60, 56, 0.74) 0%, rgba(55, 60, 56, 0.34) 28%, rgba(55, 60, 56, 0) 56%);
  pointer-events: none;
}
/* 詳細度を .hero__media-full .hero__img (0-2-0) にして、WooCommerce の
   `.woocommerce img { height:auto }` (0-1-1) に必ず勝たせる。
   これをしないとSPで画像が縦に足りずグレー余白が出る。 */
.hero__media-full .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.hero__caption-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 251, 246, 0.82);
}
.hero__eyebrow--top {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  color: var(--color-main);
}
.hero__logo {
  display: block;
  width: auto;
  height: 150px;
  max-width: 80vw;
  object-fit: contain;
  object-position: left bottom;
}
.hero__cta { flex-shrink: 0; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(55, 60, 56, 0.52);
  z-index: 1;
  pointer-events: none;
}
.hero__scrim::after {
  /* Swiss structural rule across hero */
  content: "";
  position: absolute;
  left: 48px;
  right: 48px;
  top: 96px;
  height: 1px;
  background: rgba(251, 251, 246, 0.25);
}
.hero__inner::before {
  /* Section-label wayfinding ticker, top-left */
  content: "Micro roaster in Tokyo.";
  position: absolute;
  top: 56px;
  left: 48px;
  right: 48px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 251, 246, 0.75);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.hero__inner::after {
  content: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 96px 48px 96px;
  color: var(--color-base);
}
.hero__title {
  color: var(--color-main);
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  max-width: 960px;
}
.hero__title--en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  color: var(--color-base);
}
.hero__title--en .dot { color: var(--color-accent); }
.section__title--en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.section__title--en .dot { color: var(--color-accent); }
.subscribe-cta__title--en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.subscribe-cta__title--en .dot { color: var(--color-accent); }
.hero__desc {
  font-size: 16px;
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0.85;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__text {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  position: relative;
  padding: 0;
  border: none;
}
.hero__eyebrow {
  color: var(--color-accent);
}
.hero__eyebrow::before {
  background: var(--color-accent);
}
.hero__legacy-grid {
  display: none;
}
.hero__eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--color-main);
}
.hero__eyebrow.hero__eyebrow--top { color: var(--color-main); }
.hero__eyebrow.hero__eyebrow--top::before { background: var(--color-main); }
.hero__title-en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  text-transform: none;
}
.hero__title-en .dot { color: var(--color-accent); }
.hero__meta {
  position: absolute;
  top: 32px;
  left: 48px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  gap: 32px;
  color: var(--color-base);
  opacity: 0.7;
  z-index: 3;
}
.hero__meta-right {
  position: absolute;
  top: 32px;
  right: 48px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-base);
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero__meta-right::before { content: none; }

.hero__media {
  position: relative;
  background-color: var(--color-main);
  overflow: hidden;
}
.hero__media-fig {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Placeholder image */
.img-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-main);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(251, 251, 246, 0.08) 0,
      rgba(251, 251, 246, 0.08) 1px,
      transparent 1px,
      transparent 14px
    );
  color: var(--color-base);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 251, 246, 0.5);
  padding: 6px 10px;
  border: 1px solid rgba(251, 251, 246, 0.25);
}
.img-placeholder--light {
  background-color: var(--color-base);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(55, 60, 56, 0.06) 0,
      rgba(55, 60, 56, 0.06) 1px,
      transparent 1px,
      transparent 14px
    );
}
.img-placeholder--light::after {
  color: rgba(55, 60, 56, 0.45);
  border-color: rgba(55, 60, 56, 0.2);
}
.img-placeholder--accent {
  background-color: var(--color-accent);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(55, 60, 56, 0.08) 0,
      rgba(55, 60, 56, 0.08) 1px,
      transparent 1px,
      transparent 14px
    );
}
.img-placeholder--accent::after {
  color: rgba(55, 60, 56, 0.6);
  border-color: rgba(55, 60, 56, 0.3);
}

.hero__big-mark {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 72px;
  line-height: 0.85;
  color: var(--color-base);
  letter-spacing: -0.04em;
  text-align: right;
}
.hero__big-mark .dot { color: var(--color-accent); }

/* image-slot styling for full-bleed hero */
.hero image-slot::part(empty),
.maker image-slot::part(empty) {
  background-color: var(--color-main);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(251, 251, 246, 0.08) 0,
      rgba(251, 251, 246, 0.08) 1px,
      transparent 1px,
      transparent 14px
    );
  color: rgba(251, 251, 246, 0.6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-block__media image-slot::part(empty) {
  background-color: var(--color-main);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(251, 251, 246, 0.08) 0,
      rgba(251, 251, 246, 0.08) 1px,
      transparent 1px,
      transparent 14px
    );
  color: rgba(251, 251, 246, 0.6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   Marquee — subtle
   ========================================================= */
.marquee {
  background: var(--color-main);
  color: var(--color-base);
  padding: 20px 0;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}
.marquee__inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 1;
}
.marquee__inner span:nth-child(even) { color: var(--color-accent); opacity: 1; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Product card — borderless, gap-based grid
   ========================================================= */
.product-grid {
  display: grid;
  gap: 56px 32px;
  border-top: none;
  border-left: none;
}
.product-grid--3col { grid-template-columns: repeat(3, 1fr); }
.product-grid--4col { grid-template-columns: repeat(4, 1fr); }

.product-card {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: none;
}
.product-card:hover { background: transparent; }

.product-card__img-link {
  display: block;
  position: relative;
}
.product-card__img-wrap {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-bottom: none;
  background: rgba(55, 60, 56, 0.04);
}
.product-card__img,
.product-card__img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-base);
  color: var(--color-main);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.product-card__badge--new {
  background: var(--color-accent);
  color: var(--color-main);
}
.product-card__body { padding: 24px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__origin {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.product-card__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.product-card__title a { transition: color 0.18s; }
.product-card__title a:hover { color: var(--color-accent); }
.product-card__roast { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.product-card__flavors { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.product-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  border-top: none;
}
.product-card__footer .product-card__price { flex: 1 1 auto; }
.product-card__cta { flex: 0 0 auto; white-space: nowrap; }
.product-card__price {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.product-card__cta { padding: 11px 18px; font-size: 11px; }

/* Product photos */
.product-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__hover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-single__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-single__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product card hover → reveal bean spec card (Fuglen-style) */
.product-card__hover {
  position: absolute;
  inset: 0;
  background: var(--color-main);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease;
  overflow: hidden;
  display: flex;
}
.product-card__hover { padding: 0; }
.product-card__hover .bean-card {
  width: 100%;
  height: 100%;
  padding: 13px 14px 11px;
  color: var(--color-base);
  box-sizing: border-box;
  justify-content: center;
  overflow: hidden;
}
.product-card__hover .bean-card__cols { gap: 11px; grid-template-columns: 1fr 1px 1fr; }
.product-card__hover .bean-card__cols::before { background: rgba(251,251,246,0.25); }
.product-card__hover .bean-card__col-title { color: rgba(251,251,246,0.9); font-size: 8.5px; letter-spacing: 0.08em; margin-bottom: 6px; }
.product-card__hover .bean-details__row { grid-template-columns: 46px 1fr; gap: 5px; padding: 1.5px 0; }
.product-card__hover .bean-details__row dt { color: rgba(251,251,246,0.5); font-size: 7.5px; letter-spacing: 0.02em; }
.product-card__hover .bean-details__row dd { color: var(--color-base); font-size: 9px; line-height: 1.2; }
.product-card__hover .bean-taste__row { padding: 1.5px 0; gap: 6px; }
.product-card__hover .bean-taste__label { color: var(--color-base); font-size: 9px; }
.product-card__hover .bean-taste__rings { gap: 3.5px; }
.product-card__hover .bean-ring { width: 7px; height: 7px; border-color: rgba(251,251,246,0.55); border-width: 1.5px; }
.product-card__hover .bean-ring.is-on { border-color: var(--color-accent); }
.product-card__hover .bean-card__flavor { margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(251,251,246,0.22); }
.product-card__hover .flavor-tag { font-size: 8px; padding: 1px 5px; }
.bean-hover {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 15px 16px 13px;
  color: var(--color-base);
  box-sizing: border-box;
}
.bean-hover__index { font-family: var(--font-en); font-weight: 800; font-size: 11px; color: var(--color-accent); }
.bean-hover__country { font-family: var(--font-en); font-weight: 800; font-size: clamp(19px, 3.4vw, 24px); line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase; margin-top: 2px; }
.bean-hover__breadcrumb { font-size: 10.5px; color: rgba(251,251,246,0.82); margin: 5px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bean-hover__top { padding-bottom: 9px; margin-bottom: 10px; border-bottom: 1px solid rgba(251,251,246,0.22); }
.bean-hover__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.bean-hover__col-title { font-family: var(--font-en); font-weight: 700; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(251,251,246,0.9); display: block; margin-bottom: 7px; }
.bean-hover__details { display: flex; flex-direction: column; gap: 4px; }
.bean-hover__details > div { display: flex; flex-direction: column; gap: 0; }
.bean-hover__details dt { font-family: var(--font-en); font-weight: 700; font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(251,251,246,0.5); }
.bean-hover__details dd { font-family: var(--font-ja); font-size: 10px; line-height: 1.25; color: var(--color-base); }
.bean-hover__taste { display: flex; flex-direction: column; gap: 2px; }
.bean-hover__taste-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.bean-hover__taste-row span:first-child { font-family: var(--font-ja); font-size: 10px; color: var(--color-base); }
.bean-hover .bean-taste__rings { display: inline-flex; gap: 3.5px; flex-shrink: 0; }
.bean-hover .bean-ring { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid rgba(251,251,246,0.55); box-sizing: border-box; }
.bean-hover .bean-ring.is-on { border-color: var(--color-accent); }
.bean-hover__flavor { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(251,251,246,0.22); }
.bean-hover .flavor-tag { font-size: 8.5px; padding: 1px 6px; }
@media (hover: hover) and (min-width: 761px) {
  .product-card__img-wrap:hover .product-card__hover { opacity: 1; visibility: visible; }
}

/* Grind-service note */
.grind-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--color-main);
  opacity: 0.75;
  border-left: 2px solid var(--color-accent);
  padding: 1px 0 1px 12px;
  margin-top: 4px;
}
.grind-note--checkout { margin-top: 12px; }

/* Share widget */
.share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(55, 60, 56, 0.15);
  flex-wrap: wrap;
}
.share__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}
.share__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  width: 42px;
  border: 1px solid rgba(55, 60, 56, 0.25);
  background: transparent;
  color: var(--color-main);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.share__btn svg { width: 18px; height: 18px; }
.share__btn:hover {
  background: var(--color-main);
  color: var(--color-base);
  border-color: var(--color-main);
}
.share__btn--copy {
  width: auto;
  padding: 0 18px;
}
.share__copy-label {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.roast-text {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--color-main);
}
/* Roast bar */
.roast-bar { display: inline-flex; gap: 4px; }
.roast-bar__dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-main);
  background: transparent;
  display: block;
}
.roast-bar__dot--filled { background: var(--color-main); }
.roast-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Flavor tag */
.flavor-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-main);
}
.flavor-tag--filled { background: var(--color-main); color: var(--color-base); border-color: var(--color-main); }

/* =========================================================
   New Arrivals (home)
   ========================================================= */
.new-arrivals__all-link {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 4px;
  align-self: flex-start;
  justify-self: end;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}
.new-arrivals__all-link:hover { color: var(--color-accent); border-color: var(--color-accent); }
.new-arrivals__header {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.new-arrivals__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.new-arrivals__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding-bottom: 6px;
}
.new-arrivals__lead {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.78;
  max-width: 360px;
}

/* =========================================================
   Our Roasting (asymmetric)
   ========================================================= */
.our-roasting {
  border-top: none;
  border-bottom: none;
  padding: 160px 0;
}
.our-roasting__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  min-height: 0;
  align-items: center;
}
.our-roasting__image-wrap {
  border-right: none;
  position: relative;
  aspect-ratio: 4 / 5;
  background: rgba(55, 60, 56, 0.04);
  overflow: hidden;
}
.our-roasting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.our-roasting__image-wrap .img-placeholder { height: 100%; }
.our-roasting__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.our-roasting__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.our-roasting__text { font-size: 16px; line-height: 1.9; max-width: 520px; }
.our-roasting__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(55, 60, 56, 0.12);
  padding-top: 32px;
  margin-top: 16px;
  gap: 32px;
}
.our-roasting__stat-label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 12px;
}
.our-roasting__stat-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* =========================================================
   Subscribe CTA
   ========================================================= */
.subscribe-cta {
  background: var(--color-main);
  color: var(--color-base);
  border-bottom: none;
}
.subscribe-cta__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}
.subscribe-cta__body { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.subscribe-cta__eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 251, 246, 0.6);
}
.subscribe-cta__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.subscribe-cta__desc { font-size: 16px; line-height: 1.9; opacity: 0.75; max-width: 520px; }
.subscribe-cta .btn--accent { padding: 24px 40px; }

/* =========================================================
   Journal grid — borderless
   ========================================================= */
.journal-grid {
  display: grid;
  gap: 56px 32px;
  border-top: none;
  border-left: none;
}
.journal-grid--3col { grid-template-columns: repeat(3, 1fr); }
.journal-index { padding: 40px 0 120px; }
.journal-preview { padding-top: 72px; padding-bottom: 96px; }

.journal-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.journal-toolbar__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.journal-select {
  position: relative;
  display: inline-flex;
}
.journal-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(55, 60, 56, 0.28);
  border-radius: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-main);
  padding: 12px 46px 12px 18px;
  cursor: pointer;
  transition: border-color 0.18s;
}
.journal-select select:hover { border-color: var(--color-main); }
.journal-select select:focus { outline: none; border-color: var(--color-main); }
.journal-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.journal-count {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.journal-empty {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.6;
  padding: 24px 0;
}

.journal-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  transition: none;
}
.journal-card:hover { background: transparent; }
.journal-card__img-link { display: block; }
.journal-card__img-link .img-placeholder,
.journal-card__img-link .img-cover { aspect-ratio: 4/3; height: auto; }
.journal-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.journal-card__body { padding: 24px 0 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.journal-card__cat {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
  border: none;
  padding: 0;
  color: rgba(55, 60, 56, 0.55);
}
.journal-card__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}
.journal-card__title a:hover { color: var(--color-accent); }
.journal-card__date {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
  opacity: 0.55;
}

/* =========================================================
   Shop / archive
   ========================================================= */
.archive-header {
  padding: 64px 0 48px;
  border-bottom: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  box-sizing: border-box;
}
.archive-header__inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
.archive-header__titles { display: flex; flex-direction: column; gap: 12px; }
.archive-header__eyebrow {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-sub, #555);
  opacity: 0.7;
}
.archive-header__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
/* 和文タイトル（マッピング外の legal ページ等）は和文フォントで控えめなサイズに。
   ラテン用の巨大サイズだと「マイアカ／ウント」のように不格好に折り返すため。 */
.archive-header__title--ja {
  font-family: var(--font-ja);
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.archive-header__title .dot { color: var(--color-accent); }
.archive-header__desc-wrap {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
}
.archive-header__desc {
  font-size: 17px;
  line-height: 1.9;
  max-width: 900px;
  opacity: 0.75;
}
#shop-desc { max-width: none; }
.archive-header__count {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 16px;
  opacity: 0.55;
}
.shop-toolbar {
  border-bottom: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  max-width: 1320px;
  margin: 32px auto 0;
  padding: 24px 48px 0;
  align-items: center;
}
.shop-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shop-filter__btn {
  background: transparent;
  border: 1px solid rgba(55, 60, 56, 0.15);
  border-right: 1px solid rgba(55, 60, 56, 0.15);
  padding: 10px 18px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-main);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.shop-filter__btn:hover { background: transparent; border-color: var(--color-main); }
.shop-filter__btn.is-active { background: var(--color-main); color: var(--color-base); border-color: var(--color-main); }
.shop-filter__btn:first-child { border-left: 1px solid rgba(55, 60, 56, 0.15); }
.shop-filter__count { margin-left: 6px; font-size: 10px; opacity: 0.55; letter-spacing: 0.06em; }
.shop-filter__btn.is-active .shop-filter__count { opacity: 0.8; }
.shop-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: none;
  padding: 0;
}
.shop-toolbar__sort-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shop-toolbar__sort select {
  background: transparent;
  border: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-main);
  padding: 8px 28px 8px 4px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-main) 50%), linear-gradient(135deg, var(--color-main) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.shop-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px 160px;
}

/* =========================================================
   Product detail
   ========================================================= */
.product-single {
  max-width: var(--grid-max);
  margin: 0 auto;
  display: grid;
  /* minmax(0, …) でカラム幅を内容（タイトル長など）に依存させず全商品で統一 */
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-bottom: var(--border-main);
  border-top: var(--border-main);
}
.product-single__gallery {
  border-right: var(--border-main);
  display: flex;
  flex-direction: column;
}
.product-single__main {
  aspect-ratio: 4/5;
  border-bottom: var(--border-main);
  position: relative;
  overflow: hidden;
}
.product-single__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-single__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.product-single__thumb {
  aspect-ratio: 4/5;
  border-right: var(--border-main);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-single__thumb:last-child { border-right: none; }
.product-single__thumb.is-active { outline: 3px solid var(--color-accent); outline-offset: -3px; }
.product-single__info {
  padding: 32px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-single__origin-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product_title {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  white-space: normal; /* nowrap禁止: 長い商品名はカラム幅を保ったまま折り返す */
  overflow-wrap: break-word;
}
.product-single__sub {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.5;
  white-space: normal;
}
.product-single__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 48px;
  border-top: var(--border-main);
  padding-top: 24px;
}
/* ---- Bean spec card (Origin / Taste / Flavor) ---- */
.bean-card {
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.bean-card__index {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.bean-card__country {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-main);
}
.bean-card__breadcrumb {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--color-main);
  margin: 12px 0 24px;
  padding-bottom: 24px;
  border-bottom: var(--border-main);
}
.bean-card__cols {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.bean-card__col--taste {
  border-left: none;
  padding-left: 0;
  border-top: none;
  padding-top: 0;
}
.bean-taste { max-width: 400px; }
.bean-card__col-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-main);
  margin-bottom: 8px;
}
.bean-details { display: flex; flex-direction: column; }
.bean-details__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 2px 0;
  align-items: baseline;
}
.bean-details__row dt {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(55, 60, 56, 0.55);
}
.bean-details__row dd {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-main);
}
.bean-taste { display: flex; flex-direction: column; gap: 0; }
.bean-taste__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  justify-content: start;
  padding: 2px 0;
}
.bean-taste__row .bean-taste__rings { justify-self: start; }
.bean-taste__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(55, 60, 56, 0.55);
}
.bean-taste__rings { display: inline-flex; gap: 5px; flex-shrink: 0; }
.bean-ring {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(55, 60, 56, 0.85);
  box-sizing: border-box;
}
.bean-ring.is-on { border-color: var(--color-accent); }
.bean-card__flavor {
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}
.bean-card__flavor-tags { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) {
  .bean-card { padding: 0; }
  .bean-card__cols { gap: 28px; }
  .bean-card__col--taste { padding-top: 24px; }
}

.product-single__spec {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.product-single__spec dt {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
}
.product-single__spec dd {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.product-single__roast { display: flex; align-items: center; gap: 16px; }
.product-single__roast .roast-bar__dot { width: 14px; height: 14px; }
.product-single__flavors { display: flex; gap: 6px; flex-wrap: wrap; }
p.price {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.02em;
  border-top: var(--border-main);
  padding-top: 12px;
}
/* Woo が価格HTML内に生成する入れ子の span.price / amount を無効化
   （チップや価格表示内で 36px・罫線が二重適用される事故を防ぐ） */
.option-chip .price,
.option-chip .woocommerce-Price-amount,
p.price .price,
p.price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  border: none;
  padding: 0;
}
.option-chip:focus:not(:focus-visible) { outline: none; }
.product-single__desc { font-size: 15px; line-height: 1.8; }
form.cart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
}
form.cart .single_add_to_cart_button { padding: 12px 20px; font-size: 13px; }
.quantity {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-main);
}
.quantity button {
  background: transparent;
  border: none;
  width: 36px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--color-main);
  transition: background-color 0.18s;
}
.quantity button:hover { background: var(--color-accent); }
.quantity .qty {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-main);
  border-right: 1px solid var(--color-main);
  background: transparent;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-main);
  -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single_add_to_cart_button,
.button.alt {
  background: var(--color-main);
  color: var(--color-base);
  padding: 16px 32px;
  border: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
  border-radius: 0;
}
.single_add_to_cart_button:hover,
.button.alt:hover { background: var(--color-accent); color: var(--color-main); }

/* Tabs */
.product-tabs {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.product-tabs__nav {
  display: flex;
  border-top: var(--border-main);
  border-bottom: var(--border-main);
}
.product-tabs__btn {
  background: transparent;
  border: none;
  border-right: var(--border-main);
  padding: 20px 32px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-main);
  transition: background-color 0.18s, color 0.18s;
}
.product-tabs__btn.is-active { background: var(--color-main); color: var(--color-base); }
.product-tabs__btn:hover:not(.is-active) { background: var(--color-accent); }
.product-tabs__panel { display: none; padding: 48px 0; }
.recipe-text { display: flex; flex-direction: column; gap: 12px; }
.recipe-text p { font-size: 15px; line-height: 1.9; }
.recipe-text p:first-child { font-weight: 700; padding-bottom: 4px; }
/* 共通レシピ・フォールバックの手順リスト（横罫線なし・テキストのみ） */
.recipe-text ol.recipe-steps { list-style: none; margin: 0; padding: 0; border-top: none; }
.recipe-text ol.recipe-steps li { padding: 6px 0; border-bottom: none; font-size: 15px; line-height: 1.9; }
.product-tabs__panel.is-active { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.product-tabs__panel h3 {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.product-tabs__panel p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.recipe-steps { display: flex; flex-direction: column; gap: 0; border-top: var(--border-main); }
.recipe-step {
  display: grid;
  grid-template-columns: 60px 120px 1fr;
  border-bottom: var(--border-main);
  padding: 20px 0;
  align-items: baseline;
  gap: 16px;
}
.recipe-step__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.recipe-step__time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.recipe-step__action { font-size: 15px; line-height: 1.5; }

/* =========================================================
   Cart（旧デザインのCSSは撤去。下部『CART — 専用レイアウト』が
   デスクトップ/SP含む全レイアウトを担当する）
   ========================================================= */

/* =========================================================
   Checkout
   ========================================================= */
.checkout-page {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 24px 96px;
}
.checkout-page__header {
  padding: 64px 0 32px;
  border-bottom: var(--border-main);
}
.checkout-page__steps {
  display: flex;
  gap: 0;
  margin-top: 16px;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(55, 60, 56, 0.3);
}
.checkout-step:last-child { border-right: none; }
.checkout-step__num {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-main);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
}
.checkout-step.is-active .checkout-step__num { background: var(--color-main); color: var(--color-base); }
.checkout-step__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.checkout-step.is-active .checkout-step__label { opacity: 1; }

.col2-set {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  border-bottom: var(--border-main);
}
.col2-set .col-1 {
  padding: 48px 48px 48px 0;
  border-right: var(--border-main);
}
.col2-set .col-2 {
  padding: 48px 0 48px 48px;
}
.woocommerce-billing-fields h3,
.woocommerce-checkout-payment h3,
.woocommerce-checkout-review-order h3 {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: var(--border-main);
  margin-bottom: 24px;
}
.woocommerce-billing-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--border-main);
  border-left: var(--border-main);
}
.woocommerce-billing-fields h3 {
  grid-column: 1 / -1;
  padding: 16px 20px;
  margin: 0;
  border-bottom: var(--border-main);
  background: var(--color-base);
  border-right: var(--border-main);
}
.form-row {
  border-right: var(--border-main);
  border-bottom: var(--border-main);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row-wide { grid-column: 1 / -1; }
.form-row label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.form-row .input-text,
.form-row select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-main);
  padding: 8px 0;
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-main);
  border-radius: 0;
}
.form-row .input-text:focus,
.form-row select:focus {
  outline: none;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 7px;
}

.woocommerce-checkout-payment {
  margin-top: 48px;
}
.payment-note {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.65;
  margin: 16px 0 0;
}
textarea.input-text { resize: vertical; line-height: 1.7; }
.wc_payment_methods {
  list-style: none;
  border-top: var(--border-main);
}
.wc_payment_methods li {
  border-bottom: var(--border-main);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background-color 0.18s;
}
.wc_payment_methods li:hover { background: rgba(55, 60, 56, 0.04); }
.wc_payment_methods li.is-selected { background: var(--color-main); color: var(--color-base); }
.wc_payment_methods input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.wc_payment_methods input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--color-accent);
}
.wc_payment_methods label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.payment-icon {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border: 1px solid currentColor;
}

.place-order {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}
.place-order .button.alt {
  background: var(--color-accent);
  color: var(--color-base);
  padding: 24px 48px;
  font-size: 14px;
}
.place-order .button.alt:hover { background: var(--color-main); color: var(--color-base); }

/* Order complete */
.order-complete {
  max-width: 720px;
  padding: 80px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.order-complete__icon { color: var(--color-accent); width: 64px; height: 64px; }
.order-complete__icon svg { width: 100%; height: 100%; }
.order-complete__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.order-complete__lead { font-size: 16px; line-height: 1.9; opacity: 0.8; }
.order-complete__meta {
  width: 100%;
  border-top: var(--border-main);
  border-bottom: var(--border-main);
  padding: 8px 0;
  margin: 16px 0 8px;
}
.order-complete__meta-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.1);
}
.order-complete__meta-row:last-child { border-bottom: none; }
.order-complete__meta-k {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.order-complete__meta-v { font-family: var(--font-ja); font-size: 15px; }
.order-complete__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
@media (max-width: 760px) {
  .order-complete { padding: 48px 0 80px; }
  .order-complete__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

.woocommerce-checkout-review-order .shop_table {
  width: 100%;
  border-collapse: collapse;
  border-top: var(--border-main);
}
.woocommerce-checkout-review-order .shop_table tr {
  border-bottom: var(--border-main);
}
.woocommerce-checkout-review-order .shop_table th,
.woocommerce-checkout-review-order .shop_table td {
  padding: 14px 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  vertical-align: middle;
}
.woocommerce-checkout-review-order .shop_table td { text-align: right; }
.woocommerce-checkout-review-order .shop_table th { text-align: left; }
.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
  font-size: 22px;
  font-weight: 900;
  padding-top: 18px;
}

/* =========================================================
   About
   ========================================================= */
.about-hero {
  border-bottom: none;
}
.about-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 160px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-hero__inner .archive-header__inner {
  padding: 0;
  max-width: none;
}
.about-hero__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: rgba(55, 60, 56, 0.55);
}
.about-hero__label::before { content: none; }
.about-hero__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.about-hero__title em { font-style: normal; color: var(--color-accent); }
.about-hero__lead {
  font-size: 17px;
  line-height: 1.9;
  max-width: 720px;
  opacity: 0.75;
}

.values {
  border-bottom: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 48px 160px;
  gap: 64px;
}
.value {
  padding: 32px 0 0;
  border-right: none;
  margin-top: 12px;
  border-top: 1px solid var(--color-main);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-main);
  opacity: 0.15;
}
.value::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.value:last-child { border-right: none; }
.value__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 1;
  color: var(--color-main);
}
.value__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.35;
  margin-top: 24px;
  letter-spacing: -0.01em;
}
.value__body { font-size: 14px; line-height: 1.9; opacity: 0.75; }

.maker {
  border-bottom: none;
}
.maker__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 160px;
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 96px;
  align-items: center;
}
.maker__img-wrap {
  border-right: none;
  aspect-ratio: 4/5;
  background: rgba(55, 60, 56, 0.04);
  overflow: hidden;
}
.maker__img-wrap .img-placeholder { width: 100%; height: 100%; }
.maker__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.maker__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.maker__role {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.maker__body p { font-size: 15px; line-height: 1.9; opacity: 0.8; }
.maker__quote {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-left: none;
  padding-left: 0;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(55, 60, 56, 0.15);
  position: relative;
}
.maker__quote::before {
  content: "PULL QUOTE / 01";
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* =========================================================
   Footer — simpler, no newsletter
   ========================================================= */
.site-footer {
  background: var(--color-main);
  color: var(--color-base);
  border-top: none;
}
.site-footer .container { padding-top: 48px; padding-bottom: 40px; }
.site-footer__big {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(72px, 11vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(251, 251, 246, 0.12);
  display: none;
}
.site-footer__big .dot { color: var(--color-accent); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 0 0 56px;
  border-bottom: 1px solid rgba(251, 251, 246, 0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 360px; }
.footer-brand__logo img {
  height: 208px;
  width: auto;
  display: block;
}
.footer-brand__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: none;
}
.footer-brand__name .dot { color: var(--color-accent); }
.footer-brand__desc { font-size: 13px; line-height: 1.6; opacity: 0.7; white-space: nowrap; }
.footer-brand__line {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 4px;
}
.footer-brand__line a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}
.footer-brand__line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.footer-social__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-base);
}
.footer-social__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 251, 246, 0.4);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.footer-social__icon svg { width: 22px; height: 22px; }
.footer-social__row:hover .footer-social__icon {
  background: var(--color-accent);
  color: var(--color-main);
  border-color: var(--color-accent);
}
.footer-social__text { font-size: 13px; line-height: 1.6; }
.footer-social__row:hover .footer-social__text { color: var(--color-accent); }
.footer-nav__heading {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
  opacity: 0.55;
}
.footer-nav__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-nav__list a {
  font-size: 14px;
  font-family: var(--font-en);
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav__list a:hover { color: var(--color-accent); }

.footer-brand__sns { display: flex; gap: 12px; margin-top: 8px; }
.footer-brand__sns a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 251, 246, 0.25);
  color: var(--color-base);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.footer-brand__sns a:hover { background: var(--color-accent); color: var(--color-main); border-color: var(--color-accent); }
.footer-brand__sns svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand__sns { display: flex; gap: 8px; margin-top: 12px; }
.footer-brand__sns a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-base);
  color: var(--color-base);
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.footer-brand__sns a:hover { background: var(--color-accent); color: var(--color-main); border-color: var(--color-accent); }
.footer-brand__sns svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-nav__heading {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(251, 251, 246, 0.3);
}
.footer-nav__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav__list a {
  font-size: 13px;
  font-family: var(--font-en);
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav__list a:hover { color: var(--color-accent); }

/* removed newsletter styles */

/* =========================================================
   Toast (cart added)
   ========================================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-main);
  color: var(--color-base);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 80;
  border: 1px solid var(--color-accent);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast__body { display: flex; align-items: center; gap: 16px; }
.toast__dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
}
.toast--actions {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 18px 20px;
}
.toast__actions { display: none; gap: 8px; }
.toast--actions .toast__actions { display: flex; }
.toast__action {
  flex: 1;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-base);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 14px;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s;
}
.toast__action:hover { background: rgba(248, 181, 0, 0.16); }
.toast__action--primary { background: var(--color-accent); color: var(--color-main); }
.toast__action--primary:hover { background: #ffc83d; }

/* =========================================================
   Subscription page
   ========================================================= */
.subscription-hero {
  border-bottom: none;
  background: var(--color-base);
  color: var(--color-main);
}
.subscription-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 160px 48px 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  text-align: left;
}
.subscription-hero__inner .archive-header__inner {
  padding: 0;
  max-width: none;
}
.subscription-hero__eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(55, 60, 56, 0.55);
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.subscription-hero__eyebrow::before { content: none; }
.subscription-hero__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  max-width: 1100px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
  position: relative;
}
.subscription-hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 96px;
  height: 3px;
  background: var(--color-accent);
}
.subscription-hero__title em { font-style: normal; color: var(--color-accent); }
.subscription-hero__desc {
  font-size: 17px;
  line-height: 1.9;
  opacity: 0.7;
  max-width: 640px;
}
.subscription-hero__bullets { display: none; }

.subscription-included {
  max-width: 1320px;
  margin: 0 auto;
  padding: 160px 48px;
  border-bottom: none;
}
.subscription-included__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 0;
  margin-bottom: 80px;
  border-bottom: none;
  max-width: 720px;
}
.subscription-included__header .section__index { display: none; }
.subscription-included__header .section__title { text-align: left !important; }
.subscription-included__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  border-left: none;
}
.subscription-included__list .product-card {
  border-top: 0;
}
.subscription-included__list .product-card .product-card__cta { display: none; }

.subscription-how {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 160px;
  border-bottom: none;
}
.subscription-how__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.2;
  margin-bottom: 80px;
  padding-bottom: 0;
  border-bottom: none;
  max-width: 720px;
}
.subscription-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: none;
  border-top: none;
  gap: 48px;
}
.subscription-how__step {
  padding: 0;
  border-right: none;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.subscription-how__step-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--color-main);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.subscription-how__step-num::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
}
.subscription-how__step-title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
}
.subscription-how__step-desc { font-size: 14px; line-height: 1.9; opacity: 0.7; max-width: 360px; }

.subscription-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-bottom: none;
  border-left: none;
}
.plan-card {
  border: 1px solid rgba(55, 60, 56, 0.12);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  background: rgba(55, 60, 56, 0.03);
  transition: background-color 0.2s;
}
.plan-card:hover { background: rgba(55, 60, 56, 0.05); }
.plan-card.is-featured {
  background: var(--color-main);
  color: var(--color-base);
}
.plan-card.is-featured:hover { background: var(--color-main); }
.plan-card.is-featured .plan-card__num,
.plan-card.is-featured .plan-card__weight,
.plan-card.is-featured .plan-card__price-unit { opacity: 0.72; }
.plan-card.is-featured .btn--primary {
  background-color: var(--color-accent);
  color: var(--color-main);
}
.plan-card.is-featured .btn--primary:hover { background-color: #FFD24A; }
.plan-card__num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.55;
}
.plan-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plan-card__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 999px;
}
.plan-card__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-card__weight {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0.65;
}
.plan-card__price {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(36px, 3.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 0;
  border-top: none;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}
.plan-card__price-unit { white-space: nowrap; }
.plan-card__price-unit {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}
.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 48px 0;
  padding-top: 32px;
  border-top: 1px solid rgba(55, 60, 56, 0.12);
}
.plan-card.is-featured .plan-card__features { border-top-color: rgba(251, 251, 246, 0.25); }
/* Common features below the plan table */
.plan-common {
  margin-top: 48px;
  border: 1px solid var(--color-main);
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.plan-common__label {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--color-main);
}
.plan-common__label .dot { color: var(--color-accent); }
.plan-common__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.plan-common__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-main);
  padding-top: 16px;
  position: relative;
}
.plan-common__item::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.plan-common__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}
.plan-common__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 17px;
}
.plan-common__desc {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.78;
}
@media (max-width: 760px) {
  .plan-common { padding: 28px 22px 30px; }
  .plan-common__grid { grid-template-columns: 1fr; gap: 24px; }
}
/* MyPage subscription inline note */
.mypage-sub__note {
  font-size: 14px;
  line-height: 1.8;
  padding: 12px 16px;
  border-left: 2px solid var(--color-accent);
  background: rgba(55, 60, 56, 0.04);
}
.mypage-sub__note a { color: var(--color-main); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.plan-card__features li {
  font-size: 14px;
  line-height: 1.6;
  display: block;
}
.plan-card__features li::before { content: none; }
.plan-card .btn { margin-top: auto; }

.subscription-included {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 96px 24px;
  border-bottom: var(--border-main);
}
.subscription-included__header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 0;
  border-bottom: var(--border-main);
}
.subscription-included__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: var(--border-main);
}
.subscription-included__list .product-card {
  border-top: 0;
}
.subscription-included__list .product-card .product-card__cta { display: none; }

.subscription-how {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 96px 24px;
  border-bottom: var(--border-main);
}
.subscription-how__title {
  font-family: var(--font-ja);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: var(--border-main);
}
.subscription-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: none;
  border-top: none;
  gap: 48px;
}
.subscription-how__step {
  padding: 0;
  border-right: none;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.subscription-how__step-num--legacy {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-main);
}
.subscription-how__step-title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}
.subscription-how__step-desc { font-size: 14px; line-height: 1.7; }

/* Subscription section heads + step illustrations */
.subscription-plans-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 48px 0;
}
.subscription-section__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin-bottom: 56px;
}
.subscription-section__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.subscription-section__desc {
  font-size: 16px;
  line-height: 1.9;
  max-width: 900px;
  opacity: 0.82;
}
.subscription-how__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  border: var(--border-main);
  margin-bottom: 8px;
}
.subscription-how__step-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* =========================================================
   Shop categories
   ========================================================= */
.shop-categories {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 32px;
  border-left: none;
  border-right: none;
  align-items: baseline;
  flex-wrap: wrap;
}
.shop-category {
  border-right: none;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-en);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  position: relative;
  color: rgba(55, 60, 56, 0.45);
  transition: color 0.18s;
}
.shop-category:last-child { border-right: none; }
.shop-category:hover { background: transparent; color: var(--color-main); }
.shop-category.is-active {
  background: transparent;
  color: var(--color-main);
}
.shop-category__num { display: none; }
.shop-category__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.shop-category__name-ja { display: none; }
.shop-category__count {
  position: static;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.5;
}

.shop-categories--wrapper {
  background: var(--color-base);
  border-bottom: 1px solid rgba(55, 60, 56, 0.08);
  padding: 24px 0;
}

/* =========================================================
   Weight selector (option chips)
   ========================================================= */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(55, 60, 56, 0.25);
}
.option-group__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
}
.option-group__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--color-main);
  border-top: 1px solid var(--color-main);
}
.option-chip {
  border: none;
  border-right: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
  background: transparent;
  padding: 10px 14px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-main);
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: baseline;
  transition: background-color 0.18s, color 0.18s;
}
.option-chip:hover { background: rgba(55, 60, 56, 0.05); }
.option-chip.is-active {
  background: var(--color-main);
  color: var(--color-base);
}
.option-chip__price {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.01em;
}

/* Compact card weight selector */
.product-card__weights {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-main);
  margin-top: 4px;
  width: fit-content;
}
.product-card__weight {
  background: transparent;
  border: none;
  padding: 6px 12px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-main);
  cursor: pointer;
  border-right: 1px solid var(--color-main);
  transition: background-color 0.18s, color 0.18s;
}
.product-card__weight:last-child { border-right: none; }
.product-card__weight:hover { background: rgba(55, 60, 56, 0.06); }
.product-card__weight.is-active {
  background: var(--color-main);
  color: var(--color-base);
}

@media (max-width: 900px) {
  .subscription-hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
  .subscription-plans { grid-template-columns: 1fr; }
  .plan-card { border-right: none; border-bottom: var(--border-main); }
  .subscription-included__list { grid-template-columns: 1fr; }
  .subscription-included__header { grid-template-columns: 1fr; }
  .subscription-how__steps { grid-template-columns: 1fr; }
  .shop-categories { grid-template-columns: 1fr; border-left: none; border-right: none; }
  .shop-category { border-right: none; border-bottom: var(--border-main); }
  .shop-category:last-child { border-bottom: none; }
}
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .site-header__hamburger { display: flex; }

  .hero__media-full { height: calc(100svh - clamp(68px, 8.4vw, 110px)); min-height: 320px; }
  .hero__caption { flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px 24px 40px; }
  .hero__big-mark { font-size: 48px; }
  .marquee__inner { font-size: 18px; gap: 32px; }

  .our-roasting__inner { grid-template-columns: 1fr; }
  .our-roasting__image-wrap { border-right: none; border-bottom: var(--border-main); min-height: 320px; }
  .our-roasting__body { padding: 56px 24px; }
  .our-roasting__title { font-size: 36px; white-space: normal; }
  .our-roasting__stats { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .our-roasting__stat-value { font-size: 28px; }

  .subscribe-cta__inner { grid-template-columns: 1fr; padding: 56px 24px; gap: 32px; }

  .product-grid--3col,
  .product-grid--4col,
  .journal-grid--3col { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

  .section { padding: 56px 0; }
  .section__header { grid-template-columns: auto 1fr; }
  .section__index { display: none; }

  .archive-header__inner { grid-template-columns: 1fr; }
  .shop-toolbar { grid-template-columns: 1fr; }
  .shop-filter { overflow-x: auto; }
  .shop-toolbar__sort { border-left: none; border-top: var(--border-main); padding: 16px 24px; }

  .product-single { grid-template-columns: 1fr; }
  .product-single__gallery { border-right: none; border-bottom: var(--border-main); }
  .product-single__info { padding: 48px 24px; }
  .product_title { font-size: 40px; }
  .product-tabs__panel.is-active { grid-template-columns: 1fr; gap: 24px; }
  .product-tabs__nav { overflow-x: auto; }

  /* 旧カートのレスポンシブ指定は撤去。新カート(下部 .woocommerce-cart 系)が
     SP含め全レイアウトを担当する。ここに残すと詳細度0-3-1で新ルールに勝ってしまう。 */

  .col2-set { grid-template-columns: 1fr; }
  .col2-set .col-1 { padding: 32px 0; border-right: none; border-bottom: var(--border-main); }
  .col2-set .col-2 { padding: 32px 0; }
  .woocommerce-billing-fields { grid-template-columns: 1fr; }
  .form-row { border-right: var(--border-main); }
  .form-row-first, .form-row-last { grid-column: 1 / -1; }

  .values { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: var(--border-main); }
  .value:last-child { border-bottom: none; }

  .maker__inner { grid-template-columns: 1fr; }
  .maker__img-wrap { border-right: none; border-bottom: var(--border-main); aspect-ratio: 4/3; }
  .maker__body { padding: 48px 24px; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer__big { font-size: 64px; }
  .footer-brand__desc { white-space: normal; }

  .contact-section__inner { grid-template-columns: 1fr; gap: 48px; padding: 80px 24px 120px; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile (SP) — header, carousels, contact stack
   ========================================================= */
@media (max-width: 760px) {
  /* Header: keep logo left, cart + menu right; sizes scale via clamp */
  .site-header__inner { gap: 12px; }
  .site-header__actions { gap: 10px; }
  .site-header__account,
  .site-header__cart { height: 40px; width: 40px; }
  .site-header__account svg,
  .site-header__cart svg { width: 23px; height: 23px; }
  .site-header__hamburger { height: 40px; width: 40px; }

  /* Page title headers (archive-header): tighter, count under title */
  .archive-header { padding: 96px 0 40px; min-height: 0; gap: 20px; }
  .archive-header__inner { gap: 12px; }
  .archive-header__title { font-size: clamp(40px, 13vw, 64px); line-height: 0.98; }
  .archive-header__count { font-size: 11px; }
  .archive-header__desc { font-size: 14px; line-height: 1.8; }

  /* Hero logo + caption
     SP: 100svh計算が一部環境で解決できず画像が縦にカバーしない問題への対策として
     固定的な縦横比ベースの高さに変更（object-fit:coverが必ず効く） */
  .hero__media-full {
    height: 70vh; /* svh非対応ブラウザ向けフォールバック */
    height: 70svh;
    min-height: 480px;
    max-height: 680px;
  }
  .hero__logo { height: 104px; max-width: 70vw; }
  .hero__eyebrow--top { top: 28px; padding: 0 24px; }

  /* Subscribe CTA */
  .subscribe-cta__inner { grid-template-columns: 1fr; padding: 64px 24px; gap: 32px; align-items: start; }
  .subscribe-cta__title--en { font-size: clamp(48px, 13vw, 72px); }

  /* New arrivals header stacks on mobile */
  .new-arrivals__header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section__title--en { font-size: clamp(36px, 12vw, 56px); }
  .new-arrivals__aside { align-items: flex-start; text-align: left; }
  .new-arrivals__lead { font-size: 14px; }

  /* ---- Phone: clean grids, NO horizontal carousel (prevents cut-off / page overflow) ---- */
  #home-products.product-grid,
  #shop-products.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  #home-journal.journal-grid,
  #journal-grid.journal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  #home-products.product-grid > *,
  #shop-products.product-grid > *,
  #home-journal.journal-grid > *,
  #journal-grid.journal-grid > * { min-width: 0; }

  .subscription-plans { grid-template-columns: 1fr; gap: 20px; }
  .subscription-plans > .plan-card { border: 1px solid var(--color-main); }
  .subscription-how__steps { grid-template-columns: 1fr; gap: 28px; }
  .subscription-plans-section { overflow: hidden; }

  /* Contact: form + info both full-width, info below */
  .contact-section__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 96px; }
  .contact-info { position: static; width: 100%; }

  /* Lighten narrative type a touch on phones */
  .about-block__title { font-size: clamp(24px, 6.4vw, 30px); }
  .subscription-section__title { font-size: clamp(25px, 6.6vw, 32px); }
  .about-summary__intro,
  .subscription-section__desc,
  .about-block__body p { font-size: 14px; line-height: 1.8; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-section {
  border-bottom: none;
}
.contact-section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 48px 160px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-form__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.contact-form__title .dot { color: var(--color-accent); }
.contact-form__lead {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.8;
  margin-top: -16px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-field__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-main);
}
.contact-field__req { color: var(--color-accent); }
.contact-field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(55, 60, 56, 0.25);
  background: transparent;
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-main);
  transition: border-color 0.18s;
  border-radius: 0;
  appearance: none;
}
.contact-field__input:focus {
  outline: none;
  border-color: var(--color-main);
}
.contact-field__textarea { resize: vertical; min-height: 180px; font-family: var(--font-ja); line-height: 1.7; }
.contact-field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-main) 50%), linear-gradient(135deg, var(--color-main) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.contact-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-main);
}
.contact-consent a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-form__submit {
  margin-top: 16px;
  justify-content: center;
}

.contact-info {
  border: 1px solid rgba(55, 60, 56, 0.15);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 96px;
}
.contact-info__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 4px;
}
.contact-info__value {
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-main);
  text-decoration: none;
  transition: color 0.18s;
}
a.contact-info__value:hover { color: var(--color-accent); }
.contact-info__sub {
  font-size: 13px;
  opacity: 0.7;
}

/* =========================================================
   Journal Article
   ========================================================= */
.article-hero {
  padding: 48px 0 40px; /* 140px上余白は過大だったため縮小 */
  /* タイトル直下の横罫は不要（本文カバー画像との二重線になる）→ 削除 */
}
.article-back {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-main);
  opacity: 0.6;
  margin-bottom: 28px;
  transition: opacity 0.18s, color 0.18s;
}
.article-back:hover { opacity: 1; color: var(--color-accent); }
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.article-hero__cat {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-main);
  padding: 5px 10px;
}
.article-hero__date,
.article-hero__read {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.article-hero__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.article-hero__title .dot { color: var(--color-accent); }
.article-hero__lead {
  margin-top: 32px;
  max-width: 720px;
  font-size: 17px;
  line-height: 2;
  opacity: 0.82;
}
.article-cover {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.article-cover .img-placeholder,
.article-cover .img-cover {
  height: 400px;
  margin-top: 0;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 48px 160px;
}
.article-body__standfirst {
  font-size: 20px;
  line-height: 2;
  font-weight: 500;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.article-body__p {
  font-size: 16px;
  line-height: 2.05;
  opacity: 0.88;
}
.article-h2 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 64px 0 24px;
  padding-top: 24px;
  border-top: var(--border-main);
}
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0;
}
.article-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.88;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.article-spec {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: var(--border-main);
  margin: 48px 0;
}
.article-spec__item {
  padding: 24px 16px;
  border-right: 1px solid rgba(55, 60, 56, 0.15);
  text-align: center;
}
.article-spec__item:last-child { border-right: none; }
.article-spec__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 10px;
}
.article-spec__value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.article-spec__value span {
  font-size: 14px;
  opacity: 0.6;
  margin-left: 1px;
}
.article-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
}
.article-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.article-step:first-child { border-top: 1px solid rgba(55, 60, 56, 0.15); }
.article-step__time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--color-accent);
}
.article-step__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.article-step__body p {
  font-size: 15px;
  line-height: 1.95;
  opacity: 0.85;
}
.article-quote {
  margin: 64px 0;
  padding: 40px;
  background: var(--color-main);
  color: var(--color-base);
}
.article-quote p {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.article-footer {
  display: flex;
  gap: 12px;
  margin-top: 64px;
}
.article-footer__tag {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}
.article-cta {
  margin-top: 56px;
  padding-top: 32px;
  /* 上罫線を削除（link-arrow の下線と二重線になっていた）→ 戻るリンク単体で表示 */
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-section {
  padding-bottom: 160px;
}
.legal-section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 48px 0;
}
.legal-section__inner--prose {
  max-width: 820px;
}
.legal-table {
  border-top: var(--border-main);
}
.legal-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.legal-row dt {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.legal-row dd {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
}
.legal-clause {
  padding: 36px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.legal-clause:first-child {
  padding-top: 0;
}
.legal-clause__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.legal-clause p {
  font-size: 15px;
  line-height: 2;
  opacity: 0.85;
}
.legal-clause a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-revised {
  margin-top: 40px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* =========================================================
   About — rewrite
   ========================================================= */
.about-hero__sub {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.9;
  opacity: 1;
}
.about-block {
  padding: 40px 0;
}
.about-block--first {
  padding-top: 24px;
}
.about-block--ruled .about-block__inner {
  padding-top: 44px;
  border-top: var(--border-main);
}
.about-block__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.about-block__split {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 32px 72px;
  align-items: center;
}
.about-block__split--reverse {
  grid-template-columns: 440px 1fr;
}
.about-block__split--reverse .about-block__text { order: 2; }
.about-block__split--reverse .about-block__media { order: 1; }
.about-block__text {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}
.about-block__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.about-block__media image-slot,
.about-block__media .img-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.about-block__head--wide {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
@media (min-width: 761px) {
  .about-block__head--wide .about-block__title { text-wrap: nowrap; }
}
.about-block__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-block__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.about-block__title--display {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.2;
  margin: 24px 0 40px;
}
.about-prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-prose--wide { max-width: 820px; }
.about-prose p {
  font-size: 16px;
  line-height: 2;
  opacity: 0.88;
}

/* Included items (Delivery) */
.about-incl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid rgba(55, 60, 56, 0.15);
}
.about-incl__label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.about-incl p {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
}

/* Summary 4-col */
.about-summary__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;
  max-width: 820px;
}
.about-summary__intro {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.82;
}
.about-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-summary__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-summary__tag {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-main);
}
.about-summary__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}
.about-summary__cat {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.about-summary__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}
.about-summary__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  min-height: 2.9em;
}
.about-summary__body {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.82;
}

/* CTA */
.about-cta {
  background: var(--color-base);
}
.about-cta__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 48px 88px;
}
.about-cta__frame {
  border: var(--border-main);
  padding: 72px 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.about-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.about-cta__eyebrow {
  margin-bottom: 8px;
}
.about-cta__eyebrow::before { content: none; }
.about-cta__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-main);
}
.about-cta__title .dot { color: var(--color-accent); }
.about-cta__sub {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-main);
  opacity: 0.7;
}
.about-cta__btn { margin-top: 0; flex-shrink: 0; }

@media (max-width: 900px) {
  .about-block { padding: 44px 0; }
  .about-block--ruled .about-block__inner { padding-top: 40px; }
  .about-block__inner { padding: 0 24px; }
  .about-block__split,
  .about-block__split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .about-block__split--reverse .about-block__text,
  .about-block__split--reverse .about-block__media { order: 0; }
  .about-block__media { max-width: 480px; }
  .about-summary { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .about-cta__inner { padding: 80px 24px; }
  .about-cta__frame { flex-direction: column; align-items: flex-start; gap: 32px; padding: 48px 28px; }
}
@media (max-width: 560px) {
  .about-summary { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .about-summary__title { min-height: 0; font-size: 16px; }
  .about-summary__text { font-size: 13px; line-height: 1.6; }
  .about-summary__num { font-size: 11px; }
}

@media (max-width: 760px) {
  .article-hero { padding: 110px 0 40px; }
  .article-cover .img-placeholder, .article-cover .img-cover { height: 280px; }
  .article-body { padding: 48px 24px 100px; }
  .article-spec { grid-template-columns: repeat(2, 1fr); }
  .article-spec__item:nth-child(2) { border-right: none; }
  .article-spec__item:nth-child(n+1) { border-bottom: 1px solid rgba(55, 60, 56, 0.15); }
  .article-spec__item:nth-last-child(-n+1) { border-bottom: none; }
  .article-step { grid-template-columns: 1fr; gap: 10px; }
  .article-quote { padding: 28px; }
  .article-quote p { font-size: 18px; }
  .legal-section__inner { padding: 40px 24px 0; }
  .legal-row { grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================
   Account — login / signup
   ========================================================= */
.account-auth__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 48px 160px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border-main);
}
.account-auth__single {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 48px 140px;
}
.account-auth__single .account-card {
  border: var(--border-main);
}
.account-switch {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(55, 60, 56, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.account-switch__text {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.account-switch__link {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.18s;
}
.account-switch__link:hover { color: var(--color-accent); }
.account-card {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.account-card + .account-card { border-left: var(--border-main); }
.account-card--accent { background: rgba(55, 60, 56, 0.03); }
.account-card__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-top: -8px;
}
.signup-plan {
  font-size: 14px;
  line-height: 1.7;
  background: rgba(248, 181, 0, 0.16);
  border-left: 3px solid var(--color-accent);
  padding: 14px 16px;
  margin: 4px 0;
}
.signup-plan strong { font-weight: 700; }
.account-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.account-form__link {
  font-size: 13px;
  color: var(--color-main);
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
}
.account-form__link:hover { opacity: 1; color: var(--color-accent); }

/* =========================================================
   My Page — member dashboard
   ========================================================= */
.mypage__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 48px 160px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.mypage__main { display: flex; flex-direction: column; gap: 64px; min-width: 0; }
.mypage-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.mypage-block {
  border-top: var(--border-main);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mypage-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.mypage-block__lead { font-size: 15px; line-height: 1.9; opacity: 0.82; max-width: 640px; }
.mypage-sub {
  border: var(--border-main);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mypage-sub__name { font-family: var(--font-ja); font-weight: 700; font-size: 22px; }
.mypage-sub__meta { font-size: 14px; opacity: 0.7; }
.mypage-sub__actions { display: flex; gap: 12px; margin-top: 12px; }
.mypage-pref { display: flex; flex-direction: column; gap: 28px; }
.mypage-pref__group { display: flex; flex-direction: column; gap: 14px; }
.mypage-pref__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.mypage-pref__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pref-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.pref-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pref-chip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(55, 60, 56, 0.25);
  font-size: 14px;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s;
}
.pref-chip input:checked + span {
  background: var(--color-main);
  color: var(--color-base);
  border-color: var(--color-main);
}
.mypage-orders { width: 100%; border-collapse: collapse; }
.mypage-orders td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.12);
  font-size: 14px;
  vertical-align: top;
}
.mypage-orders tr:last-child td { border-bottom: none; }
.mypage-orders__date { font-family: var(--font-en); white-space: nowrap; padding-right: 24px; opacity: 0.7; }
.mypage-orders__items { width: 100%; }
.mypage-orders__total { font-family: var(--font-en); font-weight: 700; white-space: nowrap; padding-left: 24px; }
.mypage-orders__status {
  white-space: nowrap;
  padding-left: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.mypage-info { display: flex; flex-direction: column; gap: 14px; }
.mypage-info__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.mypage-info__k { opacity: 0.6; white-space: nowrap; }
.mypage-info__v { text-align: right; }

@media (max-width: 860px) {
  .account-auth__inner { grid-template-columns: 1fr; padding: 24px 24px 100px; }
  .account-card { padding: 40px 28px; }
  .account-card + .account-card { border-left: none; border-top: var(--border-main); }
  .mypage__inner { grid-template-columns: 1fr; gap: 48px; padding: 24px 24px 100px; }
  .mypage-aside { position: static; }
  .mypage-orders__items { font-size: 13px; }
}

/* =========================================================
   SP final overrides — declared LAST so they win over base
   rules of equal specificity (media queries don't add weight)
   ========================================================= */
@media (max-width: 760px) {
  /* Kill residual horizontal page scroll without breaking sticky */
  html, body { overflow-x: clip; }
  .site-main { overflow-x: clip; }

  /* Product page SP: tabs stay one line, titles scale down */
  .product-tabs__btn { white-space: nowrap; font-size: 12px; padding: 14px 6px; letter-spacing: 0.02em; }
  .product_title { font-size: clamp(26px, 8vw, 34px); }
  .product-single__sub { font-size: clamp(12px, 3.6vw, 15px); }
  .about-block__head--wide { margin-bottom: 20px; }

  /* Footer brand logo centered on phones */
  .footer-brand { max-width: none; }
  .footer-brand__logo { align-self: center; }
  .footer-brand__logo img { display: block; margin: 0 auto; }

  /* Contact: info panel stacks BELOW the form, both full width */
  .contact-section .contact-section__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 96px; }
  .contact-section .contact-info { position: static; width: 100%; }
  .contact-form__row { grid-template-columns: 1fr; }

  /* Product card footer wraps cleanly on narrow cards */
  .product-card__footer { flex-wrap: wrap; gap: 12px; }
  .product-card__cta { flex: 0 0 auto; }

  /* Home new arrivals → horizontal swipe carousel (next card peeks) */
  .new-arrivals { overflow: visible; }
  .new-arrivals > .container { padding-left: 24px; padding-right: 24px; }
  #home-products.product-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    padding: 4px 0 18px;
  }
  #home-products.product-grid::-webkit-scrollbar { display: none; }
  #home-products.product-grid > * {
    flex: 0 0 84%;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* Subscription plans → horizontal swipe carousel (next card peeks) */
  .subscription-plans-section { padding: 40px 24px 0; overflow: visible; }
  .subscription-plans {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 16px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 18px;
    margin: 0;
  }
  .subscription-plans::-webkit-scrollbar { display: none; }
  .subscription-plans > .plan-card {
    flex: 0 0 86%;
    min-width: 0;
    padding: 36px 28px;
    scroll-snap-align: start;
    border: 1px solid var(--color-main);
  }
  .subscription-how__steps { padding: 0; }
}


/* =========================================================
   WordPress theme addendum (not in the original prototype)
   - Single-column My Account dashboard: WooCommerce's own
     account nav (Orders / Account details / Logout) already
     covers the sidebar's job, so the dashboard content uses
     one column instead of the prototype's content+aside grid.
   ========================================================= */
.mypage__inner--single { grid-template-columns: 1fr; max-width: 880px; }
.mypage__inner--single .mypage__main { gap: 64px; }

/* =========================================================
   WordPress compat — wp_nav_menu は items_wrap を '%3$s' に
   しても各リンクを <li> で包んで出力する。プロトタイプの
   「<a> 直列」前提のflexレイアウトを保つため、<li> をレイアウト
   から消す（display: contents）。リストマーカー（黒ポチ）対策
   も兼ねる（前セッションの地雷2）。
   ========================================================= */
.nav-desktop li,
.nav-mobile li {
  display: contents;
}
.nav-desktop li::marker,
.nav-mobile li::marker { content: none; }

.footer-nav__list li { list-style: none; }

/* WPの現在ページクラスを、プロトタイプの .is-active と同じ見た目に */
.nav-desktop .current-menu-item > a,
.nav-desktop .current_page_item > a,
.nav-desktop .current-menu-ancestor > a { color: var(--color-accent); }
.nav-mobile .current-menu-item > a,
.nav-mobile .current_page_item > a { color: var(--color-accent); }

/* My Account ダッシュボードのインライン通知（保存完了） */
.toast--inline {
  position: static;
  transform: none;
  margin-bottom: 24px;
}

/* WPグローバルスタイル(wp-element-button既定色)がWooボタンを紫にするのを抑止 */
.woocommerce button.button.alt,
.woocommerce button.single_add_to_cart_button,
button.single_add_to_cart_button.wp-element-button,
.wc-block-components-button,
.woocommerce .button.wp-element-button {
  background-color: var(--color-main) !important;
  color: var(--color-base) !important;
  border-radius: 0 !important;
  border: none !important;
}
.woocommerce button.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover,
button.single_add_to_cart_button.wp-element-button:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-main) !important;
}

/* Join the club. の見出し：他セクション見出し(.section__title--en)と同一サイズ。
   2行折返しの原因は本文カラムの max-width:760px だったため解除し nowrap で1行維持 */
.subscribe-cta__title.subscribe-cta__title--en {
  font-size: clamp(40px, 8vw, 128px);
  line-height: 0.95;
  white-space: nowrap;
}
.subscribe-cta__body { max-width: none; }
.hero__caption .hero__logo { height: 150px !important; width: auto !important; }

/* Woo の ul.products::before/::after (clearfix) が CSS Grid の1セル目を
   幽霊アイテムとして占有し、左上が空くのを防ぐ */
.woocommerce ul.products.product-grid::before,
.woocommerce ul.products.product-grid::after,
.woocommerce-page ul.products.product-grid::before,
.woocommerce-page ul.products.product-grid::after {
  content: none;
  display: none;
}

/* =========================================================
   Journal 記事本文タイポグラフィ（Gutenberg/自由入力HTML対応）
   ========================================================= */
.article-body h2 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  margin: 56px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(55, 60, 56, 0.15);
}
.article-body h3 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  margin: 40px 0 14px;
}
.article-body p { margin: 0 0 24px; font-size: 16px; line-height: 2.0; }
.article-body ul,
.article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; font-size: 16px; line-height: 1.9; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  margin: 32px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--color-accent);
  background: rgba(248, 181, 0, 0.06);
}
.article-body blockquote p { margin: 0; font-size: 16px; line-height: 1.9; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 32px;
  font-size: 14px;
}
.article-body th,
.article-body td {
  border: 1px solid rgba(55, 60, 56, 0.25);
  padding: 10px 14px;
  text-align: left;
}
.article-body th {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(55, 60, 56, 0.04);
}
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; height: auto; display: block; }
.article-body figcaption { font-size: 12px; opacity: 0.6; margin-top: 8px; }
.article-body a { color: var(--color-main); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--color-accent); }

/* =========================================================
   SP安定化 — 横はみ出し対策
   （SP縮小ルールが #home-products 等のID前提で、実マークアップに
     IDが無いため不発だった。クラスベースで補完）
   ========================================================= */
@media (max-width: 900px) {
  /* nowrap系がビューポートを押し広げるのを解除 */
  .product_title,
  .product-single__sub,
  .footer-brand__desc { white-space: normal; }
}
@media (max-width: 760px) {
  .product-grid--3col,
  .product-grid--4col { grid-template-columns: 1fr; gap: 44px; }
  .product-grid--3col > *,
  .product-grid--4col > * { min-width: 0; }
  .journal-grid--3col { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .journal-grid--3col > * { min-width: 0; }
  .shop-toolbar { flex-wrap: wrap; gap: 12px; }
  .archive-header__title { overflow-wrap: anywhere; }
}


/* SP: マイアカウントのカード/フォームが狭すぎる問題
   （max-width:520px + 外側48px + カード内48px の三重絞りで実幅~200pxだった）
   枠は外してフォームを全幅に */
@media (max-width: 760px) {
  .account-auth__single { max-width: none; padding: 8px 20px 100px; }
  .account-auth__single .account-card { border: none; padding: 24px 0; }
  .account-auth__inner { padding: 16px 20px 100px; border: none; }
}
/* Woo標準が form.login / form.register に付ける枠・パディングを無効化
   （テーマ側の .account-card が器なので二重枠になる） */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-page form.login,
.woocommerce-page form.register {
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* ③ サブスク3点: 装飾グリッドをやめて素直な箇条書きに */
.plan-common__list {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-common__list li {
  list-style: disc;
  font-size: 15px;
  line-height: 1.8;
}
.plan-common__list strong { font-weight: 700; }

/* =========================================================
   クラシックCart/Checkout 整備（2026-07-08）
   ========================================================= */

/* Woo標準layout.cssのfloat/width残骸がテーマのGridと衝突して
   請求先フォームが幅48%に潰れるのを解除 */
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
  float: none;
  width: auto;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
  float: none;
  width: auto;
}

/* 線が多すぎる問題: フィールドは枠ボックスで区切られているので、
   入力欄自体の下線は通常時は消し、フォーカス時のみ表示 */
.form-row .input-text,
.form-row select {
  border-bottom: 1px solid transparent;
}
.form-row .input-text:focus,
.form-row select:focus {
  border-bottom: 2px solid var(--color-accent);
}

/* 紫ボタン(wp-element-button)の追加撲滅: カートの「購入手続きに進む」等 */
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce #respond input#submit {
  background-color: var(--color-main) !important;
  color: var(--color-base) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-main) !important;
}

/* Woo通知バーの緑/青ボーダーをブランド色に */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--color-accent);
  background: rgba(248, 181, 0, 0.07);
  color: var(--color-main);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--color-accent); }
.woocommerce-error { border-top-color: #b3413a; }

/* カート: 合計パネル(float)がフッターに食い込むのを防ぐ */
.woocommerce .cart-collaterals::after {
  content: "";
  display: block;
  clear: both;
}
.woocommerce-cart .woocommerce { overflow: visible; }
.woocommerce-cart .woocommerce::after { content: ""; display: block; clear: both; height: 48px; }

/* --- クラシックCheckout: 実際のWooマークアップに合わせたレイアウト補正 --- */
/* Wooはフィールド群を .woocommerce-billing-fields__field-wrapper で包むため、
   グリッドは wrapper 側に張る（billing-fields 直下に張ると h3 と wrapper が
   2カラムに散って崩壊する） */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
  display: block;
  border: none;
}
.woocommerce-billing-fields > h3 {
  display: block;
  border: var(--border-main);
  border-bottom: none;
  padding: 16px 20px;
  margin: 0;
  background: var(--color-base);
}
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--border-main);
  border-left: var(--border-main);
}
.woocommerce-additional-fields {
  margin-top: 32px;
}

/* 決済ボックス: Woo標準の薄紫(#ebe9eb)地・吹き出しをブランドトーンに */
.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
  border-top: var(--border-main);
}
.woocommerce-checkout #payment div.payment_box {
  background: rgba(55, 60, 56, 0.05);
  color: var(--color-main);
  border-radius: 0;
  font-size: 13px;
  line-height: 1.8;
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: none;
  padding: 16px 0;
}
.woocommerce-checkout #payment div.form-row {
  border: none;
  padding: 16px 0 0;
}
.woocommerce-privacy-policy-text p {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.8;
}

/* col2-set(請求先/配送先の2カラム)でも Woo clearfix ::before が
   グリッド1セル目を幽霊アイテムとして占有 → 請求先が右列に落ちる。無効化 */
.woocommerce .col2-set::before,
.woocommerce .col2-set::after,
.woocommerce-page .col2-set::before,
.woocommerce-page .col2-set::after {
  content: none;
  display: none;
}
/* 決済方法名が縦に1文字ずつ折れるのを防止 */
.wc_payment_methods label { white-space: nowrap; }
/* カート合計(ダークパネル)内のチェックアウトボタンはアクセント色に
   （main色だとパネルと同化して見えない） */
.woocommerce .cart-collaterals a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.button {
  background-color: var(--color-accent) !important;
  color: var(--color-main) !important;
  display: block;
  text-align: center;
  padding: 20px 32px;
}
.woocommerce .cart-collaterals a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.button:hover {
  background-color: var(--color-base) !important;
  color: var(--color-main) !important;
}

/* お問い合わせ完了ページ */
.contact-thanks__body { max-width: 720px; padding-bottom: 160px; }
.contact-thanks__lead { font-size: 16px; line-height: 2.1; margin-bottom: 40px; }
.contact-thanks__no {
  border: var(--border-main);
  padding: 28px 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-thanks__no-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.contact-thanks__no-value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.06em;
  color: var(--color-main);
}
.contact-thanks__no-value::after { content: ""; display: block; width: 48px; height: 3px; background: var(--color-accent); margin-top: 10px; }
.contact-thanks__no-note { font-size: 13px; opacity: 0.7; margin: 4px 0 0; }
.contact-thanks__note { font-size: 13px; line-height: 1.9; opacity: 0.75; margin-bottom: 48px; }
.contact-thanks__note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-thanks__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-thanks__actions .btn--primary {
  background: var(--color-main);
  color: var(--color-base);
  padding: 16px 32px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-thanks__actions .btn--primary:hover { background: var(--color-accent); color: var(--color-main); }

/* Heroロゴを撤去したので、CTAのみのキャプションは右下に寄せる */
.hero__caption--cta-only { justify-content: flex-end; }

/* =========================================================
   CHECKOUT — 専用レイアウト（2026-07-10 全面刷新）
   旧クラシックCSS（枠グリッド）を打ち消し、下線フォーム＋追従サマリーに
   ========================================================= */

/* --- 旧ルールの打ち消し（枠・グリッド線を全撤去） --- */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-billing-fields > h3,
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields,
.mcc-checkout .col2-set,
.mcc-checkout .col-1,
.mcc-checkout .col-2 {
  display: block;
  border: none !important;
  grid-template-columns: none !important;
  background: transparent;
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
}
.mcc-checkout .form-row {
  border: none !important;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- 全体グリッド：入力（主）＋ 追従サマリー（従） --- */
.mcc-checkout__grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 8px 48px 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 80px;
  align-items: start;
}
.mcc-checkout__main { min-width: 0; }

/* セクション見出し */
.mcc-checkout__main h3 {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(55, 60, 56, 0.15);
}
.woocommerce-additional-fields h3 { margin-top: 8px; }

/* 姓名・郵便番号/都道府県のみ横並び。それ以外の住所行は全幅。
   （半幅のまま流すと主カラム右側が空くため、既定は全幅にする） */
.mcc-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important; /* 上のリセット(none !important)に勝たせる */
  gap: 0 24px;
}
.mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1 / 2; }
.mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last  { grid-column: 2 / 3; }
/* 配送先（別住所）も同じ横並びロジックを適用 */
.mcc-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 24px;
}
.mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; }
.mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1 / 2; }
.mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last  { grid-column: 2 / 3; }
/* 主カラムのフォームは読みやすい幅に制限（間延び防止） */
.mcc-checkout__main { max-width: 640px; }

/* ラベル */
.mcc-checkout .form-row label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.mcc-checkout .required { color: var(--color-accent); border: none; text-decoration: none; }

/* 入力欄：下線スタイルに統一（アカウント/お問い合わせと同じ言語） */
.mcc-checkout .input-text,
.mcc-checkout select,
.mcc-checkout textarea,
.mcc-checkout .select2-selection {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(55, 60, 56, 0.35) !important;
  border-radius: 0 !important;
  padding: 10px 2px !important;
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--color-main);
  box-shadow: none !important;
  width: 100%;
  transition: border-color 0.18s;
}
.mcc-checkout textarea { min-height: 88px; line-height: 1.7; resize: vertical; }
.mcc-checkout .input-text:focus,
.mcc-checkout select:focus,
.mcc-checkout textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent) !important;
}
.mcc-checkout .input-text::placeholder,
.mcc-checkout textarea::placeholder { color: rgba(55, 60, 56, 0.4); }

/* 配送先トグル / 注文メモ */
.woocommerce-shipping-fields__field-wrapper { margin-top: 16px; }
#ship-to-different-address label {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.mcc-checkout .grind-note,
.mcc-checkout .woocommerce-additional-fields .grind-note {
  font-size: 13px; line-height: 1.9; opacity: 0.7;
  border-left: 3px solid var(--color-accent);
  padding: 10px 0 10px 16px; margin-top: 18px;
}

/* クーポン開閉（最上部の帯を控えめに） */
.mcc-checkout + *, .woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 24px;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(55,60,56,0.15);
  border-bottom: 1px solid rgba(55,60,56,0.15);
  padding: 16px 0;
  font-size: 13px;
  opacity: 0.8;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }

/* --- 追従サマリーカード --- */
.mcc-checkout__aside { position: sticky; top: 24px; }
.mcc-checkout__summary {
  background: var(--color-main);
  color: var(--color-base);
  padding: 32px;
}
.mcc-checkout__summary-title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(251, 251, 246, 0.18);
}
.mcc-order-items { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mcc-order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.mcc-order-item__media { position: relative; width: 56px; height: 70px; background: var(--color-base); overflow: hidden; }
.mcc-order-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcc-order-item__qty {
  position: absolute; top: -8px; right: -8px;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--color-accent); color: var(--color-main);
  font-family: var(--font-en); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.mcc-order-item__name { font-size: 13px; line-height: 1.5; font-weight: 500; }
.mcc-order-item .variation { margin: 4px 0 0; font-size: 11px; opacity: 0.6; }
.mcc-order-item .variation dt, .mcc-order-item .variation dd { display: inline; margin: 0; }
.mcc-order-item__price { font-family: var(--font-en); font-weight: 700; font-size: 14px; white-space: nowrap; }

.mcc-order-totals { margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(251, 251, 246, 0.18); display: flex; flex-direction: column; gap: 12px; }
.mcc-order-totals__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mcc-order-totals__row dt { margin: 0; font-size: 13px; opacity: 0.75; }
.mcc-order-totals__row dd { margin: 0; font-family: var(--font-en); font-weight: 500; font-size: 14px; }
.mcc-order-totals__row .amount { color: var(--color-base); }
.mcc-order-totals__shipping dd, .mcc-order-totals__shipping { font-size: 13px; }
.mcc-order-totals__shipping .woocommerce-Price-amount { color: var(--color-accent); }
.mcc-order-totals__grand { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(251, 251, 246, 0.18); align-items: center; }
.mcc-order-totals__grand dt { font-family: var(--font-en); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 1; }
.mcc-order-totals__grand dd { font-family: var(--font-en); font-weight: 900; font-size: 24px; }

/* 決済（サマリーカード内） */
.mcc-checkout__summary #payment {
  background: transparent;
  border: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 251, 246, 0.18);
}
.mcc-checkout__summary #payment ul.payment_methods {
  border: none; padding: 0; margin: 0 0 16px; list-style: none;
  display: flex; flex-direction: column; gap: 4px;
}
.mcc-checkout__summary #payment ul.payment_methods li {
  padding: 12px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(251, 251, 246, 0.12);
}
.mcc-checkout__summary #payment ul.payment_methods li label {
  color: var(--color-base); font-family: var(--font-ja); font-weight: 700; font-size: 14px;
  cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; opacity: 1;
}
.mcc-checkout__summary #payment input[type="radio"] {
  appearance: none; width: 16px; height: 16px; border: 1px solid var(--color-base);
  border-radius: 50%; position: relative; cursor: pointer; margin: 0; flex-shrink: 0;
}
.mcc-checkout__summary #payment input[type="radio"]:checked { border-color: var(--color-accent); }
.mcc-checkout__summary #payment input[type="radio"]:checked::after {
  content: ""; position: absolute; inset: 3px; background: var(--color-accent); border-radius: 50%;
}
.mcc-checkout__summary #payment div.payment_box {
  flex-basis: 100%; background: rgba(251, 251, 246, 0.08); color: rgba(251, 251, 246, 0.8);
  font-size: 12px; line-height: 1.7; padding: 12px 14px; margin: 6px 0 0; border-radius: 0;
}
.mcc-checkout__summary #payment div.payment_box::before { display: none; }
.mcc-checkout__summary #payment .form-row.place-order { margin: 20px 0 0; padding: 0; }
.mcc-checkout__summary #payment #place_order,
.mcc-checkout__summary #payment button {
  width: 100%; background: var(--color-accent) !important; color: var(--color-main) !important;
  border: none !important; border-radius: 0 !important; padding: 18px 24px;
  font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  text-transform: none; cursor: pointer; transition: background-color 0.18s;
}
.mcc-checkout__summary #payment #place_order:hover { background: var(--color-base) !important; }
.mcc-checkout__summary .woocommerce-privacy-policy-text { margin-top: 14px; }
.mcc-checkout__summary .woocommerce-privacy-policy-text p { font-size: 11px; line-height: 1.7; opacity: 0.6; color: var(--color-base); }
.mcc-checkout__summary .woocommerce-terms-and-conditions-wrapper { margin-bottom: 8px; }

@media (max-width: 900px) {
  .mcc-checkout__grid { grid-template-columns: 1fr; gap: 40px; padding: 8px 20px 100px; }
  .mcc-checkout__aside { position: static; }
  /* SPは全フィールドを1カラムで縦積み（desktopの!important/子結合子に勝たせる） */
  .mcc-checkout .woocommerce-billing-fields__field-wrapper,
  .mcc-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr !important; }
  .mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
  .mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
  .mcc-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
  .mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row,
  .mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
  .mcc-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 1 / -1 !important; }
}

/* =========================================================
   CART — 専用レイアウト（2026-07-10 全面刷新）
   商品リストと合計を2カラムで連結、罫線最小化、画像を大きく
   ========================================================= */

/* 2カラム：商品リスト（主）＋ 合計カード（従・追従） */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 8px 48px 160px;
}
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart form.woocommerce-cart-form { grid-column: 1; min-width: 0; }
.woocommerce-cart .cart-collaterals { grid-column: 2; width: auto; position: sticky; top: 24px; }

/* 商品テーブル → クリーンなリスト */
.woocommerce-cart .shop_table.cart {
  border: none;
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart .shop_table.cart thead { display: none; } /* ヘッダ行(商品/金額/数量/小計)は不要 */
.woocommerce-cart .shop_table.cart tbody { display: block; }
.woocommerce-cart .cart_item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(55, 60, 56, 0.12);
  position: relative;
}
.woocommerce-cart .cart_item td { display: block; border: none; padding: 0; }
/* 削除ボタン：サムネ左上に重ねる */
.woocommerce-cart .cart_item .product-remove { position: absolute; left: 0; top: 24px; z-index: 2; }
.woocommerce-cart .cart_item .product-remove a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border: 1px solid rgba(55,60,56,0.3); border-radius: 50%;
  color: var(--color-main); font-size: 12px; line-height: 1; text-decoration: none; background: var(--color-base);
  transform: translate(-9px, -9px); transition: background-color .18s, color .18s;
}
.woocommerce-cart .cart_item .product-remove a:hover { background: var(--color-main); color: var(--color-base); }
.woocommerce-cart .cart_item .product-thumbnail { grid-column: 1; }
.woocommerce-cart .cart_item .product-thumbnail img { width: 96px; height: 120px; object-fit: cover; display: block; }
.woocommerce-cart .cart_item .product-name { grid-column: 2; }
.woocommerce-cart .cart_item .product-name a {
  font-family: var(--font-ja); font-weight: 700; font-size: 16px; color: var(--color-main); text-decoration: none;
}
.woocommerce-cart .cart_item .product-name a:hover { color: var(--color-accent); }
.woocommerce-cart .cart_item .variation { margin: 6px 0 0; font-size: 12px; opacity: 0.6; }
.woocommerce-cart .cart_item .variation dt, .woocommerce-cart .cart_item .variation dd { display: inline; margin: 0; }
/* 単価は商品名の下 */
.woocommerce-cart .cart_item .product-price { grid-column: 2; margin-top: 6px; font-family: var(--font-en); font-weight: 500; font-size: 13px; opacity: 0.6; }
.woocommerce-cart .cart_item .product-quantity { grid-column: 3; justify-self: end; }
.woocommerce-cart .cart_item .product-subtotal { grid-column: 4; justify-self: end; min-width: 90px; text-align: right; font-family: var(--font-en); font-weight: 700; font-size: 16px; }
/* 商品名と単価を縦積みにするため name セルを2行占有ではなく、price を name の直下に流す */
.woocommerce-cart .cart_item .product-name { align-self: end; }
.woocommerce-cart .cart_item .product-price { align-self: start; grid-row: 2; }
.woocommerce-cart .cart_item .product-thumbnail,
.woocommerce-cart .cart_item .product-quantity,
.woocommerce-cart .cart_item .product-subtotal { grid-row: 1 / 3; }

/* 数量ステッパー */
.woocommerce-cart .quantity { display: inline-flex; align-items: stretch; border: 1px solid rgba(55,60,56,0.3); }
.woocommerce-cart .quantity .qty {
  width: 48px; text-align: center; border: none; background: transparent;
  font-family: var(--font-en); font-size: 14px; -moz-appearance: textfield;
}
.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* クーポン＋更新の行 */
.woocommerce-cart .cart_item + tr,
.woocommerce-cart .shop_table.cart .actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 24px 0 0; border: none;
}
.woocommerce-cart .coupon { display: flex; gap: 8px; flex: 1 1 auto; max-width: 380px; }
.woocommerce-cart .coupon label { display: none; }
.woocommerce-cart .coupon #coupon_code {
  flex: 1 1 160px; min-width: 160px; background: transparent; border: none; border-bottom: 1px solid rgba(55,60,56,0.35);
  border-radius: 0; padding: 10px 2px; font-size: 14px; font-family: var(--font-ja);
}
.woocommerce-cart .coupon #coupon_code:focus { outline: none; border-bottom-color: var(--color-accent); }
.woocommerce-cart .coupon button {
  background: transparent; border: 1px solid var(--color-main); color: var(--color-main);
  padding: 10px 18px; font-family: var(--font-en); font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: all .18s;
}
.woocommerce-cart .coupon button:hover { background: var(--color-main); color: var(--color-base); }
.woocommerce-cart .actions > button[name="update_cart"] {
  margin-left: auto; background: transparent !important; border: none !important; color: var(--color-main) !important;
  padding: 10px 4px; font-family: var(--font-en); font-weight: 700; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
  opacity: 1; cursor: pointer;
}
.woocommerce-cart .actions > button[name="update_cart"]:disabled { opacity: 0.35; text-decoration: none; }

/* 合計カード（ダーク） */
.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--color-main); color: var(--color-base); padding: 32px; width: 100% !important; float: none !important;
}
.woocommerce-cart .cart_totals h2 {
  font-family: var(--font-ja); font-weight: 700; font-size: 18px; margin: 0 0 20px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(251,251,246,0.18);
}
.woocommerce-cart .cart_totals .shop_table { border: none; width: 100%; }
.woocommerce-cart .cart_totals tr { border: none; }
.woocommerce-cart .cart_totals th, .woocommerce-cart .cart_totals td {
  border: none; padding: 10px 0; font-size: 14px; color: var(--color-base); background: transparent;
}
.woocommerce-cart .cart_totals th { font-weight: 500; opacity: 0.75; text-align: left; font-family: var(--font-ja); white-space: nowrap; }
.woocommerce-cart .cart_totals h2 { white-space: nowrap; }
.woocommerce-cart .cart_totals td { text-align: right; font-family: var(--font-en); }
.woocommerce-cart .cart_totals .cart-subtotal th, .woocommerce-cart .cart_totals .cart-subtotal td { border-bottom: 1px solid rgba(251,251,246,0.12); }
.woocommerce-cart .cart_totals .shipping th, .woocommerce-cart .cart_totals .shipping td { border-bottom: 1px solid rgba(251,251,246,0.12); vertical-align: top; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination { font-size: 12px; opacity: 0.6; margin: 6px 0 0; }
.woocommerce-cart .cart_totals .shipping .amount { color: var(--color-accent); }
.woocommerce-cart .cart_totals .order-total th { font-family: var(--font-en); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 1; padding-top: 18px; }
.woocommerce-cart .cart_totals .order-total td { font-family: var(--font-en); font-weight: 900; font-size: 24px; padding-top: 18px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 24px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block; width: 100%; text-align: center; background: var(--color-accent) !important; color: var(--color-main) !important;
  padding: 18px 24px; font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  border: none !important; border-radius: 0 !important; text-transform: none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--color-base) !important; }

@media (max-width: 900px) {
  .woocommerce-cart .woocommerce { grid-template-columns: 1fr; gap: 40px; padding: 8px 20px 100px; }
  .woocommerce-cart form.woocommerce-cart-form, .woocommerce-cart .cart-collaterals { grid-column: 1; }
  .woocommerce-cart .cart-collaterals { position: static; }
}

/* SP：商品行はサムネ横に 名称→単価→数量→小計 を縦積み。
   WooCommerceのレスポンシブ表(768px)がdata-titleラベルを挿すので抑制する。 */
@media (max-width: 768px) {
  /* WooCommerceのレスポンシブ表は tr を display:block にする(0-2-2)。
     詳細度を上げて grid を維持しないと縦積みに崩れる。 */
  .woocommerce-cart table.cart tr.cart_item {
    display: grid !important;
    grid-template-columns: 80px minmax(0, 1fr) !important;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
  }
  /* WooCommerceのレスポンシブ表CSS(text-align:right!important・td境界線 0-2-2/0-2-3)に勝たせる */
  .woocommerce-cart table.cart tr.cart_item td { text-align: left !important; border: 0 !important; }
  .woocommerce-cart .cart_item td::before { display: none !important; } /* data-titleラベル抑制 */
  /* WooCommerceはSPでサムネ列を display:none にするので明示的に表示させる(0-3-1) */
  .woocommerce-cart table.cart tr.cart_item .product-thumbnail { grid-column: 1; grid-row: 1 / span 4; display: block !important; }
  .woocommerce-cart table.cart tr.cart_item .product-thumbnail img { width: 80px !important; height: 100px !important; }
  .woocommerce-cart .cart_item .product-name { grid-column: 2; grid-row: 1; align-self: start; }
  .woocommerce-cart .cart_item .product-price { grid-column: 2; grid-row: 2; margin-top: 0; }
  .woocommerce-cart .cart_item .product-quantity { grid-column: 2; grid-row: 3; justify-self: start; }
  .woocommerce-cart .cart_item .product-subtotal { grid-column: 2; grid-row: 4; justify-self: start; text-align: left; min-width: 0; }
}

/* --- チェックアウト：注文メモは背景付きの記入ボックスに（下線だけだと書く場所が分かりにくい） --- */
.mcc-checkout #order_comments {
  background: #FFFFFF !important;
  border: 1px solid rgba(55, 60, 56, 0.2) !important;
  padding: 14px 16px !important;
  min-height: 120px;
  border-radius: 0;
}
.mcc-checkout #order_comments:focus { border-color: var(--color-accent) !important; }

/* --- チェックアウト：クーポンはサマリーカード内・注文ボタンの手前に --- */
.mcc-checkout__summary .mcc-coupon { margin: 18px 0 2px; padding-top: 16px; border-top: 1px solid rgba(251, 251, 246, 0.12); }
.mcc-coupon__label { display: block; font-size: 12px; opacity: 0.7; margin-bottom: 8px; color: var(--color-base); }
.mcc-coupon__row { display: flex; gap: 8px; }
.mcc-coupon__input {
  flex: 1; min-width: 0; background: transparent; color: var(--color-base);
  border: none; border-bottom: 1px solid rgba(251, 251, 246, 0.35);
  padding: 8px 2px; font-size: 13px; font-family: var(--font-ja); border-radius: 0;
}
.mcc-coupon__input::placeholder { color: rgba(251, 251, 246, 0.4); }
.mcc-coupon__input:focus { outline: none; border-bottom-color: var(--color-accent); }
.mcc-coupon__btn {
  background: transparent; border: 1px solid rgba(251, 251, 246, 0.5); color: var(--color-base);
  padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: all .18s;
}
.mcc-coupon__btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-main); }
.mcc-coupon__msg { margin-top: 8px; font-size: 12px; }
.mcc-coupon__msg .woocommerce-error { color: #FFB3A7; list-style: none; margin: 0; padding: 0; }
.mcc-coupon__msg .woocommerce-message { color: var(--color-accent); margin: 0; }

/* 記事の戻るリンク：本文リンク用underlineとborder-bottomが重なって二重線になるためunderlineを消す */
.article-cta .link-arrow,
.article-cta .link-arrow:hover { text-decoration: none; }

/* =====================================================================
 * WooCommerce Cart / Checkout ブロック調整（v1.5.4）
 * カート＆チェックアウトはブロック版。テーマの main.css で見た目を上書きする。
 * ===================================================================== */

/* カート：クーポン入力（「クーポンを追加」）を非表示にする */
body.woocommerce-cart .wc-block-components-totals-coupon,
body.woocommerce-cart .wc-block-components-totals-coupon__form { display: none !important; }

/* カート：「推定合計額」→ 文言はPHPの gettext で「合計額」に置換（下の functions.php）。
 * 「送料は購入手続き時に計算されます」の補足は残す。 */

/* チェックアウト：クーポン欄をわかりやすく強調する */
body.woocommerce-checkout .wc-block-components-totals-coupon {
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 6px 12px;
  background: rgba(230, 184, 0, 0.06);
}
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: 0.02em;
}
/* 「適用」ボタンをアクセント色で目立たせる */
body.woocommerce-checkout .wc-block-components-totals-coupon__button--submit,
body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-button.contained {
  background: var(--color-accent) !important;
  color: var(--color-main) !important;
  border-color: var(--color-accent) !important;
}
