/* ===== 基本設定 ===== */
:root {
  --ink: #12161c;
  --ink-mid: #4a5462;
  --ink-soft: #78828f;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --accent: #0b6ec4;
  --accent-dark: #08528f;
  --gold: #b8892b;
  --radius: 10px;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 40px, 760px); }

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  line-height: 1.4;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
}
.nav a:hover { color: var(--accent); }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(170deg, #0e1420 0%, #1b2a3f 55%, #123049 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 55%;
  height: 420px;
  background: radial-gradient(circle, rgba(11,110,196,.5), transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #7fc0f5;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.hero__lead {
  font-size: clamp(15px, 1.7vw, 18px);
  color: #cfd8e3;
  margin-bottom: 36px;
  max-width: 620px;
}
.hero__lead strong { color: #fff; font-size: 1.15em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero__note { font-size: 13px; color: #8fa0b5; }

/* ===== 数字バー ===== */
.bar { background: var(--ink); color: #fff; }
.bar__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  text-align: center;
}
.bar__item { padding: 26px 12px; }
.bar__item + .bar__item { border-left: 1px solid rgba(255,255,255,.12); }
.bar__num {
  display: block;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  color: #ffd479;
  line-height: 1.3;
}
.bar__label { font-size: 12px; color: #a9b3c1; }

/* 30年をいちばん強く見せる */
.bar__item--lead { background: rgba(255,212,121,.08); }
.bar__item--lead .bar__num { font-size: clamp(28px, 4vw, 42px); }
.bar__item--lead .bar__label { color: #ffd479; font-weight: 700; }

/* ===== セクション共通 ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
}
.section__lead { color: var(--ink-mid); margin-bottom: 40px; max-width: 640px; }

/* ===== 理由カード ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(18,22,28,.09);
  transform: translateY(-3px);
}
.card__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.card__title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 12px;
}
.card__text { font-size: 14.5px; color: var(--ink-mid); }

/* ===== 料金 ===== */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.price--wide { grid-column: 1 / -1; }
.price__name { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.price__desc { font-size: 14px; color: var(--ink-mid); margin-bottom: 18px; flex: 1; }
.price__amount {
  font-size: 27px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.price__amount span { font-size: 15px; margin-left: 2px; color: var(--ink-soft); }
.price__amount--ask { font-size: 17px; color: var(--accent); }

/* ===== 実績 ===== */
.works { display: grid; gap: 40px; }
.works__head {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  display: inline-block;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  letter-spacing: .06em;
}
.works__list { list-style: none; display: grid; gap: 2px; }
.works__list li {
  padding: 13px 4px 13px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
.works__list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.works__list li span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 2px;
}
.works__list li.is-award {
  background: linear-gradient(90deg, rgba(184,137,43,.11), transparent 75%);
  border-bottom-color: rgba(184,137,43,.35);
}
.works__list li.is-award::before { background: var(--gold); }
.works__list li.is-award span { color: var(--gold); font-weight: 700; }

/* ===== 会社概要 ===== */
.company__intro { color: var(--ink-mid); margin-bottom: 34px; }
.company__intro strong { color: var(--ink); }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.table th, .table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table tr:last-child th, .table tr:last-child td { border-bottom: none; }
.table th {
  width: 34%;
  font-weight: 700;
  color: var(--ink-mid);
  background: var(--bg-alt);
  white-space: nowrap;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(160deg, #0e1420, #1b2a3f);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.cta__title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 18px;
}
.cta__lead {
  color: #cfd8e3;
  font-size: 15px;
  margin-bottom: 34px;
}

/* ===== お問い合わせフォーム ===== */
.form {
  background: #fff;
  border-radius: 14px;
  padding: 34px 32px 30px;
  text-align: left;
  color: var(--ink);
}
.form__honeypot { display: none; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field { display: block; margin-bottom: 18px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 7px;
}
.form__label em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #d1443c;
  padding: 2px 7px;
  border-radius: 3px;
}
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  transition: border-color .18s, background .18s;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input::placeholder,
.form textarea::placeholder { color: #a8b2be; }
.form input:focus,
.form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11,110,196,.13);
}
.form input:user-invalid,
.form textarea:user-invalid { border-color: #d1443c; }
.form__submit { width: 100%; margin-top: 8px; }
.form__note {
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
  line-height: 1.7;
}
.form__note a { color: var(--accent); text-decoration: underline; }
.form__result {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 14px;
  padding: 12px;
  border-radius: 7px;
}
.form__result:empty { display: none; }
.form__result.is-success { background: #e7f4ec; color: #1c6b3f; }
.form__result.is-error { background: #fdeceb; color: #a5322b; }
.form__result a { color: inherit; text-decoration: underline; }

/* ===== フッター ===== */
.footer { background: var(--ink); color: #fff; padding: 44px 0; }
.footer__inner { text-align: center; }
.footer__logo { font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.footer__tag { font-size: 13px; color: #a9b3c1; margin-bottom: 20px; }
.footer__copy { font-size: 12px; color: #6f7b8a; }

/* ===== スマホ ===== */
@media (max-width: 720px) {
  .nav { display: none; }
  .header__inner { gap: 12px; }
  .header__inner .btn { margin-left: auto; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .bar__inner { grid-template-columns: 1fr 1fr; }
  .bar__item--lead { grid-column: 1 / -1; }
  .bar__item + .bar__item {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .bar__item { padding: 18px 12px; }
  .form { padding: 26px 20px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: none; padding-bottom: 4px; }
  .table td { padding-top: 4px; }
}
