/* =========================================================
   Web Studio むね — 自HP スタイル
   静的HTML/CSS。レスポンシブ (mobile-first) 。
   ========================================================= */

:root {
  --ink: #1f2430;
  --ink-soft: #3a4150;
  --muted: #6b7280;
  --line: #e6e2d8;
  --bg: #fbfaf7;
  --bg-muted: #f3efe7;
  --card: #ffffff;
  --gold: #c8992f;
  --gold-strong: #a97e1f;
  --accent-soft: #fbf3dd;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 36, 48, 0.08);
  --shadow-soft: 0 4px 14px rgba(31, 36, 48, 0.06);
  --maxw: 1120px;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-strong); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.4; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 720px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn--primary { background: var(--gold); color: #2a2410; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-strong); border-color: var(--gold-strong); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 16px; }
.brand__text small { color: var(--muted); font-size: 11px; }

.site-nav ul {
  list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0;
}
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--gold-strong); }
.site-nav .nav-cta {
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--gold-strong); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; position: relative; cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--ink); transform: translateX(-50%); transition: .2s ease;
}
.nav-toggle__bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(200,153,47,0.14), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: clamp(48px, 9vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.hero__eyebrow {
  color: var(--gold-strong); font-weight: 700; letter-spacing: .08em;
  font-size: 13px; margin: 0 0 14px;
}
.hero__title { font-size: clamp(28px, 6vw, 46px); margin: 0 0 20px; }
.hero__lead { font-size: clamp(15px, 2.4vw, 18px); color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; }
.hero__points li {
  position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 14px; font-weight: 500;
}
.hero__points li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold-strong); font-weight: 700;
}

/* ===== Sections ===== */
.section { padding: clamp(52px, 8vw, 88px) 0; }
.section--muted { background: var(--bg-muted); }
.section__eyebrow {
  color: var(--gold-strong); font-weight: 700; letter-spacing: .12em;
  font-size: 12px; text-transform: uppercase; margin: 0 0 8px;
}
.section__title { font-size: clamp(22px, 4vw, 32px); margin: 0 0 16px; }
.section__lead { color: var(--ink-soft); max-width: 680px; margin: 0 0 36px; }

/* ===== Cards (features) ===== */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-soft);
}
.feature__title { font-size: 18px; margin: 0 0 10px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ===== Cases ===== */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.case-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-muted); }
.case-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.case-card__thumb:hover img { transform: scale(1.03); }
.case-card__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 700; letter-spacing: .1em;
  background: repeating-linear-gradient(45deg, #efeadf, #efeadf 12px, #f5f1e8 12px, #f5f1e8 24px);
}
.case-card__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.case-card__tag { color: var(--gold-strong); font-size: 12px; font-weight: 700; margin: 0; letter-spacing: .04em; }
.case-card__title { font-size: 20px; margin: 0; }
.case-card__desc { color: var(--ink-soft); font-size: 14px; margin: 0; }
.link-arrow { margin-top: 6px; font-weight: 700; text-decoration: none; font-size: 14px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 22px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.plan--featured {
  border-color: var(--gold); box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 46%);
}
.plan__badge {
  display: inline-block; align-self: flex-start;
  background: var(--gold); color: #2a2410; font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; margin: 0 0 14px;
}
.plan__name { font-size: 20px; margin: 0 0 12px; }
.plan__price { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.plan__price-main { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--ink); }
.plan__yen { font-size: 18px; margin-left: 2px; }
.plan__price-note { color: var(--muted); font-size: 13px; }
.plan__price-note s { color: var(--muted); }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-soft); }
.plan__list li::before { content: "・"; position: absolute; left: 4px; color: var(--gold-strong); font-weight: 700; }
.plan__list li strong { color: var(--ink); }

.pricing__note {
  margin-top: 30px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.pricing__note h3 { font-size: 17px; margin: 0 0 12px; }
.pricing__note ul { margin: 0 0 12px; padding-left: 20px; color: var(--ink-soft); font-size: 14px; }
.pricing__note li { margin-bottom: 6px; }
.pricing__note code { background: var(--bg-muted); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.pricing__disclaimer { margin: 0; color: var(--muted); font-size: 12px; }
.pricing__referral {
  margin-top: 18px; background: var(--accent-soft); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 20px 26px;
}
.pricing__referral h3 { font-size: 17px; margin: 0 0 8px; }
.pricing__referral p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ===== Flow ===== */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.flow__step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px 22px 74px; position: relative; box-shadow: var(--shadow-soft);
}
.flow__num {
  position: absolute; left: 22px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
}
.flow__title { font-size: 17px; margin: 0 0 6px; }
.flow__step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ===== Scope ===== */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scope__col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px; box-shadow: var(--shadow-soft);
}
.scope__col h3 { font-size: 17px; margin: 0 0 14px; padding-left: 26px; position: relative; }
.scope__col--yes h3::before { content: "◯"; position: absolute; left: 0; color: #2f855a; }
.scope__col--no h3::before { content: "△"; position: absolute; left: 0; color: var(--gold-strong); }
.scope__subhead { margin-top: 22px !important; }
.scope__col ul { margin: 0 0 8px; padding-left: 22px; color: var(--ink-soft); font-size: 14px; }
.scope__col li { margin-bottom: 7px; }
.scope__hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* ===== Contact form ===== */
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-soft); display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.req { color: #b23b3b; font-size: 11px; margin-left: 6px; font-weight: 700; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,153,47,0.18);
  background: #fff;
}
.contact-form__privacy { margin: 0; color: var(--muted); font-size: 12px; }
.contact-form__status { margin: 0; font-size: 14px; font-weight: 700; min-height: 1.2em; }
.contact-form__status.is-ok { color: #2f855a; }
.contact-form__status.is-error { color: #b23b3b; }
.contact-form__fallback { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d8d5cc; padding: 44px 0 34px; }
.site-footer__inner { display: grid; gap: 22px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand .brand__mark { background: #2b3040; }
.site-footer__brand strong { color: #fff; display: block; }
.site-footer__brand p { margin: 2px 0 0; color: #9aa0ad; font-size: 13px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.site-footer__nav a { color: #c9c6bd; text-decoration: none; font-size: 14px; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__copy { margin: 0; color: #7c828f; font-size: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .cards--3 { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .24s ease;
    padding: 8px 0 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 15px 20px; font-size: 16px; }
  .site-nav .nav-cta { background: none; color: var(--gold-strong); border-radius: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
