/* =========================================================
   プリもり スタイル
   色はロゴに合わせた変数で管理する。角丸は控えめ（2〜8px）。
   ========================================================= */
:root {
  --ink: #463232;          /* 文字・濃い部分（ロゴの文字色） */
  --ink-2: #4F4440;        /* 本文のやや薄い文字 */
  --muted: #6B5E57;        /* 補足の文字 */
  --green: #3E7A3B;        /* メイン（ボタン・リンク） */
  --green-logo: #4C9048;   /* ロゴの緑（装飾用） */
  --green-light: #9DC55F;  /* 明るい緑（アイコン・装飾） */
  --green-tint: #E6F0D6;   /* 淡い緑の背景 */
  --orange: #F98A21;       /* 強調ボタン */
  --yellow: #FEB94E;       /* ラベル・アクセント */
  --bg: #F6F3EA;           /* ページの背景（生成り） */
  --bg-2: #F3EEDF;         /* 少し濃い生成り */
  --card: #FFFFFF;
  --line: #E2DCCB;         /* 罫線 */
  --line-2: #CFC7B2;       /* 入力欄の枠 */
  --paper-line: #D8D0BC;   /* プリント見本の枠 */
  --on-dark: #F1E7DF;      /* 濃い背景の上の文字 */
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 8px;
  --wrap: 1200px;
  --font: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-head: 'Zen Maru Gothic', 'BIZ UDPGothic', sans-serif;
  --fs: 17px;
}
html.is-large { --fs: 20px; }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs); line-height: 1.75; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.4; margin: 0; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 4px; }

