/* ヒトメデザイン 自社サイト — 色と書体はロゴの仕様（07_自社素材/logo/README.md）に合わせる */
:root {
  --kinari: #E5E0DA;
  --kinari-light: #EFEBE6;
  --paper: #F7F5F2;
  --sumi: #1A1A1A;
  --sumi-soft: #4A4744;
  --line: #8C8780;
  --line-light: #CFC9C1;
  /* 2026-09-27 インパクト版: 墨の地＋朱の差し色。朱は墨の地の上でだけ文字に使う（墨地 4.67:1。生成り地では 2.84:1 なので線・飾りのみ） */
  --shu: #E2572B;
  --sumi-2: #262524;
  --kinari-dim: #B4B2A9;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Century Gothic", "Questrial", "Jost", "Futura", sans-serif;
  --wrap: 1080px;
  --wrap-narrow: 760px;
  --bar-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--sumi);
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.pc { display: none; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 242, .94);
  border-bottom: 1px solid var(--line-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-family: var(--font-en); letter-spacing: .32em; font-size: 18px; }
.brand-ja { font-size: 10px; letter-spacing: .3em; color: var(--sumi-soft); font-weight: 300; margin-top: 2px; }
.gnav { display: none; }

/* ボタン */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  border: 1px solid var(--sumi); padding: 14px 22px; font-size: 15px;
  letter-spacing: .08em; background: transparent; color: var(--sumi);
  font-family: inherit; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--sumi); color: var(--paper); }
.btn-primary { background: var(--sumi); color: var(--paper); }
.btn-primary:hover { background: var(--sumi-soft); border-color: var(--sumi-soft); }
.btn-accent { background: var(--shu); border-color: var(--shu); color: var(--sumi); font-weight: 500; }
.btn-accent:hover { background: var(--kinari); border-color: var(--kinari); color: var(--sumi); }
.btn-light { border-color: var(--kinari); color: var(--kinari); }
.btn-light:hover { background: var(--kinari); color: var(--sumi); }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

