/* Freck お役立ち資料(/guide/) 共通スタイル。LP(landing.html)の配色・書体に合わせる */
:root {
  --paper: #f9fbfe;
  --paper-2: #e9f1fb;
  --white: #ffffff;
  --ink: #14204a;
  --ink-soft: #46557a;
  --ink-faint: #8ca3c7;
  --line: #d9e4f3;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #dbeafe;
  --navy: #06183e;
  --red: #d4402a;
  --yellow: #ffd166;
  --green: #0f9d58;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

/* header */
.gh { position: sticky; top: 0; z-index: 20; background: rgba(249,251,254,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.gh-inner { max-width: 1100px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gh-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: "Sora", sans-serif; font-weight: 800; font-size: 20px; }
.gh-logo img { width: 30px; height: 30px; border-radius: 8px; }
.gh-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.gh-nav a { text-decoration: none; color: var(--ink-soft); }
.gh-nav a:hover { color: var(--accent); }
.gh-cta { background: var(--accent); color: #fff !important; padding: 9px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--accent-dark); }
.gh-cta:hover { background: var(--accent-dark); }
@media (max-width: 560px) { .gh-nav .gh-plain { display: none; } }

/* layout */
.gwrap { max-width: 760px; margin: 0 auto; padding: 28px 16px 72px; }
.crumb { font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; }
.crumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
h1 { font-size: 30px; line-height: 1.4; font-weight: 900; letter-spacing: -.01em; margin-bottom: 14px; }
.lead { font-size: 17px; color: var(--ink-soft); margin-bottom: 14px; }
.meta { font-size: 13px; color: var(--ink-faint); margin-bottom: 26px; }
h2 { font-size: 22px; font-weight: 900; margin: 48px 0 14px; padding-left: 14px; border-left: 5px solid var(--accent); line-height: 1.45; }
h3 { font-size: 17px; font-weight: 800; margin: 26px 0 8px; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 24px; }
li { margin-bottom: 6px; }
strong { font-weight: 800; }
.note { background: var(--paper-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-soft); margin: 14px 0 18px; }
.note strong { color: var(--ink); }
table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; background: #fff; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--paper-2); font-weight: 800; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* download card */
.dl { background: #fff; border: 2px solid var(--accent-soft); border-radius: 18px; padding: 20px 20px 18px; margin: 8px 0 28px; box-shadow: 0 10px 30px rgba(20,32,74,.06); }
.dl h2 { border: 0; padding: 0; margin: 0 0 6px; font-size: 19px; }
.dl p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 20px; font-size: 15px; line-height: 1; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 5px 0 var(--accent-dark); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--accent-dark); border: 2px solid var(--accent-soft); }
.btn-ghost:hover { border-color: var(--accent); }
.dl small { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* toc */
.toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 8px; }
.toc p { font-weight: 800; font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
.toc ol { margin: 0 0 0 20px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; gap: 10px; }
.faq summary::before { content: "Q"; color: var(--accent); font-family: "Sora", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 2px; font-size: 15px; color: var(--ink-soft); }

/* cta */
.cta { margin-top: 44px; background: var(--navy); color: #fff; border-radius: 20px; padding: 28px 24px; }
.cta h2 { border: 0; padding: 0; margin: 0 0 10px; color: #fff; font-size: 22px; }
.cta p { color: #c9d6ee; font-size: 15px; }
.cta ul { color: #e8eefb; font-size: 15px; margin-bottom: 18px; }
.cta .btn-primary { box-shadow: 0 5px 0 #0b3aa8; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #3b5aa6; }
.cta .btn-ghost:hover { border-color: #fff; }

/* related */
.related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.related h2 { font-size: 16px; border: 0; padding: 0; margin: 0 0 10px; color: var(--ink-soft); }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; font-weight: 700; margin-bottom: 8px; }
.related a:hover { border-color: var(--accent); }
.related span { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }

/* footer */
.gf { background: var(--navy); color: #c9d6ee; font-size: 13px; }
.gf-inner { max-width: 1100px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.gf a { color: #c9d6ee; text-decoration: none; margin-right: 16px; }
.gf a:hover { color: var(--yellow); }

/* index list */
.cards { display: grid; gap: 14px; margin-top: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(20,32,74,.05); }
.card:hover { border-color: var(--accent); }
.card h2 { border: 0; padding: 0; margin: 4px 0 6px; font-size: 19px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; }

@media (max-width: 560px) {
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  .lead { font-size: 15px; }
  body { font-size: 15px; }
}
@media print {
  .gh, .gf, .cta, .dl, .toc, .related { display: none; }
}
