/* LB戦略思考塾：生成り・墨・朱の共通スタイル */
:root {
  --paper: #F4EFE4;
  --paper-deep: #EBE3D5;
  --ink: #2B2B2B;
  --muted: #625D55;
  --line: #CFC5B6;
  --shu: #C8442A;
  --shu-dark: #A53621;
  --measure: 40em;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.9 var(--font-body);
  font-feature-settings: "palt";
}
a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
a:hover { color: var(--shu-dark); }
a:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
img { max-width: 100%; height: auto; }

/* 共通ヘッダー */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .inner {
  max-width: 1080px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.brand {
  color: var(--ink);
  font: 600 1.25rem/1.5 var(--font-head);
  letter-spacing: .06em;
  text-decoration: none;
}
.brand small {
  display: block;
  color: var(--muted);
  font: 400 .72rem/1.5 var(--font-body);
  letter-spacing: .04em;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: .9rem;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--shu); }

/* 紙面と文字 */
.wrap { max-width: 1080px; margin: auto; padding: 0 24px; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.tint { background: var(--paper-deep); }
h1, h2, h3 {
  margin: 0 0 .7em;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
}
h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: 1.25em; }
h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--shu); }
h3 { margin-top: 1.7em; font-size: 1.22rem; }
p { max-width: var(--measure); margin: 0 0 1.1em; }
ul, ol { max-width: var(--measure); margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
.lead { font-size: 1.08rem; }
.note { color: var(--muted); font-size: .9rem; }

.hero { padding: 84px 0 76px; }
.making-hero { padding-bottom: 38px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.4; }
.hero h1::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 24px; background: var(--shu); }
.hero .sub { margin-bottom: 1.8em; font: 600 clamp(1.05rem, 2vw, 1.35rem)/1.6 var(--font-head); letter-spacing: .04em; }
.hero-layout { display: flex; align-items: flex-end; gap: 48px; }
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero-layout .visual { flex: 0 0 360px; width: 360px; margin: 0; align-self: flex-end; }
.hero .visual { margin-top: 32px; }
.hero .visual img { width: 100%; max-width: 360px; }
.hero-layout .visual { margin-top: 0; }
.home-hero .hero-copy > p:not(.sub) { max-width: 34em; font-size: .95rem; }

/* ボタンと情報のまとまり */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.btn {
  display: inline-block;
  max-width: 100%;
  padding: 13px 25px;
  border: 1px solid var(--shu);
  background: var(--shu);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
.btn:hover { border-color: var(--shu-dark); background: var(--shu-dark); color: var(--paper); }
.btn.ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.cols > div { padding-top: 20px; border-top: 1px solid var(--line); }
.cols h3 { margin-top: 0; }
.cols p { max-width: none; }
.chat-box {
  max-width: 760px;
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--muted);
}

/* 表、図、引用 */
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--paper-deep); font-weight: 700; white-space: nowrap; }
td.month { font-weight: 700; white-space: nowrap; }
#strategy-ai table { min-width: 800px; }
#strategy-ai .decision-no { color: var(--shu); font-weight: 700; }
#strategy-ai .note { max-width: 40rem; }
.figure { margin: 8px 0 40px; }
.figure svg { display: block; width: 100%; max-width: 860px; height: auto; }
.figure figcaption, .visual figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.visual { margin: 0 0 40px; }
.visual img { display: block; }
.pull {
  max-width: 46em;
  margin: 48px 0 0;
  padding: 24px 30px;
  border-left: 3px solid var(--shu);
  background: var(--paper-deep);
  font: 600 1.15rem/1.8 var(--font-head);
}

