/* grow3.jp 静的サイト用CSS（1枚）
   色はブランドカラーのみ: Grow3 Blue #0F3D96 / Pale Blue #EEF3FA / Text Dark #1F2937 / Border Gray #E5E7EB
   （診断ツールの4象限色は使わない）。スマホ優先、1行22字の本文が折り返さない文字サイズを基準にする。 */

:root {
  --blue: #0F3D96;
  --pale: #EEF3FA;
  --text: #1F2937;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --muted: rgba(31, 41, 55, .72);          /* Text Darkの透過。補足・日付用 */
  --blue-weak: rgba(15, 61, 150, .08);
  --gutter: 16px;
  --wrap: 880px;
  --wide: 1080px;
  /* 22字＋句読点が収まる文字サイズ（幅 − 余白 を 23 で割る）。14〜17pxに収める */
  --fs-prose: clamp(14px, calc((100vw - 2 * var(--gutter)) / 23), 17px);
  --radius: 8px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  line-break: strict;
  word-break: auto-phrase;       /* 対応ブラウザでは文節単位で折り返す */
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.hdr { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); min-height: 56px;
       display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.logo { display: block; line-height: 0; padding: 12px 0; }
.logo img { height: 26px; width: auto; display: block; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-right: -12px;
            background: none; border: 0; color: var(--blue); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; position: relative; }
.menu-btn .bars::before { position: absolute; top: -6px; }
.menu-btn .bars::after { position: absolute; top: 6px; }
.gnav { width: 100%; }
.gnav ul { list-style: none; margin: 0; padding: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 16px; }
.gnav a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.gnav .nav-cta a { color: var(--white); background: var(--blue); text-align: center; border-radius: var(--radius); padding: 12px 20px; text-decoration: none; }
.gnav .nav-cta a:hover { background: var(--text); }
.js .menu-btn { display: inline-flex; }
.js .gnav { display: none; padding-bottom: 12px; }
.js .gnav.is-open { display: block; }
.js .gnav ul { flex-direction: column; gap: 0; }
.js .gnav li { border-top: 1px solid var(--border); }
.js .gnav li.nav-cta { border-top: 0; padding-top: 12px; }
.js .gnav a { padding: 14px 0; }
.js .gnav .nav-cta a { padding: 14px 20px; }
@media (min-width: 960px) {
  .hdr { flex-wrap: nowrap; }
  .js .menu-btn { display: none; }
  .gnav, .js .gnav { display: block; width: auto; padding: 0; }
  .gnav ul, .js .gnav ul { flex-direction: row; align-items: center; gap: 0 22px; padding: 0; }
  .js .gnav li { border: 0; }
  .js .gnav li.nav-cta { padding: 0; }
  .gnav a, .js .gnav a { padding: 18px 0; font-size: 14px; }
  .gnav .nav-cta a, .js .gnav .nav-cta a { padding: 10px 18px; }
}

/* ---------------------------------------------------------------- 本文（prose） */
.prose { font-size: var(--fs-prose); }
.prose > p, .prose > ul, .prose > ol, .prose > blockquote, .prose > figure { max-width: 34em; }
.prose p { margin: 0 0 1.5em; }
.prose strong { font-weight: 700; }
.prose h2, .prose h3 { line-height: 1.5; }
.sec-title { margin: 0 0 1em; color: var(--blue); font-size: clamp(20px, 5.6vw, 28px); font-weight: 700; letter-spacing: .02em; }
.sec-title::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: var(--blue); }
.sub-title { margin: 2em 0 .8em; font-size: 1.15em; font-weight: 700; }
.item-title { margin: 0 0 .5em; font-size: 1.1em; font-weight: 700; color: var(--blue); }
.item-title a { color: inherit; }
.list { margin: 0 0 1.5em; padding: 0; list-style: none; }
.list li { position: relative; padding: 12px 0 12px 1.4em; border-bottom: 1px solid var(--border); }
ul.list li::before { content: ""; position: absolute; left: .2em; top: 1.35em; width: .5em; height: .5em; background: var(--blue); border-radius: 50%; }
ol.list { counter-reset: n; }
ol.list li { counter-increment: n; padding-left: 2em; }
ol.list li::before { content: counter(n); position: absolute; left: 0; top: .75em; width: 1.5em; height: 1.5em; line-height: 1.5em; text-align: center; background: var(--blue); color: var(--white); border-radius: 50%; font-size: .8em; }
.prose blockquote { margin: 0 0 1.5em; padding: 4px 16px; border-left: 4px solid var(--blue); background: var(--pale); }
.fig { margin: 1.5em 0; }
.fig img { display: block; }
.fig figcaption { margin-top: .5em; font-size: .85em; color: var(--muted); }
mark.todo { background: var(--pale); color: var(--blue); border: 1px dashed var(--blue); padding: 0 .3em; font-weight: 700; }
.todo-box { padding: 16px; border: 1px dashed var(--blue); background: var(--pale); color: var(--blue); font-weight: 700; }

