:root {
  color-scheme: light;
  --ink: #071229;
  --muted: #4c5568;
  --line: #e6ecf4;
  --paper: #ffffff;
  --navy: #071229;
  --blue: #5274db;
  --gold: #f2bd3d;
  --green: #39b49b;
  --red: #e16d7b;
  --purple: #9672d1;
  --shadow-card: 0 7px 18px rgba(22, 35, 66, 0.08);
  --shadow-soft: 0 12px 28px rgba(22, 35, 66, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 68px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5eaf1;
  box-shadow: 0 2px 10px rgba(11, 29, 54, 0.03);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.brand-wordmark strong {
  font: inherit;
  letter-spacing: 0;
}

.brand-wordmark small {
  color: #657086;
  font-size: 0.38em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 220px;
  height: 50px;
  overflow: hidden;
}

.brand-logo img {
  position: absolute;
  top: -14%;
  left: -5.5%;
  display: block;
  width: 111%;
  max-width: none;
  height: auto;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
}

.brand-icon svg {
  width: 31px;
  height: 31px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 44px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.main-nav a,
.footer-links a {
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.footer-links a:hover {
  border-color: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-button,
.header-cta,
.primary-link,
.secondary-link,
.wide-link,
.category-card a,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.search-button {
  gap: 8px;
  min-width: 70px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dbe3ee;
  box-shadow: 0 4px 14px rgba(17, 32, 61, 0.06);
}

.search-button svg {
  width: 17px;
  height: 17px;
}

.header-cta {
  min-width: 150px;
  padding: 0 16px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 8px 18px rgba(7, 18, 41, 0.18);
}

main {
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}

.hero-full-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.slash-label,
.mini-label {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.slash-label {
  margin-bottom: 20px;
}

.slash-label::before {
  content: "\\";
  margin-right: 13px;
}

.slash-label::after {
  content: "/";
  margin-left: 13px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 17px;
  font-size: 39px;
  font-weight: 900;
  line-height: 1.46;
  letter-spacing: 0.025em;
}

h1 span,
.section-title-row h2 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 22px;
  color: #14203b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
}

.primary-link,
.secondary-link {
  min-width: 206px;
  min-height: 43px;
  padding: 0 22px;
}

.primary-link {
  gap: 13px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 10px 22px rgba(7, 18, 41, 0.18);
}

.primary-link::after,
.text-link::after,
.wide-link::after,
.category-card a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.secondary-link,
.wide-link,
.category-card a,
.secondary-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d3e3;
}

.free-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #384154;
  font-size: 12px;
  font-weight: 800;
}

.free-note svg {
  width: 16px;
  height: 16px;
  color: #4d596d;
}

.hero-art {
  position: relative;
  min-height: 350px;
}

.hero-raster {
  position: absolute;
  inset: -24px -68px -22px -26px;
  z-index: 5;
  display: none;
  width: calc(100% + 94px);
  height: calc(100% + 46px);
  object-fit: contain;
  object-position: center;
}

.has-hero-raster .hero-raster {
  display: block;
}

.has-hero-raster .hero-vector {
  display: none;
}

.hero-vector {
  position: absolute;
  inset: 0;
}

.hero-vector::before {
  content: "";
  position: absolute;
  right: -76px;
  bottom: 3px;
  width: 318px;
  height: 212px;
  background: #fbf3e9;
  border-radius: 55% 45% 0 0 / 62% 58% 0 0;
  transform: rotate(-12deg);
  opacity: 0.72;
}

.hero-vector::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -102px;
  width: 240px;
  height: 240px;
  background: #e9f7ff;
  border-radius: 50%;
}

.person-art {
  position: absolute;
  right: 84px;
  bottom: -9px;
  z-index: 3;
  width: 300px;
  filter: drop-shadow(0 13px 16px rgba(28, 50, 70, 0.11));
}

.bubble {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: 118px;
  height: 90px;
  color: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 13px 24px rgba(31, 54, 79, 0.055);
}

.bubble::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 24px;
  height: 22px;
  background: inherit;
  transform: rotate(34deg);
  z-index: -1;
}

.bubble-icon,
.bubble-icon svg {
  width: 40px;
  height: 40px;
}

.bubble-career {
  top: -4px;
  left: 61px;
  background: #ffe2da;
}

.bubble-money {
  top: 7px;
  right: 35px;
  background: #e3f3d8;
}

.bubble-life {
  top: 113px;
  left: 4px;
  width: 130px;
  height: 100px;
  background: #ffefb9;
}

.bubble-health {
  top: 134px;
  right: 0;
  width: 130px;
  height: 100px;
  background: #dff3ff;
}

.bubble-business {
  left: 42px;
  bottom: 4px;
  background: #eadcff;
}

.confetti,
.confetti::before,
.confetti::after {
  position: absolute;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  opacity: 0.75;
}

.c1 {
  top: 17px;
  left: -24px;
  border: 2px solid #f5c74d;
  transform: rotate(28deg);
}

.c1::before {
  top: 86px;
  left: 48px;
  background: #a9c5e4;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c1::after {
  top: 265px;
  left: 78px;
  background: #f8b08d;
  transform: rotate(18deg);
}

.c2 {
  top: 4px;
  right: 244px;
  width: 18px;
  height: 13px;
  background: #f5a176;
  clip-path: polygon(0 25%, 60% 0, 100% 45%, 38% 100%);
  transform: rotate(-14deg);
}

.c2::before {
  top: 236px;
  left: 165px;
  width: 13px;
  height: 13px;
  background: #f1d352;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c2::after {
  top: 279px;
  left: 28px;
  width: 11px;
  height: 11px;
  background: #cfe7b2;
  transform: rotate(34deg);
}

.c3 {
  right: 26px;
  bottom: 65px;
  width: 18px;
  height: 10px;
  background: #ffe08a;
  transform: rotate(-22deg);
}

.c3::before {
  right: 118px;
  bottom: 288px;
  width: 10px;
  height: 10px;
  background: #b7ddec;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c3::after {
  right: -38px;
  bottom: 188px;
  width: 8px;
  height: 8px;
  background: #dbe7ec;
  transform: rotate(45deg);
}

.popular-section,
.category-section,
.reason-section,
.quiz-section {
  padding-right: 46px;
  padding-left: 46px;
}

.popular-section {
  padding-top: 24px;
  padding-bottom: 10px;
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-title-row h2,
.section-heading h2,
.reason-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.mini-label {
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mini-label::before {
  content: "\\";
  margin-right: 9px;
  color: #e7ad31;
  font-weight: 700;
}

.mini-label::after {
  content: "/";
  margin-left: 9px;
  color: #e7ad31;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.text-link::after {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #d5deeb;
  border-radius: 50%;
  transform: none;
  content: "›";
  font-size: 19px;
  line-height: 1;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.popular-card {
  position: relative;
  display: grid;
  grid-template-rows: 84px 44px 42px 24px;
  justify-items: center;
  gap: 4px;
  min-height: 238px;
  padding: 17px 8px 13px;
  color: var(--ink);
  text-align: center;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 9px;
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.popular-card:hover,
.popular-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c9d7ea;
  box-shadow: 0 12px 24px rgba(22, 35, 66, 0.12);
}

.rank {
  position: absolute;
  top: 15px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--gold);
  border-radius: 50% 50% 50% 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.card-icon {
  display: grid;
  place-items: end center;
  width: 78px;
  height: 78px;
  align-self: end;
}

.card-icon svg {
  width: 76px;
  height: 76px;
}

.popular-card strong {
  display: grid;
  align-items: center;
  max-width: 126px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.popular-card small {
  display: grid;
  align-items: start;
  max-width: 126px;
  color: #14203b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.62;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 10px;
  color: #3270b8;
  background: #f2f8ff;
  border: 1px solid #cbe1ff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.pill.muted {
  color: #8066c9;
  background: #f6f1ff;
  border-color: #e0d3ff;
}

.pill.red {
  color: #bd646a;
  background: #fff1f3;
  border-color: #f4cfd5;
}

.pill.gold {
  color: #b78319;
  background: #fff7df;
  border-color: #f0da99;
}

.pill.purple {
  color: #795cc7;
  background: #f5f0ff;
  border-color: #ddd1ff;
}

.pill.green {
  color: #558f2c;
  background: #f3fbec;
  border-color: #dbecc6;
}

.pill.orange {
  color: #d06a3c;
  background: #fff4ed;
  border-color: #f2d4c0;
}

.tone-gold {
  background: linear-gradient(145deg, #fffdf8 0%, #fffaf1 100%);
}

.tone-blue {
  background: linear-gradient(145deg, #fbfdff 0%, #f1f8ff 100%);
}

.tone-orange {
  background: linear-gradient(145deg, #fffdfb 0%, #fff7ef 100%);
}

.tone-purple {
  background: linear-gradient(145deg, #fefcff 0%, #f8f2ff 100%);
}

.tone-sky {
  background: linear-gradient(145deg, #fbfdff 0%, #eff8ff 100%);
}

.tone-teal {
  background: linear-gradient(145deg, #fbffff 0%, #effbfa 100%);
}

.tone-cyan {
  background: linear-gradient(145deg, #fbffff 0%, #f0fbfd 100%);
}

.tone-rose {
  background: linear-gradient(145deg, #fffdfd 0%, #fff3f4 100%);
}

.tone-cream {
  background: linear-gradient(145deg, #fffefa 0%, #fff9ed 100%);
}

.tone-lavender {
  background: linear-gradient(145deg, #fff 0%, #fbf7ff 100%);
}

.tone-green {
  background: linear-gradient(145deg, #fff 0%, #f5fbef 100%);
}

.tone-peach {
  background: linear-gradient(145deg, #fff 0%, #fff5ed 100%);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 13px;
}

.wide-link {
  gap: 13px;
  min-width: 266px;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 12px;
}

.quiz-section {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #f7fbff;
  border-bottom: 1px solid #e8edf4;
  scroll-margin-top: 86px;
}

.diagnosis-hero {
  padding: 42px 46px 26px;
  background:
    radial-gradient(circle at 84% 20%, rgba(82, 116, 219, 0.08), transparent 260px),
    #fff;
  border-bottom: 1px solid #e8edf4;
}

.diagnosis-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.24;
}

.diagnosis-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(17, 32, 61, 0.06);
  font-size: 12px;
  font-weight: 900;
}

.back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.quiz-section.is-hidden {
  display: none;
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1060px;
  margin: 0 auto;
}

.quiz-heading h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
}

.quiz-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quiz-panel {
  min-height: 316px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.progress-track {
  width: min(250px, 44vw);
  height: 8px;
  overflow: hidden;
  background: #e9eef5;
  border-radius: 999px;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width 180ms ease;
}

.question-title {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--ink);
  text-align: left;
  background: #fbfdff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.choice-button:hover {
  background: #f3f8ff;
  border-color: #c7d6ec;
}

.choice-button::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}

.result-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 11px;
  padding: 4px 11px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.result-title {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.32;
}

.result-copy,
.result-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.action-list li {
  padding: 10px 12px;
  background: #f7fbff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.primary-button,
.secondary-button {
  min-height: 40px;
  padding: 0 16px;
}

.primary-button {
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.result-aside {
  display: grid;
  align-content: start;
  gap: 12px;
}

.next-box,
.cta-box {
  padding: 13px;
  background: #fbfdff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
}

.next-box h3,
.cta-box h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}

.next-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.next-link + .next-link {
  margin-top: 8px;
}

.email-form {
  display: grid;
  gap: 8px;
}

.email-form input {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
}

.category-section {
  padding-top: 20px;
  padding-bottom: 27px;
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}

.section-heading {
  margin-bottom: 17px;
  text-align: center;
}

.section-heading h2,
.reason-section h2 {
  position: relative;
  text-align: center;
}

.section-heading h2::after,
.reason-section h2::after {
  content: "";
  display: block;
  width: 170px;
  height: 8px;
  margin: 2px auto 0;
  background: url("data:image/svg+xml,%3Csvg width='170' height='8' viewBox='0 0 170 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5c18-6 29 5 45 0s29-5 43 0 29 5 43 0 24-4 35 0' fill='none' stroke='%23e46b70' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-height: 200px;
  padding: 20px 15px 16px;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 35, 66, 0.06);
}

.category-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 3px;
}

.category-icon svg {
  width: 42px;
  height: 42px;
}

.category-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.category-card p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.category-card ul {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 0;
  color: #283349;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
}

.category-card li::before {
  content: "✓";
  margin-right: 8px;
}

.category-card a {
  gap: 12px;
  width: 100%;
  min-height: 36px;
  border-radius: 999px;
  font-size: 12px;
}

.category-blue {
  background: #eef6ff;
}

.category-blue a,
.category-blue li::before {
  color: #3a87d8;
}

.category-green {
  background: #effaf2;
}

.category-green a,
.category-green li::before {
  color: #33a96a;
}

.category-yellow {
  background: #fff9e8;
}

.category-yellow a,
.category-yellow li::before {
  color: #cf9b1d;
}

.category-pink {
  background: #fff1f4;
}

.category-pink a,
.category-pink li::before {
  color: #d95c6e;
}

.category-purple {
  background: #f5f0ff;
}

.category-purple a,
.category-purple li::before {
  color: #7c62ce;
}

.reason-section {
  padding-top: 26px;
  padding-bottom: 36px;
  background: #fff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 28px;
}

.reason-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 78px;
}

.reason-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 900;
}

.reason-icon svg {
  width: 34px;
  height: 34px;
}

.price {
  color: #377bd0;
  background: #edf7ff;
}

.shield {
  color: #518bd9;
  background: #eef6ff;
}

.phone {
  color: #df6b77;
  background: #fff2f3;
}

.target {
  color: #d75050;
  background: #fff3f0;
}

.reason-item h3 {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.reason-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 46px;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid #ece7e2;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer-logo,
.footer-logo-frame {
  display: block;
}

.footer-logo-frame {
  position: relative;
  width: 190px;
  height: 46px;
  overflow: hidden;
  background: #fff;
}

.footer-logo-frame img {
  position: absolute;
  top: -14%;
  left: -5.5%;
  display: block;
  width: 111%;
  max-width: none;
  height: auto;
}

.site-footer strong small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72em;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #4d586d;
  font-size: 13px;
  font-weight: 800;
}

.legal-page {
  max-width: 880px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 54px 32px;
}

.legal-page h1 {
  margin-bottom: 24px;
  font-size: 44px;
  font-weight: 900;
}

.legal-page section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.legal-page section p,
.legal-page section li {
  color: #465168;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}

.legal-page section p:last-child {
  margin-bottom: 0;
}

.legal-page section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.4em;
}

.legal-page section a {
  color: #d9553f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-updated {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form select {
  min-height: 44px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  border-color: #ff8f6b;
  outline: 3px solid rgba(255, 143, 107, 0.2);
}

.contact-form textarea {
  min-height: 156px;
  resize: vertical;
}

.salary-detail-page {
  background: #f8fbff;
}

.salary-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 22px 48px;
}

.salary-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #6d778a;
  font-size: 11px;
  font-weight: 800;
}

.salary-breadcrumb a {
  color: #5571a8;
}

.salary-breadcrumb span::before {
  content: ">";
  margin-right: 8px;
  color: #a5afbf;
}

.salary-flow {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
}

.salary-step-rail {
  position: sticky;
  top: 88px;
  display: grid;
  align-content: start;
  gap: 78px;
  height: max-content;
  margin: 52px 0 0;
  padding: 0;
  color: #2c6dcc;
  list-style: none;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.salary-step-rail li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 10px;
}

.salary-step-rail span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #397bd7;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.salary-content-stack {
  display: grid;
  gap: 18px;
}

.salary-hero-card,
.salary-section-card,
.salary-stat-card,
.salary-start-card,
.salary-quiz-panel,
.salary-result-card,
.salary-explain-card,
.salary-side-card,
.salary-pr-card,
.salary-return-card {
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(22, 35, 66, 0.06);
}

.salary-hero-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  min-height: 210px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(232, 243, 255, 0.96), rgba(255, 255, 255, 0.92)),
    #fff;
}

.salary-hero-visual {
  display: grid;
  place-items: center;
  min-height: 160px;
  background: #eef7ff;
  border-radius: 10px;
}

.salary-hero-visual svg {
  width: min(170px, 100%);
}

.salary-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 3px 12px;
  color: #3769c4;
  background: #edf5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.salary-hero-copy h1 {
  margin: 0 0 10px;
  font-size: 31px;
  line-height: 1.28;
}

.salary-hero-copy p {
  max-width: 580px;
  margin-bottom: 18px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.salary-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #5a6678;
  font-size: 12px;
  font-weight: 800;
}

.salary-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.salary-meta-row span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #98a9bf;
  border-radius: 50%;
}

.salary-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.salary-insight-grid article {
  min-height: 112px;
  padding: 17px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(22, 35, 66, 0.05);
}

.salary-small-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  color: #2e75d4;
  background: #eef6ff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.salary-insight-grid h2,
.salary-section-card h2,
.salary-start-card h2,
.salary-quiz-side h1,
.salary-quiz-panel h2,
.salary-result-card h2,
.salary-explain-card h2,
.salary-side-card h2,
.salary-pr-card h2,
.salary-return-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.salary-insight-grid h2 {
  font-size: 14px;
}

.salary-insight-grid p {
  margin: 0;
  color: #4d5b70;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
}

.salary-section-card {
  padding: 24px;
}

.salary-target-card {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.92), rgba(255, 255, 255, 0.96)),
    #fff;
}

.salary-people-visual {
  display: grid;
  place-items: center;
  min-height: 130px;
  background: #eef6ff;
  border-radius: 10px;
}

.salary-people-visual svg {
  width: 150px;
}

.salary-section-card h2,
.salary-start-card h2 {
  color: #315fae;
  font-size: 19px;
}

.salary-section-card p {
  margin-bottom: 14px;
  color: #3f4e62;
  font-size: 13px;
  font-weight: 800;
}

.check-list,
.logic-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.logic-list li {
  color: #273348;
  font-size: 13px;
  font-weight: 800;
}

.check-list li::before,
.logic-list li::before {
  content: "✓";
  margin-right: 9px;
  color: #32a46d;
  font-weight: 900;
}

.logic-list li::before {
  color: #d7a126;
}

.salary-stat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #f8fbff;
}

.salary-stat-card div {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 18px;
}

.salary-stat-card div + div {
  border-left: 1px solid #dfe8f3;
}

.salary-stat-card span {
  color: #536277;
  font-size: 12px;
  font-weight: 900;
}

.salary-stat-card strong {
  font-size: 21px;
  font-weight: 900;
}

.salary-start-card {
  display: grid;
  justify-items: center;
  padding: 28px 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.96)),
    #fff;
}

