/** Shopify CDN: Minification failed

Line 8233:13 Expected identifier but found whitespace
Line 8234:4 Unexpected "0"

**/
/* ═══════════════════════════════════════════════════════════
   GREENTEX SHOPIFY THEME — 共用 CSS
   ─────────────────────────────────────────────────────────
   基底：caudexsan-website/about.html（最完整版）
   附加：contact-hero / fabric-strip / contact-form / info
   ─────────────────────────────────────────────────────────
   CIS：#278473 / Raleway / Space Mono / Noto Sans JP / Noto Serif JP
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --brand:       #278473;
  --brand-dark:  #1f6a5c;
  --brand-mid:   #237768;
  --brand-light: #cfe4e0;
  --brand-pale:  #f0f7f6;
  --text-main:   #1a1a1a;
  --text-sub:    #5a5a5a;
  --text-hint:   #8a8a8a;
  --border:      rgba(0,0,0,0.10);
  --border-mid:  rgba(0,0,0,0.18);
  --bg:          #ffffff;
  --bg-2:        #f8f8f7;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text-main);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.nav-links a, .section-title, .contact-title, .btn-primary, .nav-cta, .footer-logo {
  font-family: 'Raleway', sans-serif;
}
.section-eyebrow, .footer-copy {
  font-family: 'Space Mono', monospace;
}

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  display: block; overflow: hidden;
  width: 150px; height: 36px;
  flex-shrink: 0; text-decoration: none;
}
.nav-logo img {
  height: 90px; width: auto; display: block;
  margin-top: -25px; margin-left: -16px;
}
.nav-links { display: flex; gap: 44px; list-style: none; }

/* モバイル ハンバーガーボタン（desktop 隱す）*/
.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 8px 4px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.nav-mobile-toggle-bar {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-mobile-toggle:hover .nav-mobile-toggle-bar { background: var(--brand); }
.nav-links a {
  font-size: 15px; color: var(--text-main);
  text-decoration: none; letter-spacing: 0.06em;
  font-weight: 700;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-founder {
  display: flex; align-items: center;
  padding: 2px;
  opacity: 0.78;
  transition: opacity 0.2s;
  text-decoration: none;
}
.nav-founder:hover { opacity: 1; }
.nav-founder-icon { width: 30px; height: 30px; display: block; }
.nav-icon-btn {
  position: relative; cursor: pointer;
  display: flex; align-items: center;
  color: var(--text-sub); transition: color 0.2s;
  background: none; border: none; padding: 4px;
}
.nav-icon-btn:hover { color: var(--brand); }
.cart-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--brand); color: #fff;
  font-size: 9px; font-weight: 600;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.cart-badge.visible { opacity: 1; }
.nav-search-wrap { display: flex; align-items: center; gap: 0; overflow: hidden; }
.nav-search-input {
  width: 0; padding: 6px 0;
  font-size: 12px; border: none;
  border-bottom: 0.5px solid transparent;
  outline: none; font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main); background: transparent;
  transition: width 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.nav-search-wrap.open .nav-search-input {
  width: 180px; padding: 6px 10px 6px 0;
  border-bottom-color: var(--border-mid);
}
.nav-search-input::placeholder { color: var(--text-hint); }

/* ─── PAGE HEADER ─────────────────────────────────────── */
.page-header {
  padding: 80px 48px 64px;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.section-eyebrow {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--brand); margin-bottom: 12px; font-weight: 500;
}
/* SEO 用：DOM 保留但視覺隱藏 */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* skip-to-content — DOM 保留(accessibility) 但永遠視覺隱藏 */
.skip-to-content,
.visually-hidden-focusable {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
/* Tab focus 時才浮出來（accessibility） */
.skip-to-content:focus,
.visually-hidden-focusable:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible; clip: auto;
  background: var(--brand); color: #fff;
  font-size: 13px; border-radius: 2px;
  z-index: 9999;
  outline: 2px solid var(--brand-dark);
}
.breadcrumb {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-hint); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-hint); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.contact-title {
  font-size: 30px; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 18px;
}
.contact-lead {
  font-size: 14px; color: var(--text-sub);
  line-height: 1.9; max-width: 640px;
  margin: 0 auto;
}

/* ─── KEY POINTS（4 重點：設計／材質／MOQ／交期）─────── */
.key-points {
  padding: 64px 32px 72px;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
}
.key-points-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.key-point {
  background: var(--bg);
  padding: 36px 24px;
  border-radius: 4px;
  border: 0.5px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.key-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.key-point-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--brand);
}
.key-point-icon svg { width: 100%; height: 100%; display: block; }
.key-point-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--brand); font-weight: 500;
  margin-bottom: 10px;
}
.key-point-title {
  font-size: 16px; font-weight: 600;
  margin-bottom: 12px; letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.key-point-desc {
  font-size: 12px; color: var(--text-sub);
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ─── BODY LAYOUT（單欄置中）────────────────────────── */
.contact-body-wrap {
  padding: 0;
  border-bottom: 0.5px solid var(--border);
}

/* Form side */
.contact-form-wrap {
  padding: 72px 48px 80px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-form {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.form-section-title {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--brand); font-weight: 500;
  margin-top: 16px; margin-bottom: 8px;
  text-align: center;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 13px;
  border: 0.5px solid var(--border-mid);
  background: #fff;
  border-radius: 2px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-hint);
}
.contact-form select {
  color: var(--text-main);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='%238a8a8a' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.contact-form select:invalid { color: var(--text-hint); }
.contact-form textarea { height: 110px; resize: vertical; }

/* ─── FILE UPLOAD ─────────────────────────────────────── */
.file-upload {
  position: relative;
  border: 1.5px dashed var(--border-mid);
  border-radius: 2px;
  padding: 24px 20px;
  text-align: center;
  background: var(--bg-2);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.file-upload:hover {
  border-color: var(--brand);
  background: var(--brand-pale);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload-icon {
  width: 32px; height: 32px;
  margin: 0 auto 8px;
  color: var(--brand);
}
.file-upload-title {
  font-size: 13px; color: var(--text-main);
  font-weight: 500;
  margin-bottom: 4px;
}
.file-upload-hint {
  font-size: 11px; color: var(--text-hint);
  line-height: 1.6;
}
.file-upload-selected {
  font-size: 12px; color: var(--brand);
  font-weight: 500;
  margin-top: 8px;
  word-break: break-all;
}
.file-upload.has-file {
  border-style: solid;
  border-color: var(--brand);
  background: var(--brand-pale);
}
.contact-note {
  font-size: 11px; color: var(--text-hint); line-height: 1.7;
}
/* contact-submit — 2026-05-19 v8 CIS Liquid Glass */
.contact-submit {
  position: relative;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 15px 28px;
  font-size: 13px; letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif; font-weight: 500;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.88) 0%, rgba(39,132,115,0.94) 60%, rgba(31,106,92,0.98) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  text-shadow: 0 1px 1px rgba(0,50,40,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 6px 16px rgba(39,132,115,0.32),
    0 12px 28px rgba(39,132,115,0.18);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, background 0.25s ease;
  margin-top: 8px;
  overflow: hidden;
}
.contact-submit::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.contact-submit:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(107,199,180,0.92) 0%, rgba(45,149,128,0.95) 60%, rgba(31,106,92,1) 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 10px 22px rgba(39,132,115,0.42),
    0 18px 38px rgba(39,132,115,0.22);
}
.contact-submit:active { transform: translateY(0); }
.contact-submit:disabled {
  background: linear-gradient(180deg, rgba(180,180,180,0.85), rgba(140,140,140,0.85));
  cursor: not-allowed;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ─── SECTION（HOW IT WORKS / SPECS）─────────────────── */
.section {
  padding: 72px 48px 80px;
  border-bottom: 0.5px solid var(--border);
}
.section-alt { background: var(--bg-2); }
.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px; font-weight: 600;
  margin-bottom: 48px; letter-spacing: 0.02em;
}
#flow .section-eyebrow,
#flow .section-title,
#specs .section-eyebrow,
#specs .section-title { text-align: center; }
#flow .section-title,
#specs .section-title { margin-bottom: 56px; }

/* ─── FLOW STEPS（水平 7 連格 + 連接線・放大版）──────── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 0 12px;
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(50% + 48px);
  width: calc(100% - 96px);
  height: 1.5px;
  background: var(--brand-light);
  z-index: 0;
}
.flow-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.flow-circle svg { width: 42px; height: 42px; display: block; }
.flow-head {
  font-size: 15px; font-weight: 600;
  line-height: 1.4; margin-bottom: 8px;
  color: var(--text-main);
}
.flow-head-number {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.flow-note {
  font-size: 12px; color: var(--text-sub);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.flow-tag {
  display: inline-block;
  background: var(--brand-pale); color: var(--brand);
  font-size: 11px; padding: 3px 10px;
  border-radius: 2px; margin-top: 8px; font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── SPEC CARDS（素材一覧 卡片式）──────────────── */
.spec-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.spec-card {
  background: var(--bg);
  border-radius: 4px;
  border: 0.5px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.07);
}
.spec-card-img-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.spec-card-img-link::after {
  content: 'VIEW FABRICS →';
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(255,255,255,.92);
  color: var(--brand);
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  padding: 6px 10px;
  border-radius: 2px;
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.spec-card-img-link:hover::after { opacity: 1; }
.spec-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  display: block;
  object-fit: cover;
  transition: transform 0.4s;
}
.spec-card-img-link:hover .spec-card-img { transform: scale(1.04); }
.spec-card-img-empty {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hint);
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em;
}
.spec-card-body {
  padding: 20px 22px 24px;
}
.spec-card-name {
  font-size: 15px; font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.spec-card-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px; color: var(--text-hint);
  margin-bottom: 14px;
  line-height: 1.6;
}
.spec-card-uses-label {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  color: var(--brand); margin-bottom: 6px;
  font-weight: 500;
}
.spec-card-uses {
  font-size: 12px; color: var(--text-sub);
  line-height: 1.7;
}
.spec-note {
  max-width: 1200px;
  margin: 32px auto 0;
  font-size: 11px;
  color: var(--text-hint);
  line-height: 1.7;
  text-align: center;
}

/* ─── FOOTER（深色版・與 custom.html 一致）──────────── */
.footer { background: #0f1f1c; color: #c8d8d5; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 56px 64px 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff; margin-bottom: 10px;
}
.footer-brand-sub {
  font-size: 11px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em; line-height: 1.9;
}
.footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--brand); margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.72);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-item svg {
  flex-shrink: 0; margin-top: 2px; opacity: 0.65;
  color: #c8d8d5;
}
.footer-contact-item span {
  font-size: 12px; color: rgba(255,255,255,0.72);
  line-height: 1.8;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 64px;
}
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.42);
  letter-spacing: 0.06em;
}
.footer-bar-links {
  list-style: none;
  display: flex; gap: 24px;
}
.footer-bar-links a {
  font-size: 10px; color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bar-links a:hover { color: rgba(255,255,255,0.75); }

/* ─── SUCCESS / ERROR STATE ───────────────────────────── */
.success-message,
.error-message {
  display: none;
  border-radius: 2px;
  padding: 24px 28px;
  font-size: 13px;
  line-height: 1.9;
}
.success-message {
  background: var(--brand-pale);
  border: 0.5px solid var(--brand-light);
  color: var(--brand);
}
.error-message {
  background: #fdf3f2;
  border: 0.5px solid #f4cfcc;
  color: #8c2a23;
}
.success-message.visible, .error-message.visible { display: block; }
.success-message-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .spec-cards { grid-template-columns: repeat(2, 1fr); }
  .key-points-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-header { padding: 56px 24px 48px; }
  .contact-title { font-size: 24px; }
  .key-points { padding: 48px 24px 56px; }
  .key-points-grid { gap: 16px; }
  .key-point { padding: 24px 18px; }
  .contact-form-wrap { padding: 48px 24px 64px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 0; }
  .footer-main { padding-bottom: 32px; gap: 32px; }
  .footer-bar { flex-direction: column; gap: 10px; text-align: center; padding: 18px 0 24px; }
  .section { padding: 56px 24px 64px; }
  .section-title { margin-bottom: 36px !important; font-size: 19px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .flow-step:not(:last-child)::after { display: none; }
  .flow-circle { width: 72px; height: 72px; }
  .flow-circle svg { width: 34px; height: 34px; }
  .spec-cards { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── COMPANY TABLE（会社概要）────────────────────────── */
#company-info .section-eyebrow,
#company-info .section-title { text-align: center; }
#company-info .section-title { margin-bottom: 56px; }
.company-table {
  max-width: 720px; margin: 0 auto;
  border-top: 0.5px solid var(--border);
}
.company-row {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.company-row:hover { background: var(--brand-pale); }
.company-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--brand); font-weight: 500;
}
.company-value {
  font-size: 14px; color: var(--text-main);
  line-height: 1.95;
}
.company-value a { color: var(--brand); text-decoration: none; }
.company-value a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .company-row { padding: 18px 12px; }
}

/* ─── USP GRID（6 理由）─────────────────────────────── */
.usp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  max-width: 1100px; margin: 0 auto;
  border: 0.5px solid var(--border);
}
.usp-card {
  background: var(--bg);
  border-right:  0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 28px 32px;
  display: flex; flex-direction: row;
  align-items: center; gap: 20px;
  transition: background 0.18s;
}
.usp-card:nth-child(even)      { border-right: none; }
.usp-card:nth-last-child(-n+2) { border-bottom: none; }
.usp-card:hover { background: var(--brand-pale); }
.usp-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--brand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.usp-icon-wrap svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.usp-text { flex: 1; }
.usp-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--brand); margin-bottom: 6px; font-weight: 500;
}
.usp-head {
  font-family: 'Raleway', sans-serif;
  font-size: 16px; font-weight: 600;
  line-height: 1.45; margin-bottom: 8px;
}
.usp-body {
  font-size: 13px; color: var(--text-main); line-height: 1.85;
}
@media (max-width: 860px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-card:nth-child(even) { border-right: none; }
  .usp-card:nth-last-child(-n+2) { border-bottom: 0.5px solid var(--border); }
  .usp-card:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT 専用 — HERO / PHILOSOPHY / HISTORY / CTA（CIS 風格）
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO（brand PANTONE 同色系漸層 + 白色 LOGO）─────── */
.about-hero {
  /* CIS 主色 #278473 同色系漸層：明亮處到深處 */
  background:
    radial-gradient(ellipse at 30% 20%, rgba(207,228,224,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(15,37,32,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #2a8a78 0%, #278473 30%, #237768 60%, #1f6a5c 100%);
  padding: 110px 32px 120px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* 2026-05-19 v12：軽い布料感（経緯線・極控えめ） */
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,0.025) 3px 3.5px),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.025) 3px 3.5px);
  pointer-events: none;
}
.about-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
/* 葉子 cluster は CEO 指示で撤去（2026-05-19 v12）— class 残存ガード */
.about-hero-leaves { display: none; }

.about-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.about-hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px; font-weight: 500;
}
/* LOGO 反白：用 CSS filter 把綠色 PNG 變純白色 */
.about-hero-logo {
  display: inline-block;
  margin-bottom: 44px;
}
.about-hero-logo img {
  height: 180px; width: auto; display: block;
  filter: brightness(0) invert(1);          /* 任何深色 → 白色 */
  opacity: 0.96;
}
@media (max-width: 720px) {
  .about-hero-logo img { height: 120px; }
}
.about-hero-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 18px; font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
  line-height: 1.6;
}
.about-hero-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
}
.about-hero-meta .dot { margin: 0 8px; opacity: 0.5; }

/* ─── PHILOSOPHY（加裝飾：背景大字 + divider + 浮水印）── */
.philosophy {
  padding: 96px 32px 110px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* 背景巨大裝飾字「布」（淡色浮水印）*/
.philosophy::before {
  content: '布';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 480px;
  color: var(--brand);
  opacity: 0.035;
  font-weight: 700;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}
/* 右下角小植物圖示（多肉葉）*/
.philosophy::after {
  content: '';
  position: absolute;
  bottom: 32px; right: 32px;
  width: 80px; height: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23278473' stroke-width='1' opacity='0.25'><path d='M30 8 Q22 18 22 28 Q22 36 30 38 Q38 36 38 28 Q38 18 30 8 Z'/><path d='M30 20 Q16 24 12 36 Q12 44 22 44 Q30 42 30 32 Z'/><path d='M30 20 Q44 24 48 36 Q48 44 38 44 Q30 42 30 32 Z'/><path d='M30 38 L30 52'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.philosophy-inner {
  max-width: 760px; margin: 0 auto;
  position: relative; z-index: 1;
}
.philosophy-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--brand); margin-bottom: 28px;
  font-weight: 500;
}
/* 上方小裝飾線 */
.philosophy-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--brand);
  margin: 12px auto 0;
  opacity: 0.4;
}
.philosophy-quote {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 32px; font-weight: 500;
  line-height: 1.7; color: var(--text-main);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  position: relative;
}
.philosophy-quote .q-mark {
  color: var(--brand); font-size: 1.6em;
  vertical-align: -0.15em;
  font-family: 'Raleway', serif;
  margin: 0 4px;
  opacity: 0.7;
}
/* 中間分隔花飾 */
.philosophy-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto 36px;
  max-width: 200px;
}
.philosophy-divider .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
}
.philosophy-divider .leaf {
  width: 16px; height: 16px;
  color: var(--brand); opacity: 0.6;
}
.philosophy-body {
  font-size: 14px; color: var(--text-sub);
  line-height: 2.1;
  max-width: 600px; margin: 0 auto;
}
.philosophy-body strong {
  color: var(--brand-dark);
  font-weight: 600;
}

/* ─── HISTORY 沿革（時間軸）──────────────────────────── */
#history .section-eyebrow { margin-bottom: 8px; }
#history .section-title  { margin-bottom: 56px; }
.history-timeline {
  max-width: 800px; margin: 0 auto;
  position: relative;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 140px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--brand-light);
}
.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 56px;
  padding: 18px 0 28px;
  position: relative;
}
.history-item::before {
  content: '';
  position: absolute;
  left: 136px; top: 26px;
  width: 9px; height: 9px;
  background: var(--brand); border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.history-year {
  text-align: right;
  padding-right: 0;
}
.year-num {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 22px; font-weight: 700;
  color: var(--brand); line-height: 1;
  margin-bottom: 4px;
}
.year-jp {
  font-size: 11px; color: var(--text-hint);
  letter-spacing: 0.04em;
}
.history-content { padding-left: 8px; }
.history-head {
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main); margin-bottom: 8px;
}
.history-body {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.9;
}

/* ─── CTA ──────────────────────────────────────────── */
.cta-section {
  background: var(--bg-2);
  padding: 88px 32px 96px;
  text-align: center;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--brand); margin-bottom: 18px;
  font-weight: 500;
}
.cta-title {
  font-family: 'Raleway', sans-serif;
  font-size: 28px; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 18px;
  color: var(--text-main);
}
.cta-body {
  font-size: 14px; color: var(--text-sub);
  line-height: 1.95; margin-bottom: 36px;
}
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
/* CTA buttons — 2026-05-19 v8 CIS Liquid Glass */
.cta-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, background 0.25s ease;
  overflow: hidden;
}
.cta-btn > * { position: relative; z-index: 1; }

.cta-btn-primary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.88) 0%, rgba(39,132,115,0.94) 60%, rgba(31,106,92,0.98) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  text-shadow: 0 1px 1px rgba(0,50,40,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 6px 16px rgba(39,132,115,0.32),
    0 12px 28px rgba(39,132,115,0.18);
}
.cta-btn-primary::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.cta-btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(107,199,180,0.92) 0%, rgba(45,149,128,0.95) 60%, rgba(31,106,92,1) 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 10px 22px rgba(39,132,115,0.42),
    0 18px 38px rgba(39,132,115,0.22);
}
.cta-btn-primary:active {
  transform: translateY(0);
}

/* secondary：白玻璃感（透明白底＋綠邊） */
.cta-btn-secondary {
  color: var(--brand);
  border: 1px solid rgba(39, 132, 115, 0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 12px rgba(39,132,115,0.10);
}
.cta-btn-secondary:hover {
  border-color: rgba(39, 132, 115, 0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(207,228,224,0.4) 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 8px 18px rgba(39,132,115,0.18);
}
.cta-btn-secondary:active {
  transform: translateY(0);
}

/* ─── ABOUT RESPONSIVE ─────────────────────────────── */
@media (max-width: 860px) {
  .about-hero { padding: 64px 24px 72px; }
  .about-hero-logo { padding: 18px 24px; }
  .about-hero-logo img { height: 72px; }
  .about-hero-tagline { font-size: 15px; }
  .philosophy { padding: 64px 24px 72px; }
  .philosophy-quote { font-size: 24px; }
  .history-item { grid-template-columns: 80px 1fr; gap: 36px; }
  .history-timeline::before { left: 96px; }
  .history-item::before { left: 92px; }
  .year-num { font-size: 18px; }
  .cta-section { padding: 64px 24px 72px; }
  .cta-title { font-size: 22px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-btn { justify-content: center; }
}

/* ─── CONTACT HERO（CIS 風格：綠色滿版漸層）─────────────── */
.contact-hero {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(207,228,224,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(15,37,32,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #2a8a78 0%, #278473 30%, #237768 60%, #1f6a5c 100%);
  padding: 96px 32px 110px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 60px, rgba(255,255,255,0.025) 60px 61px);
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.contact-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.contact-hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.32em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px; font-weight: 500;
}
.contact-hero-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 36px; font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 24px;
}
.contact-hero-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 2.0;
  max-width: 600px; margin: 0 auto;
}

/* ─── FABRIC STRIP（KAIYO 印花布精選縮圖 strip）──────── */
.fabric-strip {
  padding: 48px 32px 56px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.fabric-strip-inner {
  max-width: 1280px; margin: 0 auto;
}
.fabric-strip-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--brand);
  margin-bottom: 8px; font-weight: 500;
}
.fabric-strip-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px; font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.fabric-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.fabric-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--brand-pale);
  position: relative;
}
.fabric-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  display: block;
}
.fabric-thumb:hover img {
  transform: scale(1.08);
}
.fabric-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,37,32,0.18) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fabric-thumb:hover::after { opacity: 1; }

/* ─── SECTION（包覆下面 body）──────────────────────────── */
.contact-section {
  padding: 64px 32px 96px;
  background: var(--bg-2);
}
.contact-section-inner {
  max-width: 1100px; margin: 0 auto;
}
.section-eyebrow {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--brand); margin-bottom: 12px; font-weight: 500;
}

