/* ============================================================
   知的探求HUB LP — stylesheet
   色や余白を変えたい場合は :root の変数だけ触れば全体に反映されます。
   ============================================================ */

:root {
  --navy: #0f2033;
  --ink: #16273c;
  --muted: #5b6b7f;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --accent: #10618c;
  --accent-dark: #0b4a6b;
  --accent-tint: #e7f1f7;

  --container: 1040px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 32, 51, .06), 0 8px 24px rgba(15, 32, 51, .06);

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
          "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.55; letter-spacing: .01em; margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); text-decoration: none; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap;
}
.brand svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand span { font-size: 17px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .btn { color: #fff; }

@media (max-width: 860px) {
  .site-nav .nav-link { display: none; }
  .site-nav { gap: 12px; }
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-tint); color: var(--accent-dark); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- セクション共通 ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-label {
  display: block; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.section h2 { font-size: clamp(23px, 3.4vw, 31px); }
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 16px; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
}

/* ---------- ファーストビュー ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 104px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 380px at 82% 18%, rgba(77, 182, 214, .22), transparent 62%),
    radial-gradient(520px 420px at 8% 96%, rgba(16, 97, 140, .35), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-mark { width: 56px; height: 56px; color: #4db6d6; margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(29px, 5.2vw, 46px);
  line-height: 1.4; letter-spacing: .01em;
  margin-bottom: 24px;
}
.hero p {
  max-width: 620px; margin: 0;
  font-size: clamp(15px, 2.1vw, 17px);
  color: rgba(255, 255, 255, .84);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta {
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: 13px; color: rgba(255, 255, 255, .72);
}
.hero-meta span { white-space: nowrap; }

@media (max-width: 640px) {
  .hero { padding: 68px 0 64px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- 課題・強み(番号付きリスト) ---------- */

.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.numbered > li {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.section-alt .numbered > li { box-shadow: var(--shadow); border-color: transparent; }
.numbered .num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
  font-size: 15px; font-weight: 700; font-feature-settings: "tnum";
}
.numbered h3 { font-size: 17px; margin-bottom: 6px; }
.numbered p { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 560px) {
  .numbered > li { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
}

/* ---------- サービスカード ---------- */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.card .card-tag {
  align-self: flex-start;
  padding: 4px 11px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-dark);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.card h3 { font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.card-detail {
  margin: 0;
  display: grid; grid-template-columns: 5.2em 1fr; gap: 10px 12px;
}
.card-detail dt {
  height: fit-content; margin-top: 4px; padding: 3px 0;
  background: var(--bg-alt); color: var(--ink);
  border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
  text-align: center; white-space: nowrap;
}
.card-detail dd { margin: 0; color: var(--muted); font-size: 15px; }

.card .card-price {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
p.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.card-price .amount {
  color: var(--ink); font-size: 20px; font-weight: 700;
  letter-spacing: .01em; font-feature-settings: "tnum";
}
.card-price .unit { font-size: 13px; color: var(--muted); }

/* 2プラン表示(顧問・伴走支援) */
.card-price.plans { display: grid; gap: 12px; }
.card-price .plan {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
}
.card-price .plan-name { font-size: 14px; font-weight: 700; }
.card-price .plan-desc {
  display: block; margin-top: 1px;
  font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.6;
}
.card-price .plan .amount { font-size: 17px; white-space: nowrap; }

@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------- 初回無料相談の帯 ---------- */

.free-consult {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding: 22px 28px;
  background: var(--accent-tint); border: 1px solid #cddfea; border-radius: var(--radius);
}
.free-consult .label { font-size: 16px; font-weight: 700; }
.free-consult .amount { font-size: 20px; font-weight: 700; color: var(--accent-dark); }
.free-consult .desc { font-size: 14px; color: var(--muted); }
.free-consult .btn { margin-left: auto; flex: none; }

.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 700px) {
  .free-consult { padding: 22px; }
  .free-consult .btn { margin-left: 0; width: 100%; }
}

/* ---------- 実績・発信 ---------- */

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.facts li {
  padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; color: var(--muted);
}
.facts strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* ---------- プロフィール ---------- */

.profile { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.profile-mark {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: var(--radius);
  background: var(--navy); color: #4db6d6;
}
.profile-mark svg { width: 96px; height: 96px; }
.profile-name { font-size: 22px; margin-bottom: 4px; }
.profile-name .ruby { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 10px; }
.profile-role { margin: 0 0 24px; font-size: 14px; color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.profile p { font-size: 15px; }
.credentials {
  margin-top: 26px; padding: 20px 24px;
  background: var(--bg-alt); border-radius: var(--radius);
  font-size: 15px;
}
.credentials strong { display: block; margin-bottom: 4px; }
.credentials .note { margin-top: 10px; }

@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile-mark { width: 120px; aspect-ratio: 1; }
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 26px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none;
  color: var(--accent); font-size: 14px; line-height: 1.7;
}
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: 9px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer {
  display: flex; gap: 12px;
  margin: 0; padding: 0 26px 22px 26px;
  color: var(--muted); font-size: 15px;
}
.faq .answer::before { content: "A"; flex: none; color: var(--muted); font-weight: 700; }

/* ---------- お問い合わせ ---------- */

.contact { background: var(--navy); color: #fff; }
.contact .section-label { color: #4db6d6; }
.contact h2 { font-size: clamp(22px, 3.2vw, 29px); }
.contact .section-lead { color: rgba(255, 255, 255, .8); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.contact-points li { display: flex; gap: 10px; }
.contact-points li::before { content: "—"; color: #4db6d6; flex: none; }

.form { display: grid; gap: 18px; background: #fff; padding: 32px; border-radius: var(--radius); color: var(--ink); }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; }
.field .req { color: #b3341f; font-size: 12px; margin-left: 6px; }
.field .opt { color: var(--muted); font-size: 12px; font-weight: 500; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; line-height: 1.7; color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-tint); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 6px; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.form .btn { width: 100%; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .form { padding: 24px; }
}

/* ---------- フッター ---------- */

.site-footer { background: #0a1725; color: rgba(255, 255, 255, .68); padding: 44px 0; font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-copy { width: 100%; font-size: 12px; color: rgba(255, 255, 255, .45); }

/* ---------- 下層ページ(プライバシーポリシー / 送信完了) ---------- */

.page { padding: 72px 0 88px; }
.page h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 12px; }
.page .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.page h2 { font-size: 19px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.page p, .page li { font-size: 15px; }
.page ul, .page ol { padding-left: 1.4em; }
.page li { margin-bottom: 6px; }
.page .back { display: inline-block; margin-top: 48px; }

.centered { max-width: 620px; margin: 0 auto; text-align: center; padding: 110px 24px 130px; }
.centered svg { width: 56px; height: 56px; color: var(--accent); margin-bottom: 28px; }
.centered h1 { font-size: 26px; margin-bottom: 16px; }
.centered p { color: var(--muted); }

@media print {
  .site-header, .hero-cta, .form { display: none; }
}
