/* MADE CAREER 株式会社 - 白ベース信頼系コーポレート（洗練版） */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg-sub: #f6f6f6;
  --text: #1a1a1a;
  --text-muted: #4d4d4d;
  --navy: #2c3e5a;
  --navy-border: rgba(28, 42, 70, 0.2);
  --line: #e5e5e5;
  --accent: #FFD84D;
  --accent-hover: #e8c73d;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --radius-lg: 18px;
  --max: 1120px;
  --section-padding: 72px;
  --card-padding: 28px;
  --space-gap: 24px;
  --font: "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  /* タイポ */
  --text-body: 15px;
  --text-body-lh: 1.8;
  --text-lead: 16px;
  --text-lead-lh: 1.75;
  --text-small: 13px;
  --text-small-lh: 1.6;
  --h1-size: clamp(32px, 5vw, 46px);
  --h1-lh: 1.22;
  --h2-size: 24px;
  --h2-lh: 1.35;
  --h3-size: 17px;
  --h3-lh: 1.4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  letter-spacing: 0.02em;
  color: var(--text);
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(44, 62, 90, 0.08), transparent 60%),
    linear-gradient(to right, rgba(44, 62, 90, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 62, 90, 0.06) 1px, transparent 1px),
    #f7f8f9;
  background-size:
    auto,
    60px 60px,
    60px 60px,
    auto;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.88; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

/* ========== Header ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge,
.brand-logo {
  flex-shrink: 0;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}
.brand:hover .brand-badge { background: var(--accent-hover); }
.brand-name { line-height: 1.28; }
.brand-name strong { font-size: 15px; font-weight: 700; display: block; letter-spacing: 0.01em; }
.brand-name span { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-sub); }
.nav-links a.btn-primary {
  color: var(--text);
  background: var(--accent);
  font-weight: 700;
}
.nav-links a.btn-primary:hover { background: var(--accent-hover); }

/* ハンバーガー（スマホ時） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--bg-sub); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-inner {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.15s;
}
.nav-toggle-inner::before,
.nav-toggle-inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.nav-toggle-inner::before { top: -7px; }
.nav-toggle-inner::after { bottom: -7px; }
body.nav-open .nav-toggle .nav-toggle-inner { background: transparent; }
body.nav-open .nav-toggle .nav-toggle-inner::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle .nav-toggle-inner::after { bottom: 0; transform: rotate(-45deg); }

.nav-panel {
  display: contents;
}
.nav-links a { white-space: nowrap; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-panel {
    display: block;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 16px 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s, visibility 0.2s;
  }
  body.nav-open .nav-panel {
    max-height: 280px;
    opacity: 1;
    visibility: visible;
  }
  .nav-panel .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .nav-panel .nav-links a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    display: block;
  }
  .nav-panel .nav-links a.btn-primary {
    text-align: center;
    margin-top: 8px;
  }
}
@media (min-width: 769px) {
  .nav-panel { display: contents; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.18s ease, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--bg-sub);
  border-color: #d8d8d8;
  transform: translateY(-1px);
}
.btn-secondary:active { transform: translateY(0); }

/* ========== Cards ========== */
/* ヒーロー左（メイン）: ネイビー枠で主役に */
.card {
  background: linear-gradient(180deg, #ffffff, #fafafa);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease;
}
/* ヒーロー右（FOCUS）: グレー薄線で引き立て役に */
.hero-side {
  border-color: var(--line);
}
/* コンテンツカード: ネイビー薄めで統一 */
.mini-card {
  padding: var(--card-padding);
  border-radius: var(--radius);
  border: 1px solid var(--navy-border);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease;
}
.mini-card:hover {
  box-shadow: var(--shadow-hover);
}

/* ========== Typography ========== */
h1, .h1 {
  font-size: var(--h1-size);
  line-height: var(--h1-lh);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}
h2 {
  font-size: var(--h2-size);
  line-height: var(--h2-lh);
  font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: 0.01em;
  color: var(--text);
}
h2:first-child { margin-top: 0; }
h3 {
  font-size: var(--h3-size);
  line-height: var(--h3-lh);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  color: var(--text);
}
p { margin: 0 0 1em; color: var(--text); }
p.lead {
  font-size: var(--text-lead);
  line-height: var(--text-lead-lh);
  color: var(--text-muted);
  margin-bottom: 0.5em;
}
.muted { color: var(--text-muted); font-size: inherit; }

/* ========== Kicker / Tag（バッジ統一） ========== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.18);
  border: 1px solid rgba(255, 216, 77, 0.45);
  color: #7a5c0f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-sub);
  margin-bottom: 14px;
}
.tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.tag.muted .dot { background: var(--text-muted); }

/* ========== Section ========== */
.section { padding: var(--section-padding) 0; }
@media (max-width: 600px) { .section { padding: 52px 0; } }
.section.alt { background: var(--bg-sub); }
.section h2 { margin-bottom: 10px; }
.section > .container > p { margin-bottom: var(--space-gap); color: var(--text-muted); font-size: var(--text-body); }

/* ========== Grids ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 60px 0 48px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 62, 90, 0.1), transparent 70%);
  top: -200px;
  left: -200px;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 600px) { .hero { padding: 40px 0 36px; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--space-gap);
  align-items: stretch;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 20px; } }
.hero-main { padding: 36px 32px; }
@media (max-width: 600px) { .hero-main { padding: 28px 22px; } }
.hero-side { padding: var(--space-gap); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
/* FOCUS内ボックス: グレー薄線で主役（左カード）を立てる */
.side-box {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-sub);
}
.side-title { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--text-muted); }
.side-copy { margin: 10px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.72; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
}
.side-note { margin-top: 14px; font-size: 12px; color: var(--text-muted); }

/* ========== CTA Band ========== */
/* CTA帯: ネイビー薄め */
.cta-band {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-border);
  background: var(--bg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.2s;
}
.cta-band:hover { box-shadow: var(--shadow-hover); }
.cta-band strong { font-size: 17px; font-weight: 700; display: block; margin-bottom: 6px; color: var(--text); }
.cta-band span { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* ========== Divider / List ========== */
.divider { height: 1px; background: var(--line); margin: 22px 0; }
ul.list { list-style-type: disc; }
.list { margin: 14px 0 0; padding-left: 22px; color: var(--text-muted); line-height: 1.85; font-size: var(--text-body); }

/* ========== Table ========== */
.table-wrap { overflow-x: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
th { width: 32%; font-weight: 700; color: var(--text); }
td { color: var(--text-muted); line-height: 1.6; }

/* ========== Form ========== */
.form-card { padding: 32px; }
@media (max-width: 480px) { .form-card { padding: 24px; } }
label { display: block; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--text); }
label:first-of-type { margin-top: 0; }
input, textarea, select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 216, 77, 0.12);
}
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-help { font-size: var(--text-small); color: var(--text-muted); margin-top: 10px; line-height: var(--text-small-lh); }
.form-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ========== KV block (company) ========== */
.kv {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 14px;
}
.kv p { margin: 0; line-height: var(--text-body-lh); }
.kv strong { color: var(--text); }

/* ========== Footer ========== */
.footer {
  margin-top: 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--text-small);
  line-height: var(--text-small-lh);
  background: var(--bg);
}
.footer a { color: var(--text); }
.footer a:hover { text-decoration: underline; }
.footer .split { display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; align-items: center; }

/* ========== Page wrap (subpages) ========== */
.page-wrap { padding: 64px 0 72px; }
@media (max-width: 600px) { .page-wrap { padding: 48px 0 56px; } }

/* ========== Utility ========== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
