/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .02em;
  font-family: 'Noto Serif JP', 'Shippori Mincho B1', 'Yu Mincho', serif;
}

:root {
  /* Brand palette — インビジョン & HRハッカー準拠 */
  --c-primary:       #070058;  /* HRハッカー深紺 */
  --c-primary-soft:  #1a1370;
  --c-secondary:     #005095;  /* インビジョン青 */
  --c-accent:        #E60012;  /* 共通CTA赤 */
  --c-accent-dark:   #b8000e;
  --c-highlight:     #FFE34F;  /* HRハッカー黄 */
  --c-gold:          #cda500;  /* インビジョン金 */

  --c-success: #127c03;
  --c-warning: #cda500;
  --c-danger:  #E60012;

  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fb;
  --c-bg-muted: #fafafa;
  --c-surface: #ffffff;
  --c-border: #e1e4ec;
  --c-border-soft: #eef0f5;
  --c-text: #1a1a1a;
  --c-text-sub: #5a5a5a;
  --c-muted: #8a8f9c;

  --shadow-sm: 0 1px 2px rgba(7, 0, 88, .05);
  --shadow:    0 4px 20px rgba(7, 0, 88, .08);
  --shadow-lg: 0 12px 48px rgba(7, 0, 88, .14);

  --radius: 8px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--c-primary);
  letter-spacing: .04em;
}
.logo-mark {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.logo-accent { color: var(--c-accent); font-style: italic; margin-left: 2px; }
.global-nav { display: flex; gap: 28px; align-items: center; }
.global-nav a {
  color: var(--c-text);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
}
@media (max-width: 640px) {
  .global-nav { gap: 14px; }
  .global-nav a { font-size: 12px; }
  .header-inner { height: 60px; }
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 96px 0 88px;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.hero::before {
  width: 400px;
  height: 400px;
  background: rgba(7, 0, 88, .06);
  top: -100px;
  left: -100px;
}
.hero::after {
  width: 350px;
  height: 350px;
  background: rgba(230, 0, 18, .05);
  bottom: -80px;
  right: -80px;
}
.hero > .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  letter-spacing: .06em;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: clamp(30px, 4.8vw, 50px);
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 28px;
  color: var(--c-primary);
}
.hero-accent {
  position: relative;
  display: inline-block;
  color: var(--c-primary);
  padding: 0 4px;
}
.hero-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: var(--c-highlight);
  z-index: -1;
}
.hero-lead {
  color: var(--c-text-sub);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 48px;
}

/* URL form */
.url-form { max-width: 720px; margin: 0 auto 16px; }
.url-form-inner {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--c-primary);
}
#url-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 24px;
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  color: var(--c-text);
  min-width: 0;
}
.url-form-note {
  color: var(--c-muted);
  font-size: 12px;
  margin-top: 14px;
}
.hero-sample {
  margin-top: 28px;
  font-size: 13px;
  color: var(--c-muted);
}
.hero-sample a {
  color: var(--c-secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .url-form-inner { flex-direction: column; padding: 12px; border-radius: 20px; }
  #url-input { padding: 10px 16px; }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .04em;
  transition: transform .15s, background .2s, box-shadow .2s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(7, 0, 88, .2);
}
.btn-primary:hover {
  background: var(--c-primary-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(7, 0, 88, .3);
  opacity: 1;
}
.btn-primary.btn-red {
  background: var(--c-accent);
  box-shadow: 0 4px 12px rgba(230, 0, 18, .25);
}
.btn-primary.btn-red:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 6px 20px rgba(230, 0, 18, .35);
}
.btn-large { padding: 18px 40px; font-size: 16px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  transition: background .2s;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--c-primary); color: #fff; opacity: 1; }

/* ===========================
   Section common
   =========================== */
.section-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
  color: var(--c-primary);
  letter-spacing: .04em;
}
.section-subtitle {
  text-align: center;
  color: var(--c-text-sub);
  font-size: 14px;
  margin-bottom: 56px;
  letter-spacing: .04em;
}
.section-title-left {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 8px;
  color: var(--c-primary);
  letter-spacing: .03em;
}
.section-lead {
  color: var(--c-text-sub);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.9;
}

/* ===========================
   How it works
   =========================== */
.how-it-works { padding: 96px 0; background: var(--c-bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  padding: 40px 28px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  border-radius: 50%;
  color: #fff;
}
.step-icon svg { width: 36px; height: 36px; }
.step-num {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--c-accent);
  letter-spacing: .15em;
  margin-bottom: 4px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--c-primary);
}
.step p {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 1.9;
  text-align: left;
}
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* ===========================
   Features
   =========================== */
.features {
  padding: 96px 0;
  background: #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-primary);
}
.feature-card-expression::before { background: var(--c-secondary); }
.feature-card-action::before { background: var(--c-accent); }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-icon-structure  { background: var(--c-primary); }
.feature-icon-expression { background: var(--c-secondary); }
.feature-icon-action     { background: var(--c-accent); }

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--c-primary);
}
.feature-card p {
  font-size: 14px;
  color: var(--c-text-sub);
  margin-bottom: 20px;
  line-height: 1.9;
}
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 13px;
  color: var(--c-text);
  padding-left: 18px;
  position: relative;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--c-accent);
}
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===========================
   Bottom CTA
   =========================== */