.salary-start-card p:not(.mini-label) {
  max-width: 620px;
  margin-bottom: 16px;
  color: #3f4e62;
  font-size: 13px;
  font-weight: 800;
}

.salary-primary-button,
.salary-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.salary-primary-button {
  min-width: 270px;
  padding: 0 24px;
  color: #fff;
  background: #2f73db;
  border: 1px solid #2f73db;
  box-shadow: 0 10px 22px rgba(47, 115, 219, 0.18);
}

.salary-primary-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 16px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.salary-secondary-button {
  min-width: 104px;
  padding: 0 18px;
  color: #24324a;
  background: #fff;
  border: 1px solid #cbd7e7;
}

.salary-secondary-button:disabled,
.salary-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.salary-dot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 20px;
}

.salary-dot-row span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #738197;
  background: #fff;
  border: 1px solid #ccd8e7;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.salary-dot-row span.is-current {
  color: #fff;
  background: #2f73db;
  border-color: #2f73db;
}

.salary-question-layout {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.salary-quiz-side {
  position: sticky;
  top: 88px;
  padding: 28px 0;
}

.salary-quiz-side h1 {
  font-size: 32px;
}

.salary-quiz-side p:last-of-type {
  color: #4d5b70;
  font-size: 14px;
  font-weight: 800;
}

.salary-quiz-note {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
}

.salary-quiz-note strong {
  font-size: 14px;
  font-weight: 900;
}

.salary-quiz-note span {
  color: #59677a;
  font-size: 12px;
  font-weight: 800;
}

.salary-quiz-panel {
  min-height: 520px;
  padding: 30px;
}

.salary-quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: #5a6678;
  font-size: 13px;
  font-weight: 900;
}

.salary-progress-track {
  flex: 1 1 auto;
  max-width: 310px;
  height: 9px;
  overflow: hidden;
  background: #e8eef6;
  border-radius: 999px;
}

.salary-progress-track span {
  display: block;
  height: 100%;
  background: #2f73db;
  border-radius: inherit;
  transition: width 160ms ease;
}

.salary-quiz-panel h2 {
  font-size: 26px;
}

.salary-quiz-panel > p {
  margin-bottom: 22px;
  color: #59677a;
  font-size: 13px;
  font-weight: 800;
}

.salary-choice-list {
  display: grid;
  gap: 10px;
}

.salary-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  color: #17233d;
  text-align: left;
  background: #fbfdff;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
}

.salary-choice::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #c6d3e5;
  border-radius: 50%;
}

.salary-choice:hover,
.salary-choice.is-selected {
  background: #f2f8ff;
  border-color: #9fc0ef;
}

.salary-choice.is-selected::after {
  border: 6px solid #2f73db;
}

.salary-choice strong,
.salary-choice span {
  grid-column: 1;
}

.salary-choice strong {
  font-size: 14px;
  font-weight: 900;
}

.salary-choice span {
  color: #667386;
  font-size: 12px;
  font-weight: 800;
}

.salary-quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.salary-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.salary-result-left,
.salary-result-right {
  display: grid;
  gap: 18px;
}

.salary-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(239, 247, 255, 0.98), rgba(255, 255, 255, 0.96)),
    #fff;
}

.result-card-visual {
  display: grid;
  place-items: center;
  min-height: 150px;
  background: #eef6ff;
  border-radius: 10px;
}

.result-card-visual svg {
  width: 210px;
  max-width: 100%;
}

.result-kicker {
  margin-bottom: 8px;
  color: #2f73db;
  font-size: 13px;
  font-weight: 900;
}

.salary-result-card h1 {
  margin: 0 0 6px;
  color: #2f73db;
  font-size: 54px;
  line-height: 1;
}

.salary-result-card h2 {
  color: #315fae;
  font-size: 26px;
}

.salary-result-card p {
  color: #3f4e62;
  font-size: 13px;
  font-weight: 800;
}

.salary-score-meter {
  position: relative;
  height: 12px;
  overflow: hidden;
  margin: 20px 0;
  background: #e7eef7;
  border-radius: 999px;
}

.salary-score-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #55b596, #2f73db);
  border-radius: inherit;
}

.salary-result-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.salary-result-facts div {
  padding: 12px;
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
}

.salary-result-facts dt {
  color: #657386;
  font-size: 11px;
  font-weight: 900;
}

.salary-result-facts dd {
  margin: 4px 0 0;
  color: #14203b;
  font-size: 13px;
  font-weight: 900;
}

.salary-explain-card,
.salary-side-card,
.salary-pr-card,
.salary-return-card {
  padding: 22px;
}

.salary-explain-card h2,
.salary-side-card h2,
.salary-pr-card h2,
.salary-return-card h2 {
  font-size: 16px;
}

.salary-lined-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.salary-lined-list li {
  padding: 11px 12px;
  color: #24324a;
  background: #f8fbff;
  border: 1px solid #e3eaf4;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

.salary-lined-list li::before {
  content: "✓";
  margin-right: 9px;
  color: #4d9fdd;
}

.salary-lined-list.warning li::before {
  color: #e0717c;
}

.salary-action-box {
  padding: 18px;
  background: #f1fbf5;
  border: 1px solid #d7efdf;
  border-radius: 9px;
}

.salary-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.salary-stars span {
  color: #f0b43a;
  font-size: 18px;
  letter-spacing: 1px;
}

.salary-stars strong {
  color: #1d2b45;
  font-size: 14px;
}

.salary-mini-metrics {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #334055;
  font-size: 12px;
  font-weight: 800;
}

.salary-mini-metrics li::before {
  content: "・";
  color: #2f73db;
  font-weight: 900;
}

.salary-next-diagnoses {
  display: grid;
  gap: 10px;
}

.salary-next-diagnoses a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  min-height: 64px;
  padding: 13px;
  background: #fbfdff;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
}

.salary-next-diagnoses a::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 9px;
  height: 9px;
  border-top: 2px solid #2f73db;
  border-right: 2px solid #2f73db;
  transform: rotate(45deg);
}

.salary-next-diagnoses strong {
  font-size: 13px;
  font-weight: 900;
}

.salary-next-diagnoses span {
  color: #647284;
  font-size: 11px;
  font-weight: 800;
}

.salary-service-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e3eaf4;
  border-radius: 9px;
}

.salary-service-table article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 184px;
  padding: 15px 12px;
  text-align: center;
  background: #fff;
}

.salary-service-table article + article {
  border-left: 1px solid #e3eaf4;
}

.salary-service-table strong {
  color: #315fae;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.salary-service-table span {
  color: #4d5b70;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.salary-service-table a {
  align-self: end;
  min-height: 34px;
  padding: 9px 8px;
  color: #fff;
  background: #2f73db;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
}

.salary-ad-note {
  margin: 12px 0 0;
  color: #7b8796;
  font-size: 10px;
  font-weight: 800;
}

.salary-pr-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.salary-pr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.salary-pr-grid a {
  display: grid;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  color: #315fae;
  background: #eef6ff;
  border: 1px solid #e0eaf6;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.salary-pr-grid a:nth-child(2) {
  color: #b67610;
  background: #fff7e5;
}

.salary-pr-grid a:nth-child(3) {
  color: #bd5873;
  background: #fff0f5;
}

.salary-faq {
  display: grid;
  gap: 8px;
}

.salary-faq details {
  background: #fbfdff;
  border: 1px solid #e3eaf4;
  border-radius: 7px;
}

.salary-faq summary {
  cursor: pointer;
  padding: 11px 13px;
  color: #24324a;
  font-size: 12px;
  font-weight: 900;
}

.salary-faq p {
  margin: 0;
  padding: 0 13px 13px;
  color: #59677a;
  font-size: 12px;
  font-weight: 800;
}

.salary-return-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: #eef6ff;
}

.salary-return-card p {
  margin: 0;
  color: #59677a;
  font-size: 12px;
  font-weight: 800;
}

@media (min-width: 1180px) {
  .person-art {
    right: 160px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 30px;
  }

  .main-nav {
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 14px 22px;
    row-gap: 12px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    padding: 0;
  }

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

  .hero-raster {
    inset: -18px -18px -18px -18px;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
  }

  .person-art {
    right: 120px;
  }

  .popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salary-flow,
  .salary-question-layout,
  .salary-result-layout {
    grid-template-columns: 1fr;
  }

  .salary-step-rail,
  .salary-quiz-side {
    position: static;
  }

  .salary-step-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    font-size: 12px;
  }

  .salary-step-rail li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .salary-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header,
  .header-actions,
  .section-title-row,
  .site-footer {
    align-items: stretch;
  }

  .site-header {
    display: flex;
    flex-direction: column;
  }

  .brand {
    font-size: 22px;
  }

  .brand-logo {
    width: 176px;
    height: 42px;
  }

  .header-actions {
    width: 100%;
  }

  .search-button,
  .header-cta {
    flex: 1;
  }

  h1 {
    font-size: 34px;
    line-height: 1.36;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

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

  .hero-raster {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .person-art {
    right: 18px;
    width: 250px;
  }

  .bubble {
    width: 104px;
    height: 82px;
    font-size: 11px;
  }

  .bubble-icon,
  .bubble-icon svg {
    width: 33px;
    height: 33px;
  }

  .bubble-career {
    left: 20px;
  }

  .bubble-money {
    right: 0;
  }

  .bubble-life {
    top: 112px;
  }

  .bubble-health {
    top: 126px;
  }

  .section-title-row {
    flex-direction: column;
  }

  .popular-section,
  .category-section,
  .reason-section,
  .quiz-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-shell,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-logo-frame {
    width: 170px;
    height: 42px;
  }

  .salary-main {
    padding: 14px 16px 36px;
  }

  .salary-flow {
    gap: 14px;
  }

  .salary-step-rail {
    overflow-x: auto;
    grid-template-columns: repeat(5, 96px);
    padding-bottom: 4px;
  }

  .salary-hero-card,
  .salary-target-card {
    grid-template-columns: 1fr;
  }

  .salary-hero-card,
  .salary-section-card,
  .salary-start-card,
  .salary-quiz-panel,
  .salary-result-card,
  .salary-explain-card,
  .salary-side-card,
  .salary-return-card {
    padding: 18px;
  }

  .salary-hero-copy h1,
  .salary-quiz-side h1 {
    font-size: 28px;
  }

  .salary-insight-grid,
  .salary-result-facts,
  .salary-service-table,
  .salary-pr-grid,
  .salary-stat-card,
  .salary-return-card {
    grid-template-columns: 1fr;
  }

  .salary-stat-card div + div,
  .salary-service-table article + article {
    border-top: 1px solid #e3eaf4;
    border-left: 0;
  }

  .salary-question-layout {
    gap: 10px;
  }

  .salary-quiz-side {
    padding: 10px 0;
  }

  .salary-quiz-progress,
  .salary-quiz-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .salary-choice {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .salary-primary-button,
  .salary-secondary-button {
    width: 100%;
    min-width: 0;
  }

  .salary-result-card h1 {
    font-size: 48px;
  }
}

@media (max-width: 440px) {
  .popular-card {
    grid-template-rows: 76px 44px 50px 24px;
    min-height: 236px;
  }

  .card-icon,
  .card-icon svg {
    width: 68px;
    height: 68px;
  }

  .popular-card strong {
    font-size: 13px;
  }

  .popular-card small {
    font-size: 10px;
  }
}

/* FV redesign */
.portal-page .site-header {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 70px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.98);
}

.portal-page .brand {
  font-size: 24px;
}

.portal-page .main-nav {
  justify-content: center;
  gap: clamp(42px, 6vw, 78px);
  font-size: 14px;
}

.portal-page .portal-hero {
  display: block;
  min-height: calc(100vh - 70px);
  padding: 34px 34px 22px;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 255, 255, 0.98) 56%),
    #fff;
  border-bottom: 1px solid #f0e8df;
}

