: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;
}


/* FV下セクション：SCS診断導入 */
.diagnosis-intro {
  --intro-primary: var(--primary);
  --intro-primary-dark: var(--primary-dark);
  --intro-navy: #08183d;
  --intro-text: #14233f;
  --intro-muted: #53657b;
  --intro-line: var(--border);
  --intro-card: rgba(255,255,255,.92);
  --intro-shadow: 0 18px 42px rgba(13, 68, 145, .12);
  --intro-shadow-soft: 0 10px 28px rgba(13, 68, 145, .10);

  position: relative;
  z-index: 1;
  margin: 26px auto 28px;
  padding: clamp(28px, 4vw, 54px) 28px 42px;
  overflow: hidden;
  border: 1px solid var(--intro-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 7%, rgba(36, 130, 227, .16) 0 0, rgba(36, 130, 227, .16) 110px, transparent 111px),
    radial-gradient(circle at 0% 14%, rgba(36, 130, 227, .08) 0 0, rgba(36, 130, 227, .08) 165px, transparent 166px),
    radial-gradient(circle at 97% 8%, rgba(36, 130, 227, .13) 0 0, rgba(36, 130, 227, .13) 210px, transparent 211px),
    radial-gradient(circle at 100% 21%, rgba(36, 130, 227, .07) 0 0, rgba(36, 130, 227, .07) 250px, transparent 251px),
    radial-gradient(circle at 0% 100%, rgba(36, 130, 227, .11) 0 0, rgba(36, 130, 227, .11) 170px, transparent 171px),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow);
}

.diagnosis-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 120px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(15, 95, 215, .18) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: .6;
  pointer-events: none;
}

.diagnosis-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 0 76%, rgba(36, 130, 227, .08) 76.2% 88%, transparent 88.2%),
    linear-gradient(305deg, transparent 0 72%, rgba(36, 130, 227, .07) 72.2% 84%, transparent 84.2%);
  pointer-events: none;
}

.diagnosis-intro > * {
  position: relative;
  z-index: 1;
}

.diagnosis-intro img {
  display: block;
  max-width: 100%;
  height: auto;
}

.diagnosis-intro-head {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.diagnosis-intro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 24px;
  border: 1px solid var(--intro-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--intro-primary);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 5px 16px rgba(13, 68, 145, .07);
}

.diagnosis-intro-badge-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.diagnosis-intro-title {
  margin: 18px 0 16px;
  color: var(--intro-navy);
  font-size: clamp(34px, 3.55vw, 48px);
  line-height: 1.36;
  letter-spacing: .025em;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255,255,255,.7);
}

.diagnosis-intro-title-line {
  display: inline-block;
  white-space: nowrap;
}

.diagnosis-intro-lead {
  margin: 0 auto;
  color: #26395b;
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.95;
}

.diagnosis-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 910px;
  margin: 24px auto 18px;
}

.diagnosis-feature-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 70px;
  padding: 16px 24px;
  background: var(--intro-card);
  border: 1px solid var(--intro-line);
  border-radius: 20px;
  color: var(--intro-navy);
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--intro-shadow-soft);
  backdrop-filter: blur(10px);
}

.diagnosis-feature-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 36px;
}

.diagnosis-intro-main-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 22px;
  max-width: 1180px;
  margin: 16px auto 0;
  align-items: stretch;
}

.diagnosis-intro-panel {
  background: var(--intro-card);
  border: 1px solid var(--intro-line);
  border-radius: 24px;
  box-shadow: var(--intro-shadow);
  padding: 24px 26px 20px;
  backdrop-filter: blur(10px);
}

.diagnosis-intro-panel-title {
  position: relative;
  margin: 0 0 20px;
  text-align: center;
  color: var(--intro-navy);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: .035em;
  font-weight: 850;
}

.diagnosis-intro-panel-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--intro-primary);
}

.diagnosis-benefit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diagnosis-benefit-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid var(--intro-line);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.diagnosis-benefit-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff 0 25%, #e8f3ff 26% 100%);
  border: 1px solid var(--intro-line);
  box-shadow: inset 0 -8px 14px rgba(13, 68, 145, .06);
  overflow: hidden;
}

