/* ============================================
   ソーシャルスタイル診断ツール - TRILIA準拠スタイル
   ============================================ */

:root {
  --color-primary: #004aad;
  --color-primary-dark: rgba(0, 56, 130, 1);
  --color-bg: #fdfdfd;
  --color-text: #333;
  --color-text-light: #666;
  --color-border: #e0e0e0;
  --color-pass: #3cd250;
  --color-warn: #ffa537;
  --color-fail: #f36060;
  --color-driving: #c05050;
  --color-driving-bg: #fdf3f3;
  --color-expressive: #c48a2e;
  --color-expressive-bg: #fdf8f0;
  --color-amiable: #3a917a;
  --color-amiable-bg: #f0f9f6;
  --color-analytical: #4a6ca8;
  --color-analytical-bg: #f0f4fa;
  --font-main: "Noto Sans JP", sans-serif;
  --width-container: 1200px;
  --radius-button: 80px;
  --radius-card: 12px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.site-header__nav a:hover { text-decoration: none; color: var(--color-primary); }
.site-header__nav a:hover::after { width: 100%; }

.site-header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  padding: 0;
}

.site-header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.site-header__menu-btn span:nth-child(1) { top: 0; }
.site-header__menu-btn span:nth-child(2) { top: 9px; }
.site-header__menu-btn span:nth-child(3) { top: 18px; }

.site-header__menu-btn.is-open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.site-header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.site-header__menu-btn.is-open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ============================================
   Section Common
   ============================================ */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 48px;
  max-width: 640px;
  line-height: 1.8;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__button {
  display: inline-block;
  background: #fff;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.hero__features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  font-size: 14px;
  opacity: 0.85;
}

.hero__features span::before {
  content: "\2713\0020";
  font-weight: 700;
}

/* ============================================
   How It Works
   ============================================ */
.how-section {
  padding: 80px 0;
  background: #fff;
}

.how-section .section-label,
.how-section .section-title { text-align: center; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.how-step {
  position: relative;
  padding-top: 20px;
}

.how-step__num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 74, 173, 0.07);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.how-step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.how-step__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -24px;
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* ============================================
   Types Grid (4 Types)
   ============================================ */
.types-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.types-section .section-label,
.types-section .section-title,
.types-section .section-subtitle { text-align: center; }
.types-section .section-subtitle { margin-left: auto; margin-right: auto; }

.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.type-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
}

.type-item:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}