.portal-hero-inner {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 1.08fr);
  gap: 32px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.portal-page .portal-hero-copy {
  max-width: 560px;
  padding-left: 54px;
}

.portal-page .portal-hero h1 {
  display: grid;
  gap: 4px;
  max-width: 540px;
  margin: 0 0 18px;
  color: #2c211d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Sans JP", serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.portal-page .portal-hero h1 span,
.portal-page .portal-hero h1 strong {
  color: #2c211d;
}

.portal-page .portal-hero h1 em {
  position: relative;
  display: inline-block;
  width: max-content;
  color: #ff7658;
  font-style: normal;
}

.portal-page .portal-hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg width='340' height='10' viewBox='0 0 340 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6c18-8 31 5 49 0s31-5 49 0 31 5 49 0 31-5 49 0 31 5 49 0 31-5 49 0 27 4 40 0' fill='none' stroke='%23ff9b65' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.portal-page .portal-hero-copy > p {
  max-width: 410px;
  margin: 0 0 22px;
  color: #2d2f36;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.8;
}

.hero-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 440px;
  padding-top: 6px;
}

.hero-feature-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.hero-feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #ff9a78;
  border: 4px solid #fff2eb;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(255, 122, 88, 0.18);
}

.hero-feature-icon svg {
  width: 27px;
  height: 27px;
}

.hero-feature-item strong {
  color: #394152;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.55;
}

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

.hero-illustration {
  position: relative;
  width: min(100%, 600px);
  min-height: 410px;
}

.hero-person {
  position: absolute;
  right: 120px;
  bottom: 0;
  width: 285px;
  filter: drop-shadow(0 16px 18px rgba(63, 46, 38, 0.09));
}

.hero-person svg {
  width: 100%;
  height: auto;
}

.hero-bubble {
  position: absolute;
  right: 56px;
  top: 26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 92px;
  color: #2c211d;
  background: #fff;
  border: 2px solid #2c211d;
  border-radius: 50%;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transform: rotate(8deg);
}

.hero-bubble::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 4px;
  width: 22px;
  height: 18px;
  background: #fff;
  border-right: 2px solid #2c211d;
  border-bottom: 2px solid #2c211d;
  transform: rotate(28deg);
}

.hero-floating {
  position: absolute;
  z-index: 2;
}

.hero-floating svg {
  width: 72px;
  height: 72px;
}

.hero-floating-board {
  top: 64px;
  left: 76px;
}

.hero-floating-light {
  right: 44px;
  top: 196px;
}

.hero-star,
.hero-spark {
  position: absolute;
  display: block;
}

.hero-star {
  width: 32px;
  height: 32px;
  background: #ffd35c;
  clip-path: polygon(50% 0, 61% 32%, 95% 35%, 68% 55%, 76% 89%, 50% 70%, 24% 89%, 32% 55%, 5% 35%, 39% 32%);
}

.hero-star-a {
  top: 58px;
  left: 30px;
}

.hero-star-b {
  right: 0;
  top: 110px;
  width: 26px;
  height: 26px;
  background: #ff9a78;
}

.hero-star-c {
  left: 54px;
  bottom: 94px;
  width: 24px;
  height: 24px;
  background: #ffe176;
}

.hero-spark {
  width: 34px;
  height: 11px;
  background: #73c7b7;
  border: 2px solid #54a99a;
  border-radius: 999px;
  transform: rotate(-30deg);
}

.hero-spark-a {
  top: 148px;
  left: 12px;
}

.hero-spark-b {
  right: 12px;
  top: 172px;
  transform: rotate(16deg);
}

.hero-industry-area {
  max-width: 1240px;
  margin: 8px auto 0;
}

.hero-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #2c211d;
  font-size: 14px;
  font-weight: 900;
}

.hero-section-label::before,
.hero-section-label::after {
  content: "";
  width: 11px;
  height: 2px;
  background: #ff9a65;
  transform: rotate(-48deg);
}

.hero-section-label::after {
  transform: rotate(48deg);
}

.hero-industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-industry-card {
  position: relative;
  display: block;
  min-height: 198px;
  overflow: hidden;
  padding: 30px 14px 18px 18px;
  color: #2d2f36;
  border: 1px solid #f0e0d6;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(75, 54, 43, 0.07);
}

.hero-industry-card:hover,
.hero-industry-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(75, 54, 43, 0.11);
}

.hero-industry-text {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: none;
  gap: 12px;
}

.hero-industry-text strong {
  display: block;
  font-size: 15.5px;
  font-weight: 900;
  white-space: nowrap;
}

.hero-industry-text small {
  display: block;
  width: 132px;
  max-width: 58%;
  color: #2f3747;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.85;
}

.hero-worker-image {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: -2px;
  width: auto;
  height: 176px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  user-select: none;
}

.hero-worker-care,
.hero-worker-childcare {
  right: 0;
  height: 158px;
}

.hero-card-care .hero-industry-text small,
.hero-card-childcare .hero-industry-text small {
  width: 118px;
  max-width: 51%;
}

.hero-worker-dietitian {
  right: 5px;
  height: 178px;
}

.hero-worker-cook {
  right: 10px;
  height: 184px;
}

.hero-card-nurse {
  background: linear-gradient(135deg, #fff0ec, #fffaf8);
}

.hero-card-care {
  background: linear-gradient(135deg, #ecfbf1, #fbfffd);
}

.hero-card-childcare {
  background: linear-gradient(135deg, #fff8dc, #fffdf3);
}

.hero-card-dietitian {
  background: linear-gradient(135deg, #f6edff, #fffbff);
}

.hero-card-cook {
  background: linear-gradient(135deg, #fff0df, #fffaf2);
}

.portal-page .diagnosis-catalog-section {
  padding-top: 34px;
}

@media (max-width: 1100px) {
  .portal-hero-inner {
    grid-template-columns: 1fr;
  }

  .portal-page .portal-hero-copy {
    max-width: none;
    padding-left: 0;
  }

  .portal-page .portal-hero h1,
  .portal-page .portal-hero-copy > p,
  .hero-feature-row {
    max-width: none;
  }

  .hero-illustration {
    min-height: 360px;
  }

  .hero-person {
    right: 42%;
    transform: translateX(50%);
  }

  .hero-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-industry-card {
    min-height: 188px;
  }

  .hero-worker-image {
    height: 168px;
  }
}

@media (max-width: 760px) {
  .portal-page .site-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 18px 12px;
  }

  .portal-page .brand {
    justify-content: center;
  }

  .portal-page .main-nav {
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 12px;
  }

  .portal-page .portal-hero {
    min-height: 0;
    padding: 30px 16px 18px;
  }

  .portal-page .portal-hero h1 {
    font-size: 40px;
  }

  .portal-page .portal-hero-copy > p {
    font-size: 14px;
  }

  .hero-feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-feature-item {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

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

  .hero-person {
    right: 50%;
    width: 238px;
  }

  .hero-bubble {
    right: 5px;
    top: 14px;
    width: 92px;
    height: 72px;
    font-size: 15px;
  }

  .hero-floating-board {
    left: 8px;
    top: 50px;
  }

  .hero-floating-light {
    right: 0;
    top: 168px;
  }

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

  .hero-industry-card {
    min-height: 210px;
    padding: 16px 10px 10px;
  }

  .hero-industry-text {
    max-width: 68%;
    gap: 6px;
  }

  .hero-industry-text strong {
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-industry-text small {
    font-size: 10px;
    line-height: 1.65;
  }

  .hero-worker-image,
  .hero-worker-care,
  .hero-worker-childcare {
    right: -10px;
    height: 105px;
  }

  .hero-worker-dietitian,
  .hero-worker-cook {
    right: -2px;
    height: 108px;
  }

}

/* Diagnosis result screen format */
.result-header-nav {
  display: none;
}

.is-result-mode .result-header-nav {
  display: flex;
}

.is-result-mode .site-header {
  position: static;
  min-height: 80px;
  padding: 0 40px;
}

.is-result-mode .brand {
  font-size: 27px;
}

.is-result-mode .brand-icon,
.is-result-mode .brand-icon svg {
  width: 45px;
  height: 45px;
}

.is-result-mode .main-nav {
  gap: 64px;
  font-size: 14px;
}

.is-result-mode .header-cta {
  min-width: 132px;
  min-height: 42px;
  font-size: 13px;
}

.diagnosis-result-crumb[hidden] {
  display: none;
}

.is-result-mode .diagnosis-breadcrumb {
  max-width: 1260px;
  margin: 0 auto 42px;
  padding: 0 40px;
}

.is-result-mode .quiz-section {
  padding: 0 40px 48px;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

.is-result-mode .quiz-shell {
  max-width: 1260px;
}

.is-result-mode .quiz-panel {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.is-result-mode .diagnosis-save-note {
  display: none;
}

.specialist-result-page {
  color: #19151f;
}

.result-page-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 0 36px;
  color: #171322;
  font-size: 24px;
  font-weight: 900;
}

.result-page-kicker span {
  color: #ffc96d;
}

.result-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 350px) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 24px;
  padding: 26px 52px;
  background: linear-gradient(115deg, #fff6f0 0%, #fff 48%, #fff5ef 100%);
  border: 1px solid #fff0e8;
  border-radius: 8px;
}

.result-hero-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle, #ffe8df 0 58%, transparent 59%),
    #fff6f1;
  border-radius: 50%;
}

.result-hero-visual img {
  width: 72%;
  max-width: none;
  transform: translateY(18%);
}

.result-hero-visual.is-share-card {
  width: min(100%, 270px);
  max-width: 270px;
  aspect-ratio: 9 / 16;
  background: #fff;
  border: 1px solid #f0dfd7;
  border-radius: 8px;
}

.result-hero-visual.is-share-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.result-hero-copy > p:first-child,
.result-consult-card > div > p {
  margin: 0 0 12px;
  color: #ff5f4d;
  font-size: 16px;
  font-weight: 900;
}

.result-hero-copy h2 {
  margin: 0 0 22px;
  color: #ff6252;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.18;
}

.result-hero-lead {
  max-width: 700px;
  margin: 0 0 22px;
  color: #231d28;
  font-size: 18px;
  font-weight: 800;
  line-height: 2;
}

.result-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-tag-list li {
  min-height: 30px;
  padding: 6px 18px;
  color: #ff6252;
  background: #ffece7;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.result-content-block {
  margin-top: 24px;
  padding: 24px 34px 28px;
  background: linear-gradient(180deg, #fff7f2 0%, #fff 100%);
  border: 1px solid #fff0e8;
  border-radius: 8px;
}

.result-content-block > h3,
.result-related-section > h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #171322;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
}

.result-content-block > h3 span,
.result-related-section > h3 span {
  color: #ff6252;
}

.result-content-block > h3 [data-icon] {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.result-content-block > h3 svg {
  width: 32px;
  height: 32px;
}

.result-strength-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 20px;
}

.result-strength-main,
.result-mini-card,
.result-advice-card,
.result-info-card,
.result-share-box,
.result-save-box,
.result-related-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff2ec;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(126, 76, 54, 0.04);
}

.result-strength-main {
  padding: 24px;
}

.result-strength-main > p {
  margin: 0 0 24px;
  color: #19151f;
  font-size: 14px;
  font-weight: 800;
  line-height: 2;
}

.result-strength-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-strength-list li {
  position: relative;
  min-height: 46px;
  padding-left: 58px;
}

.result-strength-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 34px;
  height: 34px;
  border: 2px solid #ff6252;
  border-radius: 50%;
}

.result-strength-list li::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #ff6252;
  border-left: 2px solid #ff6252;
  transform: rotate(-45deg);
}

.result-strength-list strong {
  display: block;
  margin-bottom: 7px;
  color: #ff6252;
  font-size: 16px;
  font-weight: 900;
}

.result-strength-list span {
  display: block;
  color: #302c34;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.9;
}

.result-side-stack {
  display: grid;
  gap: 18px;
}

.result-mini-card,
.result-advice-card,
.result-info-card {
  padding: 24px;
}

.result-mini-card h4,
.result-advice-card h4,
.result-info-card h4 {
  margin: 0 0 16px;
  color: #171322;
  font-size: 15px;
  font-weight: 900;
}

.result-mini-card h4::before {
  content: "◎";
  margin-right: 8px;
  color: #ff6252;
}

.result-mini-card ul,
.result-info-card ul,
.result-consult-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-mini-card li,
.result-info-card li,
.result-consult-card li {
  position: relative;
  padding-left: 18px;
  color: #302c34;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.75;
}

.result-mini-card li::before,
.result-info-card li::before,
.result-consult-card li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ff725f;
  border-radius: 50%;
}

.result-advice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: end;
  background: linear-gradient(135deg, #fff 0%, #fff5ef 100%);
}

.result-advice-card h4 {
  color: #ff6252;
}

.result-advice-card p {
  margin: 0;
  color: #302c34;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.9;
}

.result-advice-card img {
  align-self: end;
  width: 112px;
  max-height: 150px;
  object-fit: contain;
}

.result-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-stress-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-green-list li::before {
  width: 15px;
  height: 15px;
  top: 0.45em;
  background: transparent;
  border: 2px solid #64cfa4;
}

.result-green-list li::after {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 5px;
  width: 6px;
  height: 4px;
  border-bottom: 2px solid #64cfa4;
  border-left: 2px solid #64cfa4;
  transform: rotate(-45deg);
}

.result-blue-list li::before {
  background: #93dbe8;
}

.result-career-direction li {
  min-height: 42px;
  padding-left: 52px;
}

.result-career-direction li::before {
  top: 0;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 2px solid #ff7464;
}

.result-career-direction li:nth-child(2)::before {
  border-color: #7aaaf4;
}

.result-career-direction li:nth-child(3)::before {
  border-color: #70d5a8;
}

.result-yellow-list li::before {
  background: #ffc24d;
}

.result-refresh-card {
  text-align: center;
}

.result-refresh-card h4 {
  color: #ff6252;
}

.result-refresh-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-refresh-list span {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #302c34;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.result-refresh-list i {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #2f8a86;
  background: #fff0ec;
  border-radius: 50%;
  font-style: normal;
  font-size: 34px;
}

.result-consult-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 34px;
  background: linear-gradient(90deg, #fff9f5 0%, #fff 58%, #fff8f3 100%);
  border: 2px solid #ff725f;
  border-radius: 8px;
}

.result-consult-card img {
  justify-self: center;
  width: 160px;
  max-height: 180px;
  object-fit: contain;
}

.result-consult-card h3 {
  margin: 0 0 18px;
  color: #ff6252;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.28;
}

.result-consult-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-self: end;
  min-width: 270px;
  min-height: 64px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(255, 98, 78, 0.18);
}

