/* icomoon webfont
   CSSファイルの場所: compass_career/css/ → ../../font/ でテーマルートのfont/を参照 */
@font-face {
  font-family: 'icomoon';
  src: url('../../font/icomoon.eot');
  src: url('../../font/icomoon.eot?#iefix') format('embedded-opentype'),
       url('../../font/icomoon.woff') format('woff'),
       url('../../font/icomoon.ttf') format('truetype'),
       url('../../font/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* compass-career-return.css — 帰国者向けLPスタイル */

/* ==========================================================
   RESET
========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1A1A1A;
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  max-width: 1440px;
  margin: 0 auto;
}
#primary img { display: block; max-width: 100%; border: none; }

@media (min-width: 640px) { .sp-br { display: none; } }
.entry-content a { text-decoration: none; color: inherit; }
.entry-content a:hover { color: inherit; }
ul { list-style: none; }

/* ==========================================================
   TOKENS
========================================================== */
:root {
  --gold:      #C8A951;
  --gold-d:    #A88A3D;
  --gold-l:    #E8D5A3;
  --gold-bg:   #FBF7EC;
  --gold-bg2:  #F5EDD6;
  --navy:      #1A2744;
  --navy2:     #2E3F6A;
  --gray:      #555;
  --gray-bg:   #F5F5F5;
  --border:    #E0CC9A;
}

/* ==========================================================
   UTILITY
========================================================== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 60px 0; }
@media (min-width: 768px) { .sec { padding: 96px 0; } }

.sec-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .sec-title { font-size: clamp(2rem, 3.5vw, 3.2rem); }
}
.sec-title em { font-style: normal; color: var(--gold-d); }
.sec-body {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 640px;
}
.divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 14px 0 28px;
}
.divider.center { margin-left: auto; margin-right: auto; }

.entry-content .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.entry-content .btn:hover { background: var(--gold-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(168,138,61,.3); color: #fff; }
.entry-content .btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.entry-content .btn-full { width: 100%; }

/* ==========================================================
   NAV
========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  z-index: 200;
  height: 60px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
}
@media (min-width: 768px) { .nav { height: 68px; } }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo-text span { color: var(--gold); }
.nav-cta {
  font-size: 0.78rem;
  padding: 9px 16px;
}
@media (min-width: 768px) { .nav-cta { font-size: 0.88rem; padding: 10px 24px; } }

/* ==========================================================
   HERO
========================================================== */
.hero {
  padding-top: 60px;
  display: grid;
  grid-template-areas:
    "img"
    "body";
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 0;
    grid-template-areas:
      "header header"
      "img    body";
    grid-template-columns: 45fr 55fr;
  }
}

.hero-header {
  grid-area: img;
  align-self: end;
  justify-self: end;
  z-index: 2;
  background: rgba(10, 20, 50, 0.6);
  backdrop-filter: blur(2px);
  padding: 10px 16px 12px 16px;
  max-width: 80%;
}
.hero-header .hero-eyebrow { display: none; }
.hero-header .hero-headline {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.55;
}
@media (min-width: 560px) {
  .hero-header .hero-headline { font-size: 2.5rem; }
  .hero-header { max-width: 75%; }
}
.hero-header .hero-headline em { color: var(--gold-l); }
.hero-header .hero-headline em::after { background: rgba(200,169,81,.5); }

@media (min-width: 768px) {
  .hero-header {
    grid-area: header;
    align-self: auto;
    justify-self: auto;
    background: #fff;
    backdrop-filter: none;
    padding: calc(68px + 24px) 48px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: none;
  }
  .hero-header .hero-eyebrow { display: flex; color: var(--gold); }
  .hero-header .hero-headline { color: var(--navy); font-size: 2.7rem; line-height: 1.45; }
  .hero-header .hero-headline em { color: var(--gold-d); }
  .hero-header .hero-headline em::after { background: var(--gold-l); }
}
@media (min-width: 1100px) {
  .hero-header { padding: calc(68px + 28px) 64px 20px; }
  .hero-header .hero-headline { font-size: 4rem; line-height: 1.4; }
}

.hero-img {
  grid-area: img;
  position: relative;
  height: 72vw;
  min-height: 280px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-img { height: auto; min-height: 320px; }
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,39,68,.04) 0%,
    transparent 35%,
    rgba(26,39,68,.52) 100%
  );
}

.hero-body {
  grid-area: body;
  padding: 32px 20px 52px;
  background: var(--gold-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .hero-body { padding: 32px 40px 32px 36px; } }
@media (min-width: 1100px) { .hero-body { padding: 36px 56px 36px 44px; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--gold);
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 0;
}
@media (min-width: 480px) { .hero-headline { font-size: 2.3rem; } }
@media (min-width: 768px) { .hero-headline { font-size: clamp(2.6rem, 4.5vw, 4.2rem); line-height: 1.4; } }
.hero-headline em {
  font-style: normal;
  color: var(--gold-d);
  position: relative;
  display: inline-block;
}
.br-sp { display: block; }
@media (min-width: 768px) { .br-sp { display: none; } }

.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--gold-l);
  border-radius: 2px;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 28px;
  display: inline-block;
  text-align: left;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.05rem; margin-bottom: 32px; } }

