/* 会社別見本サイトの見た目（2026-10-21 HPバージョン2）。元の見本：住まい業者向け/リフォーム_作り込み/index.html
   色は r.js がテーマごとに --wood / --wood-2 / --washi / --washi-2 / --line / --night を入れる */
:root {
  color-scheme: light;
  --washi: #f6f1e7;
  --washi-2: #efe7d8;
  --card: #fffdf8;
  --ink: #2a221d;
  --soft: #6b5f55;
  --line: #ddd2c0;
  --wood: #7a4f2e;
  --wood-2: #a8754a;
  --night: #1d1814;
  --on-dark: #f6efe3;
  --glow: color-mix(in srgb, var(--wood-2) 45%, #f3dfbf);
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --head: var(--mincho);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
.gothic { --head: var(--gothic); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--washi); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .08em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.state { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--soft); }

/* 見本のおことわり */
.sample-note { position: relative; z-index: 31; background: var(--night); color: #cbbfae; font-size: 12px; text-align: center; padding: 6px 16px; letter-spacing: .06em; line-height: 1.7; }
.sample-note b { color: var(--on-dark); }
.sample-note a { color: var(--glow); margin-left: 12px; white-space: nowrap; }

/* ヘッダー */
.site-head { position: fixed; top: 28px; left: 0; right: 0; z-index: 30; transition: background .4s var(--ease), box-shadow .4s var(--ease), top .3s var(--ease); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); transition: color .4s; min-width: 0; }
.logo-mark { flex: none; width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: var(--mincho); font-weight: 700; font-size: 19px; }
.logo b { display: block; font-family: var(--head); font-size: 21px; letter-spacing: .14em; line-height: 1.2; }
.logo small { display: block; font-size: 11px; letter-spacing: .12em; opacity: .8; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--on-dark); font-size: 14px; font-weight: 500; position: relative; transition: color .4s; white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-head.scrolled { background: color-mix(in srgb, var(--washi) 94%, transparent); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.site-head.scrolled .logo, .site-head.scrolled .nav a:not(.btn) { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; background: var(--wood); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--gothic); letter-spacing: .08em; transition: filter .3s, transform .3s var(--ease); }
.btn:hover { filter: brightness(.85); transform: translateY(-2px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.line { background: transparent; border: 1px solid rgba(246, 239, 227, .7); }
.btn.line:hover { background: rgba(246, 239, 227, .12); filter: none; }

/* トップ（動画） */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--on-dark); overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowzoom 18s var(--ease) forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,24,20,.62) 0%, rgba(29,24,20,.2) 55%, rgba(29,24,20,0) 100%), linear-gradient(180deg, rgba(29,24,20,.55) 0%, rgba(29,24,20,.1) 38%, rgba(29,24,20,.72) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: 160px 72px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero-kicker { font-size: 13px; letter-spacing: .3em; margin-bottom: 18px; opacity: .9; }
.hero h1 { font-size: clamp(34px, 5.6vw, 68px); font-weight: 700; line-height: 1.45; letter-spacing: .1em; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease) forwards; }
.hero-lead { max-width: 30em; margin-top: 22px; font-size: 16px; opacity: 0; animation: fade 1.2s .7s var(--ease) forwards; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: fade 1.2s .9s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-tate { writing-mode: vertical-rl; font-family: var(--mincho); font-size: 15px; letter-spacing: .5em; opacity: 0; animation: fade 1.4s 1.1s var(--ease) forwards; border-right: 1px solid rgba(246,239,227,.5); padding-right: 14px; max-height: 70vh; }
.hero-tate b { font-size: 22px; font-weight: 700; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; display: grid; justify-items: center; gap: 8px; opacity: .8; }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--on-dark), transparent); animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 数字の帯（数字がないときは言葉を並べる） */
.stats { background: var(--night); color: var(--on-dark); }
.stats ul { list-style: none; margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.stats li { text-align: center; border-left: 1px solid rgba(246,239,227,.15); padding-inline: 10px; }
.stats li:first-child { border-left: 0; }
.stats b { font-family: var(--mincho); font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--glow); letter-spacing: .04em; }
.stats small { font-size: 14px; margin-left: 4px; }
.stats span { display: block; font-size: 13px; opacity: .75; letter-spacing: .12em; }
.stats.words li { font-family: var(--head); font-size: clamp(15px, 1.7vw, 19px); color: var(--glow); letter-spacing: .14em; display: grid; place-items: center; min-height: 48px; }