/* ─── CONTACT LAYOUT ──────────────────────────────────── */
.contact-body-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  border: 0.5px solid var(--border);
  background: var(--bg);
  box-shadow: 0 1px 24px rgba(0,0,0,0.04);
}
/* 単欄バリアント（inquiry-fabric 等、右側 info カラムを持たない頁面）*/
.contact-body-wrap--single {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
.contact-body-wrap--single .contact-form-wrap {
  border-right: none;
}

/* Form side */
.contact-form-wrap {
  padding: 56px 48px;
  border-right: 0.5px solid var(--border);
}
.contact-form {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 520px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 13px;
  border: 0.5px solid var(--border-mid);
  background: #fff;
  border-radius: 2px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-hint);
}
.contact-form select { color: var(--text-sub); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-note {
  font-size: 11px; color: var(--text-hint); line-height: 1.7;
}
/* contact-submit (contact 頁 hero 内重複定義) — v8 玻璃感は上方 .contact-submit に統一 */

/* Info side */
.contact-info {
  padding: 56px 40px;
  background: var(--brand-pale);
}
.info-block {
  margin-bottom: 40px;
}
.info-block:last-child { margin-bottom: 0; }
.info-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--brand); margin-bottom: 10px; font-weight: 500;
}
.info-value {
  font-size: 13px; color: var(--text-main);
  line-height: 1.9;
}
.info-value a {
  color: var(--brand); text-decoration: none;
}
.info-value a:hover { text-decoration: underline; }
.info-divider {
  border: none;
  border-top: 0.5px solid var(--border-mid);
  margin: 32px 0;
}

/* ─── FOOTER（深色版・與 about/custom.html 一致）──────── */
.footer { background: #0f1f1c; color: #c8d8d5; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 56px 64px 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff; margin-bottom: 10px;
}
.footer-brand-sub {
  font-size: 11px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em; line-height: 1.9;
}
.footer-col-title {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--brand); margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.72);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-item svg {
  flex-shrink: 0; margin-top: 2px; opacity: 0.65;
  color: #c8d8d5;
}
.footer-contact-item span {
  font-size: 12px; color: rgba(255,255,255,0.72);
  line-height: 1.8;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 64px;
}
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 10px; color: rgba(255,255,255,0.42);
  letter-spacing: 0.06em;
}
.footer-bar-links {
  list-style: none;
  display: flex; gap: 24px;
}
.footer-bar-links a {
  font-size: 10px; color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bar-links a:hover { color: rgba(255,255,255,0.75); }

/* ─── SUCCESS STATE ───────────────────────────────────── */
.success-message {
  display: none;
  background: var(--brand-pale);
  border: 0.5px solid var(--brand-light);
  border-radius: 2px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--brand);
  line-height: 1.8;
}
.success-message.visible { display: block; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT PAGE（product.liquid 専用）
   ═══════════════════════════════════════════════════════════ */
.product-section {
  padding: 48px 40px 72px;
  background: var(--bg);
}
.product-section-inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 420px;
  gap: 32px;
  align-items: stretch; /* 2026-05-19 v8：左右欄等高、sample box が右欄ログイン提示と同矩形 */
  justify-content: center;
}
/* 左側商品圖區：限制高度，讓商品圖+縮圖一起進首屏 */
.product-gallery {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 460px;
}
/* sample-box を縮圖の下から右欄底部まで自然に伸ばす（margin-top: auto で押し下げ） */
.product-gallery .product-sample-box--compact {
  margin-top: auto;
}
.product-main-image {
  aspect-ratio: 1 / 1;
  max-height: 460px;
  max-width: 460px;
  overflow: hidden;
  background: var(--bg-2);
  border: 0.5px solid var(--border);
  border-radius: 2px;
}
.product-main-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.product-thumb {
  aspect-ratio: 1 / 1;
  border: 0.5px solid var(--border);
  background: var(--bg-2);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}
.product-thumb:hover { border-color: var(--brand); }
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-info { padding-top: 8px; max-width: 420px; }
.product-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--brand);
  margin: 0 0 10px;
  font-weight: 500;
}
.product-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-main);
  margin: 0 0 12px;
}
.product-subtitle {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.8;
  margin: 0 0 24px;
}
.product-specs {
  border-top: 0.5px solid var(--border);
  margin: 24px 0;
  padding: 16px 0 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  font-size: 13px;
}
.product-specs dt {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 500;
  padding-top: 2px;
}
.product-specs dd {
  margin: 0;
  color: var(--text-main);
  line-height: 1.7;
}
.product-price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin: 28px 0 8px;
}
.product-price-main {
  font-family: 'Raleway', sans-serif;
  font-size: 30px; font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}
.product-price-unit {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}
.product-price-compare {
  font-size: 13px;
  color: var(--text-hint);
  text-decoration: line-through;
  margin: 0 0 16px;
}
.product-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.product-option {
  display: flex; flex-direction: column; gap: 5px;
}
.product-option-label {
  font-family: 'Space Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 500;
}
.product-option-values { display: flex; flex-wrap: wrap; gap: 8px; }
/* 2026-05-19 v8：玻璃感統一按鈕（色番/尺寸 pill） */
.product-option-pill {
  cursor: pointer;
  position: relative;
}
.product-option-pill input { position: absolute; opacity: 0; pointer-events: none; }
.product-option-pill span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid rgba(39, 132, 115, 0.18);
  border-radius: 999px;
  font-size: 12.5px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 1px 2px rgba(39,132,115,0.06);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.product-option-pill:hover span {
  border-color: rgba(39, 132, 115, 0.45);
  color: var(--brand);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(39,132,115,0.14);
}
.product-option-pill input:checked + span {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.92) 0%, rgba(39,132,115,0.95) 60%, rgba(31,106,92,0.98) 100%);
  text-shadow: 0 1px 1px rgba(0,50,40,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 4px 12px rgba(39,132,115,0.28),
    0 8px 20px rgba(39,132,115,0.14);
}
.product-option-pill input:checked + span::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.volume-discount-info {
  background: var(--brand-pale);
  border: 0.5px solid var(--brand-light);
  border-radius: 2px;
  padding: 14px 18px;
}
.volume-discount-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 500;
  margin: 0 0 8px;
}
.volume-discount-tiers {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-main);
}
.volume-discount-tiers li strong {
  color: var(--brand);
  font-weight: 700;
}
.volume-discount-note {
  font-size: 10.5px;
  color: var(--text-sub);
  margin: 0;
}
/* カートに追加（玻璃感 — sample-add-btn と同系列、ひと回り大きく） */
.product-add-btn {
  position: relative;
  padding: 15px 26px !important;
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.88) 0%, rgba(39,132,115,0.94) 60%, rgba(31,106,92,0.98) 100%) !important;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #fff;
  border-radius: 999px !important;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 50, 40, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),
    0 6px 16px rgba(39, 132, 115, 0.32),
    0 12px 28px rgba(39, 132, 115, 0.18);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  width: 100%;
  margin-top: 4px;
}
.product-add-btn::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.product-add-btn > * { position: relative; z-index: 1; }
.product-add-btn:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(107,199,180,0.94) 0%, rgba(45,149,128,0.96) 60%, rgba(31,106,92,1) 100%) !important;
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 10px 22px rgba(39,132,115,0.42),
    0 18px 38px rgba(39,132,115,0.22);
}
.product-add-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.12),
    inset 0 -1px 0 rgba(255,255,255,0.18),
    0 2px 4px rgba(39,132,115,0.32);
}
.product-add-btn:disabled {
  background: linear-gradient(180deg, rgba(180,180,180,0.85), rgba(140,140,140,0.85)) !important;
  cursor: not-allowed;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
/* 非 textile（植物・雑貨）はコンパクト幅 */
.product-add-btn--compact {
  width: auto !important;
  align-self: flex-start;
  padding: 13px 36px !important;
  min-width: 200px;
}
.product-login-hint {
  font-size: 11.5px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.7;
}
.product-login-hint a {
  color: var(--brand);
  text-decoration: underline;
}
/* ─── 商品說明（拉出右欄、下方全寬置中）─────────────── */
.product-description-wrap {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 56px 32px 0;
  border-top: 0.5px solid var(--border);
}
.product-description {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-main);
}
.product-description h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin: 32px 0 14px;
  color: var(--text-main);
  text-align: center;
  position: relative;
  padding-bottom: 14px;
}
.product-description h3::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--brand);
  margin: 14px auto 0;
}
.product-description h3:first-child { margin-top: 0; }
.product-description p {
  margin: 0 0 14px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.product-description ul {
  list-style: none;
  padding: 0;
  margin: 16px auto 24px;
  max-width: 480px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.product-description ul li {
  padding-left: 22px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.7;
}
.product-description ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--brand);
  font-weight: 700;
}
.product-description ol { padding-left: 1.6em; margin: 0 0 14px; }
.product-description strong { font-weight: 600; color: var(--text-main); }

/* 仕様表 / 別注表（table 美化）*/
.product-description table {
  width: 100%;
  max-width: 720px;
  margin: 16px auto 24px;
  border-collapse: collapse;
  font-size: 13px;
}
.product-description table thead th {
  background: var(--brand-pale);
  color: var(--brand);
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1.5px solid var(--brand);
}
.product-description table tbody td,
.product-description table tbody th {
  padding: 12px 14px;
  border-bottom: 0.5px solid var(--border);
  vertical-align: top;
}
.product-description table tbody th {
  width: 110px;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 500;
  background: var(--bg-2);
  text-align: left;
}
.product-description table tbody tr:hover { background: var(--bg-2); }

/* 仕様表內無 thead 的（key/value 風格） */
.product-description table:not(:has(thead)) {
  max-width: 520px;
}
.product-description table:not(:has(thead)) td {
  font-size: 13px;
  color: var(--text-main);
}

/* 関連商品 */
.related-products {
  background: var(--bg-2);
  padding: 80px 48px 96px;
  border-top: 0.5px solid var(--border);
  margin-top: 64px;
}
.related-products .section-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 500;
}
.related-products .section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin: 0 0 48px;
}
.featured-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.featured-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-2);
  border: 0.5px solid var(--border);
}
.featured-card-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s;
}
.featured-card:hover .featured-card-image img { transform: scale(1.04); }
.featured-card-text { padding: 12px 2px 0; }
.featured-card-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-sub);
  margin: 0 0 4px;
}
.featured-card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  /* 固定 460+420 が入らないサイズは流動 grid に fall back */
  .product-section-inner { grid-template-columns: 1fr 1fr; gap: 24px; max-width: 100%; }
  .product-info { max-width: 100%; }
}
@media (max-width: 860px) {
  .product-section { padding: 24px 16px 48px; }
  .product-section-inner { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { max-width: 100%; }
  .product-main-image { max-height: none; }
  .product-title { font-size: 19px; }
  .product-price-main { font-size: 26px; }
  .product-thumbnails { grid-template-columns: repeat(6, 1fr); }
  .product-description-wrap { padding: 40px 16px 0; margin-top: 48px; }
  .product-description h3 { font-size: 16px; }
  .product-description table { font-size: 11.5px; }
  .product-description table tbody th { width: 80px; padding: 8px 10px; }
  .product-description table tbody td { padding: 8px 10px; }
  .related-products { padding: 56px 16px 72px; margin-top: 40px; }
  .related-products .section-title { font-size: 22px; margin-bottom: 28px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE EDITORIAL — caudexsan-website/index.html 完全照搬
   ─────────────────────────────────────────────────────────
   Hero V2 大字版 + 色塊矩陣 + INFORMATION + PRODUCTS
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO V2 — Editorial Premium ─────────────────────── */
.hero-editorial {
  display: flex; flex-direction: column;
  border-bottom: 0.5px solid var(--border);
}
.hero-text-block {
  padding: 104px 48px 84px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-eyebrow-line {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--brand);
  font-weight: 400;
}
.hero-eyebrow-line::before,
.hero-eyebrow-line::after {
  content: ''; height: 1px; width: 56px;
  background: var(--brand-light);
}
.hero-display {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(64px, 12vw, 168px);
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: var(--text-main);
  margin: 4px 0 0;
}
.hero-display .hd-em {
  font-style: italic;
  color: var(--brand);
  font-weight: 300;
}
.hero-sub-jp {
  font-size: 14px; letter-spacing: 0.04em;
  color: var(--text-sub);
  max-width: 580px;
  line-height: 2.05;
  margin-top: 4px;
}
.hero-actions-v2 {
  display: flex; gap: 12px;
  align-items: center; justify-content: center;
  margin-top: 12px;
}

/* btn-primary / btn-ghost — Editorial Hero CTAs（2026-05-19 v8：CIS Liquid Glass） */
.btn-primary {
  position: relative;
  display: inline-block;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px; letter-spacing: 0.05em;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.88) 0%, rgba(39,132,115,0.94) 60%, rgba(31,106,92,0.98) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,50,40,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 6px 16px rgba(39,132,115,0.32),
    0 12px 28px rgba(39,132,115,0.18);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, background 0.25s ease;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.06) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(107,199,180,0.92) 0%, rgba(45,149,128,0.95) 60%, rgba(31,106,92,1) 100%);
  transform: translateY(-1.5px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 10px 22px rgba(39,132,115,0.42),
    0 18px 38px rgba(39,132,115,0.22);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.12), 0 2px 4px rgba(39,132,115,0.32);
}
.btn-ghost {
  color: var(--brand);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  border: 0.5px solid var(--brand);
  padding: 13px 22px; border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: var(--brand-pale); }

/* ─── HERO COLOR GRID STRIP ─────────────────────────── */
.hero-grid-strip {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.hgs-cell {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.45s ease;
  display: block;            /* anchor 模式時填滿格子 */
  text-decoration: none;
  color: inherit;
}
/* 商品圖模式：底色用淡灰避免 loading 時白底 */
.hgs-cell--product { background: var(--bg-2); }
.hgs-cell::after {
  content: attr(data-code);
  position: absolute;
  left: 8px; bottom: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 8px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.92);
  opacity: 0;
  transition: opacity 0.25s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  z-index: 2;
}
.hgs-cell[data-light="1"]::after {
  color: rgba(0,0,0,0.7); text-shadow: none;
}
.hgs-cell:hover::after { opacity: 1; }
.hgs-cell:hover { transform: scale(1.06); z-index: 3; }
.hgs-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.45s ease;
}
.hgs-cell:hover img { transform: scale(1.04); }

/* ─── NEWS / INFORMATION — Editorial Card Grid ───────── */
.news-section {
  padding: 88px 48px 96px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}
.news-head-center {
  text-align: center;
  margin-bottom: 56px;
}
.news-headline {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 6px;
}
.news-headline-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--text-sub);
  font-weight: 400;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.news-card {
  border: 0.5px solid var(--border);
  background: var(--bg);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: border-color 0.25s, transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.news-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(39,132,115,0.25);
}
.news-card-cover {
  aspect-ratio: 4 / 3;
  background: var(--brand-pale);
  position: relative;
  overflow: hidden;
}
.news-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-cover img { transform: scale(1.04); }
.news-card-cover--mono {
  background: linear-gradient(135deg, #f0f7f6 0%, #cfe4e0 100%);
  display: flex; align-items: center; justify-content: center;
}
.news-card-cover--dark {
  background: linear-gradient(135deg, #1f6a5c 0%, #278473 100%);
  display: flex; align-items: center; justify-content: center;
}
.news-card-cover--paper {
  background: #f8f8f7;
  display: flex; align-items: center; justify-content: center;
}
.news-card-cover-mark {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 56px; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
}
.news-card-cover--mono .news-card-cover-mark { color: var(--brand); }
.news-card-cover--paper .news-card-cover-mark { color: var(--brand-mid); }
.news-card-body {
  padding: 22px 22px 26px;
  flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.news-card-title {
  font-size: 14.5px; font-weight: 600;
  line-height: 1.55;
  color: var(--text-main);
  margin-top: 2px;
}
.news-card-pills {
  display: flex; gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.news-pill {
  display: inline-block;
  padding: 5px 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  background: var(--bg);
  white-space: nowrap;
}
.news-card:hover .news-pill {
  border-color: var(--brand);
  color: var(--brand);
}

/* ─── PRODUCTS — 仿小林繊維 PRODUCTS 風格 ────────────── */
.products-section {
  padding: 88px 48px 96px;
  background: var(--bg);
}
.products-head-center {
  text-align: center;
  margin-bottom: 48px;
}
.products-headline {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.18em;
  color: var(--text-main);
  margin: 0 0 8px;
}
.products-headline-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--text-sub);
  margin: 0;
}
.products-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.product-card-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-2);
  border: 0.5px solid var(--border);
}
.product-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-cover img {
  transform: scale(1.04);
}
.product-card-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 3px 9px;
  border-radius: 1px;
  z-index: 1;
}
.product-card-meta {
  padding: 14px 2px 0;
}
.product-card-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-sub);
  margin: 0 0 4px;
}
.product-card-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
}
.products-cta-wrap {
  text-align: center;
  margin-top: 56px;
}
.products-cta {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 0.5px solid var(--brand-light);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.products-cta:hover { border-color: var(--brand); }

/* ─── RESPONSIVE — Editorial Homepage ─────────────────── */
@media (max-width: 860px) {
  .hero-text-block { padding: 56px 20px 48px; gap: 18px; }
  .hero-eyebrow-line {
    font-size: 9.5px; letter-spacing: 0.16em; gap: 10px;
    flex-wrap: nowrap;
  }
  .hero-eyebrow-line::before, .hero-eyebrow-line::after { width: 28px; }
  .hero-display {
    font-size: clamp(44px, 13vw, 72px);
    letter-spacing: -0.02em;
    line-height: 0.95;
  }
  .hero-sub-jp { font-size: 12.5px; line-height: 1.85; padding: 0 6px; }
  .hero-actions-v2 { gap: 10px; flex-wrap: wrap; }
  .hero-actions-v2 .btn-primary,
  .hero-actions-v2 .btn-ghost,
  .hero-actions-v2 .btn-tertiary { padding: 11px 18px; font-size: 12px; }
  .hero-grid-strip { grid-template-columns: repeat(8, 1fr); }
  .news-section { padding: 56px 20px 64px; }
  .news-headline { font-size: clamp(28px, 8vw, 40px); letter-spacing: 0.04em; }
  .news-headline-sub { font-size: 10.5px; letter-spacing: 0.14em; }
  .news-cards { grid-template-columns: 1fr; gap: 16px; }
  .news-card-cover-mark { font-size: 40px; }
  .products-section { padding: 56px 20px 64px; }
  .products-headline { font-size: 24px; letter-spacing: 0.14em; }
  .products-headline-sub { font-size: 10px; letter-spacing: 0.24em; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .product-card-name { font-size: 12px; }
  .product-card-code { font-size: 10px; }
}

/* 極小手機（〜420px） */
@media (max-width: 420px) {
  .hero-text-block { padding: 40px 16px 36px; gap: 14px; }
  .hero-eyebrow-line {
    font-size: 8.5px; letter-spacing: 0.12em; gap: 6px;
  }
  .hero-eyebrow-line::before, .hero-eyebrow-line::after { width: 16px; }
  .hero-display { font-size: clamp(38px, 14vw, 56px); }
  .hero-sub-jp { font-size: 12px; }
  .nav { padding: 0 16px; height: 56px; }
}

/* ─── MOBILE NAV — ハンバーガー + Drawer ──────────────── */
@media (max-width: 860px) {
  .nav { padding: 0 16px; }
  .nav-mobile-toggle { display: flex; }
  .nav-links { display: none; }
  .nav-search-wrap { display: none; }
  /* logo を中央寄せ */
  .nav-logo { margin: 0 auto; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-right { margin-left: auto; }
}

/* Drawer + Overlay */
.nav-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(15,31,28,0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 998;
}
.nav-drawer-overlay.open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: var(--bg);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,0.06);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 0.5px solid var(--border);
  min-height: 60px;
}
.nav-drawer-logo {
  display: block; overflow: hidden;
  width: 130px; height: 32px;
}
.nav-drawer-logo img {
  height: 80px; width: auto; display: block;
  margin-top: -22px; margin-left: -14px;
}
.nav-drawer-close {
  background: none; border: none;
  width: 36px; height: 36px;
  font-size: 28px; font-weight: 300;
  color: var(--text-main);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.nav-drawer-close:hover { color: var(--brand); }
.nav-drawer-links {
  list-style: none;
  flex: 1;
  padding: 16px 0;
  margin: 0;
  overflow-y: auto;
}
.nav-drawer-links li {
  border-bottom: 0.5px solid var(--border);
}
.nav-drawer-links a {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 18px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a:active {
  background: var(--brand-pale);
  color: var(--brand);
}
.nav-drawer-links a small {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  font-weight: 400;
}
.nav-drawer-foot {
  border-top: 0.5px solid var(--border);
  padding: 16px 24px;
  display: flex; gap: 12px;
}
.nav-drawer-cart-link,
.nav-drawer-search-link {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: 2px;
  font-size: 12px;
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.nav-drawer-cart-link:hover,
.nav-drawer-search-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

body.drawer-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   GREEN COLLECTION（collection.green.liquid 専用）
   ─────────────────────────────────────────────────────────
   CAUDEXSAN'S SHOP — 塊根植物・ビカクシダ・アガベ・八角鉢
   ═══════════════════════════════════════════════════════════ */

/* ─── GREEN HERO（CIS 緑滿版漸層）─────────────────────── */
.green-hero {
  background:
    radial-gradient(ellipse at 25% 20%, rgba(207,228,224,0.20) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(15,37,32,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #2a8a78 0%, #278473 30%, #237768 60%, #1f6a5c 100%);
  padding: 96px 32px 110px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* 簡潔版（2026-05-19 v2）：上下窄く、テキスト少なく */
.green-hero--compact {
  padding: 56px 32px 64px;
}
.green-hero--compact .green-hero-avatar {
  width: 88px; height: 88px;
  margin-bottom: 18px;
}
.green-hero--compact .green-hero-eyebrow { margin-bottom: 14px; font-size: 10.5px; }
.green-hero--compact .green-hero-title {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.55;
  margin-bottom: 14px;
}
.green-hero--compact .green-hero-sub {
  font-size: 13.5px;
  line-height: 1.85;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .green-hero--compact { padding: 36px 18px 44px; }
  .green-hero--compact .green-hero-avatar { width: 64px; height: 64px; margin-bottom: 14px; }
  .green-hero--compact .green-hero-eyebrow { font-size: 9.5px; margin-bottom: 10px; }
  .green-hero--compact .green-hero-title { font-size: 22px; line-height: 1.5; }
  .green-hero--compact .green-hero-sub { font-size: 12.5px; line-height: 1.75; }
}
.green-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 60px, rgba(255,255,255,0.025) 60px 61px);
  pointer-events: none;
}
.green-hero-inner {
  position: relative; z-index: 1;
  max-width: 920px; margin: 0 auto;
  text-align: center;
}
.green-hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.green-hero-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}
.green-hero-title .hd-em {
  color: #cfe4e0;
  font-style: normal;
}
.green-hero-sub {
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255,255,255,0.88);
  max-width: 720px; margin: 0 auto 32px;
}
.green-hero-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
}
.green-hero-meta .dot { margin: 0 10px; opacity: 0.5; }

/* ─── STORY セクション（philosophy 風）────────────────── */
.green-story {
  padding: 96px 32px 110px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.green-story::before {
  content: '緑';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 480px;
  color: var(--brand);
  opacity: 0.035;
  font-weight: 700;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}
.green-story-inner {
  max-width: 760px; margin: 0 auto;
  position: relative; z-index: 1;
}
.green-story-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--brand);
  margin-bottom: 28px;
  font-weight: 500;
}
.green-story-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--brand);
  margin: 12px auto 0;
  opacity: 0.4;
}
.green-story-quote {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.75;
  letter-spacing: 0.04em;
  margin: 0 0 40px;
  color: var(--text-main);
}
.green-story-quote .hd-em { color: var(--brand); font-style: normal; }
.green-story-quote .q-mark {
  color: var(--brand);
  opacity: 0.6;
  font-family: 'Raleway', serif;
  font-weight: 300;
}
.green-story-body p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-sub);
  margin: 0 0 18px;
  text-align: left;
}
.green-story-body strong { color: var(--text-main); font-weight: 600; }
.green-chip-list {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 36px auto 0;
  padding: 0;
  max-width: 720px;
}
.green-chip {
  padding: 6px 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  background: var(--bg);
}

