:root {
  --blue: #0d6efd;
  --cyan: #00aaff;
  --ink: #202124;
  --muted: #5f6368;
  --line: #e6e9ee;
  --soft: #f6f7f9;
  --blue-soft: #eef5ff;
  --white: #fff;
  --shadow: 0 18px 50px rgba(22, 37, 66, 0.09);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: space-between;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 24px;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  color: #fff;
  padding: 9px 18px;
}

.hero {
  background:
    radial-gradient(circle at 88% 0%, rgba(13, 110, 253, 0.16), transparent 30%),
    linear-gradient(135deg, #f6f7fb 0%, #fff 72%);
  overflow: hidden;
  padding: 104px 0 96px;
  position: relative;
}

.hero::after {
  background-image: radial-gradient(rgba(13, 110, 253, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
  height: 160px;
  opacity: 0.55;
  position: absolute;
  right: -20px;
  top: 30px;
  width: 220px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero h1 span {
  display: inline-block;
  white-space: nowrap;
}

.hero-lead {
  color: #4d5156;
  font-size: clamp(18px, 2vw, 21px);
  margin-bottom: 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 32px;
}

.hero-points li {
  background: var(--white);
  border: 1px solid #d9e7fb;
  border-radius: 999px;
  color: #25507f;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
}

.hero-points li::before {
  color: var(--blue);
  content: "✓";
  margin-right: 6px;
}

.hero-action {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

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

.btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.2);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 15px 30px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover,
.btn:focus-visible {
  opacity: 0.88;
  transform: translateY(-2px);
}

.price-highlight {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.price-kicker {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.price-value {
  color: var(--ink);
  line-height: 1.2;
  margin: 8px 0 18px;
}

.price-value strong {
  color: var(--blue);
  font-size: 54px;
  letter-spacing: -0.04em;
}

.price-highlight > p:last-of-type {
  color: var(--muted);
  font-size: 14px;
}

.mini-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
}

.mini-list span {
  font-size: 14px;
  font-weight: 700;
}

.mini-list span::before {
  color: var(--blue);
  content: "✓";
  margin-right: 8px;
}

.section {
  padding: 92px 0;
}

.gray {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 38px;
  max-width: 720px;
}

h2 {
  font-size: clamp(29px, 4vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 14px;
}

.section-heading > p:last-child,
.faq-layout > div:first-child > p:last-child {
  color: var(--muted);
}

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

.trouble-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  min-height: 116px;
  padding: 20px;
}

.trouble-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trouble-card p {
  font-weight: 700;
  line-height: 1.65;
}

.section-message {
  background: var(--blue-soft);
  border-radius: 16px;
  color: #24527f;
  font-size: 20px;
  margin-top: 24px;
  padding: 20px;
  text-align: center;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.text-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(20, 35, 60, 0.06);
  padding: 34px;
}

.text-panel p + p {
  margin-top: 16px;
}

.question {
  color: #24527f;
  font-size: 20px;
  font-weight: 800;
}

.text-link {
  color: #24527f;
  display: inline-block;
  font-weight: 800;
  margin-top: 22px;
  text-decoration: underline;
  text-decoration-color: #b8d2f4;
  text-underline-offset: 5px;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 180px;
  padding: 24px;
}

.service-card:nth-child(10) {
  background: var(--blue-soft);
  border-color: #d5e6fc;
  grid-column: span 3;
  min-height: auto;
}

.service-no {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

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

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}

.price-card.featured {
  border: 2px solid var(--blue);
  position: relative;
}

.price-card.featured::before {
  background: var(--blue);
  border-radius: 999px;
  color: #fff;
  content: "小さな修正に";
  font-size: 12px;
  font-weight: 800;
  left: 24px;
  padding: 4px 12px;
  position: absolute;
  top: -14px;
}

.price-type {
  font-size: 18px;
  font-weight: 800;
}

.card-price {
  line-height: 1.2;
  margin: 16px 0;
}

.card-price strong {
  font-size: 38px;
  letter-spacing: -0.03em;
}

.card-price.estimate strong {
  font-size: 32px;
}

.price-card > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.price-note {
  background: #fff;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  margin-top: 24px;
  padding: 22px 24px;
}

.price-note p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

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

.flow-list li {
  border-top: 3px solid var(--blue);
  padding: 22px 8px 0 0;
}

.flow-list li > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flow-list h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 12px 0 8px;
}

.flow-list p {
  color: var(--muted);
  font-size: 14px;
}

.brand-section {
  background: #fff;
  padding-top: 24px;
}

.brand-card {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 24px;
  display: grid;
  gap: 56px;
  grid-template-columns: 0.65fr 1.35fr;
  padding: 54px;
}

.brand-logo-wrap {
  align-items: center;
  background: #fff;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: 26px;
}

.brand-card h2 {
  font-size: 30px;
}

.brand-card p {
  color: #4d5965;
}

.faq-layout {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 20px 50px 20px 22px;
  position: relative;
}

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

.faq-list summary::before {
  color: var(--blue);
  content: "Q.";
  margin-right: 8px;
}

.faq-list summary::after {
  color: var(--blue);
  content: "+";
  font-size: 22px;
  position: absolute;
  right: 22px;
  top: 16px;
}

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

.faq-list details p {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 18px 22px 20px;
}

.final-cta {
  background: #111;
  color: #fff;
  padding: 92px 0;
  text-align: center;
}

.cta-inner {
  max-width: 760px;
}

.final-cta h2 {
  font-size: clamp(30px, 4.5vw, 44px);
}

.final-cta > .container > p:not(.section-label) {
  color: #d7d7d7;
  margin: 14px 0 28px;
}

.btn-light {
  background: #fff;
  box-shadow: none;
  color: #111;
}

.final-cta small {
  color: #aaa;
  display: block;
  margin-top: 12px;
}

.footer {
  color: #777;
  font-size: 13px;
  padding: 30px 20px;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

@media (max-width: 920px) {
  .nav {
    gap: 14px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .price-highlight {
    max-width: 560px;
  }

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

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

  .service-card:nth-child(10) {
    grid-column: span 2;
  }

  .split-layout,
  .faq-layout {
    gap: 34px;
    grid-template-columns: 1fr;
  }

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

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

  body {
    font-size: 15px;
  }

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

  .header-inner {
    height: 66px;
  }

  .logo img {
    height: 34px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 7px 14px;
  }

  .hero {
    padding: 66px 0 62px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.23;
  }

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

  .hero-lead br {
    display: none;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    font-size: 13px;
    padding: 6px 11px;
  }

  .hero-action {
    display: grid;
  }

  .btn {
    padding: 14px 22px;
    width: 100%;
  }

  .price-highlight {
    border-radius: 20px;
    padding: 26px;
  }

  .price-value strong {
    font-size: 48px;
  }

  .section {
    padding: 68px 0;
  }

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

  h2 {
    font-size: 28px;
  }

  .trouble-grid,
  .service-grid,
  .price-cards,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .trouble-card {
    min-height: auto;
    padding: 17px;
  }

  .section-message {
    font-size: 17px;
  }

  .text-panel {
    padding: 24px;
  }

  .question {
    font-size: 18px;
  }

  .service-card,
  .service-card:nth-child(10) {
    grid-column: auto;
    min-height: auto;
    padding: 22px;
  }

  .service-no {
    margin-bottom: 12px;
  }

  .price-card {
    padding: 26px;
  }

  .flow-list {
    gap: 12px;
  }

  .flow-list li {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: 34px 1fr;
    padding: 18px 0 0;
  }

  .flow-list h3 {
    margin-top: 0;
  }

  .brand-section {
    padding-top: 8px;
  }

  .brand-card {
    gap: 28px;
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .brand-logo-wrap {
    min-height: 120px;
  }

  .brand-card h2 {
    font-size: 27px;
  }

  .faq-list summary {
    padding: 18px 46px 18px 18px;
  }

  .faq-list details p {
    padding: 16px 18px 18px;
  }

  .final-cta {
    padding: 72px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
