:root {
  --primary: #1f5f9f;
  --primary-dark: #174a7c;
  --accent: #eaf3fb;
  --accent-light: #f7fbff;
  --border: #d9e4ef;
  --text: #1f2933;
  --muted: #66758a;
  --white: #fff;
  --warning-bg: #fff8ed;
  --warning-border: #f6d7a7;
  --warning-text: #7c4a03;
  --error: #c2410c;
  --shadow: 0 14px 36px rgba(25, 76, 128, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 50%, #f7fbff 100%);
  line-height: 1.75;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(31, 95, 159, 0.10);
  border-radius: 50%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.lead {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
}

.notice {
  margin-top: 22px;
  padding: 15px 18px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
  border-radius: 14px;
  font-size: 14px;
}

.progress-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 26px 0;
  padding: 14px 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(25, 76, 128, 0.08);
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8eef5;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #5aa6df);
  border-radius: inherit;
  transition: width .2s ease;
}

.diagnosis-form { display: grid; gap: 28px; }

.section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(25, 76, 128, 0.06);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title .num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--primary);
  background: var(--accent);
  border-radius: 12px;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

.question {
  border-top: 1px solid #edf2f7;
  padding: 22px 0;
}

.question:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.question-title {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 17px;
  color: #17212b;
}

.options { display: grid; gap: 10px; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--accent-light);
  cursor: pointer;
  transition: .15s ease;
}

.option:hover {
  border-color: #9fc5e8;
  background: #f1f8ff;
}

.option input {
  margin-top: 7px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.option strong {
  display: inline-block;
  min-width: 26px;
  color: var(--primary);
}

.option:has(input:checked) {
  border-color: var(--primary);
  background: #eaf5ff;
  box-shadow: 0 0 0 3px rgba(31, 95, 159, 0.10);
}

.actions {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.error {
  display: none;
  margin: 0 0 14px;
  color: var(--error);
  font-weight: 800;
}

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  padding: 15px 34px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .15s ease;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.result {
  margin-top: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.result-label {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.result h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.result-message {
  color: var(--muted);
  margin: 0 0 22px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.result-card {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.result-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.result-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.cta-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf3fb, #ffffff);
  border: 1px solid var(--border);
}

.cta-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cta-box p {
  margin: 0 0 16px;
  color: var(--muted);
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .page { padding: 28px 14px 52px; }
  .hero, .section, .actions, .result { padding: 22px; }
  .result-grid { grid-template-columns: 1fr; }
  .progress-head { flex-direction: column; gap: 4px; }
}

/* WordPress/MW WP Form integration */
[hidden] { display: none !important; }

button,
.cta-button,
.mw_wp_form input[type="submit"],
.mw_wp_form button {
  font-family: inherit;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-kicker {
  margin: 0 0 6px !important;
  color: var(--primary) !important;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.report-offer,
.form-section {
  margin-top: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.value-card {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--accent);
  font-weight: 900;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.report-structure {
  margin-top: 26px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.report-structure h3,
.sample-copy h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.report-structure ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.4em;
}

.report-structure li {
  padding-left: 4px;
}

.report-structure li span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.sample-area {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.sample-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.sample-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sample-slide {
  min-height: 210px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(25, 76, 128, 0.08);
}

.sample-slide span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-weight: 900;
}

.sample-slide p,
.sample-slide li {
  color: var(--muted);
  font-size: 14px;
}

.sample-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  align-items: end;
  height: 86px;
  margin: 8px 0 16px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-light);
}

.sample-chart i {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #5aa6df, var(--primary));
}

.sample-chart i:nth-child(1) { height: 54%; }
.sample-chart i:nth-child(2) { height: 72%; }
.sample-chart i:nth-child(3) { height: 42%; }
.sample-chart i:nth-child(4) { height: 64%; }
.sample-chart i:nth-child(5) { height: 35%; }
.sample-chart i:nth-child(6) { height: 48%; }


.answer-guide {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-light);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.report-structure-with-sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 26px;
  align-items: center;
}

.report-structure-content {
  min-width: 0;
}

.report-sample-image {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf3fb, #ffffff);
  border: 1px solid var(--border);
}

.report-sample-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(25, 76, 128, 0.12);
}

.sample-document {
  width: min(100%, 320px);
  min-height: 250px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dbe7f2;
  box-shadow: 0 14px 28px rgba(25, 76, 128, 0.12);
}

.sample-document-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.sample-document-head span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.sample-document-head strong {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}

.sample-document-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  align-items: end;
  height: 82px;
  margin: 10px 0 18px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-light);
}

.sample-document-chart i {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #5aa6df, var(--primary));
}

.sample-document-chart i:nth-child(1) { height: 58%; }
.sample-document-chart i:nth-child(2) { height: 76%; }
.sample-document-chart i:nth-child(3) { height: 45%; }
.sample-document-chart i:nth-child(4) { height: 67%; }
.sample-document-chart i:nth-child(5) { height: 38%; }
.sample-document-chart i:nth-child(6) { height: 52%; }

.sample-document-list {
  padding-top: 8px;
  border-top: 1px solid #edf2f7;
}

.sample-document-list span {
  display: block;
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.sample-document-list p {
  height: 10px;
  margin: 8px 0;
  border-radius: 999px;
  background: #e5eef7;
}

.sample-document-list p:nth-of-type(1) { width: 88%; }
.sample-document-list p:nth-of-type(2) { width: 72%; }
.sample-document-list p:nth-of-type(3) { width: 80%; }

.form-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--accent-light);
}

.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form textarea,
.mw_wp_form select {
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form input[type="tel"]:focus,
.mw_wp_form textarea:focus,
.mw_wp_form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 95, 159, 0.12);
}