/* 塾生の声と略歴 */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.voice { padding-top: 18px; border-top: 1px solid var(--line); }
.voice p { max-width: none; margin-bottom: .6em; }
.voice cite { color: var(--muted); font-size: .9rem; font-style: normal; }
.timeline { max-width: 46em; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.timeline .year { display: block; margin-bottom: 4px; font: 600 1.1rem/1.6 var(--font-head); }
.timeline p { max-width: none; margin-bottom: 0; }

/* プランと制作過程 */
.plan { margin-bottom: 24px; padding: 26px 30px; border: 1px solid var(--line); background: var(--paper); }
.plan h3 { margin-top: 0; }
.plan .price { margin: 0 0 .6em; font: 600 1.5rem/1.6 var(--font-head); }
.plan .price small { margin-left: 8px; color: var(--muted); font: 400 .85rem/1.6 var(--font-body); }
.plan p, .plan ul { max-width: none; }
.plans-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plans-3 .plan { margin-bottom: 0; }
.making-table { max-width: 760px; }
.making-table table { min-width: 0; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: none; padding: 0; list-style: none; }
.process li { padding: 18px 0 0; border-top: 1px solid var(--line); }
.process h3 { margin-top: 0; }
.process p { max-width: none; }
.visual.video { max-width: 760px; margin: 0; }
.video-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper-deep); color: var(--muted); }

/* 共通フッター */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); background: var(--paper-deep); font-size: .9rem; }
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.site-footer dl { margin: 0; }
.site-footer dt { margin-top: 10px; font-weight: 700; }
.site-footer dd { margin: 0; overflow-wrap: anywhere; }
.site-footer .legal { margin-top: 32px; }
.site-footer .legal p { max-width: none; }
.site-footer .copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; }

@media (max-width: 800px) {
  .section { padding: 52px 0; }
  .hero { padding: 58px 0 52px; }
  .making-hero { padding-bottom: 26px; }
  .cols, .voices, .plans-3, .process, .site-footer .grid { grid-template-columns: 1fr; }
  .site-nav { width: 100%; flex-wrap: nowrap; gap: 14px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .site-nav a { flex: 0 0 auto; }
  .site-nav a[href$="#interview"] { padding: 2px 10px; border: 1px solid var(--shu); color: var(--shu); }
  .hero-layout { flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-copy { flex: none; width: 100%; }
  .hero-layout .visual { flex: none; align-self: center; width: 240px; }
  .figure, .visual { margin-bottom: 28px; }
}
@media (max-width: 430px) {
  .wrap { padding: 0 20px; }
  .site-header .inner { padding: 16px 20px; }
  .site-nav a { font-size: .84rem; }
  .hero h1 { font-size: 1.6rem; }
  .plan { padding: 22px 20px; }
  .pull { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 次回の例会（index・塾生ページ共通） */
.schedule { margin: 32px 0; }
/* 文字サイズ・行間は塾生ページの例会資料一覧（members/member.css の .material-card）に揃える：本文16px/1.9、見出し1.25rem、補足.9rem */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 12px 0 8px; }
.schedule-card { border: 1px solid var(--line); background: var(--paper); padding: 26px; min-width: 0; font-size: 1rem; line-height: 1.9; }
.schedule-card h3, .schedule-card h4 { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.5; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: flex; flex-wrap: wrap; gap: 0 1em; align-items: baseline; padding: 6px 0; border-top: 1px dashed var(--line); }
.schedule-list li:first-child { border-top: 0; }
.schedule-slot { min-width: 2.6em; font-weight: 700; }
.schedule-list time { font-weight: 700; }
.schedule-time { color: var(--muted); }
.schedule-list li.is-past { color: var(--muted); }
.schedule-list li.is-past time, .schedule-list li.is-past .schedule-slot { font-weight: 400; text-decoration: line-through; }
.schedule-past { font-size: .8rem; border: 1px solid var(--line); padding: 0 6px; }
.schedule-meta { margin: 12px 0 0; font-size: .9rem; line-height: 1.9; overflow-wrap: anywhere; max-width: none; }
.schedule-meta strong { color: var(--muted); }
.schedule-member { margin-top: 0; }
@media (max-width: 650px) { .schedule-card { padding: 22px; } }