.result-consult-button::after {
  content: "›";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 18px;
  color: #ff5f4d;
  background: #fff;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.result-consult-card small {
  grid-column: 3;
  justify-self: center;
  color: #302c34;
  font-size: 13px;
  font-weight: 900;
}

.result-share-save-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.result-share-box,
.result-save-box {
  position: relative;
  min-height: 142px;
  padding: 28px 34px;
}

.result-share-box h3,
.result-save-box h3 {
  margin: 0 0 14px;
  color: #171322;
  font-size: 18px;
  font-weight: 900;
}

.result-share-box p,
.result-save-box p {
  max-width: 360px;
  margin: 0;
  color: #302c34;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.result-share-buttons {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: flex;
  gap: 16px;
}

.result-share-buttons button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.result-share-buttons button:nth-child(1) {
  background: #111;
}

.result-share-buttons button:nth-child(2) {
  background: #16c54a;
  font-size: 11px;
}

.result-share-buttons button:nth-child(3) {
  background: #3178dc;
  font-size: 28px;
}

.result-save-mark {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 30px;
  height: 42px;
  border: 3px solid #ffd4ca;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.result-save-mark::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -13px;
  height: 18px;
  background: #fff;
  border-right: 3px solid #ffd4ca;
  border-bottom: 3px solid #ffd4ca;
  transform: skewY(-35deg);
}

.result-save-button {
  position: absolute;
  right: 34px;
  bottom: 28px;
  min-width: 230px;
  min-height: 52px;
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
}

.result-related-section {
  margin-top: 30px;
}

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

.result-related-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  color: #171322;
  text-align: left;
}

.result-related-card [data-icon] {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
}

.result-related-card svg {
  width: 58px;
  height: 58px;
}

.result-related-card strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.result-related-card i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #ff6252;
  border: 1px solid #ff6252;
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
}