.mw_wp_form .form-row {
  margin-bottom: 18px;
}

.mw_wp_form .form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.mw_wp_form .required {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--error);
  font-size: 12px;
  vertical-align: middle;
}

.mw_wp_form .form-privacy {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

.mw_wp_form .error,
.mw_wp_form .mwform-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-weight: 800;
  font-size: 14px;
}

.mw_wp_form input[type="submit"],
.mw_wp_form button[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  padding: 15px 34px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: .15s ease;
}

.mw_wp_form input[type="submit"]:hover,
.mw_wp_form button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.lp-footer {
  padding: 28px 20px 40px;
  color: var(--muted);
  background: #f7fbff;
  font-size: 13px;
}

.lp-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
  justify-content: center;
}

.lp-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 760px) {
  .report-offer,
  .form-section {
    padding: 22px;
  }

  .sample-area,
  .sample-preview,
  .report-structure-with-sample {
    grid-template-columns: 1fr;
  }

  .report-sample-image {
    min-height: 220px;
  }


  .form-card {
    padding: 18px;
  }
}
  

/* FV redesign: two-column hero with isometric diagnosis visual */
.hero-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-height: 520px;
  padding: clamp(36px, 5vw, 62px);
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(90, 166, 223, 0.22) 0, rgba(90, 166, 223, 0.00) 34%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 47%, #eaf5ff 100%);
  box-shadow: 0 20px 54px rgba(25, 76, 128, 0.13);
}

.hero-modern::before {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(31, 95, 159, 0.07);
  z-index: 0;
}

.hero-modern::after {
  display: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-modern .eyebrow {
  margin-bottom: 22px;
  border: 1px solid rgba(31, 95, 159, 0.22);
  background: rgba(234, 243, 251, 0.78);
}

.hero-modern h1 {
  margin-bottom: 20px;
  color: #071d45;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.hero-modern h1 .highlight {
  color: #0f63e6;
  font-size: 1.08em;
}

.hero-modern .lead {
  max-width: 620px;
  color: #1d3357;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  line-height: 1.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 26px;
  color: #1d3357;
  font-size: 14px;
  font-weight: 800;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-meta i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #0f63e6;
  background: #eef6ff;
  font-style: normal;
  font-size: 13px;
}

.hero-modern .answer-guide {
  max-width: 650px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 95, 159, 0.15);
  color: #53657b;
}

.hero-note {
  margin: 12px 0 0;
  color: #66758a;
  font-size: 12px;
  line-height: 1.6;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: #42536b;
  font-size: 14px;
  font-weight: 800;
}

.scroll-cue span {
  width: 12px;
  height: 12px;
  border-right: 2px solid #6aa9ea;
  border-bottom: 2px solid #6aa9ea;
  transform: rotate(45deg);
}

.hero-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
}

.iso-scene {
  position: relative;
  width: min(100%, 470px);
  height: 390px;
  transform: perspective(950px) rotateX(6deg) rotateY(-7deg);
  transform-style: preserve-3d;
}

.iso-scene::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 28px;
  bottom: 28px;
  height: 86px;
  background: radial-gradient(ellipse at center, rgba(25, 76, 128, 0.18), rgba(25, 76, 128, 0));
  filter: blur(4px);
  transform: rotate(-4deg);
}

.iso-card {
  position: absolute;
  border: 1px solid rgba(217, 228, 239, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 40px rgba(25, 76, 128, 0.14);
  backdrop-filter: blur(10px);
}

.iso-main {
  top: 20px;
  left: 62px;
  width: 300px;
  min-height: 280px;
  padding: 20px;
  border-radius: 24px;
  transform: translateZ(26px) rotate(-1deg);
}

.iso-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #071d45;
  font-size: 14px;
}

.iso-dot {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f63e6, #6aa9ea);
  box-shadow: 0 8px 18px rgba(15, 99, 230, 0.28);
}

