:root {
  --teal: #0f8b8d;
  --teal-2: #18a7a7;
  --orange: #ff6b1a;
  --text: #333333;
  --muted: #697a7a;
  --line: #e5eaea;
  --soft: #f7fafa;
  --warm: #f5f1f1;
  --shadow: 0 14px 34px rgba(14, 80, 82, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

.asset-contain {
  object-fit: contain;
}

/* Header menu guard:
   PC should show only the horizontal nav, while tablet/SP should use the hamburger menu. */
@media (min-width: 1024px) {
  .site-header .menu-button {
    display: none !important;
  }

  .site-header nav {
    position: static !important;
    display: flex !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 1023px) {
  .site-header .menu-button {
    display: grid !important;
  }

  .site-header nav {
    display: none !important;
  }

  .site-header nav.is-open {
    display: grid !important;
  }
}

.asset-cover {
  object-fit: cover;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(1220px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 168px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: 154px;
  max-height: 38px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.site-header nav a {
  color: var(--teal);
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--teal);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2.5px auto;
  background: var(--teal);
}

.image-box {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  border-radius: 18px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-missing {
  min-height: 0;
  visibility: hidden;
}

.hero {
  background: #fff;
  padding: 0 0 32px;
}

.hero-inner {
  position: relative;
  width: min(1280px, 100%);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  aspect-ratio: 1917 / 1103;
  background-image: url("../images/reform_fv_pc.jpg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-inner::before {
  display: none;
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  margin: 0 0 0 0;
  padding: 30px 38px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero-copy p {
  margin: 0 0 2px;
  font-size: 22px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  color: #2f3737;
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-copy h1 span {
  white-space: nowrap;
}

.hero-copy em {
  color: var(--teal);
  font-style: normal;
}

.hero-copy strong {
  color: var(--orange);
  font-style: normal;
}

.hero-support {
  margin-top: 14px;
  color: #4f6060;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: 0;
  bottom: 80px;
  width: 50%;
  padding: 0 7.5% 0 5%;
  transform: translateY(-8px);
}

.hero-mobile-photo {
  display: none;
}

.diagnosis-card {
  width: min(100%, 390px);
  overflow: hidden;
  border-radius: 24px;
  background: #fafafa;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.diagnosis-head {
  display: grid;
  place-items: center;
  padding: 14px 16px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  line-height: 1.35;
}

.diagnosis-head span {
  position: relative;
  font-size: 12px;
}

.diagnosis-head span::before,
.diagnosis-head span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 1px;
  background: #fff;
}

.diagnosis-head span::before {
  right: calc(100% + 7px);
  transform: rotate(45deg);
}

.diagnosis-head span::after {
  left: calc(100% + 7px);
  transform: rotate(-45deg);
}

.diagnosis-head strong {
  font-size: 20px;
}

.diagnosis-body {
  padding: 20px 28px 24px;
}

.question {
  padding: 0 0 18px;
  margin-bottom: 16px;
  border-bottom: 2px dotted #dbe3e3;
}

.question h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
}

.question h3 span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 9px;
  font-weight: 900;
}

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

.option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 42px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #384646;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.option:hover,
.option.is-selected {
  border-color: var(--teal-2);
  box-shadow: 0 8px 18px rgba(15, 139, 141, 0.16);
  transform: translateY(-1px);
}

.option b {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.option small {
  display: block;
  color: #637272;
  font-size: 8.5px;
}

.icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.icon::before {
  color: currentColor;
  font-size: 22.5px;
  font-weight: 700;
  line-height: 1;
}

.icon-drop::before { content: "♢"; }
.icon-home::before { content: "⌂"; }
.icon-plan::before { content: "▣"; }
.icon-dots::before { content: "•••"; }
.icon-phone::before { content: "☎"; }
.icon-shield::before { content: "♢"; }
.icon-pin::before { content: "◎"; }
.icon-people::before { content: "♧"; }
.icon-book::before { content: "▣"; font-size: 15px; }
.icon-bulb::before { content: "♧"; font-size: 40.5px; }
.icon-paper::before { content: "▱"; font-size: 40.5px; }
.icon-glass::before { content: "○"; font-size: 40.5px; }
.icon-person::before { content: "♙"; font-size: 40.5px; }

.primary-button,
.outline-button,
.center-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0;
}

.primary-button {
  width: 100%;
  min-height: 50px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 18px rgba(255, 107, 26, 0.28);
}

.diagnosis-submit {
  border: 0;
  cursor: pointer;
}

.diagnosis-result-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(25, 42, 42, 0.58);
  overflow-y: auto;
}

.diagnosis-result-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  padding: 30px 34px 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  text-align: center;
  overflow-y: auto;
}

.diagnosis-result-close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #526161;
  background: #eef5f5;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.diagnosis-result-eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.diagnosis-result-modal h2 {
  margin: 0;
  color: #394444;
  font-size: 18px;
}

.diagnosis-result-logo {
  margin: 12px auto 0;
}

.diagnosis-result-logo .ranking-logo {
  width: min(210px, 75%);
  height: 68px;
  min-height: 68px;
  margin-top: 0;
}

.diagnosis-result-modal h3 {
  margin: 2px 0 10px;
  color: var(--teal);
  font-size: 24px;
}

.diagnosis-result-summary {
  margin: 0 auto 14px;
  color: #4b5959;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.diagnosis-result-selection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0 0 14px;
}

.diagnosis-result-selection span {
  padding: 5px 11px;
  border-radius: 999px;
  color: #527070;
  background: #eff8f8;
  font-size: 12px;
  font-weight: 800;
}

.diagnosis-result-modal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 15px 18px;
  border-radius: 10px;
  background: #f7fafa;
  list-style: none;
  text-align: left;
}

.diagnosis-result-modal li {
  position: relative;
  padding-left: 23px;
  color: #3d4b4b;
  font-size: 14px;
  font-weight: 700;
}

.diagnosis-result-modal li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.diagnosis-result-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 100%);
  min-height: 50px;
  margin: 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 107, 26, 0.24);
}

