/* ===== 色・サイズ(ここを変えると全体の雰囲気が変わる) ===== */
:root {
  --color-primary: #2f6fde;      /* メインカラー(ボタン・強調) */
  --color-primary-dark: #1f55b5;
  --color-accent: #ff8a3d;       /* アクセント(バッジなど) */
  --color-text: #1f2633;
  --color-muted: #5b6475;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fc;       /* 交互に入る背景色 */
  --color-border: #dfe4ee;
  --color-error: #d23c3c;
  --color-success: #1d8a4e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 40, 80, 0.08);
  --container: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 720px; }

/* ===== ボタン ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: background .2s, transform .1s; cursor: pointer; font-size: 1rem;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-ghost { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-ghost:hover { background: var(--color-bg-alt); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--color-text); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { color: var(--color-text); text-decoration: none; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; transition: .2s; }

/* ===== ヒーロー ===== */
.hero { padding: 72px 0; background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg)); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--color-primary); font-weight: 700; margin: 0 0 8px; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.lead { color: var(--color-muted); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.note { font-size: .85rem; color: var(--color-muted); }

.hero-video {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--color-bg-alt);
}

.placeholder-img {
  background: repeating-linear-gradient(45deg, #e8edf6, #e8edf6 12px, #f1f4fa 12px, #f1f4fa 24px);
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  display: grid; place-items: center; color: var(--color-muted); font-weight: 700;
}
.placeholder-img.small { aspect-ratio: 16 / 9; margin-bottom: 16px; }
.placeholder-img.avatar { width: 200px; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }

/* ===== セクション共通 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-small { padding: 40px 0; font-size: .9rem; color: var(--color-muted); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; }
.section-title.left { text-align: left; }
.section-title.small { font-size: 1.1rem; text-align: left; }
.section-lead { text-align: center; color: var(--color-muted); margin: 0 0 40px; }

/* ===== カード ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--color-muted); margin: 0 0 12px; }
.badge {
  position: absolute; top: -12px; left: 24px; background: var(--color-accent); color: #fff;
  font-size: .8rem; font-weight: 700; padding: 2px 12px; border-radius: 999px;
}
.card-label { color: var(--color-primary) !important; font-weight: 700; font-size: .85rem; margin: 0 0 4px !important; letter-spacing: .05em; }
.price { font-size: 1.3rem; font-weight: 700; color: var(--color-text) !important; }
.price small { font-size: .8rem; font-weight: 400; color: var(--color-muted); }

/* ===== 実績・お客様の声 ===== */
.sub-title { font-size: 1.15rem; margin: 40px 0 20px; padding-left: 12px; border-left: 4px solid var(--color-primary); }
.sub-title:first-of-type { margin-top: 0; }
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.voice { margin: 0; background: var(--color-bg-alt); border-radius: var(--radius); padding: 24px 28px; }
.voice blockquote { margin: 0 0 12px; }
.voice blockquote::before { content: "“"; color: var(--color-primary); font-size: 2rem; line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.voice figcaption { color: var(--color-muted); font-size: .9rem; text-align: right; }
@media (max-width: 768px) { .voices { grid-template-columns: 1fr; } }

/* ===== ステップ ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--color-bg); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.step-num { display: inline-block; color: var(--color-primary); font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--color-muted); font-size: .92rem; }

/* ===== プロフィール ===== */
.about { display: flex; gap: 48px; align-items: flex-start; }
.about-name { font-size: 1.2rem; font-weight: 700; }
.about-name small { font-size: .85rem; font-weight: 400; color: var(--color-muted); margin-left: 8px; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 16px; background: var(--color-bg); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { padding: 12px 16px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.info-table th { width: 7em; color: var(--color-muted); font-weight: 500; white-space: nowrap; }

/* ===== FAQ ===== */
.faq { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
.faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.faq p { margin: 0 0 16px; color: var(--color-muted); }

/* ===== お問い合わせフォーム ===== */
.section-contact { background: var(--color-bg-alt); }
.contact-form { background: var(--color-bg); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { background: var(--color-error); color: #fff; font-size: .72rem; padding: 1px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 8px;
  font: inherit; background: #fff; color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: transparent; }
.field.invalid input, .field.invalid textarea { border-color: var(--color-error); }
.field.checkbox label { font-weight: 400; display: flex; align-items: center; gap: 8px; }
.error { color: var(--color-error); font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { text-align: center; margin: 16px 0 0; font-weight: 700; }
.form-status.success { color: var(--color-success); }
.form-status.fail { color: var(--color-error); }

/* ===== フッター ===== */
.site-footer { background: #1f2633; color: #c9d0dc; padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer .logo { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a { color: #c9d0dc; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: .8rem; margin: 8px 0 0; }

/* ===== スマホ・タブレット ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    display: none; padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--color-border); }
  .site-nav .btn { margin-top: 12px; }
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .about { flex-direction: column; align-items: center; gap: 24px; }
  .contact-form { padding: 20px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
}