/* ---------- 上部の帯・ヘッダー ---------- */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.fs-switch { display: flex; align-items: center; gap: 6px; }
.fs-switch button { min-height: 36px; padding: 0 12px; border: 1px solid var(--on-dark); background: transparent; color: var(--on-dark); border-radius: var(--r-sm); cursor: pointer; }
.fs-switch button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); font-weight: 700; }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.site-logo img { display: block; height: 38px; width: auto; }
.gnav { display: flex; flex-wrap: wrap; gap: 0 22px; font-weight: 700; font-size: 16px; flex: 1 1 auto; }
.gnav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.gnav a[aria-current] { color: var(--green); box-shadow: inset 0 -3px 0 var(--green); }
.menu-toggle, .menu-extra, .topbar__short { display: none; }
.menu-toggle { margin-left: auto; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 700; font-size: 15px; cursor: pointer; }
.menu-toggle__icon { width: 20px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-toggle__icon span { display: block; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 共通部品 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(.94); }
.btn--outline { background: #fff; color: var(--green); border-color: var(--green); }
.btn--accent { background: var(--orange); color: var(--ink); }
.btn--lg { min-height: 60px; font-size: 20px; }
.btn--block { display: flex; width: 100%; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: 15px; padding: 7px 15px; border-radius: var(--r-sm); }
.chip[aria-current] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.tag { display: inline-block; background: var(--green-tint); font-size: 14px; padding: 2px 10px; border-radius: var(--r-sm); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.breadcrumb { font-size: 14px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: '＞'; margin-right: 4px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section + .section { padding-top: 24px; }
.section-title { font-size: 30px; margin-bottom: 28px; }
.input, .select { width: 100%; padding: 12px 14px; border: 2px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 16px; }
.ad { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--line-2); border-radius: var(--r); color: var(--muted); font-size: 13px; }
.ad--wide { min-height: 100px; margin: 8px 0; }
.ad--rect { height: 250px; }
.ad--tall { height: 600px; }

/* プリント見本（サムネイル） */
.paper { position: relative; aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--paper-line); border-radius: 2px; overflow: hidden; display: block; }
.paper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.paper--blank { padding: 12%; display: flex; flex-direction: column; gap: 7%; }
.paper--blank span { display: block; height: 4%; background: #EEE8DA; }
.paper--blank span:first-child { width: 60%; height: 6%; background: var(--green-tint); }
.paper .rank { position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.print-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.print-card__title { font-weight: 700; font-size: 15px; line-height: 1.5; }
.print-card__meta { font-size: 13px; color: var(--muted); }
.grid-prints { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }

/* ---------- トップ ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-2); }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; padding-top: 64px; padding-bottom: 120px; }
.hero__body { max-width: 700px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.35; margin-bottom: 16px; }
.hero h1 .em { display: inline-block; color: var(--green); }
.hero h1 .em span { color: var(--ink); }
.hero__lead { color: var(--ink-2); font-size: 18px; margin-bottom: 24px; }
.search-box { background: #fff; border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.search-box label { font-weight: 700; font-size: 15px; }
.search-box__row { display: flex; gap: 8px; }
.search-box__row .input { flex: 1 1 auto; min-width: 0; }
.search-box__row .btn { flex: none; white-space: nowrap; padding: 0 20px; }
.popular { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.popular span { color: var(--muted); padding: 6px 0; }
.popular a { background: var(--bg-2); color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: var(--r-sm); }
.trust { margin-top: -56px; position: relative; }
.trust ul { list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-wrap: wrap; gap: 1px; }
.trust li { flex: 1 1 220px; background: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 12px; }
.trust small { display: block; font-size: 14px; color: var(--muted); }
.scenes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.scene { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.scene__img { position: relative; height: 170px; }
.scene__img svg { width: 100%; height: 100%; display: block; }
.scene__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.scene__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.scene__more { color: var(--green); font-weight: 700; font-size: 15px; margin-top: auto; padding-top: 8px; }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.cat-card__name { font-weight: 700; font-size: 19px; }
.cat-card__desc { font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step { position: relative; flex: 1 1 0; min-width: 0; padding: 32px 32px 34px 40px; display: flex; flex-direction: column; gap: 14px; }
.step + .step { border-left: 1px solid var(--line); }
.step__arrow { position: absolute; left: -18px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; z-index: 1; }
.step__head { display: flex; align-items: center; gap: 16px; }
.step__num { flex: none; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.step__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--green); display: block; }
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; display: block; line-height: 1.3; }
.step__icon { margin-left: auto; flex: none; }
.banner-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.banner-dark .eyebrow { color: var(--yellow); }

/* ---------- カテゴリ一覧 ---------- */
.cat-head { background: #fff; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.cat-head__row { margin-top: 28px !important; }
.cat-head__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.cat-head h1 { font-size: 38px; margin-bottom: 8px; }
.maker-link { flex: 0 1 400px; display: flex; align-items: center; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; text-decoration: none; color: var(--ink); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 48px; padding-bottom: 80px; }
.layout__side { flex: 1 1 260px; max-width: 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.layout__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.filter { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.filter fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.filter legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 4px; }
.filter label { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.filter input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--green); }
.series { padding: 22px 24px; }
.series__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.series__head h2 { font-size: 22px; }
.series__items { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.series__items .num { font-size: 14px; text-align: center; }
.series__more { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 210 / 297; border: 1px dashed var(--line-2); border-radius: 2px; text-decoration: none; color: var(--green); font-weight: 700; font-size: 14px; text-align: center; }

/* ---------- プリント個別 ---------- */
.print-main { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 20px; padding-bottom: 40px; }
.print-preview { flex: 1 1 460px; min-width: 0; }
.print-preview__frame { background: #E9E4D6; border-radius: var(--r-lg); padding: 28px; display: flex; justify-content: center; }
.print-preview__frame .paper { width: 100%; max-width: 480px; box-shadow: 0 2px 0 var(--paper-line); }
.print-side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.print-side h1 { font-size: 32px; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.panel { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.hints { margin: 0; padding-left: 1.2em; font-size: 15px; color: var(--ink-2); }
.series-bar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.series-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 28px; padding-bottom: 28px; }
.series-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.series-nav a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.series-nav a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.next-btn { display: flex; align-items: center; gap: 12px; background: var(--orange); color: var(--ink); text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: var(--r); }
.next-btn small { display: block; font-size: 13px; font-weight: 400; }

/* ---------- 年齢早見表 ---------- */
.calc-box { background: #fff; border: 2px solid var(--green); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.calc-inputs { border: 0; margin: 0; padding: 0; flex: 1 1 360px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.calc-inputs legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.calc-box label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.calc-box .select { font-size: 18px; color: var(--ink); padding: 10px; }
.calc-result { flex: 1 1 360px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-result div { background: var(--bg); border-radius: var(--r); padding: 12px 14px; }
.calc-result span { display: block; font-size: 13px; color: var(--muted); }
.calc-result b { font-family: var(--font-head); font-size: 28px; }
.calc-result__wide { grid-column: 1 / -1; }
.calc-result small { font-size: 14px; color: var(--muted); }
.hayami { width: 100%; border-collapse: collapse; font-size: 16px; text-align: center; background: #fff; }
.hayami caption { text-align: left; padding: 16px 20px; font-weight: 700; font-size: 18px; }
.hayami th, .hayami td { padding: 9px 8px; border-bottom: 1px solid #EEE8DA; }
.hayami thead th { background: var(--ink); color: #fff; font-size: 14px; }
.hayami tbody tr:nth-child(10n+1) { background: var(--bg); }
.hayami .after { font-weight: 700; color: var(--green); }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; }
.hayami thead small { font-size: 11px; font-weight: 400; }
.hayami--grade td:nth-child(2) { text-align: left; }
.tabs { display: flex; flex-wrap: wrap; margin-bottom: -1px; position: relative; }
.tabs [role=tab] { border: 1px solid var(--line); border-bottom: 0; background: var(--bg-2); padding: 10px 18px; font-weight: 700; cursor: pointer; border-radius: var(--r) var(--r) 0 0; margin-right: 4px; }
.tabs [role=tab][aria-selected="true"] { background: #fff; color: var(--green); box-shadow: inset 0 3px 0 var(--green); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid #EEE8DA; text-decoration: none; color: var(--ink); }
.link-list a::after { content: '›'; color: var(--green); }

/* ---------- 固定ページ ---------- */
.prose { padding: 32px; }
.prose h1 { font-size: 32px; margin-bottom: 20px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose ul { margin: 0 0 12px; }
.dl { display: grid; grid-template-columns: 10em 1fr; gap: 10px 20px; margin: 0; }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #EADFD8; padding: 44px 0; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer img { height: 40px; width: auto; display: block; }
.site-footer nav { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.site-footer b { color: #fff; }
.site-footer a { color: #EADFD8; }
.copyright { font-size: 13px; margin-top: 8px; }

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar__long, .topbar__fs { display: none; }
  .topbar__short { display: inline; }
  .topbar .wrap { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .site-logo img { height: 32px; }
  .menu-toggle { display: inline-flex; }
  .gnav { display: none; flex-basis: 100%; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 0 6px; font-size: 16px; }
  .gnav.is-open { display: grid; }
  .gnav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; background: var(--bg); border-radius: var(--r); }
  .gnav a::after { content: '›'; color: var(--green); font-size: 20px; }
  .gnav a[aria-current] { box-shadow: inset 3px 0 0 var(--green); }
  .menu-extra { display: flex; }
  .menu-extra--fs { grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; background: #F0F0F0; border-radius: var(--r); font-weight: 400; margin-top: 4px; }
  .menu-extra--fs button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: var(--r-sm); }
  .menu-extra--fs button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section + .section { padding-top: 16px; }
  .section-title { font-size: 24px; margin-bottom: 20px; }
  .layout { padding-top: 32px; padding-bottom: 56px; gap: 32px; }
  .trust { margin-top: -40px; }
  .trust li { padding: 16px 18px; }
  .scene__img { height: 140px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero__lead { font-size: 16px; }
  .hero__lead br { display: none; }
  .banner-dark { padding: 28px 24px; }
  .cat-head h1, .print-side h1 { font-size: 28px; }
  .hero .wrap { padding-top: 32px; padding-bottom: 96px; }
  .steps { flex-direction: column; }
  .step { padding: 28px 24px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step__arrow { left: 50%; top: -18px; transform: translateX(-50%) rotate(90deg); }
  .series__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout__side { max-width: none; }
  .ad--tall { height: 250px; }
  .calc-result { grid-template-columns: 1fr 1fr 1fr; }
  .hayami { font-size: 14px; }
  .dl { grid-template-columns: 1fr; }
}

/* ---------- 印刷 ---------- */
/* 計算プリント作成ツール */
.maker__preview { min-width: 0; }
.maker { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px 0 40px; }
.maker__form { padding: 24px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.maker__field[hidden] { display: none; }
.maker__field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; border: 0; margin: 0; padding: 0; min-width: 0; }
.maker__field legend { padding: 0; margin-bottom: 6px; }
.maker__field .select, .maker__field .input { font-weight: 400; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border: 2px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.seg input:checked + span { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.maker__btns { display: flex; flex-direction: column; gap: 10px; }
.maker__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.maker__nav { display: flex; align-items: center; gap: 10px; }
.maker__nav #sheet-no { font-weight: 700; font-size: 18px; min-width: 64px; text-align: center; }
.maker__nav .btn:disabled { opacity: .4; cursor: default; }
.sheet-stage { position: relative; overflow: hidden; }
#print-root { display: none; }
@media print { #print-root { display: block; } }
.sheet { width: 210mm; height: 297mm; background: #fff; box-shadow: 0 1px 4px rgba(70, 50, 50, .18); transform-origin: 0 0; padding: 14mm 15mm 10mm; display: flex; flex-direction: column; color: #222; font-family: 'BIZ UDPGothic', sans-serif; }
.sh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 3mm 6mm; border-bottom: 2px solid #222; padding-bottom: 3mm; margin-bottom: 6mm; }
.sh-title { font-family: 'Klee One', serif; font-weight: 600; font-size: 22pt; line-height: 1.25; }
.sh-badge { display: inline-block; background: #222; color: #fff; font-size: 11pt; padding: .5mm 3mm; border-radius: 1mm; margin-left: 3mm; vertical-align: middle; font-family: 'BIZ UDPGothic', sans-serif; }
.sh-name { display: flex; align-items: flex-end; gap: 5mm; font-size: 11pt; white-space: nowrap; margin-left: auto; }
.sh-name i { display: inline-block; width: 42mm; border-bottom: 1px solid #222; height: 7mm; vertical-align: bottom; }
.sh-score { border: 1.5px solid #222; border-radius: 1.5mm; padding: 1mm 3mm; }
.sh-grid > div { min-width: 0; }
.sh-grid { display: grid; column-gap: 10mm; flex: 1 1 auto; align-content: start; }
.sh-grid.sh-c2 { grid-template-columns: 1fr 1fr; }
.sh-grid.sh-c3 { grid-template-columns: 1fr 1fr 1fr; column-gap: 6mm; }
.sh-q { display: flex; align-items: center; gap: 2.5mm; border-bottom: 1px dashed #bbb; }
.sh-no { font-size: 9pt; color: #666; width: 8mm; flex: none; }
.sh-ex { font-family: 'Klee One', serif; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.sh-box { margin-left: auto; border: 1.5px solid #222; border-radius: 1mm; display: flex; align-items: center; justify-content: center; font-family: 'Klee One', serif; font-weight: 600; flex: none; }
.sh-r5 .sh-q { height: 34mm; } .sh-r5 .sh-ex, .sh-r5 .sh-box { font-size: 27pt; } .sh-r5 .sh-ex { letter-spacing: .03em; } .sh-r5 .sh-box { width: 26mm; height: 28mm; }
.sh-r10 .sh-q { height: 20mm; } .sh-r10 .sh-ex, .sh-r10 .sh-box { font-size: 22pt; } .sh-r10 .sh-box { width: 22mm; height: 15mm; }
.sh-c3 .sh-q { gap: 1.5mm; } .sh-c3 .sh-no { width: 6.5mm; font-size: 8pt; } .sh-c3 .sh-ex { letter-spacing: 0; }
.sh-c3.sh-r10 .sh-ex, .sh-c3.sh-r10 .sh-box { font-size: 16pt; } .sh-c3.sh-r10 .sh-box { width: 15mm; }
.sh-m.sh-r5 .sh-ex, .sh-m.sh-r5 .sh-box { font-size: 24pt; } .sh-m.sh-r5 .sh-q { height: 26mm; } .sh-m.sh-r5 .sh-box { height: 20mm; width: 22mm; }
.sh-m.sh-r10 .sh-ex, .sh-m.sh-r10 .sh-box { font-size: 18pt; } .sh-m.sh-r10 .sh-q { height: 17mm; } .sh-m.sh-r10 .sh-box { height: 12mm; width: 18mm; }
.sh-m.sh-c3.sh-r10 .sh-ex, .sh-m.sh-c3.sh-r10 .sh-box { font-size: 14pt; } .sh-m.sh-c3.sh-r10 .sh-box { width: 13mm; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ccc; padding-top: 2.5mm; font-size: 8pt; color: #777; margin-top: auto; }
.sh-foot span { display: flex; align-items: center; gap: 3mm; }
.sh-foot img { height: 4.5mm; }
@media (max-width: 760px) {
  .maker { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .maker__form { position: static; padding: 20px; }
  .maker__nav { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; }
}
@media print {
  @page { size: A4; margin: 0; }
  body.is-printing-sheet > :not(#print-root) { display: none !important; }
  #print-root .sheet { transform: none !important; box-shadow: none; overflow: hidden; }
}

/* カテゴリー内のツール */
.tool-list { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 24px; }
.tool-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; text-decoration: none; color: var(--ink); border-left: 4px solid var(--green); }

/* 季節の特集 */
.feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feat-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; text-decoration: none; color: var(--ink); }
.how-to { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-to li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 15px; line-height: 1.6; }
.how-to b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.set-list { display: flex; flex-direction: column; gap: 24px; }
.set-card { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 28px; align-items: start; }
.set-card h2 { font-size: 24px; margin: 10px 0 6px; }
.set-card p { margin: 0 0 8px; }
.set-card__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.set-card__items summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: 15px; padding: 8px 0; }
.set-card__items ol { margin: 6px 0 0; padding-left: 1.6em; font-size: 15px; columns: 2; column-gap: 32px; }
.set-card__items li { break-inside: avoid; padding: 3px 0; }
@media (max-width: 760px) {
  .how-to { grid-template-columns: 1fr; }
  .set-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .set-card__thumb { max-width: 180px; }
  .set-card__btns .btn { width: 100%; }
  .set-card__items ol { columns: 1; }
}

@media print {
  .topbar, .site-header, .site-footer, .ad, .ad-wrap, .breadcrumb { display: none !important; }
  body { background: #fff; }
}
