:root {
  --ink: #101828;
  --muted: #667085;
  --subtle: #eef2f6;
  --line: #d9e0e8;
  --paper: #ffffff;
  --warm: #f7f4ee;
  --navy: #10213f;
  --blue: #2b5ca8;
  --blue-dark: #1d447f;
  --aqua: #1f9ea6;
  --shadow: 0 22px 70px rgba(16, 33, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 224, 232, 0.65);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(16, 33, 63, 0.08);
}

.header-inner,
.section-shell,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  margin-right: auto;
}

.brand img {
  width: 154px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  padding: 148px 0 86px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #eef6f7 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 62px;
}

.hero-copy,
.hero-visual,
.section-heading,
.problem-grid,
.profile-body,
.contact-form {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: #445164;
  font-size: 18px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(43, 92, 168, 0.25);
}

.button-primary:hover {
  background: var(--blue-dark);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 660px;
  margin: 0;
}

.hero-proof div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-proof dt {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.insight-card {
  position: absolute;
  width: min(260px, 62%);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 33, 63, 0.14);
  backdrop-filter: blur(16px);
}

.insight-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-card strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.insight-card-top {
  top: 28px;
  left: -28px;
}

.insight-card-bottom {
  right: -22px;
  bottom: 34px;
}

.section-block {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.profile h2,
.contact-copy h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.profile-body p {
  color: var(--muted);
  font-size: 16px;
}

.problem-section {
  padding: 76px 0;
  color: #fff;
  background: var(--navy);
}

.problem-section .section-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.problem-section .eyebrow,
.problem-section h2 {
  color: #fff;
}

.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.problem-grid span {
  color: #79d3d8;
  font-weight: 800;
}

.problem-grid h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.problem-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.service-card,
.plan-card,
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(16, 33, 63, 0.07);
}

.service-card {
  padding: 30px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.service-card h3,
.plan-card h3,
.step-list h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
}

.service-card p,
.plan-card p,
.step-list p {
  color: var(--muted);
}

.service-card ul,
.plan-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.plan-card li {
  position: relative;
  padding-left: 20px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

.service-card li::before,
.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--aqua);
  border-radius: 50%;
}

.muted-block {
  background: var(--warm);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.profile-body {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: 8px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.profile-tags span {
  padding: 8px 12px;
  color: var(--navy);
  background: #eef6f7;
  border: 1px solid #cbe4e6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 24px;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 10px 34px rgba(16, 33, 63, 0.07);
}

.step-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.plans {
  background: #f8fafc;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
}

.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 24px 70px rgba(43, 92, 168, 0.17);
}

.recommended {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.plan-card strong {
  display: block;
  margin: 8px 0 20px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.plan-card strong span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.plan-card.featured a {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy h2,
.contact-copy .eyebrow {
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  color: var(--ink);
}

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

.contact-form span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  line-height: 1.5;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(43, 92, 168, 0.18);
  border-color: var(--blue);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.form-message.is-success {
  color: #067647;
}

.form-message.is-error {
  color: #b42318;
}

.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 142px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(16, 33, 63, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue);
}

.back-to-top span {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.page-hero {
  padding: 148px 0 78px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #eef6f7 100%);
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.9vw, 64px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: #445164;
  font-size: 18px;
  line-height: 2;
}

.blog-section {
  background: #f8fafc;
}

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

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-card,
.sidebar-block,
.article-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(16, 33, 63, 0.07);
}

.blog-card a {
  display: block;
  padding: 30px;
}

.blog-card.is-placeholder {
  padding: 30px;
  opacity: 0.74;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--subtle);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.blog-meta span {
  color: var(--muted);
}

.blog-card h2,
.sidebar-block h2,
.article-body h2,
.article-cta h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

.blog-card p,
.sidebar-block p,
.article-body p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.blog-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.sidebar-block {
  padding: 26px;
}

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

.sidebar-block li {
  padding-bottom: 10px;
  color: #475467;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.sidebar-block .button {
  width: 100%;
  margin-top: 8px;
}

.article-page {
  background: #fff;
}

.article-hero {
  padding: 148px 0 70px;
  background: var(--warm);
}

.article-shell {
  max-width: 820px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.article-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.8vw, 60px);
}

.article-hero p {
  margin-bottom: 0;
  color: #445164;
  font-size: 18px;
  line-height: 2;
}

.article-body {
  padding-top: 72px;
  padding-bottom: 96px;
}

.article-body p {
  font-size: 17px;
  line-height: 2.05;
}

.article-figure {
  margin: 0 0 42px;
}

.article-figure:not(:first-child) {
  margin-top: 42px;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(16, 33, 63, 0.12);
}

.article-body h2 {
  margin-top: 44px;
  font-size: 28px;
}

.article-body blockquote {
  margin: 42px 0;
  padding: 28px 30px;
  color: var(--navy);
  background: #eef6f7;
  border-left: 4px solid var(--aqua);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.8;
}

.article-cta {
  margin-top: 54px;
  padding: 32px;
}

.article-cta p {
  margin-bottom: 22px;
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
  }

  .mobile-nav {
    display: none;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 18px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(16, 33, 63, 0.12);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 12px 10px;
    color: var(--navy);
    font-weight: 800;
  }

  .hero-inner,
  .problem-section .section-shell,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 122px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-visual img {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .insight-card-top {
    left: 18px;
  }

  .insight-card-bottom {
    right: 18px;
  }

  .service-grid,
  .plan-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-shell,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 28px), 1120px);
  }

  .brand img {
    width: 136px;
  }

  .hero {
    padding: 112px 0 64px;
  }

  .page-hero,
  .article-hero {
    padding: 112px 0 62px;
  }

  .hero-inner {
    gap: 38px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.22;
    word-break: break-all;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .insight-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .section-block,
  .problem-section {
    padding: 72px 0;
  }

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

  .section-heading h2,
  .profile h2,
  .contact-copy h2 {
    font-size: 30px;
  }

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

  .service-card,
  .plan-card,
  .profile-body,
  .contact-form,
  .blog-card a,
  .blog-card.is-placeholder,
  .sidebar-block,
  .article-cta {
    padding: 24px;
  }

  .article-body {
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body blockquote {
    padding: 22px;
    font-size: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
