/* =====================================================================
   SORAIRO Partners — LP スタイル
   テーマ：シンデレラブルー（空色）× 濃紺で締めるプロフェッショナル路線
   屋号を変える場合は index.html の該当箇所を差し替えるだけでOK
   ===================================================================== */

/* ---------- カラー・トークン ---------- */
:root {
  --sky-50:  #f2f8fe;
  --sky-100: #e4f1fc;
  --sky-200: #cbe3f8;
  --sky-300: #a7cef0;
  --sky-400: #74ace4;
  --sky-500: #4e92da;  /* メインカラー */
  --sky-600: #3577c4;  /* ホバー・濃いめ */
  --periwinkle: #b9c9ee;

  --coral:      #ef8f66;  /* 暖色アクセント（無機質さを和らげる） */
  --coral-soft: #f6b393;
  --coral-100:  #fdeee5;
  --coral-ink:  #cf6a43;  /* 暖色テキスト用（コントラスト確保） */

  --navy: #1e2a47;     /* 見出し */
  --ink:  #33405c;     /* 本文 */
  --muted:#6b7893;     /* 補足テキスト */
  --line: #e1e9f3;     /* 罫線・枠 */
  --white:#ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(30, 42, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(30, 42, 71, 0.10);
  --shadow-lg: 0 20px 50px rgba(30, 42, 71, 0.14);

  --maxw: 1080px;
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
             "Hiragino Sans", Meiryo, sans-serif;
}

/* ---------- リセット ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }

/* ---------- 共通レイアウト ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tint { background: var(--sky-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sky-600);
  background: var(--sky-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(26px, 3.4vw, 34px); }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(78, 146, 218, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(78, 146, 218, 0.45); }
.btn-ghost {
  background: #fff;
  color: var(--sky-600);
  border-color: var(--sky-300);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--sky-500); background: var(--sky-50); }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: 16px; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--navy); }
.logo { height: 38px; width: auto; display: block; }
.footer-tag { color: #9fb0cc; font-size: 12px; margin-top: 12px; letter-spacing: .04em; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .05em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--sky-600); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--sky-200), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(185,201,238,.5), transparent 55%),
    linear-gradient(180deg, var(--sky-50), #fff 85%);
  overflow: hidden;
}
.hero {
  background:
    radial-gradient(700px 420px at 100% 120%, rgba(239, 143, 102, .16), transparent 60%),
    radial-gradient(1200px 500px at 80% -10%, var(--sky-200), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(185,201,238,.5), transparent 55%),
    linear-gradient(180deg, var(--sky-50), #fff 85%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(78,146,218,.12) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--sky-600);
  background: #fff; border: 1px solid var(--sky-200);
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.28; letter-spacing: .01em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--sky-500) 30%, var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 24px; font-size: 17px; color: var(--ink); max-width: 540px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ヒーロー右：プロフィールカード */
.hero-card {
  background: #fff; border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative;
}
.hero-card .avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-500));
  display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 700;
  margin: 0 auto 16px; box-shadow: 0 8px 18px rgba(78,146,218,.4);
}
.hero-card .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-card .name { text-align: center; font-size: 20px; }
.hero-card .role { text-align: center; color: var(--muted); font-size: 13px; margin-top: 4px; }
.hero-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.hero-card .stat {
  background: var(--sky-50); border-radius: var(--radius-sm); padding: 14px 12px; text-align: center;
  border: 1px solid var(--sky-100);
}
.hero-card .stat b { display: block; font-size: 16px; color: var(--sky-600); line-height: 1.3; }
.hero-card .stat span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ---------- サービス ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--sky-600); font-size: 24px; margin-bottom: 18px;
}
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--sky-600);
  background: var(--sky-100); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink); font-size: 15px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--sky-500); font-weight: 700;
}
/* 暖色バリエーション（キャリア相談カードなど、人肌の温かみを出す） */
.card--warm { border-color: var(--coral-soft); }
.card--warm .icon { background: var(--coral-100); color: var(--coral-ink); }
.card--warm .tag { background: var(--coral-100); color: var(--coral-ink); }
.card--warm li::before { color: var(--coral); }

