:root {
  --ai: #24406b;
  --ai-deep: #1a2f50;
  --ai-soft: #e8edf4;
  --kusa: #9bbf5a;
  --kusa-text: #4d7621;
  --kusa-soft: #f0f5e6;
  --ink: #23262b;
  --muted: #5a606a;
  --bg: #fbfbf8;
  --bg-alt: #f2f4ef;
  --line: #dde2d8;
  --white: #ffffff;
  --radius: 10px;
  --wrap: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ai); }
a:hover { color: var(--ai-deep); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 248, 0.94);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ai-deep);
  text-decoration: none;
}
.brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand-name::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--kusa);
  vertical-align: 2px;
}
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

.gnav { display: flex; align-items: center; gap: 22px; }
.gnav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.gnav a:hover { color: var(--ai); }
.gnav .btn { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ai);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--ai-deep); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ai-deep);
  color: var(--white);
  padding: 96px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 320px at 88% 10%, rgba(155, 191, 90, 0.22), transparent 70%),
    linear-gradient(160deg, #24406b 0%, #1a2f50 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--kusa);
}
.hero .wrap { position: relative; }
.hero-label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 5.2vw, 48px);
  line-height: 1.45;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.hero h1 .accent { color: #c6de92; }
.hero-lead {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.88);
}
.hero .btn { background: var(--kusa); color: var(--ai-deep); }
.hero .btn:hover { background: #b0cf74; color: var(--ai-deep); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 44px; }
.section-en {
  display: block;
  margin-bottom: 6px;
  color: var(--kusa-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 32px);
  line-height: 1.5;
  color: var(--ai-deep);
}
.section-head p { margin: 16px 0 0; max-width: 720px; color: var(--muted); }

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 30px 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ai);
  border-radius: var(--radius);
}
.feature-no {
  display: block;
  margin-bottom: 10px;
  color: var(--kusa-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.feature h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.55; color: var(--ai-deep); }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

.examples {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--kusa-soft);
  border-radius: var(--radius);
}
.examples h3 { margin: 0 0 10px; font-size: 16px; color: var(--ai-deep); }
.examples ul { margin: 0; padding-left: 1.2em; }
.examples li { margin: 4px 0; }
.examples .note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* flow */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.flow li {
  position: relative;
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.flow-step {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--ai);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.flow h3 { margin: 0 0 8px; font-size: 18px; color: var(--ai-deep); }
.flow p { margin: 0; font-size: 15px; color: var(--muted); }

/* price */
.price-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price-label { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.price-main {
  margin: 0;
  color: var(--ai-deep);
  font-weight: 700;
  line-height: 1.3;
}
.price-main .num { font-size: clamp(44px, 7vw, 60px); letter-spacing: 0.01em; }
.price-main .unit { font-size: 22px; margin-left: 2px; }
.price-cond { margin: 8px 0 0; font-size: 15px; color: var(--kusa-text); font-weight: 700; }
.price-notes { margin: 0; padding: 0; list-style: none; }
.price-notes li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 15px;
}
.price-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--kusa);
}

/* message / profile */
.message {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.portrait figcaption { margin-top: 14px; }
.portrait .role { display: block; font-size: 13px; color: var(--muted); }
.portrait .name { display: block; font-size: 20px; font-weight: 700; color: var(--ai-deep); }
.portrait .kana { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.message-body p { margin: 0 0 1.2em; }
.message-sign { text-align: right; color: var(--muted); font-size: 15px; }
.profile {
  margin-top: 32px;
  padding: 24px 26px;
  border-left: 4px solid var(--kusa);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.profile h3 { margin: 0 0 8px; font-size: 16px; color: var(--ai-deep); }
.profile p { margin: 0; font-size: 15px; }

/* company */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 28%;
  background: var(--ai-soft);
  color: var(--ai-deep);
  font-weight: 700;
  white-space: nowrap;
}

/* contact */
.contact { background: var(--ai-deep); color: var(--white); }
.contact .section-en { color: #c6de92; }
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: rgba(255, 255, 255, 0.85); }
.contact-card {
  padding: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}
.contact-mail {
  display: block;
  margin: 0 0 22px;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  word-break: break-all;
}
.contact .btn { background: var(--kusa); color: var(--ai-deep); }
.contact .btn:hover { background: #b0cf74; color: var(--ai-deep); }
.contact-hint { margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }

/* footer */
.site-footer {
  padding: 32px 0;
  background: #14243e;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer small { font-size: 13px; }

/* privacy page */
.page-head { padding: 64px 0 24px; }
.page-head h1 { margin: 0; font-size: clamp(24px, 4vw, 32px); color: var(--ai-deep); }
.doc { padding-bottom: 88px; }
.doc .wrap { max-width: 760px; }
.doc h2 {
  margin: 40px 0 10px;
  font-size: 18px;
  color: var(--ai-deep);
  padding-left: 12px;
  border-left: 4px solid var(--kusa);
}
.doc p,
.doc li { font-size: 15px; }
.doc ul { padding-left: 1.3em; }
.doc .meta { margin-top: 40px; color: var(--muted); font-size: 14px; }
.back { display: inline-block; margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .gnav a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .price-box { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
  .message { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 280px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header .wrap { height: 58px; }
  .brand-sub { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .flow { grid-template-columns: 1fr; }
  .company-table th,
  .company-table td { display: block; width: 100%; padding: 12px 18px; }
  .company-table th { border-bottom: none; padding-bottom: 6px; }
  .company-table td { padding-top: 6px; }
  .contact-card { padding: 26px 20px; }
  .contact .btn { width: 100%; }
  .site-footer .wrap { flex-direction: column; }
}
