/* ユースケースページ共通スタイル（LP のデザイントークンを共有） */
:root {
  --paper: #FAF7F1; --wash: #EFF3F7; --rule: #C9D8E6;
  --indigo: #29517D; --indigo-deep: #1C3A5C;
  --shu: #D6432D; --shu-deep: #B93520;
  --ink: #23272F; --muted: #6B7684;
  --serif: "Shippori Mincho", serif; --sans: "Zen Kaku Gothic New", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.8; font-size: 16px; }
a { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 1.25rem; }

header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.header-in { display: flex; align-items: center; gap: 1.5rem; height: 60px; }
.logo { font-family: var(--serif); font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo small { font-family: var(--sans); font-weight: 500; font-size: .7rem; color: var(--muted); margin-left: .5rem; letter-spacing: .12em; }
header nav { margin-left: auto; display: flex; gap: 1.25rem; align-items: center; }
header nav a { text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink); }

.btn { display: inline-block; background: var(--shu); color: #fff; text-decoration: none; font-weight: 700;
  border: none; border-radius: 6px; cursor: pointer; padding: .8rem 1.6rem; font-size: 1rem; transition: background .15s; }
.btn:hover { background: var(--shu-deep); }
.btn.small { padding: .45rem 1rem; font-size: .85rem; }

.hero { border-bottom: 1px solid var(--rule);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px,
    rgba(41, 81, 125, .07) 35px, rgba(41, 81, 125, .07) 36px); }
.hero-in { padding: 3.5rem 0 3rem; }
.eyebrow { font-size: .82rem; font-weight: 700; color: var(--indigo); letter-spacing: .14em; }
.eyebrow::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; background: var(--indigo);
  vertical-align: middle; margin-right: .6rem; }
h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.5; margin: .9rem 0 1rem; }
.hero-lead { max-width: 38em; }
.hero-lead strong { color: var(--shu-deep); }
.hero-cta { margin-top: 1.6rem; }

section { padding: 3.2rem 0; }
.alt { background: var(--wash); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: .4rem; }
.section-head { margin-bottom: 1.8rem; }

.pains { list-style: none; display: grid; gap: .7rem; max-width: 40em; }
.pains li { background: #fff; border: 1px dashed var(--rule); border-radius: 8px; padding: .7rem 1rem; font-size: .95rem; }
.pains li::before { content: "✎ "; color: var(--muted); }

.flow { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 1.3rem 1.4rem;
  max-width: 34rem; box-shadow: 0 8px 28px rgba(28, 58, 92, .08);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px,
    rgba(41, 81, 125, .08) 31px, rgba(41, 81, 125, .08) 32px); }
.flow-head { display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid var(--indigo); padding-bottom: .5rem; margin-bottom: .9rem; }
.flow-head b { font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--indigo-deep); letter-spacing: .1em; }
.flow-head span { font-size: .72rem; color: var(--muted); }
.entry { font-size: .88rem; padding: .35rem .5rem; background: rgba(239, 243, 247, .85);
  border-left: 3px solid var(--indigo); border-radius: 0 4px 4px 0; margin-bottom: .6rem; }
.tasks { list-style: none; }
.tasks li { display: flex; align-items: center; justify-content: space-between; padding: .5rem .25rem;
  border-bottom: 1px dashed var(--rule); font-size: .9rem; gap: 1rem; }
.tasks li:last-child { border-bottom: none; }
.stamp { font-family: var(--serif); font-weight: 800; color: var(--shu); border: 2.5px solid var(--shu);
  border-radius: 50%; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-size: .95rem;
  transform: rotate(-8deg); background: rgba(255,255,255,.75); flex-shrink: 0; }
.flow-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

.steps-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; margin-top: 1.4rem; }
.steps-inline div { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.1rem; font-size: .88rem; }
.steps-inline div::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-weight: 800;
  color: #fff; background: var(--indigo); width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: .5rem; font-size: .9rem; }

.price-line { background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--shu); border-radius: 8px;
  padding: 1.2rem 1.4rem; max-width: 40em; }
.price-line b { font-family: var(--serif); font-size: 1.3rem; }
.price-line .sub { font-size: .85rem; color: var(--muted); margin-top: .3rem; }

details { background: #fff; border: 1px solid var(--rule); border-radius: 8px; margin-bottom: .8rem; max-width: 46em; }
summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; font-size: .95rem;
  display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; color: var(--indigo); flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.2rem 1.1rem; font-size: .92rem; }

.cta-band { background: var(--indigo-deep); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36em; margin: 1rem auto 1.6rem; color: #DCE6F0; }
.cta-band .eyebrow, .cta-band .eyebrow::before { color: #B9CDE2; background-color: #B9CDE2; }
.cta-band .eyebrow::before { background: #B9CDE2; }

footer { padding: 2rem 0 2.6rem; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--muted); }
.footer-in { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-in a { color: var(--muted); }
.copyright { margin-left: auto; }

@media (max-width: 700px) {
  .steps-inline { grid-template-columns: 1fr; }
  header nav a.nav-link { display: none; }
  .copyright { margin-left: 0; }
}