.diagnosis-result-retry {
  margin: 11px 0 0;
  padding: 3px 8px;
  border: 0;
  color: var(--teal);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.diagnosis-result-note {
  margin: 12px 0 0;
  color: #7b8787;
  font-size: 10.5px;
  line-height: 1.55;
}

.outline-button,
.center-button {
  color: var(--teal);
  background: #fff;
  border: 2px solid rgba(15, 139, 141, 0.55);
}

.outline-button::after,
.center-button::after,
.final-cta .primary-button::after {
  content: "›";
  margin-left: 12px;
  font-size: 19.5px;
  line-height: 0;
}

@keyframes news-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.section {
  padding: 86px 0;
}

.section-title {
  margin: 0 0 42px;
  color: var(--teal);
  font-size: clamp(20.25px, calc(3.2vw * 0.75), 27px);
  line-height: 1.45;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
}

.section-title span {
  color: var(--orange);
}

.section-title strong {
  color: var(--orange);
  font-size: 1.45em;
  line-height: 0;
}

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

.type-card,
.ranking-card,
.result-card,
.guide-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.type-card {
  padding: 18px;
  min-height: 355px;
  display: flex;
  flex-direction: column;
}

.type-main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.type-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 6.75px;
  line-height: 1.2;
  font-weight: 800;
}

.type-badge span {
  display: block;
  line-height: 1.2;
}

.careful .type-badge {
  background: #2369a8;
}

.local .type-badge {
  background: #61a84d;
}

.type-badge strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 0;
}

.type-card h3 {
  margin: 0;
  color: var(--teal);
  font-size: 19px;
  line-height: 1.25;
}

.careful h3 {
  color: #2369a8;
}

.local h3 {
  color: #61a84d;
}

.type-card p {
  margin: 2px 0 0;
  font-size: 10.5px;
  font-weight: 700;
}

.type-mini-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.type-mini-icons span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #536161;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.type-mini-icon {
  width: 16px;
  height: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.type-content {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-bottom: 14px;
}

.type-content > div:first-child {
  min-height: 88px;
}

.type-card h4 {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 13px;
}

.type-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.55;
}

.type-card li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.type-card li::before {
  content: "☑";
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--teal);
  font-size: 16px;
  line-height: inherit;
}

.worry-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-right: 6px;
  border: 2px solid var(--teal-2);
  border-radius: 50%;
  color: var(--teal);
  font-size: 9.75px;
}

.type-content .image-box {
  justify-self: end;
  width: 112px;
  height: 104px;
  min-height: 96px;
  border: 0;
  background: transparent;
}

