/* ===== リセット ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a5fd4;
  --blue-dark:  #0d3d8f;
  --blue-light: #e8f0fe;
  --navy:       #0a1628;
  --navy-mid:   #1a2744;
  --text:       #1a1a2e;
  --text-sub:   #555;
  --border:     #e2e8f0;
  --bg:         #f5f7fa;
  --white:      #ffffff;
  --yellow:     #ffd600;
  --shadow-sm:  0 2px 8px rgba(26,95,212,0.08);
  --shadow-md:  0 4px 24px rgba(26,95,212,0.12);
  --radius:     12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== ボタン共通 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}
.btn-blue        { background: var(--blue);  color: var(--white); border-color: var(--blue); }
.btn-blue:hover  { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue-light); }
.btn-outline-navy { background: transparent; color: var(--navy-mid); border-color: #b0bec5; font-size: 14px; }
.btn-outline-navy:hover { background: #f0f4ff; }
.btn-full { width: 100%; }
.btn-cta-white { background: var(--white); color: var(--blue); border-color: var(--white); font-size: 14px; padding: 12px 24px; }
.btn-cta-white:hover { background: #e8f0fe; }
.btn-cta-ghost { background: transparent; color: var(--white); border-color: var(--white); font-size: 14px; padding: 12px 24px; }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.15); }

/* ===== セクションタイトル ===== */
.sec-title {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 36px;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 0;
}
.logo a {
  font-size: 17px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s;
}
.nav-list a:hover { color: var(--blue); }
.btn-header-cta {
  margin-left: 20px;
  padding: 9px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s;
  white-space: nowrap;
}
.btn-header-cta:hover { background: var(--blue-dark); }
.hamburger { display: none; }