.diagnosis-benefit-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.diagnosis-benefit-item p {
  margin: 0;
  color: var(--intro-navy);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.65;
}

.diagnosis-mini-flow {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--intro-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f5faff, #ffffff);
}

.diagnosis-flow-step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--intro-navy);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  white-space: nowrap;
}

.diagnosis-flow-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--intro-line);
  flex: 0 0 42px;
  overflow: hidden;
}

.diagnosis-flow-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.diagnosis-flow-arrow {
  position: relative;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a8caf0, #77ace9);
}

.diagnosis-flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 3px solid #77ace9;
  border-right: 3px solid #77ace9;
  transform: translateY(-50%) rotate(45deg);
}

.diagnosis-worry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.diagnosis-worry-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 18px 18px 16px;
  border: 1px solid var(--intro-line);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.diagnosis-worry-num {
  position: absolute;
  top: 16px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--intro-primary), var(--intro-primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(15, 95, 215, .23);
}

.diagnosis-worry-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-top: 22px;
  overflow: hidden;
}

.diagnosis-worry-icon-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.diagnosis-worry-card p {
  margin: 0;
  color: var(--intro-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.75;
}

.diagnosis-intro-cta {
  max-width: 540px;
  margin: 22px auto 0;
  text-align: center;
}

.diagnosis-intro-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: min(100%, 520px);
  min-height: 76px;
  padding: 18px 46px;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.28), transparent 30%),
    linear-gradient(180deg, #1f77ef 0%, #0750c6 100%);
  box-shadow: 0 18px 28px rgba(4, 76, 190, .30);
  text-decoration: none;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 900;
  letter-spacing: .02em;
}

.diagnosis-intro-cta-button-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 40px;
  overflow: hidden;
}

.diagnosis-intro-cta-arrow-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.diagnosis-intro-cta-note {
  margin: 14px 0 0;
  color: #30415f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
}

.diagnosis-intro-small-note {
  max-width: 900px;
  margin: 16px auto 0;
  color: var(--intro-muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1020px) {
  .diagnosis-intro-main-grid {
    grid-template-columns: 1fr;
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .diagnosis-intro {
    padding: 28px 16px 34px;
  }

  .diagnosis-intro-badge {
    font-size: 14px;
    padding: 6px 14px;
  }

  .diagnosis-intro-title {
    font-size: 30px;
    line-height: 1.45;
  }

  .diagnosis-intro-title-line {
    white-space: normal;
  }

  .diagnosis-feature-row,
  .diagnosis-worry-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-feature-card {
    justify-content: flex-start;
    font-size: 16px;
  }

  .diagnosis-intro-panel {
    padding: 20px 16px;
  }

  .diagnosis-intro-panel-title {
    font-size: 21px;
  }

  .diagnosis-benefit-item {
    grid-template-columns: 56px 1fr;
    padding: 12px;
  }

  .diagnosis-benefit-icon {
    width: 44px;
    height: 44px;
  }

  .diagnosis-benefit-icon-img {
    width: 28px;
    height: 28px;
  }

  .diagnosis-benefit-item p,
  .diagnosis-worry-card p {
    font-size: 15px;
  }

  .diagnosis-mini-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .diagnosis-flow-arrow {
    width: 3px;
    height: 24px;
    margin: 0 auto;
  }

  .diagnosis-flow-arrow::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .diagnosis-flow-step {
    white-space: normal;
  }

  .diagnosis-worry-card {
    grid-template-columns: 64px 1fr;
    min-height: 104px;
  }

  .diagnosis-worry-icon {
    width: 58px;
    height: 58px;
  }

  .diagnosis-worry-icon-img {
    width: 48px;
    height: 48px;
  }

  .diagnosis-intro-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 16px 22px;
    font-size: 20px;
  }

  .diagnosis-intro-cta-button-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .diagnosis-intro-cta-arrow-icon {
    width: 19px;
    height: 19px;
  }
}


/* FV下セクション調整：PC表示の崩れ修正 */
.diagnosis-intro {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  margin: 26px 0 28px 50%;
  padding: clamp(30px, 3.6vw, 48px) clamp(24px, 3.4vw, 42px) 38px;
  transform: translateX(-50%);
}

.diagnosis-intro-head {
  max-width: 960px;
  margin-bottom: 24px;
}

.diagnosis-intro-badge {
  min-height: 38px;
  padding: 6px 22px;
  font-size: 14px;
  font-weight: 800;
}

.diagnosis-intro-badge-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.diagnosis-intro-title {
  margin: 16px 0 12px;
  font-size: clamp(34px, 3.15vw, 44px);
  line-height: 1.34;
  font-weight: 850;
}

.diagnosis-intro-lead {
  font-size: clamp(14px, 1.15vw, 15.5px);
}

.diagnosis-feature-row {
  max-width: 980px;
  margin-top: 22px;
}

.diagnosis-feature-card {
  min-height: 66px;
  padding: 14px 22px;
  font-size: 16px;
}

.diagnosis-feature-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.diagnosis-intro-main-grid {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  max-width: 1160px;
  gap: 22px;
  margin-top: 14px;
}

.diagnosis-intro-panel {
  padding: 22px 24px 18px;
  border-radius: 22px;
}

.diagnosis-intro-panel-title {
  margin-bottom: 18px;
  font-size: 20px;
}

.diagnosis-benefit-item {
  grid-template-columns: 64px 1fr;
  min-height: 66px;
  padding: 10px 16px;
}

.diagnosis-benefit-icon {
  width: 46px;
  height: 46px;
}

.diagnosis-benefit-icon-img {
  width: 30px;
  height: 30px;
}

.diagnosis-benefit-item p {
  font-size: 15px;
  line-height: 1.55;
}

.diagnosis-mini-flow {
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
}

.diagnosis-flow-step {
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}

.diagnosis-flow-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 11px;
}