/* 見出しの型 */
section { padding-block: clamp(80px, 11vw, 140px); }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-en { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .32em; color: var(--wood-2); font-weight: 700; margin-bottom: 14px; }
.sec-en::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.sec-head p:not(.sec-en) { margin-top: 14px; color: var(--soft); max-width: 36em; }

/* 写真の枠と、出てくる動き */
.ph { position: relative; overflow: hidden; background: var(--washi-2); margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tag { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 10px; color: #fff; background: rgba(0,0,0,.42); padding: 0 7px; border-radius: 3px; letter-spacing: .06em; line-height: 1.8; }
.wipe img { clip-path: inset(0 100% 0 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); }
.wipe.in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.wipe .tag { opacity: 0; transition: opacity .6s 1s; }
.wipe.in .tag { opacity: 1; }
.up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.up.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }

/* 想い */
.philo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.philo.solo { grid-template-columns: 1fr; max-width: 760px; }
.philo-photo { position: relative; }
.philo-photo .ph { aspect-ratio: 4 / 5; }
.philo-photo .sub { position: absolute; width: 46%; right: -8%; bottom: -12%; aspect-ratio: 1; border: 8px solid var(--washi); }
.philo-text h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.75; }
.philo-text p:not(.sec-en) { margin-top: 24px; }
.philo-text .sign { margin-top: 30px; font-family: var(--mincho); font-size: 15px; color: var(--soft); }
.philo-text .sign b { font-size: 20px; color: var(--ink); margin-left: 10px; letter-spacing: .2em; }

