/* ============================================================================
   TRUSTEP GROW ／ 配下ページ（FAQ・ブログ）の共通スタイル
   ----------------------------------------------------------------------------
   本ファイルは TRUSTEP JAPAN株式会社 の制作物です。
   Generated with SoloptiLinkAI (c) SoloptiLink
   著作権はお客様（TRUSTEP JAPAN株式会社）に帰属します。
   当社のテンプレート等に相当する部分の権利は当社に留保されます。
   ----------------------------------------------------------------------------
   /grow/index.html の見た目を、記事ページでも使えるように切り出したもの。
   記事を増やしてもページが重くならないよう、1枚にまとめて共有する。
   ========================================================================== */

:root {
  --navy: #071a35;
  --navy-deep: #040f22;
  --navy-mid: #0b2d5c;
  --blue: #0757c9;
  --blue-light: #2f7ce8;
  --turquoise: #00a99d;
  --turquoise-dark: #008b81;
  --turquoise-light: #19c7ba;
  --text: #16202e;
  --text-muted: #5a6b7d;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eef4fb;
  --line: rgba(7, 26, 53, 0.1);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(7, 26, 53, 0.06);
  --shadow: 0 10px 34px rgba(7, 26, 53, 0.1);
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--turquoise); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(880px, calc(100% - 40px)); margin-inline: auto; }
section { padding: clamp(52px, 7vw, 84px) 0; }
.sec-soft { background: var(--bg-soft); }

/* ---------- 見出し ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--turquoise); text-transform: uppercase; margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(23px, 3.6vw, 34px);
  font-weight: 900; line-height: 1.5; letter-spacing: .01em;
  color: var(--navy);
}
.sec-lead { margin-top: 18px; font-size: clamp(15px, 1.9vw, 17px); color: var(--text-muted); line-height: 2; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 16px 34px;
  border-radius: 999px; font-weight: 900; font-size: clamp(15px, 2vw, 17px);
  letter-spacing: .02em; text-align: center; line-height: 1.5;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn--cta {
  background: var(--turquoise); color: #fff;
  box-shadow: 0 10px 26px rgba(0, 169, 157, .32);
  width: min(560px, 100%);
}
.btn--cta:hover, .btn--cta:focus-visible { background: var(--turquoise-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 169, 157, .4); }
.btn-note { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); line-height: 1.8; }
.cta-block { margin-top: 30px; text-align: center; }

/* ---------- ヘッダー ---------- */
header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-logo img { width: 206px; height: auto; }
.site-actions { display: flex; align-items: center; gap: 14px; }
.site-actions .mini { font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.5; text-align: right; }
.head-pre { color: var(--blue); }
.head-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px;
  background: var(--turquoise); color: #fff; border-radius: 999px;
  font-weight: 900; font-size: 14px; white-space: nowrap;
}
.head-cta:hover { background: var(--turquoise-dark); }
@media (max-width: 860px) {
  .site-logo img { width: 158px; }
  .site-actions .mini { display: none; }
}
@media (max-width: 420px) { .head-cta { font-size: 13px; padding: 8px 14px; } }

/* ---------- パンくず ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12.5px; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0; color: var(--text-muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; color: rgba(7,26,53,.32); }
.crumb a { color: var(--blue); }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--text-muted); }

/* ---------- ページの見出し ---------- */
.page-head { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%); color: #fff; padding: clamp(42px, 6vw, 72px) 0; }
.page-head h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; line-height: 1.55; letter-spacing: .01em; }
.page-head .lead { margin-top: 18px; font-size: clamp(14.5px, 1.9vw, 16.5px); color: rgba(255,255,255,.86); line-height: 2.05; }
.page-head .meta { margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.page-head .eyebrow { color: var(--turquoise-light); }

/* ---------- 本文 ---------- */
.prose h2 {
  margin-top: 52px; margin-bottom: 18px; padding-left: 15px;
  font-size: clamp(20px, 2.9vw, 26px); font-weight: 900; color: var(--navy); line-height: 1.55;
  border-left: 5px solid var(--turquoise);
}
.prose h3 { margin-top: 32px; margin-bottom: 12px; font-size: clamp(16.5px, 2.2vw, 19px); font-weight: 900; color: var(--navy); line-height: 1.6; }
.prose p { margin-top: 15px; line-height: 2.05; }
.prose p:first-child { margin-top: 0; }
.prose strong { color: var(--navy); font-weight: 900; }
.prose a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.prose ul, .prose ol { margin-top: 15px; }
.prose ul li { position: relative; padding-left: 22px; margin-top: 9px; line-height: 2; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 34px; margin-top: 11px; line-height: 2; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 7px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--turquoise); color: #fff; font-size: 12.5px; font-weight: 900;
  display: grid; place-items: center;
}
.prose .note {
  margin-top: 22px; font-size: 12.5px; color: var(--text-muted); line-height: 1.95;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
}
.prose .pull {
  margin-top: 26px; background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 24px;
}
.prose .pull p:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; line-height: 1.85; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--navy); font-weight: 900; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 狭い画面では、列を詰め込まず横スクロールさせる（1文字ずつ折り返るのを防ぐ） */
@media (max-width: 680px) {
  .table-scroll { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; }
  .table-scroll table { margin-top: 0; min-width: 580px; border: 0; }
  .table-scroll th, .table-scroll td { border-top: 0; font-size: 13.5px; }
  .table-scroll tr:first-child th { border-top: 0; }
  .table-scroll::after { content: ''; }
  .table-hint { margin-top: 7px; font-size: 11.5px; color: var(--text-muted); }
}
@media (min-width: 681px) { .table-hint { display: none; } }