.result-back-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 390px);
  min-height: 52px;
  margin: 28px auto 0;
  color: #ff6252;
  background: #fff;
  border: 2px solid #ff725f;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .is-result-mode .site-header {
    padding: 18px 24px;
  }

  .is-result-mode .main-nav {
    gap: 28px;
  }

  .result-hero-card,
  .result-strength-layout,
  .result-consult-card,
  .result-share-save-grid {
    grid-template-columns: 1fr;
  }

  .result-consult-card {
    justify-items: center;
    text-align: center;
  }

  .result-consult-button {
    justify-self: center;
  }

  .result-consult-card small {
    grid-column: auto;
  }

  .result-three-grid,
  .result-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .is-result-mode .site-header {
    padding: 14px 18px;
  }

  .is-result-mode .result-header-nav {
    display: none;
  }

  .is-result-mode .brand {
    font-size: 25px;
  }

  .is-result-mode .diagnosis-breadcrumb {
    margin-bottom: 24px;
    padding: 0 18px;
  }

  .is-result-mode .quiz-section {
    padding: 0 14px 34px;
  }

  .result-page-kicker {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .result-hero-card {
    gap: 18px;
    padding: 22px 18px 26px;
  }

  .result-hero-visual {
    max-width: 220px;
  }

  .result-hero-visual.is-share-card {
    max-width: 220px;
  }

  .result-hero-copy h2 {
    font-size: 34px;
  }

  .result-hero-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .result-tag-list li {
    font-size: 12px;
  }

  .result-content-block {
    padding: 22px 16px;
  }

  .result-content-block > h3,
  .result-related-section > h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .result-strength-layout,
  .result-three-grid,
  .result-related-grid {
    grid-template-columns: 1fr;
  }

  .result-strength-main,
  .result-mini-card,
  .result-advice-card,
  .result-info-card,
  .result-share-box,
  .result-save-box {
    padding: 20px;
  }

  .result-advice-card {
    grid-template-columns: 1fr;
  }

  .result-advice-card img {
    justify-self: center;
  }

  .result-refresh-list {
    grid-template-columns: 1fr;
  }

  .result-consult-card {
    padding: 22px 18px;
  }

  .result-consult-card h3 {
    font-size: 27px;
  }

  .result-consult-button {
    min-width: 0;
    width: 100%;
  }

  .result-share-box,
  .result-save-box {
    min-height: 220px;
  }

  .result-share-buttons,
  .result-save-button {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .result-share-buttons {
    justify-content: center;
  }

  .result-save-button {
    width: calc(100% - 40px);
  }
}

/* Specialist portal MVP */
.portal-page {
  background:
    linear-gradient(180deg, #fffaf6 0, #ffffff 300px),
    #fff;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: center;
  min-height: min(560px, calc(100vh - 200px));
  padding: 30px 46px 20px;
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 189, 61, 0.24), transparent 230px),
    radial-gradient(circle at 2% 82%, rgba(57, 180, 155, 0.15), transparent 260px),
    linear-gradient(135deg, #fff8ef 0%, #ffffff 54%, #f1fbf8 100%);
  border-bottom: 1px solid #e8edf4;
}

.portal-hero-copy {
  max-width: 740px;
}

.portal-hero h1 {
  max-width: 760px;
  margin: 8px 0 16px;
  font-size: clamp(38px, 5.3vw, 72px);
  line-height: 1.16;
  letter-spacing: 0;
}

.portal-hero-copy > p:not(.mini-label) {
  max-width: 680px;
  margin-bottom: 24px;
  color: #324057;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.95;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.portal-hero-actions .primary-link,
.portal-hero-actions .secondary-link {
  min-width: 190px;
}

.portal-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 11px;
  color: #233049;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.portal-trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #39b49b;
  border-radius: 50%;
}

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

.share-preview-card,
.social-result-card {
  position: relative;
  display: grid;
  align-content: center;
  overflow: hidden;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  padding: 42px 30px;
  color: #071229;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 189, 61, 0.28), transparent 110px),
    radial-gradient(circle at 86% 80%, rgba(57, 180, 155, 0.22), transparent 130px),
    linear-gradient(155deg, #fff8ee 0%, #ffffff 42%, #f3f0ff 100%);
  border: 1px solid rgba(210, 219, 232, 0.9);
  border-radius: 18px;
  box-shadow: 0 22px 46px rgba(22, 35, 66, 0.14);
}

.share-preview-card::before,
.social-result-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(82, 116, 219, 0.28);
  border-radius: 14px;
}

.share-preview-card > *,
.social-result-card > * {
  position: relative;
  z-index: 1;
}

.share-preview-kicker,
.social-result-card span {
  display: inline-flex;
  justify-self: center;
  margin-bottom: 22px;
  padding: 6px 13px;
  color: #5274db;
  background: #fff;
  border: 1px solid #dfe7f4;
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.share-preview-card strong,
.social-result-card strong {
  margin-bottom: 20px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.28;
}

.share-preview-card p,
.social-result-card p {
  margin-bottom: 24px;
  color: #3f4d62;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.9;
}

.share-preview-tags,
.social-result-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.share-preview-tags span,
.social-result-card em {
  padding: 5px 10px;
  color: #267d6d;
  background: #effbf8;
  border: 1px solid #cfefe8;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.share-preview-card {
  width: min(100%, 260px);
  padding: 34px 22px;
}

.share-preview-card strong {
  font-size: 27px;
}

.share-preview-card p {
  font-size: 12px;
}

.profession-section,
.diagnosis-catalog-section,
.flow-section,
.save-section {
  padding: 38px 46px;
  border-bottom: 1px solid #e8edf4;
}

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

.profession-card,
.catalog-card,
.flow-grid article {
  border: 1px solid #e2e9f3;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 35, 66, 0.06);
}

.profession-card {
  display: grid;
  align-content: start;
  min-height: 316px;
  padding: 18px;
  background: #fff;
}

.profession-icon,
.catalog-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.profession-icon svg,
.catalog-icon svg {
  width: 64px;
  height: 64px;
}

.profession-count,
.catalog-label,
.catalog-meta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  margin-bottom: 8px;
  padding: 3px 10px;
  color: #315f73;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(206, 218, 234, 0.78);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.profession-card h3,
.flow-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.profession-card p,
.catalog-card small,
.flow-grid p,
.save-section p {
  color: #4c5568;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.75;
}

.profession-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.profession-links a {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  color: #15223b;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.catalog-filter button {
  min-height: 34px;
  padding: 0 13px;
  color: #29364d;
  background: #fff;
  border: 1px solid #d8e1ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.catalog-filter button.is-active {
  color: #fff;
  background: #071229;
  border-color: #071229;
}

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

.catalog-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(88px, 1fr) auto;
  min-height: 292px;
  padding: 18px;
  background: #fff;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  transform: translateY(-2px);
  border-color: #cbd8ea;
  box-shadow: 0 14px 28px rgba(22, 35, 66, 0.12);
}

.catalog-card strong {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.catalog-card small {
  display: block;
  margin-bottom: 12px;
}

.catalog-meta {
  align-self: end;
  margin-bottom: 0;
  color: #5f6472;
}

.tone-aqua {
  background: linear-gradient(145deg, #fbffff 0%, #eefaff 100%);
}

.tone-blue {
  background: linear-gradient(145deg, #fbfdff 0%, #f0f6ff 100%);
}

.tone-green {
  background: linear-gradient(145deg, #fcfffd 0%, #eefaf2 100%);
}

.tone-rose {
  background: linear-gradient(145deg, #fffdfd 0%, #fff1f4 100%);
}

.tone-gold {
  background: linear-gradient(145deg, #fffefa 0%, #fff8e7 100%);
}

.tone-orange {
  background: linear-gradient(145deg, #fffdfb 0%, #fff3ea 100%);
}

.tone-purple {
  background: linear-gradient(145deg, #fff 0%, #f6f2ff 100%);
}

.tone-teal {
  background: linear-gradient(145deg, #fbffff 0%, #effbf8 100%);
}

.flow-section {
  background: #f8fbff;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.flow-grid article {
  min-height: 210px;
  padding: 20px;
  background: #fff;
}

.flow-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #fff;
  background: #5274db;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.flow-grid article:nth-child(2) span {
  background: #e16d7b;
}

.flow-grid article:nth-child(3) span {
  background: #39b49b;
}

.flow-grid article:nth-child(4) span {
  background: #f2bd3d;
}

.save-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
}

.save-section h2 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
}

.save-action-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e9f3;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(22, 35, 66, 0.06);
}

.save-action-panel button,
.login-teaser button {
  min-height: 42px;
  color: #7d8798;
  background: #f3f6fa;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.save-action-panel small,
.cta-box small,
.login-teaser p {
  color: #7a8494;
  font-size: 11px;
  font-weight: 800;
}

.specialist-diagnosis-page .diagnosis-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(57, 180, 155, 0.16), transparent 260px),
    linear-gradient(135deg, #fff8ef 0%, #ffffff 70%);
}

.specialist-diagnosis-page .quiz-shell {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.diagnosis-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.diagnosis-meta-list div {
  min-width: 120px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e1e8f2;
  border-radius: 8px;
}

.diagnosis-meta-list dt {
  color: #6b7587;
  font-size: 10px;
  font-weight: 900;
}

.diagnosis-meta-list dd {
  margin: 2px 0 0;
  color: #071229;
  font-size: 13px;
  font-weight: 900;
}

.specialist-result-layout {
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
}

.result-main-column {
  min-width: 0;
}

.result-workplace-box,
.result-action-box {
  margin-top: 16px;
}

.result-workplace-box h4,
.result-action-box h4 {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 900;
}

.result-workplace-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-workplace-box li {
  min-height: 30px;
  padding: 5px 10px;
  color: #267d6d;
  background: #effbf8;
  border: 1px solid #cfefe8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.specialist-result-aside {
  gap: 12px;
}

.specialist-result-aside .social-result-card {
  width: 100%;
  min-height: 420px;
  box-shadow: 0 12px 30px rgba(22, 35, 66, 0.11);
}

.specialist-result-aside .social-result-card strong {
  font-size: 29px;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.share-actions .secondary-button {
  min-width: 0;
  padding: 0 10px;
  font-size: 12px;
}

.next-link span {
  display: block;
  color: #5274db;
  font-size: 10px;
  font-weight: 900;
}

.login-teaser {
  display: grid;
  gap: 8px;
  padding: 13px;
  background: #fffaf1;
  border: 1px solid #f1dfaf;
  border-radius: 8px;
}

.login-teaser h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.login-teaser p {
  margin: 0;
}

@media (max-width: 1100px) {
  .profession-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .portal-hero,
  .save-section {
    grid-template-columns: 1fr;
  }

  .portal-hero {
    min-height: auto;
    padding: 42px 30px 36px;
  }

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

  .share-preview-card {
    width: min(100%, 360px);
  }
}

@media (max-width: 680px) {
  .portal-hero,
  .profession-section,
  .diagnosis-catalog-section,
  .flow-section,
  .save-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .portal-page .main-nav,
  .specialist-diagnosis-page .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .portal-hero h1 {
    font-size: 38px;
  }

  .profession-grid,
  .catalog-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter {
    justify-content: flex-start;
  }

  .catalog-card {
    min-height: 250px;
  }

  .specialist-result-layout,
  .share-actions {
    grid-template-columns: 1fr;
  }

  .specialist-result-aside .social-result-card {
    min-height: 360px;
  }
}

/* Final FV overrides: keep this after the MVP styles. */
.portal-page .site-header {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 70px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.98);
}

.portal-page .main-nav {
  justify-content: center;
  gap: clamp(42px, 6vw, 78px);
  font-size: 14px;
}

.portal-page .portal-hero {
  display: block;
  min-height: calc(100vh - 70px);
  padding: 34px 34px 22px;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 255, 255, 0.98) 56%),
    #fff;
  border-bottom: 1px solid #f0e8df;
}

.portal-page .portal-hero-copy {
  max-width: 560px;
  padding-left: 54px;
}

.portal-page .portal-hero h1 {
  display: grid;
  gap: 4px;
  max-width: 540px;
  margin: 0 0 18px;
  color: #2c211d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Sans JP", serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.portal-page .portal-hero-copy > p {
  max-width: 410px;
  margin: 0 0 22px;
  color: #2d2f36;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.8;
}

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

@media (max-width: 1100px) {
  .portal-page .portal-hero-copy {
    max-width: none;
    padding-left: 0;
  }

  .portal-page .portal-hero h1,
  .portal-page .portal-hero-copy > p,
  .hero-feature-row {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .portal-page .site-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 18px 12px;
  }

  .portal-page .main-nav {
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 12px;
  }

  .portal-page .portal-hero {
    min-height: 0;
    padding: 30px 16px 18px;
  }

  .portal-page .portal-hero h1 {
    font-size: 40px;
  }

  .portal-page .portal-hero-copy > p {
    font-size: 14px;
  }
}

.top-section-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.top-section-heading p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #2c211d;
  font-size: 15px;
  font-weight: 900;
}

.top-section-heading p::before,
.top-section-heading p::after {
  content: "";
  width: 12px;
  height: 2px;
  background: #ff9a65;
  transform: rotate(-48deg);
}

.top-section-heading p::after {
  transform: rotate(48deg);
}

.top-section-heading h2 {
  position: relative;
  margin: 0;
  color: #171322;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
}

.top-section-heading h2::after {
  content: "";
  display: block;
  width: 170px;
  height: 8px;
  margin: 2px auto 0;
  background: url("data:image/svg+xml,%3Csvg width='170' height='8' viewBox='0 0 170 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5c18-6 29 5 45 0s29-5 43 0 29 5 43 0 24-4 35 0' fill='none' stroke='%23ff8f6b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.top-step-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
}

.top-step-heading h2::before,
.top-step-heading h2::after {
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  margin: 0;
  background: #ff9a65;
  transform: rotate(-48deg);
}

.top-step-heading h2::after {
  transform: rotate(48deg);
}

.portal-page .diagnosis-catalog-section,
.top-reason-section,
.top-step-section,
.bottom-cta-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 34px;
  border-bottom: 0;
}

.portal-page .diagnosis-catalog-section {
  background: #fff;
}

.portal-page .new-diagnosis-section {
  background: #fff8f5;
  border-radius: 14px;
}

.portal-page .catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.portal-page .catalog-card {
  grid-template-rows: auto auto minmax(40px, auto) minmax(64px, 1fr) auto;
  min-height: 224px;
  padding: 18px 16px;
  border-color: #f0e0d6;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(75, 54, 43, 0.08);
}

.portal-page .catalog-card.diagnosis-list-card {
  grid-template-rows: auto 1fr;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.portal-page .diagnosis-list-card .diagnosis-card-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
}

.portal-page .diagnosis-list-card .diagnosis-card-body {
  align-content: start;
  gap: 9px;
  padding: 15px 14px 18px;
}

.portal-page .diagnosis-list-card strong,
.portal-page .diagnosis-list-card small {
  text-align: left;
}

.portal-page .diagnosis-list-card small {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.portal-page .catalog-icon {
  justify-self: center;
  width: 86px;
  height: 86px;
  margin-bottom: 6px;
}

.portal-page .catalog-icon svg {
  width: 86px;
  height: 86px;
}

.portal-page .catalog-label,
.portal-page .catalog-meta {
  display: none;
}

.portal-page .catalog-card strong {
  text-align: center;
  font-size: 15px;
}

.portal-page .catalog-card small {
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.catalog-list-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: #ff7658;
  border: 1px solid #ff7658;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(255, 118, 88, 0.2);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.catalog-list-link:hover,
.catalog-list-link:focus-visible {
  background: #f16245;
  border-color: #f16245;
  box-shadow: 0 12px 24px rgba(255, 98, 78, 0.25);
  transform: translateY(-1px);
}

.catalog-list-link i {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-2px) rotate(-45deg);
}

.diagnosis-list-page {
  background: #fffdfb;
}

.diagnosis-list-page .main-nav [aria-current="page"] {
  color: #ff7658;
}

.diagnosis-list-main {
  min-height: calc(100vh - 68px);
}

.featured-diagnoses {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 34px;
}

.featured-diagnoses-heading {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.diagnosis-carousel-controls {
  display: flex;
  gap: 8px;
}

.diagnosis-carousel-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #171322;
  background: #fff;
  border: 1px solid #e8d9d0;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.diagnosis-carousel-controls button:hover:not(:disabled),
.diagnosis-carousel-controls button:focus-visible:not(:disabled) {
  background: #fff3ed;
  border-color: #ff9a82;
}

.diagnosis-carousel-controls button:disabled {
  cursor: default;
  opacity: 0.28;
}

.diagnosis-carousel-track {
  display: grid;
  grid-auto-columns: minmax(440px, 56%);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.diagnosis-carousel-track::-webkit-scrollbar {
  display: none;
}

.featured-diagnosis-card {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadcd3;
  border-radius: 8px;
  box-shadow: 0 9px 20px rgba(65, 43, 31, 0.08);
  scroll-snap-align: start;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.featured-diagnosis-card:hover,
.featured-diagnosis-card:focus-visible {
  transform: translateY(-2px);
  border-color: #ffac98;
  box-shadow: 0 14px 26px rgba(65, 43, 31, 0.13);
}

.featured-diagnosis-visual,
.diagnosis-card-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--diagnosis-cover, #fff4ef);
}

.featured-diagnosis-visual {
  width: 100%;
  aspect-ratio: 1200 / 630;
}

.featured-diagnosis-visual::before,
.diagnosis-card-cover::before {
  position: absolute;
  width: 112px;
  height: 112px;
  background-image: radial-gradient(rgba(255, 118, 88, 0.24) 2px, transparent 2.2px);
  background-size: 12px 12px;
  content: "";
  opacity: 0.62;
}

.featured-diagnosis-visual::before {
  top: -24px;
  left: -20px;
}

.featured-diagnosis-visual img,
.diagnosis-card-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diagnosis-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 8px;
  margin-top: 10px;
}

.diagnosis-carousel-dots span {
  width: 6px;
  height: 6px;
  background: #ded7d2;
  border-radius: 50%;
}

.diagnosis-carousel-dots span.is-active {
  width: 20px;
  background: #ff7658;
  border-radius: 999px;
}

.diagnosis-list-page .tone-aqua,
.diagnosis-list-page .tone-sky,
.diagnosis-list-page .tone-cyan {
  --diagnosis-cover: #eaf8fb;
}

.diagnosis-list-page .tone-blue {
  --diagnosis-cover: #edf4ff;
}

.diagnosis-list-page .tone-green,
.diagnosis-list-page .tone-teal {
  --diagnosis-cover: #edf8f2;
}

.diagnosis-list-page .tone-rose {
  --diagnosis-cover: #fff0f1;
}

.diagnosis-list-page .tone-gold,
.diagnosis-list-page .tone-cream {
  --diagnosis-cover: #fff7db;
}

.diagnosis-list-page .tone-orange,
.diagnosis-list-page .tone-peach {
  --diagnosis-cover: #fff0e5;
}

.diagnosis-list-page .tone-purple,
.diagnosis-list-page .tone-lavender {
  --diagnosis-cover: #f5effb;
}

.diagnosis-list-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 34px 76px;
  border-top: 1px solid #f0e0d6;
}

.diagnosis-curated-section {
  padding-bottom: 56px;
}

.diagnosis-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.diagnosis-list-toolbar h2 {
  margin: 0;
  color: #171322;
  font-size: 22px;
  font-weight: 900;
}

.catalog-search {
  position: relative;
  display: block;
  width: min(100%, 390px);
}

.catalog-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 42px 10px 15px;
  color: #171322;
  background: #fff;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  outline: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.catalog-search input:focus {
  border-color: #ff8f75;
  box-shadow: 0 0 0 3px rgba(255, 118, 88, 0.14);
}

.catalog-search input::placeholder {
  color: #858b97;
}

.catalog-search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 2px solid #596274;
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-58%);
}

.catalog-search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: #596274;
  border-radius: 999px;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 20px;
  color: #646b79;
  text-align: center;
  background: #fff;
  border: 1px solid #ece3dd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.diagnosis-list-page .catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.diagnosis-list-page .catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-color: #f0e0d6;
  box-shadow: 0 8px 18px rgba(75, 54, 43, 0.07);
}

.diagnosis-card-cover {
  aspect-ratio: 1200 / 630;
}

.diagnosis-card-cover::before {
  right: -18px;
  bottom: -28px;
}

.diagnosis-card-body {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 18px;
}

.diagnosis-list-page .catalog-card strong {
  margin: 0;
  color: #171322;
  font-size: 17px;
  line-height: 1.5;
}

.diagnosis-list-page .catalog-card small {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #606879;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media (max-width: 760px) {
  .featured-diagnoses {
    padding: 28px 16px 30px;
  }

  .featured-diagnoses-heading {
    margin-bottom: 14px;
  }

  .diagnosis-carousel-controls button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .diagnosis-carousel-track {
    grid-auto-columns: minmax(280px, 92%);
    gap: 12px;
  }

  .diagnosis-list-content {
    padding: 22px 16px 52px;
  }

  .diagnosis-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 16px;
    padding-top: 18px;
  }

  .catalog-search {
    width: 100%;
  }

  .diagnosis-list-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .diagnosis-list-page .catalog-card {
    grid-template-columns: none;
    grid-template-rows: auto 1fr;
    min-height: 258px;
    padding: 0;
  }

  .diagnosis-card-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
  }

  .diagnosis-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .diagnosis-card-body {
    gap: 6px;
    padding: 12px 11px 14px;
  }

  .diagnosis-list-page .catalog-card strong {
    font-size: 13px;
    line-height: 1.45;
  }

  .diagnosis-list-page .catalog-card small {
    font-size: 10px;
    line-height: 1.65;
    -webkit-line-clamp: 4;
  }

}

.top-reason-section {
  background: linear-gradient(135deg, #fff8f1, #fffdf9);
  border-radius: 14px;
}

.top-reason-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #f1e2d8;
  border-radius: 12px;
}

.top-reason-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 204px;
  padding: 22px 14px 24px;
  text-align: center;
}

.top-reason-grid article + article {
  border-left: 1px solid #efe0d8;
}

.top-reason-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
}

.top-reason-icon img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.top-reason-grid h3 {
  margin: 0 0 8px;
  color: #2c211d;
  font-size: 15px;
  font-weight: 900;
}

.top-reason-grid p,
.top-step-grid p,
.bottom-cta-section p {
  margin: 0;
  color: #3f4655;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.75;
}

.top-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.top-step-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto minmax(86px, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  align-content: start;
  min-height: 224px;
  padding: 24px 18px 16px;
  background: #fffdfb;
  border: 1px solid #f2dfd4;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(75, 54, 43, 0.06);
}

.top-step-grid article + article::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 11px solid #f8b84d;
  transform: translateY(-50%);
}

.top-step-number {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  color: #fff;
  background: linear-gradient(180deg, #ffc65d, #f9a93c);
  border: 2px solid #ffe1a5;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(248, 184, 77, 0.24);
}

.top-step-grid h3 {
  margin: 0;
  color: #2c211d;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}

.top-step-grid p {
  grid-column: 2;
  max-width: 128px;
  line-height: 1.75;
}

.top-step-image {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: end;
  width: min(118px, 78%);
  height: 92px;
  object-fit: contain;
  object-position: center bottom;
  margin-top: 4px;
}

.top-step-grid article:nth-child(2) .top-step-image {
  width: min(98px, 70%);
}

.top-step-grid article:nth-child(3) .top-step-image {
  width: min(106px, 72%);
}

.top-step-grid article:nth-child(4) .top-step-image {
  width: min(106px, 72%);
}

.bottom-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: none;
  padding-top: 30px;
  padding-bottom: 30px;
  background:
    radial-gradient(circle at 12% 35%, rgba(255, 211, 92, 0.28), transparent 120px),
    radial-gradient(circle at 86% 60%, rgba(255, 143, 107, 0.16), transparent 160px),
    #fff7ef;
}

.bottom-cta-section > div {
  justify-self: center;
  text-align: center;
}

.bottom-cta-section h2 {
  margin: 0 0 8px;
  color: #2c211d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Sans JP", serif;
  font-size: 28px;
  font-weight: 900;
}

.bottom-cta-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 44px;
  margin-right: 34px;
  color: #fff;
  background: #ff7658;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 118, 88, 0.2);
}