/* 強み（横いっぱいの写真＋3枚） */
.craft { background: var(--night); color: var(--on-dark); padding: 0; }
.craft-band { position: relative; height: clamp(360px, 52vw, 600px); overflow: hidden; }
.craft-band.noimg { height: auto; padding-block: 90px 0; }
.craft-band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.craft-band:not(.noimg)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,24,20,.82) 0%, rgba(29,24,20,.25) 60%, rgba(29,24,20,.1) 100%); }
.craft-band .wrap { position: relative; z-index: 2; height: 100%; display: grid; align-content: center; }
.craft-band h2 { font-size: clamp(28px, 4vw, 50px); line-height: 1.6; }
.craft-band p:not(.sec-en) { margin-top: 18px; max-width: 28em; opacity: .9; }
.craft-band .sec-en, .history .sec-en, .contact .sec-en { color: var(--glow); }
.craft-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 72px 110px; }
.craft-cards .ph { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.craft-cards .num { font-family: var(--mincho); font-size: 13px; color: var(--glow); letter-spacing: .2em; }
.craft-cards h3 { font-size: 21px; margin: 4px 0 8px; }
.craft-cards p:not(.num) { font-size: 15px; opacity: .82; }
.craft-cards article:hover img { transform: scale(1.05); }

/* サービス（番号つき） */
.reasons { display: grid; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.reason .n { font-family: var(--mincho); font-size: 54px; color: var(--wood-2); line-height: 1; opacity: .55; }
.reason h3 { font-size: 21px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.reason h3 .price { font-family: var(--mincho); font-size: 17px; color: var(--wood); letter-spacing: .04em; }
.reason p { color: var(--soft); }
.note { margin-top: 16px; font-size: 13px; color: var(--soft); }

/* 施工事例・写真 */
.works-bg { background: var(--washi-2); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { background: var(--card); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(42,34,29,.45); }
.work:hover img { transform: scale(1.06); }
.work .ph { aspect-ratio: 4 / 3; }
.work-body { padding: 22px 24px 26px; }
.work-place { font-size: 13px; color: var(--wood); font-weight: 700; letter-spacing: .1em; }
.work h3 { font-size: 19px; margin: 6px 0 0; }
.work dl { display: flex; gap: 22px; margin: 14px 0 0; font-size: 14px; color: var(--soft); border-top: 1px dashed var(--line); padding-top: 12px; }
.work dt { font-size: 11px; letter-spacing: .14em; }
.work dd { margin: 0; color: var(--ink); font-weight: 700; }

/* 料金 */
.price-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.price-wrap.solo { grid-template-columns: 1fr; max-width: 760px; }
.price-wrap .ph { aspect-ratio: 16 / 11; }
.prices { margin: 0; padding: 0; list-style: none; }
.prices li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.prices li span { font-weight: 500; }
.prices li b { font-family: var(--mincho); font-size: 20px; color: var(--wood); white-space: nowrap; }

/* 歩み */
.history { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; }
.history::before { content: "歩"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--mincho); font-size: clamp(260px, 38vw, 520px); color: rgba(246,239,227,.04); line-height: 1; pointer-events: none; }
.history .sec-head p:not(.sec-en) { color: rgba(246,239,227,.7); }
.history-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
.history-grid.solo { grid-template-columns: 1fr; max-width: 760px; }
.history-grid .ph { aspect-ratio: 4 / 3; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: rgba(246,239,227,.25); }
.timeline .bar { position: absolute; left: 6px; top: 10px; width: 1px; height: 0; background: var(--glow); transition: height 2s var(--ease); }
.timeline.in .bar { height: calc(100% - 20px); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 1.5px solid var(--glow); }
.timeline .yr { font-family: var(--mincho); font-size: 22px; color: var(--glow); letter-spacing: .06em; }
.timeline h3 { font-size: 18px; margin: 2px 0 4px; }
.timeline p:not(.yr) { font-size: 15px; opacity: .78; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); counter-reset: s; }
.flow li { counter-increment: s; padding: 0 18px; border-left: 1px solid var(--line); }
.flow li:first-child { border-left: 0; padding-left: 0; }
.flow li::before { content: "0" counter(s); display: block; font-family: var(--mincho); font-size: 34px; color: var(--wood-2); line-height: 1.2; margin-bottom: 10px; }
.flow h3 { font-size: 17px; margin-bottom: 6px; }
.flow p { font-size: 14px; color: var(--soft); }
.flow-photo { margin-top: 56px; aspect-ratio: 21 / 8; }

/* 質問 */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--mincho); font-size: 22px; color: var(--wood); }
.faq summary .pm { width: 14px; height: 14px; position: relative; justify-self: end; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .a { padding: 0 0 24px 40px; color: var(--soft); }

/* 会社のこと */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.company dl { margin: 0; display: grid; grid-template-columns: 8em 1fr; }
.company dt, .company dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.company dt { font-weight: 700; color: var(--soft); font-size: 14px; }
.map { aspect-ratio: 4 / 3; display: grid; place-content: center; text-align: center; gap: 6px; background: var(--washi-2); border: 1px solid var(--line); border-radius: 4px; color: var(--soft); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.map b { font-family: var(--head); color: var(--ink); font-size: 18px; letter-spacing: .12em; }
.map small { font-size: 12px; }

/* 問い合わせ */
.contact { position: relative; color: var(--on-dark); overflow: hidden; background: var(--night); }
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.contact::after { content: ""; position: absolute; inset: 0; background: rgba(29,24,20,.72); }
.contact > .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .sec-head p:not(.sec-en) { color: rgba(246,239,227,.82); }
.tel { margin-top: 10px; }
.tel a { text-decoration: none; }
.tel b { font-family: var(--mincho); font-size: clamp(32px, 4vw, 44px); letter-spacing: .06em; display: block; }
.tel span { font-size: 14px; opacity: .8; }
form { background: var(--card); color: var(--ink); padding: clamp(24px, 4vw, 40px); border-radius: 4px; display: grid; gap: 16px; }
label { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-weight: 700; font-size: 14px; }
label > input, label > select, label > textarea { flex: 0 0 100%; }
.req { display: inline-block; margin-left: 8px; font-size: 11px; color: #fff; background: var(--wood); padding: 0 6px; border-radius: 3px; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--washi); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wood-2); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.sent { margin: 0; padding: 12px 14px; border-radius: 4px; background: var(--washi); border: 1px solid var(--wood-2); font-size: 14px; }

/* 作った人 */
.maker { background: var(--washi-2); padding-block: 64px; border-top: 1px solid var(--line); }
.maker .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.maker h2 { font-size: clamp(20px, 2.4vw, 26px); }
.maker p:not(.sec-en) { margin-top: 10px; color: var(--soft); }
.maker ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--soft); font-size: 15px; }
.maker .who { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; display: grid; gap: 6px; }
.maker .who b { font-family: var(--head); font-size: 20px; letter-spacing: .14em; }
.maker .who a { color: var(--wood); font-size: 15px; overflow-wrap: anywhere; }

footer { background: var(--night); color: rgba(246,239,227,.7); padding: 40px 0 110px; font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer b { font-family: var(--head); color: var(--on-dark); font-size: 17px; letter-spacing: .14em; }

/* 読みやすさ（2026-10-23 研究開発 10/22の提案1・2を採用） */
/* 1. 日本語を文節で折り返し、1〜2文字だけ次の行に落ちるのを減らす。店名（.logo）は長いとボタンに重なるので対象外 */
h1, h2, h3, .hero-lead, p, li, dd { word-break: auto-phrase; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
/* 2. うすい灰色の説明文を、少しだけ濃く・大きく */
.sec-head p:not(.sec-en), .reason p, .flow p { color: color-mix(in srgb, var(--soft) 60%, var(--ink)); }
.flow p, .reason p { font-size: 15px; }
.craft-cards p:not(.num), .timeline p:not(.yr) { opacity: .95; }
.history .sec-head p:not(.sec-en) { color: rgba(246,239,227,.88); }
footer { color: rgba(246,239,227,.85); }

/* スマホの下のボタン */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1fr; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(100%); transition: transform .4s var(--ease); }
.bar.show { transform: none; }
.bar a { padding: 15px 8px; text-align: center; font-weight: 700; text-decoration: none; color: var(--ink); }
.bar a.main { background: var(--wood); color: #fff; }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-tate { display: none; }
  .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats.words ul { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .stats.words li { flex: 1 1 40%; border-left: 0; }
  .philo, .price-wrap, .history-grid, .company, .contact > .wrap, .maker .wrap { grid-template-columns: 1fr; }
  .philo-photo { margin-bottom: 48px; }
  .craft-cards, .works { grid-template-columns: 1fr; }
  .reason { grid-template-columns: 64px 1fr; gap: 6px 20px; }
  .reason .n { font-size: 38px; grid-row: span 2; }
  .reason p { grid-column: 2; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li { border-left: 0; padding: 0; display: grid; grid-template-columns: 56px 1fr; }
  .flow li::before { grid-row: span 2; font-size: 28px; }
  .flow-photo { aspect-ratio: 16 / 10; }
  .bar { display: grid; }
}
@media (max-width: 560px) {
  .site-head .wrap { height: 62px; }
  .hero-inner { padding-block: 130px 72px; }
  .hero h1 { font-size: 7.4vw; letter-spacing: .06em; }
  .hero-kicker { letter-spacing: .14em; }
  .logo b { font-size: 18px; letter-spacing: .08em; }
  .logo small { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 13px; }
  .philo-photo .sub { right: 0; }
  .company dl { grid-template-columns: 6.5em 1fr; }
  .sample-note a { display: block; margin: 2px 0 0; }
}
/* 見やすさ（2026-10-26 研究開発 10/21の提案1〜3を採用）。上のスマホ用の指定より後ろに置く */
/* 1. ヘッダーの店名が長くても、2行に収めて切れないようにする */
@media (max-width: 600px) {
  .site-head .wrap { height: 64px; }
  .logo { gap: 10px; }
  .logo-mark { width: 36px; height: 36px; font-size: 17px; }
  .logo b { font-size: 16px; letter-spacing: .06em; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .logo small { font-size: 10px; letter-spacing: .06em; }
}
/* 2. 写真の上の文字を読みやすく（うすい影／上の小さい文字の折り返しを減らす） */
.hero-kicker { font-size: 14px; letter-spacing: .1em; line-height: 1.7; opacity: 1; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.hero h1 { text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.hero-lead { text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
/* 3. 最初の画面のボタンを親指で押しやすく（幅いっぱい・高さ52px、押してほしい方を目立たせる） */
@media (max-width: 600px) {
  .hero .btn { display: flex; width: 100%; box-sizing: border-box; min-height: 52px; font-size: 16px; }
  .hero .btn.line { background: rgba(0, 0, 0, .28); border-color: rgba(246, 239, 227, .85); }
  .bar a { padding: 17px 8px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .ln > span, .hero-lead, .hero-btns, .hero-tate { transform: none; opacity: 1; }
  .up { opacity: 1; transform: none; }
  .wipe img { clip-path: none; }
  .wipe .tag { opacity: 1; }
  .wipe img, .hero-media video, .hero-media img { transform: none; }
}
@media print {
  .up { opacity: 1; transform: none; }
  .wipe img { clip-path: none; transform: none; }
  .site-head, .bar { position: static; }
}

/* ===== 研究開発 2026-11-09 提案1：ヘッダーの店名を、空白のところで折り返す（2026-11-14 自動で反映） ===== */
/* 1. ヘッダーの店名を、空白のところだけで折り返す（「松尾工／務店」「バレエスタジ／オ」を防ぐ） */
@media (max-width: 600px) {
  .logo b { word-break: keep-all; overflow-wrap: anywhere; letter-spacing: .03em; font-size: 15px; }
}

/* ===== 研究開発 2026-11-09 提案2：大きな番号（01・02…）を、うすい色から少し濃くする（2026-11-14 自動で反映） ===== */
/* 2. 手順・理由の大きな番号（01・02…）をうすい色から少し濃くする */
.flow li::before { color: color-mix(in srgb, var(--wood-2) 70%, var(--ink)); }
.reason .n { opacity: .9; color: color-mix(in srgb, var(--wood-2) 80%, var(--ink)); }

/* ===== 研究開発 2026-11-09 提案3：暗い帯の短い言葉（無添加・貸し切り…）を、途中で折らずに並べる（2026-11-14 自動で反映） ===== */
/* 3. 暗い帯の短い言葉（無添加・貸し切り…）を、途中で折れず、そろえて中央に並べる */
@media (max-width: 900px) {
  .stats.words ul { justify-content: center; column-gap: 8px; row-gap: 10px; }
  .stats.words li { flex: 0 0 auto; padding: 0 14px; white-space: nowrap; }
}

/* ===== 新和ホーム 本番用の追加（2026-11-16）=====
   見た目・文字の大きさは見本のまま。足したのは、ビフォーアフター・地図・フォームの小物だけ */
.site-head { top: 0; }
.map { overflow: hidden; padding: 0; background-image: none; display: block; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; opacity: .85; }
.form-note a, footer a { color: inherit; }
/* ビフォーアフター */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ba-card { background: var(--card); border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--card); }
.ba-pair .ph { aspect-ratio: 4 / 3; }
.ba-label { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(0,0,0,.55); padding: 2px 10px; border-radius: 3px; }
.ba-label.after { background: var(--wood); }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-pair .ph { aspect-ratio: 3 / 4; }
}
