/* ことづけ LP — 和紙 (paper) × 墨 (ink) × 朱 (vermilion) */

@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/zen-kaku-gothic-new-400.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/zen-kaku-gothic-new-500.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/zen-kaku-gothic-new-700.woff2") format("woff2"); }
@font-face { font-family: "Shippori Mincho"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/shippori-mincho-600.woff2") format("woff2"); }

:root {
  --paper: #F5F2EA;
  --paper-2: #EDE8DC;
  --white: #FFFFFF;
  --ink: #1C2330;
  --ink-2: #353D4A;
  --muted: #5B616C;
  --line: #DAD3C3;
  --shu: #B83A26;
  --shu-dark: #992F1E;
  --shu-soft: #FAEDE9;
  --shu-light: #F09A86;
  --ai: #26395A;
  --night: #19222F;
  --night-2: #111822;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(28, 35, 48, .06), 0 4px 12px rgba(28, 35, 48, .06);
  --shadow-lg: 0 2px 4px rgba(28, 35, 48, .06), 0 18px 40px rgba(28, 35, 48, .14);
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  line-break: strict;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.nw { display: inline-block; max-width: 100%; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 6px; }

/* ---------- notice bar & header ---------- */
.notice-bar { background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.6; text-align: center; }
.notice-bar p { padding-block: 9px; }
.notice-bar strong { color: #FFD8CE; font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 234, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(28, 35, 48, .05); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 137px; height: auto; }
.global-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
.global-nav a { text-decoration: none; color: var(--ink-2); padding-block: 6px; position: relative; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.global-nav a:hover::after { transform: scaleX(1); }
.site-header .btn-small { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--shu); color: #fff; box-shadow: 0 8px 20px rgba(184, 58, 38, .24); }
.btn-primary::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h11M8 3l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.btn-primary:hover { background: var(--shu-dark); }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border: 1.5px solid rgba(245, 242, 234, .7); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; box-shadow: none; }
.btn-small::after { width: 12px; height: 12px; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(72px, 9vw, 116px); }
.scenes { padding-top: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--shu); line-height: 1; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
h1, h2, h3 { word-break: auto-phrase; }
.hero-lead, .section-lead, .scene p, .flow-step p, .principle-list p, .start-steps p, .faq-list details p { text-wrap: pretty; }
h1, h2, h3 { font-feature-settings: "palt" 1; }
h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.6rem, 1.15rem + 2vw, 2.55rem); line-height: 1.5; letter-spacing: .06em;
}
h3 { font-size: 18px; line-height: 1.6; font-weight: 700; letter-spacing: .03em; }
.section-lead { margin-top: 22px; font-size: clamp(15px, .9rem + .2vw, 17px); line-height: 2; color: var(--ink-2); }
.visual-caption { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px);
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(184, 58, 38, .09), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(28, 35, 48, .09) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--paper);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--shu); letter-spacing: .08em; padding: 6px 14px; border: 1px solid rgba(184, 58, 38, .35); border-radius: 999px; background: rgba(255, 255, 255, .55); }
.hero-copy { container-type: inline-size; }
.hero-title {
  margin-top: 26px;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.75rem, 1rem + 3vw, 3.3rem); line-height: 1.42; letter-spacing: .05em;
}
@supports (font-size: 1cqi) { .hero-title { font-size: clamp(1.75rem, 9.3cqi, 3.5rem); } }
.hero-lead { margin-top: 28px; font-size: clamp(15px, .92rem + .25vw, 17.5px); line-height: 2.05; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.7; }