/* ---------- 強み ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature .num {
  font-size: 13px; font-weight: 700; color: var(--sky-500);
  letter-spacing: .1em; margin-bottom: 12px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }
/* いちばん伝えたい強み（両面を知っている）を暖色でハイライト */
.feature--warm {
  border-color: var(--coral-soft);
  background: linear-gradient(180deg, #fff, var(--coral-100));
}
.feature--warm .num { color: var(--coral-ink); }
.feature--warm p { color: var(--ink); }

/* ---------- 実績（数字） ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric {
  text-align: center; background: #fff; border-radius: var(--radius);
  padding: 30px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.metric b { display: block; font-size: clamp(28px, 4vw, 40px); color: var(--sky-600); line-height: 1.1; }
.metric b small { font-size: 16px; font-weight: 700; }
.metric span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- 支援事例 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
}
.case-top { padding: 20px 22px; background: linear-gradient(135deg, var(--sky-500), var(--sky-600)); color: #fff; }
.case-top .biz { font-size: 15px; font-weight: 700; }
.case-top .scale { font-size: 12px; opacity: .9; margin-top: 2px; }
.case-body { padding: 20px 22px; flex: 1; }
.case-body dt { font-size: 12px; font-weight: 700; color: var(--sky-600); margin-bottom: 4px; }
.case-body dd { margin: 0 0 14px; font-size: 14px; color: var(--ink); }
.case-body dd:last-child { margin-bottom: 0; }
.case-result {
  margin-top: 4px; padding: 12px 14px; background: var(--sky-50);
  border-radius: var(--radius-sm); border: 1px solid var(--sky-100);
}
.case-result dt { color: var(--navy); }
.case-result dd { font-weight: 600; color: var(--navy); }
.subhead { text-align: center; font-size: 15px; font-weight: 700; color: var(--muted); margin: 48px 0 24px; }

/* ---------- プロフィール ---------- */
.profile-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.profile-intro .avatar-lg {
  width: 120px; height: 120px; border-radius: 24px;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-500));
  display: grid; place-items: center; color: #fff; font-size: 44px; font-weight: 700;
  box-shadow: var(--shadow-md); margin-bottom: 20px;
}
.profile-intro h3 { font-size: 24px; }
.profile-intro .en { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.profile-intro p { font-size: 15px; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 8px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--sky-300), var(--sky-100));
}
.timeline li { position: relative; padding: 0 0 22px 30px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--sky-500);
}
.timeline .year { font-weight: 700; color: var(--sky-600); font-size: 14px; }
.timeline .desc { font-size: 14px; color: var(--ink); margin-top: 2px; }

/* ---------- CTA（2系統） ---------- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-box {
  border-radius: 22px; padding: 40px; color: #fff; position: relative; overflow: hidden;
}
.cta-box.engineer { background: linear-gradient(135deg, var(--sky-500), var(--sky-600)); }
.cta-box.company { background: linear-gradient(135deg, #2a3a63, var(--navy)); }
.cta-box h3 { color: #fff; font-size: 22px; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 15px; margin: 14px 0 24px; }
.cta-box .btn-ghost { background: #fff; border-color: #fff; }
.cta-box .cta-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- 注記 ---------- */
.note {
  max-width: 820px; margin: 40px auto 0; font-size: 12px; color: var(--muted);
  text-align: center; line-height: 1.8;
}

/* ---------- フッター ---------- */
.footer { background: var(--navy); color: #cdd6e6; padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #9fb0cc; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: 13px; margin-bottom: 12px; letter-spacing: .08em; }
.footer-links a { display: block; font-size: 13px; color: #b8c4da; margin-bottom: 8px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px; color: #8a9ab4; text-align: center;
}

/* ---------- お悩み共感（エンジニア向け） ---------- */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 880px; margin: 0 auto; }
.pain {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  font-size: 15px; color: var(--ink); line-height: 1.7;
}
.pain .q { color: var(--coral-ink); font-weight: 700; flex: 0 0 auto; }
.pains-close {
  text-align: center; margin-top: 32px;
  font-size: clamp(17px, 2.4vw, 20px); font-weight: 700; color: var(--navy);
}

/* ---------- 単一CTA ---------- */
.cta-wrap { max-width: 720px; margin: 0 auto; }
.cta-box.center { text-align: center; }
.company-line { text-align: center; margin-top: 24px; font-size: 13px; color: var(--muted); }
.company-line a { color: var(--sky-600); font-weight: 600; text-decoration: underline; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 420px; margin: 0 auto; }
  .cards, .features, .cases { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-split { grid-template-columns: 1fr; }

  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; gap: 14px; box-shadow: var(--shadow-md);
  }
  .nav.open .btn { width: 100%; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .features, .cases, .metrics, .pains { grid-template-columns: 1fr; }
  .card, .feature, .cta-box { padding: 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-top { flex-direction: column; }
}

/* ---------- 面談予約（TimeRex 埋め込み） ---------- */
.reserve-embed {
  max-width: 920px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 12px; overflow: hidden;
}
.reserve-embed #timerex_calendar { width: 100%; min-height: 640px; }
.reserve-embed iframe { width: 100% !important; border: 0; }
