/* ===== デザイントークン（設計書§2: 信頼系×ととのい暖色） ===== */
:root {
  --navy: #1b3a6b;        /* 基調: 見出し・ヘッダー・フッター */
  --navy-dark: #122a4f;
  --ink: #26313f;         /* 本文 */
  --muted: #5b6775;
  --accent: #e07b39;      /* ととのい暖色（橙）: CTA・強調 */
  --accent-soft: #fdf3ec;
  --green: #4f8a5b;       /* サブ（緑）: バッジ・チェックマーク */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;      /* セクション交互背景 */
  --line: #dde3ea;
  --white: #ffffff;
  --card-shadow: rgba(18, 42, 79, .06);
  --radius: 12px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section:nth-of-type(even) { background: var(--bg-alt); }
.section-title { font-size: 1.6rem; color: var(--navy); text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--muted); margin-bottom: 40px; }

.btn { display: inline-block; padding: 14px 36px; border-radius: 999px; text-decoration: none;
  font-weight: 700; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 2px 8px var(--card-shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 2px 12px; font-size: .8rem; font-weight: 700; }
.coming-soon { text-align: center; color: var(--muted); background: var(--bg-alt);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px 20px; }
.coming-soon + .section-lead { margin-top: 32px; }

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ===== ヘッダー ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 900; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.site-nav a { margin-left: 24px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav-cta { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ===== ヒーロー ===== */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); text-align: center; padding: 96px 0; }
.hero-catch { font-size: 1.1rem; color: var(--accent-soft); font-weight: 700; }
.hero-title { font-size: 2.6rem; font-weight: 900; margin: 8px 0 16px; }
.hero-sub { font-size: 1.05rem; margin-bottom: 24px; }
.hero-credentials { font-size: .9rem; opacity: .85; margin-bottom: 32px; }

/* ===== フッター ===== */
.site-footer { background: var(--navy-dark); color: var(--white); text-align: center; padding: 40px 0; }
.site-footer a { color: var(--white); }
.footer-copy { font-size: .8rem; opacity: .7; margin-top: 12px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .site-nav.open { display: flex; flex-direction: column; gap: 16px; }
  .site-nav a { margin-left: 0; }
  .hero-title { font-size: 1.9rem; }
}

.pain-list { max-width: 640px; margin: 0 auto 48px; list-style: none; }
.pain-list li { padding: 12px 16px 12px 44px; position: relative; border-bottom: 1px solid var(--line); }
.pain-list li::before { content: "✔"; color: var(--green); position: absolute; left: 16px; font-weight: 900; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps h3 { color: var(--accent); font-size: 1rem; margin-bottom: 8px; }
.price-table { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: collapse; background: var(--bg); }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 14px 18px; text-align: left; }
.price-table td { white-space: nowrap; font-weight: 700; color: var(--navy); }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

.work-card { text-decoration: none; display: block; }
.work-card img { border-radius: 8px; border: 1px solid var(--line); margin-bottom: 14px;
  aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.work-card h3 { color: var(--navy); margin: 8px 0; font-size: 1.05rem; }
.work-card p { color: var(--muted); font-size: .9rem; }
.profile-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.profile-grid > div:only-child { grid-column: 1 / -1; }
.profile-photo { border-radius: 50%; }
.profile-facts { margin-top: 16px; padding-left: 20px; }
@media (max-width: 768px) { .profile-grid { grid-template-columns: 1fr; } }

.work-detail { padding: 64px 0; }
.work-detail h1 { color: var(--navy); font-size: 1.8rem; margin: 8px 0 16px; }
.work-detail h2 { color: var(--navy); font-size: 1.25rem; margin: 48px 0 16px;
  padding-left: 12px; border-left: 4px solid var(--accent); }
.work-detail .note { color: var(--muted); font-size: .85rem; }
.work-detail .work-shot-title { color: var(--ink); font-size: 1rem; margin: 32px 0 0; }
.work-detail img.shot { border: 1px solid var(--line); border-radius: 8px; margin: 16px 0; }
.tech-tags .badge { margin-right: 8px; }
.work-cta { margin-top: 64px; text-align: center; background: var(--accent-soft);
  border-radius: var(--radius); padding: 40px 20px; }

/* ===== お問い合わせフォーム ===== */
.contact-inner { text-align: center; }
.form-embed { max-width: 760px; margin: 0 auto; overflow: hidden; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); }
.form-embed iframe { display: block; width: 100%; height: 1650px; border: 0; background: var(--bg); }
.form-external { margin-top: 16px; color: var(--muted); font-size: .9rem; }

@media (max-width: 768px) {
  .site-nav.work-detail-nav { display: block; position: static; padding: 0; border: 0; background: transparent; }
  .work-detail-nav a { margin-left: 0; white-space: nowrap; }
  .form-embed iframe { height: 1900px; }
}