/* ─── PRODUCTS グリッド（標準下單フロー保持）────────────── */
.green-products {
  padding: 96px 32px 110px;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
}
.green-products-inner {
  max-width: 1200px; margin: 0 auto;
}
.green-products-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.green-products-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 500;
}
.green-products-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin: 0;
}
.green-products-meta {
  display: flex; align-items: center; gap: 16px;
}
.green-products-count {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-sub);
}
.green-products-sort {
  padding: 8px 16px;
  font-size: 12px;
  border: 0.5px solid var(--border-mid);
  background: var(--bg);
  border-radius: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}
.green-products-sort:focus { border-color: var(--brand); }

.green-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.green-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s ease;
}
.green-card:hover { transform: translateY(-3px); }
.green-card-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: 2px;
}
.green-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.green-card:hover .green-card-cover img { transform: scale(1.04); }
.green-card-sold {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15,31,28,0.78);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px; letter-spacing: 0.2em;
  padding: 8px 16px;
  border-radius: 1px;
  z-index: 2;
}
.green-card-body {
  padding: 16px 4px 0;
}
.green-card-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0 0 8px;
  /* 2 行で切り詰め */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.green-card-price .price-current {
  font-family: 'Space Mono', monospace;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--brand);
  font-weight: 700;
}
.green-card-price .price-compare {
  font-size: 11px;
  color: var(--text-hint);
  text-decoration: line-through;
  margin-left: 6px;
}

.green-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--text-sub);
  font-size: 13px;
}
.green-pagination {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: center; gap: 24px;
  margin-top: 56px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
}
.green-pagination a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 0.5px solid var(--brand-light);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.green-pagination a:hover { border-bottom-color: var(--brand); }
.green-pagination span { color: var(--text-sub); }

/* ─── 信頼補強セクション ─────────────────────────────── */
.green-trust {
  padding: 72px 32px 88px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
}
.green-trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.green-trust-item {
  text-align: center;
  padding: 24px 16px;
}
.green-trust-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.green-trust-title {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin: 0 0 8px;
}
.green-trust-body {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
}
.green-trust-body a { color: var(--brand); text-decoration: underline; }

/* ─── RESPONSIVE — GREEN ─────────────────────────────── */
@media (max-width: 1024px) {
  .green-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .green-hero { padding: 48px 18px 56px; }
  .green-hero-title { font-size: clamp(22px, 5.5vw, 30px); line-height: 1.5; }
  .green-hero-sub { font-size: 12.5px; line-height: 1.9; }
  .green-hero-meta { font-size: 9.5px; letter-spacing: 0.12em; }
  .green-hero-meta .dot { margin: 0 6px; }
  .green-story { padding: 48px 20px 56px; }
  .green-story::before { font-size: 280px; }
  .green-story-quote { font-size: clamp(18px, 4.5vw, 22px); line-height: 1.7; }
  .green-story-body p { font-size: 12.5px; line-height: 1.95; }
  .green-products { padding: 48px 14px 64px; }
  .green-products-head { flex-direction: column; align-items: flex-start; }
  .green-products-title { font-size: 22px; }
  .green-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .green-card-name { font-size: 12.5px; }
  .green-trust { padding: 48px 20px 56px; }
  .green-trust-inner { grid-template-columns: 1fr; gap: 12px; }
  .green-trust-item { padding: 16px 12px; }
}
@media (max-width: 480px) {
  .green-chip { font-size: 10.5px; padding: 5px 11px; }
}

/* ─── RESPONSIVE — TEXTILE prose 月份 chip ─────────────── */
@media (max-width: 720px) {
  .tx-prose { font-size: 13px; line-height: 1.9; }
  .tx-prose h1, .tx-prose h2 { font-size: 17px; margin: 24px 0 10px; }
  .tx-prose h3 { font-size: 13px; margin: 20px 0 8px; }
  .tx-prose ul { gap: 6px; }
  .tx-prose ul li a, .tx-prose p a {
    padding: 6px 12px; font-size: 10.5px;
  }
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM PAGE（page.custom.liquid 専用）
   ─────────────────────────────────────────────────────────
   caudexsan-website/custom.html 同款
   ═══════════════════════════════════════════════════════════ */

/* ─── PRINT GALLERY ───────────────────────────────────── */
.gallery-section {
  padding: 80px 48px 96px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}
.gallery-head {
  max-width: 1080px;
  margin: 0 auto 40px;
}
.gallery-head .section-eyebrow { margin-bottom: 12px; text-align: left; }
.gallery-head .section-title { margin-bottom: 8px; text-align: left; }
.gallery-desc {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.8; max-width: 770px;
}
.gallery-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0.5px solid var(--border);
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ─── PAGE HEADER CTA（分流入口）──────────────────────── */
.page-header--cta {
  padding: 96px 48px 64px;
  text-align: center;
  border-bottom: none;
  border-top: 0.5px solid var(--border);
}
.page-header--cta .section-eyebrow { margin-bottom: 18px; }
.page-title--big {
  font-family: 'Raleway', sans-serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
}

/* ─── SERVICE CARDS（2 つの分流）───────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  border-bottom: 0.5px solid var(--border);
}
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 80px 56px;
  min-height: 460px;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.svc-card:hover { transform: translateY(-2px); }
.svc-card:first-child {
  border-right: 0.5px solid rgba(255,255,255,0.12);
}
.svc-card-arrow {
  position: absolute;
  top: 32px; right: 32px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  z-index: 1;
}
.svc-card:hover .svc-card-arrow {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}
.svc-card-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.svc-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 40px; font-weight: 600;
  color: #fff; line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.svc-card-desc {
  font-size: 15px; color: rgba(255,255,255,0.85);
  line-height: 1.9; margin-bottom: 0;
  max-width: 480px;
}
.svc-card-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.svc-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 0.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: 1px;
}
/* 右上の装飾円 */
.svc-card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.07);
  pointer-events: none;
}
.svc-card::after {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

/* ─── RESPONSIVE — Custom ───────────────────────────── */
@media (max-width: 860px) {
  .gallery-section { padding: 56px 24px 64px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-header--cta { padding: 64px 24px 48px; }
  .page-title--big { font-size: 36px; }
  .service-cards { grid-template-columns: 1fr; }
  .svc-card { padding: 56px 32px; min-height: 360px; }
  .svc-card:first-child { border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.12); }
  .svc-card-title { font-size: 28px; }
}

/* ─── PRINT GALLERY 標題置中 variant ──────────────────── */
.gallery-head--center { text-align: center; max-width: 880px; margin: 0 auto 40px; }
.gallery-head--center .section-eyebrow { margin-bottom: 12px; text-align: center; }
.gallery-head--center .section-title { margin-bottom: 12px; text-align: center; }
.gallery-head--center .gallery-desc {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ─── GREEN HERO Avatar + 日本語斷行修正 ─────────────── */
.green-hero-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.08);
}
.green-hero-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* ja-keep — 日本語の単語途中での改行を抑制 */
.ja-keep {
  display: inline-block;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* GREEN 用 grid-strip 微調（深綠 hero 接得自然 + auto-fit）
   植物種類 dedup 後数が変動するため、自動的に幅を埋める */
.green-grid-strip {
  border-top: none !important;
  border-bottom: 0.5px solid var(--border);
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
@media (max-width: 720px) {
  .green-grid-strip {
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  }
}
@media (max-width: 860px) {
  .green-hero-avatar { width: 92px; height: 92px; margin-bottom: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   TEXTILE COLLECTION（collection.liquid 通用）
   ─────────────────────────────────────────────────────────
   Taiwan Textile Collection など、布料系 collection の editorial 設計
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ─────────────────────────────────────────────── */
.tx-hero {
  padding: 88px 48px 64px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}

/* TEXTILE 専用：緑色 CIS Hero */
.tx-hero--green {
  background:
    radial-gradient(ellipse at 25% 20%, rgba(207,228,224,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(15,37,32,0.35) 0%, transparent 55%),
    linear-gradient(135deg, #2a8a78 0%, #278473 30%, #237768 60%, #1f6a5c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 88px 32px 88px;
}
/* 布の質感：経糸（縦）＋ 緯糸（横）の二重織りパターン + 微細ノイズ */
.tx-hero--green::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    /* 経糸：縦線（細・密） */
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,0.045) 3px 3.5px),
    /* 緯糸：横線（細・密） */
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.06) 3px 3.5px),
    /* 大きめ斜め織り効果（旧 design 保留） */
    repeating-linear-gradient(135deg, transparent 0 60px, rgba(255,255,255,0.025) 60px 61px);
  pointer-events: none;
}
/* 布の繊維感：SVG fractal noise 重ねて柔らかい質感に */
.tx-hero--green::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.tx-hero--green .tx-hero-inner { position: relative; z-index: 1; }
/* TEXTILE 緑色 Hero — specificity を上げる（後で書かれる .tx-hero-eyebrow 等を override） */
.tx-hero.tx-hero--green .tx-hero-eyebrow,
.tx-hero--green .tx-hero-eyebrow--white {
  color: rgba(255,255,255,0.92);
}
.tx-hero.tx-hero--green .tx-hero-title,
.tx-hero--green .tx-hero-title--white { color: #fff; }
.tx-hero.tx-hero--green .tx-hero-subtitle,
.tx-hero--green .tx-hero-subtitle--white {
  color: rgba(255,255,255,0.96);
  font-size: 14px;
  line-height: 2.0;
  max-width: 760px; margin: 18px auto 0;
}
.tx-hero--green .tx-hero-sub-line {
  display: block;
  margin-top: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  font-size: 0.6em;
  color: rgba(255,255,255,0.85);
}

/* ─── TEXTILE：最新カタログ（2026年5月号）───────────── */
.tx-latest-catalog {
  background: var(--bg-2);
  padding: 72px 32px 96px;
  border-bottom: 0.5px solid var(--border);
}
.tx-latest-catalog-inner {
  max-width: 1200px; margin: 0 auto;
}
.tx-latest-catalog-head {
  text-align: center;
  margin-bottom: 48px;
}
.tx-latest-catalog-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 500;
}
.tx-latest-catalog-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin: 0 0 12px;
}
.tx-latest-catalog-sub {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}
.tx-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.tx-catalog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 0.5px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.3s, box-shadow 0.3s;
}
.tx-catalog-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(39,132,115,0.3);
}
.tx-catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.tx-catalog-card:hover img { transform: scale(1.04); }
.tx-catalog-name {
  display: block;
  padding: 14px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.5;
}
.tx-catalog-cta { text-align: center; }

@media (max-width: 860px) {
  .tx-hero--green { padding: 56px 20px 56px; }
  .tx-hero-sub-line { font-size: 0.85em; display: block; margin-top: 4px; }
  .tx-latest-catalog { padding: 48px 16px 64px; }
  .tx-latest-catalog-head { margin-bottom: 32px; }
  .tx-catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
  .tx-catalog-name { padding: 10px 12px; font-size: 11.5px; }
}
.tx-hero-inner { max-width: 920px; margin: 0 auto; }
.tx-hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 500;
}
.tx-hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0 0 18px;
}
.tx-hero-subtitle {
  font-size: 14px; color: var(--text-sub);
  line-height: 1.9; max-width: 720px; margin: 0 auto;
}

/* ─── INTRO（description prose）───────────────────────── */
.tx-intro {
  padding: 56px 48px 72px;
  background: var(--bg-2);
  border-bottom: 0.5px solid var(--border);
}
.tx-intro-inner {
  max-width: 920px;
  margin: 0 auto;
}
/* tx-prose — description 内の HTML を CIS 風に整える */
.tx-prose {
  font-size: 14px;
  line-height: 2.0;
  color: var(--text-main);
}
.tx-prose > *:first-child { margin-top: 0; }
.tx-prose > *:last-child  { margin-bottom: 0; }
/* description 内の h1/h2 — collection.title と重複しがちなので、
   控えめに表示（小さく、上に section-eyebrow 風） */
.tx-prose h1, .tx-prose h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 36px 0 12px;
  color: var(--text-main);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border);
}
.tx-prose h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 28px 0 8px;
  color: var(--brand);
  text-align: center;
}
.tx-prose h3::before {
  content: '— ';
  color: var(--brand-light);
}
.tx-prose h3::after {
  content: ' —';
  color: var(--brand-light);
}
.tx-prose p {
  margin: 0 0 18px;
}
.tx-prose strong { color: var(--text-main); font-weight: 600; }
.tx-prose ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tx-prose ul li {
  margin: 0;
}
.tx-prose ul li a,
.tx-prose p a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--bg);
  border: 0.5px solid var(--border-mid);
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
}
.tx-prose ul li a:hover,
.tx-prose p a:hover {
  background: var(--brand-pale);
  border-color: var(--brand);
  color: var(--brand);
}
/* prose 内に裸の段落で月份リンクが並ぶ場合のサポート */
.tx-prose p:has(> a:first-child:last-child) {
  display: inline-flex;
  margin: 0 6px 12px 0;
}

/* ─── PRODUCTS ─────────────────────────────────────────── */
.tx-products {
  padding: 80px 48px 96px;
  background: var(--bg);
}
.tx-products-inner { max-width: 1280px; margin: 0 auto; }
.tx-products-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 22px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.tx-products-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--brand);
  font-weight: 500;
}
.tx-products-meta { display: flex; align-items: center; gap: 16px; }
.tx-products-count {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-sub);
}
.tx-products-sort {
  padding: 8px 14px;
  font-size: 12px;
  border: 0.5px solid var(--border-mid);
  background: var(--bg);
  border-radius: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}
.tx-products-sort:focus { border-color: var(--brand); }

.tx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.tx-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tx-card-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-2);
  border: 0.5px solid var(--border);
}
.tx-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.tx-card:hover .tx-card-cover img { transform: scale(1.04); }
.tx-card-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em;
  padding: 3px 9px;
  border-radius: 1px;
  z-index: 1;
}
.tx-card-sold {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15,31,28,0.78);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px; letter-spacing: 0.2em;
  padding: 8px 16px;
  border-radius: 1px;
  z-index: 2;
}
.tx-card-body { padding: 14px 2px 0; }
.tx-card-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-sub);
  margin: 0 0 4px;
}
.tx-card-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.55;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tx-card-price .price-current {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--brand);
  font-weight: 700;
}
.tx-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--text-sub);
  font-size: 13px;
}
.tx-pagination {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: center; gap: 24px;
  margin-top: 56px;
  font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em;
}
.tx-pagination a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 0.5px solid var(--brand-light);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.tx-pagination a:hover { border-bottom-color: var(--brand); }
.tx-pagination span { color: var(--text-sub); }

/* ─── RESPONSIVE — TEXTILE ─────────────────────────────── */
@media (max-width: 1024px) {
  .tx-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .tx-hero { padding: 56px 20px 48px; }
  .tx-intro { padding: 40px 20px 56px; }
  .tx-products { padding: 56px 20px 72px; }
  .tx-products-head { flex-direction: column; align-items: flex-start; }
  .tx-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
}
@media (max-width: 480px) {
  .tx-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────
   2026-05-19 追加：5月閲覧/業者契約価/カートページ
   ───────────────────────────────────────────────────── */

/* ─── その他のおすすめ（月別 mode 下方） ─────────── */
.tx-other-recommend {
  background: var(--bg-soft, #f7f7f5);
  padding: 72px 32px 88px;
  border-top: 1px solid var(--border, #e8e8e6);
}
.tx-other-recommend-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.tx-other-recommend-head {
  text-align: center;
  margin-bottom: 40px;
}
.tx-other-recommend-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 12px;
}
.tx-other-recommend-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}
.tx-other-recommend-sub {
  font-size: 13px;
  color: var(--text-sub, #666);
  margin: 0;
}
.tx-other-recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.tx-other-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tx-other-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.tx-other-card-cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
}
.tx-other-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tx-other-card-body {
  padding: 12px 14px 16px;
}
.tx-other-card-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text, #222);
}
.tx-other-card-price {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--brand, #278473);
  margin: 0;
}
.tx-other-recommend-cta {
  text-align: center;
}
@media (max-width: 1024px) {
  .tx-other-recommend-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .tx-other-recommend { padding: 48px 16px 64px; }
  .tx-other-recommend-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tx-other-recommend-title { font-size: 22px; }
}

