:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #16212d;
  --muted: #576171;
  --line: #dbe4ef;
  --primary: #1657d8;
  --primary-dark: #0e3f9e;
  --primary-soft: #edf4ff;
  --accent: #6d28d9;
  --success: #0f766e;
  --line-green: #06c755;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.82;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, #0f62fe 0%, #7c3aed 100%);
  position: relative; overflow: hidden; box-shadow: 0 12px 24px rgba(22,87,216,0.22);
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.92); border-radius: 999px;
}
.brand-mark::before { width: 26px; height: 4px; left: 8px; top: 12px; transform: rotate(-25deg); }
.brand-mark::after { width: 18px; height: 4px; left: 14px; top: 24px; transform: rotate(-25deg); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--text); font-weight: 700; font-size: 0.95rem; }
.nav-toggle {
  display: none; padding: 0.7rem 0.9rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 800;
}
.page-main-visual {
  height: 220px;
  background-image: url('images/main.jpg');
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.hero { padding: 88px 0 70px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; pointer-events: none; opacity: 0.55; filter: blur(12px);
}
.hero::before { width: 320px; height: 320px; top: -80px; right: -40px; background: radial-gradient(circle, rgba(219,234,254,0.55) 0%, rgba(219,234,254,0) 70%); }
.hero::after { width: 280px; height: 280px; bottom: -50px; left: -30px; background: radial-gradient(circle, rgba(237,233,254,0.45) 0%, rgba(237,233,254,0) 70%); }
.hero-inner, .page-head {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 28px; align-items: center;
}
.page-hero { padding: 56px 0 32px; }
.breadcrumb { font-size: 0.94rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); border: 1px solid #d5e4ff;
  padding: 0.45rem 0.85rem; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.02em;
}
h1, h2, h3 { margin: 0 0 0.8rem; line-height: 1.28; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.28rem); }
p { margin: 0 0 1rem; }
.lead { font-size: 1.06rem; color: var(--muted); }
.small, .muted { color: var(--muted); font-size: 0.95rem; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section.subtle, .subtle, .section-soft { background: #ffffff; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.card.soft { background: #ffffff; }
.hero-panel, .panel {
  background: #ffffff; border: 1px solid rgba(219,228,239,0.92);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.badge {
  display: inline-block; border-radius: 999px; padding: 0.3rem 0.7rem; border: 1px solid #d8e5ff;
  background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 0.84rem;
}
.button, .button.secondary, .button.line {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0.92rem 1.2rem; border-radius: 14px; border: 0; font-weight: 800;
  text-decoration: none; cursor: pointer;
}
.button { background: var(--primary); color: #fff; box-shadow: 0 12px 24px rgba(22,87,216,0.18); }
.button:hover { background: var(--primary-dark); text-decoration: none; }
.button.secondary { background: #fff; color: var(--primary); border: 1px solid #cbd8f3; box-shadow: none; }
.button.line { background: var(--line-green); color: #fff; box-shadow: 0 12px 24px rgba(6,199,85,0.18); }
.button-row, .cta-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.3rem; }
.checks, .list-clean, .clean-list { list-style: none; padding: 0; margin: 0; }
.checks li, .list-clean li, .clean-list li {
  position: relative; padding-left: 1.5rem; margin: 0.55rem 0; color: var(--muted);
}
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.list-clean li::before, .clean-list li::before { content: "・"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; }
.stat strong { display: block; font-size: 1.38rem; line-height: 1.2; margin-bottom: 6px; }
.service-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.service-card .icon, .service-card .service-icon {
  width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #eff6ff, #f2ebff);
  border: 1px solid #d6e4ff; display: grid; place-items: center; font-size: 1.4rem;
}
.service-card .thumb, .image-card img { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: #f8fbff; }
.service-card .thumb img, .image-card img { width: 100%; }
.service-card .linkline, .service-card .more-link { margin-top: auto; padding-top: 8px; }
.page-image-card { padding: 16px; }
.page-image-card img { border-radius: 18px; border: 1px solid var(--line); }
.placeholder-note { margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.topic-list { display: grid; gap: 12px; }
.topic-item { padding: 18px 18px 18px 20px; border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 18px 18px 0; }
.steps { counter-reset: item; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  position: relative; padding: 22px 22px 22px 78px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: item; content: counter(item); position: absolute; left: 20px; top: 18px;
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; color: #fff; background: linear-gradient(135deg, #0f62fe, #6d28d9);
}
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.faq-item button {
  width: 100%; text-align: left; background: var(--surface); border: 0; padding: 18px 20px;
  font: inherit; font-weight: 800; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item .answer { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.active .answer { display: block; }
.faq-item .plus { font-weight: 900; color: var(--primary); }
.notice {
  background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 16px; padding: 16px 18px;
}
.table-wrap { overflow: auto; }
table {
  width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f8fbff; font-size: 0.95rem; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.subnav a {
  background: var(--surface); border: 1px solid var(--line); padding: 0.55rem 0.85rem; border-radius: 999px; font-weight: 700; color: var(--text);
}
.subnav a:hover { text-decoration: none; border-color: #bfd2ff; }
.contact-box { background: #ffffff; }
.kicker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kicker {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow);
}
.kicker strong { display: block; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: block; font-weight: 700; margin: 0 0 0.5rem; }
input, textarea, select {
  width: 100%; padding: 0.9rem 1rem; border: 1px solid #cfd9ea; border-radius: 14px; background: #fff; font: inherit; color: var(--text);
}
textarea { resize: vertical; }
.contact-note { font-size: 0.92rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.line-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
  margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px solid #b4f0c9; background: #f3fff7;
}
.line-card img { width: 100%; border-radius: 14px; border: 1px solid #cdf4d9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; }
footer { padding: 30px 0 42px; background: var(--surface); border-top: 1px solid var(--line); margin-top: 32px; }
@media (max-width: 960px) {
  .hero-inner, .page-head, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .stats, .form-grid, .kicker-grid, .line-card { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: 76px; background: rgba(255,255,255,0.98);
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px;
    display: none; flex-direction: column; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .page-main-visual { height: 190px; background-size: cover; background-position: center; }
}
@media (max-width: 680px) {
  .hero { padding: 72px 0 54px; }
  .section, .section-soft { padding: 58px 0; }
  .section-sm { padding: 38px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .card, .hero-panel, .panel { padding: 20px; }
  .nav { min-height: 72px; }
  .page-main-visual { height: 150px; background-size: cover; background-position: center; }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.price-amount {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 0.75rem;
}
.hero-figure img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.image-card img, .page-image-card img {
  background: #eef5ff;
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; }
}


.contact-visual {
  margin-top: 18px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.contact-visual img {
  display: block;
  width: 100%;
  height: auto;
}
