:root {
  --bg: #f5efe7;
  --bg-soft: #fcf8f3;
  --surface: rgba(255, 252, 247, 0.86);
  --surface-strong: #fffdf9;
  --line: rgba(95, 78, 65, 0.12);
  --line-strong: rgba(95, 78, 65, 0.22);
  --ink: #30251f;
  --ink-soft: #4a3c34;
  --muted: #6b5e55;
  --accent: #8d4f3f;
  --accent-deep: #6f3d2f;
  --accent-soft: #f1ddd4;
  --sage: #6f7f71;
  --sage-soft: #dde6db;
  --gold: #85622a; /* 元のモックは #b68d49 だが WCAG AA を満たすため濃度を上げた（背景 #f5efe7 上で 4.87:1） */
  --shadow-sm: 0 14px 36px rgba(88, 63, 44, 0.08);
  --shadow: 0 28px 80px rgba(88, 63, 44, 0.12);
  --shadow-lg: 0 36px 96px rgba(88, 63, 44, 0.16);

  --heading-font: "Iowan Old Style", "Palatino Linotype", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --body-font: "Avenir Next", "Hiragino Sans", "Yu Gothic", "Helvetica Neue", sans-serif;
  --max-width: 1180px;
  --section-gap: clamp(1.8rem, 3.6vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--body-font);
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.82), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(221, 230, 219, 0.52), transparent 26%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
iframe { border: 0; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

/* skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  z-index: 100;
  transition: top 180ms ease;
}
.skip-link:focus { top: 1rem; }

.page-shell {
  position: relative;
  overflow: hidden;
}

/* paper grain overlay — extremely subtle, almost invisible. ほぼ気付かない程度 */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.35;
  z-index: -1;
}

.page-shell::before {
  top: -10rem;
  right: -8rem;
  background: rgba(225, 210, 198, 0.9);
}

.page-shell::after {
  bottom: -8rem;
  left: -10rem;
  background: rgba(212, 225, 214, 0.84);
}

/* container */
.site-header,
.hero,
.section,
.site-footer,
.purchase-hero {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0 auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1;
}

.brand-mark {
  font-family: var(--heading-font);
  font-size: 1.9rem;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-size: 0.94rem;
}

.main-nav a {
  position: relative;
  padding: 0.2rem 0;
  color: rgba(48, 37, 31, 0.92);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(141, 79, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(141, 79, 63, 0.34);
  background: rgba(255, 255, 255, 0.85);
}

/* hero */
.hero {
  display: block;
  padding: 2.2rem 0 0;
}

/* visually hidden（スクリーンリーダー用） */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ヘッダー画像（ベルト＋インナーパンツの 2 枚組） */
.hero-hero-image {
  margin: 0 0 0.8rem;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.hero-hero-image > img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-hero-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: linear-gradient(180deg, #f5efe7, #f0e7da);
}

.hero-hero-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.hero-hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-hero-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -8px rgba(48, 37, 31, 0.45);
}

@media (max-width: 540px) {
  .hero-hero-pair {
    gap: 3px;
  }
  .hero-hero-card {
    aspect-ratio: 1 / 1.15;
  }
  .hero-hero-badge {
    bottom: 8px;
    left: 8px;
    padding: 0.22rem 0.6rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }
}

.hero-copy {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-copy::before {
  top: 1.5rem;
  left: 4%;
  width: 14rem;
  height: 14rem;
  background: rgba(224, 236, 223, 0.82);
}

.hero-copy::after {
  right: 6%;
  bottom: 1.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(241, 221, 212, 0.74);
}

.eyebrow,
.section-label,
.video-kicker,
.cta-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.cta-band h3,
.purchase-hero h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.01em;
  /* CJK 行頭・行末禁則を厳しく。語の途中で折り返しにくくする */
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

/* Chrome 119+ / Safari 17.4+ で日本語の文節単位折り返しを使う */
@supports (word-break: auto-phrase) {
  .hero h1,
  .section-head h2,
  .cta-band h3,
  .purchase-hero h1 {
    word-break: auto-phrase;
  }
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  line-height: 1.04;
}

.hero h1 .stroke {
  position: relative;
  display: inline-block;
}

.hero h1 .stroke::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.05em;
  height: 0.18em;
  background: rgba(141, 79, 63, 0.18);
  z-index: -1;
}

.hero-text,
.section-head p,
.theory-copy p,
.video-meta p,
.check-card p,
.compare-block li,
.talk-track p,
.selector-intro p,
.selector-card li,
.selector-note,
.benefit-card p,
.product-card dd,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 1.35rem auto 0;
  font-size: 1.05rem;
  text-align: center;
}