/* ─── 業者契約価 (product 頁) ─────────────────────── */
.product-price-wholesale {
  color: var(--brand, #278473);
}
.product-price-wholesale-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  background: var(--brand, #278473);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  vertical-align: middle;
}
.product-price-compare {
  font-size: 13px;
  color: var(--text-sub, #888);
  text-decoration: line-through;
  margin: 4px 0 12px;
}
.product-login-hint--wholesale {
  color: var(--brand, #278473);
  font-weight: 500;
}

/* ─── カートページ ───────────────────────────────── */
.cart-page {
  padding: 64px 32px 96px;
  background: #fff;
}
.cart-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cart-page-head {
  text-align: center;
  margin-bottom: 48px;
}
.cart-page-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 12px;
}
.cart-page-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}
.cart-page-note--wholesale {
  color: var(--brand, #278473);
  font-size: 14px;
  margin: 8px 0 0;
}
.cart-items {
  border-top: 1px solid var(--border, #e8e8e6);
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr 100px 120px 30px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border, #e8e8e6);
}
.cart-item-image {
  display: block;
  background: #f5f5f3;
}
.cart-item-image img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.cart-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text, #222);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.cart-item-title:hover { color: var(--brand, #278473); }
.cart-item-variant {
  font-size: 12px;
  color: var(--text-sub, #888);
  margin: 0;
}
.cart-item-props {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: var(--text-sub, #888);
}
.cart-qty-input {
  width: 70px;
  padding: 8px 10px;
  border: 1px solid var(--border, #e8e8e6);
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  text-align: center;
}
.cart-item-price {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--text, #222);
  text-align: right;
}
.cart-item-original {
  display: block;
  font-size: 11px;
  color: var(--text-sub, #888);
  text-decoration: line-through;
  margin-top: 2px;
}
.cart-remove-link {
  font-size: 24px;
  color: var(--text-sub, #888);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
}
.cart-remove-link:hover { color: #c44; }
.cart-footer {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  margin-top: 32px;
}
.cart-note-label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-sub, #666);
}
.cart-note-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border, #e8e8e6);
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
}
.cart-summary {
  background: var(--bg-soft, #f7f7f5);
  padding: 24px;
  border-radius: 2px;
}
.cart-discounts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px dashed var(--border, #d5d5d3);
  font-size: 13px;
  color: var(--brand, #278473);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  margin: 0 0 6px;
}
.cart-subtotal-value {
  font-family: 'Space Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--text, #222);
}
.cart-tax-note {
  font-size: 11px;
  color: var(--text-sub, #888);
  margin: 0 0 24px;
}
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.cart-update-btn,
.cart-checkout-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  border: none;
  font-family: inherit;
}
.cart-update-btn {
  background: #fff;
  border: 1px solid var(--border, #ccc);
  color: var(--text, #222);
}
.cart-update-btn:hover { border-color: var(--brand, #278473); color: var(--brand, #278473); }
.cart-checkout-btn {
  background: var(--brand, #278473);
  color: #fff;
}
.cart-checkout-btn:hover { background: var(--brand-dark, #1f6a5c); }
.cart-continue-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub, #666);
  text-decoration: none;
  padding-top: 8px;
}
.cart-continue-link:hover { color: var(--brand, #278473); }

.cart-empty {
  text-align: center;
  padding: 96px 20px 120px;
}
.cart-empty-icon {
  font-size: 56px;
  margin: 0 0 16px;
  opacity: 0.4;
}
.cart-empty-title {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--text, #222);
}
.cart-empty-sub {
  font-size: 14px;
  color: var(--text-sub, #666);
  margin: 0 0 32px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 720px) {
  .cart-page { padding: 40px 16px 64px; }
  .cart-page-title { font-size: 28px; }
  .cart-item {
    grid-template-columns: 80px 1fr 30px;
    grid-template-areas: "img info remove" "img qty price";
    gap: 12px;
  }
  .cart-item-image { grid-area: img; }
  .cart-item-info { grid-area: info; }
  .cart-item-qty { grid-area: qty; }
  .cart-item-price { grid-area: price; text-align: right; }
  .cart-item-remove { grid-area: remove; text-align: right; }
  .cart-footer { grid-template-columns: 1fr; gap: 24px; }
}

/* ─────────────────────────────────────────────────────────
   2026-05-19 v2 追加：商品頁版面再構成（支數/3 級業者價/柄文）
   ───────────────────────────────────────────────────── */

/* 標題下方の柄文 — 日本語の自然な改行のため auto-phrase + keep-all fallback */
.product-pattern-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub, #555);
  margin: 4px 0 18px;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  line-break: strict;
  max-width: 420px;
}

/* 素材欄の組織描述 */
.product-spec-material-heading {
  display: block;
  font-size: 13px;
  color: var(--text-sub, #666);
  margin-top: 2px;
  font-weight: 500;
}
.product-spec-material-desc {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-sub, #888);
  margin-top: 4px;
}

/* 10m option pill 「半折」備註 — 第2行に折り返し */
.product-option-pill span .product-option-note {
  display: block;
  margin: 1px 0 0;
  font-size: 9.5px;
  line-height: 1.1;
  color: var(--text-sub, #888);
  letter-spacing: 0;
  font-weight: normal;
}
.product-option-pill input[type="radio"]:checked + span .product-option-note {
  color: rgba(255,255,255,0.85);
}

/* 支数 (quantity) */
.product-option-quantity {
  margin-top: 0;
}
.product-quantity-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* 反數 +/- 玻璃感（圓形） */
.product-qty-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(39, 132, 115, 0.20);
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main, #222);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  font-family: inherit;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 1px 2px rgba(39,132,115,0.06);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-qty-btn:hover {
  border-color: rgba(39, 132, 115, 0.45);
  color: var(--brand, #278473);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 3px 8px rgba(39,132,115,0.16);
}
.product-qty-btn:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 2px rgba(39, 132, 115, 0.10);
}
.product-quantity-input {
  width: 70px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(39, 132, 115, 0.18);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  text-align: center;
  -moz-appearance: textfield;
}
.product-quantity-input::-webkit-outer-spin-button,
.product-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-quantity-hint {
  font-size: 12px;
  color: var(--text-sub, #888);
  margin-left: 4px;
}

/* 業者特価 badge — A/B 區分 */
.product-price-wholesale-badge--a {
  background: var(--brand, #278473);
  color: #fff;
}
.product-price-wholesale-badge--b {
  background: #b8862e;
  color: #fff;
}

/* サンプル受付セクション（下方） */
.product-sample-section {
  max-width: 900px;
  margin: 64px auto 0;
  padding: 0 24px;
}
@media (max-width: 720px) {
  .product-sample-section { padding: 0 16px; margin-top: 48px; }
  .product-pattern-text { font-size: 13px; }
}

/* ─────────────────────────────────────────────────────────
   2026-05-19 v3 追加：別注カスタム対応 (product page 下方の他材質一覧)
   ───────────────────────────────────────────────────── */
.product-custom-materials {
  background: var(--bg-soft, #f7f7f5);
  padding: 80px 32px 96px;
  margin-top: 64px;
  border-top: 1px solid var(--border, #e8e8e6);
}
.product-custom-materials-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.product-custom-materials-head {
  text-align: center;
  margin-bottom: 48px;
}
.pcm-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 12px;
}
.pcm-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 300;
  margin: 0 0 18px;
  letter-spacing: 0.05em;
  color: var(--text, #222);
}
.pcm-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub, #555);
  max-width: 720px;
  margin: 0 auto;
}
.pcm-lead strong {
  color: var(--brand, #278473);
  font-weight: 600;
}

.pcm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pcm-card {
  background: #fff;
  border: 1px solid var(--border, #e8e8e6);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pcm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.pcm-card--current {
  border-color: var(--brand, #278473);
  border-width: 2px;
}
.pcm-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f3;
}
.pcm-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pcm-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-sub, #aaa);
  background: #efefed;
}
.pcm-card-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcm-card-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--text, #222);
}
.pcm-card-current-tag {
  display: inline-block;
  background: var(--brand, #278473);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}
.pcm-card-meta {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-sub, #888);
  margin: 0;
  letter-spacing: 0.02em;
}
.pcm-card-price {
  font-size: 13px;
  color: var(--text, #333);
  margin: 4px 0 6px;
  padding: 6px 0;
  border-top: 1px dashed var(--border, #e0e0de);
  border-bottom: 1px dashed var(--border, #e0e0de);
}
.pcm-card-price strong {
  color: var(--brand, #278473);
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  margin: 0 2px;
}
.pcm-card-uses {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-sub, #666);
  margin: 0;
}

.pcm-cta {
  text-align: center;
}
.pcm-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-sub, #888);
  margin: 0 0 24px;
}

@media (max-width: 1024px) {
  .pcm-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .product-custom-materials { padding: 56px 16px 72px; margin-top: 48px; }
  .pcm-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pcm-title { font-size: 24px; }
  .pcm-card-body { padding: 12px 12px 14px; }
}

/* ─────────────────────────────────────────────────────────
   2026-05-19 v4：hero 副 CTA / 材質チップ / pcm-card を <a> 化
   ───────────────────────────────────────────────────── */

/* Hero 副 CTA（日本布按鈕）*/
.tx-hero-cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.tx-hero-cta-secondary {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
}
.tx-hero-cta-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
}

/* 材質フィルター chip pills */
.tx-material-filter {
  padding: 56px 32px 40px;
  background: #fff;
  border-bottom: 1px solid var(--border, #e8e8e6);
}
.tx-material-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.tx-material-filter-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 8px;
}
.tx-material-filter-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 24px;
}
/* 2026-05-19 v9：4 cols grid（上 4 下 4）+ reset 行 */
.tx-material-reset-row {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.tx-material-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tx-material-chips--grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.tx-material-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 16px;
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(39, 132, 115, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text, #444);
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 1px 2px rgba(39,132,115,0.06);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tx-chip-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(39,132,115,0.7);
  margin-top: 2px;
}
.tx-material-chip:hover .tx-chip-sub { color: rgba(255,255,255,0.85); }
.tx-material-chip--reset {
  flex-direction: row;
  padding: 10px 22px;
  font-size: 12.5px;
  border-radius: 999px;
  gap: 8px;
}
.tx-chip-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #278473);
}
.tx-material-chip--reset.is-active .tx-chip-dot { background: #fff; }
.tx-material-chip__legacy_marker {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  border: 1px solid var(--border, #d5d5d3);
  border-radius: 999px;
  background: #fff;
  color: var(--text, #444);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  letter-spacing: 0.02em;
}
.tx-material-chip:hover {
  border-color: rgba(39, 132, 115, 0.45);
  color: var(--brand, #278473);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 4px 10px rgba(39,132,115,0.12);
}
.tx-material-chip.is-active {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,0.04) 100%),
    linear-gradient(135deg, rgba(91,184,165,0.92) 0%, rgba(39,132,115,0.95) 60%, rgba(31,106,92,0.98) 100%);
  text-shadow: 0 1px 1px rgba(0,50,40,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 4px 12px rgba(39,132,115,0.28),
    0 8px 20px rgba(39,132,115,0.14);
}
.tx-material-chip.is-active .tx-chip-sub { color: rgba(255,255,255,0.85); }
@media (max-width: 720px) {
  .tx-material-filter { padding: 40px 16px 32px; }
  .tx-material-chips--grid4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tx-material-chip { font-size: 12px; padding: 12px 10px; }
  .tx-chip-sub { font-size: 10.5px; }
}

/* pcm-card を <a> 化（hover / current 改良） */
a.pcm-card {
  text-decoration: none;
  color: inherit;
}
a.pcm-card:hover .pcm-card-name {
  color: var(--brand, #278473);
}

/* Japan Textile Coming Soon page */
.tx-hero--coming-soon { padding: 96px 32px 80px; }
.japan-textile-detail {
  padding: 80px 32px 120px;
  background: #fff;
}
.japan-textile-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.japan-textile-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 12px;
}
.japan-textile-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 32px;
}
.japan-textile-lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-sub, #555);
  margin: 0 0 40px;
}
.japan-textile-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* おすすめ商品（product 頁底部） */
.product-related {
  padding: 80px 32px 96px;
  background: #fff;
}
.product-related-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.product-related-head {
  text-align: center;
  margin-bottom: 36px;
}
.product-related-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--brand, #278473);
  margin: 0 0 10px;
}
.product-related-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0;
}
.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-related-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  border: 1px solid var(--border, #e8e8e6);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-color: var(--brand, #278473);
}
.product-related-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f3;
}
.product-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-related-card-body {
  padding: 12px 14px 16px;
}
.product-related-card-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text, #222);
}
.product-related-card-price {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--brand, #278473);
  margin: 0;
}
@media (max-width: 1024px) {
  .product-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .product-related { padding: 56px 16px 72px; }
  .product-related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-related-title { font-size: 20px; }
}

/* 非 textile 商品（植物・雑貨）の完整 description 表示 — 2026-05-19 v9（caudex 仕様強化版） */
.product-full-description {
  background: linear-gradient(180deg, #fafbf9 0%, #f3f4ef 100%);
  padding: 80px 32px 96px;
  border-top: 1px solid var(--border, #e8e8e6);
  margin-top: 16px;
}
.product-full-description-inner {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14.5px;
  line-height: 2.0;
  color: #2a2a28;
}
/* H2：センターブランド見出し風（CIS 弧線） */
.product-full-description-inner h2 {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--brand, #278473);
  margin: 0 0 32px;
  padding: 10px 18px;
  letter-spacing: 0.10em;
  background: rgba(39, 132, 115, 0.06);
  border-radius: 999px;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(39, 132, 115, 0.14);
}
.product-full-description-inner h3 {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand, #278473);
  margin: 44px 0 18px;
  padding: 0 0 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(39, 132, 115, 0.22);
  position: relative;
}
.product-full-description-inner h3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand, #278473), rgba(91,184,165,0.4));
}
.product-full-description-inner p {
  margin: 0 0 16px;
  line-height: 2.0;
}
/* リード段落（intro p、最初の h3 まで） */
.product-full-description-inner > p:first-of-type {
  font-size: 15px;
  color: #3a3a36;
  background: rgba(255,255,255,0.6);
  padding: 18px 22px;
  border-left: 3px solid var(--brand, #278473);
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}
.product-full-description-inner ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.product-full-description-inner ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  line-height: 1.95;
}
/* カスタム bullet（CIS 緑円） */
.product-full-description-inner ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #278473);
}
.product-full-description-inner ul li p { margin: 0; }
.product-full-description-inner b,
.product-full-description-inner strong {
  color: var(--brand, #278473);
  font-weight: 600;
}
/* 「商品詳細」「栽培のポイント」セクション内の li を 2-column-ish table 風に */
.product-full-description-inner ul li b {
  display: inline-block;
  min-width: 96px;
}
/* 注意事項セクションを警告色っぽく */
.product-full-description-inner h3:last-of-type {
  color: #8a6b22;
  border-bottom-color: rgba(138, 107, 34, 0.22);
}
.product-full-description-inner h3:last-of-type::before {
  background: linear-gradient(90deg, #8a6b22, rgba(218, 180, 95, 0.4));
}
.product-full-description-inner h3:last-of-type ~ ul li b {
  color: #8a6b22;
}
@media (max-width: 720px) {
  .product-full-description { padding: 48px 18px 64px; }
  .product-full-description-inner { font-size: 13.5px; line-height: 1.85; }
  .product-full-description-inner h2 { font-size: 12.5px; padding: 8px 14px; }
  .product-full-description-inner h3 { font-size: 15px; margin: 32px 0 14px; }
  .product-full-description-inner > p:first-of-type { font-size: 14px; padding: 14px 16px; }
  .product-full-description-inner ul li b { display: block; min-width: 0; margin-bottom: 2px; }
}

/* サンプル box（2026-05-19 v7：左欄縮圖下に移動・CIS 風コンパクト版） */
.product-sample-box {
  background: var(--bg-soft, #f7f7f5);
  border: 1px solid var(--border, #e8e8e6);
  border-radius: 2px;
  padding: 28px 32px;
  text-align: center;
}
.product-sample-box--compact {
  position: relative;
  margin-top: 24px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  /* 玻璃感ベースに合うよう、薄いミントグリーンのウォッシュ */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(75, 168, 150, 0.10) 0%, rgba(75, 168, 150, 0) 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(39, 132, 115, 0.08) 0%, rgba(39, 132, 115, 0) 60%),
    linear-gradient(180deg, #fafbf9 0%, #eef2ef 100%);
  border: 1px solid rgba(39, 132, 115, 0.14);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(20, 30, 25, 0.05);
}
.product-sample-title {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text, #222);
  letter-spacing: 0.03em;
}
.product-sample-box--compact .product-sample-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3e3df;
  color: var(--brand, #278473);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-sample-box--compact .product-sample-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand, #278473);
  flex-shrink: 0;
}
.product-sample-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub, #444);
  margin: 0 0 12px;
}
.product-sample-box--compact .product-sample-lead {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.product-sample-lead strong { color: var(--brand, #278473); }
.product-sample-note {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-sub, #888);
  margin: 0;
}
.product-sample-box--compact .product-sample-note {
  font-size: 11.5px;
  line-height: 1.65;
  color: #8a8a85;
  margin: 0 0 14px;
}
.product-sample-note strong { color: var(--brand, #278473); font-weight: 600; }

/* CIS Liquid Glass ボタン（Apple 風 frosted glass）
   ・CIS 主色 #278473 → 展開色 #4ba896（淺ミント）/ #1f6a5c（深森林）
   ・多層 gradient + inset highlight + backdrop blur + 立体陰影
*/
.product-sample-add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  /* 玻璃層：上から薄白の艶 → 透明、その下に CIS グリーンの透けるベース */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(135deg, rgba(91, 184, 165, 0.88) 0%, rgba(39, 132, 115, 0.92) 60%, rgba(31, 106, 92, 0.95) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 50, 40, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),       /* 上面の艶 */
    inset 0 -1px 0 rgba(0, 0, 0, 0.10),            /* 底のエッジ */
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),     /* 内側 1px highlight */
    0 1px 1px rgba(255, 255, 255, 0.5),            /* 浮き上がり感 */
    0 6px 16px rgba(39, 132, 115, 0.32),           /* 影 */
    0 12px 28px rgba(39, 132, 115, 0.18);          /* 拡散影 */
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.22s ease,
              background 0.25s ease;
  overflow: hidden;
}
/* 上半分の鏡面ハイライト（::before で重ねる） */
.product-sample-add-btn::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.product-sample-add-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(135deg, rgba(107, 199, 180, 0.92) 0%, rgba(45, 149, 128, 0.95) 60%, rgba(31, 106, 92, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1px 1px rgba(255, 255, 255, 0.6),
    0 10px 22px rgba(39, 132, 115, 0.42),
    0 18px 38px rgba(39, 132, 115, 0.22);
  transform: translateY(-1.5px);
}
.product-sample-add-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 2px 4px rgba(39, 132, 115, 0.32);
}
.product-sample-add-btn:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 3px rgba(75, 168, 150, 0.35),
    0 8px 20px rgba(39, 132, 115, 0.32);
}
.product-sample-add-btn__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(0, 40, 32, 0.18);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.product-sample-add-btn__label {
  position: relative;
  display: inline-block;
}

@media (max-width: 720px) {
  .product-sample-box { padding: 20px 18px; }
  .product-sample-title { font-size: 16px; }
  .product-sample-box--compact {
    padding: 18px 18px 16px;
    margin-top: 20px;
  }
}

/* Header account / login / logout */
.nav-account-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-account-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-sub, #888);
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-account-logout:hover {
  color: var(--brand, #278473);
  background: rgba(39,132,115,0.06);
}
.nav-login,
.nav-account {
  color: var(--text, #333);
}
.nav-login:hover,
.nav-account:hover { color: var(--brand, #278473); }

/* ═══════════════════════════════════════════════════════════════
   GREENTEX v3 — Warm Paper × CIS Forest 設計系統
   2026-05-20 套用：首頁 (template-index) 全套，其他頁不受影響
   ═══════════════════════════════════════════════════════════════ */
:root {
  --gt-forest: #278473;
  --gt-forest-deep: #1A5C4F;
  --gt-forest-soft: #6FA89B;
  --gt-forest-mist: #E8F1EE;
  --gt-paper: #FFFFFF;          /* MoMA: 純白主背景（v3.1） */
  --gt-paper-deep: #F7F7F5;     /* 極淡 off-white 副底 */
  --gt-cream: #F5F5F5;
  --gt-bone: #EDEDEA;
  --gt-pure: #FFFFFF;
  --gt-ink: #1A1A1A;            /* 近純黑 */
  --gt-charcoal: #333333;       /* 中性深灰 */
  --gt-stone: #6B6B6B;          /* 中性灰 */
  --gt-mist: #B0B0B0;           /* 中性淺灰 */
  --gt-hairline: rgba(0, 0, 0, 0.08);          /* 中性 hairline */
  --gt-hairline-sage: rgba(39, 132, 115, 0.15);
  --gt-clay: #B8896A;
  --gt-font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --gt-font-sans: 'Raleway', 'Noto Sans JP', sans-serif;
  --gt-font-mono: 'Space Mono', monospace;
  --gt-font-jp: 'Noto Sans JP', sans-serif;
  --gt-radius-sm: 4px;
  --gt-radius-md: 8px;
  --gt-radius-lg: 12px;
  --gt-radius-pill: 999px;
  --gt-shadow-whisper: 0 1px 2px rgba(120,100,70,0.05);
  --gt-shadow-soft: 0 2px 10px rgba(120,100,70,0.07);
  --gt-shadow-lift: 0 6px 24px rgba(120,100,70,0.10);
  --gt-shadow-image: 0 2px 12px rgba(120,100,70,0.09);
  --gt-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gt-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 首頁底色 */
body.template-index { background: var(--gt-paper); }
body.template-index main { background: var(--gt-paper); }

/* ─── HERO ─────────────────────────────────────────────── */
body.template-index .hero-editorial {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 620px;
  padding: 0;
  background: var(--gt-paper);
  position: relative;
  border-bottom: 1px solid var(--gt-hairline-sage);
}
body.template-index .hero-editorial::before {
  /* MoMA: 純白底無漸層 */
  content: none;
}
body.template-index .hero-text-block {
  padding: 96px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
  text-align: left;
  max-width: none;
}
body.template-index .hero-eyebrow-line {
  font: 400 11px/1 var(--gt-font-mono);
  color: var(--gt-forest);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0 0 32px;
  display: flex; align-items: center; gap: 14px;
  justify-content: flex-start;
}
body.template-index .hero-eyebrow-line::before {
  content: ''; width: 32px; height: 1px;
  background: var(--gt-forest);
  display: inline-block;
}
body.template-index .hero-eyebrow-line::after { content: none; display: none; }
body.template-index .hero-display {
  font: 300 88px/1.04 var(--gt-font-display);
  letter-spacing: -0.01em;
  color: var(--gt-ink);
  margin: 0;
  text-align: left;
}
body.template-index .hero-display .hd-em {
  font-style: italic;
  color: var(--gt-forest);
  font-weight: 400;
}
body.template-index .hero-sub-jp {
  font: 300 16px/2 var(--gt-font-jp);
  color: var(--gt-charcoal);
  margin: 32px 0 48px;
  max-width: 500px;
  text-align: left;
}
body.template-index .hero-actions-v2 {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  justify-content: flex-start;
}
body.template-index .hero-actions-v2 .btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font: 500 11.5px/1 var(--gt-font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gt-forest);
  color: var(--gt-paper);
  text-decoration: none;
  border: 1px solid var(--gt-forest);
  border-radius: var(--gt-radius-md);
  transition: all 450ms var(--gt-ease);
  box-shadow: var(--gt-shadow-whisper);
  overflow: visible;
  backdrop-filter: none;
  white-space: nowrap;
}
body.template-index .hero-actions-v2 .btn-primary::before { content: none; display: none; }
body.template-index .hero-actions-v2 .btn-primary:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-paper);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}
body.template-index .hero-actions-v2 .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 20px;
  font: 500 11.5px/1 var(--gt-font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gt-ink);
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
  white-space: nowrap;
}
body.template-index .hero-actions-v2 .btn-ghost:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
}
body.template-index .hero-actions-v2 .btn-tertiary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 20px;
  font: 500 11.5px/1 var(--gt-font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #E1F5EE;
  color: #278473;
  border: 1px solid #278473;
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
  white-space: nowrap;
}
body.template-index .hero-actions-v2 .btn-tertiary:hover {
  background: #278473;
  color: #E1F5EE;
  border-color: #278473;
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}

/* Hero feature block (右側) */
body.template-index .hero-feature-block {
  position: relative;
  background: var(--gt-pure);   /* MoMA: 純白底 */
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 48px;
  z-index: 1;
  border-left: 1px solid var(--gt-hairline);
}
body.template-index .hero-feature-block::before { content: none; }
/* Carousel wrapper（v3.2 加 3 秒輪播） */
body.template-index .hero-feature-carousel {
  position: relative;
  width: 82%; aspect-ratio: 1/1;
}
body.template-index .hero-feature-tile {
  /* MoMA: 純展示方形商品圖，無濾鏡 */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: var(--gt-pure);
  border-radius: var(--gt-radius-sm);
  box-shadow: var(--gt-shadow-image);
  overflow: hidden;
  display: block;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms var(--gt-ease), transform 450ms var(--gt-ease-out), box-shadow 450ms var(--gt-ease-out);
}
body.template-index .hero-feature-tile.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
body.template-index .hero-feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}
/* Dots indicator */
body.template-index .hero-feature-dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
body.template-index .hf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gt-mist);
  cursor: pointer;
  transition: all 300ms var(--gt-ease);
}
body.template-index .hf-dot.is-active {
  background: var(--gt-forest);
  width: 18px;
  border-radius: 999px;
}
body.template-index .hf-dot:hover { background: var(--gt-forest-soft); }
body.template-index .hero-feature-tile img {
  /* 純展示商品圖，無濾鏡 */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
body.template-index .hero-feature-tile .ft-badge {
  display: inline-flex; align-items: center; gap: 8px;
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font: 500 10px/1 var(--gt-font-mono);
  letter-spacing: 0.2em;
  color: var(--gt-ink);
  background: rgba(255,255,255,0.95);
  padding: 9px 14px;
  border-radius: var(--gt-radius-pill);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}
/* MoMA: 簡化 — 隱藏 tile 內 meta（純圖呈現） */
body.template-index .hero-feature-tile .ft-meta { display: none; }

/* 移除 hero 下方 16 格 strip（新版用 feature tile 代替） */
body.template-index .hero-grid-strip { display: none !important; }

/* ─── Products section ─────────────────────────────────── */
body.template-index .products-section {
  background: var(--gt-paper);
  padding: 96px 64px;
}
body.template-index .products-head-center {
  text-align: left;
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 48px;
  border-bottom: none;
  flex-wrap: wrap; gap: 14px;
}
body.template-index .products-headline {
  font: 300 46px/1.1 var(--gt-font-display);
  color: var(--gt-ink);
  letter-spacing: -0.01em;
  margin: 0;
  text-align: left;
  text-transform: none;
}
body.template-index .products-headline-sub {
  display: inline-block;
  font: 300 18px/1 var(--gt-font-jp);
  color: var(--gt-stone);
  margin: 0;
  letter-spacing: 0.1em;
}
body.template-index .products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
body.template-index .product-card {
  text-decoration: none;
  transition: transform 450ms var(--gt-ease-out);
  display: block;
}
body.template-index .product-card:hover { transform: translateY(-4px); }
body.template-index .product-card-cover {
  aspect-ratio: 1/1;            /* MoMA: 商品圖正方形 */
  border-radius: var(--gt-radius-sm);
  box-shadow: var(--gt-shadow-image);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
body.template-index .product-card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--gt-ease-out);
}
body.template-index .product-card:hover .product-card-cover img {
  transform: scale(1.04);
}
body.template-index .product-card-new {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  color: var(--gt-ink);
  font: 500 9px/1 var(--gt-font-mono);
  letter-spacing: 0.2em;
  padding: 7px 12px;
  border-radius: var(--gt-radius-pill);
  top: 12px; left: 12px;
  border: none;
  position: absolute;
  text-transform: uppercase;
}
body.template-index .product-card-meta {
  text-align: left;
}
body.template-index .product-card-code {
  font: 400 10px/1 var(--gt-font-mono);
  color: var(--gt-stone);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
body.template-index .product-card-name {
  font: 400 18px/1.35 var(--gt-font-display);
  font-style: italic;
  color: var(--gt-ink);
  margin: 0;
}
body.template-index .products-cta-wrap {
  margin-top: 48px;
  text-align: center;
}
body.template-index .products-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--gt-font-sans);
  color: var(--gt-forest);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
  border: 1px solid var(--gt-forest);
  padding: 16px 36px;
  border-radius: var(--gt-radius-md);
  background: transparent;
}
body.template-index .products-cta:hover {
  background: var(--gt-forest);
  color: var(--gt-paper);
  gap: 16px;
}

/* ─── Information section ─────────────────────────────── */
body.template-index .news-section {
  background: var(--gt-pure);
  padding: 96px 64px;
  position: relative;
}
body.template-index .news-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><rect width='20' height='20' fill='%23FFFFFF'/><circle cx='3' cy='3' r='0.35' fill='%23E8E5DA'/><circle cx='10' cy='10' r='0.35' fill='%23E8E5DA'/><circle cx='17' cy='17' r='0.35' fill='%23E8E5DA'/><circle cx='10' cy='3' r='0.35' fill='%23E8E5DA'/><circle cx='17' cy='10' r='0.35' fill='%23E8E5DA'/><circle cx='3' cy='10' r='0.35' fill='%23E8E5DA'/><circle cx='10' cy='17' r='0.35' fill='%23E8E5DA'/></svg>");
  opacity: 0.7; pointer-events: none;
}
body.template-index .news-section > * { position: relative; }
body.template-index .news-head-center {
  text-align: left;
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 48px;
  flex-wrap: wrap; gap: 14px;
}
body.template-index .news-headline {
  font: 300 46px/1.1 var(--gt-font-display);
  color: var(--gt-ink);
  letter-spacing: -0.01em;
  margin: 0;
  text-align: left;
  text-transform: none;
}
body.template-index .news-headline-sub {
  display: inline-block;
  font: 300 18px/1 var(--gt-font-jp);
  color: var(--gt-stone);
  margin: 0;
  letter-spacing: 0.1em;
  text-align: left;
}
body.template-index .news-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
body.template-index .news-card {
  background: var(--gt-paper);
  border-radius: var(--gt-radius-lg);
  padding: 24px;
  border: 1px solid var(--gt-hairline);
  transition: all 450ms var(--gt-ease);
  display: flex; flex-direction: column;
  text-decoration: none;
  box-shadow: none;
}
body.template-index .news-card:hover {
  border-color: var(--gt-forest-soft);
  box-shadow: var(--gt-shadow-lift);
  transform: translateY(-3px);
}
body.template-index .news-card-cover {
  aspect-ratio: 1/1;            /* MoMA: 封面正方形 */
  border-radius: var(--gt-radius-sm);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
body.template-index .news-card-cover--mono {
  background: var(--gt-forest-mist);
}
body.template-index .news-card-cover--dark {
  background: var(--gt-forest);
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 8px, rgba(255,255,255,0.05) 8px, rgba(255,255,255,0.05) 9px),
    repeating-linear-gradient(-45deg, transparent 0, transparent 8px, rgba(255,255,255,0.05) 8px, rgba(255,255,255,0.05) 9px);
}
body.template-index .news-card-cover--paper {
  background: var(--gt-paper-deep);
}
body.template-index .news-card-cover--image img {
  width: 100%; height: 100%; object-fit: cover;
}
body.template-index .news-card-cover-mark {
  font: 400 36px/1.2 var(--gt-font-display);
  font-style: italic;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 0 20px;
}
body.template-index .news-card-cover--mono .news-card-cover-mark { color: var(--gt-forest); }
body.template-index .news-card-cover--dark .news-card-cover-mark { color: var(--gt-paper); }
body.template-index .news-card-cover--paper .news-card-cover-mark { color: var(--gt-ink); }
body.template-index .news-card-body {
  flex-grow: 1;
  display: flex; flex-direction: column;
  padding: 0;
}
body.template-index .news-card-title {
  font: 400 17px/1.55 var(--gt-font-jp);
  color: var(--gt-ink);
  margin: 0 0 16px;
  flex-grow: 1;
}
body.template-index .news-card-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--gt-hairline);
  margin: 0;
}
body.template-index .news-pill {
  font: 500 10px/1 var(--gt-font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  padding: 7px 12px;
  border-radius: var(--gt-radius-pill);
  border: none;
}
body.template-index .news-card:hover .news-pill {
  background: var(--gt-forest);
  color: var(--gt-paper);
}

/* ─── Mobile responsive ───────────────────────────────── */
@media (max-width: 900px) {
  body.template-index .hero-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  body.template-index .hero-text-block {
    padding: 64px 24px 32px;
  }
  body.template-index .hero-display {
    font-size: 56px;
  }
  body.template-index .hero-feature-block {
    padding: 24px;
    min-height: 360px;
  }
  body.template-index .products-section,
  body.template-index .news-section {
    padding: 64px 24px;
  }
  body.template-index .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  body.template-index .news-cards {
    grid-template-columns: 1fr;
  }
  body.template-index .products-headline,
  body.template-index .news-headline {
    font-size: 32px;
  }
  body.template-index .products-head-center,
  body.template-index .news-head-center {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.2 (2026-05-20 PM) — Footer 重新設計 + mobile 修正
   覆蓋舊深色 footer，全站適用（不只首頁）
   ═══════════════════════════════════════════════════════════════ */

/* — Footer base — */
.footer {
  background: var(--gt-paper-deep);
  color: var(--gt-charcoal);
  border-top: 1px solid var(--gt-hairline);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 64px;
  padding: 72px 64px 48px;
  border-bottom: 1px solid var(--gt-hairline);
  max-width: 1320px;
  margin: 0 auto;
}
.footer-brand-name {
  font: 400 24px/1.2 var(--gt-font-display);
  font-style: italic;
  color: var(--gt-forest);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.footer-brand-sub,
.footer-brand-sub p {
  font: 300 13px/1.9 var(--gt-font-jp);
  color: var(--gt-stone);
  letter-spacing: 0.02em;
  margin: 0;
}
.footer-col-title {
  font: 500 10px/1 var(--gt-font-mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gt-forest);
  margin-bottom: 24px;
}
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.footer-links a {
  font: 400 13px/1 var(--gt-font-sans);
  letter-spacing: 0.08em;
  color: var(--gt-charcoal);
  text-decoration: none;
  transition: color 250ms var(--gt-ease);
  display: inline-block;
}
.footer-links a:hover { color: var(--gt-forest); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item svg {
  flex-shrink: 0; margin-top: 4px;
  color: var(--gt-forest); opacity: 1;
  width: 14px; height: 14px;
}
.footer-contact-item span {
  font: 400 13px/1.7 var(--gt-font-jp);
  color: var(--gt-charcoal);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 64px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-copy {
  font: 400 11px/1.5 var(--gt-font-mono);
  color: var(--gt-stone);
  letter-spacing: 0.12em;
}
.footer-bar-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px;
}
.footer-bar-links a {
  font: 400 11px/1 var(--gt-font-mono);
  color: var(--gt-stone);
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 250ms var(--gt-ease);
}
.footer-bar-links a:hover { color: var(--gt-forest); }

/* ─── Footer mobile（< 768px） ─── */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 32px;
  }
  .footer-brand-name { font-size: 22px; }
  .footer-brand-sub,
  .footer-brand-sub p { font-size: 13px; line-height: 1.85; }
  .footer-col-title { margin-bottom: 18px; font-size: 10px; }
  .footer-links a { font-size: 14px; padding: 4px 0; }
  .footer-contact-item span { font-size: 13px; line-height: 1.7; }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px 28px;
  }
  .footer-bar-links {
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-copy {
    font-size: 10px;
    letter-spacing: 0.1em;
    word-break: break-all;
  }
}

/* ─── 首頁 mobile 補強（< 768px） ─── */
@media (max-width: 768px) {
  body.template-index .hero-text-block { padding: 48px 24px 24px; }
  body.template-index .hero-display { font-size: 48px; line-height: 1.05; }
  body.template-index .hero-sub-jp { font-size: 14px; line-height: 1.9; margin: 24px 0 32px; }
  body.template-index .hero-actions-v2 { gap: 12px; }
  body.template-index .hero-actions-v2 .btn-primary,
  body.template-index .hero-actions-v2 .btn-ghost,
  body.template-index .hero-actions-v2 .btn-tertiary {
    padding: 14px 22px; font-size: 11px; letter-spacing: 0.15em;
  }
  body.template-index .hero-feature-block { padding: 24px; min-height: 320px; }
  body.template-index .hero-feature-carousel { width: 92%; }
  body.template-index .products-section,
  body.template-index .news-section { padding: 56px 24px; }
  body.template-index .products-headline,
  body.template-index .news-headline { font-size: 30px; }
  body.template-index .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  body.template-index .product-card-name { font-size: 16px; }
  body.template-index .news-card-cover-mark { font-size: 24px; }
  body.template-index .news-card { padding: 20px; }
}

/* ─── 首頁 mobile 中小尺寸（< 480px） ─── */
@media (max-width: 480px) {
  body.template-index .hero-display { font-size: 40px; }
  body.template-index .hero-eyebrow-line { font-size: 10px; letter-spacing: 0.25em; gap: 10px; margin-bottom: 24px; }
  body.template-index .hero-eyebrow-line::before { width: 20px; }
}

/* ─── nav padding mobile fix（避免擠在一起） ─── */
@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-right { gap: 12px; }
  .nav-search-input { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.3 (2026-05-20 PM) — 全站套用 v3 設計（不只首頁）
   ─────────────────────────────────────────────────────────────
   核心策略：透過 --gt-* 變數系統把 MoMA × CIS Forest 樣式擴散到
   product / collection / about / contact / custom 等所有頁面
   ═══════════════════════════════════════════════════════════════ */

/* — Body / main 紙白底 — */
body {
  background: var(--gt-paper);
  color: var(--gt-charcoal);
  font-family: var(--gt-font-sans);
}
main { background: var(--gt-paper); }

/* — 全站標題用 Cormorant 襯線 — */
h1.page-title,
.section-title-display,
.about-display,
.contact-display,
.custom-display,
.cart-title,
.collection-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  letter-spacing: -0.01em;
}

/* — Buttons 全站統一 v3 樣式 — */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gt-forest);
  color: var(--gt-pure);
  text-decoration: none;
  border: 1px solid var(--gt-forest);
  border-radius: var(--gt-radius-md);
  transition: all 450ms var(--gt-ease);
  box-shadow: var(--gt-shadow-whisper);
  cursor: pointer;
  overflow: visible;
  backdrop-filter: none;
}
.btn-primary:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-pure);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}
.btn-primary::before,
.btn-primary::after { content: none !important; display: none !important; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gt-ink);
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
}
.btn-ghost:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
}

/* — btn-tertiary：Japan Textile / KAIYO 専用入口（淡綠底 深綠字） — */
.btn-tertiary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #E1F5EE;
  color: #278473;
  border: 1px solid #278473;
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
  box-shadow: var(--gt-shadow-whisper);
  cursor: pointer;
}
.btn-tertiary:hover {
  background: #278473;
  color: #E1F5EE;
  border-color: #278473;
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}
.btn-tertiary::before,
.btn-tertiary::after { content: none !important; display: none !important; }

/* — CTA button（其他頁面用） 也統一 — */
.cta-btn-primary,
.contact-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gt-forest);
  color: var(--gt-pure);
  text-decoration: none;
  border: 1px solid var(--gt-forest);
  border-radius: var(--gt-radius-md);
  transition: all 450ms var(--gt-ease);
  box-shadow: var(--gt-shadow-whisper);
  cursor: pointer;
  overflow: visible;
}
.cta-btn-primary:hover,
.contact-btn-primary:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-pure);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}
.cta-btn-primary::before,
.cta-btn-primary::after,
.contact-btn-primary::before,
.contact-btn-primary::after { content: none !important; display: none !important; }

/* — Nav links hover 底線（從中間展開） — */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  font-weight: 500;
  transition: color 250ms var(--gt-ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gt-forest);
  transition: left 350ms var(--gt-ease), right 350ms var(--gt-ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  left: 0; right: 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gt-forest); }

/* — Section eyebrow 統一 mono 風格 — */
.section-eyebrow,
.about-hero-eyebrow,
.contact-hero-eyebrow {
  font-family: var(--gt-font-mono);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gt-forest);
  font-size: 11px;
}

/* — 卡片元素 radius 統一 — */
.spec-card,
.key-point,
.flow-step,
.feature-card {
  border-radius: var(--gt-radius-md) !important;
  transition: all 450ms var(--gt-ease);
}

/* — 表單元素 — */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
  font-family: var(--gt-font-sans);
  border-radius: var(--gt-radius-sm);
  transition: border-color 250ms var(--gt-ease);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--gt-forest);
  outline: none;
}

/* — Collection / product 頁面 — 標題斜體強調 — */
.collection-hero h1,
.product-info h1 {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
}

/* — Cart 頁面 — */
.cart-item-title {
  font-family: var(--gt-font-display);
  font-weight: 400;
  font-style: italic;
}

/* — 全域 hover transition 預設 — */
a { transition: color 250ms var(--gt-ease); }

/* — Mobile 全站基底 fix — */
@media (max-width: 768px) {
  .btn-primary,
  .btn-ghost,
  .btn-tertiary,
  .cta-btn-primary,
  .contact-btn-primary {
    padding: 14px 24px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.4 (2026-05-20 PM) — Plants / About / Contact / Custom 頁面套 v3
   實際 class 名稱：.green-* / .about-* / .contact-* / .philosophy / .cta-*
   ═══════════════════════════════════════════════════════════════ */

/* ──────────── Plants (caudexsan-s-shop) ──────────── */

/* Hero：從深綠漸層改 MoMA 淺紙白 */
.green-hero,
.green-hero--compact {
  background: var(--gt-paper);
  color: var(--gt-ink);
  padding: 80px 32px 72px;
  border-bottom: 1px solid var(--gt-hairline);
}
.green-hero::before { display: none; }
.green-hero-avatar img {
  border-radius: 50%;
  box-shadow: var(--gt-shadow-soft);
  border: 1px solid var(--gt-hairline);
}
.green-hero-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.green-hero-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.green-hero-title .hd-em {
  color: var(--gt-forest);
  font-style: italic;
  font-weight: 400;
}
.green-hero-sub {
  font-family: var(--gt-font-jp);
  color: var(--gt-stone);
  font-size: 15px;
  line-height: 2;
  max-width: 580px;
}

/* Story：紙白底，Cormorant quote */
.green-story {
  background: var(--gt-pure);
  padding: 88px 32px 96px;
  border-bottom: 1px solid var(--gt-hairline);
}
.green-story::before {
  color: var(--gt-forest);
  opacity: 0.025;
  font-size: 380px;
}
.green-story-inner {
  max-width: 720px;
}
.green-story-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.green-story-eyebrow::after {
  background: var(--gt-forest);
  opacity: 1;
  width: 28px;
}
.green-story-quote {
  font-family: var(--gt-font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--gt-ink);
}
.green-story-quote .hd-em {
  color: var(--gt-forest);
  font-style: italic;
  font-weight: 400;
}
.green-story-quote .q-mark {
  color: var(--gt-forest-soft);
  font-family: var(--gt-font-display);
  font-style: italic;
}
.green-story-body p {
  font-family: var(--gt-font-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--gt-charcoal);
  margin: 0 0 20px;
  text-align: left;
}
.green-story-body strong {
  color: var(--gt-ink);
  font-weight: 500;
}

/* Chip 標籤 */
.green-chip {
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-pill);
  padding: 8px 16px;
  font-family: var(--gt-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  border-color: transparent;
}

/* Products 區塊 */
.green-products {
  background: var(--gt-paper);
  padding: 88px 32px 96px;
  border-bottom: 1px solid var(--gt-hairline);
}
.green-products-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(28px, 3.4vw, 36px);
}
.green-products-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Plants mobile（< 768px）— 修文字塞不下 */
@media (max-width: 768px) {
  .green-hero,
  .green-hero--compact {
    padding: 48px 20px 48px;
  }
  .green-hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .green-hero-sub {
    font-size: 13px;
    line-height: 1.85;
  }
  .green-story {
    padding: 56px 20px 64px;
  }
  .green-story::before {
    font-size: 240px;
  }
  .green-story-quote {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 28px;
  }
  .green-story-body p {
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 16px;
  }
  .green-chip-list {
    gap: 6px;
    margin-top: 28px;
  }
  .green-chip {
    font-size: 10px;
    padding: 7px 12px;
  }
  .green-products {
    padding: 56px 20px 64px;
  }
  .green-products-title { font-size: 26px; }
}

/* ──────────── About 頁面 ──────────── */
.about-hero {
  background: var(--gt-paper);
  color: var(--gt-ink);
  padding: 88px 32px 88px;
  border-bottom: 1px solid var(--gt-hairline);
}
.about-hero::before,
.about-hero::after { display: none; }
.about-hero-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.about-hero-logo img {
  filter: none;       /* 取消反白，原色 logo */
  opacity: 1;
  height: 140px;
}
@media (max-width: 720px) {
  .about-hero-logo img { height: 96px; }
}
.about-hero-tagline {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
  font-style: italic;
}
.about-hero-meta {
  font-family: var(--gt-font-mono);
  color: var(--gt-stone);
  font-size: 11px;
  letter-spacing: 0.2em;
}

/* Philosophy */
.philosophy {
  background: var(--gt-pure);
  padding: 88px 32px 96px;
  border-bottom: 1px solid var(--gt-hairline);
}
.philosophy::before {
  color: var(--gt-forest);
  opacity: 0.025;
  font-size: 380px;
}
.philosophy::after { display: none; }
.philosophy-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.philosophy-eyebrow::after {
  background: var(--gt-forest);
  opacity: 1;
  width: 28px;
}
.philosophy-quote {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* About / History / Company table */
.history-year {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.company-label {
  font-family: var(--gt-font-mono);
  color: var(--gt-stone);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.company-value {
  font-family: var(--gt-font-jp);
  color: var(--gt-ink);
}
.company-row:hover { background: var(--gt-forest-mist); }

/* CTA 區塊（About 底部） */
.cta-section {
  background: var(--gt-paper-deep);
  border-bottom: none;
}
.cta-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.cta-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-style: italic;
}
.cta-body {
  font-family: var(--gt-font-jp);
  color: var(--gt-charcoal);
  font-size: 15px;
  line-height: 2;
}

/* About mobile */
@media (max-width: 768px) {
  .about-hero {
    padding: 56px 20px 56px;
  }
  .about-hero-tagline { font-size: 20px; line-height: 1.45; }
  .philosophy { padding: 56px 20px 64px; }
  .philosophy::before { font-size: 240px; }
  .philosophy-quote { font-size: 24px; line-height: 1.5; }
}

/* ──────────── Contact 頁面 ──────────── */
.contact-hero {
  background: var(--gt-paper);
  color: var(--gt-ink);
  padding: 88px 32px 80px;
  border-bottom: 1px solid var(--gt-hairline);
}
.contact-hero::before,
.contact-hero::after { display: none; }
.contact-hero-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.contact-hero-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.contact-hero-title .hd-em {
  color: var(--gt-forest);
  font-style: italic;
  font-weight: 400;
}
.contact-hero-lead {
  font-family: var(--gt-font-jp);
  color: var(--gt-stone);
  font-size: 15px;
  line-height: 1.95;
}

/* Contact info block */
.info-label {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.info-value {
  font-family: var(--gt-font-jp);
  color: var(--gt-ink);
}
.info-divider {
  background: var(--gt-hairline);
  height: 1px;
}

/* Contact mobile */
@media (max-width: 768px) {
  .contact-hero { padding: 56px 20px 56px; }
  .contact-hero-title { font-size: 32px; line-height: 1.25; }
  .contact-hero-lead { font-size: 14px; line-height: 1.85; }
}

/* ──────────── Fabric strip（Contact / Custom） ──────────── */
.fabric-strip-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-style: italic;
}
.fabric-strip-eyebrow {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  letter-spacing: 0.3em;
  font-size: 11px;
}

/* ──────────── 通用 mobile 字長溢出保險 ──────────── */
@media (max-width: 768px) {
  p, h1, h2, h3, h4, li, span, td, th {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.5 (2026-05-20 PM) — Custom 頁 + CTA 按鈕統一
   ═══════════════════════════════════════════════════════════════ */

/* ──────────── CTA 按鈕統一（About 底部 GET IN TOUCH） ──────────── */

/* 取消舊 Liquid Glass 玻璃效果，統一矩形 8px 圓角 */
.cta-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  transition: all 450ms var(--gt-ease);
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
  min-width: 200px;
}

/* Primary：森綠填底 */
.cta-btn-primary {
  color: var(--gt-pure);
  background: var(--gt-forest);
  border: 1px solid var(--gt-forest);
  box-shadow: var(--gt-shadow-whisper);
}
.cta-btn-primary::before,
.cta-btn-primary::after { content: none !important; display: none !important; }
.cta-btn-primary:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-pure);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}

/* Secondary：白底細邊 */
.cta-btn-secondary {
  color: var(--gt-ink);
  background: transparent;
  border: 1px solid var(--gt-hairline);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.cta-btn-secondary::before,
.cta-btn-secondary::after { content: none !important; display: none !important; }
.cta-btn-secondary:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}

/* CTA mobile：堆疊全寬 */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cta-btn {
    min-width: 0;
    width: 100%;
    padding: 14px 20px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

/* ──────────── Custom 頁面 Hero ──────────── */

/* Hero：從深綠漸層 → 紙白底 */
.tx-hero,
.tx-hero--green,
.tx-hero--compact {
  background: var(--gt-paper);
  color: var(--gt-ink);
  padding: 88px 32px 72px;
  border-bottom: 1px solid var(--gt-hairline);
  position: relative;
  overflow: hidden;
}
.tx-hero--green::before,
.tx-hero--green::after { display: none; }
.tx-hero-inner {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.tx-hero-title,
.tx-hero-title--white {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink) !important;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.tx-hero-title .ja-keep:first-child {
  font-style: italic;
  color: var(--gt-forest);
  font-weight: 400;
}
.tx-hero-sub-line {
  display: block;
  font-family: var(--gt-font-jp);
  font-size: 14px;
  font-weight: 400;
  color: var(--gt-stone);
  letter-spacing: 0.05em;
  margin-top: 10px;
  font-style: normal;
}
.tx-hero-subtitle,
.tx-hero-subtitle--white {
  font-family: var(--gt-font-jp);
  color: var(--gt-charcoal) !important;
  font-size: 15px;
  line-height: 2;
  max-width: 640px;
  margin: 24px auto 0;
  text-align: center;
}

/* 16 格商品 strip — 在 hero 之後保留現有 logic，調整成 v3 hairline grid */
.tx-grid-strip {
  background: var(--gt-paper-deep);
  border-bottom: 1px solid var(--gt-hairline);
}
.tx-grid-strip .hgs-cell {
  border-radius: 0;
}

/* ──────────── Section 標題統一 ──────────── */

/* Section eyebrow 跟 title 在 custom + about + contact 全部統一 */
.section-eyebrow {
  font-family: var(--gt-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gt-forest);
}
.section-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.page-title--big {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(36px, 4.2vw, 48px);
  font-style: italic;
  line-height: 1.15;
}

/* ──────────── Custom 頁 Gallery section ──────────── */
.gallery-section {
  background: var(--gt-pure);
  padding: 88px 32px 96px;
  border-bottom: 1px solid var(--gt-hairline);
}
.gallery-desc {
  font-family: var(--gt-font-jp);
  color: var(--gt-stone);
  font-size: 15px;
  line-height: 1.95;
}
.gallery-item {
  border-radius: var(--gt-radius-sm);
  box-shadow: var(--gt-shadow-image);
  overflow: hidden;
  transition: transform 450ms var(--gt-ease);
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--gt-shadow-lift);
}

/* ──────────── Flow steps (HOW IT WORKS) ──────────── */
.section-alt {
  background: var(--gt-paper-deep);
}
.flow-circle {
  background: var(--gt-pure);
  border: 1px solid var(--gt-hairline);
  border-radius: 50%;
  color: var(--gt-forest);
  box-shadow: var(--gt-shadow-whisper);
  transition: all 450ms var(--gt-ease);
}
.flow-step:hover .flow-circle {
  border-color: var(--gt-forest);
  background: var(--gt-forest-mist);
  transform: translateY(-3px);
}
.flow-head-number {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.flow-head {
  font-family: var(--gt-font-display);
  font-weight: 400;
  color: var(--gt-ink);
  font-size: 16px;
  font-style: italic;
}
.flow-note {
  font-family: var(--gt-font-jp);
  color: var(--gt-stone);
  font-size: 12px;
  line-height: 1.7;
}
.flow-tag {
  font-family: var(--gt-font-mono);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  border-radius: var(--gt-radius-pill);
  border: none;
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 5px 10px;
}

/* ──────────── Service cards 分流入口 ──────────── */
.page-header--cta {
  background: var(--gt-paper);
  padding: 72px 32px 24px;
}
.service-cards {
  background: var(--gt-paper);
  padding: 0 32px 96px;
}
.svc-card {
  border-radius: var(--gt-radius-lg);
  box-shadow: var(--gt-shadow-soft);
  overflow: hidden;
  transition: all 450ms var(--gt-ease);
  position: relative;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gt-shadow-lift);
}
.svc-card-arrow {
  font-family: var(--gt-font-display);
  font-style: italic;
  background: rgba(255,255,255,0.95);
  color: var(--gt-forest);
  border-radius: 50%;
  border: none;
}
.svc-card-eyebrow {
  font-family: var(--gt-font-mono);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.svc-card-title {
  font-family: var(--gt-font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.005em;
}
.svc-card-desc {
  font-family: var(--gt-font-jp);
  line-height: 1.85;
}
.svc-tag {
  font-family: var(--gt-font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  border-radius: var(--gt-radius-pill);
  background: rgba(255,255,255,0.18);
  color: var(--gt-pure);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
}

/* ──────────── Custom mobile（< 768px） ──────────── */
@media (max-width: 768px) {
  .tx-hero,
  .tx-hero--green,
  .tx-hero--compact {
    padding: 56px 20px 48px;
  }
  .tx-hero-title,
  .tx-hero-title--white {
    font-size: 36px;
    line-height: 1.2;
  }
  .tx-hero-sub-line { font-size: 13px; }
  .tx-hero-subtitle,
  .tx-hero-subtitle--white { font-size: 14px; line-height: 1.9; }

  .gallery-section { padding: 56px 20px 64px; }
  .gallery-desc { font-size: 14px; }

  .section-alt { padding: 56px 20px 64px; }
  .flow-circle { width: 56px; height: 56px; }
  .flow-circle svg { width: 28px; height: 28px; }
  .flow-head { font-size: 14px; }
  .flow-note { font-size: 11px; line-height: 1.6; }

  .page-header--cta { padding: 48px 20px 16px; }
  .service-cards { padding: 0 20px 64px; gap: 16px; }
  .svc-card-title { font-size: 22px !important; line-height: 1.3; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.6 (2026-05-20 PM) — Textile filter / PRODUCTS 標題 / 修 custom 細節
   ═══════════════════════════════════════════════════════════════ */

/* ──────────── 材質 filter 按鈕（全部去玻璃，統一 MoMA 風格）──────────── */

/* 「全て表示」reset chip */
.tx-material-chip--reset {
  display: inline-flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--gt-radius-md);
  background: transparent;
  border: 1px solid var(--gt-hairline);
  color: var(--gt-ink);
  text-decoration: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: none;
  transition: all 450ms var(--gt-ease);
}
.tx-material-chip--reset:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
}
.tx-material-chip--reset.is-active {
  background: var(--gt-forest);
  border-color: var(--gt-forest);
  color: var(--gt-pure);
  text-shadow: none;
  box-shadow: var(--gt-shadow-whisper);
  background-image: none;
}
.tx-material-chip--reset .tx-chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gt-forest);
}
.tx-material-chip--reset.is-active .tx-chip-dot { background: var(--gt-pure); }

/* 8 個材質 chips（主副顛倒：主 = 素材名，副 = 番手） */
.tx-material-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 16px;
  font-family: var(--gt-font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gt-ink);
  background: var(--gt-pure);
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: none;
  transition: all 450ms var(--gt-ease);
}
.tx-material-chip:hover {
  border-color: var(--gt-forest);
  background: var(--gt-forest-mist);
  color: var(--gt-forest);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
  text-shadow: none;
}
.tx-material-chip.is-active {
  background: var(--gt-forest);
  border-color: var(--gt-forest);
  color: var(--gt-pure);
  text-shadow: none;
  background-image: none;
  box-shadow: var(--gt-shadow-whisper);
}

/* 副文字（番手） */
.tx-chip-sub {
  font-family: var(--gt-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gt-stone);
  margin-top: 4px;
  transition: color 450ms var(--gt-ease);
}
/* hover 副文字保持為灰色（不再變白）— CEO 反映被誤導 */
.tx-material-chip:hover .tx-chip-sub {
  color: var(--gt-forest);
}
.tx-material-chip.is-active .tx-chip-sub {
  color: rgba(255,255,255,0.85);
}

/* ──────────── Textile collection PRODUCTS 標題（仿首頁）──────────── */
.tx-products-head--v3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gt-hairline);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.tx-products-title-big {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(36px, 4.2vw, 48px);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.tx-products-title-jp {
  display: inline-block;
  font-family: var(--gt-font-jp);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--gt-stone);
  margin-left: 14px;
  letter-spacing: 0.1em;
}

/* tx-products-meta：拿掉 count + sort 改 v3 風 */
.tx-products-count { display: none !important; }
.tx-products-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* v24.0: 列表モード搜尋ボックス */
.tx-search-wrap {
  position: relative;
  display: flex; align-items: center;
}
.tx-search-icon {
  position: absolute; left: 9px;
  color: #9a9a9a; pointer-events: none;
}
.tx-search-input {
  font-family: var(--gt-font-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  padding: 10px 10px 10px 28px;
  background: var(--gt-pure);
  color: var(--gt-ink);
  width: 160px;
  transition: border-color 250ms var(--gt-ease), box-shadow 250ms var(--gt-ease);
  -webkit-appearance: none;
}
.tx-search-input:focus {
  outline: none;
  border-color: var(--gt-forest);
  box-shadow: 0 0 0 2px rgba(39,132,115,0.13);
}
.tx-search-input::-webkit-search-cancel-button { display: none; }
.tx-products-sort {
  font-family: var(--gt-font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  padding: 10px 14px;
  background: var(--gt-pure);
  color: var(--gt-ink);
  cursor: pointer;
  transition: border-color 250ms var(--gt-ease);
}
.tx-products-sort:hover,
.tx-products-sort:focus {
  border-color: var(--gt-forest);
  outline: none;
}

/* ──────────── 修 Custom 頁 gallery 描述換行 ──────────── */
.gallery-desc {
  font-family: var(--gt-font-jp);
  color: var(--gt-stone);
  font-size: 15px;
  line-height: 1.95;
  max-width: 920px;        /* 從 770 改寬到 920，避免句子被擠斷 */
  margin: 0 auto;
  word-break: keep-all;    /* 日文不從詞中間斷 */
  overflow-wrap: break-word;
}
.gallery-head--center .gallery-desc {
  text-align: center;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .gallery-desc {
    font-size: 13px;
    line-height: 1.85;
    word-break: break-word;
  }
}

/* ──────────── 修 Service cards 寬度比例 ──────────── */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.svc-card:first-child {
  border-right: none;     /* 取消舊的右邊白邊框 */
}
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.7 (2026-05-20 PM) — service-cards 強制等寬 + 微調
   ═══════════════════════════════════════════════════════════════ */

/* Service cards 強制等寬（修 minmax(0,1fr) 避免內容撐欄） */
.service-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 96px;
  align-items: stretch;
}
.svc-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 48px;
  min-height: 460px;
}
.svc-card:first-child {
  border-right: none;
}
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 20px 64px;
  }
  .svc-card { padding: 56px 24px; min-height: 360px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.8 (2026-05-20 PM) — Textile 16 格 strip 左輪播 marquee
   ═══════════════════════════════════════════════════════════════ */

.tx-grid-strip--marquee {
  display: flex !important;             /* 覆蓋舊 grid 排版 */
  grid-template-columns: none !important;
  overflow: hidden;
  border-top: 1px solid var(--gt-hairline);
  border-bottom: 1px solid var(--gt-hairline);
  background: var(--gt-paper-deep);
}
.tx-grid-strip--marquee .tx-grid-strip-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: tx-strip-marquee 60s linear infinite;
  will-change: transform;
}
.tx-grid-strip--marquee .tx-grid-strip-clone {
  display: contents;                    /* 讓 clone 內的 anchor 直接平鋪在 track 內 */
}
.tx-grid-strip--marquee .hgs-cell {
  flex: 0 0 auto;
  width: calc(100vw / 8);    /* 桌機 8 格剛好滿版（放大版）*/
  aspect-ratio: 1 / 1;
}
.tx-grid-strip--marquee:hover .tx-grid-strip-track {
  animation-play-state: paused;         /* hover 暫停 */
}
@keyframes tx-strip-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Mobile：每行顯示 4 格（手機螢幕小，4 格剛好看清） */
@media (max-width: 768px) {
  .tx-grid-strip--marquee .hgs-cell { width: calc(100vw / 4); }
}

/* prefers-reduced-motion：停止動畫 */
@media (prefers-reduced-motion: reduce) {
  .tx-grid-strip--marquee .tx-grid-strip-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.9 (2026-05-20 PM) — Custom Order strip 下移
   緊跟 .tx-hero--compact 後面的 marquee 加 margin-top（只影響 Custom 頁）
   ═══════════════════════════════════════════════════════════════ */
.tx-hero--compact + .tx-grid-strip--marquee {
  margin-top: 64px;
}
@media (max-width: 768px) {
  .tx-hero--compact + .tx-grid-strip--marquee {
    margin-top: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.10 (2026-05-20 PM) — 3 個分類頁統一：hero 同高度 + 拿掉中間線
   ═══════════════════════════════════════════════════════════════ */

/* Hero 統一高度（不論文字多寡，strip 都對齊同位置） */
.tx-hero,
.tx-hero--green,
.tx-hero--compact,
.green-hero,
.green-hero--compact {
  border-bottom: none !important;       /* 拿掉 hero 跟 strip 之間的 1px 線 */
  min-height: 400px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 64px 32px !important;
}

/* Strip 拿掉 border-top + 紙背景，跟 hero 視覺接合 */
.tx-grid-strip--marquee {
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
}

/* Custom margin hack 撤回（hero min-height 已對齊） */
.tx-hero--compact + .tx-grid-strip--marquee,
.tx-hero--green + .tx-grid-strip--marquee,
.green-hero--compact + .tx-grid-strip--marquee,
.green-hero + .tx-grid-strip--marquee {
  margin-top: 0 !important;
}

/* Mobile：hero 比較矮 */
@media (max-width: 768px) {
  .tx-hero,
  .tx-hero--green,
  .tx-hero--compact,
  .green-hero,
  .green-hero--compact {
    min-height: 280px;
    padding: 40px 20px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.11 (2026-05-20 PM) — 材質頁 hero eyebrow（番手小字 + 素材名大字）
   ═══════════════════════════════════════════════════════════════ */
.tx-hero-eyebrow-jp {
  font-family: var(--gt-font-mono);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gt-forest);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 18px;
}
@media (max-width: 768px) {
  .tx-hero-eyebrow-jp { font-size: 10px; letter-spacing: 0.25em; margin-bottom: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.12 (2026-05-20 PM) — Contact 頁送信按鈕 v3 化（拿掉玻璃效果）
   ═══════════════════════════════════════════════════════════════ */
.contact-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gt-pure);
  background: var(--gt-forest);
  border: 1px solid var(--gt-forest);
  border-radius: var(--gt-radius-md);
  cursor: pointer;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--gt-shadow-whisper);
  transition: all 450ms var(--gt-ease);
  background-image: none;
  margin-top: 8px;
  min-width: 200px;
}
.contact-submit::before,
.contact-submit::after { content: none !important; display: none !important; }
.contact-submit:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-pure);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
  background-image: none;
}
.contact-submit:active { transform: translateY(0); }
.contact-submit:disabled {
  background: var(--gt-mist);
  border-color: var(--gt-mist);
  cursor: not-allowed;
  box-shadow: none;
}

/* Contact form 元素套 v3 */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--gt-font-sans);
  border-radius: var(--gt-radius-sm);
  border: 1px solid var(--gt-hairline);
  transition: border-color 250ms var(--gt-ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gt-forest);
  outline: none;
}
.contact-section { background: var(--gt-paper); }
.contact-form-wrap { background: var(--gt-pure); border-radius: var(--gt-radius-lg); }

/* Contact mobile：送信按鈕全寬 */
@media (max-width: 768px) {
  .contact-submit {
    width: 100%;
    min-width: 0;
    padding: 14px 24px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
}

/* ═══════════════════════════════════════════════════════════════
   v3.13 (2026-05-20 PM) — 通用 page / policy template 樣式
   特定商取引法、隱私政策、其他簡易頁面共用
   ═══════════════════════════════════════════════════════════════ */

.page-doc-hero {
  background: var(--gt-paper);
  padding: 88px 32px;
  text-align: center;
  border-bottom: 1px solid var(--gt-hairline);
}
.page-doc-hero-inner { max-width: 720px; margin: 0 auto; }
.page-doc-eyebrow {
  font-family: var(--gt-font-mono);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gt-forest);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.page-doc-title {
  font-family: var(--gt-font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  color: var(--gt-ink);
  margin: 0;
  line-height: 1.2;
}

.page-doc-section {
  background: var(--gt-pure);
  padding: 80px 32px 96px;
}
.page-doc-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* 文章樣式（特商法 dl / 隱私政策一般 prose 共用） */
.page-doc-prose {
  font-family: var(--gt-font-jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--gt-charcoal);
}
.page-doc-prose h2,
.page-doc-prose h3 {
  font-family: var(--gt-font-display);
  color: var(--gt-ink);
  font-weight: 400;
  margin: 48px 0 16px;
  line-height: 1.3;
}
.page-doc-prose h2 { font-size: 26px; }
.page-doc-prose h3 { font-size: 20px; font-style: italic; color: var(--gt-forest); }
.page-doc-prose h2:first-child,
.page-doc-prose h3:first-child { margin-top: 0; }
.page-doc-prose p {
  margin: 0 0 16px;
}
.page-doc-prose a {
  color: var(--gt-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 250ms var(--gt-ease);
}
.page-doc-prose a:hover { color: var(--gt-forest-deep); }
.page-doc-prose strong { color: var(--gt-ink); font-weight: 500; }
.page-doc-prose ul, .page-doc-prose ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.page-doc-prose li { margin-bottom: 8px; }

/* 特商法 / 関連法表記 dl 樣式 */
.page-doc-prose .legal-list,
.page-doc-prose dl {
  margin: 0;
  border-top: 1px solid var(--gt-hairline);
}
.page-doc-prose dt {
  font-family: var(--gt-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gt-forest);
  text-transform: uppercase;
  padding: 24px 0 8px;
  font-weight: 500;
}
.page-doc-prose dd {
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--gt-hairline);
  font-size: 15px;
  color: var(--gt-charcoal);
  line-height: 1.85;
}
.page-doc-prose dd small {
  display: block;
  font-size: 12px;
  color: var(--gt-stone);
  margin-top: 6px;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
  .page-doc-hero { padding: 56px 20px; }
  .page-doc-title { font-size: 28px; }
  .page-doc-section { padding: 48px 20px 64px; }
  .page-doc-prose { font-size: 14px; line-height: 1.85; }
  .page-doc-prose h2 { font-size: 22px; }
  .page-doc-prose h3 { font-size: 18px; }
  .page-doc-prose dt { font-size: 10px; padding-top: 18px; }
  .page-doc-prose dd { font-size: 14px; padding-bottom: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.14 (2026-05-20 PM) — Shopify 內建 policy 頁面樣式覆蓋
   /policies/privacy-policy 等用 .shopify-policy__ class 渲染
   ═══════════════════════════════════════════════════════════════ */

body.template-policy main { background: var(--gt-paper); }

.shopify-policy__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 32px 96px;
  background: var(--gt-pure);
  font-family: var(--gt-font-jp);
}

.shopify-policy__title {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gt-hairline);
}
.shopify-policy__title h1 {
  font-family: var(--gt-font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  color: var(--gt-ink);
  margin: 0;
  line-height: 1.2;
}

.shopify-policy__body,
.shopify-policy__body .rte {
  font-family: var(--gt-font-jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--gt-charcoal);
}

.shopify-policy__body h2,
.shopify-policy__body h3,
.shopify-policy__body .rte h2,
.shopify-policy__body .rte h3 {
  font-family: var(--gt-font-display);
  font-weight: 400;
  color: var(--gt-ink);
  margin: 56px 0 16px;
  line-height: 1.3;
}
.shopify-policy__body h2,
.shopify-policy__body .rte h2 { font-size: 26px; }
.shopify-policy__body h3,
.shopify-policy__body .rte h3 { font-size: 20px; font-style: italic; color: var(--gt-forest); }
.shopify-policy__body h2:first-child,
.shopify-policy__body h3:first-child { margin-top: 0; }

.shopify-policy__body p,
.shopify-policy__body .rte p {
  margin: 0 0 16px;
}
.shopify-policy__body a,
.shopify-policy__body .rte a {
  color: var(--gt-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 250ms var(--gt-ease);
}
.shopify-policy__body a:hover { color: var(--gt-forest-deep); }
.shopify-policy__body strong { color: var(--gt-ink); font-weight: 500; }
.shopify-policy__body ul,
.shopify-policy__body ol,
.shopify-policy__body .rte ul,
.shopify-policy__body .rte ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.shopify-policy__body li { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 768px) {
  .shopify-policy__container { padding: 48px 20px 64px; }
  .shopify-policy__title h1 { font-size: 28px; }
  .shopify-policy__body,
  .shopify-policy__body .rte { font-size: 14px; line-height: 1.85; }
  .shopify-policy__body h2 { font-size: 22px; }
  .shopify-policy__body h3 { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   v3.15 (2026-05-20 PM) — 商品頁全面 v3 化（拿掉玻璃按鈕）
   ═══════════════════════════════════════════════════════════════ */

/* size / 色番 pill 改 v3 矩形 hairline 樣式 */
.product-option-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-md);
  font: 500 13px/1 var(--gt-font-sans);
  letter-spacing: 0.05em;
  color: var(--gt-ink);
  background: var(--gt-pure);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  text-shadow: none;
  background-image: none;
  transition: all 350ms var(--gt-ease);
}
.product-option-pill:hover span {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
  transform: translateY(-1px);
  box-shadow: var(--gt-shadow-whisper);
}
.product-option-pill input:checked + span {
  color: var(--gt-pure);
  background: var(--gt-forest);
  border-color: var(--gt-forest);
  text-shadow: none;
  background-image: none;
  box-shadow: var(--gt-shadow-whisper);
}
.product-option-pill input:checked + span::before {
  content: none !important;
  display: none !important;
}

/* 「カートに追加」+「この品番をリクエストに追加」按鈕 */
.product-add-btn,
.product-sample-add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font: 500 12px/1 var(--gt-font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gt-forest);
  color: var(--gt-pure);
  border: 1px solid var(--gt-forest);
  border-radius: var(--gt-radius-md);
  text-decoration: none;
  cursor: pointer;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--gt-shadow-whisper);
  background-image: none;
  transition: all 450ms var(--gt-ease);
  width: 100%;
}
.product-add-btn::before,
.product-add-btn::after,
.product-sample-add-btn::before,
.product-sample-add-btn::after { content: none !important; display: none !important; }
.product-add-btn:hover,
.product-sample-add-btn:hover {
  background: var(--gt-forest-deep);
  border-color: var(--gt-forest-deep);
  color: var(--gt-pure);
  transform: translateY(-2px);
  box-shadow: var(--gt-shadow-soft);
  background-image: none;
}
.product-add-btn:active,
.product-sample-add-btn:active { transform: translateY(0); }
.product-add-btn:disabled {
  background: var(--gt-mist);
  border-color: var(--gt-mist);
  cursor: not-allowed;
  box-shadow: none;
}
.product-add-btn--compact { padding: 12px 24px; font-size: 11px; }

/* sample request 按鈕用 ghost 風（白底）區分 primary CTA */
.product-sample-add-btn {
  background: transparent;
  color: var(--gt-ink);
  border-color: var(--gt-hairline);
}
.product-sample-add-btn:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
}
.product-sample-add-btn__icon { color: var(--gt-forest); }

/* 反数 quantity +/- 按鈕 */
.product-qty-btn,
.product-option-quantity button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--gt-hairline);
  border-radius: var(--gt-radius-sm);
  background: var(--gt-pure);
  color: var(--gt-ink);
  cursor: pointer;
  font: 400 16px/1 var(--gt-font-sans);
  transition: all 250ms var(--gt-ease);
  backdrop-filter: none;
  box-shadow: none;
}
.product-qty-btn:hover {
  border-color: var(--gt-forest);
  color: var(--gt-forest);
  background: var(--gt-forest-mist);
}

/* 商品標題 / spec 表 */
.product-info h1 {
  font-family: var(--gt-font-display);
  font-weight: 300;
  color: var(--gt-ink);
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════
   v3.16 (2026-05-21 PM) — product-add-btn 強制覆蓋（舊 CSS 帶 !important）
   ═══════════════════════════════════════════════════════════════ */
.product-add-btn,
.product-add-btn--compact,
.product-sample-add-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px 32px !important;
  font: 500 12px/1 var(--gt-font-sans) !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  background: var(--gt-forest) !important;
  background-image: none !important;
  color: var(--gt-pure) !important;
  border: 1px solid var(--gt-forest) !important;
  border-radius: var(--gt-radius-md) !important;
  cursor: pointer !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: var(--gt-shadow-whisper) !important;
  overflow: visible !important;
  width: 100% !important;
  transition: all 450ms var(--gt-ease) !important;
}
.product-add-btn::before,
.product-add-btn::after,
.product-add-btn--compact::before,
.product-add-btn--compact::after,
.product-sample-add-btn::before,
.product-sample-add-btn::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.product-add-btn:hover,
.product-add-btn--compact:hover,
.product-sample-add-btn:hover {
  background: var(--gt-forest-deep) !important;
  background-image: none !important;
  border-color: var(--gt-forest-deep) !important;
  color: var(--gt-pure) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--gt-shadow-soft) !important;
}
.product-add-btn:active,
.product-add-btn--compact:active,
.product-sample-add-btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--gt-shadow-whisper) !important;
}
.product-add-btn:disabled,
.product-add-btn--compact:disabled {
  background: var(--gt-mist) !important;
  background-image: none !important;
  border-color: var(--gt-mist) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.product-add-btn--compact {
  width: auto !important;
  align-self: flex-start !important;
  min-width: 200px !important;
}

/* sample 按鈕：白底細邊 ghost 風 */
.product-sample-add-btn {
  background: transparent !important;
  background-image: none !important;
  color: var(--gt-ink) !important;
  border-color: var(--gt-hairline) !important;
}
.product-sample-add-btn:hover {
  background: var(--gt-forest-mist) !important;
  background-image: none !important;
  border-color: var(--gt-forest) !important;
  color: var(--gt-forest) !important;
}
.product-sample-add-btn__icon { color: var(--gt-forest) !important; }

/* v3.17 (2026-05-21) — 商品價格 (税別) 標示 */
.product-price-tax-note {
  font-family: var(--gt-font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--gt-stone);
  letter-spacing: 0.1em;
  margin-left: 8px;
  vertical-align: baseline;
}
@media (max-width: 768px) {
  .product-price-tax-note { font-size: 10px; margin-left: 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   業者 A+ 見積もり依頼カード（wholesale_a / wholesale_b — 2026-05-21）
   商品頁内で完結する詢問フロー：即時試算 + 送信 → ERP 連動
   ═══════════════════════════════════════════════════════════════ */
.wholesale-inquiry-card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px 18px;
  margin: 16px 0 8px;
}
.wsi-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #278473;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.wsi-moq-note {
  background: #fffbf0;
  border-left: 3px solid #f0c674;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: #6b5618;
  margin: 0 0 14px;
  line-height: 1.7;
}
.wsi-moq-note strong { color: #a07000; }
.product-small-roll-note {
  font-size: 11px;
  color: #888;
  line-height: 1.7;
  margin: 6px 2px 0;
  padding: 6px 0 0;
  border-top: 1px dashed #e3e3e3;
}
.product-small-roll-note a { color: #278473; text-decoration: underline; }
.wsi-summary {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.wsi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.6;
}
.wsi-row .wsi-label { color: #5a5a5a; flex: 0 0 auto; }
.wsi-row .wsi-value {
  font-family: 'Cormorant Garamond', 'Yu Mincho', serif;
  font-size: 17px;
  font-weight: 400;
  text-align: right;
  flex: 1 1 auto;
  margin-left: 16px;
}
.wsi-row .wsi-value small { font-size: 11px; color: #8a8a8a; margin-left: 2px; }
.wsi-row--sub { padding: 4px 0; }
.wsi-row--sub .wsi-label,
.wsi-row--sub .wsi-value { font-size: 12px; color: #5a5a5a; }
.wsi-row--sub .wsi-value { font-family: inherit; }
.wsi-row--grand {
  border-top: 1px solid #e0e0e0;
  margin-top: 6px;
  padding-top: 12px;
}
.wsi-row--grand .wsi-label { color: #1a1a1a; font-weight: 500; }
.wsi-row--grand .wsi-value {
  font-size: 24px;
  color: #278473;
  font-weight: 500;
}
.wsi-note {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13px;
  color: #1a1a1a;
  background: #ffffff;
  resize: vertical;
  min-height: 56px;
  margin-bottom: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.wsi-note::placeholder { color: #a8a8a8; }
.wsi-note:focus { outline: none; border-color: #278473; }
.wsi-submit-btn {
  width: 100%;
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.wsi-submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.wsi-disclaimer {
  font-size: 11px;
  color: #8a8a8a;
  line-height: 1.7;
  margin: 12px 2px 0;
}
.wsi-success {
  background: #f0f7f6;
  border: 1px solid #278473;
  border-radius: 4px;
  padding: 18px 20px;
  margin: 4px 0;
  text-align: center;
}
.wsi-success-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #278473;
  letter-spacing: 0.02em;
}
.wsi-success-body {
  margin: 0;
  font-size: 12px;
  color: #3a3a3a;
  line-height: 1.8;
}
.wsi-error {
  background: #fff4f4;
  border: 1px solid #d04545;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 8px 0;
  font-size: 12px;
  color: #a02020;
  line-height: 1.7;
}
.wsi-error a { color: #a02020; text-decoration: underline; }
@media (max-width: 480px) {
  .wholesale-inquiry-card { padding: 14px; }
  .wsi-summary { padding: 12px 14px; }
  .wsi-row--grand .wsi-value { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   業者カート（cart.liquid wholesale 分支 — 2026-05-21）
   ═══════════════════════════════════════════════════════════════ */
.cart-form--wholesale .cart-item--wholesale {
  background: #fafcfb;
}
.cart-item-code {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #278473;
  font-weight: bold;
  margin: 2px 0;
  letter-spacing: 0.04em;
}
.cart-item-wsi-unit {
  font-size: 12px;
  color: #1a1a1a;
  margin: 6px 0 2px;
}
.cart-item-wsi-unit strong { color: #278473; font-size: 13px; }
.cart-item-wsi-retail {
  color: #aaa;
  font-size: 10px;
  margin-left: 6px;
  text-decoration: line-through;
}
.cart-item-wsi-meters {
  font-size: 11px;
  color: #888;
  margin: 0;
}
.cart-item-wsi-line-total {
  display: block;
  font-family: 'Cormorant Garamond', 'Yu Mincho', serif;
  font-size: 18px;
  color: #278473;
  font-weight: 500;
}
.cart-item-qty-unit {
  font-size: 11px;
  color: #888;
  margin-left: 4px;
}
.cart-page-note--wholesale {
  background: #f0f7f6;
  border-left: 3px solid #278473;
  padding: 8px 14px;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: #278473;
  margin: 8px 0 0;
}
.cart-summary--wholesale {
  background: #fffaf3;
  border: 1px solid #f0c674;
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 12px;
}
.cart-summary-title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', 'Yu Mincho', serif;
  font-size: 18px;
  font-weight: 500;
  color: #a07000;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #f0c674;
  padding-bottom: 8px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
  color: #1a1a1a;
  margin: 0;
}
.cart-summary-row .cart-summary-label { color: #5a5a5a; }
.cart-summary-row .cart-summary-value {
  font-family: 'Cormorant Garamond', 'Yu Mincho', serif;
  font-size: 16px;
}
.cart-summary-row--sub { padding: 4px 0; }
.cart-summary-row--sub .cart-summary-label,
.cart-summary-row--sub .cart-summary-value {
  font-size: 12px;
  color: #5a5a5a;
}
.cart-summary-row--sub .cart-summary-value { font-family: inherit; }
.cart-summary-row--grand {
  border-top: 1px solid #f0c674;
  margin-top: 6px;
  padding-top: 12px;
}
.cart-summary-row--grand .cart-summary-label {
  color: #1a1a1a;
  font-weight: 500;
}
.cart-summary-row--grand .cart-summary-value {
  font-size: 26px;
  color: #a07000;
  font-weight: 500;
}
.cart-actions--wholesale {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cart-actions--wholesale .btn-secondary {
  flex: 0 0 auto;
}
.cart-wsi-submit-btn {
  flex: 1 1 auto;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cart-wsi-disclaimer {
  font-size: 11px;
  color: #8a8a8a;
  line-height: 1.7;
  margin: 14px 2px 0;
}
.cart-wsi-success {
  background: #f0f7f6;
  border: 1px solid #278473;
  border-radius: 4px;
  padding: 22px 24px;
  text-align: center;
  /* 2026-05-27 fix: 水平置中（旧版は親 flex 内で左寄せだった）*/
  width: 100%;
  max-width: 480px;
  margin: 12px auto 0;
}
.cart-wsi-success-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #278473;
}
.cart-wsi-success-body {
  margin: 0;
  font-size: 13px;
  color: #3a3a3a;
  line-height: 1.8;
}
.cart-wsi-error {
  background: #fff4f4;
  border: 1px solid #d04545;
  border-radius: 4px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 12px;
  color: #a02020;
  line-height: 1.7;
}
.cart-wsi-error a { color: #a02020; text-decoration: underline; }
@media (max-width: 480px) {
  .cart-summary--wholesale { padding: 16px 18px; }
  .cart-summary-row--grand .cart-summary-value { font-size: 20px; }
  .cart-actions--wholesale { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════════
   お取引のご案内パネル — textile 商品下部（Round 84 / 2026-05-23）
   業者契約案内 + 生地サンプル を 2-card grid で並列表示
   Warm Paper × CIS Forest のトーン
   ════════════════════════════════════════════════════════════ */

.product-funnel-marker { display: none; }
.product-funnel-card   { display: none; }  /* 旧スタイル無効化 */

.product-trade-panel {
  margin: 32px 0 40px;
  padding: 0 24px;
}
.product-trade-panel-inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 880px) {
  .product-trade-panel-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* 業者ログイン時：funnel card は非表示、sample card のみ → 中央寄せ・狭め */
.product-trade-panel-inner--single {
  max-width: 600px;
}
@media (min-width: 880px) {
  .product-trade-panel-inner--single {
    grid-template-columns: 1fr;
  }
}

.trade-card {
  background: linear-gradient(180deg, #fdfbf6 0%, #faf6ec 100%);
  border: 1px solid rgba(39, 132, 115, 0.18);
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 2px 12px rgba(39, 132, 115, 0.06);
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

.trade-card--sample {
  background: linear-gradient(180deg, #f3f9f6 0%, #e8f3ee 100%);
  border-color: rgba(39, 132, 115, 0.22);
}

/* 業者ログイン時：左欄縮圖下に直接配置 */
.trade-card--gallery {
  margin-top: 18px;
  padding: 20px 22px;
}
.trade-card--gallery .trade-title { font-size: 15px; }
.trade-card--gallery .trade-lead  { font-size: 12.5px; margin-bottom: 14px; }
.trade-card--gallery .trade-note  { font-size: 11px; padding-top: 10px; }
.trade-card--gallery .trade-btn--sample {
  padding: 12px 16px;
  font-size: 12.5px;
  margin-bottom: 10px;
}

.trade-card .trade-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #278473;
  margin: 0 0 6px 0;
  font-family: 'Raleway', sans-serif;
}

.trade-card .trade-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a3a32;
  margin: 0 0 12px 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.trade-card .trade-lead {
  font-size: 13.5px;
  color: #5a6b65;
  line-height: 1.75;
  margin: 0 0 18px 0;
  flex: 1;
}
.trade-card .trade-lead strong {
  color: #1a3a32;
  font-weight: 600;
}

.trade-card .trade-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.trade-card .trade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 14px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.18s ease;
  letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;     /* 文字を折り返さない（CEO 要望）*/
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.2;
}

.trade-card .trade-btn--primary {
  background: #278473;
  color: #fff;
  box-shadow: 0 2px 8px rgba(39, 132, 115, 0.2);
}
.trade-card .trade-btn--primary:hover {
  background: #1f6a5c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39, 132, 115, 0.28);
}

.trade-card .trade-btn--outline {
  background: #fff;
  color: #278473;
  border: 1.5px solid rgba(39, 132, 115, 0.4);
}
.trade-card .trade-btn--outline:hover {
  border-color: #278473;
  background: rgba(39, 132, 115, 0.04);
}

.trade-card .trade-btn--sample {
  background: #278473;
  color: #fff;
  width: 100%;
  padding: 14px 18px;
  font-size: 13.5px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(39, 132, 115, 0.2);
}
.trade-card .trade-btn--sample:hover {
  background: #1f6a5c;
  transform: translateY(-1px);
}
.trade-card .trade-btn__icon {
  font-size: 16px;
  font-weight: 400;
}

.trade-card .trade-note {
  font-size: 11.5px;
  color: #8a9690;
  line-height: 1.7;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(39, 132, 115, 0.12);
}
.trade-card .trade-note a {
  color: #278473;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.trade-card .trade-note a:hover { color: #1f6a5c; }
.trade-card .trade-note strong {
  color: #278473;
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────
   D 級（KAIYO FABRIC）専用 + Japan Textile 散客遮罩
   2026-05-28 Round 91 Phase 2 — 商品頁
   ──────────────────────────────────────────────────────────── */

/* D 級 有進価 — KAIYO FABRIC 専用価ボックス */
.d-kaiyo-price-box {
  background: #f4f1ea;
  border-left: 3px solid #278473;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 18px 0 12px;
}
.d-kaiyo-label {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #278473;
  margin: 0 0 10px;
  font-weight: 600;
}
.d-kaiyo-per-m {
  margin: 0 0 6px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.d-kaiyo-per-m-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1f5c4f;
  letter-spacing: -0.01em;
}
.d-kaiyo-per-m-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #5a8077;
  font-weight: 500;
}
.d-kaiyo-roll-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #4a4a4a;
  margin: 6px 0;
  line-height: 1.5;
}
.d-kaiyo-roll-total {
  color: #278473;
  font-weight: 600;
  margin-left: 6px;
}
.d-kaiyo-tax-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #6b6b6b;
  margin: 8px 0 0;
}

/* D 級 無進価 — 見積依頼受付中ボックス */
.d-quote-request-box {
  background: #fef6e9;
  border-left: 3px solid #BA7517;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 18px 0 12px;
}
.d-quote-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #BA7517;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}
.d-quote-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #5a4a2e;
  line-height: 1.7;
  margin: 0;
}

/* D 級 見積依頼ボタン */
.cta-btn-quote-request {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font: 500 12px/1 'Raleway', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #ffffff;
  color: #1a3a32;
  border: 1.5px solid #1a3a32;
  border-radius: 6px;
  cursor: pointer;
  transition: all 250ms ease;
  margin-top: 10px;
}
.cta-btn-quote-request:hover {
  background: #1a3a32;
  color: #E1F5EE;
  border-color: #1a3a32;
  transform: translateY(-1px);
}
.d-quote-disclaimer {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  color: #6b6b6b;
  line-height: 1.6;
  margin: 8px 0 0;
  text-align: center;
}

/* Japan Textile — 散客 / A / B / C 級遮罩 */
.restricted-textile-notice {
  background: #f5f5f3;
  border-left: 3px solid #9aa19c;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 18px 0 12px;
}
.restricted-textile-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #4a4f4c;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.06em;
}
.restricted-textile-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #5e6360;
  line-height: 1.7;
  margin: 0;
}
.restricted-textile-body a {
  color: #278473;
  font-weight: 600;
  text-decoration: underline;
}
.restricted-textile-body a:hover { color: #1f6a5c; }
.cta-btn-restricted {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font: 500 12px/1 'Raleway', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #ffffff;
  color: #4a4f4c;
  border: 1.5px solid #9aa19c;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 250ms ease;
  margin-top: 10px;
}
.cta-btn-restricted:hover {
  background: #4a4f4c;
  color: #ffffff;
  border-color: #4a4f4c;
}

/* ============================================================
   GREENTEX HERO v3.5 — Globe Background Mode (2026-05-30)
   ============================================================
   把 hero-editorial 從「左字右輪播」改成「全寬 Globe 背景 + 文字疊上」
   Globe = WebGL Voronoi cells，BG #04130e + brand green cells
   文字: 純白 + paper-green hd-em，CTA 用玻璃風格 backdrop-blur
   ============================================================ */
body.template-index .hero-editorial.hero-globe-bg {
  /* v3.5.1 改回 grid 兩欄（左字疊 globe / 右單張圖漂浮） */
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  position: relative;
  min-height: 620px;
  padding: 0;
  background: #04130e;               /* WebGL fallback 底色 */
  border-bottom: 1px solid var(--gt-hairline-sage);
  overflow: hidden;
  isolation: isolate;
}
body.template-index .hero-editorial.hero-globe-bg::before { content: none; }

/* Globe 容器：撐滿 hero，最底層 */
body.template-index .hero-editorial.hero-globe-bg #greentex-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  background: #04130e;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;              /* listener 綁在 hero-editorial 上 */
}
body.template-index .hero-editorial.hero-globe-bg #greentex-globe canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: default;
  touch-action: pan-y;
}
body.template-index .hero-editorial.hero-globe-bg #greentex-globe[data-gtx-fallback] {
  background: linear-gradient(135deg, #5BB8A5 0%, #278473 45%, #1F6A5C 100%);
}

/* 漸層遮罩：讓文字可讀（從上輕透到下加深） */
body.template-index .hero-editorial.hero-globe-bg .hero-globe-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(4, 19, 14, 0.12) 0%,
    rgba(4, 19, 14, 0.32) 45%,
    rgba(4, 19, 14, 0.60) 100%);
  z-index: 1;
  pointer-events: none;
}

/* 文字 block：疊在 globe 上（grid 左欄） */
body.template-index .hero-editorial.hero-globe-bg .hero-text-block {
  position: relative;
  z-index: 2;
  /* padding/max-width 沿用 v3 基底 96px 64px */
}

/* Eyebrow */
body.template-index .hero-editorial.hero-globe-bg .hero-eyebrow-line {
  color: rgba(255, 255, 255, 0.88);
}
body.template-index .hero-editorial.hero-globe-bg .hero-eyebrow-line::before {
  background: rgba(255, 255, 255, 0.55);
}

/* 大字標題 — 純白 + 微微 shadow 增加對比 */
body.template-index .hero-editorial.hero-globe-bg .hero-display {
  color: #FFFFFF;
  text-shadow: 0 2px 28px rgba(4, 19, 14, 0.45);
}
body.template-index .hero-editorial.hero-globe-bg .hero-display .hd-em {
  color: #CFE4E0;                    /* paper green tint，森綠上有對比 */
  font-style: italic;
}

/* 日文 sub */
body.template-index .hero-editorial.hero-globe-bg .hero-sub-jp {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 18px rgba(4, 19, 14, 0.35);
}

/* CTA 玻璃風格 — 半透明白底 + backdrop-blur + 白邊 */
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--gt-forest);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(4, 19, 14, 0.18);
}
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-primary:hover {
  background: #FFFFFF;
  color: var(--gt-forest-deep);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4, 19, 14, 0.28);
}
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.9);
}
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-tertiary {
  background: rgba(207, 228, 224, 0.20);
  color: #FFFFFF;
  border: 1px solid rgba(207, 228, 224, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 .btn-tertiary:hover {
  background: #CFE4E0;
  color: var(--gt-forest-deep);
  border-color: #CFE4E0;
  transform: translateY(-2px);
}

/* CTA 區自身設 pointer-events，避免被 globe 容器影響 */
body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 a {
  position: relative;
  z-index: 3;
}

/* 右欄 feature — v3.5.1 改回顯示，wrapper 透明讓 globe 透出，圖漂浮卡片感 */
body.template-index .hero-editorial.hero-globe-bg .hero-feature-block {
  position: relative;
  z-index: 2;
  background: transparent;           /* 不要白底，globe 從周圍透出 */
  border-left: none;                 /* v3.5.2 拿掉中間分隔線 */
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  overflow: hidden;
}
/* tile 保留白底卡片感（漂浮在 globe 上） */
body.template-index .hero-editorial.hero-globe-bg .hero-feature-tile {
  background: var(--gt-pure);
  border-radius: var(--gt-radius-sm);
  box-shadow: 0 18px 48px rgba(4, 19, 14, 0.35);
}
/* dots 在 globe-bg 模式改成淺色（深 globe 上看得清） */
body.template-index .hero-editorial.hero-globe-bg .hero-feature-dots .hf-dot {
  background: rgba(255, 255, 255, 0.35);
}
body.template-index .hero-editorial.hero-globe-bg .hero-feature-dots .hf-dot.is-active {
  background: #FFFFFF;
}

/* Mobile 768 — v3.5.4 隱藏小字、圖片置中放大 */
@media (max-width: 768px) {
  body.template-index .hero-editorial.hero-globe-bg {
    min-height: auto;                /* 內容自撐 */
  }
  body.template-index .hero-editorial.hero-globe-bg .hero-text-block {
    padding: 56px 24px 24px;
    align-items: center;
    text-align: center;
  }
  /* 隱藏小字（手機畫面）— eyebrow / 日文副題 / 圖內 badge */
  body.template-index .hero-editorial.hero-globe-bg .hero-eyebrow-line,
  body.template-index .hero-editorial.hero-globe-bg .hero-sub-jp,
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-tile .ft-badge {
    display: none !important;
  }
  /* 標題置中 */
  body.template-index .hero-editorial.hero-globe-bg .hero-display {
    text-align: center;
    font-size: clamp(44px, 12vw, 64px);
  }
  /* CTA 置中 */
  body.template-index .hero-editorial.hero-globe-bg .hero-actions-v2 {
    justify-content: center;
  }
  /* 圖片區塊放大 + 置中 */
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-block {
    padding: 8px 24px 56px;
    min-height: 0;
  }
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-carousel {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    margin: 0 auto;
  }
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-dots {
    bottom: -22px;
  }
}

/* Mobile 480 */
@media (max-width: 480px) {
  body.template-index .hero-editorial.hero-globe-bg .hero-text-block {
    padding: 44px 20px 20px;
  }
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-block {
    padding: 4px 16px 48px;
  }
  body.template-index .hero-editorial.hero-globe-bg .hero-feature-carousel {
    max-width: 360px;
  }
}

/* ============================================================
   GREENTEX INFINITE CANVAS — Apple Freeform 風格 (2026-05-30)
   ============================================================
   /collections/textile (template_suffix=canvas) 走這套樣式
   核心：viewport fixed 蓋 below nav，stage transform pan/zoom
   ============================================================ */

/* 沉浸模式 body：藏 footer + 解除 main padding，nav 保留 */
body.canvas-mode {
  overflow: hidden;
  background: #FAFAF8;
}
body.canvas-mode .site-footer,
body.canvas-mode footer,
body.canvas-mode .footer,
body.canvas-mode .gt-footer { display: none !important; }
body.canvas-mode main,
body.canvas-mode .main-content,
body.canvas-mode #MainContent { padding: 0 !important; margin: 0 !important; }

/* Viewport — fixed 全寬蓋住 below nav + sub-bar */
.canvas-viewport {
  position: fixed;
  top: 80px;                        /* nav 高度 (sub-bar 在 viewport 內 fixed) */
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(39, 132, 115, 0.04), transparent 60%),
    /* Dot grid — Apple Freeform 風格淡灰點 */
    radial-gradient(circle, rgba(120, 130, 125, 0.28) 1.5px, transparent 1.6px) #FAFAF8;
  background-size: auto, 26px 26px;
  background-position: 0 0, 0 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.canvas-viewport.is-dragging { cursor: grabbing; }
.canvas-viewport.is-dragging .fabric-tile { transition: none; }

/* Stage — 被 transform 控制的大畫布 */
.canvas-stage {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  will-change: transform;
  /* v5.1: 拿掉 contain — 它可能限制 mirror clone tile（跨 stage 寬高邊界）的 layout */
  overflow: visible;
}

/* 布料卡片 — v14 恢復 220×220 (CEO 要的大小) */
.fabric-tile {
  position: absolute !important;
  display: block !important;
  width: 220px !important;
  height: 220px !important;
  box-sizing: border-box !important;
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  -webkit-user-drag: none;
  user-drag: none;
}
.fabric-tile img {
  -webkit-user-drag: none;
  user-drag: none;
}
  box-shadow:
    0 2px 6px rgba(20, 35, 30, 0.08),
    0 12px 32px rgba(20, 35, 30, 0.12);
  overflow: hidden;
  text-decoration: none;
  transform: rotate(var(--tile-rot, 0deg));
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    z-index 0s;
  cursor: pointer;
}
.fabric-tile img,
.fabric-tile .tile-placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;          /* v14 跟 ERP 一樣顯示整張 pattern 不裁切 */
  background: #FFFFFF;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.fabric-tile .tile-placeholder {
  background: linear-gradient(135deg, #E8EDE9 0%, #D4DCD7 100%);
}
.fabric-tile .tile-label {
  position: absolute;
  left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 4px;
  font: 500 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.18em;
  color: var(--gt-ink, #1A1A1A);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 280ms, transform 280ms;
  pointer-events: none;
}
/* v10: 拿掉 hover scale/translate — CEO 不要 tile 變大效果 */
.fabric-tile:hover {
  box-shadow:
    0 6px 16px rgba(20, 35, 30, 0.14),
    0 24px 56px rgba(20, 35, 30, 0.22);
}
.fabric-tile:hover .tile-label {
  opacity: 1;
  transform: translateY(0);
}

/* 右上「⋮⋮」拖移提示 icon — hover 才顯示，告訴 user「長按可移動」 */
.tile-grab-hint {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 4px;
  color: #6B6B6B;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms, transform 220ms;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* v7: clicked tile 反饋（drawer 打開時亮起綠 ring，但不放大） */
.fabric-tile.is-tile-active {
  box-shadow:
    0 0 0 3px var(--gt-forest, #278473),
    0 12px 32px rgba(20, 35, 30, 0.20) !important;
  z-index: 998 !important;
}

/* ─── Tile Drawer (v11 緊貼 tile 下方等寬 220px，在 stage 內) ─── */
.tile-drawer {
  position: absolute;
  /* left/top/width inline by JS */
  background: #FFFFFF;
  border-radius: 0 0 8px 8px;
  border-top: 3px solid var(--gt-forest, #278473);
  box-shadow:
    0 4px 12px rgba(20, 35, 30, 0.10),
    0 16px 36px rgba(20, 35, 30, 0.22);
  padding: 12px 12px 14px;
  z-index: 1000;
  pointer-events: auto;
  animation: tdSlideIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}
@keyframes tdSlideIn {  /* legacy v7/v8 — kept for backward compat, unused in v9 */
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.td-close {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(20, 35, 30, 0.06);
  border: none;
  border-radius: 50%;
  font: 300 14px/1 var(--gt-font-sans, sans-serif);
  color: #6B6B6B;
  cursor: pointer;
  transition: background 180ms;
  z-index: 2;
}
.td-close:hover { background: rgba(20, 35, 30, 0.12); color: var(--gt-ink, #1A1A1A); }

.td-code {
  font: 500 9px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.2em;
  color: var(--gt-forest, #278473);
  margin: 0 0 4px;
  text-transform: uppercase;
}
.td-title {
  font: 400 14px/1.25 var(--gt-font-display, 'Cormorant Garamond', serif);
  color: var(--gt-ink, #1A1A1A);
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  padding-right: 24px;
  word-break: keep-all;
}

/* v11: swatch 改成圓形小 dot，多個 wrap 一排 */
.td-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 0 6px;
  border-bottom: 1px solid rgba(20, 35, 30, 0.06);
  max-height: 110px;
  overflow-y: auto;
}
.td-swatches:empty { display: none; }
.td-swatch {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  padding: 0;
  background: #F4F4F2;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms, transform 160ms;
}
.td-swatch:hover { border-color: rgba(39, 132, 115, 0.6); }
.td-swatch.is-active {
  border-color: var(--gt-forest, #278473);
  transform: scale(1.12);
}
.td-swatch img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}
.td-swatch-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #E8EDE9 0%, #D4DCD7 100%);
  display: block;
}
.td-swatch-label { display: none; }   /* 小 dot 不顯 label，title attr 顯示 hover tooltip */

.td-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 10px;
}
.td-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.td-meta-label {
  font: 400 8.5px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.18em;
  color: #9AA19E;
  text-transform: uppercase;
}
.td-meta-item span:last-child {
  font: 400 11.5px/1.2 var(--gt-font-jp, 'Noto Sans JP', sans-serif);
  color: var(--gt-ink, #1A1A1A);
  text-align: right;
}
.td-price {
  font-weight: 500 !important;
  color: var(--gt-forest-deep, #1F6A5C) !important;
}

.td-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  font: 500 9.5px/1 var(--gt-font-sans, 'Raleway', sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms;
  white-space: nowrap;
}
.td-btn-primary {
  background: var(--gt-forest, #278473);
  color: #FFFFFF;
  border-color: var(--gt-forest, #278473);
}
.td-btn-primary:hover:not(:disabled) {
  background: var(--gt-forest-deep, #1F6A5C);
  border-color: var(--gt-forest-deep, #1F6A5C);
  transform: translateY(-1px);
}
.td-btn-primary:disabled { opacity: 0.6; cursor: progress; }
.td-btn-price {
  margin-left: auto;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 400;
  letter-spacing: 0.08em;
}
.td-btn-ghost {
  background: transparent;
  color: var(--gt-forest, #278473);
  border-color: var(--gt-forest, #278473);
}
.td-btn-ghost:hover { background: rgba(39, 132, 115, 0.08); }
.td-btn-link {
  background: transparent;
  color: #6B6B6B;
  border: 1px solid rgba(20, 35, 30, 0.12);
  padding: 7px 10px;
  font-size: 8.5px;
  letter-spacing: 0.08em;
}
.td-btn-link:hover { color: var(--gt-forest, #278473); }

.td-feedback {
  margin: 10px 0 0;
  font: 400 11px/1.4 var(--gt-font-jp, 'Noto Sans JP', sans-serif);
  color: var(--gt-forest, #278473);
}
.td-feedback a { color: inherit; }
.td-feedback .loading-dot {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: loadPulse 1.2s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
}

/* v4 arming state：pointerdown 200ms 後輕微浮起，告訴 user「準備進入移動」 */
.fabric-tile.is-arming {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  transform: rotate(var(--tile-rot, 0deg)) scale(1.04) translateY(-3px) !important;
  box-shadow:
    0 0 0 2px rgba(39, 132, 115, 0.45),
    0 16px 36px rgba(20, 35, 30, 0.20) !important;
}
.fabric-tile.is-arming .tile-grab-hint {
  opacity: 1;
  transform: translateY(0);
  background: rgba(39, 132, 115, 0.95);
  color: #FFFFFF;
}

/* v5 — 拿掉 tile 拖移功能，hide grab hint icon */
body.canvas-mode .tile-grab-hint { display: none; }
/* mirror clone：跟原始 tile 共用樣式，繼承 .fabric-tile */
.fabric-tile.is-mirror { /* 視覺一致，無 override */ }

/* ─── Quick View Bottom Sheet (v5) ─── */
.canvas-quickview {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.canvas-quickview[hidden] { display: none; }
.qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 30, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
  animation: qvFadeIn 240ms ease;
}
.qv-card {
  position: relative;
  pointer-events: auto;
  background: #FFFFFF;
  border-radius: 18px 18px 0 0;
  width: min(720px, 100%);
  max-height: 82vh;
  overflow: auto;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 -16px 40px rgba(20, 35, 30, 0.18);
  animation: qvSlideUp 340ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes qvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes qvSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.qv-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(20, 35, 30, 0.06);
  border: none;
  border-radius: 50%;
  font: 300 22px/1 var(--gt-font-sans, sans-serif);
  color: #6B6B6B;
  cursor: pointer;
  transition: background 180ms, color 180ms;
  z-index: 2;
}
.qv-close:hover { background: rgba(20, 35, 30, 0.12); color: var(--gt-ink, #1A1A1A); }

.qv-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;            /* v6 正方形 */
  background: #F4F4F2;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}
.qv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qv-image-overlay {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(20, 35, 30, 0.72);
  color: #FFFFFF;
  padding: 7px 12px;
  border-radius: 4px;
  font: 500 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms;
}
.qv-image-wrap:hover .qv-image-overlay { opacity: 1; }

.qv-body { display: flex; flex-direction: column; gap: 10px; }
.qv-code {
  font: 500 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.25em;
  color: var(--gt-forest, #278473);
  margin: 0;
  text-transform: uppercase;
}
.qv-title {
  font: 400 24px/1.25 var(--gt-font-display, 'Cormorant Garamond', serif);
  color: var(--gt-ink, #1A1A1A);
  letter-spacing: -0.01em;
  margin: 0;
}

/* v6 顏色選擇 swatch */
.qv-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 0;
}
.qv-variants:empty { display: none; }
.qv-swatch {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  width: 56px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 180ms, transform 180ms;
}
.qv-swatch:hover { border-color: rgba(39, 132, 115, 0.45); }
.qv-swatch.is-active {
  border-color: var(--gt-forest, #278473);
  transform: translateY(-2px);
}
.qv-swatch img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.qv-swatch-placeholder {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #E8EDE9 0%, #D4DCD7 100%);
  border-radius: 4px;
  display: block;
}
.qv-swatch-label {
  font: 400 9.5px/1.2 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.08em;
  color: #6B6B6B;
  text-transform: uppercase;
  max-width: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qv-swatch.is-active .qv-swatch-label { color: var(--gt-forest, #278473); }
.qv-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 35, 30, 0.08);
  margin-top: 4px;
}
.qv-meta-item { display: flex; flex-direction: column; gap: 4px; }
.qv-meta-label {
  font: 400 9.5px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.22em;
  color: #9AA19E;
  text-transform: uppercase;
}
.qv-material, .qv-price {
  font: 400 14px/1.2 var(--gt-font-jp, 'Noto Sans JP', sans-serif);
  color: var(--gt-ink, #1A1A1A);
}
.qv-price { font-weight: 500; color: var(--gt-forest-deep, #1F6A5C); }

.qv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.qv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  font: 500 11.5px/1 var(--gt-font-sans, 'Raleway', sans-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.qv-btn-primary {
  background: var(--gt-forest, #278473);
  color: #FFFFFF;
  border-color: var(--gt-forest, #278473);
  flex: 1 1 240px;
}
.qv-btn-primary:hover:not(:disabled) {
  background: var(--gt-forest-deep, #1F6A5C);
  border-color: var(--gt-forest-deep, #1F6A5C);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(39, 132, 115, 0.28);
}
.qv-btn-primary:disabled { opacity: 0.6; cursor: progress; }
.qv-btn-ghost {
  background: transparent;
  color: var(--gt-forest, #278473);
  border-color: var(--gt-forest, #278473);
  flex: 1 1 160px;
}
.qv-btn-ghost:hover { background: rgba(39, 132, 115, 0.08); }
.qv-btn-link {
  background: transparent;
  color: #6B6B6B;
  border: none;
  padding: 13px 8px;
}
.qv-btn-link:hover { color: var(--gt-forest, #278473); }

.qv-feedback {
  margin: 0;
  font: 400 12.5px/1.5 var(--gt-font-jp, 'Noto Sans JP', sans-serif);
  color: var(--gt-forest, #278473);
}
.qv-feedback a { color: inherit; }
.qv-feedback .loading-dot {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: loadPulse 1.2s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
}

body.qv-open { overflow: hidden; }

@media (max-width: 600px) {
  .qv-card { padding: 22px 18px 28px; max-height: 90vh; gap: 14px; }
  .qv-image-wrap { aspect-ratio: 4 / 3; }
  .qv-title { font-size: 20px; }
  .qv-actions { flex-direction: column; }
  .qv-btn-primary, .qv-btn-ghost, .qv-btn-link { width: 100%; flex: 1 1 auto; }
}

/* HUD — 右下浮動 zoom 控制 */
.canvas-hud {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 35, 30, 0.08);
  border-radius: 14px;
  padding: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(20, 35, 30, 0.10);
  z-index: 100;
}
.hud-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  font: 400 18px/1 var(--gt-font-sans, 'Raleway', sans-serif);
  color: var(--gt-ink, #1A1A1A);
  cursor: pointer;
  transition: background 200ms;
}
.hud-btn:hover { background: rgba(39, 132, 115, 0.10); color: var(--gt-forest, #278473); }
.hud-btn:active { background: rgba(39, 132, 115, 0.18); }
.hud-scale {
  text-align: center;
  font: 500 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.15em;
  color: #6B6B6B;
  padding: 4px 0 2px;
  border-top: 1px solid rgba(20, 35, 30, 0.06);
  margin-top: 2px;
}

/* Hint — 底部中央提示文字 */
.canvas-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 35, 30, 0.08);
  border-radius: 999px;
  font: 400 11px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.12em;
  color: #6B6B6B;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: 100;
  transition: opacity 600ms;
}
.canvas-hint.is-fading { opacity: 0; }
.canvas-hint .ch-key {
  display: inline-block;
  padding: 3px 7px;
  background: rgba(39, 132, 115, 0.12);
  color: var(--gt-forest, #278473);
  border-radius: 4px;
  font-weight: 500;
}

/* Intro — v23.5 (CEO 2026-06-01): 初始正中央顯示 4 秒後自動淡出 */
.canvas-intro {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 90;
  transition: opacity 800ms, transform 800ms;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 48px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}
.canvas-intro.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(-20px);
}
.canvas-intro .intro-eyebrow {
  font: 400 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.35em;
  color: var(--gt-forest, #278473);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.canvas-intro .intro-title {
  font: 300 42px/1.1 var(--gt-font-display, 'Cormorant Garamond', serif);
  color: var(--gt-ink, #1A1A1A);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.canvas-intro .intro-desc {
  font: 300 13px/1.7 var(--gt-font-jp, 'Noto Sans JP', sans-serif);
  color: #6B6B6B;
  max-width: 500px;
  margin: 0 auto 6px;
}
.canvas-intro .intro-cta {
  font: 400 10px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.2em;
  color: #9AA19E;
  margin: 14px 0 0;
  text-transform: uppercase;
}

/* ─── Sub-bar (v2 / v23.5) — Taiwan/Japan tab + 廠商 + 柄 filter chips
   v23.5 CEO 2026-06-01: top:80→60 貼齊主選欄；csb-right 可換行裝 2 排 filter
─── */
.canvas-subbar {
  position: fixed;
  top: 60px;                        /* 貼齊 .nav (height 60px) 下方 */
  left: 0; right: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 35, 30, 0.08);
  z-index: 95;
  font: 400 10.5px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.14em;
  user-select: none;
}
.csb-right { flex-wrap: wrap; row-gap: 6px; column-gap: 16px; justify-content: flex-end; }
.csb-filters--mfr .csb-flabel::before { content: ""; }  /* placeholder hook */
.csb-left { display: flex; align-items: center; gap: 6px; }
.csb-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  color: #6B6B6B;
  text-transform: uppercase;
  transition: all 200ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.csb-tab:hover {
  color: var(--gt-forest, #278473);
  background: rgba(39, 132, 115, 0.06);
}
.csb-tab.is-active {
  background: var(--gt-forest, #278473);
  color: #FFFFFF;
  border-color: var(--gt-forest, #278473);
}
.csb-tab .csb-flag { font-size: 13px; line-height: 1; }
.csb-right { display: flex; align-items: center; gap: 16px; }
.csb-filters { display: flex; align-items: center; gap: 4px; }
.csb-flabel {
  color: #9AA19E;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  margin-right: 6px;
  text-transform: uppercase;
}
.csb-chip {
  padding: 7px 13px;
  background: transparent;
  border: 1px solid rgba(20, 35, 30, 0.12);
  border-radius: 999px;
  color: #6B6B6B;
  font: inherit;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.csb-chip:hover {
  border-color: var(--gt-forest, #278473);
  color: var(--gt-forest, #278473);
}
.csb-chip.is-active {
  background: var(--gt-forest, #278473);
  color: #FFFFFF;
  border-color: var(--gt-forest, #278473);
}
.csb-reset {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid rgba(20, 35, 30, 0.12);
  border-radius: 999px;
  color: #6B6B6B;
  font: inherit;
  cursor: pointer;
  transition: all 180ms;
}
.csb-reset:hover {
  border-color: var(--gt-forest, #278473);
  color: var(--gt-forest, #278473);
}
.csb-reset.is-pulsing {
  animation: csbPulse 600ms ease;
}
@keyframes csbPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); background: rgba(39, 132, 115, 0.15); }
  100% { transform: scale(1); }
}

/* ─── v23.6 (CEO 2026-06-01): 廠商 dropdown / 新品 chip / 列表模式切換按鈕 ─── */
.csb-select {
  padding: 6px 28px 6px 12px;
  background: #fff;
  border: 1px solid rgba(20, 35, 30, 0.18);
  border-radius: 999px;
  color: #1a1a1a;
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23278473' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 180ms;
}
.csb-select:hover { border-color: var(--gt-forest, #278473); }
.csb-select:focus { outline: none; border-color: var(--gt-forest, #278473); box-shadow: 0 0 0 2px rgba(39,132,115,0.15); }

.csb-new-chip {
  background: linear-gradient(135deg, #FFEFD5 0%, #FFD9A8 100%);
  border-color: #BA7517;
  color: #BA7517;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.csb-new-chip:hover { background: linear-gradient(135deg, #FFE4B8 0%, #FFCC8A 100%); }
.csb-new-chip.is-active {
  background: #BA7517 !important;
  color: #fff !important;
  border-color: #BA7517 !important;
}

.csb-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(20, 35, 30, 0.12);
  border-radius: 999px;
  background: rgba(39, 132, 115, 0.04);
  color: var(--gt-forest, #278473);
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms;
  margin-left: 8px;
}
.csb-view-toggle:hover {
  background: var(--gt-forest, #278473);
  color: #fff;
  border-color: var(--gt-forest, #278473);
}

/* v23.5: subbar 貼齊 nav 後不再需要強制下移 intro（intro 改成正中央顯示） */
.canvas-viewport:has(.canvas-subbar) .canvas-hint { bottom: 22px; }

/* 載入後續 product 進度條（右下、HUD 上方） */
.canvas-loading {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 170px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 35, 30, 0.08);
  border-radius: 999px;
  font: 400 10.5px/1 var(--gt-font-mono, 'Space Mono', monospace);
  letter-spacing: 0.12em;
  color: #6B6B6B;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(20, 35, 30, 0.10);
  z-index: 100;
  text-transform: uppercase;
}
.canvas-loading.is-visible { display: inline-flex; }
.canvas-loading .loading-dot {
  width: 8px; height: 8px;
  background: var(--gt-forest, #278473);
  border-radius: 50%;
  animation: loadPulse 1.2s ease-in-out infinite;
}
@keyframes loadPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* tile 被 filter 隱藏 */
.fabric-tile.is-filtered-out {
  opacity: 0.08;
  filter: grayscale(1) blur(2px);
  pointer-events: none;
  transition:
    opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* tile 拖曳中 visual feedback */
.fabric-tile.is-tile-dragging {
  transition: none !important;
  transform: rotate(0deg) scale(1.12);
  box-shadow:
    0 0 0 3px var(--gt-forest, #278473),
    0 12px 32px rgba(20, 35, 30, 0.18),
    0 30px 60px rgba(20, 35, 30, 0.28);
  z-index: 9999 !important;
  cursor: grabbing;
}
.fabric-tile.is-tile-dragging .tile-label { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
  .canvas-viewport { top: 64px; }
  .canvas-subbar { top: 56px; min-height: 44px; padding: 4px 12px; font-size: 9.5px; gap: 8px; }
  .csb-tab { padding: 6px 10px; gap: 6px; }
  .csb-tab .csb-flag { font-size: 11px; }
  .csb-flabel { display: none; }
  .csb-filters { gap: 3px; overflow-x: auto; max-width: 50vw; -webkit-overflow-scrolling: touch; }
  .csb-filters::-webkit-scrollbar { display: none; }
  .csb-chip { padding: 5px 10px; }
  .csb-reset { padding: 5px 8px; }
  .canvas-viewport:has(.canvas-subbar) .canvas-intro { top: 66px; }
  .canvas-intro { top: 70px; }
  .canvas-intro .intro-title { font-size: 30px; }
  .canvas-intro .intro-desc { font-size: 12px; max-width: 86vw; }
  .canvas-hud { right: 12px; bottom: 12px; }
  .canvas-hint { font-size: 10px; padding: 8px 12px; bottom: 16px; }
}