@media (max-width: 1000px) {
  .portal-page .catalog-grid,
  .top-reason-grid,
  .top-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-reason-grid article + article {
    border-left: 0;
    border-top: 1px solid #efe0d8;
  }

  .top-step-grid article + article::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .portal-page .diagnosis-catalog-section,
  .top-reason-section,
  .top-step-section,
  .bottom-cta-section {
    padding: 38px 16px;
  }

  .top-reason-grid,
  .top-step-grid {
    grid-template-columns: 1fr;
  }

  .portal-page .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .portal-page .catalog-card {
    min-height: 260px;
    padding: 14px 10px;
  }

  .portal-page .catalog-card.diagnosis-list-card {
    min-height: 270px;
    padding: 0;
  }

  .portal-page .diagnosis-list-card .diagnosis-card-body {
    gap: 6px;
    padding: 10px 9px 12px;
  }

  .portal-page .diagnosis-list-card strong {
    font-size: 12px;
  }

  .portal-page .catalog-icon,
  .portal-page .catalog-icon svg {
    width: 68px;
    height: 68px;
  }

  .portal-page .catalog-card strong {
    font-size: 13px;
  }

  .portal-page .catalog-card small {
    font-size: 10px;
    line-height: 1.65;
  }

  .bottom-cta-section {
    grid-template-columns: 1fr;
  }

  .bottom-cta-section a {
    width: 100%;
    margin-right: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.portal-page .portal-hero {
  min-height: 0;
  padding: 0 0 24px;
  background: #fdfbfa;
  border-bottom: 1px solid #f0e8df;
}

.fv-html {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 2040px;
  aspect-ratio: 1705 / 923;
  margin: 0 auto;
  overflow: hidden;
  background: #fdfbfa;
}

.fv-bg-shape,
.fv-dot-pattern {
  position: absolute;
  pointer-events: none;
}

.fv-bg-shape {
  z-index: -1;
  background: #fff0e5;
  opacity: 0.86;
}

.fv-bg-shape-left {
  top: 17%;
  left: -3.2%;
  width: 10.4%;
  height: 34%;
  border-radius: 50% 56% 46% 52%;
}

.fv-bg-shape-right {
  display: none;
  right: -58px;
  bottom: 0;
  width: 278px;
  height: 256px;
  border-radius: 54% 0 0 46% / 54% 0 0 46%;
}

.fv-dot-pattern {
  z-index: -1;
  width: 12.8%;
  height: 13%;
  background-image: radial-gradient(#ffd8b8 2.5px, transparent 2.6px);
  background-size: clamp(13px, 1vw, 20px) clamp(13px, 1vw, 20px);
  opacity: 0.75;
}

.fv-dot-pattern-left {
  top: 37.5%;
  left: 4%;
}

.fv-dot-pattern-right {
  display: none;
  right: 54px;
  bottom: 44px;
}

.fv-copy {
  position: absolute;
  top: 4.5%;
  left: 7.2%;
  z-index: 2;
  width: 46%;
  min-width: 0;
}

.portal-page .fv-copy h1 {
  display: grid;
  gap: 0.08em;
  max-width: 840px;
  margin: 0;
  color: #171313;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(48px, 4.55vw, 92px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.portal-page .portal-hero h1 .fv-title-line {
  display: block;
  color: #171313;
  white-space: nowrap;
}

.portal-page .portal-hero h1 .fv-title-line-accent {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  margin: 0;
}

.portal-page .portal-hero h1 .fv-title-keyword {
  position: relative;
  display: inline-block;
  padding-bottom: 0.12em;
  color: #ff7354;
  font-size: 1em;
  font-weight: 800;
  line-height: 1.05;
}

.portal-page .portal-hero h1 .fv-title-keyword::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;
  height: 4px;
  background: #ff8f4c;
  border-radius: 999px;
}

.portal-page .portal-hero h1 .fv-title-tail {
  color: #171313;
  font-size: 0.68em;
  font-weight: 700;
}

.fv-lead {
  max-width: 700px;
  margin: clamp(20px, 1.5vw, 31px) 0 0;
  color: #151313;
  font-size: clamp(20px, 1.55vw, 32px);
  font-weight: 800;
  line-height: 1.86;
}

.fv-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin: clamp(62px, 5.9vw, 120px) 0 0;
  padding: 0;
  list-style: none;
}

.fv-feature-list li {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: clamp(14px, 1.3vw, 27px);
  min-height: clamp(132px, 10.4vw, 212px);
  padding: 0 clamp(12px, 1.55vw, 32px);
  color: #151313;
  text-align: center;
}

.fv-feature-list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: clamp(122px, 10.4vw, 212px);
  background-image: linear-gradient(#a9a5a1 58%, transparent 0);
  background-size: 1px 8px;
}

.fv-feature-icon {
  display: grid;
  place-items: center;
  width: clamp(58px, 4.8vw, 98px);
  height: clamp(58px, 4.8vw, 98px);
  color: #ff7354;
  border: 2.4px solid currentColor;
  border-radius: 50%;
}

.fv-feature-icon svg {
  width: 72%;
  height: 72%;
}

.fv-feature-list strong {
  font-size: clamp(14px, 1.1vw, 22px);
  font-weight: 900;
  line-height: 1.65;
}

.fv-art {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 45.45%;
  height: 100%;
}

.fv-right-image {
  display: block;
  width: 95%;
  max-height: 100%;
  height: auto;
  margin-left: auto;
  object-fit: contain;
  object-position: top right;
}

.portal-page .hero-industry-area {
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .fv-html {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    aspect-ratio: auto;
    min-height: 0;
    padding: 16px 30px 28px;
  }

  .fv-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .portal-page .fv-copy h1,
  .fv-lead {
    max-width: none;
  }

  .fv-feature-list {
    max-width: 760px;
    margin-top: 44px;
  }

  .fv-art {
    position: relative;
    top: auto;
    right: auto;
    justify-self: center;
    width: min(100%, 680px);
    height: auto;
    min-height: 500px;
  }

  .fv-right-image {
    height: auto;
    margin-right: auto;
    object-fit: contain;
  }
}

@media (max-width: 760px) {
  .portal-page .portal-hero {
    padding-bottom: 14px;
  }

  .fv-html {
    padding: 10px 14px 16px;
  }

  .portal-page .fv-copy h1 {
    display: block;
    font-size: clamp(23px, 7.2vw, 30px);
    line-height: 1.14;
  }

  .portal-page .portal-hero h1 .fv-title-line:first-child {
    display: inline;
  }

  .portal-page .portal-hero h1 .fv-title-line-accent {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.2em;
    margin: 0;
    white-space: nowrap;
  }

  .portal-page .portal-hero h1 .fv-title-line:last-child {
    display: block;
    margin-top: 0.12em;
  }

  .portal-page .portal-hero h1 .fv-title-keyword {
    padding-bottom: 0.12em;
  }

  .fv-lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.9;
  }

  .fv-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px;
  }

  .fv-feature-list li {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    align-content: start;
    gap: 8px;
    min-height: 112px;
    padding: 0 5px;
    text-align: center;
  }

  .fv-feature-list li + li::before {
    top: 0;
    left: 0;
    width: 1px;
    height: 106px;
    background-image: linear-gradient(#d5c9bf 58%, transparent 0);
    background-size: 1px 8px;
  }

  .fv-feature-icon {
    width: 44px;
    height: 44px;
  }

  .fv-feature-list strong {
    font-size: 10px;
    line-height: 1.45;
  }

  .fv-art {
    width: 100%;
    min-height: 0;
    margin-top: 10px;
  }

  .fv-right-image {
    width: min(80%, 340px);
    max-width: 100%;
    transform: none;
  }

  .fv-bg-shape-right {
    right: -112px;
    width: 220px;
    height: 208px;
  }

  .fv-dot-pattern-left {
    top: 41%;
    left: 12px;
  }

  .portal-page .hero-industry-area {
    margin-top: 18px;
    padding: 0 16px;
  }
}

/* Diagnosis detail LP format */
.diagnosis-lp-page {
  padding-bottom: 82px;
  background: #fdfbfa;
}

.diagnosis-lp-page .site-header {
  min-height: 70px;
  border-bottom-color: #f0e6df;
  box-shadow: 0 3px 14px rgba(75, 54, 43, 0.04);
}

.diagnosis-lp-page .header-cta {
  min-width: 150px;
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border-color: #ff624e;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(255, 98, 78, 0.2);
}

.lp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 32px;
  color: #7a7f89;
  font-size: 12px;
  font-weight: 800;
}

.lp-breadcrumb a {
  color: #5d6572;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-breadcrumb span::before {
  content: ">";
  margin-right: 8px;
  color: #b2b6be;
}

.diagnosis-lp-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(24px, 4vw, 62px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  padding: 46px 32px 38px;
}

.lp-bg-shape,
.lp-spark {
  position: absolute;
  pointer-events: none;
}

.lp-bg-shape {
  z-index: -1;
  background: #fff0e5;
}

.lp-bg-shape-left {
  left: -94px;
  top: 28%;
  width: 160px;
  height: 240px;
  border-radius: 48% 58% 52% 48%;
}

.lp-bg-shape-right {
  right: -120px;
  bottom: 8%;
  width: 230px;
  height: 280px;
  border-radius: 54% 0 0 46% / 54% 0 0 46%;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 22px;
  padding: 0 18px;
  color: #ff5f4d;
  background: #fff;
  border: 1px solid #ff8f7c;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.diagnosis-lp-hero h1 {
  max-width: 650px;
  margin: 0 0 18px;
  color: #171322;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0;
}

.diagnosis-lp-hero h1 .lp-title-before {
  display: block;
  color: #171322;
}

.diagnosis-lp-hero h1 .lp-title-accent {
  color: #ff5f4d;
}

.diagnosis-lp-hero h1 .lp-title-tail {
  color: #171322;
}

.lp-lead {
  max-width: 560px;
  margin: 0 0 24px;
  color: #171322;
  font-size: 16px;
  font-weight: 800;
  line-height: 2;
}

.lp-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.lp-meta-list div {
  display: grid;
  place-items: center;
  min-width: 170px;
  min-height: 74px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #f2d7cd;
  border-radius: 10px;
}

.lp-meta-list dt {
  color: #5f6472;
  font-size: 11px;
  font-weight: 900;
}

.lp-meta-list dd {
  margin: 0;
  color: #171322;
  font-size: 21px;
  font-weight: 900;
}

.lp-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: min(100%, 420px);
  min-height: 64px;
  padding: 0 32px;
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 98, 78, 0.22);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.lp-primary-cta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  color: #ff5f4d;
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
}

.lp-primary-cta::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.lp-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.lp-hero-art img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(75, 54, 43, 0.08));
}

.lp-speech {
  position: absolute;
  right: 6%;
  top: 10%;
  display: grid;
  place-items: center;
  width: 168px;
  min-height: 126px;
  padding: 18px;
  color: #171322;
  text-align: center;
  background: #fff;
  border: 2px solid #171322;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.65;
}

.lp-speech::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -16px;
  width: 32px;
  height: 28px;
  background: #fff;
  border-right: 2px solid #171322;
  border-bottom: 2px solid #171322;
  transform: rotate(28deg);
}

.lp-spark {
  width: 14px;
  height: 14px;
  border: 3px solid #ffb49f;
  transform: rotate(18deg);
}

.lp-spark-a {
  left: 10%;
  top: 18%;
}

.lp-spark-b {
  right: 12%;
  top: 4%;
  border-color: #9edfc4;
}

.lp-spark-c {
  right: 22%;
  bottom: 14%;
  border-color: #ffd25d;
}

.lp-recommend-box,
.lp-learn-section,
.lp-related-section,
.lp-cta-strip,
.lp-faq-section {
  max-width: 1080px;
  margin: 0 auto 28px;
}

.lp-recommend-box {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 26px 42px;
  background: linear-gradient(135deg, #fff4ed, #fff9f5);
  border: 1px solid #f2d7cd;
  border-radius: 18px;
}

.lp-recommend-box img {
  justify-self: center;
  width: min(180px, 100%);
  height: auto;
}

.lp-recommend-box h2,
.lp-learn-section h2,
.lp-related-section h2,
.lp-faq-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #171322;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.lp-recommend-box h2::before,
.lp-recommend-box h2::after,
.lp-learn-section h2::before,
.lp-learn-section h2::after,
.lp-related-section h2::before,
.lp-related-section h2::after,
.lp-faq-section h2::before,
.lp-faq-section h2::after {
  content: "";
  width: 13px;
  height: 2px;
  background: #ffb24d;
  transform: rotate(52deg);
}

.lp-recommend-box h2::after,
.lp-learn-section h2::after,
.lp-related-section h2::after,
.lp-faq-section h2::after {
  transform: rotate(-52deg);
}

.lp-recommend-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-recommend-box li {
  position: relative;
  padding-left: 28px;
  color: #171322;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.lp-recommend-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid #ff5f4d;
  border-radius: 50%;
}

.lp-recommend-box li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.45em + 5px);
  width: 6px;
  height: 3px;
  border-left: 2px solid #ff5f4d;
  border-bottom: 2px solid #ff5f4d;
  transform: rotate(-45deg);
}

.lp-learn-section {
  padding: 22px 28px 30px;
  background: #fff;
  border: 1px solid #e7edf4;
  border-radius: 18px;
}

.lp-learn-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lp-learn-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 120px;
  padding: 8px 12px;
  text-align: center;
}

.lp-learn-grid article + article {
  border-left: 1px dashed #d9dfe8;
}

.lp-learn-grid span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

.lp-learn-grid svg {
  width: 58px;
  height: 58px;
}

.lp-learn-grid strong {
  color: #171322;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.lp-related-section {
  padding-top: 4px;
}

.lp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lp-related-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 160px;
  padding: 20px 44px 18px 18px;
  overflow: hidden;
  border: 1px solid #f0e0d6;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(75, 54, 43, 0.08);
}

.lp-related-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #ff5f4d;
  border-right: 2px solid #ff5f4d;
  transform: translateY(-50%) rotate(45deg);
}

.lp-related-card span {
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
}

.lp-related-card svg {
  width: 58px;
  height: 58px;
}

.lp-related-card strong {
  color: #171322;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.6;
}

.lp-related-card small {
  color: #5f6472;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
}

.lp-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: center;
  padding: 24px 46px;
  background: linear-gradient(135deg, #fff4ed, #fffaf6);
  border-radius: 18px;
}

.lp-cta-strip h2 {
  margin: 0 0 18px;
  color: #171322;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.8;
}