.diagnosis-flow-icon-img {
  width: 24px;
  height: 24px;
}

.diagnosis-flow-arrow {
  width: 26px;
}

.diagnosis-worry-card {
  grid-template-columns: 74px 1fr;
  gap: 13px;
  min-height: 110px;
  padding: 16px 16px 14px;
}

.diagnosis-worry-num {
  top: 14px;
  left: 12px;
  width: 31px;
  height: 31px;
  font-size: 13px;
}

.diagnosis-worry-icon {
  width: 68px;
  height: 68px;
  margin-top: 18px;
}

.diagnosis-worry-icon-img {
  width: 50px;
  height: 50px;
}

.diagnosis-worry-card p {
  font-size: 14px;
  line-height: 1.65;
}

.diagnosis-intro-cta {
  margin-top: 20px;
}

.diagnosis-intro-cta-button {
  min-width: min(100%, 500px);
  min-height: 68px;
  padding: 16px 42px;
  font-size: clamp(20px, 1.85vw, 25px);
}

.diagnosis-intro-cta-button-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.diagnosis-intro-cta-arrow-icon {
  width: 21px;
  height: 21px;
}

.diagnosis-intro-cta-note {
  margin-top: 12px;
  font-size: 13.5px;
}

@media (max-width: 1180px) {
  .diagnosis-intro-main-grid {
    grid-template-columns: 1fr;
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .diagnosis-intro {
    width: auto;
    margin: 26px 0 28px;
    transform: none;
  }
}

/* FVとFV下セクションの横幅を揃える */
.hero-modern {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  .hero-modern {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}
/* FV右側画像：角丸トリミング解除・拡大 */
.hero-modern {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.hero-modern .hero-visual {
  min-height: 430px;
  overflow: visible;
}

.hero-modern .hero-image-frame {
  width: min(100%, 500px);
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.hero-modern .hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 22px 28px rgba(25, 76, 128, 0.18));
}

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

  .hero-modern .hero-visual {
    min-height: auto;
  }

  .hero-modern .hero-image-frame {
    width: min(100%, 560px);
  }
}

@media (max-width: 560px) {
  .hero-modern .hero-image-frame {
    width: min(100%, 360px);
  }
}
/* FV左側メタ情報：左揃え・余白バランス調整 */
.hero-modern .hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
  gap: 16px;
  margin-top: 28px;
}

