/* =========================================================
   お店のホームページ制作 佐々木 律（紹介サイト）
   色や質感は、いちばん上の :root でまとめて決めています
   ========================================================= */

/* 横手のイメージ：雪・かまくらの灯り・増田の内蔵（漆喰と黒漆）・秋田杉 ／ 別府：湯けむり・竹細工 */
:root {
  --bg: #f3f4f0;          /* 雪あかりの白 */
  --surface: #fdfdfa;
  --tint: #e9ebe6;
  --text: #1f1d1b;
  --muted: #55504a;
  --line: #d0cec5;

  --ai: #1f3a5f;          /* 藍（のれん） */
  --ai-deep: #18263a;
  --on-ai: #f6f4ee;
  --link: #1f3a5f;

  --shu: #ae4a1a;         /* かまくらの灯り（大事なボタン・印） */
  --on-shu: #fffdf8;
  --shu-text: #ae4a1a;    /* 文字として使うときの灯りの色 */
  --snow: #ffffff;

  --wall: #ecebe4;        /* 蔵の漆喰の壁 */
  --kuro: #2b2724;        /* 蔵の黒漆・なまこ壁の瓦 */
  --namako-joint: #f4f2ea;
  --wood: #d2a47c;        /* 秋田杉 */
  --wood-light: #e3c3a0;
  --wood-ink: #24160c;

  --line-green: #03873d;  /* LINEの緑を少し濃くして、白い文字を読みやすく */
  --on-line-green: #ffffff;

  --font-body: "BIZ UDPGothic", "BIZ UDゴシック", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-fude: "Yuji Syuku", "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  /* 雪輪紋（ゆきわもん） */
  --yukiwa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='25' r='23'/%3E%3Ccircle cx='71.7' cy='37.5' r='23'/%3E%3Ccircle cx='71.7' cy='62.5' r='23'/%3E%3Ccircle cx='50' cy='75' r='23'/%3E%3Ccircle cx='28.3' cy='62.5' r='23'/%3E%3Ccircle cx='28.3' cy='37.5' r='23'/%3E%3C/g%3E%3C/svg%3E");
  /* 降る雪 */
  --yuki-fall:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.85) 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 10%, rgba(255,255,255,0.7) 0 1.5px, transparent 2px),
    radial-gradient(circle at 45% 70%, rgba(255,255,255,0.8) 0 2.5px, transparent 3px),
    radial-gradient(circle at 85% 55%, rgba(255,255,255,0.6) 0 1.5px, transparent 2px),
    radial-gradient(circle at 10% 85%, rgba(255,255,255,0.7) 0 1.8px, transparent 2.3px);

  /* ---- 素材の質感（画像ファイルを使わず、SVGのノイズで作っています） ---- */
  --tex-washi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 0.09 0'/%3E%3C/filter%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.09' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.35 0.55 0 0 0 -0.36'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --tex-wood-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='600'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6 0.006' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.33 0 0 0 0 0.15 0 0 0 0 0.05 1.25 0 0 0 -0.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --tex-wood-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='180'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.6' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.33 0 0 0 0 0.15 0 0 0 0 0.05 1.25 0 0 0 -0.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
  --tex-plaster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.3 0 0 0 0 0.28 0 0 0 0.1 0'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.33 0 0 0 0 0.3 0.22 0 0 0 -0.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
  --tex-cloth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5 0.2' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0'/%3E%3C/filter%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.2 1.5' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");

  --shadow-paper: 0 1px 2px rgba(40,30,20,0.08), 0 6px 16px rgba(40,30,20,0.07);

  --wrap: 1040px;
  --gutter: 16px;
  --dock-h: 64px;
}

/* ダークモード（雪の夜） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151d; --surface: #1a1f29; --tint: #151a23;
    --text: #eef0f2; --muted: #b7bcc4; --line: #333a47;
    --ai: #2b4a76; --ai-deep: #0c1422; --on-ai: #f1f1ec; --link: #9cc0ec;
    --shu: #f0a24a; --on-shu: #1c1006; --shu-text: #f6b860; --snow: #e8edf3;
    --wall: #1b2029; --kuro: #0b0e13; --namako-joint: #8c939e;
    --wood: #7c5636; --wood-light: #6b4a2e; --wood-ink: #f7ead8;
  }
}
:root[data-theme="dark"] {
  --bg: #11151d; --surface: #1a1f29; --tint: #151a23;
  --text: #eef0f2; --muted: #b7bcc4; --line: #333a47;
  --ai: #2b4a76; --ai-deep: #0c1422; --on-ai: #f1f1ec; --link: #9cc0ec;
  --shu: #f0a24a; --on-shu: #1c1006; --shu-text: #f6b860; --snow: #e8edf3;
  --wall: #1b2029; --kuro: #0b0e13; --namako-joint: #8c939e;
  --wood: #7c5636; --wood-light: #6b4a2e; --wood-ink: #f7ead8;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (min-width: 900px) { html { scroll-padding-top: 72px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--tex-washi);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }
small { font-size: 0.85em; }
strong { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; font-weight: 700; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- 上の帯 ---------- */
.topbar { background: var(--ai-deep); color: var(--on-ai); position: relative; z-index: 30; }
@media (min-width: 900px) { .topbar { position: sticky; top: 0; } }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.topbar-name { color: var(--on-ai) !important; text-decoration: none; line-height: 1.3; padding: 6px 0; }
.brand { display: block; font-family: var(--font-fude); font-size: 22px; letter-spacing: 0.12em; }
.brand-sub { display: block; font-size: 13px; opacity: 0.9; }
.footer-name span { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 400; letter-spacing: 0.02em; }
.topbar-tel { display: none; color: var(--on-ai) !important; text-decoration: none; font-weight: 700; font-size: 22px; }
.topbar-tel-label { font-size: 14px; font-weight: 400; margin-right: 8px; opacity: 0.85; }
@media (min-width: 900px) { .topbar-tel { display: block; } }

