:root {
  --navy: #102f54;
  --navy-deep: #09233f;
  --coral: #ef6f5b;
  --coral-dark: #b64331;
  --paper: #fffdf9;
  --cream: #f4eee5;
  --sky: #e9f2f7;
  --ink: #203851;
  --muted: #607185;
  --line: rgba(16, 47, 84, 0.16);
  --shadow: 0 24px 70px rgba(16, 47, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 13px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  display: block;
  width: 190px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.header-cta,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--coral-dark);
  box-shadow: 0 10px 25px rgba(182, 67, 49, 0.18);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.header-cta {
  min-height: 46px;
  padding-inline: 20px;
  margin-left: 6px;
  flex: none;
  font-size: 12px;
}

.button:hover,
.header-cta:hover {
  background: #a83b2b;
  box-shadow: 0 14px 32px rgba(182, 67, 49, 0.23);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(16, 47, 84, 0.34);
  box-shadow: none;
}

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

.breadcrumbs {
  padding-block: 17px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 7px;
  color: rgba(16, 47, 84, 0.35);
  content: "/";
}

.breadcrumbs a {
  text-underline-offset: 3px;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(16, 47, 84, 0.06);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 9%, rgba(239, 111, 91, 0.16), transparent 26%),
    linear-gradient(135deg, #fffdf9 10%, #f4eee5 100%);
}

.seo-hero::after {
  position: absolute;
  right: -180px;
  bottom: -240px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(16, 47, 84, 0.13);
  border-radius: 50%;
  content: "";
}

.seo-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: 72px;
  padding-block: 78px 88px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 32px;
  height: 2px;
  margin: 0 11px 3px 0;
  background: var(--coral);
  content: "";
}

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

h1,
h2,
h3 {
  color: var(--navy);
}

.seo-hero h1 {
  margin-bottom: 25px;
  font-size: clamp(42px, 5.8vw, 68px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.055em;
}

.seo-hero h1 em {
  position: relative;
  z-index: 0;
  font-style: normal;
  white-space: nowrap;
}

.seo-hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.05em;
  left: -0.02em;
  height: 0.18em;
  background: rgba(239, 111, 91, 0.52);
  content: "";
}

.hero-lead {
  margin-bottom: 28px;
  color: #415871;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.hero-card {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(16, 47, 84, 0.14);
  border-radius: 28px 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 8px;
  border-radius: 0 8px 0 8px;
  background: var(--coral);
  content: "";
}

.hero-card-label {
  display: block;
  margin-bottom: 7px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-card h2 {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.5;
}

.hero-card > p {
  color: var(--muted);
  font-size: 13px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 25px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fact-list li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.fact-list strong {
  color: var(--navy);
}

.fact-list span {
  color: var(--muted);
}

.hero-image-card {
  min-height: 490px;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  object-position: 62% center;
}

.hero-image-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #fff;
  background: rgba(9, 35, 63, 0.82);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.page-outline {
  overflow: hidden;
  padding: 0;
}

.outline-head {
  padding: 28px 30px;
  color: #fff;
  background: var(--navy);
}

.outline-head span {
  color: #ffb4a8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.outline-head strong {
  display: block;
  margin-top: 5px;
  font-size: 23px;
}

.outline-body {
  display: grid;
  gap: 14px;
  padding: 28px 30px 32px;
}

.outline-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.outline-row b {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--coral-dark);
  background: rgba(239, 111, 91, 0.14);
  font-size: 11px;
}

.section {
  padding-block: 100px;
}

.section.alt {
  background: var(--cream);
}

.section.navy {
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--navy);
  background-size: 58px 58px;
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .section-kicker::before {
  display: none;
}

.section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.045em;
}

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

.section.navy .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.cards-3,
.cards-2,
.use-grid,
.link-grid {
  display: grid;
  gap: 20px;
}

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

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

.info-card {
  min-height: 100%;
  padding: 33px 30px;
  border: 1px solid var(--line);
  border-radius: 20px 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 47, 84, 0.06);
}

.info-card .num,
.process-card .num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 19px;
  border-radius: 50%;
  color: #fff;
  background: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.info-card h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.55;
}

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