/* ---------------------------------------------------------------- セクション */
.sec { padding: 48px 0; }
.sec--tint { background: var(--pale); }
.sec--cta { background: var(--blue); color: var(--white); text-align: center; padding: 56px 0; }
.sec--cta .sec-title { color: var(--white); }
.sec--cta .sec-title::before { background: var(--white); margin-left: auto; margin-right: auto; }
.sec--cta a:not(.btn) { color: var(--white); }
.sec--cta .prose > p { margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .sec { padding: 72px 0; } }

/* ---------------------------------------------------------------- ボタン */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.5em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px;
       border: 2px solid var(--blue); border-radius: var(--radius); font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--white); text-decoration: none; }
.btn-outline { background: var(--white); color: var(--blue); }
.btn-outline:hover { background: var(--pale); text-decoration: none; }
.sec--cta .btn-primary { background: var(--white); color: var(--blue); border-color: var(--white); }
.sec--cta .btn-primary:hover { background: var(--pale); }
.sec--cta .btn-row { justify-content: center; }
.btn.is-disabled, .btn.is-disabled:hover { background: var(--pale); border-color: var(--border); color: var(--text); opacity: .65; cursor: not-allowed; }
.btn.is-disabled::after { content: "（準備中）"; margin-left: .3em; font-size: .85em; font-weight: 400; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ---------------------------------------------------------------- ヒーロー（トップ） */
.hero { background: var(--pale); }
.hero-inner { max-width: var(--wide); margin: 0 auto; }
.hero-copy { padding: 32px var(--gutter) 28px; }
.hero-title { margin: 0 0 .8em; color: var(--blue); font-size: clamp(24px, 7vw, 40px); line-height: 1.5; font-weight: 700; }
.hero-img img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero { position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden; }
  .hero-inner { position: static; width: 100%; max-width: none; }
  .hero-img { position: absolute; inset: 0; z-index: 0; }
  .hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
  .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 38%, rgba(255,255,255,0) 62%); }
  .hero-copy { position: relative; z-index: 1; max-width: 560px; margin-left: max(var(--gutter), calc((100vw - var(--wide)) / 2)); padding: 48px 0; }
}

/* ---------------------------------------------------------------- 項目カード・カード一覧・表 */
.items { display: grid; gap: 16px; margin: 0 0 1.5em; }
.item { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 20px 18px 8px; }
.item p { margin-bottom: 1em; }
@media (min-width: 720px) { .items { grid-template-columns: repeat(3, 1fr); } .item { padding: 24px 22px 12px; } }

.card-grid { display: grid; gap: 16px; margin: 0 0 1.5em; }
.card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--blue); }
.card:hover .card-title { text-decoration: underline; }
.card-img { display: block; aspect-ratio: 16 / 9; background: var(--pale); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { display: block; padding: 14px 16px 16px; }
.card-title { display: block; margin: 6px 0; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--text); }
.card-date, .post-date { font-size: 13px; color: var(--muted); }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.chip { display: inline-block; padding: 1px 10px; background: var(--pale); color: var(--blue); border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.8; text-decoration: none; }
a.chip:hover { background: var(--blue); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--blue); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; background: var(--white); }
.chips a[aria-current="page"], .chips a:hover { background: var(--blue); color: var(--white); }
.chips .count { margin-left: 4px; font-size: 12px; opacity: .8; }

