/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sumi:       #1A1A1A;
  --sumi-soft:  #2C2C2C;
  --washi:      #F5F0E8;
  --washi-dark: #EDE7D9;
  --shu:        #C0392B;
  --shu-dark:   #962d22;
  --shu-mist:   rgba(192, 57, 43, 0.07);
  --white:      #FFFFFF;
  --border:     rgba(26, 26, 26, 0.10);
  --muted:      rgba(26, 26, 26, 0.62);
  --serif:      'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  --sans:       'Noto Sans JP', 'Yu Gothic', '游ゴシック', sans-serif;
  --shadow-card: 0 1px 4px rgba(26,26,26,0.06), 0 6px 20px rgba(26,26,26,0.04);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--sans);
  line-height: 1.85;
  overflow-x: hidden;
}

/* Washi grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9000;
}

/* ===== TYPE ===== */
h1, h2, h3 { font-family: var(--serif); line-height: 1.45; font-weight: 700; }

.label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--shu);
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ===== REVEAL ===== */
.r {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.r.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }
.d6 { transition-delay: 0.60s; }

/* ===== NAV ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.s {
  background: rgba(245,240,232,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--sumi); text-decoration: none;
  display: flex; align-items: center; gap: 0.45rem;
}
.nav-brand-dot { width: 5px; height: 5px; background: var(--shu); border-radius: 50%; }
.nav-dl {
  font-size: 0.78rem; font-weight: 500;
  color: var(--shu); text-decoration: none;
  border: 1px solid var(--shu);
  padding: 0.38rem 1rem;
  transition: background 0.18s, color 0.18s;
}
.nav-dl:hover { background: var(--shu); color: var(--white); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 9rem 2rem 6rem;
  position: relative; overflow: hidden;
}
.hero-kanji {
  position: absolute;
  font-family: var(--serif);
  font-size: 52vw; font-weight: 900;
  color: rgba(26,26,26,0.028);
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  pointer-events: none; user-select: none;
  line-height: 1;
}
.hero-body {
  text-align: center; max-width: 660px;
  position: relative; z-index: 1;
}
.hero-series {
  font-size: 0.7rem; letter-spacing: 0.28em;
  color: rgba(26, 26, 26, 0.55);
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.hero-series .hl { color: var(--shu); font-weight: 500; }

#catch {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 700; letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: var(--sumi);
}
#catch .ch {
  display: inline-block;
  opacity: 0; transform: translateY(18px);
  animation: up 0.45s forwards;
}
#catch .lb { display: block; }
@keyframes up { to { opacity:1; transform:none; } }

.hero-sub {
  font-size: 0.92rem; color: rgba(26, 26, 26, 0.72);
  line-height: 2; margin-bottom: 2.8rem; font-weight: 400;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }

/* OS別ダウンロードボタン 2枚横並び */
.dl-os-btns {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center;
  padding-top: 24px; /* バッジ分の上余白 */
}

/* ボタンラッパー（バッジ用に overflow: visible が必要） */
.btn-wrap {
  position: relative; display: inline-flex;
}

/* Mac 準備中ボタン */
.btn-mac-soon {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
}

/* 各ボタンの上に付くバッジ */
.btn-badge {
  position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  font-size: 0.58rem; letter-spacing: 0.07em; white-space: nowrap;
  padding: 2px 8px; border-radius: 20px; font-family: var(--sans);
}
.btn-badge-soon {
  background: #555; color: #fff;
}
.btn-badge-os {
  background: var(--shu); color: #fff;
}

/* ナビの Mac 準備中リンク */
.nav-dl-mac {
  opacity: 0.45; cursor: not-allowed; pointer-events: none;
  font-size: 0.75rem;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--shu); color: var(--white);
  padding: 0.95rem 2.4rem;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.06em;
  position: relative; overflow: hidden;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-110%); transition: transform 0.3s;
}
.btn:hover::after { transform: translateX(0); }
.btn:hover { background: var(--shu-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,0.28); }

