/* Guides, 事例, 料金, よくある質問 (built by dahlia/execution/site/content_pages.py). Loaded after legal.css and
   reuses its tokens: wine band, white card on blush ground. Adds a small top menu, reading styles and the 相談 box. */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.top-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; font-size: .9375rem; }
.top-nav a { color: var(--cream); font-weight: 500; text-decoration: none; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--blush); text-decoration: underline; text-underline-offset: 5px; }
.top-nav .cta-sm { background: var(--rose); color: #fff; padding: .35em 1em; border-radius: 999px; font-weight: 700; }
.top-nav .cta-sm:hover { background: var(--burgundy); color: #fff; text-decoration: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; margin: 0 0 14px; color: rgba(251,245,240,.75); }
.crumbs a { color: rgba(251,245,240,.9); font-weight: 500; }

.byline { margin: 0 0 22px; font-size: .875rem; color: var(--ink-soft); }
.prose h2 { font-family: var(--display-ja); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.55rem); color: var(--wine); line-height: 1.5;
  margin: 48px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); text-wrap: balance; }
.prose h3 { font-size: 1.125rem; color: var(--wine); margin: 28px 0 8px; line-height: 1.55; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--wine); }

/* the short answer right under a heading: the passage AI answers and skimmers quote */
.answer { background: #FBF3F6; border-left: 4px solid var(--rose); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 0 0 18px; }
.answer p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9375rem; line-height: 1.7; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--ground); color: var(--wine); font-size: .875rem; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose td.num, .prose th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* three ways: do it yourself / use a tool / ask someone */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 0 0 18px; }
.way { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.way b { color: var(--wine); font-size: 1.0625rem; }
.way p { margin: 0; font-size: .9375rem; }
.way .cost { font-weight: 700; color: var(--burgundy); }

/* a phone-message mock with the demo company's numbers */
.sample { margin: 0 0 18px; display: grid; gap: 8px; }
.sample pre { margin: 0; white-space: pre-wrap; font-family: var(--body); font-size: .9375rem; line-height: 1.75;
  background: #EAF6EC; border: 1px solid #CFE6D3; border-radius: 4px 16px 16px 16px; padding: 14px 18px; max-width: 34em; }
.sample figcaption { font-size: .8125rem; color: var(--ink-soft); }

.steps-list { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps-list > li { counter-increment: s; position: relative; padding-left: 2.6em; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: .1em; width: 1.8em; height: 1.8em; border-radius: 50%;
  display: grid; place-items: center; background: var(--wine); color: #fff; font-size: .8125rem; font-weight: 700; }

.note { font-size: .9375rem; color: var(--ink-soft); }
.todo { background: #FFF4D6; border: 1px dashed #C99A2E; border-radius: 8px; padding: 2px 8px; }

/* Q&A */
.prose details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.prose details:first-of-type { border-top: 1px solid var(--line); }
.prose summary { cursor: pointer; font-weight: 700; color: var(--wine); padding: 12px 28px 12px 0; position: relative; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "＋"; position: absolute; right: 2px; top: 12px; color: var(--rose); }
.prose details[open] summary::after { content: "－"; }
.prose details > :not(summary) { margin: 0 0 14px; }

.src { font-size: .875rem; color: var(--ink-soft); word-break: break-word; }
.related { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.cta-box { margin: 28px 0 0; background: linear-gradient(135deg, var(--wine), var(--burgundy)); color: var(--cream); border-radius: 16px;
  padding: clamp(22px, 4.5vw, 36px); display: grid; gap: 10px; justify-items: start; }
.cta-box h2 { font-family: var(--display-ja); color: #fff; font-size: 1.375rem; margin: 0; line-height: 1.5; }
.cta-box p { margin: 0; color: rgba(251,245,240,.92); }
.cta-box .btn { margin-top: 6px; background: var(--cream); color: var(--wine); text-decoration: none; font-weight: 700; padding: .7em 1.6em; border-radius: 999px; }
.cta-box .btn:hover { background: #fff; }

footer nav + nav { margin-top: 8px; }
@media (max-width: 600px) {
  .top-nav { font-size: .875rem; gap: 2px 14px; }
}

/* who we are (once, near the top of a guide) */
.about-line { background: var(--ground); border-radius: 10px; padding: 12px 16px; font-size: .9375rem; }
.about-line b { color: var(--wine); }
/* how Dahlia handles the pain the section just described */
.ours { border: 2px solid var(--blush); border-radius: 12px; padding: 4px 20px 6px; margin: 0 0 18px; }
.ours h3 { margin-top: 16px; }
/* mid-page offer */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  background: #FBF3F6; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 8px 0 18px; }
.cta-inline p { margin: 0; flex: 1 1 22em; font-size: .9375rem; }
.cta-inline b { color: var(--wine); }
.cta-inline a { background: var(--rose); color: #fff; text-decoration: none; padding: .55em 1.3em; border-radius: 999px; white-space: nowrap; }
.cta-inline a:hover { background: var(--burgundy); }

/* the free-sheet request form (same fields and feel as the 相談 form on the home page) */
.free-form { background: var(--ground); border-radius: 12px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; margin: 0 0 18px; position: relative; }
.free-form label, .free-form legend { font-weight: 700; display: grid; gap: 6px; color: var(--ink); }
.free-form label small, .free-form legend small { font-weight: 500; color: var(--ink-soft); margin-left: .5em; }
.free-form input[type=text], .free-form input[type=email], .free-form select { font: inherit; font-weight: 500; padding: .7em .9em; border-radius: 6px;
  border: 1px solid rgba(75,21,40,.3); background: #fff; color: var(--ink); width: 100%; }
.free-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.free-form .checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.free-form .checks label, .free-form .agree { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.free-form .agree input { margin-top: .45em; }
.free-form .btn { justify-self: start; background: var(--wine); color: var(--cream); border: 0; border-radius: 999px; padding: .85em 1.8em;
  font: inherit; font-weight: 700; cursor: pointer; }
.free-form .btn:hover { background: var(--burgundy); }
.free-form .btn[disabled] { opacity: .6; cursor: wait; }
.free-form .msg { margin: 0; color: #A3263F; font-weight: 700; }
.free-form .msg.ok { color: #2F5A47; }
.free-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 事例: figures strip */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin: 0 0 22px; }
.figures div { background: var(--ground); border-radius: 12px; padding: 14px 14px 12px; display: grid; gap: 2px; align-content: start; }
.figures b { font-family: var(--display-ja); color: var(--wine); font-size: 1.75rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.figures b small { font-size: .95rem; margin-left: 2px; }
.figures span { font-size: .875rem; color: var(--ink-soft); line-height: 1.6; }

/* 事例: how the setup flows (boxes left to right, stacked on phones) */
.flow { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 4px 0 8px; }
.flow .node { border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; background: #fff;
  display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; }
.flow .node b { color: var(--wine); font-size: .9375rem; line-height: 1.5; }
.flow .node span { font-size: .8125rem; color: var(--ink-soft); line-height: 1.6; }
.flow .node.you { background: #FBF3F6; border-color: var(--blush); }
.flow .node.ai { background: #EEF3F0; border-color: #CFE0D6; }
.flow .arrow { align-self: center; color: var(--rose); font-weight: 700; line-height: 1; transform: rotate(90deg); }
.flow-cap { font-size: .8125rem; color: var(--ink-soft); margin: 0 0 22px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--ink-soft); margin: 0 0 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.legend .k-you { background: #FBF3F6; border-color: var(--blush); }
.legend .k-ai { background: #EEF3F0; border-color: #CFE0D6; }
@media (max-width: 520px) { .flow .node { grid-template-columns: 1fr; } }

/* 事例: ChatGPT era vs Claude Code era */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 0 0 18px; }
.compare > div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.compare h3 { margin: 0 !important; font-size: 1rem; }
.compare ol { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 6px; }
.compare li { margin: 0 !important; display: flex; gap: 8px; align-items: baseline; font-size: .9375rem; }
.compare li em { font-style: normal; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; white-space: nowrap; flex: 0 0 auto; }
.compare .me em { background: #FBF3F6; color: var(--burgundy); border: 1px solid var(--blush); }
.compare .bot em { background: #EEF3F0; color: #2F5A47; border: 1px solid #CFE0D6; }
.compare .after { border-color: #CFE0D6; }

/* 事例: phone screen with the morning message (illustration) */
.phone-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 18px; }
.phone { margin: 0; background: var(--night); border-radius: 30px; padding: 12px; box-shadow: 0 10px 30px -12px rgba(75,21,40,.35); }
.phone .screen { background: #F2F2F4; border-radius: 20px; padding: 14px 12px 16px; display: grid; gap: 8px; }
.phone .time { text-align: center; font-size: .75rem; color: #6B6B70; margin-bottom: 2px; }
.phone .msg { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: .8125rem; line-height: 1.6; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.phone .msg b { display: block; font-size: .75rem; color: var(--wine); margin-bottom: 2px; }
.phone .ok { display: inline-block; margin-top: 6px; background: var(--rose); color: #fff; border-radius: 999px; padding: 1px 10px; font-size: .75rem; font-weight: 700; }
@media (max-width: 640px) { .phone-wrap { grid-template-columns: 1fr; } .phone { width: 100%; max-width: 260px; margin: 0 auto; } }
