:root {
  --ink: #1c2a35;
  --muted: #5c6b76;
  --paper: #f7f4ee;
  --sand: #efe9df;
  --surface: #ffffff;
  --navy: #17324d;
  --navy-deep: #10233a;
  --sage: #7c9a86;
  --sage-soft: #e7efe9;
  --accent: #d0672f;
  --accent-strong: #b8551f;
  --line: rgba(23, 50, 77, 0.14);
  --radius: 16px;
  --shadow: 0 16px 44px rgba(16, 35, 58, 0.12);
  --shadow-soft: 0 8px 24px rgba(16, 35, 58, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-feature-settings: "palt";
  line-height: 1.85;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 27, 43, 0.72), rgba(13, 27, 43, 0));
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(16, 35, 58, 0.96);
  box-shadow: 0 8px 24px rgba(13, 27, 43, 0.24);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(150px, 17vw, 200px);
  height: auto;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(13, 27, 43, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  padding: 6px 2px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.nav a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.nav .nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(184, 85, 31, 0.35);
  transition: background 160ms ease, transform 160ms ease;
}

.nav .nav-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(16, 35, 58, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 200ms ease, opacity 200ms ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 88px) 96px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 27, 43, 0.86) 0%, rgba(13, 27, 43, 0.62) 44%, rgba(13, 27, 43, 0.14) 80%),
    linear-gradient(0deg, rgba(13, 27, 43, 0.45), rgba(13, 27, 43, 0) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: #fff;
}

.hero-area-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-area-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0b48c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  line-height: 1.24;
  letter-spacing: 0.01em;
  font-weight: 900;
}

.hero h1 strong {
  color: #f5c9a5;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.35;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.hero-tags span {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(184, 85, 31, 0.35);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.button.light {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.button.full {
  width: 100%;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(68px, 9vw, 120px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- Services ---------- */

.services {
  background: var(--surface);
}

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

.service-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbf9f5);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #fff;
  background: var(--navy);
}

.service-card:nth-child(2) .service-icon {
  background: var(--sage);
}

.service-card:nth-child(3) .service-icon {
  background: var(--accent);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card p,
.feature-list p,
.steps p,
.contact-panel p,
.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* ---------- Examples ---------- */

.examples {
  background: var(--surface);
  padding-top: 0;
}

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

.example-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  background: #fbf9f5;
}

.example-list p::before {
  content: "✓";
  flex: none;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  background: var(--sage);
}

/* ---------- Strength ---------- */

.strength {
  background: var(--sage-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.notice {
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  box-shadow: var(--shadow);
}

.notice strong {
  display: block;
  font-size: 1.12rem;
}

.notice ul {
  margin: 18px 0 0;
  padding-left: 1.3em;
}

.notice li + li {
  margin-top: 10px;
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--surface);
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 520px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf9f5;
  box-shadow: var(--shadow-soft);
}

.price-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.price-panel dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: var(--line);
  border: 1px solid var(--line);
}

.price-panel dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
}

.price-panel dt {
  color: var(--navy);
  font-weight: 900;
}

.price-panel dd {
  margin: 0;
  color: var(--muted);
}

/* ---------- Flow ---------- */

.flow {
  background: var(--paper);
}

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

.steps li {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.steps span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--sage);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--sage-soft);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
  background: var(--sage-soft);
  transform: translateY(-50%);
}

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

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

/* ---------- Contact band ---------- */

.contact {
  color: #fff;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.contact-panel .eyebrow {
  color: #f0b48c;
}

.contact-panel .eyebrow::before {
  background: #f0b48c;
}

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.contact-box span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-box .contact-subtitle {
  margin-top: 24px;
}

.contact-box a:not(.button) {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  word-break: break-word;
}

.contact-box .button {
  margin-top: 8px;
}

/* ---------- Contact page ---------- */

.form-page {
  background: var(--paper);
}

.form-hero {
  padding-top: 130px;
  padding-bottom: 28px;
  background: var(--sand);
}

.form-hero h1 {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.form-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
  padding-top: 48px;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}

.contact-form label > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-form label > span.req::after {
  content: "必須";
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent);
}

.contact-form label > span.opt::after {
  content: "任意";
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--sand);
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.aside-card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.aside-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.aside-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.aside-card ul {
  margin: 10px 0 0;
  padding-left: 1.3em;
  color: var(--muted);
  font-size: 0.95rem;
}

.aside-card li + li {
  margin-top: 6px;
}

.aside-card a {
  color: var(--accent-strong);
  font-weight: 800;
}

/* ---------- Thanks page ---------- */

.thanks-main {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 150px clamp(20px, 6vw, 88px) 90px;
}

.thanks-card {
  max-width: 620px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}

.thanks-card .thanks-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  background: var(--sage);
}

.thanks-card p {
  color: var(--muted);
}

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

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 40px clamp(20px, 6vw, 88px) 46px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy-deep);
}

.footer-logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(16, 35, 58, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 13px 16px;
    border-bottom: none;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
    display: inline-flex;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 27, 43, 0.82), rgba(13, 27, 43, 0.55));
  }

  .intro,
  .card-grid,
  .example-list,
  .form-grid,
  .split,
  .price-panel,
  .steps,
  .contact-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .price-panel dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer address {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 146px;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 18px 60px;
  }

  .hero-actions {
    width: 100%;
  }

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

  .service-card,
  .example-list p,
  .feature-list article,
  .notice,
  .price-panel,
  .steps li,
  .contact-box,
  .aside-card {
    padding: 22px;
  }

  .section {
    padding-inline: 18px;
  }
}