/* 内定お祝い金バッジ */
.hero-bonus-badge {
  display: inline-block;
  background: transparent;
  color: var(--gold-d);
  padding: 0;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .hero-bonus-badge { font-size: 1rem; }
}

/* ダブルCTAボタン */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.btn-line {
  background: #06C755;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-line:hover { background: #05a847; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,.3); color: #fff; }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}
.hero-trust-item {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust-item::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ==========================================================
   STATS BAR
========================================================== */
.stats { background: var(--navy); padding: 36px 0; }
@media (min-width: 768px) { .stats { padding: 48px 0; } }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(200,169,81,.3);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num sup { font-size: .5em; vertical-align: super; }
.stat-label { font-size: clamp(.65rem, 2vw, .82rem); color: rgba(255,255,255,.65); }

/* ==========================================================
   PAIN POINTS
========================================================== */
.pain { background: var(--gold-bg); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.pain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.pain-bubble {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  width: 100%;
  position: relative;
  box-shadow: 0 3px 12px rgba(0,0,0,.07);
}
@media (min-width: 640px) {
  .pain-bubble { max-width: 360px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) { .pain-bubble { padding: 20px 24px; } }
.pain-bubble::after {
  content: '';
  position: absolute;
  bottom: -13px; left: 50%;
  transform: translateX(-50%);
  border: 13px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.06));
}
.pain-bubble::before {
  content: '';
  position: absolute;
  bottom: -15px; left: 50%;
  transform: translateX(-50%);
  border: 14px solid transparent;
  border-top-color: var(--border);
  border-bottom: 0;
}
.pain-bubble p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--navy);
  margin: 0;
}
@media (min-width: 640px) { .pain-bubble p { font-size: 0.88rem; } }
@media (min-width: 768px) { .pain-bubble p { font-size: 1.05rem; } }

.pain-char {
  width: 165px; height: 195px;
  object-fit: contain;
  object-position: top center;
  margin-top: 2px;
  display: block;
}
@media (min-width: 640px) { .pain-char { width: 195px; height: 225px; } }
@media (min-width: 768px) { .pain-char { width: 300px; height: 340px; } }

.pain-sub-1 {
  background: var(--gold-bg2);
  border-radius: 16px;
  padding: 36px 24px 32px;
}
@media (min-width: 768px) { .pain-sub-1 { padding: 44px 40px 40px; } }

.pain-box {
  background: var(--navy);
  margin: 40px 0 0;
  padding: 60px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 16px;
}
@media (min-width: 768px) { .pain-box { padding: 72px 56px; } }
.pain-box-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 20px;
}
.pain-box-rule { width: 40px; height: 2px; background: var(--gold); margin: 0 auto 20px; }
.pain-box-body {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
}
@media (min-width: 768px) { .pain-box-body { font-size: 1.1rem; } }

/* ==========================================================
   WHY COMPASS CAREER
========================================================== */
.reasons { background: var(--gold-bg); }
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 640px) { .reasons-grid { grid-template-columns: 1fr 1fr 1fr; } }

.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.reason-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.reason-tag {
  display: inline-block;
  background: var(--gold-bg2);
  color: var(--gold-d);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.reason-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}
.reason-body {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ==========================================================
   CELEBRATION BONUS
========================================================== */
.bonus { background: var(--navy); }
.bonus-inner {
  text-align: center;
  padding: 0 20px;
}
.bonus-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.bonus-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.bonus-amount {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bonus-amount sup { font-size: 0.4em; vertical-align: super; }
.bonus-amount sub { font-size: 0.4em; vertical-align: baseline; }
.bonus-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 32px;
}
.bonus-conditions {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(200,169,81,.3);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
}
.bonus-condition-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bonus-condition-item::before {
  content: '◆';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.65rem;
  margin-top: 3px;
}

/* ==========================================================
   FREE SEMINAR
========================================================== */
.seminar { background: var(--gray-bg); }
.seminar-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  margin-top: 40px;
  border: 1px solid var(--border);
}
.seminar-head {
  background: var(--navy);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.seminar-badge-wrap { display: flex; flex-direction: column; gap: 6px; }
.seminar-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: .08em;
  align-self: flex-start;
}
.seminar-head-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  flex: 1;
}
.seminar-head-sub { font-size: 0.82rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.seminar-body { padding: 32px; }
.seminar-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 28px;
}
.seminar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.seminar-table th, .seminar-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.seminar-table th {
  background: var(--gold-bg2);
  color: var(--navy);
  font-weight: 700;
  width: 90px;
  white-space: nowrap;
}
.seminar-table td { color: var(--gray); }

/* ==========================================================
   STEP BY STEP
========================================================== */
.steps { background: #fff; }
.steps-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-l));
}
@media (min-width: 768px) {
  .steps-list::before { left: 36px; }
}

.step-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0 0 40px 0;
  position: relative;
}
.step-row:last-child { padding-bottom: 0; }