.type-content .image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.type-points {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.type-points p {
  color: var(--teal);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.type-caution {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #536161;
}

.type-caution p {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.55;
}

.type-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  border: 2px solid rgba(15, 139, 141, 0.48);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.type-card-cta::after {
  content: "";
  margin-left: 8px;
  font-size: 18px;
  line-height: 0;
}

.type-section {
  padding-top: 64px;
  background: var(--warm);
}

.type-section-cta {
  padding: 16px 0;
  text-align: center;
}

.type-section-cta p {
  margin: 0 0 10px;
  color: #7b8787;
  font-size: 14px;
  font-weight: 800;
}

.type-section-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border: 1.5px solid var(--teal-2);
  border-radius: 999px;
  color: var(--teal);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.type-section-cta a:hover {
  color: #fff;
  background: var(--teal-2);
}

.note {
  margin: 22px 0 0;
  color: #6a7777;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.ranking-section {
  padding-top: 48px;
  background: linear-gradient(#fff, #fff 72%, var(--soft));
}

.sp-ranking-cta {
  display: none;
}

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

.ranking-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 18px 10px;
  min-height: 344px;
}

.rank-medal {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 17.25px;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.rank-1 {
  background: #d9b226;
}

.rank-2 {
  background: #aeb6bd;
}

.rank-3 {
  background: #b87545;
}

.type-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 34px;
  margin: 0 auto;
  padding: 6px 18px;
  border: 1px solid rgba(15, 139, 141, 0.28);
  border-radius: 999px;
  color: var(--teal);
  background: #eef8f8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 22px rgba(15, 139, 141, 0.14);
}

.ranking-card:first-child .type-label {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(15, 139, 141, 0.28);
}

.ranking-card:nth-child(2) .type-label {
  color: var(--teal);
  background: #eef8f8;
}

.ranking-card:nth-child(3) .type-label {
  color: var(--teal);
  background: #eef8f8;
}

.ranking-card:nth-child(4) .type-label {
  color: var(--teal);
  background: #eef8f8;
}

.ranking-logo {
  width: min(190px, 92%);
  height: 62px;
  min-height: 62px;
  margin-top: 22px;
  margin-left: auto;
  margin-right: auto;
  border: 0;
  background: transparent;
  background-image: var(--logo-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: visible;
}

.ranking-site-name {
  margin: 8px 0 0;
  color: #2f3737;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  white-space: nowrap;
}

.rating span {
  font-size: 9px;
  font-weight: 800;
}

.rating b {
  color: #ffb122;
  font-size: 12px;
  letter-spacing: 0;
}

.rating strong {
  font-size: 13.5px;
}

.ranking-desc {
  min-height: 76px;
  margin: 14px 0 12px;
  color: #666;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.ranking-desc span {
  color: var(--orange);
}

.spec-box {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.spec-box p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #536161;
  font-size: 9.75px;
  font-weight: 800;
}

.spec-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.spec-box b {
  color: var(--text);
}

.spec-label {
  color: #536161;
}

.outline-button {
  width: 100%;
  margin-top: 10px;
  min-height: 38px;
  font-size: 11.25px;
}

.ranking-card .outline-button,
.ranking-card:first-child .outline-button {
  color: #fff;
  background: var(--teal-2);
  border-color: var(--teal-2);
}

.ranking-card .outline-button:hover,
.ranking-card:first-child .outline-button:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.center-button {
  width: min(270px, 100%);
  margin: 28px auto 0;
  display: flex;
}

.btn-more-sites {
  color: var(--teal);
  background: rgba(24, 167, 167, 0.08);
  border: 1.5px solid var(--teal-2);
}

.btn-more-sites:hover {
  background: rgba(24, 167, 167, 0.16);
}

.ranking-note {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.worry-section {
  background: #fff;
}

.faq-section {
  background: var(--warm);
}

.worry-inner {
  display: grid;
  grid-template-columns: 460px 300px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 800px;
}

.worry-inner .section-title {
  margin-bottom: 26px;
  text-align: left;
}

.worry-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 900;
}

.worry-image {
  width: 300px;
  min-height: 268px;
  border: 0;
  background: transparent;
}

.result-section {
  padding-top: 20px;
  background: var(--warm);
}

.result-card {
  padding: 22px;
  text-align: left;
}

.result-card .image-box {
  width: 78px;
  height: 78px;
  min-height: 78px;
  flex: 0 0 78px;
  border: 0;
  background: transparent;
}

.result-person {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 14px;
  min-height: 104px;
  text-align: left;
}

.result-avatar {
  display: grid;
  justify-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.result-avatar p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.result-profile {
  min-height: auto;
}

.result-profile p {
  margin: 0;
  color: var(--teal);
  font-weight: 900;
  line-height: 1.65;
  font-size: 14px;
}

.result-card span {
  display: block;
  color: var(--teal);
  font-size: 10.5px;
  font-weight: 900;
}

.result-recommend {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f0f8f8;
  text-align: center;
}

.result-card h3 {
  margin: 4px 0 0;
  color: var(--teal);
  font-size: 20px;
  line-height: 1.25;
}

.result-site {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.result-site > span {
  font-size: 13px;
}

.result-site .ranking-logo {
  width: min(190px, 100%);
  height: 58px;
  min-height: 58px;
  margin-top: 8px;
}

.result-card strong {
  display: block;
  margin-top: 4px;
  color: #2f3737;
  font-size: 17px;
  line-height: 1.25;
}

.result-card .result-site-name {
  margin-top: 8px;
  color: #2f3737;
  font-size: 13px;
}

.result-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(15, 139, 141, 0.18);
}

.result-card-cta::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
  line-height: 0;
}

.result-cta {
  margin-top: 28px;
  text-align: center;
}

.result-cta p {
  margin: 0 0 10px;
  color: #6a7777;
  font-size: 16px;
  font-weight: 900;
}

.result-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  min-height: 52px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(255, 107, 26, 0.24);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}

.guide-card {
  display: grid;
  place-items: center;
  align-content: center;
  row-gap: 18px;
  min-height: 210px;
  padding: 26px 16px;
  color: var(--teal);
  text-align: center;
}

.guide-card .image-box {
  width: 82px;
  height: 82px;
  min-height: 82px;
  border: 0;
  border-radius: 0;
}

.guide-card h3 {
  margin: 0;
  color: #374141;
  font-size: 17px;
  line-height: 1.55;
}

.guide-card p {
  margin: 2px 0 0;
  color: #888;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.guide-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(980px, 100%);
  margin: 34px auto 0;
}

.guide-article-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px 28px;
  border: 1px solid rgba(15, 139, 141, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(14, 80, 82, 0.08);
}

.guide-article-card span {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--teal);
  background: #eef8f8;
  font-size: 11px;
  font-weight: 900;
}

.guide-article-card h3 {
  margin: 18px 0 0;
  color: #243333;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}

.guide-article-card p {
  margin: 14px 0 0;
  color: #526262;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.guide-article-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.faq-container {
  max-width: 800px;
}

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

.faq-item {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(14, 80, 82, 0.08);
}

.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 18px;
  border: 0;
  color: var(--teal);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.faq-item button b {
  font-size: 13px;
}

.faq-item i {
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 22px 18px 62px;
  color: #526262;
  font-size: 10.5px;
  font-weight: 700;
}

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

.faq-item.is-open i {
  transform: rotate(225deg);
}

.final-cta {
  padding: 72px 0 90px;
  background: #fff;
}

.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  min-height: 280px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #15999b, #0a7375);
}

.final-cta-text {
  position: relative;
  z-index: 2;
  padding: 48px 0 48px 58px;
  color: #fff;
}

.final-cta-text h2 {
  margin: 0 0 18px;
  font-size: clamp(21px, calc(3.6vw * 0.75), 29.25px);
  line-height: 1.55;
}

.final-cta-text p {
  margin: 0;
  font-size: 12.75px;
  font-weight: 800;
}

.final-cta-action {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 48px 58px 48px 24px;
}

.final-cta .primary-button {
  width: min(320px, 100%);
  min-height: 72px;
  font-size: 17.25px;
  border-radius: 8px;
}

.bottom-diagnosis-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 66px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-top: 1px solid #f1d8bf;
  background: linear-gradient(90deg, #fff8ec 0%, #fffaf1 42%, #fff6e7 100%);
  box-shadow: 0 -3px 16px rgba(84, 60, 36, 0.08);
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.bottom-diagnosis-cta.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1040px;
  width: 100%;
  padding: 0 24px;
}

.bottom-cta-label {
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 900;
  font-size: 15px;
  white-space: nowrap;
}

.bottom-cta-text {
  flex: 0 1 auto;
  margin: 0;
  color: #2f3737;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 190px;
  min-height: 42px;
  padding: 10px 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 26px rgba(255, 107, 26, 0.2);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.article-page {
  background:
    linear-gradient(180deg, rgba(247, 250, 250, 0.92), #fff 360px),
    #fff;
}

.article-hero {
  padding: 44px 0 54px;
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.1), rgba(255, 255, 255, 0.86)),
    var(--soft);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #6d7d7d;
  font-size: 11px;
  font-weight: 800;
}

.breadcrumbs span::before {
  content: "›";
  margin-right: 8px;
  color: var(--teal);
}

.article-hero-card {
  max-width: 900px;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #6a7777;
  font-size: 11px;
  font-weight: 900;
}

.article-meta span:first-child {
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
}

.article-hero-card h1 {
  margin: 0;
  color: #263535;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.38;
  letter-spacing: 0;
}

.article-hero-card > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4f6060;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.article-tags span {
  padding: 5px 11px;
  border: 1px solid rgba(15, 139, 141, 0.22);
  border-radius: 999px;
  color: var(--teal);
  background: #f1f9f9;
  font-size: 11px;
  font-weight: 900;
}

.article-body-section {
  padding: 56px 0 82px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  align-items: start;
  gap: 34px;
}

.article-content {
  min-width: 0;
}

.article-toc,
.article-diagnosis-cta,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(14, 80, 82, 0.08);
}