.lp-cta-strip img {
  align-self: end;
  justify-self: center;
  width: min(210px, 100%);
}

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

.lp-faq-grid details {
  background: #fff;
  border: 1px solid #f0d8cf;
  border-radius: 12px;
}

.lp-faq-grid summary {
  position: relative;
  min-height: 50px;
  padding: 14px 42px 14px 46px;
  color: #171322;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.lp-faq-grid summary::-webkit-details-marker {
  display: none;
}

.lp-faq-grid summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #ff5f4d;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.lp-faq-grid summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #171322;
  border-bottom: 2px solid #171322;
  transform: rotate(45deg);
}

.lp-faq-grid details[open] summary::after {
  top: 24px;
  transform: rotate(225deg);
}

.lp-faq-grid p {
  margin: 0;
  padding: 0 20px 16px 46px;
  color: #4c5568;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.lp-sticky-cta {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(18px, 7vw, 96px);
  background: rgba(255, 249, 241, 0.96);
  border-top: 1px solid #f0d8cf;
  box-shadow: 0 -8px 22px rgba(75, 54, 43, 0.08);
  backdrop-filter: blur(10px);
}

.lp-sticky-cta p {
  justify-self: center;
  margin: 0;
  color: #171322;
  font-size: 14px;
  font-weight: 900;
}

.lp-sticky-cta .lp-primary-cta {
  min-width: 300px;
  min-height: 48px;
  font-size: 14px;
}

.lp-sticky-cta .lp-primary-cta::after {
  width: 8px;
  height: 8px;
}

@media (max-width: 960px) {
  .diagnosis-lp-page .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
  }

  .diagnosis-lp-page .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 20px;
  }

  .diagnosis-lp-page .header-cta {
    justify-self: stretch;
  }

  .diagnosis-lp-hero,
  .lp-recommend-box,
  .lp-cta-strip {
    grid-template-columns: 1fr;
  }

  .lp-hero-art {
    min-height: 420px;
  }

  .lp-learn-grid,
  .lp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-learn-grid article:nth-child(odd) {
    border-left: 0;
  }

  .lp-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .diagnosis-lp-page {
    padding-bottom: 74px;
  }

  .lp-breadcrumb,
  .diagnosis-lp-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .diagnosis-lp-hero {
    padding-top: 30px;
  }

  .diagnosis-lp-hero h1 {
    font-size: 36px;
  }

  .lp-meta-list div {
    min-width: calc(50% - 6px);
  }

  .lp-primary-cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 20px;
    font-size: 16px;
  }

  .lp-hero-art {
    min-height: 340px;
  }

  .lp-hero-art img {
    width: min(92vw, 310px);
  }

  .lp-speech {
    right: 0;
    top: 0;
    width: 124px;
    min-height: 98px;
    font-size: 13px;
  }

  .lp-recommend-box,
  .lp-learn-section,
  .lp-related-section,
  .lp-cta-strip,
  .lp-faq-section {
    width: calc(100% - 32px);
  }

  .lp-recommend-box,
  .lp-cta-strip {
    padding: 22px 18px;
  }

  .lp-learn-grid,
  .lp-related-grid {
    grid-template-columns: 1fr;
  }

  .lp-learn-grid article + article {
    border-left: 0;
    border-top: 1px dashed #d9dfe8;
  }

  .lp-sticky-cta {
    grid-template-columns: 1fr;
    min-height: 68px;
    padding: 10px 14px;
  }

  .lp-sticky-cta p {
    display: none;
  }

  .lp-sticky-cta .lp-primary-cta {
    min-width: 0;
    width: 100%;
  }
}

/* Specialist workstyle diagnosis flow */
.specialist-diagnosis-page {
  background: #fffdfb;
}

.specialist-diagnosis-page .site-header {
  border-bottom-color: #f0e0d6;
}

.specialist-diagnosis-page .header-cta,
.specialist-diagnosis-page .primary-button {
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border-color: #ff624e;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(255, 98, 78, 0.2);
}

.specialist-diagnosis-page .search-button,
.specialist-diagnosis-page .secondary-button {
  color: #ff5f4d;
  background: #fff;
  border-color: #ffb7a8;
  border-radius: 999px;
}

.specialist-diagnosis-page .diagnosis-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 205, 189, 0.34), transparent 260px),
    radial-gradient(circle at 8% 84%, rgba(255, 232, 215, 0.74), transparent 220px),
    #fffdfb;
  border-bottom-color: #f3e3db;
}

.specialist-diagnosis-page .diagnosis-hero h1 {
  color: #171322;
}

.specialist-diagnosis-page .diagnosis-hero h1::first-letter {
  color: #ff5f4d;
}

.specialist-diagnosis-page .quiz-section {
  padding: 42px 30px 54px;
  background:
    linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
  border-bottom-color: #f1e0d8;
}

.specialist-diagnosis-page .quiz-shell {
  display: block;
  max-width: 1160px;
}

.specialist-diagnosis-page .quiz-heading {
  display: none;
}

.specialist-diagnosis-page .quiz-panel {
  min-height: 560px;
  padding: clamp(26px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.92);
  border-color: #f2d7cd;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(91, 57, 43, 0.08);
}

.specialist-diagnosis-page .quiz-meta {
  margin-bottom: clamp(30px, 5vw, 58px);
  color: #171322;
  font-size: 20px;
}

.specialist-diagnosis-page .progress-track {
  flex: 1;
  width: auto;
  max-width: 760px;
  height: 12px;
  background: #ebe7e4;
}

.specialist-diagnosis-page .progress-fill {
  background: linear-gradient(90deg, #ff4f42, #ff8167);
}

.specialist-diagnosis-page .question-title {
  max-width: 760px;
  margin: 0 auto clamp(30px, 5vw, 58px);
  text-align: center;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.75;
}

.specialist-diagnosis-page .choice-grid {
  gap: 18px;
}

.specialist-diagnosis-page .choice-button {
  position: relative;
  min-height: 82px;
  padding: 18px 24px 18px 82px;
  background: rgba(255, 255, 255, 0.94);
  border-color: #f2d7cd;
  border-radius: 16px;
  font-size: 17px;
  line-height: 1.7;
  box-shadow: 0 8px 18px rgba(91, 57, 43, 0.04);
}

.specialist-diagnosis-page .choice-button:hover {
  background: #fff8f4;
  border-color: #ff6c58;
}

.specialist-diagnosis-page .choice-button::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 2px solid #ffd0c3;
  border-radius: 50%;
  transform: translateY(-50%);
}

.specialist-diagnosis-page .choice-button::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #ff624e;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%);
}

.specialist-diagnosis-page .choice-button:hover::after {
  opacity: 0.72;
}

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

.profession-choice {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 18px 48px 18px 20px;
  color: #171322;
  text-align: left;
  background: #fff;
  border: 1px solid #f2d7cd;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(91, 57, 43, 0.04);
}

.profession-choice::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #ff624e;
  border-right: 2px solid #ff624e;
  transform: translateY(-50%) rotate(45deg);
}

.profession-choice:hover {
  background: #fff8f4;
  border-color: #ff6c58;
}

.profession-choice strong {
  font-size: 16px;
  font-weight: 900;
}

.profession-choice span {
  color: #5c6472;
  font-size: 12px;
  font-weight: 800;
}

.profession-skip-button {
  display: flex;
  width: max-content;
  margin: 22px auto 0;
}

.specialist-diagnosis-page .result-type {
  color: #ff5f4d;
  background: #fff0eb;
  border: 1px solid #ffc6b8;
  border-radius: 999px;
}

.specialist-diagnosis-page .result-title {
  color: #ff5f4d;
  font-size: clamp(30px, 4vw, 44px);
}

.result-share-line {
  margin: 0 0 14px;
  color: #171322;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
}

.specialist-diagnosis-page .result-copy {
  font-size: 15px;
  line-height: 2;
}

.result-detail-box,
.result-subtype-box {
  margin-top: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid #f2d7cd;
  border-radius: 14px;
}

.result-detail-box h4,
.result-subtype-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
}

.result-detail-box .action-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.specialist-diagnosis-page .action-list li {
  background: #fff8f4;
  border-color: #f3ddd4;
}

.result-subtype-box {
  background: linear-gradient(135deg, #fff8f4, #fff);
}

.result-subtype-box span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ff5f4d;
  font-size: 12px;
  font-weight: 900;
}

.result-subtype-box p {
  margin: 0;
  color: #4c5568;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.specialist-diagnosis-page .result-workplace-box li {
  color: #ff5f4d;
  background: #fff0eb;
  border-color: #ffc6b8;
}

.specialist-diagnosis-page .result-profession-workplace li {
  color: #267d6d;
  background: #effbf8;
  border-color: #cfefe8;
}

.specialist-diagnosis-page .next-link span {
  color: #ff5f4d;
}

.specialist-diagnosis-page .social-result-card {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 214, 107, 0.3), transparent 110px),
    radial-gradient(circle at 88% 80%, rgba(255, 143, 107, 0.22), transparent 130px),
    linear-gradient(155deg, #fff8ee 0%, #ffffff 42%, #fff0eb 100%);
  border-color: #f2d7cd;
}

.specialist-diagnosis-page .social-result-card span {
  color: #ff5f4d;
  border-color: #ffc6b8;
}

.specialist-diagnosis-page .social-result-card strong {
  font-size: clamp(22px, 2.7vw, 25px);
  line-height: 1.38;
}

.specialist-diagnosis-page .social-result-card em {
  color: #ff5f4d;
  background: #fff0eb;
  border-color: #ffc6b8;
}

@media (max-width: 760px) {
  .specialist-diagnosis-page .quiz-section {
    padding: 24px 14px 38px;
  }

  .specialist-diagnosis-page .quiz-panel {
    min-height: auto;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .specialist-diagnosis-page .quiz-meta {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 16px;
  }

  .specialist-diagnosis-page .progress-track {
    max-width: none;
  }

  .specialist-diagnosis-page .question-title {
    margin-bottom: 28px;
    text-align: left;
    font-size: 21px;
  }

  .specialist-diagnosis-page .result-title {
    font-size: 28px;
    line-height: 1.42;
  }

  .specialist-diagnosis-page .choice-button {
    min-height: 76px;
    padding: 15px 16px 15px 62px;
    font-size: 14px;
  }

  .specialist-diagnosis-page .choice-button::before {
    left: 18px;
  }

  .specialist-diagnosis-page .choice-button::after {
    left: 28px;
  }

  .profession-step-grid,
  .result-detail-box .action-list {
    grid-template-columns: 1fr;
  }
}

/* Diagnosis in-progress screen format */
.specialist-diagnosis-page {
  background: #fff;
}

.specialist-diagnosis-page .site-header {
  min-height: 82px;
  padding: 0 32px;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
}

.specialist-diagnosis-page .brand {
  font-size: 31px;
}

.specialist-diagnosis-page .brand-icon,
.specialist-diagnosis-page .brand-icon svg {
  width: 43px;
  height: 43px;
}

.specialist-diagnosis-page .header-actions {
  justify-content: flex-end;
}

.specialist-diagnosis-page .header-cta {
  gap: 8px;
  min-width: 150px;
  min-height: 48px;
  color: #ff5f4d;
  background: #fff;
  border: 2px solid #ff5f4d;
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
}

.specialist-diagnosis-page .header-cta svg {
  width: 18px;
  height: 18px;
}

.diagnosis-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  max-width: 1220px;
  margin: 18px auto 34px;
  padding: 0 32px;
  color: #575d68;
  font-size: 14px;
  font-weight: 800;
}

.diagnosis-breadcrumb a {
  color: #505661;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.diagnosis-breadcrumb span::before {
  content: ">";
  margin-right: 9px;
  color: #a8adb5;
}

.specialist-diagnosis-page .quiz-section {
  padding: 0 30px 42px;
  background: #fff;
  border-bottom: 0;
}

.specialist-diagnosis-page .quiz-shell {
  display: block;
  max-width: 1220px;
}

.specialist-diagnosis-page .quiz-panel {
  min-height: 780px;
  padding: 58px;
  background: #fff;
  border: 1px solid #f0d6cd;
  border-radius: 22px;
  box-shadow: none;
}

.specialist-diagnosis-page .quiz-meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) 64px;
  gap: 34px;
  align-items: center;
  margin: 0 0 76px;
  color: #171322;
  font-size: 24px;
  font-weight: 900;
}

.specialist-diagnosis-page .quiz-count,
.specialist-diagnosis-page .quiz-percent {
  white-space: nowrap;
}

.specialist-diagnosis-page .quiz-percent {
  text-align: right;
}

.specialist-diagnosis-page .progress-track {
  width: 100%;
  max-width: none;
  height: 12px;
  background: #e9e6e5;
}