.post-list { list-style: none; margin: 0 0 1.5em; padding: 0; border-top: 1px solid var(--border); }
.post-list li { border-bottom: 1px solid var(--border); }
.post-list a { display: block; padding: 14px 4px; color: var(--text); text-decoration: none; }
.post-list a:hover .post-title { color: var(--blue); text-decoration: underline; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.post-title { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.prose .post-list, .prose .chips, .prose .card-grid, .prose .items, .prose .table-wrap { max-width: none; }

.table-wrap { margin: 0 0 1.5em; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95em; }
.tbl th, .tbl td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.tbl th { background: var(--pale); color: var(--blue); white-space: nowrap; }
.tbl td:first-child { font-weight: 700; }
@media (max-width: 719px) {      /* スマホは1行ずつカード状に */
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
  .tbl td { border: 0; border-bottom: 1px solid var(--border); padding: 10px 14px; }
  .tbl td:last-child { border-bottom: 0; }
  .tbl td:first-child { background: var(--pale); color: var(--blue); }
  .tbl td[data-label]:not(:first-child):not([data-label=""])::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
}

/* 旧ヒントページで使っていた「気になっているテーマから読む」ブロック（手書きHTMLで差し込む場合用） */
.blog-guide-block { margin: 0 0 1.5em; padding: 24px 18px; background: var(--pale); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.blog-guide-block h3 { margin: 0 0 .6em; color: var(--blue); font-size: 1.2em; }
.blog-guide-list a { display: block; margin-top: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.blog-guide-list a:hover { border-color: var(--blue); }
.blog-guide-category { display: block; color: var(--blue); font-size: 13px; font-weight: 700; }
.blog-guide-list strong { display: block; line-height: 1.7; }
.blog-guide-cta { display: block; margin-top: 4px; color: var(--blue); font-size: 13px; font-weight: 700; }
.sp-hide { display: none; }
@media (min-width: 720px) { .sp-hide { display: inline; } }

/* ---------------------------------------------------------------- ページ見出し・パンくず */
.page-head { background: var(--pale); border-bottom: 1px solid var(--border); padding: 20px 0 28px; }
.page-head h1 { margin: 8px 0 0; color: var(--blue); font-size: clamp(22px, 6.4vw, 32px); line-height: 1.5; font-weight: 700; }
.crumb { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 13px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 8px; }
.crumb a { color: var(--muted); }

/* ---------------------------------------------------------------- 記事 */
.article-head { padding-top: 20px; }
.article-head h1 { margin: 12px 0 8px; font-size: clamp(22px, 6.2vw, 30px); line-height: 1.55; font-weight: 700; color: var(--text); }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.eyecatch { margin: 20px auto 8px; }
.eyecatch img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-top: 24px; padding-bottom: 24px; }
.article-body h2 { margin: 2.2em 0 1em; padding-left: 12px; border-left: 4px solid var(--blue); color: var(--blue); font-size: 1.15em; font-weight: 700; line-height: 1.6; }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 2.2em 0; }
.article-body figure { margin: 1.5em 0; }
.article-body figcaption { font-size: .85em; color: var(--muted); }
.next-steps { margin: 16px auto 40px; }
.next-steps h2 { margin: 0 0 12px; font-size: 1.05rem; color: var(--blue); }
.next-links { display: grid; gap: 10px; }
.next-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 16px; background: var(--pale); border-radius: var(--radius); color: var(--blue); font-weight: 700; text-decoration: none; }
.next-links a::after { content: "→"; }
.next-links a:hover { background: var(--blue); color: var(--white); }
@media (min-width: 720px) { .next-links { grid-template-columns: repeat(3, 1fr); } }
.pager { display: grid; gap: 10px; margin: 0 auto 56px; font-size: 14px; }
.pager a { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); line-height: 1.6; }
.pager a:hover { border-color: var(--blue); }
.pager small { display: block; color: var(--muted); font-size: 12px; }
@media (min-width: 720px) { .pager { grid-template-columns: 1fr 1fr; } .pager .next { text-align: right; } }