/* ===== ヒーロー ===== */
.hero {
  background: var(--white);
  padding: 64px 0 56px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
.hero-accent { color: var(--blue); }
.hero-sub {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 30px;
  line-height: 1.9;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ヒーロー右側 */
.hero-right { flex: 0 0 340px; }
.hero-illust {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  border-radius: 50%;
}
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 7px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 14px rgba(26,95,212,0.15);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}
.badge-icon { font-size: 16px; }
.badge-text { color: var(--text); }
.badge-top-left  { top: 16px;  left: -32px; }
.badge-top-right { top: 16px;  right: -32px; }
.badge-bot-left  { bottom: 36px; left: -40px; }
.badge-bot-right { bottom: 36px; right: -40px; }

/* ===== 先に結論バー ===== */
.conclusion-bar {
  background: var(--navy-mid);
  padding: 14px 0;
}
.conclusion-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.conclusion-label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.conclusion-icon { font-size: 16px; }
.conclusion-label strong {
  color: var(--yellow);
  font-size: 13px;
  white-space: nowrap;
}
.conclusion-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.conclusion-item {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 5px;
}
.c-check { color: var(--blue); font-weight: 700; }
.conclusion-item strong { color: var(--white); }
.conclusion-link { text-decoration: none; transition: opacity 0.15s; }
.conclusion-link:hover { opacity: 0.8; text-decoration: underline; }

/* ===== サービス比較 ===== */
.service-compare {
  padding: 64px 0;
  background: var(--white);
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svc-card-head { display: flex; align-items: center; gap: 14px; }
.svc-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.techgo-logo { background: var(--blue); }
.meiko-logo  { background: var(--navy-mid); }
.logo-text-italic {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  line-height: 1;
}
.logo-text-bold {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.svc-name { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.svc-name-kana { font-size: 13px; font-weight: 400; }
.svc-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.techgo-badge { background: #dbeafe; color: var(--blue); }
.meiko-badge  { background: #e0e7ff; color: #3730a3; }
.svc-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  height: 170px;
  background: var(--blue-light);
}
.svc-img { width: 100%; height: 100%; object-fit: cover; }
.svc-features { display: flex; flex-direction: column; gap: 8px; }
.svc-features li { font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.svc-check { color: var(--blue); font-weight: 700; font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* ===== 比較表 ===== */
.table-sec {
  padding: 64px 0;
  background: var(--bg);
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.comp-table thead tr { background: var(--navy-mid); }
.comp-table th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}
.th-empty  { width: 130px; background: #111d35; }
.th-techgo { background: var(--blue); }
.th-meiko  { background: #3730a3; }
.comp-table tbody tr:nth-child(even) { background: #f8fafc; }
.comp-table tbody tr:hover { background: var(--blue-light); transition: background 0.15s; }
.comp-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.8;
}
.td-label {
  font-weight: 700;
  background: #eef2ff !important;
  text-align: center;
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
}

/* ===== 比較表直下結論 ===== */
.table-verdict {
  background: #f0f5ff;
  border: 1.5px solid #c7d7f8;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.verdict-text {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  line-height: 1.9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.verdict-item { display: flex; align-items: center; gap: 6px; }
.verdict-sep { color: #aaa; font-size: 18px; }
.verdict-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.techgo-icon { background: var(--blue); }
.meiko-icon  { background: #3730a3; }
.verdict-link { color: var(--blue); text-decoration: underline; }
.verdict-link:hover { color: var(--blue-dark); }
.verdict-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.verdict-btns .btn { font-size: 13px; padding: 10px 18px; }

/* ===== こんな人におすすめ ===== */
.recommend-sec {
  padding: 64px 0;
  background: var(--white);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rec-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rec-title { font-size: 16px; font-weight: 700; }
.rec-list { font-size: 13px; color: var(--text-sub); line-height: 2.1; }
.rec-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
}
.rec-badge-blue  { background: var(--blue);     color: var(--white); }
.rec-badge-navy  { background: var(--navy-mid); color: var(--white); }
.rec-btn { width: 100%; font-size: 13px; padding: 10px 16px; margin-top: 4px; }

/* ===== 転職成功事例 ===== */
.cases-sec {
  padding: 64px 0;
  background: var(--bg);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: var(--shadow-sm);
}
.case-head { display: flex; align-items: center; gap: 12px; }
.case-avatar { flex-shrink: 0; }
.case-profile { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.case-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--blue);
  color: var(--white);
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 700;
}
.case-salary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.sal-from { font-size: 14px; color: var(--text-sub); font-weight: 700; }
.sal-arr  { font-size: 18px; color: var(--blue); font-weight: 700; }
.sal-to   { font-size: 20px; color: var(--blue); font-weight: 900; }
.case-up {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}
.case-desc { font-size: 13px; color: var(--text-sub); line-height: 1.85; }
.case-note { font-size: 11px; color: #bbb; }

/* ===== 転職で見るべきポイント ===== */
.points-sec {
  padding: 64px 0;
  background: var(--white);
}
.points-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.point-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.point-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.point-title { font-size: 13px; font-weight: 700; }
.point-desc  { font-size: 12px; color: var(--text-sub); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-sec {
  padding: 64px 0;
  background: var(--bg);
}
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s;
  font-family: inherit;
  color: var(--text);
}
.faq-btn:hover { background: var(--blue-light); }
.faq-q {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-q-text { flex: 1; font-size: 14px; }
.faq-plus {
  font-size: 24px;
  color: var(--blue);
  font-weight: 300;
  transition: transform 0.22s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-btn[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-ans {
  display: none;
  padding: 0 22px 18px 64px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}
.faq-ans.open { display: block; }

/* ===== CTAバナー ===== */
.cta-banner {
  background: linear-gradient(135deg, #1a5fd4 0%, #0d3d8f 100%);
  padding: 48px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-char { flex-shrink: 0; }
.cta-char-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.cta-text-wrap { flex: 1; min-width: 200px; }
.cta-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 180px;
}

/* ===== フッター ===== */
.footer {
  background: var(--navy);
  padding: 36px 0 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--white); }
.footer-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .points-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 299;
  }
  .nav.open .nav-list { flex-direction: column; gap: 16px; }
  .btn-header-cta { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .hero { padding: 40px 0 32px; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-title { font-size: 28px; }
  .hero-right { order: -1; width: 100%; display: flex; justify-content: center; }
  .hero-illust { width: 240px; height: 240px; }
  .hero-img { width: 180px; height: 180px; }
  .badge-top-left  { top: 8px;  left: -16px; }
  .badge-top-right { top: 8px;  right: -16px; }
  .badge-bot-left  { bottom: 20px; left: -20px; }
  .badge-bot-right { bottom: 20px; right: -20px; }

  .conclusion-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .conclusion-list { flex-direction: column; gap: 5px; }

  .service-cards { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .points-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-char { display: none; }
  .cta-btns { flex-direction: row; justify-content: center; min-width: auto; }

  .sec-title { font-size: 20px; margin-bottom: 24px; }
  .service-compare, .table-sec, .recommend-sec, .cases-sec, .points-sec, .faq-sec { padding: 44px 0; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .cta-btns { flex-direction: column; }
  .points-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-illust { width: 200px; height: 200px; }
  .hero-img { width: 150px; height: 150px; }
}
