:root {
  --navy: #0b2545;
  --blue: #0f6fb4;
  --green: #1f9a7a;
  --orange: #f28c28;
  --orange-dark: #d96f08;
  --ink: #172033;
  --muted: #5d6a7c;
  --line: #dfe8f0;
  --soft-blue: #eef7ff;
  --soft-green: #effaf6;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(11, 37, 69, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 232, 240, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(223, 232, 240, 0.92);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.1);
}

.brand-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.footer-logo {
  display: block;
  width: min(220px, 78vw);
  height: auto;
  padding: 10px 12px;
  background: var(--white);
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

.section {
  padding: 92px 0;
  background: var(--white);
}

.section-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.94), rgba(13, 93, 141, 0.88)),
    radial-gradient(circle at top right, rgba(31, 154, 122, 0.55), transparent 38%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1,
.hero-copy p,
h2 {
  overflow-wrap: anywhere;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: 0;
}

.sp-break {
  display: none;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(242, 140, 40, 0.28);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-notes span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.phone-mock {
  position: absolute;
  right: 64px;
  top: 0;
  width: 280px;
  padding: 16px;
  background: #f8fbff;
  border: 9px solid #102947;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 80px;
  height: 6px;
  margin: 0 auto 14px;
  background: #c5d3df;
  border-radius: 999px;
}

.map-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #dff3ff, #ecfff7);
  border-radius: 18px;
}

.map-line {
  position: absolute;
  height: 4px;
  background: rgba(15, 111, 180, 0.22);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.line-one {
  width: 270px;
  left: -28px;
  top: 86px;
}

.line-two {
  width: 250px;
  left: 22px;
  top: 170px;
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  left: 118px;
  top: 96px;
  width: 34px;
  height: 34px;
  background: var(--orange);
  border: 7px solid var(--white);
  border-radius: 50% 50% 50% 4px;
  box-shadow: 0 10px 22px rgba(217, 111, 8, 0.28);
  transform: rotate(-45deg);
}

.map-result {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(223, 232, 240, 0.9);
  border-radius: 14px;
}

.map-result strong,
.map-result span {
  display: block;
}

.map-result span {
  color: var(--muted);
  font-size: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.metric-row div {
  padding: 12px;
  color: var(--ink);
  background: #eef7ff;
  border-radius: 14px;
}

.metric-row span,
.metric-row strong {
  display: block;
  line-height: 1.2;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
}

.metric-row strong {
  margin-top: 4px;
  color: var(--green);
  font-size: 22px;
}

.ai-panel {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 320px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.ai-panel p {
  margin: 0 0 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ai-chip {
  display: inline-flex;
  margin: 5px 5px 0 0;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--soft-green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.section-lead {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.problem-card {
  padding: 22px;
  color: var(--navy);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.contrast {
  background: linear-gradient(180deg, #f4faff, #ffffff);
}

.split,
.support-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.belief-box {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.marker {
  display: inline;
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(transparent 58%, #ffe49c 58%);
}

.belief-box p:last-child {
  margin-bottom: 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.step-grid article,
.service-card,
.price-card,
.gpt-grid article,
.meeting-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-grid article {
  padding: 22px;
}

.step-grid span,
.service-number,
.flow span {
  color: var(--orange);
  font-weight: 900;
}

.step-grid p,
.service-card p,
.price-card p,
.meeting-card li,
.faq-list p,
.case-panel p,
.contact-grid p {
  color: var(--muted);
}

.diagnosis {
  background: var(--navy);
}

.diagnosis-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 111, 180, 0.46), rgba(31, 154, 122, 0.24)),
    #102947;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.diagnosis-panel h2 {
  color: var(--white);
}

.diagnosis-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 14px;
  color: #8ef0ca;
  content: "✓";
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  padding: 28px;
}

.service-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.support-section {
  background: #f8fbff;
}

.meeting-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.meeting-card ol {
  padding-left: 22px;
  margin: 0;
}

.meeting-card li + li {
  margin-top: 10px;
}

.gpts-section {
  background: var(--white);
}

.gpt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.gpt-grid article {
  padding: 20px;
}

.gpt-grid strong,
.gpt-grid span {
  display: block;
}

.gpt-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(242, 140, 40, 0.55);
  box-shadow: 0 18px 48px rgba(242, 140, 40, 0.16);
}

.price {
  display: inline-flex;
  margin: 4px 0 12px;
  padding: 6px 10px;
  color: var(--orange-dark) !important;
  background: #fff1df;
  border-radius: 999px;
  font-weight: 900;
}

.price-card span {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.cases-section {
  background: #f7fbff;
}

.case-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.case-list {
  display: grid;
  gap: 12px;
}

.case-list article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-list span,
.case-list strong {
  display: block;
}

.case-list span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.flow-section {
  background: var(--white);
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.flow div {
  min-height: 110px;
  padding: 16px;
  color: var(--navy);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.flow span {
  display: block;
  margin-bottom: 6px;
}

.faq-section {
  background: #f8fbff;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  padding: 0 20px 20px;
  margin: 0;
}

.final-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #103d68);
}

.final-cta h2,
.final-cta .section-kicker {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  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: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 12px;
}

.form-note.is-active {
  color: var(--green) !important;
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.86);
  background: #071a30;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .support-grid,
  .contact-grid,
  .diagnosis-panel,
  .case-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-mock {
    right: 24px;
  }

  .ai-panel {
    left: 24px;
  }

  .problem-grid,
  .service-grid,
  .gpt-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-grid,
  .pricing-grid,
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .brand-logo img {
    width: 37px;
    height: 37px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .section,
  .section-band {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 32px;
    line-break: anywhere;
    word-break: keep-all;
  }

  .sp-break {
    display: block;
  }

  .hero-lead,
  .section-lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-notes {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-mock {
    right: auto;
    left: 50%;
    width: 268px;
    transform: translateX(-50%);
  }

  .ai-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
  }

  .problem-grid,
  .service-grid,
  .gpt-grid,
  .step-grid,
  .pricing-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .diagnosis-panel {
    padding: 28px 20px;
  }

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-mock {
    width: 248px;
  }

  .map-card {
    height: 250px;
  }
}