.specialist-diagnosis-page .progress-fill {
  background: linear-gradient(90deg, #ff493d, #ff6f58);
}

.specialist-diagnosis-page .question-title {
  max-width: 780px;
  margin: 0 auto 68px;
  color: #171322;
  text-align: center;
  font-size: 28px;
  line-height: 1.9;
}

.specialist-diagnosis-page .choice-grid {
  gap: 26px;
}

.specialist-diagnosis-page .choice-button {
  position: relative;
  min-height: 106px;
  padding: 22px 28px 22px 100px;
  color: #171322;
  background: #fff;
  border: 1px solid #f0d6cd;
  border-radius: 16px;
  box-shadow: none;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.8;
}

.specialist-diagnosis-page .choice-button:hover,
.specialist-diagnosis-page .choice-button.is-selected {
  background: #fff;
  border-color: #ff5f4d;
}

.specialist-diagnosis-page .choice-button::before {
  left: 28px;
  width: 42px;
  height: 42px;
  border-color: #ffd5ca;
}

.specialist-diagnosis-page .choice-button::after {
  left: 42px;
  width: 18px;
  height: 18px;
  background: #ff5f4d;
  opacity: 0;
}

.specialist-diagnosis-page .choice-button:hover::after {
  opacity: 0;
}

.specialist-diagnosis-page .choice-button.is-selected::before {
  border-color: #ffb9ac;
}

.specialist-diagnosis-page .choice-button.is-selected::after {
  opacity: 1;
}

.quiz-actions {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin-top: 72px;
}

.specialist-diagnosis-page .quiz-next-button {
  min-width: min(100%, 440px);
  min-height: 78px;
  color: #fff;
  background: linear-gradient(180deg, #ff8167, #ff4f42);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 98, 78, 0.2);
  font-size: 24px;
}

.specialist-diagnosis-page .quiz-next-button::after {
  content: "";
  width: 13px;
  height: 13px;
  margin-left: 32px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.specialist-diagnosis-page .quiz-next-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.quiz-back-button {
  color: #31343b;
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 800;
}

.quiz-back-button:disabled {
  visibility: hidden;
}

.diagnosis-save-note {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 22px;
  background: linear-gradient(180deg, #fff4ee, #fff9f6);
  border-top: 1px solid #f2dfd7;
}

.diagnosis-save-note p {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  color: #31343b;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.8;
}

.diagnosis-save-note .save-note-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #454a55;
}

.diagnosis-save-note .save-note-icon svg {
  width: 20px;
  height: 20px;
}

.diagnosis-save-note small {
  grid-column: 2;
  display: block;
  color: #31343b;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .specialist-diagnosis-page .site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: auto;
    padding: 14px 18px;
  }

  .specialist-diagnosis-page .brand {
    font-size: 25px;
  }

  .specialist-diagnosis-page .brand-icon,
  .specialist-diagnosis-page .brand-icon svg {
    width: 34px;
    height: 34px;
  }

  .specialist-diagnosis-page .header-actions {
    flex: 0 0 auto;
    width: auto;
    align-self: center;
    margin-left: auto;
  }

  .specialist-diagnosis-page .header-cta {
    flex: 0 0 auto;
    min-width: 122px;
    min-height: 40px;
    font-size: 12px;
  }

  .diagnosis-breadcrumb {
    margin: 10px auto 18px;
    padding: 0 18px;
    font-size: 12px;
  }

  .specialist-diagnosis-page .quiz-section {
    padding: 0 14px 28px;
  }

  .specialist-diagnosis-page .quiz-panel {
    min-height: 0;
    padding: 24px 16px 28px;
    border-radius: 18px;
  }

  .specialist-diagnosis-page .quiz-meta {
    grid-template-columns: 1fr auto;
    gap: 14px;
    margin-bottom: 34px;
    font-size: 16px;
  }

  .specialist-diagnosis-page .progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 10px;
  }

  .specialist-diagnosis-page .question-title {
    margin-bottom: 32px;
    font-size: 21px;
    line-height: 1.75;
  }

  .specialist-diagnosis-page .choice-grid {
    gap: 14px;
  }

  .specialist-diagnosis-page .choice-button {
    min-height: 78px;
    padding: 15px 16px 15px 64px;
    font-size: 14px;
  }

  .specialist-diagnosis-page .choice-button::before {
    left: 18px;
    width: 32px;
    height: 32px;
  }

  .specialist-diagnosis-page .choice-button::after {
    left: 29px;
    width: 14px;
    height: 14px;
  }

  .quiz-actions {
    gap: 18px;
    margin-top: 34px;
  }

  .specialist-diagnosis-page .quiz-next-button {
    min-height: 58px;
    font-size: 17px;
  }

  .diagnosis-save-note {
    min-height: 88px;
    padding: 18px 14px;
  }

  .diagnosis-save-note p {
    font-size: 13px;
  }
}

/* Keep result-mode overrides after the quiz format rules. */
.specialist-diagnosis-page.is-result-mode .site-header {
  position: static;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 80px;
  padding: 0 40px;
  background: #fff;
}

.specialist-diagnosis-page.is-result-mode .result-header-nav {
  display: flex;
}

.specialist-diagnosis-page.is-result-mode .brand {
  font-size: 27px;
}

.specialist-diagnosis-page.is-result-mode .brand-icon,
.specialist-diagnosis-page.is-result-mode .brand-icon svg {
  width: 45px;
  height: 45px;
}

.specialist-diagnosis-page.is-result-mode .main-nav {
  gap: 64px;
  font-size: 14px;
}

.specialist-diagnosis-page.is-result-mode .quiz-section {
  padding: 0 40px 48px;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

.specialist-diagnosis-page.is-result-mode .quiz-shell {
  max-width: 1260px;
}

.specialist-diagnosis-page.is-result-mode .quiz-panel {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.specialist-diagnosis-page.is-result-mode .diagnosis-save-note {
  display: none;
}

.specialist-diagnosis-page.is-result-mode .site-footer {
  display: none;
}

@media (max-width: 1080px) {
  .specialist-diagnosis-page.is-result-mode .site-header {
    padding: 18px 24px;
  }

  .specialist-diagnosis-page.is-result-mode .main-nav {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .specialist-diagnosis-page.is-result-mode .site-header {
    display: flex;
    padding: 14px 18px;
  }

  .specialist-diagnosis-page.is-result-mode .result-header-nav {
    display: none;
  }

  .specialist-diagnosis-page.is-result-mode .brand {
    font-size: 25px;
  }

  .specialist-diagnosis-page.is-result-mode .quiz-section {
    padding: 0 14px 34px;
  }
}

/* Shared diagnosis content page */
.diagnosis-content-page {
  color: #171322;
  background: #fffdfb;
}

.diagnosis-content-page .site-header.hamburger-header {
  min-height: 70px;
  padding: 0 32px;
  border-bottom: 1px solid #eee7e2;
}

.diagnosis-content-main {
  padding-bottom: 24px;
}

.diagnosis-content-page .diagnosis-breadcrumb {
  width: min(calc(100% - 48px), 860px);
  max-width: none;
  margin: 18px auto 24px;
  padding: 0;
  color: #747781;
  font-size: 12px;
}

.diagnosis-content-page .diagnosis-breadcrumb a {
  color: #5f626c;
}

.diagnosis-content-intro {
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
}

.diagnosis-content-intro h1 {
  margin: 0 0 22px;
  color: #171322;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
}

.diagnosis-content-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadfd7;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(62, 47, 39, 0.08);
}

.diagnosis-content-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diagnosis-content-page .quiz-section {
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
  padding: 28px 0 50px;
  background: transparent;
}

.diagnosis-content-page .quiz-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.diagnosis-content-page .quiz-panel {
  min-height: 0;
  padding: 34px;
  background: #fff;
  border: 1px solid #eadfd7;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(62, 47, 39, 0.06);
}

.diagnosis-content-page .quiz-meta {
  grid-template-columns: max-content minmax(0, 1fr) 48px;
  gap: 18px;
  margin-bottom: 32px;
  color: #676a75;
  font-size: 14px;
}

.diagnosis-content-page .progress-track {
  height: 8px;
}

.diagnosis-content-page .question-title {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.65;
}

.diagnosis-content-page .choice-grid {
  gap: 12px;
}

.diagnosis-content-page .choice-button {
  min-height: 64px;
  padding: 14px 20px 14px 72px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.65;
}

.diagnosis-content-page .choice-button::before {
  left: 20px;
  width: 34px;
  height: 34px;
}

.diagnosis-content-page .choice-button::after {
  left: 31px;
  width: 14px;
  height: 14px;
}

.diagnosis-content-page .quiz-actions {
  gap: 18px;
  margin-top: 34px;
}

.diagnosis-content-page .quiz-next-button {
  min-height: 60px;
  font-size: 18px;
}

.diagnosis-detail-section {
  width: min(calc(100% - 48px), 860px);
  margin: 0 auto;
  padding: 44px 0;
  border-top: 1px solid #eee4dd;
}

.diagnosis-detail-section > h2,
.diagnosis-detail-heading h2 {
  margin: 0;
  color: #171322;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.diagnosis-detail-section > h2 {
  margin-bottom: 18px;
}

.diagnosis-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.diagnosis-detail-heading a {
  color: #e85f43;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.diagnosis-about-box {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #dcd4cf;
  border-radius: 6px;
}

.diagnosis-about-box img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
  background: #fff8f4;
  border: 1px solid #eee2db;
}

.diagnosis-about-box p {
  margin: 0;
  color: #4f5360;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
}

.diagnosis-about-box .diagnosis-about-note {
  margin-top: 12px;
  color: #777b86;
  font-size: 11px;
}

.diagnosis-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.diagnosis-detail-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: #171322;
  background: #fff;
  border: 1px solid #eadfd7;
  border-radius: 6px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.diagnosis-detail-card:hover,
.diagnosis-detail-card:focus-visible {
  border-color: #ff9b83;
  transform: translateY(-2px);
}

.diagnosis-detail-card-cover {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: #fff8f4;
}

.diagnosis-detail-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diagnosis-detail-card strong {
  display: block;
  padding: 13px 14px 15px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.diagnosis-content-page.is-result-mode .diagnosis-content-intro {
  display: none;
}

.diagnosis-content-page.is-result-mode .quiz-section {
  width: min(calc(100% - 48px), 1260px);
  max-width: none;
}

.diagnosis-content-page.is-result-mode .site-footer {
  display: flex;
}

@media (max-width: 760px) {
  .diagnosis-content-page .site-header.hamburger-header,
  .diagnosis-content-page.is-result-mode .site-header.hamburger-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .diagnosis-content-page .diagnosis-breadcrumb,
  .diagnosis-content-intro,
  .diagnosis-content-page .quiz-section,
  .diagnosis-detail-section {
    width: min(calc(100% - 32px), 860px);
  }

  .diagnosis-content-page .diagnosis-breadcrumb {
    margin: 12px auto 18px;
    padding: 0;
    font-size: 10px;
  }

  .diagnosis-content-intro h1 {
    margin-bottom: 14px;
    font-size: 23px;
    line-height: 1.5;
  }

  .diagnosis-content-cover {
    border-radius: 4px;
  }

  .diagnosis-content-page .quiz-section {
    padding: 16px 0 36px;
  }

  .diagnosis-content-page .quiz-panel {
    padding: 22px 16px 24px;
    border-radius: 4px;
  }

  .diagnosis-content-page .quiz-meta {
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 12px;
  }

  .diagnosis-content-page .progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .diagnosis-content-page .question-title {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.65;
  }

  .diagnosis-content-page .choice-button {
    min-height: 58px;
    padding: 12px 12px 12px 56px;
    font-size: 13px;
  }

  .diagnosis-content-page .choice-button::before {
    left: 14px;
    width: 28px;
    height: 28px;
  }

  .diagnosis-content-page .choice-button::after {
    left: 23px;
    width: 12px;
    height: 12px;
  }

  .diagnosis-content-page .quiz-actions {
    margin-top: 26px;
  }

  .diagnosis-content-page .quiz-next-button {
    min-height: 54px;
    font-size: 15px;
  }

  .diagnosis-detail-section {
    padding: 34px 0;
  }

  .diagnosis-detail-section > h2,
  .diagnosis-detail-heading h2 {
    font-size: 19px;
  }

  .diagnosis-about-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .diagnosis-about-box img {
    width: min(100%, 300px);
  }

  .diagnosis-detail-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(220px, 76%);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 1px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .diagnosis-detail-grid::-webkit-scrollbar {
    display: none;
  }

  .diagnosis-detail-card {
    scroll-snap-align: start;
  }

  .diagnosis-detail-card strong {
    padding: 11px 12px 13px;
    font-size: 12px;
  }

  .diagnosis-content-page.is-result-mode .quiz-section {
    width: min(calc(100% - 28px), 1260px);
  }

  .diagnosis-content-page.is-result-mode .site-footer {
    display: flex;
  }
}

/* Shared hamburger navigation */
.site-header.hamburger-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: visible;
}

.hamburger-header .menu-toggle {
  position: relative;
  z-index: 70;
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #071229;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hamburger-header .menu-toggle:hover,
.hamburger-header .menu-toggle:focus-visible {
  color: #ff7658;
}

.hamburger-header .menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.hamburger-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hamburger-header.is-menu-open .menu-toggle {
  color: #071229;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.hamburger-header.is-menu-open .menu-toggle span {
  width: 28px;
}

.hamburger-header .brand {
  position: relative;
  z-index: 70;
}

.hamburger-header .main-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: repeat(3, auto) minmax(120px, 1fr);
  justify-content: stretch;
  align-items: stretch;
  align-content: start;
  gap: 8px;
  width: 100%;
  height: 100dvh;
  padding: clamp(108px, 14vh, 150px) clamp(28px, 6vw, 96px)
    clamp(34px, 6vh, 68px);
  overflow-x: hidden;
  overflow-y: auto;
  color: #071229;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 240ms ease,
    visibility 240ms ease;
}

.hamburger-header.is-menu-open .main-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hamburger-header .main-nav a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 900;
}

.hamburger-header .main-nav a:hover,
.hamburger-header .main-nav a:focus-visible,
.hamburger-header .main-nav a[aria-current="page"] {
  color: #e85f43;
  background: transparent;
}

.hamburger-header .main-nav .menu-contact-cta {
  align-self: end;
  justify-self: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(44px, 7vh, 76px);
  width: min(100%, 520px);
  min-height: 64px;
  padding: 0 24px;
  color: #fff;
  background: #ff7658;
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(66, 46, 42, 0.18);
  font-size: clamp(16px, 1.6vw, 21px);
}

.hamburger-header .main-nav .menu-contact-cta svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
}

.hamburger-header .main-nav .menu-contact-cta:hover,
.hamburger-header .main-nav .menu-contact-cta:focus-visible,
.hamburger-header .main-nav .menu-contact-cta[aria-current="page"] {
  color: #fff;
  background: #f16245;
}

.hamburger-header > .header-cta {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin-right: 12px;
}

.hamburger-header.is-menu-open > .header-cta {
  visibility: hidden;
}

html.is-menu-locked,
html.is-menu-locked body {
  overflow: hidden;
}

@media (max-width: 760px) {
  .site-header.hamburger-header,
  .portal-page .site-header.hamburger-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 10px 16px;
  }

  .hamburger-header .brand,
  .portal-page .hamburger-header .brand {
    justify-content: flex-start;
  }

  .hamburger-header .menu-toggle {
    grid-column: 2;
  }

  .hamburger-header .main-nav {
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: 94px 28px 30px;
  }

  .hamburger-header .main-nav .menu-contact-cta {
    margin-bottom: max(64px, calc(env(safe-area-inset-bottom) + 52px));
  }

  .hamburger-header > .header-cta {
    display: none;
  }

  .legal-page {
    padding: 40px 20px;
  }

  .legal-page h1 {
    font-size: 30px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .legal-page h2 {
    font-size: 19px;
  }
}