.hero-guide {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* hero の取り上げ内容リスト — 中央揃え */
.hero-list {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
}

.hero-list li {
  position: relative;
  padding: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-list li::before {
  content: none;
}

/* hero points 6-card grid */
.hero-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-point {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 13.5rem;
  padding: 1.45rem 1.3rem 1.5rem;
  border: 1px solid rgba(95, 78, 65, 0.1);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.hero-point::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  right: 1.3rem;
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  transition: width 220ms ease, opacity 220ms ease;
}

.hero-point:hover,
.hero-point:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(141, 79, 63, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 44px rgba(88, 63, 44, 0.12);
}

.hero-point:hover::after,
.hero-point:focus-visible::after {
  width: 2.5rem;
  opacity: 0.8;
}

.hero-point strong,
.check-number,
.product-kind,
.posture-tag,
.selector-badge {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-point-title {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.hero-point-text {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-point:nth-child(1) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 239, 233, 0.92)); }
.hero-point:nth-child(2) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 240, 0.9)); }
.hero-point:nth-child(3) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 236, 249, 0.84)); }
.hero-point:nth-child(4) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 241, 232, 0.9)); }
.hero-point:nth-child(5) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 243, 248, 0.88)); }
.hero-point:nth-child(6) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 241, 232, 0.9)); }

.video-meta p,
.site-footer p {
  margin: 0.65rem 0 0;
}

/* shared card surface */
.card-surface {
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* sections */
.section {
  padding: var(--section-gap) 0 0;
  scroll-margin-top: 6rem;
}

.section-head {
  max-width: 46rem;
}

.section-head h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.section-head p {
  margin: 1rem 0 0;
}

.theory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 2rem;
}

.theory-copy {
  padding: 1.7rem;
}

.theory-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.theory-points > li {
  position: relative;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
}

.theory-points > li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.theory-point-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.theory-points > li > p:not(.theory-point-label) {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.theory-copy h3,
.posture-card h3,
.benefit-card h3,
.video-meta h3,
.check-card h3,
.selector-card h3,
.product-card h3 {
  margin: 0.65rem 0 0;
  font-size: 1.18rem;
  letter-spacing: 0.005em;
}

.posture-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.posture-card {
  padding: 1.6rem;
  border-radius: 1.8rem;
}

.posture-card-bad {
  background: linear-gradient(180deg, rgba(251, 235, 229, 0.9), rgba(255, 250, 247, 0.9));
  border: 1px solid rgba(141, 79, 63, 0.14);
}

.posture-card-good {
  background: linear-gradient(180deg, rgba(232, 241, 233, 0.92), rgba(255, 255, 253, 0.94));
  border: 1px solid rgba(111, 127, 113, 0.16);
}

.posture-card ul,
.compare-block ul,
.selector-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}

.benefit-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(141, 79, 63, 0.14), rgba(182, 141, 73, 0.18));
  color: var(--accent);
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* generic inline SVG icon styles */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.inspection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.4rem;
}

.inspection-flow + .inspection-layout {
  margin-top: 1.4rem;
}

.video-card {
  padding: 1.7rem;
}

.video-shell {
  overflow: hidden;
  border-radius: 1.4rem;
  aspect-ratio: 16 / 9;
  background: #e9e1d7;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
}

/* youtube facade — load iframe only after click, avoiding 3rd-party cookies until consent */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  isolation: isolate;
}

.video-facade .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 380ms ease, filter 380ms ease;
}

.video-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 37, 31, 0) 30%, rgba(48, 37, 31, 0.32) 100%);
  pointer-events: none;
  transition: background 220ms ease;
  z-index: 1;
}