/* ---------------------------------------------------------------- フッター */
.site-footer { background: var(--blue); color: var(--white); padding: 40px 0 28px; }
.ftr { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }   /* 上の相談の帯（中央揃え）に揃える 2026-10-19 */
.ftr-logo { display: inline-block; background: var(--white); padding: 6px; border-radius: var(--radius); line-height: 0; }
.ftr-logo img { width: 72px; height: 72px; display: block; }
.ftr-name { margin: 16px 0 0; font-weight: 700; }
.ftr-links { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.ftr-links a { color: var(--white); display: block; padding: 8px 0; font-size: 14px; }
.copy { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- 追加: 副題・小見出し枠・リンク項目・アンカー位置 */
[id] { scroll-margin-top: 76px; }
.lead { margin: 0 0 1em; font-size: 1.05em; color: var(--text); }
.lead strong { color: var(--blue); }
.subsec { margin: 0 0 20px; padding: 20px 18px 8px; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.sec--tint .subsec { background: var(--white); }
.subsec .sub-title { margin: 0 0 .6em; color: var(--blue); font-size: 1.2em; }
.subsec > ul.list, .subsec > p { max-width: 34em; }
@media (min-width: 720px) { .subsec { padding: 26px 28px 10px; } }
.link-item { padding: 0 !important; }
.link-item::before { display: none; }
.link-item a { display: block; padding: 14px 40px 14px 4px; position: relative; text-decoration: none; color: var(--text); }
.link-item a::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 700; }
.link-item strong { display: block; color: var(--blue); }
.link-item span { display: block; font-size: .92em; }
.link-item a:hover strong { text-decoration: underline; }

/* スマホは項目の枠を上線だけにして、本文の幅を確保（枠で狭めると22字が折り返すため） */
@media (max-width: 719px) {
  .item, .subsec { padding: 16px 0 4px; border: 0; border-top: 3px solid var(--blue); border-radius: 0; background: transparent; }
  .sec--tint .subsec, .sec--tint .item { background: transparent; }
}

/* ---------------------------------------------------------------- 検品対応: 表の折り返し・ラベル・タグ・手順・準備中の案内 */
.tbl th, .tbl td { overflow-wrap: break-word; word-break: normal; }      /* 全体の anywhere だと列が1文字幅まで潰れるため */
.tbl td.nw, .tbl th { white-space: nowrap; }
.tbl td:first-child:not(.nw) { min-width: 9em; }
.prose h2.sec-title:not(:first-child) { margin-top: 2.6em; }
.prose .btn-row + h2.sec-title { margin-top: 3em; }
.eyebrow { margin: 0 0 .4em; color: var(--blue); font-size: .8em; font-weight: 700; letter-spacing: .12em; }
.eyebrow + h2.sec-title, .eyebrow + .sec-title { margin-top: 0; }
.tags { list-style: none; margin: 0 0 1.5em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 14px; background: var(--white); border: 1px solid var(--blue); border-radius: 999px; color: var(--blue); font-size: .9em; font-weight: 700; line-height: 1.7; }
.flow { list-style: none; margin: 0 0 1.5em; padding: 0; }
.flow li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.flow-no { flex: none; width: 2.4em; height: 2.4em; line-height: 2.4em; text-align: center; background: var(--blue); color: var(--white); border-radius: 50%; font-weight: 700; font-size: .9em; white-space: nowrap; }
.flow-body { display: block; }
.flow-body strong { display: block; color: var(--blue); }
.flow-body span { display: block; }
.form-pending { margin: 0 0 1.5em; padding: 20px 18px 4px; background: var(--pale); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.form-pending p { margin-bottom: 1em; }
.fig-photo { max-width: none !important; }
.fig-photo img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); margin: 0 auto; }   /* 代表写真は中央寄せ 2026-10-19 */
.blog-guide-list { margin-bottom: 1.5em; }
@media (min-width: 720px) { .blog-guide-list--category { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } .blog-guide-list--category a { margin-top: 0; } }
@media (min-width: 720px) { .tbl--3 td:first-child { word-break: keep-all; min-width: 14.5em; } }
.article-head .crumb + .article-meta { margin-top: 16px; }
.article-head h1 { margin-top: 16px; }
@media (min-width: 720px) { .article-head { padding-top: 28px; } .article-head .crumb + .article-meta { margin-top: 24px; } .article-head h1 { margin: 18px 0 14px; } }

/* ---------------------------------------------------------------- 2026-10-22: 相談フォームの埋め込み（Googleフォーム）・記事の執筆者 */
.form-embed { margin: 0 0 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.form-embed iframe { display: block; width: 100%; height: 1600px; min-height: 1600px; border: 0; }
/* フォームは幅が狭いほど縦に長くなる（実機表示で測定: PC幅=約1600px、スマホ幅375=約1900px）。途中で内側スクロールが出ないよう余裕を持たせる */
@media (max-width: 899px) { .form-embed iframe { height: 1750px; min-height: 1750px; } }
@media (max-width: 479px) { .form-embed iframe { height: 2050px; min-height: 2050px; } }
.prose .form-embed { max-width: none; }
.form-fallback { margin: 0 0 2em; font-size: .92em; }
.form-note { max-width: 480px; margin: 0 auto 12px; font-size: .88em; line-height: 1.8; color: var(--muted); }   /* 登録フォームの直前の短い注記（/whitepaper/） */
.post-author { font-size: 13px; color: var(--muted); text-decoration: none; }
.post-author:hover { color: var(--blue); text-decoration: underline; }