.article-toc {
  padding: 22px 24px;
  background: var(--soft);
}

.article-toc h2,
.sidebar-card h2 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 18px;
  line-height: 1.35;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  font-size: 13px;
  font-weight: 800;
}

.article-section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid #dce8e8;
}

.article-section h2 {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 3px solid #dce8e8;
  color: #263535;
  font-size: 24px;
  line-height: 1.45;
  position: relative;
}

.article-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 86px;
  height: 3px;
  background: var(--teal);
}

.article-section p {
  margin: 0;
  color: #425151;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
}

.article-section p + p {
  margin-top: 16px;
}

.article-section ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f5fbfb;
  list-style: none;
}

.article-section li {
  display: flex;
  gap: 10px;
  color: #334242;
  font-size: 14px;
  font-weight: 900;
}

.article-section li::before {
  content: "";
  margin-top: 0.62em;
  display: inline-grid;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
}

.article-diagnosis-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(135deg, #15999b, #0a7375);
}

.article-diagnosis-cta span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.article-diagnosis-cta h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.article-diagnosis-cta p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.article-diagnosis-cta .primary-button {
  min-height: 56px;
  box-shadow: 0 10px 20px rgba(255, 107, 26, 0.28);
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card p {
  margin: 0 0 16px;
  color: #536161;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.sidebar-card .outline-button {
  min-height: 42px;
  margin-top: 0;
  font-size: 11px;
}

.sidebar-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-card li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sidebar-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sidebar-card li a {
  display: block;
  color: #2f3737;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.sidebar-card li span {
  display: inline-flex;
  margin-top: 6px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
}

.articles-index-hero {
  padding-bottom: 48px;
}

.articles-index-title > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.articles-index-body {
  padding: 42px 0 84px;
  background: #fff;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.category-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 14px;
  border: 1px solid rgba(15, 139, 141, 0.24);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.category-filter a.is-active {
  color: #fff;
  background: var(--teal);
}

.featured-article-card,
.article-list-item {
  border: 1px solid #dce8e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 80, 82, 0.06);
}

.featured-article-card {
  display: block;
  padding: 28px 30px;
  margin-bottom: 38px;
  border-left: 5px solid var(--teal);
}

.featured-copy > span,
.article-card-top span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 10.5px;
  font-weight: 900;
}

.featured-copy h2 {
  margin: 14px 0 10px;
  color: #263535;
  font-size: 26px;
  line-height: 1.45;
}

.article-block-link {
  display: block;
  color: #536161;
  transition: background-color 0.2s ease;
}

.article-block-link:hover h2,
.article-block-link:hover h3 {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.featured-copy p {
  max-width: 760px;
  margin: 0;
  color: #536161;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.article-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  color: #718080;
  font-size: 11px;
  font-weight: 900;
}

.articles-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.articles-list-heading h2 {
  margin: 0;
  padding-left: 14px;
  border-left: 5px solid var(--teal);
  color: #263535;
  font-size: 26px;
  line-height: 1.3;
}

.articles-list-heading p {
  margin: 0;
  color: #718080;
  font-size: 12px;
  font-weight: 800;
}

.articles-list {
  display: grid;
  gap: 16px;
  border-top: 0;
}

.article-list-item {
  display: block;
  padding: 22px 24px;
}

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.article-card-top time {
  color: #778686;
  font-size: 10.5px;
  font-weight: 900;
}

.article-list-item h3 {
  margin: 0;
  color: #263535;
  font-size: 20px;
  line-height: 1.55;
}

.article-list-item p {
  margin: 12px 0 0;
  color: #536161;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 0;
}

.article-card-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--teal);
  background: #f1f9f9;
  font-size: 10px;
  font-weight: 900;
}