.bottom-cta {
  padding: 88px 0;
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bottom-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 227, 79, .1), transparent 70%);
  border-radius: 50%;
}
.bottom-cta-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: center;
}
.bottom-cta-logo {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-lg);
}
.bottom-cta-logo img { width: 100%; height: auto; }
.bottom-cta-text { text-align: left; }
.bottom-cta-label {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255,227,79,.2);
  color: var(--c-highlight);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .08em;
}
.bottom-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 20px;
  line-height: 1.6;
  color: #fff;
}
.bottom-cta p {
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.9;
}
.bottom-cta .btn-secondary {
  background: var(--c-highlight);
  color: var(--c-primary);
  border-color: var(--c-highlight);
}
.bottom-cta .btn-secondary:hover { background: #fff; color: var(--c-primary); border-color: #fff; }

@media (max-width: 768px) {
  .bottom-cta-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .bottom-cta-logo { max-width: 140px; margin: 0 auto; }
  .bottom-cta-text { text-align: center; }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  padding: 40px 0;
  background: #000;
  color: rgba(255,255,255,.6);
  text-align: center;
  font-size: 13px;
}
.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.site-footer img {
  width: 80px;
  height: auto;
  opacity: .9;
}

/* ===========================
   Result page
   =========================== */
.result-main { padding-bottom: 40px; background: var(--c-bg-soft); }

/* Summary */
.result-summary {
  background: #fff;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--c-border-soft);
}
.result-meta {
  margin-bottom: 40px;
  padding: 20px 28px;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-accent);
  border-radius: 4px;
}
.result-meta-label {
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: .08em;
}
.result-meta-url {
  font-size: 15px;
  color: var(--c-primary);
  font-weight: 700;
  word-break: break-all;
  margin-bottom: 4px;
}
.result-meta-date {
  font-size: 12px;
  color: var(--c-muted);
}

.score-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}
.score-hero-total { text-align: center; }
.score-hero-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: .1em;
}
.score-hero-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 96px;
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.score-hero-num small {
  font-size: 24px;
  color: var(--c-muted);
  font-weight: 700;
  margin-left: 4px;
}
.score-hero-grade {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 20px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.score-hero-title {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--c-primary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.score-hero-desc {
  color: var(--c-text-sub);
  font-size: 15px;
  line-height: 2;
}
@media (max-width: 768px) {
  .score-hero { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .score-hero-num { font-size: 72px; }
}

/* Radar */
.result-radar { padding: 72px 0; }
.radar-wrap {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}
.radar-head { margin-bottom: 36px; }
.radar-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.radar-canvas-wrap { max-width: 500px; margin: 0 auto; width: 100%; }
.radar-legend { display: flex; flex-direction: column; gap: 10px; }
.radar-legend-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--c-border-soft);
}
.radar-legend-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
}
.radar-legend-level {
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: .06em;
}
.lv-1, .lv-2 { background: rgba(230, 0, 18, .12); color: var(--c-accent); }
.lv-3        { background: rgba(205, 165, 0, .15); color: var(--c-gold); }
.lv-4, .lv-5 { background: rgba(18, 124, 3, .12); color: var(--c-success); }
@media (max-width: 960px) {
  .radar-body { grid-template-columns: 1fr; }
  .radar-wrap { padding: 28px 20px; }
}

/* Structure */
.result-structure {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--c-border-soft);
  border-bottom: 1px solid var(--c-border-soft);
}
.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.structure-category {
  background: var(--c-bg-soft);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border-soft);
}
.structure-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-primary);
}
.structure-category-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: var(--c-primary);
  font-weight: 700;
}
.structure-category-score {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-primary);
  color: #fff;
}
.structure-items { display: flex; flex-direction: column; gap: 12px; }
.structure-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.structure-item-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.mark-ok   { background: var(--c-success); }
.mark-warn { background: var(--c-gold); }
.mark-ng   { background: var(--c-accent); }
.structure-item-label { color: var(--c-text); line-height: 1.7; }
.structure-item-note {
  display: block;
  color: var(--c-muted);
  font-size: 12px;
  margin-top: 4px;
  padding-left: 10px;
  border-left: 2px solid var(--c-border);
}
@media (max-width: 768px) { .structure-grid { grid-template-columns: 1fr; } }

/* Actions */
.result-actions { padding: 72px 0; }
.actions-list { display: flex; flex-direction: column; gap: 20px; }
.action-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 28px;
  align-items: start;
  background: #fff;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.action-item:hover { box-shadow: var(--shadow); }
.action-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
}
.action-body h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--c-primary);
}
.action-body p {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 2;
}
.action-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.action-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: .06em;
}
.tag-impact { background: var(--c-primary); color: #fff; }
.tag-ease   { background: rgba(18, 124, 3, .12); color: var(--c-success); }
@media (max-width: 640px) {
  .action-item { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .action-meta { flex-direction: row; flex-wrap: wrap; }
  .action-num { font-size: 32px; }
}

/* Result CTA */
.result-cta { padding: 72px 0; }
.result-cta-box {
  background: var(--c-primary);
  color: #fff;
  padding: 64px 56px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 56px;
  align-items: center;
}
.result-cta-box::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 0, 18, .15), transparent 70%);
  border-radius: 50%;
}
.result-cta-logo {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.result-cta-logo img { width: 100%; height: auto; }
.result-cta-copy { position: relative; z-index: 1; }
.result-cta-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255,227,79,.2);
  color: var(--c-highlight);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .08em;
}
.result-cta-box h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 24px;
  line-height: 1.6;
  color: #fff;
}
.result-cta-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.result-cta-points li {
  padding-left: 32px;
  position: relative;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.9;
}
.result-cta-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  width: 22px;
  height: 22px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-cta-box .btn-primary {
  background: var(--c-accent);
  box-shadow: 0 6px 24px rgba(230, 0, 18, .4);
}
.result-cta-box .btn-primary:hover { background: var(--c-accent-dark); }

@media (max-width: 768px) {
  .result-cta-box { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; text-align: center; }
  .result-cta-logo { max-width: 140px; margin: 0 auto; }
  .result-cta-points { text-align: left; }
}