.hero-visual { position: relative; min-height: 470px; }
.bizcard {
  position: absolute; left: 0; top: 64px; width: min(100%, 372px); aspect-ratio: 91 / 55;
  padding: 26px 28px 22px; border-radius: 6px;
  background: linear-gradient(160deg, #fff 0%, #FCFAF6 100%);
  box-shadow: 0 1px 1px rgba(28, 35, 48, .08), 0 24px 48px -12px rgba(28, 35, 48, .28);
  transform: rotate(-5deg);
  display: flex; flex-direction: column;
}
.bizcard-org { font-family: var(--font-serif); font-weight: 600; font-size: 14px; letter-spacing: .12em; }
.bizcard-role { margin-top: 18px; font-size: 11px; color: var(--muted); letter-spacing: .14em; line-height: 1.4; }
.bizcard-name { font-family: var(--font-serif); font-weight: 600; font-size: 27px; letter-spacing: .14em; line-height: 1.4; }
.bizcard-name span { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 500; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.bizcard-contact { margin-top: auto; font-size: 12px; line-height: 1.7; }
.bizcard-contact div { display: flex; align-items: center; gap: 10px; }
.bizcard-contact dt { width: 38px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.bizcard-contact dd { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: var(--shu); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.6; }

.hero-call {
  position: absolute; right: 0; top: 0; width: min(78%, 300px);
  padding: 14px 18px 16px; border-radius: 18px 18px 18px 6px;
  background: var(--night); color: var(--paper); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.75;
}
.hero-call-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; color: #AEB6C4; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5FD08A; box-shadow: 0 0 0 0 rgba(95, 208, 138, .6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 208, 138, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(95, 208, 138, 0); } }

.hero-mail {
  position: absolute; right: 8px; bottom: 30px; width: min(88%, 340px);
  padding: 16px 18px 18px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.hero-mail-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.hero-mail-head time { margin-left: auto; font-variant-numeric: tabular-nums; }
.hero-mail-subject { margin-top: 10px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.hero-mail ul { margin-top: 10px; display: grid; gap: 6px; font-size: 13px; line-height: 1.6; }
.hero-mail li { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.hero-mail li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-mail li b { flex: none; font-size: 11px; font-weight: 700; color: var(--shu); background: var(--shu-soft); padding: 1px 8px; border-radius: 4px; letter-spacing: .06em; }
.hero-visual .visual-caption { position: absolute; left: 4px; bottom: -8px; }

/* ---------- scenes ---------- */
.scene-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.scene { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 30px; box-shadow: var(--shadow-sm); }
.scene img { width: 56px; height: 56px; margin-bottom: 18px; }
.scene h3 { font-size: 17px; }
.scene p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* ---------- concept ---------- */
.concept { background: var(--white); }
.two-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.number-card { border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3.5vw, 36px); border: 1px solid var(--line); background: var(--paper); position: relative; }
.number-kotozuke { background: var(--shu-soft); border-color: rgba(184, 58, 38, .3); }
.number-card-head { display: flex; align-items: center; gap: 16px; }
.number-card-head img { width: 48px; height: 48px; flex: none; }
.number-card-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); line-height: 1.5; }
.number-kotozuke .number-card-label { color: var(--shu); }
.number-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(20px, 1rem + .8vw, 25px); letter-spacing: .05em; }
.number-card-role { margin-top: 22px; font-size: 16px; font-weight: 700; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.number-kotozuke .number-card-role { border-bottom-color: rgba(184, 58, 38, .3); }
.number-card-sub { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag-list li { font-size: 14px; font-weight: 500; line-height: 1.6; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.number-kotozuke .tag-list li { border-color: rgba(184, 58, 38, .25); }

.callback {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.5vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--ink); color: var(--paper);
}
.callback h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(19px, 1rem + .7vw, 24px); letter-spacing: .04em; }
.callback p { margin-top: 12px; font-size: 15px; line-height: 1.95; color: #D6DAE1; }
.callback-steps { display: grid; gap: 10px; counter-reset: none; }
.callback-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 700; font-size: 15px; line-height: 1.5; }
.callback-steps li span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--shu); color: #fff; font-size: 13px; }
.callback-steps li:last-child { background: rgba(184, 58, 38, .2); border-color: rgba(240, 154, 134, .45); }

/* ---------- how ---------- */
.how { background: var(--paper-2); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.flow-step { position: relative; padding: 28px 24px 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -17px; z-index: 1; width: 14px; height: 14px;
  background: var(--shu); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 2l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 2l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flow-num { font-family: var(--font-serif); font-weight: 600; font-size: 34px; line-height: 1; color: var(--shu); letter-spacing: .04em; }
.flow-step h3 { margin-top: 16px; font-size: 17px; }
.flow-step p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }

/* ---------- call demo (dark) ---------- */
.call { background: var(--night); color: var(--paper); }
.call .section-lead { color: #CBD1DB; }
.call .eyebrow { color: var(--shu-light); }
.call-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.call .section-head { margin-bottom: 0; position: sticky; top: 104px; }
.call-caption { margin-top: 22px; font-size: 12.5px; line-height: 1.8; color: #9AA3B2; }

.demo-tabs { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.js .demo-tabs { display: flex; }
.demo-tabs button {
  appearance: none; cursor: pointer; border: 1px solid rgba(245, 242, 234, .22); background: transparent; color: #DDE2EA;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.4;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.demo-tabs button:hover { border-color: rgba(245, 242, 234, .5); }
.demo-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.demo-phone { border-radius: 24px; background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.demo-phone-head { display: flex; align-items: center; gap: 10px; padding: 14px 22px; font-size: 12.5px; letter-spacing: .06em; color: #9AA3B2; border-bottom: 1px solid rgba(255, 255, 255, .07); font-variant-numeric: tabular-nums; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #5FD08A; }
.demo-panel { padding: 24px clamp(16px, 3vw, 28px) 26px; min-height: 420px; display: flex; flex-direction: column; }
.demo-panel[hidden] { display: none; }
.demo-fallback-title { margin: 0 0 18px; color: var(--paper); font-size: 18px; }
.js .demo-fallback-title { display: none; }
html:not(.js) .demo-panel + .demo-panel { border-top: 1px solid rgba(255, 255, 255, .14); }
.talk { display: grid; gap: 14px; }
.talk li { display: grid; gap: 4px; max-width: 88%; }
.talk .who { font-size: 11.5px; letter-spacing: .1em; color: #8E98A8; font-weight: 700; }
.talk p { padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.85; }
.talk .ai p { background: var(--ai); color: #F2F4F8; border-top-left-radius: 4px; }
.talk .caller { justify-self: end; }
.talk .caller .who { text-align: right; }
.talk .caller p { background: var(--paper); color: var(--ink); border-top-right-radius: 4px; }
.demo-result { margin-top: auto; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: 14px; line-height: 1.85; color: #D6DAE1; }
.demo-panel .talk + .demo-result { margin-top: 24px; }
.demo-result b { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 4px; background: rgba(240, 154, 134, .16); color: var(--shu-light); font-size: 12px; letter-spacing: .08em; }

.js .demo-panel .talk li, .js .demo-panel .demo-result { opacity: 0; transform: translateY(10px); }
.js .demo-panel.play .talk li, .js .demo-panel.play .demo-result { animation: rise .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 420ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- mail ---------- */
.mail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.mail-window { background: var(--white); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mail-bar { display: flex; gap: 7px; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mail-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D4CCBB; }
.mail-meta { padding: 22px clamp(16px, 3vw, 28px) 18px; border-bottom: 1px solid var(--line); }
.mail-subject { font-size: clamp(17px, 1rem + .4vw, 21px); font-weight: 700; line-height: 1.55; }
.mail-from { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.mail-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='6' width='16' height='12' rx='2' fill='none' stroke='%235B616C' stroke-width='1.6'/%3E%3Cpath d='M4.8 7l7.2 5.4L19.2 7' fill='none' stroke='%235B616C' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border: 1px solid var(--line); }
.mail-from span { display: grid; }
.mail-from b { color: var(--ink); font-size: 14px; }
.mail-from time { margin-left: auto; font-variant-numeric: tabular-nums; }
.mail-body { padding: 8px 0 14px; }
.mail-part { position: relative; margin: 10px clamp(12px, 2.5vw, 22px) 0 clamp(40px, 5vw, 52px); padding: 14px 16px; border-radius: 10px; border-left: 3px solid transparent; }
.mail-part::before {
  content: attr(data-mark); position: absolute; left: clamp(-34px, -4vw, -30px); top: 14px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--shu);
}
.part-ai { background: var(--shu-soft); border-left-color: var(--shu); }
.part-log { background: #F4F2EC; border-left-color: var(--ink); }
.part-log::before { background: var(--ink); }
.part-info { background: transparent; border-left-color: var(--line); }
.part-info::before { background: var(--muted); }
.mail-part pre { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; word-break: break-all; color: var(--ink); }
.part-info pre { color: var(--ink-2); font-size: 13px; }
.mail-window .visual-caption { padding: 4px clamp(16px, 3vw, 28px) 16px; }

.mail-notes { display: grid; gap: 14px; position: sticky; top: 104px; }
.mail-notes li { padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.mail-notes h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.mail-notes h3 span { flex: none; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: 12px; color: #fff; background: var(--shu); }
.mail-notes li:first-child h3 span { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.mail-notes li:nth-child(3) h3 span { background: var(--ink); }
.mail-notes li:nth-child(4) h3 span { background: var(--muted); }
.mail-notes p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ---------- principles ---------- */
.principles { background: var(--white); }
.principle-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); counter-reset: p; }
.principle-list li { counter-increment: p; padding-top: 22px; border-top: 1px solid var(--ink); }
.principle-list li::before { content: counter(p, decimal-leading-zero); display: block; font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: var(--shu); letter-spacing: .1em; margin-bottom: 10px; }
.principle-list h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(18px, 1rem + .35vw, 21px); letter-spacing: .04em; line-height: 1.55; }
.principle-list p { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }

/* ---------- start ---------- */
.start-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.start-steps li { position: relative; padding: 26px 22px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.start-num { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--shu); }
.start-steps h3 { margin-top: 10px; font-size: 17px; }
.start-steps p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.start-steps li:nth-child(3) { border-color: rgba(184, 58, 38, .4); box-shadow: inset 0 3px 0 var(--shu); }

.status { margin-top: 28px; display: flex; gap: 20px; align-items: flex-start; padding: clamp(22px, 3vw, 32px); border-radius: calc(var(--radius) + 4px); background: var(--paper-2); border: 1px solid var(--line); }
.status img { flex: none; width: 44px; height: 44px; }
.status h3 { font-size: 17px; }
.status p { margin-top: 8px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.status .status-fine { font-size: 13.5px; font-weight: 700; color: var(--ink); }

/* ---------- faq ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 34px; font-weight: 700; font-size: 16px; line-height: 1.7;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 2px; top: 20px; font-family: var(--font-serif); font-weight: 600; font-size: 19px; color: var(--shu); }
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--shu-dark); }
.faq-list details > div { padding: 0 48px 24px 34px; }
.faq-list details p { font-size: 15px; line-height: 2; color: var(--ink-2); }

/* ---------- closing ---------- */
.closing { background: var(--ink); color: var(--paper); text-align: center; padding-block: clamp(80px, 11vw, 136px); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(184, 58, 38, .22), transparent 70%); pointer-events: none; }
.closing-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing-mark { width: 64px; height: 64px; margin-bottom: 26px; }
.closing h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.7rem); }
.closing p { margin-top: 18px; color: #CBD1DB; font-size: 16px; }
.closing-actions { justify-content: center; }
.closing .closing-note { margin-top: 18px; font-size: 13px; color: #9AA3B2; }

/* ---------- footer ---------- */
.site-footer { background: #141A24; color: #B3BAC6; font-size: 13px; line-height: 1.8; padding-block: 48px 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 48px; align-items: start; }
.footer-brand img { width: 137px; }
.footer-brand p { margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding-top: 6px; }
.footer-nav a { text-decoration: none; color: #DDE2EA; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { text-align: right; }
.footer-meta small { font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .global-nav { display: none; }
  .site-header .btn-small { margin-left: auto; }
  .scene-list, .start-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(2)::after { display: none; }
  .principle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .call-grid, .mail-grid, .faq-grid { grid-template-columns: 1fr; }
  .call .section-head, .faq .section-head, .mail-notes { position: static; }
  .mail-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callback { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .notice-bar { font-size: 12px; text-align: left; }
  .header-inner { min-height: 60px; gap: 12px; }
  .brand img { width: 118px; }
  .btn-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .btn { width: 100%; }
  .site-header .btn { width: auto; }
  .hero-actions { flex-direction: column; }
  .hero-kicker { font-size: 12px; letter-spacing: .03em; padding: 5px 12px; border-radius: 12px; }
  .hero-visual { min-height: 0; display: flex; flex-direction: column; margin-top: 8px; }
  .hero-call { order: 1; position: relative; top: auto; right: auto; align-self: flex-end; width: 86%; z-index: 2; font-size: 13px; padding: 12px 14px 13px; }
  .bizcard { order: 2; position: relative; top: auto; left: auto; width: 94%; transform: rotate(-3deg); margin: -4px 0 0 1%; padding: 18px 20px 16px; z-index: 1; }
  .bizcard-role { margin-top: 10px; }
  .bizcard-name { font-size: 22px; }
  .hero-mail { order: 3; position: relative; right: auto; bottom: auto; align-self: flex-end; width: 90%; margin-top: -12px; z-index: 3; }
  .hero-mail-subject { font-size: 14px; }
  .hero-visual .visual-caption { order: 4; position: static; margin-top: 14px; }
  .scene-list, .start-steps, .flow, .principle-list, .two-numbers, .mail-notes { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .scene { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 22px 20px; }
  .scene img { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .scene p { margin-top: 4px; }
  .demo-panel { min-height: 0; }
  .talk li { max-width: 94%; }
  .talk p { font-size: 14.5px; }
  .demo-tabs button { font-size: 13px; padding: 8px 13px; }
  .mail-part { margin-left: 38px; margin-right: 12px; padding: 12px 12px; }
  .mail-part::before { left: -30px; }
  .mail-part pre { font-size: 13px; }
  .faq-list summary { padding-right: 36px; font-size: 15.5px; }
  .faq-list details > div { padding-right: 8px; }
  .status { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .js .demo-panel .talk li, .js .demo-panel .demo-result { opacity: 1; transform: none; }
}