/* ---------- のれん ---------- */
.hero { padding-bottom: 40px; }
.noren { position: relative; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.noren-rod {
  position: relative; z-index: 2;
  height: 14px; margin: 14px -8px 0;
  background-color: var(--wood);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0) 40%, rgba(0,0,0,0.38)), var(--tex-wood-h);
  border-radius: 7px;
  box-shadow: 0 3px 4px rgba(0,0,0,0.3);
}
.noren-rod::before { /* 竿に積もった雪 */
  content: ""; position: absolute; left: -6px; right: -6px; bottom: 9px; height: 14px;
  background: radial-gradient(120% 140% at 50% 0%, var(--snow) 55%, #dfe6ee);
  border-radius: 14px 18px 4px 4px / 12px 14px 2px 2px;
  box-shadow: 0 0 0 1px rgba(150,165,185,0.45), 0 2px 3px rgba(40,60,90,0.15);
}
.noren-cloth { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.noren-cloth::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--yuki-fall); background-size: 90px 110px; }
.noren-panel {
  position: relative; height: 200px;
  background-color: var(--ai);
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.26) 0%, rgba(255,255,255,0.07) 24%, rgba(0,0,0,0.06) 52%, rgba(255,255,255,0.06) 74%, rgba(0,0,0,0.28) 100%),
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.14)),
    var(--tex-cloth);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-ai);
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.16), 0 12px 14px -6px rgba(10,20,40,0.35);
}
.noren-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.12));
}
.noren-text {
  writing-mode: vertical-rl; font-family: var(--font-fude);
  font-size: 24px; letter-spacing: 0.08em; line-height: 1; margin-top: 10px;
  text-shadow: 0 0 1px rgba(255,255,255,0.5);
}
.noren-mon {
  width: 92px; height: 92px; background: var(--on-ai); color: var(--ai);
  -webkit-mask: var(--yukiwa) center / contain no-repeat; mask: var(--yukiwa) center / contain no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-fude); font-size: 44px; line-height: 1; margin-top: 10px;
}
/* のれんの中身：真ん中に紋と屋号、左右に横手の雪と別府の湯けむり */
.noren-panel { flex-direction: column; gap: 10px; padding-top: 16px; }
.noren-panel.is-center .noren-mon { width: 50px; height: 50px; font-size: 26px; margin-top: 0; flex: none; }
.noren-name {
  writing-mode: vertical-rl; font-family: var(--font-fude); white-space: nowrap;
  font-size: 21px; line-height: 1; letter-spacing: 0.02em;
  text-shadow: 0 0 1px rgba(255,255,255,0.5);
}
.noren-place { writing-mode: vertical-rl; font-family: var(--font-fude); font-size: 19px; letter-spacing: 0.2em; opacity: 0.85; }
.noren-motif { width: 46px; height: 46px; background: no-repeat center / contain; opacity: 0.9; }
.noren-motif.is-yuki { /* 雪の結晶 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23f6f4ee' stroke-width='5' stroke-linecap='round'%3E%3Cg id='a'%3E%3Cpath d='M50 50V8M50 22l-9-9M50 22l9-9M50 36l-8-7M50 36l8-7'/%3E%3C/g%3E%3Cuse href='%23a' transform='rotate(60 50 50)'/%3E%3Cuse href='%23a' transform='rotate(120 50 50)'/%3E%3Cuse href='%23a' transform='rotate(180 50 50)'/%3E%3Cuse href='%23a' transform='rotate(240 50 50)'/%3E%3Cuse href='%23a' transform='rotate(300 50 50)'/%3E%3C/svg%3E");
}
.noren-motif.is-yu { /* 湯けむり */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23f6f4ee' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M30 62c-8-10 8-16 0-28s4-18 2-24'/%3E%3Cpath d='M50 62c-8-10 8-16 0-28s4-18 2-24'/%3E%3Cpath d='M70 62c-8-10 8-16 0-28s4-18 2-24'/%3E%3Cpath d='M14 76c10 10 62 10 72 0' stroke-width='7'/%3E%3C/svg%3E");
}
.noren-panel { height: 250px; }
@media (min-width: 600px) {
  .noren-panel { height: 330px; gap: 14px; }
  .noren-text { font-size: 32px; }
  .noren-mon { width: 124px; height: 124px; font-size: 60px; }
  .noren-panel.is-center .noren-mon { width: 76px; height: 76px; font-size: 38px; }
  .noren-name { font-size: 28px; }
  .noren-place { font-size: 24px; }
  .noren-motif { width: 64px; height: 64px; }
}