.video-facade .video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.94);
  color: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px rgba(48, 37, 31, 0.32);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.video-facade .video-play svg {
  width: 1.6rem;
  height: 1.6rem;
  /* visually center the play triangle */
  margin-left: 0.18rem;
}

.video-facade:hover,
.video-facade:focus-visible {
  outline: none;
}

.video-facade:hover .video-thumb,
.video-facade:focus-visible .video-thumb {
  transform: scale(1.04);
  filter: brightness(0.94);
}

.video-facade:hover .video-play,
.video-facade:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff7f2;
}

.video-facade:focus-visible {
  box-shadow: 0 0 0 3px rgba(141, 79, 63, 0.34);
  border-radius: 1.4rem;
}

.video-meta {
  margin-top: 1.25rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.text-link svg {
  width: 0.95em;
  height: 0.95em;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--accent);
}

.checklist-stack {
  display: grid;
  gap: 0.9rem;
}

.check-card {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.check-card p + p {
  margin-top: 0.65rem;
}

.check-points {
  margin: 0.55rem 0 0.75rem;
  padding: 0.55rem 0.9rem;
  list-style: none;
  border-radius: 0.9rem;
  background: rgba(245, 239, 231, 0.55);
  border: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.check-points li {
  position: relative;
  padding-left: 1rem;
}

.check-points li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* 検査項目: 動画下に横並び、入りきらない分は横スクロールで */
.video-card-solo {
  margin-top: 1.4rem;
  padding: 1.7rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.checklist-carousel {
  display: flex;
  gap: 1rem;
  margin: 1.4rem 0 0;
  padding: 0.4rem 0.4rem 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 79, 63, 0.32) transparent;
}

.checklist-carousel::-webkit-scrollbar { height: 6px; }
.checklist-carousel::-webkit-scrollbar-track { background: transparent; }
.checklist-carousel::-webkit-scrollbar-thumb {
  background: rgba(141, 79, 63, 0.28);
  border-radius: 999px;
}

.checklist-carousel .check-card {
  flex: 0 0 calc(85% - 0.5rem);
  scroll-snap-align: start;
  margin: 0;
}

@media (min-width: 640px) {
  .checklist-carousel .check-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (min-width: 980px) {
  .checklist-carousel .check-card {
    flex: 0 0 calc(33.333% - 0.667rem);
  }
}

@media (min-width: 1180px) {
  .checklist-carousel .check-card {
    flex: 0 0 calc(25% - 0.75rem);
  }
}

/* ベルト着用前/着用/外しの 3 ステップフロー（重要ガイド） */
.inspection-flow {
  margin-top: 2rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(250, 244, 232, 0.88));
}

.inspection-flow-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inspection-flow h3 {
  margin: 0.4rem 0 1rem;
  font-size: 1.2rem;
}

.inspection-flow-steps {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.inspection-flow-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-weight: 600;
}

.flow-num {
  font-family: var(--heading-font, inherit);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 1.2em;
}

.flow-text {
  font-size: 1.02rem;
  color: var(--ink);
}

.inspection-flow-callout {
  position: relative;
  padding: 1.2rem 1.3rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 240, 220, 0.95), rgba(255, 224, 210, 0.92));
  border: 1.5px solid rgba(204, 121, 85, 0.45);
  box-shadow: 0 4px 18px -10px rgba(150, 78, 40, 0.45);
}