.legal-hero {
  padding-bottom: 44px;
}

.legal-hero-card {
  position: relative;
  overflow: hidden;
}

.legal-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--teal), var(--teal-2));
}

.legal-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--teal);
  background: #eefafa;
  font-size: 11px;
  font-weight: 900;
}

.legal-updated {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #637272;
  background: #f7fafa;
  font-size: 11px;
  font-weight: 800;
}

.legal-body-section {
  padding: 54px 0 86px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 300px;
  align-items: start;
  gap: 34px;
}

.legal-content,
.legal-side-note {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(14, 80, 82, 0.08);
}

.legal-content {
  padding: 36px 42px;
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #dce8e8;
}

.legal-section h2 {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--teal);
  color: #263535;
  font-size: 22px;
  line-height: 1.45;
}

.legal-section p {
  margin: 0;
  color: #465656;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
}

.legal-side-note {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.legal-side-note h2 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 17px;
  line-height: 1.45;
}

.legal-side-note p {
  margin: 0 0 18px;
  color: #536161;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
}

.phone-mock img {
  width: 100%;
  height: auto;
}

.footer {
  border-top: 1px solid var(--line);
  color: #8a9696;
  background: #fff;
}

.footer-note {
  padding: 22px 0;
  font-size: 9px;
  font-weight: 700;
}