.type-item:hover { background: #fff; }

.type-item__initial {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.type-item__body { flex: 1; }

.type-item__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.type-item__name-en {
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 8px;
}

.type-item__desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   Why Section
   ============================================ */
.why-section {
  padding: 80px 0;
  background: #fff;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 20px;
}

.why-lead {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.9;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.why-item:first-child { padding-top: 0; }
.why-item:last-child { border-bottom: none; }

.why-item__kv {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 72px;
}

.why-item__kv small {
  font-size: 16px;
  font-weight: 500;
}

.why-item__body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.why-item__body p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   Use Cases
   ============================================ */
.usecase-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.usecase-section .section-label,
.usecase-section .section-title { text-align: center; }

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.usecase-item { position: relative; padding-top: 20px; }

.usecase-item__num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 74, 173, 0.07);
  line-height: 1;
  margin-bottom: 12px;
}

.usecase-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.usecase-item__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================
   Bottom CTA (中間)
   ============================================ */
.bottom-cta {
  padding: 80px 0;
  text-align: center;
  background: #f8f9fb;
  border-top: 1px solid var(--color-border);
}

.bottom-cta__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.bottom-cta__text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.bottom-cta__button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.bottom-cta__button:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-section .section-title {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__q {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
  line-height: 1.5;
}

.faq-item__q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item__q::after {
  content: "";
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-light);
  border-bottom: 2px solid var(--color-text-light);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-item__q::after {
  transform: rotate(-135deg);
}

.faq-item__a {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
  padding: 0 0 20px 40px;
  display: none;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* ============================================
   CTA Section (グラデーション)
   ============================================ */
.cta-gradient {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-gradient__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-gradient__text {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CTA Section (HubSpot / Lead Gate)
   ============================================ */
.cta-section {
  display: none;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 48px auto;
}

.cta-section.is-active { display: block; }

.cta-section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.cta-section__text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.cta-section .hs-form-frame {
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   Quiz Section
   ============================================ */
.quiz-section {
  display: none;
  padding: 60px 0;
}

.quiz-section.is-active { display: block; }

.quiz-inner {
  max-width: 640px;
  margin: 0 auto;
}

.quiz__progress-bar {
  width: 100%;
  height: 6px;
  background: #e8eef6;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz__progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0;
}

.quiz__progress-text {
  font-size: 13px;
  color: var(--color-text-light);
  text-align: right;
  margin-bottom: 32px;
}

.quiz__category-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.quiz__question {
  display: none;
}

.quiz__question.is-active {
  display: block;
  animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__question h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.55;
}

.quiz__question h3 .q-num {
  color: var(--color-primary);
  margin-right: 6px;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.quiz__option { position: relative; }

.quiz__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quiz__option label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
}

.quiz__option label::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.15s;
}

.quiz__option input:checked + label {
  border-color: var(--color-primary);
  background: rgba(0, 74, 173, 0.04);
}

.quiz__option input:checked + label::before {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: inset 0 0 0 3.5px #fff;
}

.quiz__option label:hover {
  border-color: #b8c8dd;
  background: #fafcff;
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.quiz__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  font-family: var(--font-main);
}

.quiz__btn--back {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.quiz__btn--back:hover { background: #f5f5f5; }

.quiz__btn--next {
  background: var(--color-primary);
  color: #fff;
  margin-left: auto;
}

.quiz__btn--next:hover:not(:disabled) {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.quiz__btn--next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ============================================
   Progress Section
   ============================================ */
.progress-section {
  display: none;
  padding: 60px 0;
  text-align: center;
}

.progress-section.is-active { display: block; }

.progress__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-primary);
}

.progress__bar-wrap {
  max-width: 600px;
  margin: 0 auto 24px;
  background: #e8eef6;
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #0066dd);
  border-radius: 8px;
  width: 0%;
  transition: width 0.4s ease;
}

.progress__status {
  font-size: 14px;
  color: var(--color-text-light);
}

.progress__steps {
  max-width: 400px;
  margin: 24px auto 0;
  text-align: left;
  list-style: none;
}

.progress__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--color-text-light);
  opacity: 0.4;
  transition: all 0.3s;
}

.progress__step-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.progress__step.is-active {
  opacity: 1;
  color: var(--color-primary);
  font-weight: 600;
}

.progress__step.is-active .progress__step-icon {
  border-color: var(--color-primary);
  animation: pulse 1s infinite;
}

.progress__step.is-done {
  opacity: 1;
  color: var(--color-pass);
}

.progress__step.is-done .progress__step-icon {
  border-color: var(--color-pass);
  background: var(--color-pass);
  color: #fff;
}

.progress__step.is-done .progress__step-icon::after {
  content: "\2713";
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   Results Section
   ============================================ */
.results-section {
  display: none;
  padding: 60px 0;
}

.results-section.is-active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.results-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Result Header */
.result-header {
  text-align: center;
  margin-bottom: 40px;
}

.result-header__label {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.result-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 80px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.result-header__badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.result-header__sub {
  font-size: 15px;
  color: var(--color-text-light);
}

/* Matrix */
.result-matrix {
  max-width: 360px;
  margin: 0 auto 44px;
  position: relative;
  padding: 28px 0;
}

.result-matrix__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}

.result-matrix__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
  opacity: 0.3;
  transition: all 0.4s;
}

.result-matrix__cell.is-active { opacity: 1; }

.result-matrix__cell-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.result-matrix__cell-name { font-size: 13px; font-weight: 700; color: #fff; }
.result-matrix__cell-sub { font-size: 10px; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }

.result-matrix__cell--driving { background: var(--color-driving); }
.result-matrix__cell--expressive { background: var(--color-expressive); }
.result-matrix__cell--amiable { background: var(--color-amiable); }
.result-matrix__cell--analytical { background: var(--color-analytical); }

.result-matrix__labels { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }

.result-matrix__label {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.result-matrix__label--top { top: 4px; left: 50%; transform: translateX(-50%); }
.result-matrix__label--bottom { bottom: 4px; left: 50%; transform: translateX(-50%); }
.result-matrix__label--left { left: -72px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.result-matrix__label--right { right: -72px; top: 50%; transform: translateY(-50%) rotate(90deg); }

/* Scores */
.result-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.result-scores__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.result-scores__label { font-size: 12px; font-weight: 600; color: var(--color-text-light); margin-bottom: 6px; }
.result-scores__value { font-size: 28px; font-weight: 800; color: var(--color-primary); margin-bottom: 8px; }
.result-scores__value span { font-size: 14px; font-weight: 500; color: var(--color-text-light); }

.result-scores__bar { height: 6px; background: #e8eef6; border-radius: 3px; overflow: hidden; }
.result-scores__bar-fill { height: 100%; background: var(--color-primary); border-radius: 3px; transition: width 1s ease; }

/* Result Cards */
.result-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 20px;
}

.result-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.result-card p { font-size: 14px; line-height: 1.85; }
.result-card ul { list-style: none; padding: 0; }

.result-card ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.65;
}

.result-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.result-card--strengths ul li::before { background: var(--color-pass); }
.result-card--challenges ul li::before { background: var(--color-warn); }
.result-card--tips ul li::before { background: var(--color-primary); }

/* Compatibility */
.result-compat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.result-compat__card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
}

.result-compat__label { font-size: 12px; font-weight: 600; color: var(--color-text-light); margin-bottom: 10px; }
.result-compat__type { font-size: 16px; font-weight: 700; }
.result-compat__desc { font-size: 12px; color: var(--color-text-light); margin-top: 4px; line-height: 1.5; }

/* Retry */
.result-retry { text-align: center; margin-top: 36px; }

.result-retry__btn {
  display: inline-block;
  padding: 13px 32px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-button);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}

.result-retry__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Error */
.error-message {
  display: none;
  max-width: 560px;
  margin: 40px auto;
  padding: 18px 24px;
  background: #fef5f5;
  border: 1px solid #f0d0d0;
  border-radius: 10px;
  color: var(--color-fail);
  text-align: center;
  font-size: 14px;
}

.error-message.is-active { display: block; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 40px 0 24px;
}

.site-footer__inner {
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-footer__logo img { height: 24px; width: auto; display: block; }

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__nav a { color: var(--color-text-light); font-size: 13px; text-decoration: none; }
.site-footer__nav a:hover { color: var(--color-primary); text-decoration: none; }
.site-footer__copy { color: #aaa; font-size: 12px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .hero__title { font-size: 28px; }

  .how-steps,
  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .how-step::after { display: none; }

  .type-grid { grid-template-columns: 1fr; }
  .type-item:nth-child(odd) { border-right: none; }

  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .result-scores { grid-template-columns: 1fr; }
  .result-compat { grid-template-columns: 1fr; }
  .result-matrix__label--left,
  .result-matrix__label--right { display: none; }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .site-header__nav.is-open { display: flex; }
  .site-header__nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
  .site-header__nav a::after { display: none; }
  .site-header__nav a:last-child { border-bottom: none; }
  .site-header__menu-btn { display: block; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .site-header__inner { padding: 12px 16px; }
  .site-footer__inner { padding: 0 16px; }
  .site-footer { padding: 32px 0 20px; }

  .hero { padding: 48px 0 40px; }
  .hero__title { font-size: 22px; }
  .hero__subtitle { font-size: 14px; }
  .hero__features { flex-direction: column; gap: 8px; }
  .hero__button { width: 80%; padding: 14px 32px; }

  .section-title { font-size: 20px; }
  .section-subtitle { font-size: 14px; }

  .how-section, .types-section, .usecase-section, .why-section, .faq-section { padding: 48px 0; }

  .why-title { font-size: 22px; }
  .why-item__kv { font-size: 26px; min-width: 56px; }
  .why-item { gap: 14px; }

  .faq-item__q { font-size: 14px; }
  .faq-item__a { font-size: 13px; padding-left: 40px; }

  .type-item { padding: 16px; gap: 12px; }
  .type-item__desc { font-size: 12px; }

  .quiz-inner { padding: 0 16px; }
  .quiz__question h3 { font-size: 16px; }
  .quiz__option label { padding: 13px 16px; font-size: 13px; }

  .result-header__badge { font-size: 20px; padding: 12px 24px; }
  .result-card { padding: 22px 18px; }

  .bottom-cta { padding: 48px 0; }
  .bottom-cta__title { font-size: 20px; }
  .cta-gradient { padding: 48px 16px; }
  .cta-gradient__title { font-size: 20px; }
  .cta-section { padding: 32px 20px; margin: 32px 16px; }

  .about-section, .compare-section, .compat-section { padding: 48px 0; }
  .about-axes { grid-template-columns: 1fr; gap: 16px; }
  .type-detail { padding: 20px 16px; }
  .type-detail__meta { flex-direction: column; gap: 8px; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 12px; }
  .compat-pairs { grid-template-columns: 1fr; }
}

/* ============================================
   About Section (ソーシャルスタイルとは)
   ============================================ */
.about-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.about-section .section-label,
.about-section .section-title { text-align: center; }

.about-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.about-lead strong { color: var(--color-primary); }

.about-axes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-axis {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
}

.about-axis__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about-axis__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.about-axis__text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.about-ref {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

/* ============================================
   Type Details (Expanded)
   ============================================ */
.type-details {
  margin-top: 48px;
}

.type-detail {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 20px;
}

.type-detail__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.type-detail__initial {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.type-detail__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.type-detail__name small {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 6px;
}

.type-detail__desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 16px;
}

.type-detail__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.type-detail__meta-group {
  flex: 1;
  min-width: 200px;
}

.type-detail__meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.type-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.type-detail__tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f0f4fa;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ============================================
   Comparison Table (MBTI/DiSC)
   ============================================ */
.compare-section {
  padding: 80px 0;
  background: #fff;
}

.compare-section .section-label,
.compare-section .section-title { text-align: center; }

.compare-lead {
  font-size: 15px;
  color: var(--color-text-light);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.compare-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text-light);
  background: #f8f9fb;
  white-space: nowrap;
}

.compare-table thead th {
  font-weight: 700;
  color: var(--color-text);
  font-size: 14px;
}

.compare-table thead th:first-child {
  background: transparent;
}

.compare-table td {
  color: var(--color-text);
  line-height: 1.6;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 13px;
  white-space: nowrap;
}

.compare-table .compare-highlight {
  color: var(--color-primary);
  font-weight: 600;
}

.compare-note {
  font-size: 13px;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 24px auto 0;
  line-height: 1.8;
}

/* ============================================
   Compatibility Overview
   ============================================ */
.compat-section {
  padding: 80px 0;
  background: #f8f9fb;
}

.compat-section .section-label,
.compat-section .section-title { text-align: center; }

.compat-lead {
  font-size: 15px;
  color: var(--color-text-light);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.compat-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.compat-pair {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.compat-pair__types {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.compat-pair__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.compat-pair__arrow {
  color: var(--color-text-light);
  font-size: 12px;
}

.compat-pair__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.compat-pair__text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}