.iso-question {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 13px 12px;
  border: 1px solid #e3edf7;
  border-radius: 16px;
  background: #f8fbff;
}

.iso-question span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #0f63e6;
  border: 1px solid #9fc5e8;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.iso-question b {
  display: block;
  color: #1d3357;
  font-size: 12px;
  line-height: 1.1;
  margin-bottom: 7px;
}

.iso-question i,
.iso-result i {
  display: block;
  height: 6px;
  margin-top: 5px;
  border-radius: 999px;
  background: #d8e3ef;
}

.iso-question i:first-of-type { width: 92%; }
.iso-question i:last-of-type { width: 68%; }

.iso-question em {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dbe6f2;
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.iso-question.active em {
  background: #0f63e6;
}

.iso-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
}

.iso-progress p {
  grid-column: 1 / -1;
  margin: 0 0 -2px;
  color: #42536b;
  font-size: 12px;
  font-weight: 900;
}

.iso-progress div {
  height: 10px;
  border-radius: 999px;
  background: #d8e3ef;
  overflow: hidden;
}

.iso-progress div span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f63e6, #6aa9ea);
}

.iso-progress strong {
  color: #0b2f6d;
  font-size: 16px;
  line-height: 1;
}

.iso-result {
  top: 88px;
  right: 8px;
  width: 178px;
  padding: 18px;
  border-radius: 20px;
  transform: translateZ(54px) rotate(3deg);
}

.iso-result small {
  display: inline-block;
  color: #0f63e6;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
}

.iso-result strong {
  display: block;
  color: #071d45;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.iso-result i:nth-of-type(1) { width: 92%; }
.iso-result i:nth-of-type(2) { width: 72%; }
.iso-result i:nth-of-type(3) { width: 84%; }

.iso-report {
  position: absolute;
  right: 72px;
  bottom: 74px;
  width: 120px;
  height: 150px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d9e4ef;
  box-shadow: 0 22px 34px rgba(25, 76, 128, 0.12);
  transform: translateZ(36px) rotate(5deg);
}

.iso-report span {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f63e6, #6aa9ea);
}

.iso-report b {
  display: block;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: #d8e3ef;
}

.iso-report b:nth-of-type(1) { width: 76%; }
.iso-report b:nth-of-type(2) { width: 100%; }
.iso-report b:nth-of-type(3) { width: 62%; }

.iso-tags {
  position: absolute;
  left: 40px;
  bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 270px;
  transform: translateZ(62px) rotate(-2deg);
}

.iso-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #0f63e6;
  background: #eaf3fb;
  border: 1px solid #d1e4fa;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(25, 76, 128, 0.06);
}

.iso-person {
  position: absolute;
  left: 6px;
  bottom: 82px;
  width: 88px;
  height: 118px;
  transform: translateZ(72px) rotate(-7deg);
}

.iso-person .head {
  position: absolute;
  left: 28px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5c9a5;
  box-shadow: 0 10px 20px rgba(25, 76, 128, 0.12);
}

.iso-person .body {
  position: absolute;
  left: 20px;
  top: 36px;
  width: 50px;
  height: 58px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(135deg, #1f5f9f, #6aa9ea);
}

.iso-person .laptop {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d9e4ef;
  box-shadow: 0 14px 24px rgba(25, 76, 128, 0.12);
}

@media (max-width: 940px) {
  .hero-modern {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .iso-scene {
    transform: scale(0.86) perspective(950px) rotateX(6deg) rotateY(-7deg);
    transform-origin: center top;
  }
}

@media (max-width: 760px) {
  .hero-modern {
    padding: 28px 20px;
    min-height: auto;
  }

  .hero-modern h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-meta {
    gap: 10px;
  }

  .hero-meta span {
    width: 100%;
  }

  .hero-visual {
    min-height: 275px;
    margin-top: 4px;
    overflow: hidden;
  }

  .iso-scene {
    transform: scale(0.68) perspective(950px) rotateX(6deg) rotateY(-7deg);
  }
}

  

/* FV balance revision v2 */
.hero-modern {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(26px, 4vw, 44px);
  min-height: 470px;
  padding: clamp(32px, 4.2vw, 50px);
}

.hero-modern h1 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.1vw, 48px);
  line-height: 1.32;
  letter-spacing: 0.005em;
}

.hero-modern h1 .highlight {
  font-size: 1em;
}

.hero-modern .lead {
  max-width: 560px;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.85;
  font-weight: 650;
}

.hero-meta {
  gap: 9px;
  margin-top: 22px;
}

.hero-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(31, 95, 159, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(25, 76, 128, 0.06);
}

