:root {
  --navy: #12345a;
  --navy-2: #1d4f7d;
  --blue: #dcebf6;
  --blue-2: #edf6fb;
  --paper: #ffffff;
  --cream: #f5efe3;
  --line: #d9e2ea;
  --line-soft: #e8eef3;
  --text: #26384b;
  --muted: #68788a;
  --shadow: 0 10px 28px rgba(28, 55, 82, 0.08);
  --shadow-soft: 0 3px 12px rgba(28, 55, 82, 0.06);
  --container: 1136px;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(100%, 1210px);
  min-height: 72px;
  margin: 0 auto;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  flex: 0 0 auto;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.brand__mark img {
  width: 38px;
  height: 38px;
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.brand__tagline {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #24384c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav a,
.footer-nav a {
  transition: color 0.18s ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--navy-2);
}

.button {
  min-height: 44px;
  padding: 11px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(18, 52, 90, 0.06);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(18, 52, 90, 0.14);
}

.button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.button:focus-visible {
  outline: 3px solid rgba(127, 166, 200, 0.45);
  outline-offset: 3px;
}

.button.is-loading,
.button:disabled {
  opacity: 0.78;
  cursor: wait;
  pointer-events: none;
}

.button.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button-spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 999px;
  animation: button-spin 0.8s linear infinite;
  flex: 0 0 auto;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.button--primary:hover {
  background: #17456f;
  border-color: #17456f;
}

.button--secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
}

.button--secondary:hover {
  color: #17456f;
  background: #fff;
  border-color: #7fa6c8;
}

.button--small {
  min-height: 32px;
  padding: 7px 17px;
  font-size: 12px;
  border-width: 1px;
  border-radius: 4px;
}

.button--header {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  min-height: 650px;
  margin: 0 auto;
  padding: 70px clamp(32px, 6vw, 86px) 64px;
  display: flex;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(47vw, 560px);
  padding-bottom: 22px;
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.hero-title__mobile {
  display: none;
}

.hero-title__diagnosis {
  display: inline-block;
  margin-top: 8px;
}

.hero__copy p {
  margin-top: 22px;
  color: #56697d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.hero__copy .hero__label {
  margin: 0 0 15px;
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  padding: 0;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 28%, rgba(255, 255, 255, 0.36) 52%, rgba(255, 255, 255, 0) 76%);
  pointer-events: none;
}

.hero__visual picture,
.hero__visual img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__visual picture {
  display: block;
}

.hero__visual img {
  object-fit: contain;
  object-position: 68% bottom;
  border-radius: 0;
  box-shadow: none;
}

.section {
  padding: 38px 0 46px;
}

.section--blue {
  background: linear-gradient(180deg, #f4f9fc, #edf5fa);
}

.section--plain {
  background: #fff;
}

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

.section-title {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.section-title--small-gap {
  margin-bottom: 22px;
}

.section-title h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, rgba(208, 220, 230, 0), #d0dce6);
}

.section-title span:last-child {
  background: linear-gradient(90deg, #d0dce6, rgba(208, 220, 230, 0));
}

.section-lead {
  max-width: 760px;
  margin: -8px auto 24px;
  color: #52677b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  text-align: center;
}

.paper-card,
.status-card,
.diagnosis-card,
.service-card,
.article-card,
.flow-card,
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.check-card {
  position: relative;
  min-height: 214px;
  padding: 25px 28px 23px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-areas:
    "badge title"
    "icon list";
  column-gap: 16px;
  row-gap: 15px;
  align-items: start;
}

.number-badge {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-2);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.check-card .number-badge {
  position: static;
  grid-area: badge;
  justify-self: end;
  margin-top: 1px;
}

.check-card h3 {
  grid-area: title;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: left;
}

.line-icon {
  grid-area: icon;
  width: 74px;
  height: 72px;
  margin: 0;
  display: grid;
  place-items: center;
}

.line-icon img {
  width: 64px;
  height: 64px;
}

.tick-list {
  grid-area: list;
  display: grid;
  gap: 5px;
  color: #41546a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.check-card__text {
  grid-area: list;
  padding-top: 2px;
  color: #41546a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.tick-list li {
  position: relative;
  padding-left: 24px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--navy-2);
  border-bottom: 2px solid var(--navy-2);
  transform: rotate(-45deg);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.status-card {
  min-height: 246px;
  padding: 19px 22px 18px;
  text-align: center;
}

.status-card h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

.status-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: left;
}

.mini-illustration {
  width: 88px;
  height: 72px;
  margin: 12px auto 0;
  display: grid;
  place-items: center;
}

.mini-illustration img {
  width: 72px;
  height: 72px;
}

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

.diagnosis-card {
  min-height: 138px;
  padding: 20px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.diagnosis-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.diagnosis-card__icon img {
  width: 56px;
  height: 56px;
}

.diagnosis-card h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.diagnosis-card p {
  margin-top: 7px;
  color: #52677b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

.service-card {
  overflow: hidden;
  min-height: 275px;
  display: grid;
  grid-template-rows: 145px 1fr;
}

.service-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card div {
  padding: 17px 16px 18px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.service-card p {
  margin-top: 8px;
  color: #4d6074;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.article-card__body {
  position: relative;
  padding: 17px 21px 22px 54px;
  min-height: 176px;
}

.article-card__number {
  position: absolute;
  left: 20px;
  top: 19px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.article-card h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.article-card__body > p:not(.article-card__number) {
  margin-top: 8px;
  min-height: 48px;
  color: #43556a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.article-card .button {
  margin-top: 15px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 31px;
}

.flow-card {
  position: relative;
  min-height: 142px;
  padding: 21px 19px 20px 86px;
}

.flow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -23px;
  width: 20px;
  height: 20px;
  background: url("../svg/icon-arrow-right.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.flow-card .number-badge {
  position: absolute;
  left: 22px;
  top: 18px;
}

.flow-card__icon {
  position: absolute;
  left: 17px;
  top: 55px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.flow-card__icon img {
  width: 50px;
  height: 50px;
}

.flow-card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.flow-card p {
  margin-top: 8px;
  color: #4e6075;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.price-row {
  min-height: 47px;
  display: grid;
  grid-template-columns: 42% 20% 38%;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.price-row:nth-child(even) {
  background: #f8fbfd;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row > div {
  padding: 10px 21px;
}

.price-row__service {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.price-icon {
  width: 21px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.price-icon img {
  width: 23px;
  height: 23px;
}

.price-row__price {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.price-row__note {
  color: #4e6175;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.price-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  box-shadow: none;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  min-height: 54px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus,
.faq-item summary:active {
  outline: none;
  background: transparent;
}

.faq-item h3 {
  flex: 1;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.check-card h3,
.status-card h3,
.service-card h3,
.diagnosis-card h3,
.article-card h3,
.flow-card h3,
.faq-item h3 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

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

.faq-toggle {
  color: var(--navy-2);
  font-size: 23px;
  line-height: 1;
  transition: transform 0.28s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  box-sizing: border-box;
  overflow: hidden;
  opacity: 1;
  transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  will-change: height, opacity;
}

.faq-answer__inner {
  padding: 0 24px 17px 68px;
}

.faq-item.is-closing .faq-answer {
  opacity: 0;
}

.faq-item.is-opening .faq-answer {
  opacity: 1;
}

.faq-answer__inner p {
  color: #4e6175;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.bottom-cta {
  padding: 32px 0 37px;
  background: #fff;
}

.bottom-cta__inner {
  width: min(100% - 40px, 1178px);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  background: linear-gradient(90deg, #f9fbfd 0%, #f7fbfd 45%, #f5efe3 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.bottom-cta__copy {
  padding: 47px 54px 48px;
}

.bottom-cta h2 {
  color: var(--navy);
  font-size: clamp(24px, 2.35vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.bottom-cta p {
  margin-top: 18px;
  color: #43566a;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.bottom-cta__actions {
  margin-top: 27px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bottom-cta__image {
  height: 100%;
  min-height: 292px;
  background: #f5efe3;
}

.bottom-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.contact-form-section {
  padding: 54px 0 62px;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 42px;
}

.contact-form__intro {
  padding: 19px 0;
}

.contact-form__intro h2 {
  color: var(--navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.contact-form__intro p {
  margin-top: 20px;
  color: #52677b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.contact-form__card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.form-badge {
  padding: 2px 6px;
  color: #65778a;
  background: #edf3f7;
  border: 1px solid #d9e4ec;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.form-badge--required {
  color: #fff;
  background: var(--navy-2);
  border-color: var(--navy-2);
}

.form-input,
.form-textarea {
  width: 100%;
  color: var(--text);
  background: #fff;
  border: 1px solid #ccd9e3;
  border-radius: 4px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input {
  min-height: 44px;
  padding: 9px 11px;
}

.form-textarea {
  min-height: 148px;
  padding: 10px 11px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ba9b6;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #7fa6c8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(127, 166, 200, 0.18);
}

.form-note {
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 3px solid #aec7dc;
}

.contact-form__submit {
  margin-top: 22px;
}

.thanks-page {
  min-height: calc(100vh - 169px);
  padding: 78px 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7fbfd, #edf5fa);
}

.thanks-card {
  width: min(100%, 680px);
  padding: 52px 48px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  color: var(--navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.thanks-card p {
  margin-top: 20px;
  color: #52677b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.thanks-card__note {
  padding: 15px;
  background: #f5f9fc;
  border-left: 3px solid #aec7dc;
  text-align: left;
}

.thanks-card .button {
  margin-top: 28px;
}

.fixed-page {
  background: #fff;
}

.fixed-page__inner,
.article-page {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 28px 28px 54px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #738396;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--navy-2);
}

.page-hero {
  padding: 44px 0 34px;
}

.page-hero--policy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.page-hero__line {
  width: 48px;
  height: 2px;
  margin: 17px auto 15px;
  display: block;
  background: #b6c9d9;
}

.page-hero p {
  color: #4e6175;
  font-size: 14px;
  line-height: 1.95;
  text-align: left;
}

.policy-content {
  max-width: 1000px;
}

.policy-sections {
  display: grid;
  gap: 16px;
}

.policy-section {
  padding: 21px 25px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.policy-section h2 {
  position: relative;
  padding-left: 17px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.policy-section h2::before {
  content: "";
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 4px;
  background: var(--navy-2);
  border-radius: 4px;
}

.policy-section p {
  margin-top: 12px;
  color: #465a6e;
  font-size: 13px;
  line-height: 1.9;
}

.policy-section p + p {
  margin-top: 3px;
}

.policy-contact {
  margin-top: 25px;
  padding: 22px 34px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, #f4f9fc, #fff);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.policy-contact__icon {
  display: grid;
  place-items: center;
}

.policy-contact__icon img {
  width: 94px;
  height: 94px;
}

.policy-contact h2 {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: 0.06em;
}

.policy-contact p {
  margin-top: 8px;
  color: #4e6175;
  font-size: 13px;
  line-height: 1.85;
}

.policy-contact .button {
  margin-top: 14px;
}

.policy-date {
  margin-top: 22px;
  color: #65778a;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.fixed-page--article {
  background: #fff;
}

.article-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 34px;
  min-width: 0;
}

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

.article-header h1 {
  margin-top: 12px;
  color: var(--navy);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.52;
  letter-spacing: 0.05em;
}

.article-category {
  padding: 4px 9px;
  display: inline-flex;
  color: #fff;
  background: var(--navy-2);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-meta {
  margin-top: 12px;
  color: #738396;
  font-size: 12px;
}

.article-meta span {
  margin-left: 16px;
}

.article-lead {
  margin-top: 17px;
  color: #40556a;
  font-size: 14px;
  line-height: 1.95;
}

.article-eyecatch {
  width: 100%;
  margin-top: 21px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}

.article-section {
  margin-top: 20px;
  padding: 20px 21px;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.article-section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.article-section h2 span,
.toc-card a span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy-2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.article-section h3 {
  margin-top: 17px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.article-section p {
  margin-top: 9px;
  color: #4b5e72;
  font-size: 13px;
  line-height: 1.9;
}

.article-note,
.article-point {
  padding: 10px 13px;
  background: #f4f9fc;
  border: 1px solid #d7e5ef;
  border-radius: 4px;
}

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

.toc-card,
.article-sidebar-cta {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.toc-card h2,
.article-sidebar-cta h2 {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.toc-card a {
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #40556a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.toc-card a span {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.article-sidebar-cta {
  overflow: hidden;
  padding-bottom: 0;
  background: linear-gradient(180deg, #f6f1e8, #fff);
}

.article-sidebar-cta p {
  margin-top: 9px;
  color: #52677b;
  font-size: 12px;
  line-height: 1.8;
}

.article-sidebar-cta .button {
  margin-top: 13px;
}

.article-sidebar-cta img {
  width: calc(100% + 38px);
  margin: 18px -19px 0;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.article-table-wrap {
  width: 100%;
  max-width: 100%;
  margin-top: 12px;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  color: #40556a;
  font-size: 12px;
}

.article-table th,
.article-table td {
  padding: 8px 10px;
  border: 1px solid #d9e4ec;
}

.article-table th {
  color: var(--navy);
  background: #edf5fa;
  text-align: left;
}

.article-table th:first-child,
.article-table td:first-child,
.article-table th:last-child,
.article-table td:last-child {
  width: 60px;
  text-align: center;
}

.article-cta {
  margin-top: 20px;
  padding: 22px 24px;
  background: linear-gradient(90deg, #f7f1e6, #fff);
  border: 1px solid #ebe1d2;
  border-radius: 7px;
}

.article-cta h2 {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.article-cta p {
  margin-top: 9px;
  color: #52677b;
  font-size: 13px;
  line-height: 1.85;
}

.article-cta .button {
  margin-top: 13px;
}

.article-faq details {
  border-top: 1px solid var(--line-soft);
}

.article-faq details:first-of-type {
  margin-top: 13px;
}

.article-faq summary {
  padding: 11px 3px;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style-position: inside;
}

.article-faq details p {
  margin: 0;
  padding: 0 3px 12px;
}

.related-articles {
  margin-top: 32px;
}

.related-articles > h2 {
  color: var(--navy);
  font-size: 21px;
  letter-spacing: 0.06em;
}

.related-articles__grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-articles article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.related-articles img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-articles article div {
  padding: 15px;
}

.related-articles h3 {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
}

.related-articles p {
  margin-top: 7px;
  color: #52677b;
  font-size: 12px;
  line-height: 1.8;
}

.related-articles .button {
  margin-top: 12px;
}

.article-bottom-cta {
  margin-top: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  background: linear-gradient(90deg, #f8fbfd, #f6f1e8);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-bottom-cta > div {
  padding: 28px;
}

.article-bottom-cta h2 {
  color: var(--navy);
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.article-bottom-cta p {
  margin-top: 11px;
  color: #52677b;
  font-size: 13px;
  line-height: 1.85;
}

.article-bottom-cta__actions {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.article-bottom-cta > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 25px 0 22px;
  color: var(--navy);
  background: #f9fbfd;
  border-top: 1px solid var(--line-soft);
}

.site-footer__inner {
  width: min(100%, 1210px);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 46px;
}

.brand--footer .brand__mark {
  width: 39px;
  height: 39px;
}

.brand--footer .brand__name {
  font-size: 17px;
}

.footer-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 45px;
  color: #405266;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.copyright {
  margin-top: 15px;
  color: #9aa7b5;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1199px) {
  .hero__inner {
    width: min(100%, 720px);
    min-height: 0;
    padding: 52px 28px 44px;
    display: block;
  }

  .hero__copy {
    width: 100%;
    padding-bottom: 0;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-top: 38px;
    transform: none;
  }

  .hero__visual::after {
    display: none;
  }

  .hero__visual picture,
  .hero__visual img {
    height: auto;
  }

  .hero__visual img {
    object-fit: contain;
    object-position: center center;
  }
}

@media (max-width: 1120px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-nav {
    gap: 18px;
  }

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

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

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

  .bottom-cta__inner {
    grid-template-columns: 1fr;
  }

  .bottom-cta__image {
    min-height: 0;
  }

  .footer-nav {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 14px;
  }

  .site-header__inner {
    min-height: 64px;
    padding: 10px 18px;
  }

  .site-nav {
    display: none;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark img {
    width: 32px;
    height: 32px;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__tagline {
    font-size: 9px;
  }

  .button--header {
    display: none;
  }

  .hero__inner {
    padding: 42px 20px 38px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.55;
  }

  .hero__copy p {
    margin-top: 20px;
    font-size: 14px;
  }

  .hero__visual {
    margin-top: 28px;
  }

  .hero__visual img {
    box-shadow: none;
  }

  .section {
    padding: 35px 0 39px;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 20px;
  }

  .section-title span {
    display: none;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .check-grid,
  .article-grid,
  .service-grid,
  .status-grid,
  .diagnosis-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .section-lead {
    margin-top: -4px;
    font-size: 13px;
    text-align: left;
  }

  .check-card,
  .status-card,
  .flow-card {
    min-height: 0;
  }

  .flow-card {
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
      "badge title"
      "icon text";
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
  }

  .flow-card .number-badge {
    position: static;
    grid-area: badge;
    justify-self: center;
  }

  .flow-card__icon {
    position: static;
    grid-area: icon;
    width: 54px;
    height: 54px;
  }

  .flow-card h3 {
    grid-area: title;
  }

  .flow-card p {
    grid-area: text;
    margin-top: 0;
  }

  .service-card {
    grid-template-rows: auto;
  }

  .service-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .article-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 11px 0;
  }

  .price-row > div {
    padding: 2px 18px;
  }

  .price-row__note {
    padding-left: 52px;
  }

  .bottom-cta {
    padding: 22px 0 27px;
  }

  .bottom-cta__inner {
    width: min(100% - 28px, 680px);
  }

  .bottom-cta__copy {
    padding: 31px 24px 28px;
  }

  .bottom-cta h2 {
    font-size: 25px;
  }

  .site-footer__inner {
    padding: 0 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-nav {
    margin-left: 0;
    gap: 16px 22px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form__intro {
    padding: 0;
  }

  .fixed-page__inner,
  .article-page {
    padding: 20px 20px 38px;
  }

  .page-hero {
    padding: 33px 0 25px;
  }

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

  .policy-contact {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 22px;
  }

  .policy-contact__icon {
    display: none;
  }

  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 17px;
  }

  .article-content {
    order: 2;
    width: 100%;
    min-width: 0;
  }

  .article-sidebar {
    position: static;
    order: 1;
    width: 100%;
  }

  .article-sidebar-cta {
    display: none;
  }

  .toc-card {
    padding: 16px;
  }

  .toc-card a {
    margin-top: 8px;
  }

  .article-header h1 {
    font-size: 25px;
  }

  .article-section {
    padding: 17px;
  }

  .related-articles__grid {
    grid-template-columns: 1fr;
  }

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

  .article-bottom-cta > img {
    max-height: 250px;
  }
}

@media (max-width: 640px) {
  .hero-title__desktop {
    display: none;
  }

  .hero-title__mobile {
    display: inline;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 25px;
  }

  .hero__actions,
  .bottom-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .thanks-page {
    min-height: calc(100vh - 201px);
    padding: 48px 20px;
  }

  .thanks-card {
    padding: 36px 22px;
  }

  .thanks-card h1 {
    font-size: 24px;
  }

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

  .page-hero p {
    font-size: 13px;
  }

  .policy-section {
    padding: 18px;
  }

  .policy-section h2 {
    font-size: 17px;
  }

  .policy-contact .button,
  .article-cta .button {
    width: 100%;
  }

  .article-header h1 {
    font-size: 23px;
  }

  .article-lead {
    font-size: 13px;
  }

  .article-section h2 {
    align-items: flex-start;
    font-size: 16px;
  }

  .article-section h3 {
    font-size: 14px;
  }

  .article-bottom-cta > div {
    padding: 22px;
  }

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

  .article-bottom-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-section {
    padding: 39px 0 44px;
  }

  .contact-form__intro h2 {
    font-size: 23px;
  }

  .contact-form__intro p {
    margin-top: 15px;
    font-size: 13px;
  }

  .contact-form__card {
    padding: 20px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .check-card {
    padding: 25px 22px 23px;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .line-icon {
    width: 64px;
  }

  .article-card__body {
    padding-right: 18px;
  }

  .flow-card {
    padding-right: 17px;
  }
}