/* 最初の画面 */
.hero { background: var(--sumi); color: var(--kinari); padding: 56px 0 120px; position: relative; overflow: hidden; }
.hero::after {
  /* ロゴの曲線を背景に */
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 90px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 140' preserveAspectRatio='none'%3E%3Cpath d='M0 80 C 20 74, 40 71, 60 71 C 110 72, 152 103, 200 124 C 230 136, 272 137, 302 128 C 341 116, 372 82, 420 40 C 455 20, 486 13, 512 10' fill='none' stroke='%238C8780' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow { font-size: 13px; color: var(--kinari-dim); letter-spacing: .14em; margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--shu); vertical-align: middle; margin-right: 12px; }
.hero-title {
  font-size: clamp(64px, 19vw, 168px); font-weight: 500; line-height: 1.04; letter-spacing: -.02em;
  margin: 0 0 28px -.04em;
}
.hero-title .accent { color: var(--shu); }
.hero-lead { font-size: 16px; color: var(--kinari); margin-bottom: 26px; }
.hero-price { font-size: 19px; font-weight: 500; letter-spacing: .06em; margin-bottom: 4px; }
.hero-price span { font-size: 13px; font-weight: 400; white-space: nowrap; color: var(--kinari-dim); }
.hero-price-note { font-size: 13px; color: var(--kinari-dim); margin-bottom: 28px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
/* ヒトメジロ（最初の画面）。スマホでは右下の余白に小さく */
.hero-visual { position: absolute; right: 8px; bottom: -112px; width: 118px; margin: 0; z-index: 2; }
.hero-visual img { transform: rotate(8deg); }
.hero-visual figcaption { display: none; }
@keyframes mejiro-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero-visual img { animation: mejiro-bob 3.2s ease-in-out infinite; }

/* ヒトメジロの一言（本文の横に小さく） */
.mejiro-say { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.mejiro-say img { width: 76px; flex: none; transform: rotate(-6deg); }
.mejiro-say .fit-note, .mejiro-say .contact-lead { margin: 0; }
.mejiro-say--flip img { transform: scaleX(-1) rotate(-6deg); }
.contact-lead { margin-bottom: 20px; }
.mejiro-say--flip { margin: 0 0 24px; }
.thanks-mejiro { width: 120px; margin: 0 0 12px -8px; transform: rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .hero-visual img { animation: none; } }

/* 墨の地のセクション（生成りの地と交互に置く） */
.section-dark { background: var(--sumi); color: var(--kinari); }
.section-dark .section-title .en { color: var(--shu); }
.section-dark .flow-step { background: var(--sumi-2); border-color: #3A3937; }
.section-dark .flow-num { color: var(--shu); }
.section-dark .flow-step p:last-child,
.section-dark .about-profile p { color: var(--kinari-dim); }
.section-dark .flow-note { border-left-color: var(--shu); }
.section-dark .about-profile { border-top-color: #4A4744; }
.section-dark .about-origin strong { border-bottom-color: var(--shu); }
.section-dark .about-name-en { color: var(--kinari); }

/* 画面に入ったら下からふわっと出す（JS が動くときだけ。動きを減らす設定の人には出さない） */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* セクション共通 */
.section { padding: 72px 0; }
.section-alt { background: var(--kinari-light); }
.section-title { font-size: 28px; font-weight: 500; letter-spacing: .04em; line-height: 1.35; margin-bottom: 40px; }
.section-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--shu); margin-top: 18px; }
.section-title .en {
  display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .3em;
  color: var(--line); margin-bottom: 6px; text-transform: uppercase;
}

/* こんなお店に */
.fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-item {
  position: relative; background: var(--paper); border: 1px solid var(--line-light);
  padding: 18px 18px 18px 52px; font-size: 16px; font-weight: 500; line-height: 1.7;
}
.fit-item::before {
  /* チェックの印（朱の四角に墨のレ点） */
  content: ""; position: absolute; left: 18px; top: 22px; width: 20px; height: 20px; background: var(--shu);
}
.fit-item::after {
  content: ""; position: absolute; left: 24px; top: 25px; width: 7px; height: 11px;
  border: solid var(--sumi); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.fit-note { margin: 28px 0 0; font-size: 16px; font-weight: 500; }

/* 特長 */
.features { display: grid; gap: 36px; }
.feature { border-top: 1px solid var(--line); padding-top: 20px; }
.feature-num { font-family: var(--font-en); font-size: 44px; line-height: 1; color: var(--sumi); letter-spacing: .02em; margin-bottom: 14px; }
.feature { border-top-width: 2px; border-top-color: var(--sumi); }
.feature h3 { font-size: 18px; margin-bottom: 12px; }
.feature p:last-child { color: var(--sumi-soft); font-size: 15px; margin: 0; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.flow-step { background: var(--paper); border: 1px solid var(--line-light); padding: 22px 22px 18px; }
.flow-num { font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--line); margin-bottom: 4px; }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p:last-child { font-size: 14px; color: var(--sumi-soft); margin: 0; }
.flow-note { margin: 28px 0 0; font-size: 15px; border-left: 2px solid var(--sumi); padding-left: 14px; }

/* 実績 */
.work { display: grid; gap: 28px; }
.work-images { position: relative; padding-right: 22%; }
.work-pc { border: 1px solid var(--line-light); }
.work-sp {
  position: absolute; right: 0; bottom: -14px; width: 26%;
  border: 4px solid var(--sumi); border-radius: 14px; background: var(--sumi);
}
.work-meta { font-size: 13px; color: var(--line); letter-spacing: .1em; margin-bottom: 4px; }
.work-body h3 { font-size: 19px; margin-bottom: 18px; }
.work-points { margin: 0 0 18px; }
.work-points dt { font-size: 13px; color: var(--line); letter-spacing: .1em; }
.work-points dd { margin: 2px 0 14px; font-size: 15px; }

/* 料金 */
.price-main { display: grid; gap: 20px; margin-bottom: 44px; }
.price-card { background: var(--paper); border: 1px solid var(--line-light); padding: 28px 24px; }
.price-card h3 { font-size: 16px; letter-spacing: .1em; margin-bottom: 10px; }
.price-num { font-family: var(--font-en); font-size: 36px; letter-spacing: .04em; line-height: 1.2; margin-bottom: 4px; }
.price-num span { font-family: var(--font-ja); font-size: 13px; letter-spacing: .04em; }
.price-sub { font-size: 13px; color: var(--sumi-soft); margin-bottom: 18px; }
.price-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.price-list li { padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line-light); font-size: 14px; position: relative; }
.price-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 1px; background: var(--sumi); }
.price-option-title { font-size: 17px; margin-bottom: 14px; }
.price-options { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 14px; }
.price-options th, .price-options td { display: block; text-align: left; padding: 0; }
.price-options tr { display: block; border-top: 1px solid var(--line-light); padding: 14px 0; }
.price-options tr:last-child { border-bottom: 1px solid var(--line-light); }
.price-options th { font-weight: 500; font-size: 15px; }
.price-options td { color: var(--sumi-soft); }
.price-options td.yen { color: var(--sumi); font-size: 16px; margin-top: 4px; }
.price-options small { font-size: 12px; }
.price-note { font-size: 12px; color: var(--sumi-soft); line-height: 1.8; margin-bottom: 40px; }
.discount { border: 1px solid var(--sumi); padding: 26px 24px; background: var(--paper); }
.discount-label {
  display: inline-block; font-size: 12px; letter-spacing: .14em; background: var(--sumi); color: var(--paper);
  padding: 2px 10px; margin-bottom: 12px;
}
.discount h3 { font-size: 18px; margin-bottom: 8px; }
.discount strong { font-size: 20px; font-weight: 500; }
.nowrap { white-space: nowrap; }
.discount-cond { font-size: 13px; color: var(--sumi-soft); margin: 0; }

/* よくある質問 */
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 30px; position: relative; font-weight: 500; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); position: absolute; left: 2px; top: 17px; color: var(--line); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 20px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 6px 20px 30px; margin: 0; font-size: 15px; color: var(--sumi-soft); }