.footer-inner {
  display: grid;
  grid-template-columns: 210px 1fr 190px;
  align-items: center;
  gap: 30px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-inner .footer-brand {
  justify-self: center;
  justify-content: center;
}

.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 9.75px;
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 1023px) {
  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .site-header nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 22px 18px;
    text-align: left;
    background: #fff;
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.12);
  }

  .site-header nav.is-open {
    display: grid;
    justify-items: stretch;
    gap: 0;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #e4eeee;
    color: var(--teal);
    text-align: left;
    font-size: 15px;
    font-weight: 900;
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }

  .menu-button {
    display: grid;
    align-content: center;
    flex: 0 0 42px;
  }

  .bottom-diagnosis-cta {
    height: 64px;
  }

  .bottom-cta-inner {
    gap: 12px;
    padding: 0 20px;
  }

  .bottom-cta-label {
    font-size: 13px;
  }

  .bottom-cta-text {
    font-size: 16px;
  }

  .bottom-cta-btn {
    min-width: 164px;
    min-height: 40px;
    padding: 9px 20px;
    font-size: 14px;
  }

  .hero {
    background: #fff;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
    aspect-ratio: 1917 / 1103;
    background-position: center center;
    background-size: contain;
  }

  .hero-inner::before {
    display: none;
  }

  .hero-photo-wrap {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    order: 1;
  }

  .hero-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 72px;
    width: 50%;
    justify-content: center;
    align-items: center;
    padding: 0 6.5% 0 4%;
    margin-top: 0;
    transform: translateY(-8px);
  }

  .diagnosis-card {
    width: min(100%, 380px);
  }

  .worry-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 580px;
  }

  .worry-inner .section-title {
    text-align: center;
  }

  .worry-image {
    width: min(300px, 78%);
    margin: 0 auto;
  }

  .type-grid,
  .result-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    margin: 0 auto;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .brand-logo {
    width: 158px;
    max-height: 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1917 / 1103;
    background-image: url("../images/reform_fv_pc.jpg");
    background-size: contain;
    background-position: center center;
  }

  .hero-inner::before {
    display: none;
  }

  .hero-photo-wrap {
    display: none;
  }

  .hero-copy {
    width: min(420px, 92%);
    max-width: none;
    padding: 22px 26px;
    order: initial;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.32;
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .hero-support,
  .hero-benefits {
    font-size: 14px;
  }

  .hero-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 56px;
    width: 50%;
    justify-content: center;
    align-items: center;
    padding: 0 4.5% 0 3%;
    margin-top: 0;
    transform: translateY(-10px);
  }

  .diagnosis-card {
    width: min(100%, 310px);
    border-radius: 18px;
  }

  .diagnosis-head {
    padding: 10px 14px;
  }

  .diagnosis-head span {
    font-size: 10px;
  }

  .diagnosis-head strong {
    font-size: 16px;
  }

  .diagnosis-body {
    padding: 12px 14px 15px;
  }

  .question {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .question h3 {
    gap: 7px;
    font-size: 11px;
  }

  .question h3 span {
    height: 21px;
    padding: 0 8px;
    font-size: 8px;
  }

  .option-grid {
    gap: 7px;
  }

  .option {
    min-height: 34px;
    padding: 4px 8px;
  }

  .option b {
    font-size: 12px;
  }

  .option small {
    font-size: 12px;
  }

  .primary-button {
    min-height: 40px;
    font-size: 12px;
  }

  .hero-mobile-photo {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 16px;
  }

  .type-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    max-width: none;
    margin: 0 auto;
  }

  .type-card {
    min-height: auto;
    padding: 18px;
  }

  .type-main {
    gap: 12px;
  }

  .type-badge {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .type-card h3 {
    font-size: 20px;
  }

  .type-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .type-mini-icons {
    gap: 6px;
    margin-top: 12px;
  }

  .type-mini-icons span {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .type-content {
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 12px;
    margin-top: 14px;
  }

  .type-content > div:first-child {
    min-height: auto;
  }

  .type-content .image-box {
    display: block;
    justify-self: end;
    width: 94px;
    height: 90px;
    min-height: 90px;
  }

  .type-card h4 {
    font-size: 15px;
  }

  .type-card ul {
    gap: 9px;
    font-size: 15.5px;
    line-height: 1.55;
  }

  .type-card li::before {
    font-size: 15px;
    margin-right: 8px;
  }

  .type-points p,
  .type-caution p {
    font-size: 13px;
  }

  .type-points {
    margin-top: 12px;
  }

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

  .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .guide-article-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .guide-article-card {
    min-height: 230px;
    padding: 22px 24px;
  }

  .guide-article-card span {
    padding: 4px 10px;
    font-size: 10px;
  }

  .guide-article-card h3 {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
  }

  .guide-article-card p {
    margin-top: 10px;
    font-size: 11.5px;
    line-height: 1.75;
  }

  .guide-article-card a {
    padding-top: 14px;
    font-size: 12px;
  }

  .guide-card {
    min-height: 172px;
    padding: 18px 10px;
    row-gap: 12px;
  }

  .guide-card .image-box {
    width: 62px;
    height: 62px;
    min-height: 62px;
  }

  .guide-card h3 {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 14px;
  }

  .result-card {
    padding: 16px;
  }

  .result-person {
    flex-direction: row;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    gap: 12px;
    min-height: 104px;
    text-align: left;
  }

  .result-card .image-box {
    width: 76px;
    height: 76px;
    min-height: 76px;
    margin: 0 auto;
  }

  .result-profile p {
    font-size: 12px;
    line-height: 1.55;
  }

  .worry-inner {
    grid-template-columns: minmax(0, 360px) 260px;
    gap: 28px;
    max-width: 688px;
  }

  .worry-inner .section-title {
    text-align: left;
  }

  .worry-list {
    font-size: 13px;
  }

  .worry-image {
    display: block;
    width: 260px;
    min-height: 230px;
  }

  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .final-cta-text {
    padding: 38px 0 38px 34px;
  }

  .final-cta-action {
    padding: 38px 34px 38px 18px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-side-note {
    position: static;
  }
}

@media (max-width: 820px) {
  .type-card.major .type-mini-icons span:first-child {
    display: none;
  }

  .type-content {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 12px;
  }

  .type-content > div:first-child {
    min-height: auto;
  }

  .type-content .image-box {
    display: block;
    justify-self: end;
    width: 96px;
    height: 92px;
    min-height: 92px;
  }
}

@media (max-width: 767px) {
  .diagnosis-result-overlay {
    align-items: start;
    padding: 14px;
  }

  .diagnosis-result-modal {
    max-height: calc(100dvh - 28px);
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .diagnosis-result-close {
    top: 8px;
    right: 9px;
    width: 32px;
    height: 32px;
  }

  .diagnosis-result-modal h2 {
    font-size: 16px;
  }

  .diagnosis-result-logo .ranking-logo {
    height: 58px;
    min-height: 58px;
  }

  .diagnosis-result-modal h3 {
    font-size: 21px;
  }

  .diagnosis-result-summary {
    font-size: 13px;
  }

  .diagnosis-result-modal li {
    font-size: 12.5px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    height: 64px;
  }

  .header-inner {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .brand {
    gap: 7px;
    font-size: 12px;
  }

  .brand-logo {
    width: 132px;
    max-height: 34px;
  }

  .footer-brand .brand-logo {
    width: 132px;
    max-height: 34px;
  }

  .menu-button {
    display: grid;
    align-content: center;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border-color: #b9d6d6;
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header nav {
    top: 64px;
    padding: 16px;
  }

  .hero-inner {
    min-height: 0;
    padding: 0;
    background-image: none;
    background-color: #fff;
    width: 100%;
    overflow: hidden;
    aspect-ratio: auto;
  }

  .hero-inner::before {
    display: none;
  }

  .hero-photo-wrap {
    order: 1;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 953 / 1032;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background-image: url("../images/reform_fv_sp.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow: none;
  }

  .hero-copy {
    display: none;
  }

  .hero-copy p {
    font-size: 15.75px;
  }

  .hero-copy h1 {
    font-size: 23px;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-support {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-benefits {
    gap: 2px 9px;
    margin-top: 6px;
    font-size: 12px;
  }

  .hero-panel {
    position: relative;
    order: 2;
    padding: 18px 16px 0;
    margin-top: 0;
    width: 100%;
    min-width: 0;
    transform: none;
  }

  .diagnosis-card {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  }

  .diagnosis-body {
    padding: 18px 16px 20px;
  }

  .question {
    min-width: 0;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .question h3 {
    justify-content: center;
    text-align: center;
    min-width: 0;
    font-size: 13px;
  }

  .option {
    min-width: 0;
    min-height: 42px;
    padding: 5px 6px;
  }

  .option > span {
    width: 100%;
    min-width: 0;
  }

  .option b {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .option small {
    font-size: 9.5px;
    overflow-wrap: anywhere;
  }

  .diagnosis-head strong {
    font-size: 15.75px;
  }

  .option-grid {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hero-mobile-photo {
    display: none;
  }

  .news-marquee-inner {
    display: inline-block;
    min-width: max-content;
    padding-left: 100%;
    animation: news-marquee 18s linear infinite;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 20.25px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .type-section-cta {
    display: none;
  }

  .type-section {
    padding-bottom: 14px;
  }

  .ranking-section {
    padding-top: 14px;
  }

  .ranking-section .section-title strong {
    display: block;
    margin-top: 8px;
    line-height: 1;
  }

  .sp-ranking-cta {
    display: block;
    width: 100vw;
    margin: 0 calc(50% - 50vw) 96px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--teal);
    text-align: center;
  }

  .sp-ranking-cta p {
    margin: 0;
    padding: 16px 16px 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
  }

  .sp-ranking-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0 0 16px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    font-size: 14px;
    font-weight: 900;
  }

  .type-card {
    padding: 18px;
    min-height: auto;
    overflow: hidden;
  }

  .type-card h3 {
    font-size: 18px;
  }

  .type-content {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 12px;
    margin-top: 12px;
    padding-bottom: 4px;
  }

  .type-content > div:first-child {
    min-height: auto;
  }

  .type-content .image-box {
    display: block;
    justify-self: end;
    width: 96px;
    height: 92px;
    min-height: 92px;
  }

  .type-card ul {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .type-card li {
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .type-card li::before {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin-right: 8px;
    font-size: 14px;
  }

  .type-points {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 2em;
    margin-top: 10px;
    padding-top: 10px;
  }

  .type-points h4 {
    flex: 0 0 100%;
    margin-bottom: 0;
  }

  .type-points p {
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .type-caution {
    margin-top: 9px;
    padding-top: 8px;
  }

  .type-caution h4 {
    margin-bottom: 3px;
  }

  .type-caution p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .ranking-grid {
    grid-template-columns: 1fr;
  }

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

  .guide-article-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .guide-article-card {
    min-height: auto;
    padding: 20px;
  }

  .guide-article-card h3 {
    font-size: 15px;
  }

  .guide-article-card p {
    font-size: 12px;
  }

  .ranking-card {
    min-height: auto;
    padding: 20px 18px;
    overflow: hidden;
  }

  .ranking-logo {
    width: min(178px, 82%);
    height: 58px;
    min-height: 58px;
    margin-top: 18px;
  }

  .ranking-desc {
    min-height: auto;
    margin: 14px auto 12px;
    max-width: 95%;
    text-align: center;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .spec-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .spec-box p {
    display: grid;
    grid-template-columns: 18px minmax(0, auto);
    grid-template-areas:
      "icon label"
      "icon value";
    justify-content: center;
    justify-items: start;
    align-items: center;
    min-width: 0;
    font-size: 10px;
    line-height: 1.45;
    column-gap: 6px;
    row-gap: 1px;
  }

  .spec-icon {
    grid-area: icon;
    align-self: center;
  }

  .spec-label {
    grid-area: label;
    font-size: 9.5px;
    line-height: 1.2;
  }

  .spec-box b {
    grid-area: value;
    font-size: 10.75px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .outline-button,
  .center-button,
  .primary-button {
    max-width: 100%;
  }

  .worry-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .worry-inner .section-title {
    text-align: center;
  }

  .worry-list {
    font-size: 12.5px;
    gap: 12px;
    width: min(100%, 330px);
    text-align: left;
  }

  .worry-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 0 10px;
    width: 100%;
  }

  .worry-list li::before {
    margin-right: 0;
  }

  .worry-image {
    display: none !important;
  }

  .result-card {
    padding: 20px;
    text-align: center;
  }

  .result-person {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
    min-height: auto;
    text-align: left;
  }

  .result-avatar {
    flex: 0 0 96px;
    gap: 6px;
    text-align: center;
  }

  .result-card .image-box {
    width: 86px;
    height: 86px;
    min-height: 86px;
    flex-basis: 86px;
    margin: 0 auto;
  }

  .result-avatar p {
    font-size: 13px;
  }

  .result-profile {
    flex: 0 1 auto;
  }

  .result-profile p {
    font-size: 13px;
    line-height: 1.55;
  }

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

  .result-card strong {
    font-size: 16px;
  }

  .result-site .ranking-logo {
    width: min(190px, 92%);
    height: 58px;
    min-height: 58px;
    margin-top: 8px;
  }

  .guide-card {
    min-height: 150px;
    padding: 14px 8px;
    row-gap: 8px;
  }

  .guide-card .image-box {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }

  .guide-card h3 {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .guide-article-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
  }

  .guide-article-card {
    min-height: auto;
    padding: 16px 16px 15px;
  }

  .guide-article-card span {
    padding: 4px 10px;
    font-size: 10px;
  }

  .guide-article-card h3 {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .guide-article-card p {
    margin-top: 9px;
    font-size: 11px;
    line-height: 1.65;
  }

  .guide-article-card a {
    padding-top: 12px;
    font-size: 11.5px;
  }

  .faq-item button {
    grid-template-columns: 28px 1fr 24px;
    padding: 10px 12px;
  }

  .faq-item button b {
    font-size: 12.5px;
  }

  .faq-item p {
    padding: 0 16px 16px;
  }

  .final-cta {
    padding: 48px 0 62px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-cta-text {
    padding: 34px 22px 12px;
  }

  .final-cta-text h2 {
    font-size: 18px;
    line-height: 1.6;
  }

  .final-cta-action {
    padding: 0 22px 30px;
    justify-content: center;
  }

  .final-cta .primary-button {
    width: 100%;
    min-height: 58px;
    font-size: 13.5px;
  }

  .bottom-diagnosis-cta {
    display: none;
  }

  .footer-note {
    font-size: 8.25px;
  }

  .footer-inner nav {
    gap: 14px 20px;
  }

  .article-hero {
    padding: 26px 0 38px;
  }

  .article-hero-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 20px;
    border-radius: 18px;
    overflow: hidden;
  }

  .article-hero-card h1 {
    font-size: 24px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .article-hero-card > p {
    font-size: 13px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }

  .article-body-section {
    padding: 42px 0 58px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
  }

  .article-content,
  .article-sidebar,
  .article-toc,
  .article-section,
  .article-diagnosis-cta,
  .sidebar-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .article-toc {
    padding: 20px;
  }

  .article-toc h2,
  .sidebar-card h2 {
    font-size: 16px;
  }

  .article-section {
    margin-top: 30px;
    padding: 28px 0 0;
  }

  .article-section h2 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .article-section p {
    font-size: 13px;
    line-height: 1.95;
    overflow-wrap: anywhere;
  }

  .article-section li {
    font-size: 12.5px;
    line-height: 1.6;
  }

  .article-diagnosis-cta {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
    text-align: center;
  }

  .article-diagnosis-cta span {
    margin-left: auto;
    margin-right: auto;
  }

  .article-diagnosis-cta h2 {
    font-size: 20px;
  }

  .article-diagnosis-cta .primary-button {
    width: 100%;
  }

  .article-sidebar {
    position: static;
  }

  .sidebar-card {
    padding: 20px;
  }

  .articles-index-body {
    padding: 34px 0 58px;
  }

  .category-filter {
    gap: 8px;
    margin-bottom: 20px;
  }

  .category-filter a {
    min-height: 31px;
    padding: 4px 11px;
    font-size: 10.5px;
  }

  .featured-article-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
    margin-bottom: 32px;
  }

  .featured-copy h2 {
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  .featured-copy p {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .articles-list-heading {
    display: block;
    margin-bottom: 16px;
  }

  .articles-list-heading h2 {
    font-size: 22px;
  }

  .articles-list-heading p {
    margin-top: 6px;
    font-size: 11px;
  }

  .article-list-item {
    padding: 18px 18px;
  }

  .article-list-item h3 {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .article-list-item p {
    font-size: 12px;
  }

  .legal-hero {
    padding-bottom: 36px;
  }

  .legal-body-section {
    padding: 38px 0 58px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-content {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-section + .legal-section {
    margin-top: 28px;
    padding-top: 24px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-section p {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .legal-side-note {
    position: static;
    padding: 20px;
    border-radius: 18px;
  }

  .legal-side-note h2 {
    font-size: 15.5px;
  }
}

@media (max-width: 400px) {
  .hero-copy p {
    font-size: 15px;
  }

  .hero-copy h1 {
    font-size: 21px;
    line-height: 1.3;
  }

  .hero-photo-wrap {
    min-height: 0;
    aspect-ratio: 950 / 1040;
    background-size: cover;
    background-position: center top;
  }

  .section {
    padding: 50px 0;
  }

  .type-card h3 {
    font-size: 17px;
  }

  .final-cta-text h2 {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    width: calc(100% - 20px);
  }

  .brand {
    gap: 5px;
    font-size: 11px;
  }

  .brand-logo {
    width: 118px;
  }

  .hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: 19px;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-support {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-benefits {
    font-size: 12px;
    gap: 2px 7px;
  }

  .bottom-diagnosis-cta p {
    font-size: 11px;
  }

  .bottom-diagnosis-cta a {
    min-width: 122px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
  }

  .diagnosis-head strong {
    font-size: 14px;
  }

  .hero-photo-wrap {
    min-height: 0;
    aspect-ratio: 950 / 1040;
    background-size: cover;
    background-position: center top;
  }

  .hero-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-copy {
    width: fit-content;
    max-width: calc(100% - 10px);
    margin-left: 0;
    margin-right: auto;
  }

  .option {
    min-height: 40px;
    padding: 5px;
  }

  .option b {
    font-size: 10.5px;
  }

  .option small {
    font-size: 8px;
  }

  .type-card ul {
    gap: 6px;
  }

  .type-content {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 8px;
  }

  .type-content .image-box {
    width: 82px;
    height: 78px;
    min-height: 78px;
  }

  .type-card li {
    font-size: 12.5px;
  }

  .type-points p,
  .type-caution p {
    font-size: 12.5px;
  }

  .section-title {
    font-size: 18px;
    line-height: 1.55;
  }

  .type-card,
  .ranking-card,
  .result-card {
    padding: 16px;
  }

  .faq-item button {
    grid-template-columns: 26px minmax(0, 1fr) 18px;
    gap: 8px;
  }
}
