/* ==========================================================
   トナリ製作所 / Tonari Studio — サイトスタイル
   トーン：あたたかい・工房らしい手ざわり・余白多め
   ========================================================== */

:root {
  --bg: #faf6f0;
  --bg-tint: #f3ece2;
  --ink: #35302a;
  --ink-soft: #6e675e;
  --accent: #c9603b;        /* 柿色（ロゴ仮採用の暖色系に合わせる） */
  --accent-deep: #a94c2c;
  --line: #e4dccf;
  --card: #fffdf9;
  --radius: 18px;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

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

/* 確認用リボン（正式公開時に削除） */
.draft-ribbon {
  background: #35302a;
  color: #f3ece2;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.06em;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-size: 16px;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

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

a { color: var(--accent-deep); }

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}

.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  line-height: 1;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px; line-height: 1.2;
  display: flex; flex-direction: column;
}
.brand-text small {
  font-size: 10px; font-weight: 500;
  color: var(--ink-soft); letter-spacing: 0.12em;
}

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 14px; font-weight: 500;
}
.site-nav a:hover { color: var(--accent-deep); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-deep); }

/* ---------- ヒーロー ---------- */

.hero { padding: 96px 0 104px; }

.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  color: var(--ink-soft);
  font-size: 17px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 18px rgba(201, 96, 59, 0.28);
}
.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn-lg { padding: 16px 38px; font-size: 17px; }

/* ---------- セクション共通 ---------- */

.section { padding: 88px 0; }
.section-tint { background: var(--bg-tint); }

.section-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  margin-bottom: 24px;
}

.section p + p { margin-top: 16px; }

/* ---------- カード ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.card-icon {
  width: 46px; height: 46px;
  color: var(--accent);
  background: rgba(201, 96, 59, 0.1);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 17.5px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

.badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700;
  color: var(--accent-deep);
  background: rgba(201, 96, 59, 0.12);
  border: 1px solid rgba(201, 96, 59, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- 概要テーブル ---------- */

.company-table {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.company-table > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.company-table dt { font-weight: 700; font-size: 14.5px; }
.company-table dd { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- お問い合わせ ---------- */

.section-contact { padding-bottom: 110px; }
.section-contact h2 { margin-bottom: 14px; }
.section-contact .btn { margin-top: 22px; }
.note { margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- フッター ---------- */

.site-footer {
  background: #2e2822;
  color: #d9d2c7;
  padding: 40px 0;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
}

.footer-sns { display: flex; align-items: center; gap: 16px; }
.footer-sns a { color: #d9d2c7; display: block; opacity: 0.7; }
.footer-sns a:hover { opacity: 1; }
.footer-sns svg { width: 21px; height: 21px; display: block; }

.copyright { font-size: 12px; opacity: 0.55; }

/* ---------- レスポンシブ ---------- */

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .site-nav a:not(.nav-cta) { display: none; }
  .section-contact h2 { font-size: 20px; }
  .company-table > div { grid-template-columns: 90px 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