.disclaimer {
  margin-top: 20px; font-size: 12.5px; color: var(--text-muted); line-height: 1.95;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-size: clamp(15px, 2vw, 17px); font-weight: 900; color: var(--navy); line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--turquoise); border-bottom: 2.5px solid var(--turquoise);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .ans { padding: 0 22px 22px; font-size: 14.5px; color: var(--text-muted); line-height: 2.05; }
.faq .ans p { margin-top: 13px; }
.faq .ans p:first-child { margin-top: 0; }
.faq .ans strong { color: var(--navy); font-weight: 900; }
.faq .ans a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.faq .ans ul li { position: relative; padding-left: 20px; margin-top: 7px; }
.faq .ans ul li::before { content: ''; position: absolute; left: 3px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--turquoise); }

/* 一問一答の目次 */
.toc { margin-top: 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.toc p.t { font-weight: 900; color: var(--navy); margin-bottom: 12px; font-size: 15px; }
.toc ol { counter-reset: t; }
.toc li { counter-increment: t; position: relative; padding-left: 30px; margin-top: 8px; font-size: 14px; line-height: 1.85; }
.toc li::before { content: counter(t); position: absolute; left: 0; top: 4px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 1.5px solid var(--turquoise); color: var(--turquoise-dark); font-size: 11.5px; font-weight: 900; display: grid; place-items: center; }
.toc a { color: var(--blue); }
.toc a:hover { text-decoration: underline; }

/* ---------- 記事カード（一覧） ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 24px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 900; letter-spacing: .06em; color: var(--turquoise-dark); background: rgba(0,169,157,.1); border-radius: 999px; padding: 4px 12px; }
.post-card h3 { font-size: 17.5px; font-weight: 900; color: var(--navy); line-height: 1.65; }
.post-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.95; }
.post-card .go { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 900; color: var(--blue); }
.post-card .go::after { content: ' →'; }

/* ---------- 関連リンク ---------- */
.rel { display: grid; gap: 10px; margin-top: 24px; }
.rel a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
  font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.7;
}
.rel a:hover { border-color: var(--turquoise); color: var(--turquoise-dark); }
.rel a::after { content: '→'; color: var(--turquoise); font-weight: 900; flex: none; }

/* ---------- 相談フォーム ---------- */
.final { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%); color: #fff; }
.final h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 900; line-height: 1.5; text-align: center; }
.final p.lead { margin-top: 16px; font-size: clamp(14.5px, 1.9vw, 16px); color: rgba(255,255,255,.86); line-height: 2.05; text-align: center; }
.final .offers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.offer-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; line-height: 1.6; }
.offer-chip strong { color: var(--turquoise-light); font-weight: 900; }

.formbox {
  margin: 34px auto 0; background: #fff; color: var(--text);
  border-radius: 18px; padding: clamp(24px, 4vw, 38px); text-align: left;
  box-shadow: 0 20px 50px rgba(0,0,0,.26); width: min(820px, 100%);
}
.formbox h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 900; color: var(--navy); line-height: 1.55; }
.formbox .sub { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .f-row { grid-template-columns: 1fr; } }
.field { margin-top: 18px; }
.field label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.req, .opt { font-size: 10.5px; font-weight: 900; border-radius: 4px; padding: 2px 7px; letter-spacing: .04em; }
.req { background: #d93c3c; color: #fff; }
.opt { background: var(--bg-tint); color: var(--text-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 14px; font-size: 16px; font-family: inherit; color: var(--text);
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(0,169,157,.16); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #d93c3c; }
.hint { margin-top: 7px; font-size: 12px; color: var(--text-muted); line-height: 1.75; }
.err { margin-top: 7px; font-size: 12.5px; color: #d93c3c; font-weight: 700; line-height: 1.7; }
.consent { margin-top: 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.consent label { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.85; color: var(--text); cursor: pointer; font-weight: 500; }
.consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--turquoise); cursor: pointer; }
.consent a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-wrap { margin-top: 26px; text-align: center; }
.result { margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.85; }
.result.is-error { color: #d93c3c; }
.result a { color: var(--blue); text-decoration: underline; }
.submit-note { margin-top: 14px; font-size: 12px; color: var(--text-muted); line-height: 1.8; text-align: center; }
.thanks { text-align: center; padding: 20px 0; }
.thanks .ic { width: 62px; height: 62px; border-radius: 50%; background: var(--turquoise); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; font-size: 30px; }
.thanks h3 { font-size: clamp(19px, 2.6vw, 23px); color: var(--navy); margin-bottom: 14px; }
.thanks p { font-size: 14.5px; color: var(--text-muted); line-height: 2; }

/* ---------- フッター ---------- */
footer.site { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 46px 0 40px; font-size: 13.5px; line-height: 1.95; }
footer.site .f-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer.site .f-name { color: #fff; font-weight: 900; font-size: 16px; margin-bottom: 8px; }
footer.site a:hover { color: var(--turquoise-light); }
footer.site .f-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- スマホ固定CTA ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(7,26,53,.12);
  transform: translateY(120%); transition: transform .3s var(--ease);
  display: none;
}
.sticky.show { transform: translateY(0); }
.sticky .btn--cta { width: 100%; min-height: 54px; padding: 12px 20px; font-size: 15.5px; }
.sticky .s-note { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
@media (max-width: 860px) {
  .sticky { display: block; }
  footer.site { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
}

/* ---------- スクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