.hero-modern .hero-meta span {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 54px;
  padding: 10px 18px 10px 20px;
  border: 1px solid rgba(31, 95, 159, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 16px rgba(25, 76, 128, 0.06);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-modern .hero-meta i {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  font-size: 15px;
}

/* Header logo alignment fix v3: FV外枠の左端に合わせる */
.lp-header {
  background: transparent !important;
  padding: 16px 0 22px !important;
}

.lp-header-inner {
  width: min(1320px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin-left: 50% !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

.lp-header .lp-logo {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  transform: none !important;
  text-decoration: none !important;
}

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

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

  .lp-header-inner {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
  }

  .lp-header .lp-logo {
    transform: none !important;
  }

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

/* FV: reference image reproduction */
.hero.hero-modern.hero-reference {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(28px, 3vw, 44px);
  align-items: center;
  min-height: 610px;
  padding: clamp(34px, 4vw, 48px);
  border: 1px solid #dce7f3;
  border-radius: 28px;
  background: linear-gradient(135deg, #fbfdff 0%, #ffffff 58%, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(35, 72, 121, .08);
}

.hero.hero-modern.hero-reference::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(56, 111, 222, .07);
}

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

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

.hero-reference-copy {
  min-width: 0;
  max-width: 690px;
}

.hero-reference-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 13px;
  border: 1px solid #cbdcf5;
  border-radius: 999px;
  background: #f8fbff;
  color: #285cd6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.hero-reference-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-modern .hero-reference-title {
  margin: 0 0 22px;
  color: #071d45;
  font-size: clamp(36px, 3.15vw, 46px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.hero-reference-title-line {
  display: block;
  white-space: nowrap;
}

.hero-reference-title-small {
  display: inline-block;
  margin-left: .28em;
  font-size: .68em;
  letter-spacing: -.02em;
  vertical-align: .08em;
}

.hero-reference-lead {
  max-width: 620px;
  margin: 0;
  color: #283752;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.95;
}

.hero-reference-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 570px);
  margin-top: 24px;
}

.hero-reference-meta-card {
  min-height: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 8px;
  border: 1px solid #dce6f1;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  text-align: center;
}

.hero-reference-meta-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero-reference-meta-card strong {
  color: #1b2638;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-reference-cta {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 12px;
  width: min(100%, 570px);
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 13px;
  background: linear-gradient(90deg, #2f68ef, #2c5dde);
  color: #fff;
  box-shadow: 0 14px 28px rgba(44, 93, 222, .24);
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
}

.hero-reference-cta:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hero-reference-cta-circle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.17);
  font-size: 15px;
  line-height: 1;
}

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

.hero-reference-visual-slot {
  width: 100%;
  min-height: 440px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  text-align: center;
}

.hero-reference-visual-slot strong {
  color: #123f97;
  font-size: 21px;
  font-weight: 900;
}

.hero-reference-visual-slot span {
  color: #637690;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero.hero-modern.hero-reference {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 28px;
    padding: 36px 32px;
  }

  .hero-modern .hero-reference-title {
    font-size: clamp(34px, 3.2vw, 40px);
  }

  .hero-reference-meta-card {
    min-height: 100px;
  }
}

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

  .hero-reference-copy {
    max-width: 100%;
  }

  .hero-reference-title-line {
    white-space: normal;
  }

  .hero-reference-visual,
  .hero-reference-visual-slot {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .hero.hero-modern.hero-reference {
    padding: 26px 18px;
  }

  .hero-modern .hero-reference-title {
    font-size: clamp(30px, 9vw, 38px);
  }

  .hero-reference-title-small {
    margin-left: .18em;
    font-size: .74em;
  }

  .hero-reference-lead br {
    display: none;
  }

  .hero-reference-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-reference-cta {
    width: 100%;
  }
}



/* Mobile FV order: place the main visual after the lead and before the feature cards */
.hero.hero-modern.hero-reference {
  grid-template-areas:
    "badge visual"
    "title visual"
    "lead visual"
    "meta visual"
    "cta visual";
  grid-template-rows: auto auto auto auto auto;
  align-items: start;
  row-gap: 0;
}

.hero-reference-copy {
  display: contents;
}

.hero-reference-badge {
  grid-area: badge;
  justify-self: start;
  position: relative;
  z-index: 1;
}

.hero-reference-title {
  grid-area: title;
  position: relative;
  z-index: 1;
}

.hero-reference-lead {
  grid-area: lead;
  position: relative;
  z-index: 1;
}

.hero-reference-meta {
  grid-area: meta;
  position: relative;
  z-index: 1;
}

.hero-reference-cta {
  grid-area: cta;
  position: relative;
  z-index: 1;
  justify-self: start;
}

.hero-reference-visual {
  grid-area: visual;
}

@media (max-width: 940px) {
  .hero.hero-modern.hero-reference {
    grid-template-areas:
      "badge"
      "title"
      "lead"
      "visual"
      "meta"
      "cta";
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-reference-visual {
    width: 100%;
    margin: 22px 0 20px;
  }

  .hero-reference-visual,
  .hero-reference-visual-slot {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .hero-reference-visual {
    margin: 20px 0 18px;
  }

  .hero-reference-visual,
  .hero-reference-visual-slot {
    min-height: 220px;
  }

  .hero-reference-visual-slot {
    border-radius: 20px;
  }

  .hero-reference-visual-slot strong {
    font-size: 22px;
  }
}



/* Mobile title: keep the main copy to exactly two lines */
@media (max-width: 620px) {
  .hero-modern .hero-reference-title {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.24;
    letter-spacing: -.055em;
  }

  .hero-reference-title-line {
    white-space: nowrap;
  }

  .hero-reference-title-small {
    margin-left: .12em;
    font-size: .56em;
    letter-spacing: -.04em;
    vertical-align: .08em;
  }
}



/* FV下セクション改修：セルフチェック結果の活用イメージ */
.scs-value-section {
  position: relative;
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid #e1e9f3;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(25, 76, 128, 0.08);
}

.scs-value-heading {
  padding: clamp(42px, 5vw, 54px) clamp(34px, 5vw, 54px) 0;
  text-align: center;
}

.scs-value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(220px, 0.54fr);
  gap: clamp(22px, 2.8vw, 34px);
  align-items: center;
  padding: 8px clamp(34px, 5vw, 54px) 36px;
}

.scs-value-content {
  min-width: 0;
}

.scs-value-title {
  margin: 0;
  text-align: center;
  color: #08183d;
  font-size: clamp(28px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.48;
  letter-spacing: -0.035em;
}

.scs-value-title span {
  display: block;
  white-space: nowrap;
}

.scs-value-accent {
  display: block;
  width: 48px;
  height: 4px;
  margin: 14px auto 12px;
  border-radius: 999px;
  background: #2d6ff1;
}

.scs-value-copy {
  max-width: 620px;
  color: #34445f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.scs-value-copy p {
  margin: 0;
}

.scs-value-copy p + p {
  margin-top: 12px;
}

.scs-value-use-list {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin-top: 26px;
}

.scs-value-use-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 10px 16px 10px 10px;
  border: 1px solid #e3eaf3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(25, 76, 128, 0.08);
}

.scs-value-use-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #edf4ff;
}

.scs-value-use-icon-img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.scs-value-use-item strong {
  color: #162743;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.scs-value-use-arrow {
  color: #2d6ff1;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.scs-value-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scs-value-image-slot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: min(100%, 248px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 24% 22%, rgba(66, 133, 238, .09), transparent 27%),
    radial-gradient(circle at 77% 77%, rgba(66, 133, 238, .07), transparent 24%),
    linear-gradient(180deg, #fff, #fbfdff);
}

.scs-value-image-label {
  color: #123f97;
  font-size: 23px;
  font-weight: 900;
}

.scs-value-image-size {
  color: #6a7c93;
  font-size: 13px;
  font-weight: 700;
}

.scs-value-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 17px 24px;
  border-top: 1px solid #e4ebf4;
  background: #f7faff;
  color: #66758a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.scs-value-note-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #77a3df;
  border-radius: 50%;
  color: #5b8fd6;
  font-size: 13px;
  font-family: Georgia, serif;
  font-weight: 700;
}

@media (max-width: 940px) {
  .scs-value-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .scs-value-use-list {
    max-width: 100%;
  }

  .scs-value-image-slot {
    width: min(100%, 360px);
    min-height: 0;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .scs-value-section {
    margin-top: 20px;
    border-radius: 22px;
  }

  .scs-value-heading {
    padding: 34px 20px 0;
  }

  .scs-value-layout {
    gap: 28px;
    padding: 12px 20px 28px;
  }

  .scs-value-title {
    font-size: clamp(25px, 7.5vw, 32px);
    line-height: 1.45;
  }

  .scs-value-title span {
    white-space: normal;
  }

  .scs-value-accent {
    margin: 16px 0 18px;
  }

  .scs-value-copy {
    font-size: 14px;
    line-height: 1.85;
  }

  .scs-value-pc-only {
    display: none;
  }

  .scs-value-use-list {
    margin-top: 22px;
  }

  .scs-value-use-item {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    min-height: 62px;
    padding: 8px 14px 8px 8px;
  }

  .scs-value-use-icon {
    width: 42px;
    height: 42px;
  }

  .scs-value-use-icon-img {
    width: 26px;
    height: 26px;
  }

  .scs-value-use-item strong {
    font-size: 15px;
  }

  .scs-value-image-slot {
    aspect-ratio: 1 / 1;
  }

  .scs-value-image-label {
    font-size: 21px;
  }

  .scs-value-note {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px 18px;
    font-size: 12px;
    text-align: left;
  }
}



/* FVと次セクションの外枠幅・内側余白を統一 */
:root {
  --scs-lp-section-width: min(1320px, calc(100vw - 48px));
}

.hero-modern,
.scs-value-section {
  width: var(--scs-lp-section-width);
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.scs-value-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(38px, 4vw, 54px);
  padding: 48px 48px 40px;
}

.scs-value-title {
  font-size: clamp(30px, 2.45vw, 36px);
  line-height: 1.45;
}

.scs-value-copy {
  max-width: 660px;
  font-size: 15px;
}

.scs-value-use-list {
  max-width: 510px;
}

.scs-value-image-slot {
  width: min(100%, 450px);
  margin-left: auto;
}

@media (max-width: 1100px) {
  .scs-value-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    padding: 42px 38px 36px;
  }

  .scs-value-title {
    font-size: clamp(28px, 3vw, 34px);
  }
}

@media (max-width: 940px) {
  .scs-value-layout {
    grid-template-columns: 1fr;
  }

  .scs-value-image-slot {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  :root {
    --scs-lp-section-width: auto;
  }

  .hero-modern,
  .scs-value-section {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .scs-value-layout {
    padding: 34px 20px 28px;
  }
}



/* セルフチェックの流れ */
.scs-flow-section {
  position: relative;
  margin: 28px auto 0;
  padding: clamp(42px, 5vw, 58px) clamp(28px, 4.5vw, 48px) clamp(40px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid #e1e9f3;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(25, 76, 128, 0.08);
}

.scs-flow-heading {
  text-align: center;
}

.scs-flow-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: #2a68df;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.scs-flow-kicker span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #78a6f3;
  transform: rotate(50deg);
}

.scs-flow-kicker span:last-child {
  transform: rotate(-50deg);
}

.scs-flow-heading h2 {
  margin: 0;
  color: #071d45;
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.scs-flow-heading-line {
  display: block;
  width: 58px;
  height: 4px;
  margin: 18px auto 30px;
  border-radius: 999px;
  background: #2464e8;
}

.scs-flow-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.scs-flow-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e9f2;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(25, 76, 128, 0.10);
}

.scs-flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #eef5ff 0 50%, transparent 50.5%);
  pointer-events: none;
  z-index: 2;
}

.scs-flow-number {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 3;
  color: #125bd7;
  font-family: Arial, sans-serif;
  font-size: 33px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.scs-flow-image-wrap {
  aspect-ratio: 5 / 3;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.scs-flow-image {
  display: block;
  width: 88%;
  height: 88%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.scs-flow-card-body {
  padding: 16px 18px 22px;
}

.scs-flow-card-body h3 {
  margin: 0;
  color: #071d45;
  font-size: clamp(17px, 1.65vw, 20px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  letter-spacing: -.025em;
}

.scs-flow-card-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 10px 0 13px;
  background: #8bb5f8;
}

.scs-flow-card-body p {
  margin: 0;
  color: #4b5a70;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.scs-flow-card-body p + p {
  margin-top: 7px;
}

.scs-flow-card-note {
  color: #31496e !important;
}

.scs-flow-arrow {
  position: relative;
  z-index: 4;
  align-self: center;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  justify-self: center;
  flex: 0 0 34px;
}

.scs-flow-arrow-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.scs-flow-cta {
  display: grid;
  grid-template-columns: 38px auto 24px;
  justify-content: center;
  gap: 12px;
  align-items: center;
  width: min(100%, 520px);
  margin: 30px auto 0;
  padding: 14px 18px;
  border-radius: 13px;
  background: linear-gradient(90deg, #0759cc 0%, #064fb9 100%);
  color: #fff;
  box-shadow: 0 13px 28px rgba(6, 79, 185, .24);
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  transition: transform .2s ease, box-shadow .2s ease;
}

.scs-flow-cta > span:nth-child(2) {
  white-space: nowrap;
}

.scs-flow-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 32px rgba(6, 79, 185, .28);
}

.scs-flow-cta-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.scs-flow-cta-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scs-flow-cta-arrow {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 24px;
  height: 24px;
  line-height: 0;
}

.scs-flow-cta-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .scs-flow-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
  }

  .scs-flow-arrow {
    justify-self: center;
    margin: -4px 0;
  }

  .scs-flow-arrow-img {
    transform: rotate(90deg);
  }

  .scs-flow-image-wrap {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 760px) {
  .scs-flow-section {
    margin-top: 20px;
    padding: 32px 16px 34px;
    border-radius: 22px;
  }

  .scs-flow-kicker {
    gap: 9px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .scs-flow-kicker span {
    width: 13px;
  }

  .scs-flow-heading h2 {
    font-size: 29px;
  }

  .scs-flow-heading-line {
    margin: 14px auto 24px;
  }

  .scs-flow-card-body h3 {
    font-size: 19px;
  }

  .scs-flow-card-body p {
    font-size: 13px;
  }

  .scs-flow-image-wrap {
    aspect-ratio: 5 / 3;
  }

  .scs-flow-cta {
    grid-template-columns: 32px auto 20px;
    gap: 9px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .scs-flow-cta-icon,
  .scs-flow-cta-icon svg {
    width: 32px;
    height: 32px;
  }

  .scs-flow-cta-arrow {
    width: 20px;
    height: 20px;
  }

  .scs-flow-cta-arrow svg {
    width: 16px;
    height: 16px;
  }
}



/* 3枚目の見出しを1行で表示 */
.scs-flow-card-body h3.scs-flow-card-title-nowrap {
  white-space: nowrap;
  font-size: clamp(15px, 1.45vw, 18px);
  letter-spacing: -.045em;
}

@media (max-width: 900px) {
  .scs-flow-card-body h3.scs-flow-card-title-nowrap {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .scs-flow-card-body h3.scs-flow-card-title-nowrap {
    font-size: 17px;
  }
}



/* Final alignment: unify all section widths, flow-card heading sizes, and CTA design */
.hero-modern,
.scs-value-section,
.scs-flow-section {
  width: var(--scs-lp-section-width);
  max-width: none;
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.scs-flow-card-body h3,
.scs-flow-card-body h3.scs-flow-card-title-nowrap {
  font-size: clamp(18px, 1.55vw, 20px);
  letter-spacing: -.025em;
}

.scs-flow-card-body h3.scs-flow-card-title-nowrap {
  white-space: nowrap;
}

.hero-reference-cta-unified {
  grid-area: cta;
  position: relative;
  z-index: 1;
  justify-self: start;
  margin: 18px 0 0;
}

@media (max-width: 900px) {
  .scs-flow-card-body h3,
  .scs-flow-card-body h3.scs-flow-card-title-nowrap {
    font-size: 19px;
    letter-spacing: -.025em;
  }
}

@media (max-width: 760px) {
  .hero-modern,
  .scs-value-section,
  .scs-flow-section {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .hero-reference-cta-unified {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .scs-flow-card-body h3,
  .scs-flow-card-body h3.scs-flow-card-title-nowrap {
    font-size: 17px;
  }
}