.hero-note {
  font-size: 0.72rem; color: rgba(26, 26, 26, 0.58); letter-spacing: 0.06em;
}

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  animation: fcue 1s 2.2s both;
}
@keyframes fcue { from { opacity:0; } to { opacity:0.35; } }
.scroll-line {
  width: 1px; height: 36px; background: var(--sumi);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--shu);
  animation: drip 1.6s ease infinite;
}
@keyframes drip { 0%{top:-100%} 100%{top:100%} }
.scroll-label { font-size: 0.6rem; letter-spacing: 0.22em; }

/* ===== APP PREVIEW ===== */
#app-preview {
  background: var(--sumi);
  display: flex;
  justify-content: center;
  padding: 4rem 2rem 5rem;
}
#app-preview .fw { width: 320px; }

/* ===== HOW IT WORKS ===== */
#how { background: var(--white); }
.how-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
  position: relative; margin-top: 3.5rem;
}
.how-grid::before {
  content: '';
  position: absolute; top: 2rem;
  left: calc(16.7% + 0.5rem); right: calc(16.7% + 0.5rem); height: 1px;
  background: repeating-linear-gradient(90deg, var(--shu) 0, var(--shu) 5px, transparent 5px, transparent 13px);
}
.step { text-align: center; padding: 2rem 1.25rem; }
.step-num {
  width: 3.8rem; height: 3.8rem; border-radius: 50%;
  border: 1.5px solid var(--shu); color: var(--shu);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; background: var(--washi);
  position: relative; z-index: 1;
}
.step h3 { font-family: var(--serif); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.8; }
.step-icon { font-size: 1.4rem; display: block; margin-bottom: 0.6rem; }

/* ===== HOW TO USE ===== */
#howto { background: var(--washi); }

.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

/* 縦の連結線 */
.howto-steps::before {
  content: '';
  position: absolute;
  left: 1.85rem;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 1px;
  background: repeating-linear-gradient(
    180deg,
    var(--shu) 0,
    var(--shu) 5px,
    transparent 5px,
    transparent 13px
  );
}

.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.howto-step:last-child { border-bottom: none; }

.howto-num {
  flex-shrink: 0;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--shu);
  color: var(--shu);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--washi);
  position: relative;
  z-index: 1;
}

.howto-body {
  flex: 1;
  padding-top: 0.45rem;
}

.howto-key {
  display: inline-block;
  font-family: 'Courier New', 'Menlo', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--shu);
  background: var(--shu-mist);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: 3px;
  padding: 0.12rem 0.55rem;
  margin-bottom: 0.45rem;
}

.howto-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--sumi);
}

.howto-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .howto-steps::before { left: 1.75rem; }
  .howto-num { width: 3.5rem; height: 3.5rem; font-size: 1rem; }
}

/* ===== BEFORE / AFTER ===== */
#ba { background: var(--washi); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }

.ba-card { padding: 2.4rem; border: 1px solid var(--border); }
.ba-card.before { background: var(--white); }
.ba-card.after { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }

.ba-label {
  font-size: 0.68rem; letter-spacing: 0.24em; font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.ba-card.before .ba-label { color: var(--muted); }
.ba-card.after .ba-label { color: var(--shu); }

.ba-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.ba-row { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.88rem; line-height: 1.75; }
.ba-ico { flex-shrink: 0; margin-top: 0.1rem; font-size: 0.8rem; }
.ba-card.before .ba-ico { color: #aaa; }
.ba-card.after .ba-ico { color: var(--shu); }

/* ===== FEATURES ===== */
#feat { background: var(--white); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
  margin-top: 3rem;
}
.feat-card {
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.feat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 2px; height: 0;
  background: var(--shu); transition: height 0.28s;
}
.feat-card:hover::before { height: 100%; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feat-n {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 900;
  color: rgba(192,57,43,0.10); line-height: 1; margin-bottom: 0.6rem;
}
.feat-card h3 { font-family: var(--serif); font-size: 0.97rem; font-weight: 700; margin-bottom: 0.4rem; }
.feat-card p { font-size: 0.81rem; color: var(--muted); line-height: 1.8; }

/* ===== COMPARISON ===== */
#cmp { background: var(--washi); }
.tbl-wrap {
  overflow-x: auto; margin-top: 3rem;
  border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; font-size: 0.83rem; background: var(--white); }
thead { background: var(--sumi); color: var(--washi); }
th {
  padding: 0.9rem 1.1rem;
  font-family: var(--sans); font-weight: 400; letter-spacing: 0.06em;
  text-align: center; white-space: nowrap;
}
th:first-child { text-align: left; }
td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
td:first-child { text-align: left; font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr.hl-row { background: var(--shu-mist); }
tr.hl-row td:first-child { color: var(--shu); font-weight: 700; }
.ck { color: var(--shu); }
.pt { color: #bf9230; }
.xx { color: #c0c0c0; }

/* ===== MOCKUP ===== */
#mock {
  background: var(--sumi); color: var(--washi);
  padding: 6rem 0; position: relative; overflow: hidden;
}
.mock-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(192,57,43,0.07) 0%, transparent 70%);
  pointer-events: none;
}
#mock .label { color: var(--shu); }
#mock h2 { color: var(--washi); }
.mock-inner { display: flex; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.mock-txt { flex: 1; }
.mock-txt h2 { margin-bottom: 1.4rem; }
.mock-txt p { font-size: 0.88rem; line-height: 1.95; color: rgba(245,240,232,0.82); }
.mock-feats {
  list-style: none; margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.mock-feats li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.84rem; color: rgba(245,240,232,0.88);
}
.mock-feats li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--shu); flex-shrink: 0;
}
.mock-vis { flex: 0 0 310px; }

/* Floating Window */
.fw {
  background: rgba(18,18,22,0.96);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 28px 80px rgba(0,0,0,0.65),
    0 0 60px rgba(192,57,43,0.12);
  overflow: hidden; width: 310px;
}
.fw-bar {
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.fw-title { font-family: var(--serif); font-size: 0.82rem; color: rgba(245,240,232,0.72); letter-spacing: 0.06em; }
.fw-close-btn { width: 11px; height: 11px; background: #ff5f56; border-radius: 50%; }
.fw-body { padding: 1.35rem; }

.fw-top { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.fw-mic {
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--shu);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.fw-mic::after {
  content: ''; position: absolute; inset: -5px;
  border-radius: 50%; border: 1.5px solid var(--shu);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:0.55} 50%{transform:scale(1.25);opacity:0} }
.fw-mic svg { color: white; }

.fw-wave { display: flex; align-items: center; gap: 2.5px; height: 1.8rem; }
.fw-wb {
  width: 2.5px; background: rgba(192,57,43,0.65); border-radius: 2px;
  animation: wb 0.9s ease infinite alternate;
}
.fw-wb:nth-child(1)  { height:30%;  animation-delay:0s;    }
.fw-wb:nth-child(2)  { height:65%;  animation-delay:0.08s; }
.fw-wb:nth-child(3)  { height:100%; animation-delay:0.17s; }
.fw-wb:nth-child(4)  { height:55%;  animation-delay:0.12s; }
.fw-wb:nth-child(5)  { height:80%;  animation-delay:0.04s; }
.fw-wb:nth-child(6)  { height:40%;  animation-delay:0.22s; }
.fw-wb:nth-child(7)  { height:90%;  animation-delay:0.09s; }
.fw-wb:nth-child(8)  { height:50%;  animation-delay:0.28s; }
.fw-wb:nth-child(9)  { height:70%;  animation-delay:0.15s; }
.fw-wb:nth-child(10) { height:35%;  animation-delay:0.33s; }
.fw-wb:nth-child(11) { height:60%;  animation-delay:0.19s; }
.fw-wb:nth-child(12) { height:85%;  animation-delay:0.06s; }
@keyframes wb { from{transform:scaleY(0.25)} to{transform:scaleY(1)} }

.fw-status { font-size: 0.68rem; color: var(--shu); letter-spacing: 0.05em; margin-bottom: 0.85rem; }
.fw-out {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px; padding: 0.8rem 0.9rem;
  margin-bottom: 0.85rem; min-height: 62px;
}
.fw-out-txt { font-size: 0.82rem; color: rgba(245,240,232,0.88); line-height: 1.7; }
.fw-hist { margin-bottom: 1.1rem; }
.fw-hist-label { font-size: 0.62rem; letter-spacing: 0.18em; color: rgba(245,240,232,0.50); margin-bottom: 0.4rem; }
.fw-hist-item {
  font-size: 0.72rem; color: rgba(245,240,232,0.62);
  padding: 3px 5px; border-radius: 3px; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.fw-hist-item:hover { background: rgba(255,255,255,0.05); color: rgba(245,240,232,0.65); }
.fw-copy {
  width: 100%; padding: 0.68rem;
  background: var(--shu); color: white; border: none; border-radius: 6px;
  font-family: var(--sans); font-size: 0.83rem; font-weight: 500;
  letter-spacing: 0.12em; cursor: pointer;
  transition: background 0.2s;
}
.fw-copy:hover { background: var(--shu-dark); }

/* ===== DEVELOPER ===== */
#dev { background: var(--white); }
.dev-grid { display: block; margin-top: 3rem; }

.dev-quote {
  padding: 2.4rem 2.4rem 2.4rem 2.8rem;
  background: var(--washi);
  border-left: 3px solid var(--shu);
  position: relative;
}
.dev-quote::before {
  content: '「';
  position: absolute; top: -0.8rem; left: 1.6rem;
  font-family: var(--serif); font-size: 4.5rem; font-weight: 900;
  color: rgba(192,57,43,0.10); line-height: 1;
}
.dev-quote p { font-family: var(--serif); font-size: 0.92rem; line-height: 2; position: relative; z-index: 1; }

.series-label { font-size: 0.68rem; letter-spacing: 0.24em; color: var(--muted); margin-bottom: 1.4rem; }
.series-list { display: flex; flex-direction: column; gap: 0.75rem; }
.series-row {
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: var(--sumi);
  transition: border-color 0.2s, transform 0.2s;
}
.series-row:hover { border-color: var(--shu); transform: translateX(4px); }
.series-row.cur { border-color: var(--shu); background: var(--shu-mist); }
.series-name { font-family: var(--serif); font-weight: 700; font-size: 0.9rem; }
.series-desc { font-size: 0.75rem; color: var(--muted); margin-top: 0.1rem; }
.series-badge {
  font-size: 0.62rem; padding: 0.18rem 0.5rem;
  background: var(--shu); color: white; letter-spacing: 0.1em; flex-shrink: 0;
}

/* ===== FAQ ===== */
#faq { background: var(--washi); }
.faq-wrap { margin-top: 3rem; }
.fq { border-top: 1px solid var(--border); }
.fq:last-child { border-bottom: 1px solid var(--border); }
.fq-q {
  width: 100%; padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: 0.93rem; font-weight: 500;
  color: var(--sumi); transition: color 0.18s;
}
.fq-q:hover, .fq-q.o { color: var(--shu); }
.fq-ic {
  flex-shrink: 0; width: 1.4rem; height: 1.4rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--muted);
  transition: all 0.22s;
}
.fq-q.o .fq-ic {
  background: var(--shu); border-color: var(--shu); color: white; transform: rotate(45deg);
}
.fq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.32s ease;
}
.fq-a.o { max-height: 220px; }
.fq-a-in { padding-bottom: 1.5rem; font-size: 0.86rem; color: var(--muted); line-height: 1.9; }

/* ===== CTA ===== */
#dl {
  background: var(--sumi); color: var(--washi);
  text-align: center; padding: 8rem 2rem;
}
.dl-eyebrow { font-size: 0.68rem; letter-spacing: 0.3em; color: rgba(245,240,232,0.58); margin-bottom: 2rem; }
.dl-h {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 700; letter-spacing: 0.06em;
  color: var(--washi); margin-bottom: 1rem;
  line-height: 1.5;
}
.dl-h .acc { color: var(--shu); }
.dl-sub { font-size: 0.88rem; color: rgba(245,240,232,0.72); margin-bottom: 3rem; font-weight: 300; }
.btn-inv {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--shu); color: var(--white);
  padding: 1rem 2.65rem;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.08em;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.btn-inv:hover {
  background: var(--shu-dark); transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(192,57,43,0.38);
}
.dl-note { font-size: 0.72rem; color: rgba(245,240,232,0.58); margin-top: 1.2rem; letter-spacing: 0.06em; }

/* ===== FOOTER ===== */
footer {
  background: #111; color: rgba(245,240,232,0.58);
  padding: 2.5rem;
}
.ft-in { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.ft-logo { font-family: var(--serif); font-size: 1.05rem; color: rgba(245,240,232,0.85); font-weight: 700; }
.ft-series { font-size: 0.72rem; letter-spacing: 0.15em; display: flex; gap: 1.4rem; }
.ft-series a { color: inherit; text-decoration: none; transition: color 0.18s; }
.ft-series a:hover { color: var(--shu); }
.ft-contact { font-size: 0.72rem; }
.ft-contact a { color: rgba(245,240,232,0.65); text-decoration: none; }
.ft-contact a:hover { color: var(--shu); }
.ft-copy { font-size: 0.66rem; color: rgba(245,240,232,0.45); }

/* ===== HR ===== */
.divider { border: none; height: 1px; background: var(--border); }

/* ===== MOBILE NOTICE ===== */
#mobile-notice { display: none; }

/* ===== MOBILE BR ===== */
.sp-br { display: none; }

/* ===== COMPARISON TABLE TOGGLE ===== */
.cmp-mobile { display: none; }

/* koemoji column highlight in transposed table */
.cmp-mobile thead .hl-col {
  background: var(--shu);
  color: var(--white);
  font-weight: 700;
}
.cmp-mobile tbody .hl-col {
  background: var(--shu-mist);
  color: var(--shu);
  font-weight: 700;
}
.cmp-feat-col {
  text-align: left !important;
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.78rem;
}
.cmp-mobile th, .cmp-mobile td {
  padding: 0.65rem 0.55rem;
  font-size: 0.78rem;
}
.cmp-mobile thead th { font-size: 0.72rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #mobile-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--sumi);
    color: var(--washi);
    padding: 1rem 1.25rem;
    z-index: 600;
    border-top: 2px solid var(--shu);
  }
  .mn-icon { flex-shrink: 0; margin-top: 0.1rem; color: var(--shu); }
  .mn-title { font-family: var(--serif); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.2rem; }
  .mn-desc { font-size: 0.72rem; color: rgba(245,240,232,0.72); line-height: 1.6; }
}

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  #hero { padding: 6.5rem 1.5rem 5.5rem; min-height: auto; }
  #catch { margin-bottom: 1.8rem; }
  .hero-sub { margin-bottom: 2.8rem; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid::before { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .mock-inner { flex-direction: column; gap: 3rem; }
  .mock-vis { flex: none; width: 100%; display: flex; justify-content: center; }
  .dev-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* ことばシリーズはスマホで非表示 */
  .hero-series { display: none; }

  /* 比較表：モバイルは転置版を表示 */
  .cmp-desktop { display: none; }
  .cmp-mobile  { display: table; }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  #catch { font-size: 1.75rem; }
  .fw { width: 100%; }

  /* ボタン内の（無料）を改行 */
  .sp-br { display: block; }
  .btn, .btn-inv {
    text-align: center;
    justify-content: center;
  }
}