.inspection-flow-callout-tag {
  display: inline-block;
  margin: 0;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--accent, #b15a32);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inspection-flow-callout-title {
  margin: 0.5rem 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.inspection-flow-callout p {
  margin: 0.55rem 0 0;
  line-height: 1.85;
  color: var(--ink);
}

/* 装着方法のステップ */
.wearing-steps {
  list-style: none;
  margin: 0.7rem 0 0.6rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.wearing-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
}

.wearing-step-num {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 1.2em;
}

.wearing-warning {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.8rem;
  border-left: 3px solid var(--accent, #b15a32);
  font-size: 0.82rem;
  color: var(--muted, #777);
  line-height: 1.7;
  background: rgba(255, 244, 235, 0.6);
  border-radius: 0 0.5rem 0.5rem 0;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1.7rem;
}

.compare-block {
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.65);
}

.compare-block-highlight {
  background: linear-gradient(180deg, rgba(232, 241, 233, 0.86), rgba(255, 255, 253, 0.94));
}

.compare-label {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.talk-track {
  padding: 1.2rem;
  border-radius: 1.3rem;
  background: linear-gradient(180deg, rgba(250, 239, 233, 0.82), rgba(255, 255, 255, 0.72));
}

/* wearing */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.guide-card,
.ems-figure {
  overflow: hidden;
}

.guide-card img,
.ems-figure img {
  width: 100%;
  height: auto;
  background: #fff;
}

.guide-copy {
  padding: 1.3rem 1.4rem 1.5rem;
}

.guide-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-copy h3,
.ems-step h3 {
  margin: 0.65rem 0 0;
  font-size: 1.16rem;
}

.guide-copy p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

/* wearing — video + lead photo, gallery, optional diagrams */
.wearing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.4rem;
}

@media (max-width: 1080px) {
  .wearing-layout {
    grid-template-columns: 1fr;
  }
}

/* wearing — 5サブセクション */
.wearing-block {
  position: relative;
  margin-top: 1.4rem;
  padding: 1.7rem 1.6rem 1.5rem;
  border-radius: 1.6rem;
}

.wearing-block-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 0 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.wearing-block h3 {
  margin: 0 0 0.9rem;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.wearing-block-figure {
  max-width: 320px;
  margin: 0 auto 1rem;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
}

.wearing-block-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.wearing-ng-list,
.wearing-points-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.wearing-ng-list li,
.wearing-points-list li {
  padding: 0.7rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.7;
}

.wearing-ng-list li {
  border-left: 3px solid var(--accent);
}

.wearing-points-list li {
  border-left: 3px solid var(--gold, #b08948);
}

/* 横スクロール・スワイプで切り替えるカルーセル */
.wearing-gallery {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
  padding: 0.4rem 0.4rem 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 79, 63, 0.32) transparent;
}

.wearing-gallery::-webkit-scrollbar { height: 6px; }
.wearing-gallery::-webkit-scrollbar-track { background: transparent; }
.wearing-gallery::-webkit-scrollbar-thumb {
  background: rgba(141, 79, 63, 0.28);
  border-radius: 999px;
}

.wearing-gallery figure {
  flex: 0 0 calc(75% - 0.225rem); /* mobile: ~1.3 cards visible to hint scroll */
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-rows: auto auto;
  scroll-snap-align: start;
}

.wearing-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.wearing-gallery figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .wearing-gallery figure {
    flex: 0 0 calc(50% - 0.45rem); /* tablet portrait: 2 visible */
  }
}

@media (min-width: 820px) {
  .wearing-gallery figure {
    flex: 0 0 calc(33.333% - 0.6rem); /* tablet landscape: 3 visible */
  }
}

@media (min-width: 1080px) {
  .wearing-gallery figure {
    flex: 0 0 calc(25% - 0.675rem); /* desktop: all 4 visible */
  }
}

.wearing-diagrams {
  margin-top: 1.4rem;
}

.wearing-diagrams summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.wearing-diagrams summary::-webkit-details-marker { display: none; }

.wearing-diagrams summary::before {
  content: "▸";
  display: inline-block;
  color: var(--accent);
  transition: transform 180ms ease;
}

.wearing-diagrams[open] summary::before {
  transform: rotate(90deg);
}

.wearing-diagrams summary:hover,
.wearing-diagrams summary:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--accent);
  outline: none;
}

.wearing-diagrams .guide-grid {
  margin-top: 1.2rem;
}

/* selector */
.selector-intro {
  margin-top: 2rem;
  padding: 1.7rem;
}

.selector-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.selector-card {
  padding: 1.6rem;
  border-radius: 1.8rem;
}

.selector-card-belt {
  border: 1px solid rgba(141, 79, 63, 0.18);
  background: linear-gradient(180deg, rgba(250, 238, 232, 0.84), rgba(255, 252, 249, 0.94));
}