.hero-meta i {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.hero-note {
  max-width: 560px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.75;
}

.hero-visual {
  min-height: 350px;
}

.iso-scene {
  width: min(100%, 430px);
  height: 350px;
  transform: perspective(900px) rotateX(4deg) rotateY(-4deg) scale(0.94);
  transform-origin: center;
}

.iso-main {
  top: 22px;
  left: 42px;
  width: 272px;
  min-height: 252px;
  padding: 18px;
  border-radius: 22px;
}

.iso-header {
  margin-bottom: 12px;
  font-size: 13px;
}

.iso-dot {
  width: 28px;
  height: 28px;
}

.iso-question {
  grid-template-columns: 35px minmax(0, 1fr) 22px;
  gap: 9px;
  margin-top: 9px;
  padding: 11px 11px;
  border-radius: 15px;
}

.iso-question span {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.iso-question b {
  font-size: 11.5px;
  margin-bottom: 6px;
}

.iso-question em {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.iso-progress {
  margin-top: 13px;
  padding-top: 12px;
}

.iso-result {
  top: 80px;
  right: 8px;
  width: 164px;
  padding: 16px;
  border-radius: 18px;
  transform: translateZ(46px) rotate(2deg);
}

.iso-result strong {
  font-size: 12.5px;
}

.iso-report {
  right: 64px;
  bottom: 64px;
  width: 110px;
  height: 136px;
  padding: 16px;
  border-radius: 16px;
  transform: translateZ(32px) rotate(4deg);
}

.iso-tags {
  left: 30px;
  bottom: 30px;
  width: 260px;
  gap: 7px;
}

.iso-tags span {
  padding: 6px 9px;
  font-size: 11px;
}

@media (max-width: 980px) {
  .hero-modern {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 22px;
  }

  .hero-modern h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-visual {
    min-height: 320px;
    margin-top: 8px;
  }

  .iso-scene {
    transform: perspective(900px) rotateX(4deg) rotateY(-4deg) scale(0.86);
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 280px;
  }
  .iso-scene {
    transform: perspective(900px) rotateX(4deg) rotateY(-4deg) scale(0.72);
  }
}



/* FV balance revision v3: shorter headline and calmer scale */
.hero-modern {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 4.5vw, 48px);
  min-height: 430px;
  padding: clamp(30px, 4vw, 46px);
}

.hero-modern .eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
}

.hero-modern h1 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3.25vw, 40px);
  line-height: 1.34;
  letter-spacing: 0.01em;
}

.hero-modern h1 .highlight {
  display: inline-block;
  font-size: 1em;
}

.hero-modern .lead {
  max-width: 590px;
  font-size: clamp(14px, 1.25vw, 15.5px);
  line-height: 1.85;
  font-weight: 650;
}

.hero-meta {
  margin-top: 22px;
}

.hero-visual {
  min-height: 340px;
}

.iso-scene {
  transform: perspective(900px) rotateX(4deg) rotateY(-4deg) scale(0.92);
}

@media (max-width: 980px) {
  .hero-modern {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .hero-modern h1 {
    max-width: none;
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.35;
  }

  .hero-modern .lead {
    max-width: none;
  }

  .hero-visual {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .hero-modern h1 {
    font-size: clamp(26px, 7.2vw, 31px);
  }

  .hero-meta {
    margin-top: 18px;
  }

  .hero-visual {
    min-height: 260px;
  }
}


/* FV image placeholder: replace only the img src when the final image is ready */
.hero-image-frame {
  width: min(100%, 430px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(217, 228, 239, 0.95);
  box-shadow: 0 22px 48px rgba(25, 76, 128, 0.14);
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero-image-frame {
    width: min(100%, 380px);
  }
}

@media (max-width: 560px) {
  .hero-image-frame {
    width: min(100%, 320px);
    border-radius: 22px;
  }
}



/* Mobile FV order adjustment: show the hero image just below the main copy */
@media (max-width: 760px) {
  .hero-copy {
    display: contents;
  }

  .hero-modern .eyebrow {
    order: 1;
  }

  .hero-modern h1 {
    order: 2;
  }

  .hero-visual {
    order: 3;
    margin-top: 4px;
    margin-bottom: 18px;
  }

  .hero-modern .lead {
    order: 4;
  }

  .hero-meta {
    order: 5;
  }

  .hero-note {
    order: 6;
  }
}

.lp-header {
  background: transparent;
  padding: 16px 0 12px;
}

.lp-header-inner {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lp-logo img {
  display: block;
  width: clamp(220px, 18vw, 290px);
  height: auto;
}

@media (min-width: 769px) {
  .lp-logo {
    transform: translateX(-40px);
  }
}

@media (max-width: 768px) {
  .lp-header {
    padding: 8px 20px 10px;
  }

  .lp-header-inner {
    width: 100%;
  }

  .lp-logo {
    transform: none;
  }

  .lp-logo img {
    width: 200px;
  }
}

body.scs-star3-diagnosis-lp {
  margin-top: 0;
  padding-top: 0;
}