.section.navy .info-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section.navy .info-card p {
  color: rgba(255, 255, 255, 0.7);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card.recommended {
  border: 2px solid var(--coral);
}

.price-card .badge {
  position: absolute;
  top: 15px;
  right: -36px;
  width: 150px;
  padding: 6px;
  color: #fff;
  background: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  transform: rotate(35deg);
}

.price-card > span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.price-card h3 {
  margin: 5px 0 18px;
  font-size: 26px;
}

.price-line {
  display: flex;
  align-items: end;
  gap: 9px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}

.price-line small {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.price-line strong {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.price-line b {
  padding-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed var(--line);
  color: #415871;
  font-size: 13px;
}

.check-list li::before {
  position: absolute;
  left: 2px;
  color: var(--coral-dark);
  content: "✓";
  font-weight: 900;
}

.price-note {
  margin: -10px 0 23px;
  color: var(--muted);
  font-size: 10px;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px 6px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(16, 47, 84, 0.06);
}

.comparison {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--navy);
  background: var(--cream);
  font-weight: 900;
}

.comparison tr:last-child th,
.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison td strong {
  color: var(--coral-dark);
}

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

.use-box {
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: 18px 6px;
  background: #fff;
}

.use-box.good {
  border-top: 5px solid #2e8063;
}

.use-box.caution {
  border-top: 5px solid var(--coral-dark);
}

.use-box h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.use-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.use-box li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.process-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 16px 5px;
  background: #fff;
}

.process-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

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

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 46px 22px 4px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  content: "+";
  font-size: 18px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 52px 24px 4px;
  color: var(--muted);
  font-size: 14px;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: 90px;
  color: #fff;
  background: var(--navy);
  text-align: center;
}

.cta-section::before,
.cta-section::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.cta-section::before {
  top: -140px;
  left: -120px;
  width: 370px;
  height: 370px;
}

.cta-section::after {
  right: -130px;
  bottom: -190px;
  width: 430px;
  height: 430px;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 17px;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.45;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 27px;
}

.line-button {
  background: #06c755;
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.18);
}

.line-button:hover {
  background: #05ad4a;
}

.contact-sub {
  margin: 18px 0 0;
  font-size: 11px;
}

.contact-sub a {
  color: #fff;
  text-underline-offset: 3px;
}

.related-section {
  padding-block: 62px;
  border-top: 1px solid var(--line);
  background: var(--sky);
}

.related-section h2 {
  margin-bottom: 21px;
  font-size: 22px;
}

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

.related-link {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 13px 4px;
  color: var(--navy);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.related-link span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.related-link:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.site-footer {
  padding-top: 54px;
  color: #fff;
  background: var(--navy-deep);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 185px;
}

.footer-brand p,
.footer-info p,
.footer-info a {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.footer-info {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 17px;
  max-width: 660px;
  margin-top: 13px;
}

.footer-links a {
  color: #fff;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.1em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .seo-hero-inner {
    grid-template-columns: 1fr 0.78fr;
    gap: 35px;
  }

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

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

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 15px;
    line-height: 1.85;
  }

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

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 148px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 15px;
    font-size: 11px;
  }

  .breadcrumbs {
    padding-block: 12px;
    line-height: 1.6;
  }

  .seo-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 58px 66px;
  }

  .seo-hero h1 {
    font-size: clamp(38px, 10.7vw, 46px);
    line-height: 1.28;
  }

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

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

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 30px 24px;
  }

  .hero-image-card,
  .hero-image-card img {
    min-height: 410px;
  }

  .fact-list li {
    grid-template-columns: 82px 1fr;
  }

  .section {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .cards-3,
  .cards-2,
  .price-grid,
  .use-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .price-card,
  .use-box {
    padding: 28px 23px;
  }

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

  .faq-list details p {
    margin-right: 4px;
  }

  .cta-section {
    padding-block: 74px;
  }

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

  .related-section {
    padding-block: 52px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .footer-info {
    text-align: left;
  }

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

  .footer-bottom {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