/* 屋号とプロフィール */
.about { text-align: left; }
.about-name-en { font-family: var(--font-en); font-size: 34px; letter-spacing: .34em; margin-bottom: 14px; }
.about-origin { font-size: 17px; line-height: 2; margin-bottom: 36px; }
.about-origin strong { font-weight: 500; border-bottom: 1px solid var(--sumi); }
.about-profile { border-top: 1px solid var(--line); padding-top: 24px; }
.about-profile h3 { font-size: 16px; letter-spacing: .12em; margin-bottom: 14px; }
.about-profile p { font-size: 15px; color: var(--sumi-soft); }

/* 対応エリア */
.area-lead { font-size: 17px; }
.area-list { font-size: 15px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 14px 0; }

/* お問い合わせ */
.contact-lead { margin-bottom: 20px; }
.contact-ways { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.req { font-size: 11px; font-weight: 400; background: var(--sumi); color: var(--paper); padding: 1px 6px; margin-left: 8px; justify-self: start; }
.form label:has(.req) { grid-template-columns: auto 1fr; align-items: center; }
.form label:has(.req) input { grid-column: 1 / -1; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); background: #fff; color: var(--sumi); border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--sumi); outline-offset: 1px; }
.form .agree { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.form .agree input { width: 20px; height: 20px; accent-color: var(--sumi); }
.hp { position: absolute; left: -9999px; }
.form button { width: 100%; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 12px; color: var(--sumi-soft); margin: 0; }
.field-note { font-size: 12px; font-weight: 400; color: var(--sumi-soft); }

/* フッター */
.site-footer { background: var(--sumi); color: var(--kinari); padding: 48px 0 40px; font-size: 13px; }
.site-footer .brand-en { font-size: 22px; margin-bottom: 16px; display: block; }
.site-footer a { color: var(--kinari); }
.footer-links { margin-top: 18px; }
.copy { color: var(--line); margin: 18px 0 0; font-size: 12px; }

/* スマホ下部の固定ボタン */
.sp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; background: var(--paper); border-top: 1px solid var(--line);
}
.sp-bar a {
  display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px;
  letter-spacing: .08em; border-right: 1px solid var(--line-light);
}
.sp-bar .sp-bar-main { background: var(--shu); color: var(--sumi); font-weight: 500; border-right: 0; }

/* 下層ページ（プライバシーポリシー・送信完了）。固定ボタンが無いので下の余白を消す */
body.no-bar { padding-bottom: 0; }
.page { padding: 56px 0 80px; }
.page h1 { font-size: 24px; font-weight: 400; letter-spacing: .1em; margin-bottom: 32px; }
.page h2 { font-size: 17px; margin: 36px 0 10px; }
.page p, .page li { font-size: 15px; color: var(--sumi-soft); }
.page .btn { margin-top: 24px; }

/* タブレット以上 */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sp-bar { display: none; }
  .pc { display: inline; }
  .hero { padding: 96px 0 150px; }
  .hero-lead { font-size: 17px; }
  .hero-visual { width: 190px; right: 12px; bottom: -150px; }
  .mejiro-say img { width: 96px; }
  .hero-actions { flex-direction: row; max-width: none; }
  .section { padding: 104px 0; }
  .section-title { font-size: 40px; margin-bottom: 56px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .fit { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fit-item { font-size: 17px; padding: 24px 24px 24px 60px; }
  .fit-item::before { left: 24px; top: 29px; }
  .fit-item::after { left: 30px; top: 32px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .price-main { grid-template-columns: 1fr 1fr; }
  .price-options { display: table; }
  .price-options tbody { display: table-row-group; }
  .price-options tr { display: table-row; padding: 0; }
  .price-options th, .price-options td { display: table-cell; padding: 16px 12px; border-top: 1px solid var(--line-light); vertical-align: top; }
  .price-options tr:last-child th, .price-options tr:last-child td { border-bottom: 1px solid var(--line-light); }
  .price-options th { width: 24%; padding-left: 0; }
  .price-options td.yen { white-space: nowrap; text-align: right; padding-right: 0; margin: 0; }
  .contact-ways { flex-direction: row; }
  .contact-ways .btn { flex: 1; }
}

/* パソコン */
@media (min-width: 1080px) {
  .gnav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
  .gnav a { text-decoration: none; letter-spacing: .08em; }
  .gnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .gnav-cta { background: var(--shu); color: var(--sumi); padding: 7px 16px; font-weight: 500; }
  .gnav-cta:hover { text-decoration: none !important; background: var(--sumi); color: var(--paper); }
  .hero-visual { right: 0; top: 50%; bottom: auto; width: 420px; transform: translateY(-50%); }
  .hero-visual img { transform: rotate(6deg); }
  .hero-visual figcaption {
    display: block; margin-top: 4px; font-family: var(--font-en); font-size: 13px; color: var(--kinari-dim);
    letter-spacing: .3em; text-align: center;
  }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .work { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; }
}