.selector-card-inner {
  border: 1px solid rgba(111, 127, 113, 0.18);
  background: linear-gradient(180deg, rgba(233, 242, 234, 0.86), rgba(255, 255, 251, 0.94));
}

.selector-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* 旧テーブル形式（後方互換のために残す。新規使用は .comparison-cards 推奨） */
.comparison-table {
  display: grid;
  margin-top: 1.4rem;
  overflow: hidden;
}

/* 新形式：基準ごとにベルト/インナーを並列表示するカード集 */
.comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.comparison-criterion {
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.comparison-criterion-label {
  margin: 0 0 0.95rem;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.comparison-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.comparison-value {
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.comparison-value-belt {
  background: linear-gradient(180deg, rgba(250, 238, 232, 0.86), rgba(255, 252, 249, 0.94));
  border-color: rgba(141, 79, 63, 0.18);
}

.comparison-value-inner {
  background: linear-gradient(180deg, rgba(233, 242, 234, 0.88), rgba(255, 255, 251, 0.94));
  border-color: rgba(111, 127, 113, 0.18);
}

.comparison-value-tag {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
}

.comparison-value-inner .comparison-value-tag {
  color: #3d5a44;
}

.comparison-value p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .comparison-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .comparison-pair {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  border-top: 1px solid rgba(95, 78, 65, 0.1);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row > div {
  padding: 1rem 1.1rem;
  border-left: 1px solid rgba(95, 78, 65, 0.1);
  color: var(--muted);
  line-height: 1.6;
}

.comparison-row > div:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 700;
}

.comparison-head {
  background: rgba(235, 241, 235, 0.72);
}

.comparison-head > div {
  color: var(--ink);
  font-weight: 700;
}

.scene-board {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* シーン別おすすめ — ベルト/インナーで2グループに集約した版 */
.scene-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.scene-summary-card {
  padding: 1.4rem 1.5rem 1.5rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.scene-summary-card.scene-summary-belt {
  background: linear-gradient(180deg, rgba(250, 238, 232, 0.86), rgba(255, 252, 249, 0.94));
  border-color: rgba(141, 79, 63, 0.18);
}

.scene-summary-card.scene-summary-inner {
  background: linear-gradient(180deg, rgba(233, 242, 234, 0.88), rgba(255, 255, 251, 0.94));
  border-color: rgba(111, 127, 113, 0.18);
}

.scene-summary-tag {
  display: inline-block;
  margin: 0;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scene-summary-inner .scene-summary-tag {
  color: #3d5a44;
}

.scene-summary-card h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.scene-summary-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.scene-summary-card li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.scene-summary-card li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.78em;
  width: 0.65rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.scene-summary-inner li::before { background: var(--sage); }

@media (max-width: 640px) {
  .scene-summary {
    grid-template-columns: 1fr;
  }
}

.scene-chip {
  padding: 1.05rem 0.95rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scene-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.scene-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.scene-chip strong svg {
  width: 1em;
  height: 1em;
}

/* ems */
.ems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 2rem;
}

.ems-summary {
  padding: 1.7rem;
}

.ems-grid {
  display: grid;
  gap: 1rem;
  height: 100%;
}

.ems-step {
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.6);
}

.ems-step ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}

.ems-figure {
  margin-top: 1.4rem;
}

/* 検査セクション・装着セクション・商品情報の参考図カード（ems-figure と同じ振る舞い） */
.inspection-poster,
.wearing-poster,
.ems-figure,
.size-chart-figure {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.4rem;
  overflow: hidden;
}

.inspection-poster img,
.wearing-poster img,
.size-chart-figure img {
  width: 100%;
  height: auto;
  background: #fff;
  display: block;
}

/* EMS 実施手順の写真2枚組 */
.ems-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.ems-photo {
  overflow: hidden;
  border-radius: 1.5rem;
}

.ems-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #f6efe6;
}

@media (max-width: 720px) {
  .ems-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* products */
.product-card {
  position: relative;
  padding: 1.7rem;
}

.product-kind {
  color: var(--gold);
}

.spec-list {
  display: grid;
  gap: 0.95rem;
  margin: 1.4rem 0 0;
}

.spec-list div {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(95, 78, 65, 0.08);
}

.spec-list dt {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.spec-list dd {
  margin: 0.35rem 0 0;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}

/* メール1カードのみ表示するときのレイアウト（電話撤去後） */
.contact-grid-solo {
  grid-template-columns: 1fr;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  position: relative;
  padding: 1.7rem;
}

.contact-kind {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0.5rem 0 0;
}

.contact-lead {
  margin: 0.95rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.contact-mail {
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
  border-bottom: 1px solid rgba(141, 79, 63, 0.28);
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-examples {
  margin-top: 1.4rem;
  padding: 1.8rem;
}

.contact-examples .guide-label {
  margin: 0 0 0.6rem;
}

.contact-example-list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  line-height: 1.75;
}

.contact-example-list li {
  list-style: disc;
}

.contact-examples-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-point-contact {
  grid-column: 1 / -1;
  min-height: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 240, 232, 0.94)) !important;
  border-color: rgba(141, 79, 63, 0.18);
}

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button svg.icon {
  width: 1.05em;
  height: 1.05em;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(78, 55, 42, 0.12);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff7f2;
}

.button-secondary {
  border-color: rgba(111, 127, 113, 0.28);
  background: rgba(223, 235, 224, 0.72);
  color: #304036;
}

.button-ghost {
  border-color: rgba(48, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.button-wide {
  width: 100%;
  margin-top: 1.6rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.5rem;
  padding: 1.8rem;
  border: 1px solid rgba(141, 79, 63, 0.1);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(229, 238, 230, 0.8), transparent 25%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(246, 238, 231, 0.96));
}

/* 汎用の番号付きステップリスト（EMS Process 等で使用） */
.numbered-steps,
.cta-steps {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: 0.55rem;
}

.numbered-steps li,
.cta-steps li {
  position: relative;
  counter-increment: step-counter;
  padding: 0.1rem 0 0.1rem 2.4rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.94rem;
}

.numbered-steps li::before,
.cta-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(141, 79, 63, 0.16), rgba(133, 98, 42, 0.18));
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* posture などインラインで使う場合は背景の馴染みを優先 */
.cta-steps-inline {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1rem 1.1rem;
  margin-top: 1.1rem;
}

.cta-steps-inline li {
  padding-left: 2.4rem;
}

/* purchase login + product pages */
.purchase-hero {
  padding: 3.2rem 0 1rem;
}

.purchase-hero-copy {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.purchase-hero-copy::before,
.purchase-hero-copy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.72;
  pointer-events: none;
}

.purchase-hero-copy::before {
  top: 2rem;
  left: 5%;
  width: 13rem;
  height: 13rem;
  background: rgba(224, 236, 223, 0.82);
}

.purchase-hero-copy::after {
  right: 5%;
  bottom: 2rem;
  width: 14rem;
  height: 14rem;
  background: rgba(241, 221, 212, 0.74);
}

.purchase-hero h1 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
}

.purchase-lead {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.purchase-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.2rem;
}

.login-panel,
.access-panel {
  padding: 1.7rem;
}

.purchase-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(95, 78, 65, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field input::placeholder {
  color: rgba(48, 37, 31, 0.34);
}

.field input:focus {
  outline: 2px solid rgba(141, 79, 63, 0.28);
  outline-offset: 1px;
  border-color: rgba(141, 79, 63, 0.4);
  background: #fff;
}

.field-note,
.access-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.field-note {
  font-size: 0.92rem;
}

.compact-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.compact-head p {
  margin-top: 0.85rem;
}

.access-panel h3 {
  margin: 0.7rem 0 0;
  font-size: 1.25rem;
}

.access-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.95;
}

.access-list li + li {
  margin-top: 0.2rem;
}

.preview-result {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  line-height: 1.7;
  border: 1px solid var(--line);
}

.preview-result.is-success {
  background: rgba(231, 242, 232, 0.92);
  border-color: rgba(111, 127, 113, 0.32);
  color: #2f5037;
}

.preview-result.is-error {
  background: rgba(248, 232, 226, 0.94);
  border-color: rgba(141, 79, 63, 0.3);
  color: #6b2f22;
}

/* 問い合わせブロック（パスワード画面） */
.contact-block {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
}

.contact-label {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-note {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* 商品カードの素材注意書き（小さく） */
.spec-note {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.shake {
  animation: shake 360ms cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* purchase product pages (shop / hiramori / ota) */
.audience-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.2rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(141, 79, 63, 0.18);
  border-radius: 1.3rem;
  background: rgba(255, 252, 247, 0.92);
}

.audience-banner .badge {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(141, 79, 63, 0.14), rgba(182, 141, 73, 0.18));
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.audience-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.audience-banner strong {
  color: var(--ink);
  font-weight: 700;
}

.purchase-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
  align-items: start;
}

.purchase-card {
  padding: 1.7rem;
}

.purchase-card .item-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.purchase-card .item-row:first-of-type {
  border-top: 0;
}

.purchase-card .item-name {
  color: var(--ink);
  font-weight: 700;
}

.purchase-card .item-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.purchase-card .item-tag {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(141, 79, 63, 0.1);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purchase-card .item-tag.tag-inner {
  background: rgba(111, 127, 113, 0.18);
  color: #3d5a44;
}

.purchase-card .item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.purchase-card .item-link svg.icon {
  width: 1em;
  height: 1em;
}

.purchase-card .pricing-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.support-panel {
  padding: 1.7rem;
}

.support-panel h3 {
  margin: 0.7rem 0 0;
  font-size: 1.2rem;
}

.support-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.85;
}

.support-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.support-list li:first-child { border-top: 0; }

.support-list li::before {
  content: "—";
  color: var(--accent);
  font-weight: 700;
}

.placeholder-tag {
  display: inline-block;
  margin: 0.6rem 0 0;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(182, 141, 73, 0.18);
  color: #6e4e1f;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem 0 4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-bottom-color: var(--accent);
}

/* モバイルだけ表示するスティッキー CTA — 長いページのスクロール中に商品セクションへ素早く飛べる */
.sticky-mobile-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 60;
  display: none; /* desktop: hidden */
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff7f2;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px rgba(48, 37, 31, 0.28);
  transform: translate(-50%, 4rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
}

.sticky-mobile-cta svg {
  width: 1em;
  height: 1em;
}

.sticky-mobile-cta.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 820px) {
  .sticky-mobile-cta {
    display: inline-flex;
  }
}

/* toast notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 90;
  max-width: min(calc(100% - 2rem), 28rem);
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(141, 79, 63, 0.18);
  border-radius: 1rem;
  background: rgba(48, 37, 31, 0.94);
  color: #fff7f2;
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: 0 24px 48px rgba(48, 37, 31, 0.28);
  transform: translate(-50%, 1.6rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms ease, opacity 280ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* 購入チャネル選択（4区分→Shopify） */
.purchase-channels {
  margin-top: 2.4rem;
  padding: 2rem;
}

.purchase-channels .section-head {
  margin-bottom: 0;
}

.channel-line-note {
  margin-top: 0.9rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
}

.channel-line-button {
  margin-top: 1rem;
}

.button-line {
  background: #06C755;
  color: #fff;
  border-color: #06C755;
}

.button-line:hover,
.button-line:focus-visible {
  background: #05A847;
  border-color: #05A847;
  color: #fff;
}

.button-line .line-icon {
  width: 1.3em;
  height: 1.3em;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(141, 79, 63, 0.16);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(141, 79, 63, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(78, 55, 42, 0.12);
}

.channel-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}

.channel-arrow {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-deep);
}

.channel-arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-note {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 720px) {
  .channel-list {
    grid-template-columns: 1fr;
  }

  .channel-card {
    padding: 1.05rem 1.15rem;
  }

  .channel-name {
    font-size: 0.98rem;
  }
}

/* reveal animation — progressive enhancement.
   Only hide reveal targets when JS has marked the page as ready. */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* responsive ----------------------------------------------- */
@media (max-width: 1080px) {
  .theory-layout,
  .inspection-layout,
  .ems-layout,
  .purchase-login-layout,
  .purchase-product-layout,
  .before-after,
  .scene-board,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid,
  .selector-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 2.6rem;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .main-nav {
    /* スマホ・タブレット縦では 3列 × 2段 で確実に整列 */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.6rem;
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .main-nav a {
    width: 100%;
    padding: 0.45rem 0.3rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.86rem;
    line-height: 1;
    transition: background 180ms ease, border-color 180ms ease;
  }

  .main-nav a::after { display: none; }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(141, 79, 63, 0.32);
  }

  .hero-points,
  .benefit-grid,
  .selector-grid,
  .comparison-row,
  .product-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-row > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(95, 78, 65, 0.08);
    background: rgba(255, 255, 255, 0.5);
  }

  .comparison-row > div:nth-child(2) {
    border-left: 0;
  }

  .posture-board {
    grid-template-columns: 1fr;
  }

  .audience-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .purchase-hero,
  .section,
  .site-footer {
    width: min(calc(100% - 1.4rem), var(--max-width));
  }

  .header-cta,
  .button {
    width: 100%;
  }

  .benefit-grid,
  .selector-grid,
  .comparison-row,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* スマホでも 6つのショートカットは 2 列を維持（縦に並ぶと一覧性が落ちるため） */
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hero-point {
    min-height: 11rem;
    padding: 1.1rem 1rem 1.2rem;
    gap: 0.45rem;
  }

  .hero-point-title {
    font-size: 1.15rem;
  }

  .hero-point-text {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .hero-point::after {
    top: 1.05rem;
    right: 0.95rem;
  }

  .comparison-row > div {
    border-left: 0;
    border-top: 1px solid rgba(95, 78, 65, 0.08);
  }

  .cta-actions {
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 3rem);
  }

  .section-head h2,
  .purchase-hero h1 {
    font-size: clamp(1.6rem, 7.6vw, 2.25rem);
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 3rem;
  }

  .br-pc { display: none; }
}

/* hide pc-only break on small screens */
.br-pc-only { display: inline; }
@media (max-width: 640px) {
  .br-pc-only { display: none; }
}

/* show smartphone-only break only on small screens */
.br-sp-only { display: none; }
@media (max-width: 640px) {
  .br-sp-only { display: inline; }
}

/* print — 治療院で患者さんに紙で見せる用途を想定 */
@media print {
  :root {
    --bg: #ffffff;
    --bg-soft: #ffffff;
  }
  html, body {
    background: #fff !important;
    color: #1a1410;
  }
  .page-shell::before,
  .page-shell::after,
  .hero-copy::before,
  .hero-copy::after,
  .purchase-hero-copy::before,
  .purchase-hero-copy::after,
  .grain-overlay {
    display: none !important;
  }
  .site-header,
  .header-cta,
  .skip-link,
  .toast,
  .video-shell,
  .video-facade,
  .text-link,
  .button,
  .cta-band,
  .hero-points,
  .scene-board,
  .placeholder-tag {
    display: none !important;
  }
  a {
    color: #1a1410;
    text-decoration: none;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.78em;
    color: #555;
  }
  .card-surface,
  .compare-block,
  .ems-step,
  .check-card,
  .benefit-card,
  .scene-chip,
  .selector-card,
  .product-card,
  .posture-card,
  .audience-banner {
    box-shadow: none !important;
    background: #fff !important;
    border: 1px solid #d8cfc4 !important;
    backdrop-filter: none !important;
    page-break-inside: avoid;
  }
  .section,
  .hero,
  .purchase-hero {
    page-break-inside: avoid;
    padding-top: 1.4rem;
  }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100%; height: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* reveal だけは控えめに再生（距離 8px / 280ms）。
     上の * 指定の !important を上書きするために !important を付ける。 */
  .js .reveal {
    transform: translateY(8px);
    transition:
      opacity 280ms ease-out !important,
      transform 280ms ease-out !important;
  }
  .js .reveal.is-visible {
    transform: translateY(0);
  }

  html {
    scroll-behavior: auto;
  }
}