/* ---------- ヒーロー ---------- */
.hero-body { max-width: 760px; padding-top: 28px; }
.hero-title {
  font-family: var(--font-fude); font-weight: 400;
  font-size: 33px; line-height: 1.45; letter-spacing: 0.02em; margin: 0 0 20px;
}
.hero-title span { display: inline-block; }
@media (min-width: 600px) { .hero-title { font-size: 46px; } }
.hero-lead { font-size: 18px; }
.hero-price {
  margin: 0 0 20px; padding: 14px 16px;
  background-color: var(--surface); background-image: var(--tex-washi);
  border: 2px solid var(--shu); box-shadow: var(--shadow-paper);
  line-height: 1.5;
}
.hero-price > span { display: block; }
.hero-price-label { font-size: 17px; font-weight: 700; }
.hero-price-main { font-size: 22px; font-weight: 700; color: var(--shu-text); }
.hero-price-main .num { font-size: 38px; margin: 0 2px; }
.hero-price-sub { font-size: 17px; }
.hero-actions { display: grid; gap: 12px; }
@media (min-width: 600px) { .hero-actions { grid-template-columns: 1fr 1fr; } .hero-actions .btn-shu { grid-column: 1 / -1; } }
.search-label { margin: 36px 0 14px; font-size: 16px; color: var(--muted); }
@media (min-width: 900px) {
  .hero-body { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
  .hero-phone .search-label { margin-top: 8px; }
}

/* スマホの見本画面（画面の中は実物どおり白） */
.hero-phone { margin: 0; }
.phone {
  position: relative; width: 100%; max-width: 320px; margin: 0 auto; padding: 11px; border-radius: 44px;
  background: linear-gradient(145deg, #3a3e46, #111318 60%, #2a2d33);
  box-shadow: 0 0 0 1.5px #565b65, inset 0 0 0 1px rgba(255,255,255,0.1), 0 30px 50px -10px rgba(10,20,40,0.45), 0 12px 18px rgba(10,20,40,0.18);
}
.phone::before { content: ""; position: absolute; right: -3px; top: 120px; width: 3px; height: 56px; background: #4a4e57; border-radius: 0 2px 2px 0; }
.phone-screen { position: relative; overflow: hidden; border-radius: 34px; background: #f4f5f7; color: #202124; font-family: var(--font-body); font-size: 14px; line-height: 1.5; letter-spacing: 0; padding-bottom: 14px; }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #0b0c0f; border-radius: 14px; }
.phone-screen p { margin: 0; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 8px; font-weight: 700; font-size: 14px; }
.phone-icons { display: flex; align-items: center; gap: 6px; }
.ph-signal { display: block; width: 16px; height: 10px; background: linear-gradient(90deg, #202124 0 3px, transparent 3px 4.3px, #202124 4.3px 7.3px, transparent 7.3px 8.6px, #202124 8.6px 11.6px, transparent 11.6px 12.9px, #202124 12.9px 16px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ph-battery { display: block; width: 22px; height: 11px; border: 1.5px solid #202124; border-radius: 3px; background: linear-gradient(90deg, #202124 70%, transparent 70%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.ph-search { display: flex; align-items: center; gap: 10px; margin: 6px 12px 10px; background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 1px rgba(0,0,0,0.06); }
.search-icon { width: 13px; height: 13px; border: 2px solid #5f6368; border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; position: absolute; width: 2px; height: 6px; background: #5f6368; right: -4px; bottom: -5px; transform: rotate(-45deg); }
.ph-map { margin: 0 12px 10px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.ph-map-img {
  position: relative; height: 112px; background-color: #e9efe6;
  background-image:
    linear-gradient(28deg, transparent 46%, #ffffff 46% 54%, transparent 54%),
    linear-gradient(-62deg, transparent 47%, #fbe7a6 47% 53%, transparent 53%),
    linear-gradient(90deg, transparent 70%, #ffffff 70% 73%, transparent 73%),
    linear-gradient(0deg, transparent 30%, #ffffff 30% 34%, transparent 34%),
    radial-gradient(60% 50% at 85% 95%, #b9d6f2 60%, transparent 61%),
    radial-gradient(30% 25% at 15% 20%, #cfe5c4 70%, transparent 71%);
}
.ph-pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -30px 0 0 -13px; background: #e2483d; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: -2px 3px 4px rgba(0,0,0,0.25); }
.ph-pin::after { content: ""; position: absolute; inset: 8px; background: #8b1f17; border-radius: 50%; }
.ph-map-body { padding: 10px 14px 12px; }
.ph-name { font-size: 18px; font-weight: 700; }
.ph-rate { color: #5f6368; font-size: 13px; }
.ph-stars { color: #f2a33a; letter-spacing: -1px; }
.ph-open { font-size: 13px; color: #5f6368; }
.ph-open span { color: #188038; font-weight: 700; }
.ph-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ph-chips span { border: 1px solid #dadce0; border-radius: 999px; padding: 2px 10px; font-size: 13px; color: #1a56b4; background: #fff; }
.ph-result { margin: 0 12px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.ph-url { color: #4d5156; font-size: 12px; }
.ph-title { color: #1a0dab; font-size: 16px; line-height: 1.4; margin: 2px 0 !important; }
.ph-text { color: #4d5156; font-size: 13px; }

/* ---------- ボタン ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: 10px 18px;
  font-size: 19px; font-weight: 700; line-height: 1.4;
  text-decoration: none; border: 2px solid transparent; border-radius: 6px; cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,0.25), 0 8px 14px -4px rgba(0,0,0,0.2);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.25); }
.btn-shu { background-color: var(--shu); background-image: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 50%, rgba(0,0,0,0.06)); color: var(--on-shu) !important; }
.btn-line { background: var(--line-green); color: var(--on-line-green) !important; }
.btn-outline { border-color: var(--ai); color: var(--link) !important; background: var(--surface); box-shadow: 0 3px 0 rgba(31,58,95,0.35); }
.btn-outline-light { border-color: var(--on-ai); color: var(--on-ai) !important; background: transparent; box-shadow: none; }
.btn-big { min-height: 64px; font-size: 20px; }

/* ---------- もくじ ---------- */
.toc { padding-bottom: 8px; }
.toc-title { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toc a {
  display: flex; align-items: center; min-height: 52px; padding: 6px 12px 6px 14px;
  background-color: var(--surface); background-image: var(--tex-washi);
  border: 1px solid var(--line); border-left: 4px solid var(--ai);
  color: var(--text) !important; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.35;
  box-shadow: var(--shadow-paper);
}
@media (min-width: 760px) { .toc ul { grid-template-columns: repeat(5, 1fr); } }

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } } /* パソコンでは余白を広く */
.section-tint { background-color: var(--tint); }
/* 見出し：短い言葉を大きな筆文字で、横書き・左寄せ。説明は普通の文字で下に */
.h2 {
  font-family: var(--font-fude); font-weight: 400;
  font-size: 34px; line-height: 1.3; letter-spacing: 0.06em;
  margin: 0 0 12px;
}
@media (min-width: 900px) { .h2 { font-size: 46px; margin-bottom: 16px; } }
.h3 { font-size: 21px; margin: 40px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.section-lead { font-size: 18px; margin-bottom: 28px; color: var(--muted); max-width: 40em; }
@media (min-width: 900px) { .section-lead { font-size: 19px; margin-bottom: 40px; } }
.sub-block { margin-top: 56px; }

/* ---------- 一 つくるもの ---------- */
.points { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: pt; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points li::before { content: counter(pt); grid-row: span 2; font-family: var(--font-fude); font-size: 34px; line-height: 1; color: var(--link); padding-top: 2px; }
.points h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.45; }
.points p { margin: 0; color: var(--muted); }
@media (min-width: 760px) {
  .points { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .points li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}

/* 頼む前・頼んだあと */
.ba { display: grid; gap: 8px; margin: 0 0 6px; align-items: center; }
@media (min-width: 760px) { .ba { grid-template-columns: 1fr auto 1fr; gap: 16px; } }
.ba-item { margin: 0; padding: 14px; background-color: var(--surface); background-image: var(--tex-washi); border: 1px solid var(--line); box-shadow: var(--shadow-paper); }
.ba-item.is-after { border: 3px solid var(--shu); }
.ba-label { display: inline-block; font-weight: 700; font-size: 17px; padding: 2px 12px; margin-bottom: 10px; background: var(--muted); color: var(--surface); }
.is-after .ba-label { background: var(--shu); color: var(--on-shu); }
.ba-arrow { margin: 0; text-align: center; font-size: 26px; color: var(--shu-text); line-height: 1; transform: rotate(90deg); }
@media (min-width: 760px) { .ba-arrow { transform: none; } }
.ba-note { margin: 10px 0 0; font-size: 16px; line-height: 1.6; }
.mini { background: #f4f5f7; color: #202124; border-radius: 14px; padding: 10px; font-family: var(--font-body); font-size: 13px; line-height: 1.45; letter-spacing: 0; }
.mini p { margin: 0; }
.mini-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 12px; margin-bottom: 8px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.mini-res { background: #fff; border-radius: 10px; padding: 8px 10px; margin-top: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.mini-url { color: #4d5156; font-size: 11px; }
.mini-title { color: #1a0dab; font-size: 14px; }
.mini-title-b { font-weight: 700; font-size: 15px; }
.mini-text { color: #4d5156; font-size: 12px; }
.mini-open { color: #188038; font-weight: 700; }
.mini-chips { display: flex; gap: 4px; margin-top: 4px !important; flex-wrap: wrap; }
.mini-chips span { border: 1px solid #dadce0; border-radius: 999px; padding: 0 8px; color: #1a56b4; font-size: 12px; }
.is-before .mini { filter: grayscale(0.4); opacity: 0.9; }

/* お店ごとのあいさつ */
.greet { background: var(--shu); color: var(--on-shu); padding: 12px 0; }
.greet p { margin: 0; font-size: 16px; line-height: 1.6; }
.greet .greet-shop { font-family: var(--font-fude); font-size: 24px; line-height: 1.4; }

/* お客さんの声 */
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .voices { grid-template-columns: 1fr 1fr; } }
.voice { padding: 16px; background-color: var(--surface); background-image: var(--tex-washi); border-left: 5px solid var(--shu); box-shadow: var(--shadow-paper); }
.voice img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; font-size: 18px; }
.voice-who { margin: 10px 0 0; font-weight: 700; text-align: right; }
.voice-who span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }

/* ---------- 二 料金（蔵の壁に木札） ---------- */
.kabe { position: relative; padding: 0 4px 8px; margin-bottom: 8px; overflow: hidden; } /* 木札の影が画面の外にはみ出さないように */
.kabe-rail {
  position: relative; height: 18px; margin: 12px -4px 0;
  background-color: var(--kuro);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 30%, rgba(0,0,0,0.4)), var(--tex-wood-h);
  box-shadow: 0 6px 8px rgba(0,0,0,0.25);
}
.kabe-rail::before {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 15px; height: 12px;
  background: radial-gradient(120% 140% at 50% 0%, var(--snow) 55%, #dfe6ee);
  border-radius: 10px 16px 3px 3px / 10px 12px 2px 2px;
  box-shadow: 0 0 0 1px rgba(150,165,185,0.45), 0 2px 3px rgba(40,60,90,0.15);
}
.namako {
  height: 64px; margin: 28px -4px 0;
  background-color: var(--kuro);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.25), transparent 30%, rgba(255,255,255,0.05) 70%, rgba(0,0,0,0.2)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,0.25) 14px 15px, var(--namako-joint) 15px 19px, transparent 19px),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(0,0,0,0.25) 14px 15px, var(--namako-joint) 15px 19px, transparent 19px);
  border-top: 6px solid var(--namako-joint);
  box-shadow: inset 0 6px 8px -4px rgba(0,0,0,0.45);
}
.kifuda-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; max-width: 600px; margin: 0 auto; align-items: start; }
.kifuda-row.is-two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; max-width: 420px; }
@media (min-width: 600px) { .kifuda-row.is-two { gap: 36px; max-width: 480px; } }
.kifuda-wrap { position: relative; margin-top: 32px; }
.kifuda-wrap.is-side { margin-top: 48px; }
.kifuda-wrap::after { /* 麻ひも */
  content: ""; position: absolute; left: 50%; margin-left: -1.5px; width: 3px;
  bottom: 100%; height: 50px; z-index: 0;
  background: repeating-linear-gradient(170deg, #8a7650 0 3px, #6b5a3a 3px 5px);
}
.kifuda-wrap.is-side::after { height: 66px; }
.kifuda-wrap::before { /* 壁に落ちる影 */
  content: ""; position: absolute; left: 8px; right: -6px; top: 14px; bottom: -10px;
  background: rgba(50,30,10,0.32); filter: blur(9px); border-radius: 6px;
}
.kifuda {
  position: relative; z-index: 1;
  background-color: var(--wood);
  background-image:
    linear-gradient(90deg, rgba(90,40,15,0.22), transparent 18%, rgba(255,255,255,0.08) 45%, transparent 70%, rgba(90,40,15,0.25)),
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 25%, transparent 80%, rgba(0,0,0,0.08)),
    var(--tex-wood-v);
  color: var(--wood-ink);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px);
  padding: 24px 6px 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.25), inset 0 -3px 0 rgba(0,0,0,0.15), inset 0 0 0 1px rgba(0,0,0,0.1);
}
.kifuda::before { /* ひもを通す穴 */
  content: ""; position: absolute; top: 8px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: #3a2a1c; box-shadow: inset 0 2px 2px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.3);
}
.kifuda p { margin: 0; }
.kifuda-name {
  writing-mode: vertical-rl; font-family: var(--font-fude);
  font-size: 22px; line-height: 1; letter-spacing: 0.1em;
  margin: 6px 0 12px !important; min-height: 190px;
  display: flex; align-items: center;
  text-shadow: 0 1px 0 rgba(255,255,255,0.22);
}
.is-main .kifuda-name { font-size: 34px; min-height: 240px; }
.kifuda-price { font-size: 14px; line-height: 1.2; white-space: nowrap; letter-spacing: 0; text-shadow: 0 1px 0 rgba(255,255,255,0.22); }
.kifuda-price .num { font-size: 17px; }
.is-main .kifuda-price { font-size: 15px; }
.is-main .kifuda-price .num { font-size: 23px; }
.kifuda-sub { margin-top: 8px !important; font-size: 15px; line-height: 1.4; }
.osusume {
  position: absolute; top: 22px; right: 6px; margin: 0;
  writing-mode: vertical-rl; background: var(--shu); color: var(--on-shu);
  font-size: 13px; font-weight: 700; padding: 6px 3px; letter-spacing: 0.1em; line-height: 1;
}
@media (min-width: 600px) {
  .kifuda-row { gap: 24px; }
  .kifuda-name { font-size: 28px; min-height: 250px; }
  .is-main .kifuda-name { font-size: 46px; min-height: 320px; }
  .kifuda-price { font-size: 17px; }
  .kifuda-price .num { font-size: 24px; }
  .is-main .kifuda-price .num { font-size: 34px; }
  .osusume { font-size: 15px; padding: 8px 5px; right: 10px; }
}

/* はじめの5店舗の丸 */
.five { margin: 28px 0 0; padding: 18px 16px; background-color: var(--surface); background-image: var(--tex-washi); border: 1px solid var(--line); box-shadow: var(--shadow-paper); text-align: center; }
.five-title { font-weight: 700; font-size: 19px; margin-bottom: 12px; }
.five-list { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.five-maru {
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--shu); color: var(--shu-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
}
.five-no { font-family: var(--font-fude); font-size: 22px; }
.five-state { font-size: 12px; font-weight: 700; }
.five-maru.is-taken { background: var(--shu); color: var(--on-shu); transform: rotate(-8deg); }
.five-status { margin: 12px 0 4px; font-weight: 700; }
.five-note { margin: 0; color: var(--muted); font-size: 16px; }
.five-ask { text-align: left; margin: 14px 0; padding: 12px 14px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.five-ask-title { font-weight: 700; margin: 0 0 4px; }
.five-ask ul { margin: 0; padding-left: 1.3em; }
.five-ask li { padding: 2px 0; }
.h3-sub { font-size: 16px; font-weight: 400; color: var(--muted); margin-left: 4px; }

/* チェックの並び */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px dashed var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 16px; height: 9px; border-left: 3px solid var(--shu); border-bottom: 3px solid var(--shu); transform: rotate(-45deg); }
.checks small { display: block; color: var(--muted); }
@media (min-width: 760px) { #price .checks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* 2回払いの表 */
.pay { width: 100%; border-collapse: collapse; background-color: var(--surface); box-shadow: var(--shadow-paper); font-size: 18px; }
.pay { table-layout: fixed; }
.pay th, .pay td { border: 1px solid var(--line); padding: 12px 10px; text-align: left; line-height: 1.45; }
.pay thead th { background: var(--ai); color: var(--on-ai); font-size: 16px; text-align: center; }
.pay thead th small { font-size: 14px; font-weight: 400; }
.pay thead th:first-child { width: 34%; background: transparent; border-top-color: transparent; border-left-color: transparent; }
.pay tbody th, .pay tfoot th { font-size: 16px; }
.pay td { text-align: right; white-space: nowrap; font-size: 15px; }
.pay td .num { font-size: 20px; }
@media (min-width: 600px) { .pay td .num { font-size: 22px; } .pay tbody th, .pay tfoot th { font-size: 18px; } }
.pay tfoot th, .pay tfoot td { background: var(--tint); font-weight: 700; }
.pay tfoot td .num { color: var(--shu-text); font-size: 20px; }
@media (max-width: 599px) { .pay td { padding-left: 6px; padding-right: 8px; } }
@media (min-width: 600px) { .pay tfoot td .num { font-size: 24px; } }
.notes { margin: 14px 0 0; padding-left: 1.3em; }
.notes li { padding: 3px 0; }

/* 押すと開く欄（追加メニュー・約束ごと） */
.fold { margin: 36px 0 0; }
.fold > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 14px 52px 14px 16px; min-height: 64px;
  background-color: var(--surface); background-image: var(--tex-washi);
  border: 2px solid var(--ai); border-radius: 6px; box-shadow: var(--shadow-paper);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: "開く"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; font-weight: 700; color: var(--on-ai); background: var(--ai);
  padding: 4px 8px; border-radius: 4px; white-space: nowrap;
}
.fold[open] > summary::after { content: "閉じる"; }
.fold[open] > summary { margin-bottom: 14px; }
.fold-title { display: block; font-weight: 700; font-size: 19px; line-height: 1.4; }
.fold-sub { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.yakusoku-key { margin-bottom: 4px; }
.yakusoku-page { margin: 24px 0 8px; }

/* 追加メニュー（木の板のお品書き） */
.oshinagaki {
  position: relative; padding: 18px 16px 14px;
  background-color: var(--wood-light);
  background-image:
    radial-gradient(circle at 14px 14px, #4a3a2c 0 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #4a3a2c 0 3.5px, transparent 4.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #4a3a2c 0 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #4a3a2c 0 3.5px, transparent 4.5px),
    linear-gradient(180deg, rgba(255,255,255,0.2), transparent 20%, rgba(0,0,0,0.08)),
    var(--tex-wood-h);
  color: var(--wood-ink);
  box-shadow: 0 4px 10px rgba(50,30,10,0.25), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -3px 0 rgba(0,0,0,0.12);
}
.menu { width: 100%; border-collapse: collapse; }
.menu th, .menu td { padding: 11px 6px; border-bottom: 1px dashed rgba(60,35,15,0.35); vertical-align: middle; line-height: 1.4; }
.menu tr:last-child th, .menu tr:last-child td { border-bottom: 0; }
.menu th { text-align: left; font-weight: 700; font-size: 18px; }
.menu th small { display: block; font-weight: 400; font-size: 15px; }
.menu td { text-align: right; white-space: nowrap; font-size: 15px; padding-left: 4px; }
.menu td .num { font-size: 20px; }
@media (min-width: 600px) { .menu td { font-size: 16px; } .menu td .num { font-size: 23px; } }
.menu-pay { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.menu-note { margin: 10px 0 0; padding-top: 10px; border-top: 2px solid rgba(60,35,15,0.35); font-weight: 700; font-size: 16px; }

/* ---------- 三 毎年の費用 ---------- */
.nenpi-big { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.nenpi-big .num { font-size: 44px; color: var(--shu-text); margin: 0 2px; }
.tatoe { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 760px) { .tatoe { grid-template-columns: 1fr 1fr; } }
.tatoe-item { padding: 16px; background-color: var(--surface); background-image: var(--tex-washi); border: 1px solid var(--line); border-top: 5px solid var(--ai); box-shadow: var(--shadow-paper); }
.tatoe-item p { margin: 0 0 8px; }
.tatoe-label { font-size: 20px; font-weight: 700; }
.tatoe-label strong { color: var(--shu-text); }
.tatoe-price { margin: 8px 0 0; }
.tatoe-price > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 8px 0; border-top: 1px dashed var(--line); }
.tatoe-price dt { font-weight: 700; font-size: 17px; }
.tatoe-price dt small { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.tatoe-price dd { margin: 0 0 0 auto; white-space: nowrap; }
.tatoe-price dd .num { font-size: 22px; }
.hk-note { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* ---------- 四 約束ごと ---------- */
.yakusoku { width: 100%; border-collapse: collapse; background-color: var(--surface); background-image: var(--tex-washi); box-shadow: var(--shadow-paper); }
.yakusoku th, .yakusoku td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; line-height: 1.7; }
.yakusoku th { background: var(--tint); font-weight: 700; width: 10em; white-space: nowrap; }
@media (max-width: 699px) { /* スマホでは、項目名の下に説明を並べる */
  .yakusoku, .yakusoku tbody, .yakusoku tr, .yakusoku th, .yakusoku td { display: block; width: auto; }
  .yakusoku tr { border-bottom: 1px solid var(--line); }
  .yakusoku th { border: 0; border-left: 5px solid var(--shu); padding: 10px 14px; white-space: normal; }
  .yakusoku td { border: 0; padding: 10px 14px 16px; }
}

/* ---------- 五 見本 ---------- */
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .works { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: block; height: 100%; color: var(--text) !important; text-decoration: none; background-color: var(--surface); background-image: var(--tex-washi); border: 1px solid var(--line); box-shadow: var(--shadow-paper); }
.work img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); background: var(--tint); }
.work-body { padding: 14px 16px 16px; }
.work-kind { display: inline-block; font-size: 15px; font-weight: 700; padding: 1px 8px; border: 1px solid var(--muted); color: var(--muted); margin-bottom: 6px; }
.work-kind.is-real { border-color: var(--shu); color: var(--on-shu); background: var(--shu); }
.work-kind.is-sample { border: 2px solid var(--muted); }
.work-kind.is-self { border-color: var(--ai); color: var(--on-ai); background: var(--ai); }
.work-thumb { display: block; }
.work-title { font-weight: 700; font-size: 22px; line-height: 1.4; margin: 2px 0 2px; }
.work-name { font-size: 16px; color: var(--muted); margin: 0 0 10px; }
/* 業種・担当した範囲・制作年（どのカードも同じ形） */
.work-meta { margin: 0 0 14px; border-top: 1px solid var(--line); }
.work-meta > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.work-meta dt { font-weight: 700; color: var(--muted); }
.work-meta dd { margin: 0; }
.work-open { min-height: 54px; font-size: 17px; }
.work-more { margin-top: 12px; border-top: 1px dashed var(--line); }
.work-more > summary { list-style: none; cursor: pointer; position: relative; padding: 12px 34px 12px 0; font-weight: 700; color: var(--link); }
.work-more > summary::-webkit-details-marker { display: none; }
.work-more > summary::after { content: ""; position: absolute; right: 8px; top: 20px; width: 10px; height: 10px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg); }
.work-more[open] > summary::after { transform: rotate(-135deg); top: 25px; }
.work-more-body p { margin: 0 0 8px; font-size: 17px; }
.work-more-title { font-weight: 700; margin-top: 10px !important; }
.work-more-body ul { margin: 0 0 10px; padding-left: 1.3em; font-size: 16px; }
.work-more-body li { padding: 2px 0; }
.work-note { font-size: 15px !important; color: var(--muted); }
.work-contact { margin-top: 12px; padding: 14px; background: var(--tint); border-left: 5px solid var(--shu); }
.work-contact p { font-weight: 700; }
.work-contact-btns { display: grid; gap: 8px; }
.work-contact-btns .btn { min-height: 54px; font-size: 17px; }
.work-card.is-self { border: 2px solid var(--ai); }
.work-type { font-size: 16px; color: var(--muted); margin: 0 0 6px; }
.work-text { font-size: 17px; margin: 0 0 10px; line-height: 1.75; }
.work-go { font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 0.2em; }
.work-card.is-empty { display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 20px; border: 2px dashed var(--line); background: transparent; box-shadow: none; color: var(--muted) !important; text-align: center; }
.work-empty-title { font-weight: 700; font-size: 19px; color: var(--text); }

/* ---------- 六 流れ ---------- */
.stamp {
  display: inline-block; white-space: nowrap;
  border: 2px solid var(--shu-text); color: var(--shu-text);
  font-size: 15px; font-weight: 700; line-height: 1.3; padding: 2px 8px; border-radius: 3px;
  background: var(--surface);
}
.flow { list-style: none; margin: 0; padding: 0; counter-reset: fl; }
.flow li { counter-increment: fl; position: relative; padding: 0 0 28px 64px; }
.flow li::before { content: counter(fl); position: absolute; left: 0; top: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--ai); color: var(--on-ai); font-weight: 700; font-size: 22px; border-radius: 50%; }
.flow li::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow li:last-child { padding-bottom: 0; }
.flow li.is-mise::before { background: var(--shu); color: var(--on-shu); }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 46px; }
.flow h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.flow p { margin: 6px 0 0; }

/* ---------- 七 つくる人 ---------- */
.about { display: grid; gap: 24px; }
.about-photo { margin: 0; max-width: 260px; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-paper); }
.about-name { font-weight: 700; font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.about-name span { display: block; font-weight: 400; font-size: 16px; color: var(--muted); letter-spacing: 0.1em; }
.about-facts { margin: 0 0 20px; border-top: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { font-weight: 700; color: var(--muted); }
.about-facts dd { margin: 0; }
.name-origin { margin: 0 0 18px; padding: 16px; background-color: var(--surface); background-image: var(--tex-washi); border-top: 4px solid var(--shu); box-shadow: var(--shadow-paper); }
.name-origin p { margin: 0; }
.name-origin-title { font-family: var(--font-fude); font-size: 22px; margin-bottom: 6px !important; color: var(--shu-text); }
.callout { background-color: var(--surface); border-left: 6px solid var(--ai); padding: 14px 16px; margin: 0; box-shadow: var(--shadow-paper); }
@media (min-width: 760px) { .about { grid-template-columns: 240px 1fr; gap: 40px; align-items: start; } }

/* ---------- 八 よくある質問 ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 40px; font-weight: 700; font-size: 18px; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 0; top: 17px; font-family: var(--font-fude); color: var(--link); font-size: 22px; line-height: 1.3; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 26px; width: 12px; height: 12px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq-a { position: relative; padding: 0 0 18px 40px; }
.faq-a::before { content: "答"; position: absolute; left: 0; top: -1px; font-family: var(--font-fude); color: var(--shu-text); font-size: 22px; line-height: 1.3; }
.faq-a p { margin: 0; }

/* ---------- 九 ご連絡 ---------- */
.section-ai { position: relative; overflow: hidden; background: var(--ai-deep); color: var(--on-ai); }
.section-ai::before { /* 別府の湯けむり */
  content: ""; position: absolute; right: -10px; top: -10px; width: 180px; height: 150px; pointer-events: none; opacity: 0.14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220' fill='none' stroke='white' stroke-linecap='round'%3E%3Cpath d='M60 220 C40 180 84 156 62 116 C44 82 82 60 66 20' stroke-width='14'/%3E%3Cpath d='M140 220 C124 186 160 164 142 128 C128 98 158 80 146 44' stroke-width='18'/%3E%3Cpath d='M214 220 C200 192 230 172 216 142 C204 118 228 102 220 74' stroke-width='12'/%3E%3C/svg%3E") no-repeat right top / contain;
}
@media (min-width: 760px) { .section-ai::before { width: 300px; height: 250px; right: 4%; } }
.section-ai > .wrap { position: relative; }
.section-ai .h2-num { background: var(--on-ai); color: var(--ai-deep); }
.contact { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.contact-item { border: 1px solid rgba(255,255,255,0.25); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.contact-label { margin: 0; font-weight: 700; font-size: 20px; line-height: 1.3; }
.contact-value { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: 0.04em; }
.contact-mail { font-size: 20px; }
.contact-note { margin: 18px 0 0; font-size: 17px; }
.copy { min-height: 48px; font: inherit; font-size: 16px; font-weight: 700; background: transparent; color: var(--on-ai); border: 1px dashed rgba(255,255,255,0.6); border-radius: 6px; cursor: pointer; }
.copy:hover { background: rgba(255,255,255,0.08); }

/* ---------- フッター ---------- */
.namako-foot { margin: 0; height: 40px; border-top: 0; }
.footer { background: var(--ai-deep); color: var(--on-ai); padding: 24px 0 32px; font-size: 16px; }
.footer p { margin: 0 0 4px; }
.footer-name { font-family: var(--font-fude); font-size: 26px; letter-spacing: 0.12em; margin-bottom: 8px !important; }
.footer-small { opacity: 0.85; font-size: 14px; margin-top: 10px !important; }

/* ---------- 下の連絡ボタン（スマホ） ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ai-deep); box-shadow: 0 -2px 8px rgba(0,0,0,0.2); }
.dock.is-single { grid-template-columns: 1fr; }
.dock a { display: flex; align-items: center; justify-content: center; min-height: var(--dock-h); font-size: 19px; font-weight: 700; text-decoration: none; }
.dock-tel { background: var(--shu); color: var(--on-shu) !important; }
.dock-line { background: var(--line-green); color: var(--on-line-green) !important; }
@media (min-width: 900px) { .dock { display: none; } body { padding-bottom: 0; } }

/* ---------- コピーしました ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 20px); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 20px; font-weight: 700; font-size: 17px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity 0.2s; z-index: 50; max-width: calc(100% - 32px); }
.toast.is-show { opacity: 1; }

/* =========================================================
   すっきりした見せ方（参考：作品を大きく見せるポートフォリオの考え方）
   和の要素は「のれん」と「料金の木札」の2か所だけにしています
   ========================================================= */

/* 和紙・漆喰などの質感は使わない（色はそのまま） */
body, .toc a, .hero-price, .fold > summary, .tatoe-item, .five, .work-card,
.name-origin, .yakusoku, .ba-item, .voice, .fuda-inner { background-image: none !important; }
.section-ai::before { display: none; } /* 湯けむりの飾り */

/* 追加メニューは、木の板ではなく普通の表に */
.oshinagaki { background: var(--surface) !important; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-paper); border-radius: 8px; }
.menu th, .menu td { border-bottom-color: var(--line); }
.menu-note { border-top-color: var(--line); }

/* ボタン：大きさと色はそのまま、影だけ控えめに */
.btn { box-shadow: 0 2px 0 rgba(0,0,0,0.18); border-radius: 8px; }
.btn-outline { box-shadow: none; }

/* 最初の画面の小さなラベル */
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 700; line-height: 1.5; }
.pill.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e9e57; }
.pill.is-done::before { background: var(--muted); }

/* 制作見本：画像を大きく、角を丸く */
.works { gap: 28px; }
@media (min-width: 900px) { .works { gap: 40px 32px; } }
.work-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: none; }
.work-card.is-self { border: 2px solid var(--ai); }
.work img { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.work-body { padding: 18px 18px 18px; }
@media (min-width: 900px) { .work-title { font-size: 24px; } }

/* よくある質問：番号つき（01. 02. …） */
.faq { counter-reset: q; }
.faq details { counter-increment: q; }
.faq summary { padding-left: 52px; }
.faq summary::before {
  content: counter(q, decimal-leading-zero) ".";
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  color: var(--shu-text); top: 19px; line-height: 1.55;
}
.faq-a { padding-left: 52px; }
.faq-a::before { content: none; }

/* よくある質問のあとの相談の入口 */
.faq-cta { margin-top: 32px; padding: 20px; background: var(--tint); border-radius: 12px; }
.faq-cta p { margin: 0 0 8px; }
.faq-cta-title { font-weight: 700; font-size: 20px; line-height: 1.5; }
.faq-cta-btns { display: grid; gap: 10px; margin-top: 12px; }
/* パソコンでは、左に説明と相談ボタン、右に質問の一覧 */
@media (min-width: 1000px) {
  #faq .sec-body { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: min-content 1fr; column-gap: 56px; align-items: start; }
  #faq .section-lead { grid-column: 1; grid-row: 1; }
  #faq .faq-cta { grid-column: 1; grid-row: 2; margin-top: 0; position: sticky; top: 90px; }
  #faq .faq { grid-column: 2; grid-row: 1 / span 2; }
}
/* ===== のれんのゆれ（開いたときに1回だけ。動きを減らす設定のスマホではゆらさない） ===== */
@media (prefers-reduced-motion: no-preference) {
  .noren-panel { transform-origin: 50% 0; animation: noren-yure 1.6s cubic-bezier(.3,.6,.4,1) .3s 1 both; }
  .noren-panel:nth-child(2) { animation-delay: .38s; }
  .noren-panel:nth-child(3) { animation-delay: .46s; }
}
@keyframes noren-yure {
  0%   { transform: skewX(0deg); }
  22%  { transform: skewX(2.4deg); }
  48%  { transform: skewX(-1.4deg); }
  72%  { transform: skewX(.6deg); }
  100% { transform: skewX(0deg); }
}
/* =========================================================
   会社サイトのようなすっきりした見せ方（参考：制作会社のサイトの「見せ方」だけ）
   白い背景・丸いボタン・角の丸いカード・小さな英語ラベル。のれんと筆文字は残す
   ========================================================= */
:root { --bg: #ffffff; --surface: #ffffff; --tint: #f3f5f7; --line: #dde1e5; }

/* 上の帯：白にして、パソコンでは電話番号とLINEの丸いボタンをいつも表示 */
.topbar { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); }
.topbar-name { color: var(--text) !important; }
.brand-sub { color: var(--muted); opacity: 1; }
.topbar-tel { color: var(--text) !important; }
.topbar-tel-label { color: var(--muted); opacity: 1; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.topbar-line { display: none; align-items: center; min-height: 44px; padding: 6px 22px; border-radius: 999px; background: var(--line-green); color: var(--on-line-green) !important; font-weight: 700; font-size: 16px; text-decoration: none; }
@media (min-width: 900px) { .topbar-line { display: inline-flex; } .topbar { box-shadow: 0 1px 0 rgba(0,0,0,0.02); } }

/* 見出しの上の小さな英語ラベル（日本語の見出しを大きく、英語は添えるだけ） */
.sec-en { margin: 0 0 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.22em; color: var(--shu-text); line-height: 1.4; }
@media (min-width: 900px) { .sec-en { font-size: 15px; } }

/* ボタンは丸く、押しやすく */
.btn { border-radius: 999px; box-shadow: none; }
.btn-shu, .btn-line { box-shadow: 0 6px 16px -8px rgba(0,0,0,0.45); }
.btn-outline { border-width: 2px; }
.copy { border-radius: 999px; }

/* カードの角を丸く、線をやさしく */
.toc a { border-radius: 12px; box-shadow: none; }
.hero-price { border-radius: 16px; box-shadow: none; }
.work-card { border-radius: 16px; }
.faq-cta { border-radius: 16px; }
.tatoe-item, .five, .ba-item, .name-origin, .callout, .oshinagaki, .contact-item { border-radius: 16px; }
.fold > summary { border-radius: 12px; }
.about-photo img { border-radius: 16px; }

/* 安心してお任せいただける、3つのこと */
.anshin { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .anshin { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.anshin-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 26px; }
@media (min-width: 900px) { .anshin-card { padding: 32px 28px 34px; } }
.anshin-no { margin: 0 0 10px; display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--shu-text); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.anshin-card h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.5; }
.anshin-card p { margin: 0; color: var(--muted); }

/* 最後のご連絡：カードを丸く */
.section-ai .sec-en { color: var(--on-ai); opacity: 0.8; }
.contact-item { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); padding: 22px 20px; }
/* ===== スマホの最初の画面に、料金まで入るように ===== */
@media (max-width: 599px) {
  .noren-rod { margin-top: 10px; }
  .noren-panel { height: 180px; gap: 8px; padding-top: 12px; }
  .noren-panel.is-center .noren-mon { width: 40px; height: 40px; font-size: 21px; }
  .noren-name { font-size: 16px; }
  .noren-motif { width: 36px; height: 36px; }
  .hero { padding-bottom: 32px; }
  .hero-body { padding-top: 16px; }
  .hero-text { display: flex; flex-direction: column; }
  .hero-pills { margin-bottom: 10px; }
  .hero-title { font-size: 29px; margin-bottom: 14px; }
  .hero-price { order: 2; margin-bottom: 14px; padding: 12px 16px; }
  .hero-actions { order: 3; }
  .hero-lead { order: 4; margin: 22px 0 0; }
}

/* ===== 制作見本のカードを短く（業種・範囲・年を小さくまとめる） ===== */
@media (max-width: 899px) {
  .work-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 6px 0 14px; font-size: 15px; color: var(--muted); }
  .work-meta div { display: flex; gap: 6px; border: 0; padding: 0; }
  .work-meta dt { font-weight: 700; }
  .work-meta dt::after { content: "："; }
  .work-meta dd { margin: 0; }
}
/* ===== スマホでページを短く（中身は同じで、余白と写真を小さく） ===== */
@media (max-width: 599px) {
  .work img { aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }
  .checks li { padding: 6px 0 6px 34px; }
  .checks li::before { top: 13px; }
  .about { gap: 16px; }
  .about-photo { max-width: 150px; }
  .tatoe { gap: 14px; }
}
/* ===== たたんで短くした部分 ===== */
/* 進め方：説明を閉じているときは、手順の見出しだけ */
.flow.is-short p { display: none; }
.flow.is-short li { padding-bottom: 16px; }
.flow.is-short li::after { top: 48px; bottom: 0; }
.more-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 18px; padding: 8px 18px; font: inherit; font-size: 17px; font-weight: 700; color: var(--link); background: var(--surface); border: 2px solid var(--ai); border-radius: 999px; cursor: pointer; }
.more-btn::after { content: ""; width: 9px; height: 9px; margin-left: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.more-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
@media (min-width: 900px) { .more-btn { width: auto; min-width: 320px; } }
/* 料金の中の「ほかに入っているもの」は少し近く */
.fold-small { margin-top: 14px; }
/* よくある質問：背景が色つきになったので、カードと相談の入口は白に */
#faq .faq-cta { background: var(--surface); border: 1px solid var(--line); }
.faq-more { margin-top: 20px; }
.faq-more .faq { counter-reset: none; border-top: 0; }
@media (min-width: 1000px) {
  #faq .faq-more { grid-column: 2; grid-row: 3; }
  #faq .sec-body { grid-template-rows: min-content 1fr auto; }
}
/* ご連絡（濃い紺の背景）の説明文は、明るい色で読みやすく */
.section-ai .section-lead { color: var(--on-ai); }
/* =========================================================
   動き（海外のサイトでよく見る型を、控えめに）
   どれも「動きを減らす」設定のスマホでは動かない
   ========================================================= */
/* スクロールで、ふわっと出る（JavaScriptが動いたときだけ。文字は最初からうっすら見えている） */
@media (prefers-reduced-motion: no-preference) {
  .js-rv .rv { opacity: 0.25; transform: translateY(18px); transition: opacity .6s ease var(--rv-d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms); }
  .js-rv .rv.is-in { opacity: 1; transform: none; }
}

/* 横に流れる文字の帯 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 14px 0; margin-top: 28px; }
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; flex: none; }
.marquee-word { font-family: var(--font-fude); font-size: 24px; line-height: 1.3; color: var(--text); white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-word::after { content: ""; width: 10px; height: 10px; margin: 0 26px; background: var(--shu); -webkit-mask: var(--yukiwa) center / contain no-repeat; mask: var(--yukiwa) center / contain no-repeat; }
@media (min-width: 900px) { .marquee { padding: 18px 0; } .marquee-word { font-size: 30px; } .marquee-word::after { margin: 0 34px; } }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee-flow 45s linear infinite; }
  @keyframes marquee-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}

/* ボタンの矢印（パソコンでマウスをのせると、少し右へ） */
.btn::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 12px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn::after { transition: transform .2s ease; }
  .btn:hover::after { transform: translateX(5px) rotate(45deg); }
  /* カードが少し浮く */
  .work-card, .anshin-card { transition: transform .25s ease, box-shadow .25s ease; }
  .work-card:hover, .anshin-card:hover { transform: translateY(-5px); box-shadow: 0 16px 28px -16px rgba(20,30,50,0.35); }
}

/* 上の帯：スクロールしたら、うすい影 */
.topbar { transition: box-shadow .25s ease; }
.topbar.is-scrolled { box-shadow: 0 6px 18px -10px rgba(20,30,50,0.35); }