.step-num-wrap {
  flex-shrink: 0;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .step-num { width: 72px; height: 72px; } }
.step-num-label {
  font-size: 0.55rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}
.step-num-icon { font-size: 1.2rem; line-height: 1; }
@media (min-width: 768px) { .step-num-icon { font-size: 1.5rem; } }

.step-content {
  flex: 1;
  padding-top: 8px;
}
@media (min-width: 768px) { .step-content { padding-top: 14px; } }

.step-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 8px;
}
@media (min-width: 768px) { .step-title { font-size: 1.3rem; } }
.step-body {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.85;
}

/* ==========================================================
   FAQ
========================================================== */
.faq { background: var(--gold-bg); }
.faq-list { margin-top: 40px; }
.faq-item {
  display: block;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}
.faq-q-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.faq-arrow { color: var(--gold); font-size: 1.1rem; transition: transform .2s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 4px 0 24px 46px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.85;
}

/* ==========================================================
   CTA SECTION
========================================================== */
.cta-sec {
  background: var(--navy);
  padding: 80px 20px;
  text-align: center;
}
@media (min-width: 768px) { .cta-sec { padding: 112px 20px; } }
.cta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 24px;
}
.cta-title em { font-style: normal; color: var(--gold); }
.cta-body {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* フォームカード */
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
@media (min-width: 640px) { .form-card { padding: 48px 40px; } }

.form-steps {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.form-step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.form-step-circle.inactive { background: #E0E0E0; color: #999; }
.form-step-label { font-size: 0.68rem; color: var(--gray); }
.form-step-line { flex: 1; height: 2px; background: #E0E0E0; margin: 0 4px; margin-bottom: 24px; }

.form-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-sub { font-size: 0.78rem; color: #999; margin-bottom: 28px; }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.req {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: #E74C3C;
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.form-row input:not([type="radio"]),
.form-row select,
.form-row textarea {
  display: block;
  width: 100%;
  border: 1.5px solid #DDD;
  border-radius: 6px;
  padding: 12px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #FAFAFA;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-row input:not([type="radio"]):focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-row textarea { min-height: 100px; resize: vertical; }

.form-submit,
input[type="submit"].form-submit,
input.form-submit {
  width: 100%;
  margin-top: 8px;
  background: var(--gold) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px;
  border: none;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.form-submit:hover,
input[type="submit"].form-submit:hover,
input.form-submit:hover { background: var(--gold-d) !important; color: #fff !important; transform: translateY(-2px); }


/* メールアドレス注意書き */
.form-note {
  font-size: 0.75rem;
  color: #b85c00;
  background: #fff8f0;
  border-left: 3px solid #e88c3a;
  padding: 8px 12px;
  margin-top: -10px;
  margin-bottom: 16px;
  border-radius: 0 4px 4px 0;
  line-height: 1.65;
}
.form-privacy {
  font-size: 0.72rem;
  color: #AAA;
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}
.form-privacy a { color: var(--gold); text-decoration: underline; }

/* LINE CTAカード */
.line-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: center;
  border: 2px solid #06C755;
}
.line-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.line-card-body { font-size: 0.88rem; color: var(--gray); margin-bottom: 20px; line-height: 1.75; }

/* ==========================================================
   FOOTER
========================================================== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(200,169,81,.3);
  padding: 32px 20px;
  text-align: center;
}
footer p { font-size: 0.75rem; color: rgba(255,255,255,.4); }

/* ==========================================================
   FADE-IN ANIMATION
========================================================== */
.fi {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fi.on { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: .12s; }
.fi-d2 { transition-delay: .24s; }
.fi-d3 { transition-delay: .36s; }

/* ==========================================================
   MODAL
========================================================== */
#diagnosis-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; }
.diag-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); cursor: pointer; }
.diag-modal-inner { position: relative; z-index: 1; background: #fff; border-radius: 16px; width: min(92vw, 680px); max-height: 90vh; overflow-y: auto; }
.diag-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.08);
  cursor: pointer;
  font-size: 1rem;
  color: #555;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.diag-modal-content { padding: 8px 0 0; clear: both; }
body.modal-open { overflow: hidden; }

.icon_line:before {
  font-size: 1.4em;
  vertical-align: middle;
  font-family: "icomoon";
  position: relative;
  content: "\e009";
  color: #06c755;
  margin: 0 0.1em 0 0.2em;
  bottom: -1px;
}
/* btn-line: テキスト白・beforeアイコン白・afterは非表示 */
.entry-content .btn-line { color: #fff; }
.entry-content .btn-line.icon_line:before { color: #fff; }
.entry-content .btn-line:after { display: none !important; }
.entry-content a.btn-line:hover { color: #fff; }
.entry-content .btn-outline-navy:hover { color: #fff; }

/* ラジオボタン */
.wpcf7-radio { display: block; }
.wpcf7-list-item {
  display: block;
  margin: 6px 0;
}
.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal !important;
  font-size: 0.88rem;
  color: var(--gray);
  cursor: pointer;
}

/* もう一度診断するボタン */
.cc-diag__retry {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.cc-diag__retry:hover { color: var(--navy); }
