/* ひのき住建株式会社（制作例）。demo_src/base.css と demo_src/themes/hinoki.css から書き出し */
/* ===== 全デモ共通の部品（デモ9以降）。色や形は各デモの themes/○○.css の :root で決める ===== */
:root {
  --main: #333; --main-dark: #222; --on-main: #fff;
  --accent: #888; --accent-dark: #666; --on-accent: #fff;
  --pale: #f6f6f6; --pale2: #fbfbfb;
  --bg: #fff; --paper: #fff; --ink: #2a2a2a; --muted: #666; --line: #e3e3e3;
  --radius: 14px; --btn-radius: 999px;
  --head: "Noto Sans JP", sans-serif; --head-weight: 700;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.5; margin: 0; letter-spacing: .05em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.nw { white-space: nowrap; display: inline-block; }
@media (min-width: 820px) { .sp, .sp-only { display: none !important; } }
.kakuu { display: inline-block; font-size: 11px; color: var(--muted); border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; margin-left: 4px; vertical-align: 2px; font-weight: 400; letter-spacing: 0; }

/* 制作例の帯 */
.demo-band { background: #2a2a2a; color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .02em; text-align: center; padding: 8px 16px; }
.demo-band a { color: #F3DDA8; margin-left: .5em; white-space: nowrap; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__mark { flex: none; }
.logo__text { font-family: var(--head); font-weight: var(--head-weight); font-size: 18px; line-height: 1.25; white-space: nowrap; }
.logo__text small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 420px) { .logo__text { font-size: 16px; letter-spacing: .02em; } }
.nav-toggle { border: 1px solid var(--main); background: #fff; color: var(--main); white-space: nowrap; flex: none; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: var(--btn-radius); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100svh - 120px); overflow-y: auto; box-shadow: 0 14px 20px -16px rgba(0, 0, 0, .3); }
.site-nav ul { list-style: none; margin: 0; padding: 4px 16px 14px; }
.site-nav a { display: block; padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--main); }
.nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 22px; padding: 0; }
  .site-nav a { border: 0; padding: 4px 0; font-size: 14px; }
  .site-nav a[aria-current="page"], .site-nav a.is-parent, .site-nav a:hover { color: var(--main); box-shadow: 0 2px 0 var(--main); }
  .site-nav .nav-hide-pc { display: none; }
  .nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .nav-cta:hover { background: var(--accent-dark); }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; white-space: nowrap; border-radius: var(--btn-radius); border: 2px solid var(--main); background: var(--main); color: var(--on-main); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--main-dark); border-color: var(--main-dark); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: #fff; color: var(--main); }
.btn--line:hover { background: var(--pale); color: var(--main-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 820px) { .btn-row .btn { flex: 0 0 auto; } }

/* 共通のかたまり */
.section { padding: 72px 16px; }
.section--pale { background: var(--pale); }
.section--main { background: var(--main); color: var(--on-main); }
@media (min-width: 820px) { .section { padding: 100px 24px; } }
.container { max-width: 1060px; margin: 0 auto; }
.container--narrow { max-width: 780px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent-dark); margin-bottom: 6px; }
.section-title h2 { font-size: 25px; }
@media (min-width: 820px) { .section-title h2 { font-size: 30px; } }
@media (max-width: 819px) { .section-title h2, .page-head h1 { letter-spacing: .02em; } }
.section-title p { color: var(--muted); margin: 12px auto 0; max-width: 600px; }
.section--main .section-title span { color: var(--on-main); opacity: .8; }
.section--main .section-title p { color: var(--on-main); opacity: .85; }
.note { font-size: 13px; color: var(--muted); }
.lead { max-width: 660px; margin: 0 auto; text-align: center; }
.lead p { line-height: 2.2; }
@media (max-width: 819px) { .lead { text-align: left; } .lead p br { display: none; } }

/* カードの並び */
.cards { display: grid; gap: 18px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card__num { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 999px; background: var(--main); color: var(--on-main); font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }
.card__label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.card__img { margin: -24px -22px 16px; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
a.card { display: block; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(0, 0, 0, .5); }
.card__more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--main); }
.card__more::after { content: " →"; }

/* 写真と文 */
.media { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .media { grid-template-columns: 1fr 1fr; gap: 54px; } .media--reverse .media__img { order: 2; } }
.media__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.media__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 4px; }
.media h2 { font-size: 23px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding: 10px 14px 10px 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--main); }
.checks li::after { content: ""; position: absolute; left: 19px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* 料金表 */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--main); color: var(--on-main); font-size: 14px; }
.price-table tbody th { white-space: nowrap; }
.price-table td.yen { font-family: var(--head); font-weight: 700; white-space: nowrap; text-align: right; }
.price-table small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@media (max-width: 819px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 2px 0; border: 0; }
  .price-table td.yen { grid-row: 1; grid-column: 2; }
  .price-table td.sub { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
}

/* 数字で見る */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 18px; } .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px 16px; text-align: center; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 38px; line-height: 1.2; color: var(--main); margin: 4px 0; }
.stat__num small { font-size: 15px; margin-left: 2px; }
.stat p { font-size: 12px; color: var(--muted); margin: 0; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(var(--flow-cols, 4), 1fr); gap: 16px; } }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.flow li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 8px; }
.flow h3 { font-size: 17px; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }

/* 年表・1日の流れ */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 82px 1fr; gap: 0 20px; padding: 0 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 92px; top: 12px; bottom: -4px; border-left: 2px solid var(--line); }
.timeline li:last-child::before { display: none; }
.timeline time { font-family: var(--head); font-weight: 700; color: var(--main); text-align: right; }
.timeline div { position: relative; padding-left: 14px; }
.timeline div::before { content: ""; position: absolute; left: -15px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { font-size: 17px; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }

/* 人の紹介・社員の声 */
.people { display: grid; gap: 18px; }
@media (min-width: 820px) { .people { grid-template-columns: repeat(var(--people-cols, 3), 1fr); gap: 22px; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--main); }
.person__role { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.person h3 { font-size: 18px; }
.person__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.person p { margin: 0; font-size: 15px; }
.quote-mark { font-family: var(--head); font-size: 34px; line-height: 1; color: var(--accent); display: block; }

/* 表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.info-table th, .info-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 7.5em; font-weight: 700; white-space: nowrap; font-size: 14px; color: var(--main-dark); }
.info-table td .note { display: block; }
@media (max-width: 819px) { .info-table { font-size: 14px; } .info-table th { width: 5.6em; white-space: normal; } }
.two { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius); border: 1px dashed #b9b9b9; background: repeating-linear-gradient(45deg, #f6f6f3, #f6f6f3 12px, #eeeeea 12px, #eeeeea 24px); color: var(--muted); text-align: center; padding: 16px; }
.photo-under img { margin-top: 16px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.legal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; font-size: 14px; }
.legal h3 { font-size: 16px; margin-bottom: 8px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.legal dt { font-weight: 700; color: var(--main-dark); }
.legal dd { margin: 0; }

/* よくある質問 */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 46px 16px 54px; position: relative; font-weight: 700; font-family: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: var(--on-main); display: grid; place-items: center; font-size: 13px; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 20px 18px 54px; }

/* フォーム（送信されない見本） */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; max-width: 780px; margin: 0 auto; }
@media (min-width: 820px) { .form { padding: 40px 44px; } }
.form h3 { font-size: 20px; margin-bottom: 14px; }
.form__row { margin-bottom: 18px; }
.form__row label, .form legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form__req { font-size: 11px; color: #fff; background: var(--accent-dark); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fcfcfc; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form__check { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.form__check input { width: 20px; height: 20px; accent-color: var(--main); }
.form__note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.forms { display: grid; gap: 24px; }
@media (min-width: 960px) { .forms { grid-template-columns: 1fr 1fr; } .forms .form { margin: 0; } }

/* 予約・問い合わせの帯 */
.cta { text-align: center; background: var(--main); color: var(--on-main); border-radius: calc(var(--radius) + 8px); padding: 40px 20px; }
.cta h2 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 819px) { .cta h2 { font-size: 21px; letter-spacing: .02em; } }
.cta p { opacity: .9; margin-bottom: 18px; }
.cta__tel { font-family: var(--head); font-weight: 700; font-size: 26px; opacity: 1 !important; margin-bottom: 4px !important; letter-spacing: .06em; }
.cta__btns { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .cta__btns { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cta .btn--line { border-color: #fff; }
.cta .btn span { line-height: 1.35; }
.cta .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }

/* 下層ページの見出し */
.page-head { background: var(--pale); padding: 18px 16px 46px; }
.page-head__inner { max-width: 1060px; margin: 0 auto; }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { color: var(--main); }
.page-head span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent-dark); }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
@media (min-width: 820px) { .page-head { padding: 22px 24px 66px; } .page-head h1 { font-size: 34px; } }

/* 口コミの入口（エンレビューの見本） */
.review__inner { display: grid; gap: 44px; max-width: 920px; margin: 0 auto; align-items: center; }
@media (min-width: 820px) { .review__inner { grid-template-columns: 290px 1fr; gap: 64px; } }
.pop-stand { margin: 0 auto; width: 100%; max-width: 250px; text-align: center; }
.pop { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 20px 32px -22px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.pop__head { background: var(--main); color: var(--on-main); padding: 14px 14px 12px; font-family: var(--head); font-weight: 700; }
.pop__head small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .9; }
.pop__head p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
.pop__body { padding: 16px 14px; }
.pop__qr { display: block; width: 132px; height: 132px; margin: 0 auto 10px; }
.pop__small { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.pop-stand__base { height: 10px; width: 64%; margin: 0 auto; border-radius: 0 0 8px 8px; background: var(--line); }
.pop-stand figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.review__text > p { margin-bottom: 22px; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--main-dark); display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; font-family: var(--head); font-size: 16px; line-height: 1.5; }
.steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn--review { width: 100%; max-width: 360px; }
.demo-note { font-size: 12px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin-top: 16px; }
.rv-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100svh - 24px); border: 0; padding: 0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.rv-dialog::backdrop { background: rgba(20, 20, 20, .55); }
.rv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--main); color: var(--on-main); position: sticky; top: 0; }
.rv-head strong { font-family: var(--head); }
.rv-close { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }
.rv-body { padding: 20px 18px 24px; }
.rv-progress { font-size: 12px; font-weight: 700; color: var(--main); margin-bottom: 6px; }
.rv-bar { height: 6px; background: var(--pale); border-radius: 6px; margin-bottom: 18px; overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--main); transition: width .2s; }
.rv-q { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.rv-choices { display: grid; gap: 10px; }
.rv-choice { min-height: 52px; padding: 10px 16px; text-align: left; border: 1px solid #cfcfcf; background: #fff; border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.rv-choice:hover, .rv-choice:focus-visible { border-color: var(--main); background: var(--pale); }
.rv-text { width: 100%; min-height: 110px; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 12px; }
.rv-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.rv-back { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.rv-draft-label { display: inline-block; background: var(--accent-dark); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.rv-draft { width: 100%; min-height: 170px; padding: 12px; font: inherit; font-size: 15px; line-height: 1.8; border: 2px solid var(--main); border-radius: 12px; }

/* フッター */
.site-footer { background: var(--main-dark); color: rgba(255, 255, 255, .88); padding: 56px 16px 28px; font-size: 14px; }
.site-footer__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr; } }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text small { color: rgba(255, 255, 255, .7); }
.site-footer__info { margin-top: 16px; line-height: 2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.footer-tel { display: inline-block; margin-top: 6px; color: #fff !important; font-family: var(--head); font-weight: 700; font-size: 21px; text-decoration: none; }
.copyright { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 40px 0 0; }

/* スマホの下に固定するボタン */
.bottom-bar { display: none; }
@media (max-width: 819px) {
  body { padding-bottom: 64px; }
  .bottom-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -12px rgba(0, 0, 0, .3); }
  .bottom-bar--3 { grid-template-columns: repeat(3, 1fr); }
  .bottom-bar a { display: grid; place-items: center; height: 60px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--main-dark); line-height: 1.3; text-align: center; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar a:last-child { background: var(--accent); color: var(--on-accent); border-left: 0; }
  .bottom-bar small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
}

/* 上に戻るボタン */
.to-top { position: fixed; right: 16px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--main); color: var(--on-main); border: 0; cursor: pointer; line-height: 1; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top span { font-size: 18px; font-weight: 700; }
.to-top small { font-size: 9px; font-weight: 700; margin-top: 2px; }
.to-top:hover { background: var(--main-dark); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 819px) { .to-top { bottom: 76px; right: 12px; width: 46px; height: 46px; } }

/* お知らせ（制作例のため〜） */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #2a2a2a; color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 12px; width: max-content; max-width: calc(100% - 32px); text-align: center; transition: opacity .2s, transform .2s; }
@media (max-width: 819px) { .toast { bottom: 80px; } }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* スクロールでふわっと出す */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== ここから下は、各デモらしさ（themes/○○.css） ===== */

/* ひのき住建株式会社：深い緑と木の色。施工事例の写真を大きく、木目の地紋 */
:root {
  --main: #3E6B48; --main-dark: #2C4F34; --on-main: #FFFFFF;
  --accent: #B5835A; --accent-dark: #8D6240; --on-accent: #FFFFFF;
  --pale: #EFE8DD; --pale2: #F6F1E9;
  --bg: #FAF7F2; --paper: #FFFFFF; --ink: #2B2A26; --muted: #66625A; --line: #E2D8C9;
  --radius: 8px; --btn-radius: 8px;
  --head: "Zen Kaku Gothic New", "Yu Gothic", sans-serif; --head-weight: 700;
}
.site-header { background: rgba(250, 247, 242, .96); border-bottom: 4px solid var(--main); }
.logo__mark { width: 36px; height: 36px; background: var(--accent); border-radius: 50%; position: relative; }
.logo__mark::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.logo__mark::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); }
.section-title span { color: var(--accent-dark); }
.section-title h2 { color: var(--main-dark); }
.card { border-left: 5px solid var(--accent); }
.card__num { background: var(--main); }
.section--pale { background:
  repeating-linear-gradient(92deg, rgba(181, 131, 90, .05) 0 2px, transparent 2px 22px),
  var(--pale); }

/* ファーストビュー：施工事例の写真を大きく */
.fv { background: var(--bg); padding: 16px 14px 40px; }
.fv__inner { max-width: 1160px; margin: 0 auto; display: grid; gap: 20px; }
.fv__photo { position: relative; }
.fv__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.fv__case { position: absolute; left: 12px; bottom: 12px; background: rgba(43, 42, 38, .82); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 6px; }
.fv__case b { color: #F0D6B8; margin-right: 6px; }
.fv__text { padding: 4px 6px; }
.fv__small { color: var(--accent-dark); font-weight: 700; font-size: 13px; letter-spacing: .1em; margin-bottom: 8px; }
.fv h1 { font-size: clamp(30px, 8.6vw, 54px); line-height: 1.35; color: var(--main-dark); margin-bottom: 14px; }
.fv__lead { color: var(--muted); margin-bottom: 18px; }
.fv__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fv__btns .btn { flex: 1 1 160px; }
@media (min-width: 820px) { .fv { padding: 40px 24px 64px; } .fv__inner { grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: end; } .fv__photo img { aspect-ratio: 16 / 11; } }

/* 施工事例 */
.works { display: grid; gap: 22px; }
@media (min-width: 820px) { .works { grid-template-columns: repeat(3, 1fr); } }
.work { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; display: block; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work__body { padding: 16px 18px 18px; }
.work__tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--main); border-radius: 4px; padding: 0 8px; margin-bottom: 6px; }
.work h3 { font-size: 17px; margin-bottom: 4px; }
.work p { margin: 0; font-size: 14px; color: var(--muted); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba figure { position: relative; }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ba figcaption { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 4px; }
.ba figure:last-child figcaption { background: var(--main); }

/* 下層ページの見出し */
.page-head { background:
  repeating-linear-gradient(92deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 24px),
  var(--main); color: #fff; }
.page-head span { color: #F0D6B8; }
.page-head p { color: #D8E4DA; }
.crumb { color: #B9CDBE; }
.crumb a { color: #fff; }

.cta { background: var(--main); }
.cta .btn--line { background: transparent; color: #fff; }
.site-footer { background: var(--main-dark); }
.to-top { background: var(--accent); }
.pop__head, .rv-head { background: var(--main); }

/* ===== 2026-10-19 作り直しで足した区切り ===== */

/* 気になっていませんか（吹き出しと短い答え） */
.worry { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .worry { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .worry { grid-template-columns: repeat(6, 1fr); } .worry li { grid-column: span 2; } .worry li:nth-child(4) { grid-column: 2 / span 2; } }
.worry li { display: flex; flex-direction: column; }
.worry__q { position: relative; margin: 0 0 18px; background: var(--paper); border: 2px solid var(--main); border-radius: var(--radius); padding: 14px 16px; font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--main-dark); }
.worry__q::before { content: "？"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--main); color: #fff; font-size: 14px; vertical-align: 2px; }
.worry__q::after { content: ""; position: absolute; left: 28px; bottom: -11px; width: 18px; height: 18px; background: var(--paper); border-right: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(45deg); }
.worry__a { margin: 0 0 0 10px; padding: 2px 0 2px 14px; border-left: 4px solid var(--accent); font-size: 15px; line-height: 1.8; flex: 1; }
.worry__a b { display: block; color: var(--accent-dark); font-size: 16px; }

/* 4つのお約束 */
.promise { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .promise { grid-template-columns: 1fr 1.15fr; gap: 50px; } }
.promise__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.promise__list { list-style: none; margin: 0; padding: 0; }
.promise__list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.promise__list li:first-child { border-top: 3px solid var(--main); }
.promise__list span { font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--accent); letter-spacing: 0; }
.promise__list h3 { font-size: 18px; color: var(--main-dark); margin-bottom: 2px; }
.promise__list p { margin: 0; font-size: 14px; color: var(--muted); }

/* 写真を背景に敷いた帯（現場は、きれいに） */
.bgband { position: relative; overflow: hidden; color: #fff; padding: 70px 16px; }
.bgband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44, 79, 52, .92), rgba(44, 79, 52, .62)); }
.bgband__inner { position: relative; z-index: 1; max-width: 1060px; margin: 0 auto; }
.bgband__label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; background: var(--accent); color: #fff; border-radius: 4px; padding: 1px 12px; margin-bottom: 12px; }
.bgband h2 { font-size: 28px; margin-bottom: 20px; }
.bgband__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 680px; }
.bgband__list li { background: rgba(255, 255, 255, .1); border-left: 4px solid #F0D6B8; padding: 12px 16px; font-size: 15px; line-height: 1.7; }
.bgband__list b { display: block; font-size: 17px; color: #F0D6B8; }
@media (min-width: 820px) { .bgband { padding: 110px 24px; } .bgband h2 { font-size: 36px; } .bgband__list { grid-template-columns: 1fr 1fr; } }

/* 工事の前と後（職人の一言つき） */
.ba-sets { display: grid; gap: 34px; }
.ba-set { display: grid; gap: 14px; padding-bottom: 30px; border-bottom: 1px dashed var(--accent); }
.ba-set:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 820px) { .ba-set { grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; } }
.ba-set__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-set__photos figure { position: relative; }
.ba-set__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ba-set__photos figcaption { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 4px; }
.ba-set__photos figure:last-child figcaption { background: var(--main); }
.ba-set__tag { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent-dark); letter-spacing: .08em; }
.ba-set__tag span { font-family: var(--head); color: var(--main); margin-right: 8px; }
.ba-set h3 { font-size: 21px; color: var(--main-dark); margin-bottom: 10px; }
.ba-set__word { background: var(--pale2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; line-height: 1.8; margin-bottom: 10px; }
.ba-set__word small { display: block; font-size: 12px; font-weight: 700; color: var(--main); letter-spacing: .1em; }
.ba-set__price { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }

/* 途中のご相談の帯（木の色） */
.ask-band { background:
  repeating-linear-gradient(92deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px),
  var(--accent-dark); color: #fff; padding: 30px 16px; }
.ask-band__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 16px; text-align: center; }
.ask-band p { margin: 0; font-size: 18px; line-height: 1.7; font-family: var(--head); }
.ask-band b { font-size: 21px; }
.ask-band__btns { display: grid; gap: 10px; }
@media (min-width: 560px) { .ask-band__btns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) { .ask-band__inner { grid-template-columns: 1fr auto; text-align: left; align-items: center; gap: 30px; } }
.btn--white { background: #fff; border-color: #fff; color: var(--accent-dark); }
.btn--white:hover { background: #F6EBDD; border-color: #F6EBDD; color: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }

/* できること（工事の種類の写真カード） */
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kinds li:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .kinds { grid-template-columns: repeat(5, 1fr); gap: 16px; } .kinds li:last-child { grid-column: auto; } }
.kinds a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-bottom: 4px solid var(--main); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s; }
.kinds a:hover { transform: translateY(-3px); }
.kinds img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kinds li:last-child img { aspect-ratio: 16 / 7; }
@media (min-width: 900px) { .kinds li:last-child img { aspect-ratio: 4 / 3; } }
.kinds__body { padding: 10px 12px 14px; }
.kinds b { display: block; font-family: var(--head); font-size: 17px; color: var(--main-dark); }
.kinds b::after { content: " →"; color: var(--accent); }
.kinds small { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 2px; }

/* 写真だけの帯 */
.photo-band { margin: 0; border-top: 6px solid var(--main); border-bottom: 6px solid var(--accent); }
.photo-band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 820px) { .photo-band img { aspect-ratio: 21 / 8; } }

/* 写真を送って、LINEで相談 */
.line-ask { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .line-ask { grid-template-columns: 1fr 1.1fr; gap: 50px; } }
.line-ask__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.line-ask__steps { list-style: none; margin: 0; padding: 0; }
.line-ask__steps li { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 20px; }
.line-ask__steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; border-left: 2px dashed var(--accent); }
.line-ask__steps span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--main); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px; }
.line-ask__steps b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.5; color: var(--main-dark); padding-top: 6px; }
.line-ask__steps small { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }
.line-ask .btn-row { margin-top: 6px; }

/* 社長のあいさつ・大きな数字 */
.text-link { display: inline-block; margin-top: 4px; color: var(--main); font-weight: 700; text-underline-offset: 4px; }
.numbers-band { background:
  repeating-linear-gradient(92deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 24px),
  var(--main-dark); color: #fff; padding: 36px 16px 22px; }
.numbers { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers li { text-align: center; padding: 12px 4px; }
@media (min-width: 820px) { .numbers li + li { border-left: 1px solid rgba(255, 255, 255, .25); } }
.numbers small { display: block; font-size: 13px; color: #F0D6B8; letter-spacing: .08em; }
.numbers b { font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1.2; letter-spacing: .02em; }
.numbers span { font-size: 15px; margin-left: 3px; }
@media (min-width: 820px) { .numbers b { font-size: 50px; } }
.numbers-band__note { text-align: center; margin: 10px 0 0; }
.numbers-band .kakuu { color: #D8E4DA; }

/* 工事のあとの点検 */
.after { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .after { grid-template-columns: 1.1fr 1fr; gap: 50px; } }
.after__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* 最後のご相談・対応地域 */
.consult { display: grid; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--main); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .consult { grid-template-columns: 1fr 1.1fr; } }
.consult__photo img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.consult__body { padding: 26px 20px 28px; }
@media (min-width: 820px) { .consult__body { padding: 36px 40px; } }
.consult__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent-dark); margin: 0 0 4px; }
.consult h2 { font-size: 25px; color: var(--main-dark); margin-bottom: 8px; }
.consult .info-table { margin: 6px 0 14px; }
.consult__tel { font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--main-dark); margin: 0 0 10px; letter-spacing: .06em; }
.consult__btns { display: grid; gap: 10px; }
@media (min-width: 560px) { .consult__btns { grid-template-columns: repeat(3, 1fr); } .consult__btns .btn { padding: 12px 10px; } }

/* 小さな修理の料金 */
.repair-price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; background: var(--pale2); border-left: 5px solid var(--accent); padding: 12px 16px; margin-bottom: 14px; }
.repair-price b { font-family: var(--head); color: var(--main-dark); }
.repair-price span { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--accent-dark); }
.repair-price small { font-size: 12px; font-weight: 400; color: var(--muted); }

/* 流れ（写真つきの5つの段階） */
.steps-photo { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .steps-photo { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps-photo { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.steps-photo li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-bottom: 14px; }
.steps-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps-photo__num { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--main); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.steps-photo h3 { font-size: 17px; color: var(--main-dark); margin: 12px 14px 4px; }
.steps-photo p { margin: 0 14px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* 社名の由来 */
.name-origin { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.name-origin__label { font-family: var(--head); font-weight: 700; color: var(--main-dark); margin-bottom: 6px; }
.name-origin p:last-child { margin: 0; }

/* お問い合わせ：LINEで写真を送る案内 */
.line-note { max-width: 780px; margin: 0 auto 24px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; background: var(--pale2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.line-note img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.line-note b { display: block; font-family: var(--head); color: var(--main-dark); font-size: 16px; line-height: 1.5; margin-bottom: 4px; }
.line-note p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.line-note .btn { min-height: 44px; padding: 8px 18px; font-size: 14px; }
@media (max-width: 480px) { .line-note { grid-template-columns: 76px 1fr; gap: 12px; } }

/* ===== 2026-10-20 そらいろの雰囲気で見直し（箱を減らす・余白を広く・見出しを細く・写真を大きく・区切りにリズム） ===== */
/* 共通の部品は base.css を変えずに、ここで足す（--hl＝小さな言葉の色、--hl-pale＝小さな札の地の色） */
@media (min-width: 820px) { body { line-height: 2.1; } }
.pc-only { display: none; }
@media (min-width: 820px) { .pc-only { display: inline; } }
.fv-line { display: block; white-space: nowrap; }

/* 最初の画面の下：お知らせ1行 */
.news-line { display: flex; gap: 14px; align-items: baseline; max-width: 1060px; margin: 0 auto; padding: 16px 20px; text-decoration: none; font-size: 13px; border-bottom: 1px solid var(--line); }
.news-line__label { color: var(--hl); letter-spacing: .2em; white-space: nowrap; font-weight: 500; }
.news-line time { color: var(--muted); letter-spacing: .05em; white-space: nowrap; }
.news-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line::after { content: "→"; margin-left: auto; color: var(--hl); }

/* 区切り（余白を広く） */
.section2 { padding: 96px 20px; }
.section2--white { background: #fff; }
.section2--pale { background: var(--pale); }
.section2--tight { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 820px) { .section2 { padding: 144px 28px; } .section2--tight { padding-top: 80px; padding-bottom: 80px; } }

/* 見出し（細く、小さな日本語のひとこと＋短い線を上に） */
.title2 { margin-bottom: 48px; }
.title2 > span { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--hl); margin-bottom: 10px; }
.title2 > span::before { content: ""; width: 24px; border-top: 1px solid currentColor; }
.title2 h2 { font-weight: 500; font-size: 25px; line-height: 1.7; letter-spacing: .12em; color: var(--ink); }
.title2 p { color: var(--muted); margin: 18px 0 0; max-width: 640px; }
.title2--center { text-align: center; }
.title2--center p { margin-left: auto; margin-right: auto; }
@media (min-width: 820px) { .title2 { margin-bottom: 64px; } .title2 h2 { font-size: 33px; } }
@media (max-width: 819px) { .title2 h2 { letter-spacing: .06em; } }

/* ごあいさつ（最初の画面の下） */
.lead2 { max-width: 760px; margin: 0 auto; text-align: center; }
.lead2__big { font-family: var(--head); font-weight: 500; font-size: 20px; line-height: 2; letter-spacing: .12em; margin-bottom: 22px; }
.lead2 p:not(.lead2__big) { color: var(--muted); }
@media (min-width: 820px) { .lead2__big { font-size: 26px; } }
@media (max-width: 819px) { .lead2 { text-align: left; } .lead2 p br:not(.sp) { display: none; } }
.tags2 { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags2 li { font-size: 12px; letter-spacing: .08em; color: var(--hl); background: var(--hl-pale); border-radius: 999px; padding: 3px 14px; }
@media (max-width: 819px) { .tags2 { justify-content: flex-start; } }

/* 写真を左に止めて、右に言葉を並べる（箱を使わない） */
.split { display: grid; gap: 40px; }
.split__photo { margin: 0; }
.split__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
  .split--rev > :first-child { order: 2; }
  .split__photo { position: sticky; top: 120px; }
  .split__photo img { aspect-ratio: 4 / 5; }
}
.qa2 { list-style: none; margin: 0; padding: 0; }
.qa2 li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.qa2 li:first-child { border-top: 1px solid var(--line); }
.qa2__num { grid-row: 1 / span 2; font-size: 13px; letter-spacing: .1em; color: var(--hl); padding-top: 6px; }
.qa2__q { font-family: var(--head); font-weight: 500; font-size: 19px; letter-spacing: .08em; line-height: 1.7; margin: 0 0 6px; }
.qa2__a { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 820px) { .qa2__q { font-size: 21px; } }

/* 写真を暗く敷いた帯 */
.dark-band { position: relative; display: grid; place-items: center; min-height: 440px; padding: 90px 22px; color: #fff; overflow: hidden; }
.dark-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: var(--dark-veil, rgba(20, 24, 30, .6)); z-index: 1; }
.dark-band__inner { position: relative; z-index: 2; width: 100%; max-width: 1060px; text-align: center; }
.dark-band__small { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; opacity: .85; margin-bottom: 14px; }
.dark-band__small::before, .dark-band__small::after { content: ""; width: 24px; border-top: 1px solid currentColor; }
.dark-band__big { font-family: var(--head); font-weight: 500; font-size: 24px; line-height: 1.9; letter-spacing: .14em; margin-bottom: 16px; }
.dark-band__inner > p:not(.dark-band__big):not(.dark-band__small) { opacity: .9; margin-bottom: 28px; }
@media (min-width: 820px) { .dark-band { min-height: 580px; padding: 120px 28px; } .dark-band__big { font-size: 34px; } }
/* 帯の中の短い流れ（箱にせず、細い線で区切る） */
.line-steps { list-style: none; margin: 34px auto 0; padding: 0; display: grid; gap: 0; max-width: 980px; text-align: left; }
.line-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: baseline; padding: 16px 4px; border-top: 1px solid rgba(255, 255, 255, .35); font-family: var(--head); font-weight: 500; letter-spacing: .06em; line-height: 1.6; }
.line-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.line-steps span { font-size: 26px; font-weight: 300; line-height: 1; opacity: .9; }
@media (min-width: 820px) {
  .line-steps { grid-template-columns: repeat(var(--steps, 4), 1fr); }
  .line-steps li { grid-template-columns: 1fr; gap: 10px; padding: 22px 22px 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .line-steps li + li { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .35); }
  .line-steps span { font-size: 40px; }
}

/* 写真と文を左右交互に */
.steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.steps2 figure { margin: 0; }
.steps2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps2__body { padding-top: 18px; }
.steps2__num { display: block; font-size: 44px; font-weight: 300; line-height: 1; color: var(--hl); letter-spacing: .04em; margin-bottom: 14px; }
.steps2 h3 { font-weight: 500; font-size: 21px; letter-spacing: .12em; margin-bottom: 10px; }
.steps2 p { color: var(--muted); margin: 0; }
.steps2__tag { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--hl); background: var(--hl-pale); border-radius: 999px; padding: 2px 12px; }
@media (min-width: 820px) {
  .steps2 { gap: 88px; }
  .steps2 li { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
  .steps2 li:nth-child(even) figure { order: 2; }
  .steps2__num { font-size: 62px; }
}

/* お約束（しないこと）：箱ではなく、上下の線で */
.promise2 { max-width: 760px; margin: 0 auto; padding: 40px 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.promise2__title { font-family: var(--head); font-weight: 500; font-size: 18px; letter-spacing: .2em; text-align: center; margin: 0 0 18px; }
.promise2 ul { list-style: none; margin: 0; padding: 0; }
.promise2 li { position: relative; padding: 8px 0 8px 26px; }
.promise2 li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--hl); }
.promise2 small { display: block; font-size: 13px; color: var(--muted); }

/* あいさつ：写真を大小ずらして重ねる */
.owner2 { display: grid; gap: 64px; align-items: center; }
.owner2__photos { position: relative; padding-bottom: 50px; }
.owner2__big { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; }
.owner2__small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--owner-frame, #fff); }
.owner2__meta { font-size: 13px; color: var(--muted); letter-spacing: .08em; margin: 18px 0 0; }
.owner2__name { border-left: 2px solid var(--hl); padding-left: 14px; font-size: 14px; margin-top: 24px; }
.owner2__name small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--hl); }
@media (min-width: 820px) { .owner2 { grid-template-columns: 1.05fr 1fr; gap: 90px; } .owner2__photos { padding-bottom: 70px; } }

/* 大きな数字：細い縦線で区切る */
.numbers2 { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, 1fr); text-align: center; }
.numbers2 li { padding: 18px 6px; }
.numbers2 li:nth-child(even) { border-left: 1px solid var(--line); }
.numbers2 li:nth-child(n+3) { border-top: 1px solid var(--line); }
.numbers2--3 { grid-template-columns: repeat(3, 1fr); }
.numbers2--3 li:nth-child(n) { border-top: 0; border-left: 0; }
.numbers2--3 li + li { border-left: 1px solid var(--line); }
.numbers2 small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; line-height: 1.6; }
.numbers2 b { display: block; font-weight: 300; font-size: 40px; line-height: 1.25; color: var(--num, var(--main)); letter-spacing: .02em; }
.numbers2 b i { font-style: normal; font-size: 15px; margin-right: 2px; }
.numbers2 b em { font-style: normal; font-size: 15px; font-weight: 400; margin-left: 3px; }
.numbers2__note { text-align: center; font-size: 11px; color: var(--muted); margin: 16px 0 0; }
@media (min-width: 820px) {
  .numbers2 { grid-template-columns: repeat(4, 1fr); }
  .numbers2--3 { grid-template-columns: repeat(3, 1fr); }
  .numbers2 li:nth-child(n) { border-top: 0; border-left: 0; }
  .numbers2 li + li { border-left: 1px solid var(--line); }
  .numbers2 b { font-size: 60px; }
  .numbers2 small { font-size: 13px; }
}

/* お知らせと、受付・営業日の表 */
.info2 { display: grid; gap: 80px; }
@media (min-width: 820px) { .info2 { grid-template-columns: 1.2fr 1fr; gap: 90px; } }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 16px; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--line); }
.news time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.news__cat { font-size: 11px; letter-spacing: .1em; color: var(--hl); background: var(--hl-pale); padding: 1px 10px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.news p { margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: .06em; }
@media (max-width: 819px) { .news li { grid-template-columns: auto 1fr; } .news p { grid-column: 1 / -1; } }
.news__note { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; }
.hours th, .hours td { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.hours thead th { font-weight: 500; color: var(--muted); border-top: 1px solid var(--ink); font-size: 13px; }
.hours tbody th { font-weight: 400; font-size: 13px; text-align: left; padding-right: 8px; line-height: 1.6; }
.hours tbody th small { display: block; font-size: 11px; color: var(--muted); }
.hours td { color: var(--hl); }
.hours td.off { color: var(--muted); }
.hours__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* 窓口と地図 */
.reserve2 { display: grid; gap: 56px; }
@media (min-width: 820px) { .reserve2 { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.reserve2 .info-table { background: transparent; }
.reserve2__tel { font-family: var(--head); font-weight: 500; font-size: 28px; letter-spacing: .08em; margin: 30px 0 4px; }
.reserve2__tel small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.reserve2__btns { display: grid; gap: 10px; }
.reserve2__btns .btn span { line-height: 1.4; }
.reserve2__btns .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.btn-hint { display: inline-block; position: relative; margin: 6px 0 14px; padding: 3px 14px; border-radius: 999px; background: var(--hl-pale); color: var(--hl); font-size: 12px; letter-spacing: .06em; line-height: 1.7; }
.btn-hint::after { content: ""; position: absolute; left: 22px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--hl-pale); }
.map-embed { aspect-ratio: 4 / 3; width: 100%; background: #EEE; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
.map-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ページの最後の大きな写真 */
.last-photo { margin: 0; }
.last-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 820px) { .last-photo img { aspect-ratio: 16 / 6; } }

/* --- ひのきらしさ（深い緑と木の色・木目の地・施工事例の写真が主役）を残すための上書き --- */
:root { --hl: var(--accent-dark); --hl-pale: #F1E6D8; --dark-veil: rgba(44, 79, 52, .66); --num: var(--main-dark); --owner-frame: var(--bg); }
.title2 h2 { color: var(--main-dark); }
.title2 > span::before { border-top-color: var(--accent); }
.section2--white { background: var(--bg); }
.section2--pale { background: var(--pale2); }
/* 木目の地 */
.section2--grain { background:
  repeating-linear-gradient(92deg, rgba(181, 131, 90, .06) 0 1px, transparent 1px 9px, rgba(181, 131, 90, .05) 9px 11px, transparent 11px 26px),
  var(--pale); }

/* 最初の画面：見出しは1行ずつ折り返さない。社名と対応地域を見出しの下に */
.fv h1 { font-weight: 500; letter-spacing: .1em; margin-bottom: 12px; }
@media (max-width: 819px) { .fv h1 { font-size: clamp(24px, calc((100vw - 60px) / 8.6), 36px); } .fv__photo img { aspect-ratio: 5 / 4; } .fv__lead { font-size: 14px; margin-bottom: 14px; } }
@media (min-width: 820px) { .fv h1 { font-size: clamp(34px, 3.5vw, 48px); } }
.fv__name { font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: .14em; color: var(--ink); margin: 0 0 12px; }
.fv__name span { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .06em; color: var(--muted); }

/* 4つのお約束：見出しを細く */
.promise__list h3 { font-weight: 500; letter-spacing: .08em; }
.promise__list span { font-weight: 500; }
.promise__photo img { border-radius: 0; }
@media (min-width: 820px) { .promise { gap: 80px; } .promise__photo img { aspect-ratio: 4 / 5; } }

/* 現場は、きれいに（写真を暗く敷いた帯）の中 */
.line-steps b { display: block; font-weight: 500; font-size: 18px; color: #F0D6B8; }
.line-steps small { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: .03em; opacity: .9; }

/* 工事の前と後：一言の箱をやめて、左の線に。PCでは左右交互に */
.section2 .ba-sets { gap: 80px; }
.section2 .ba-set { border-bottom: 1px solid var(--line); padding-bottom: 80px; }
.section2 .ba-set:last-child { border-bottom: 0; padding-bottom: 0; }
.section2 .ba-set h3 { font-weight: 500; letter-spacing: .1em; font-size: 23px; }
.section2 .ba-set__word { background: transparent; border: 0; border-left: 2px solid var(--accent); border-radius: 0; padding: 4px 0 4px 16px; }
.section2 .ba-set__price { font-weight: 500; }
.section2 .ba-set__photos img { border-radius: 0; }
@media (min-width: 820px) { .section2 .ba-set { grid-template-columns: 1.7fr 1fr; gap: 56px; } .section2 .ba-set:nth-child(even) { grid-template-columns: 1fr 1.7fr; } .section2 .ba-set:nth-child(even) .ba-set__photos { order: 2; } }

/* 途中のご相談の帯：ボタンの上に小さな1行 */
.ask-band { padding: 46px 16px; }
.ask-band .btn-hint { background: rgba(255, 255, 255, .9); color: var(--accent-dark); }
.ask-band .btn-hint::after { border-top-color: rgba(255, 255, 255, .9); }

/* できること：写真カードをやめて、線で区切った一覧に */
.kinds2 { list-style: none; margin: 0 0 14px; padding: 0; }
.kinds2 li { border-bottom: 1px solid var(--line); }
.kinds2 li:first-child { border-top: 1px solid var(--main); }
.kinds2 a { display: grid; grid-template-columns: 7em 1fr auto; gap: 4px 16px; align-items: baseline; padding: 20px 2px; text-decoration: none; }
.kinds2 a::after { content: "→"; color: var(--accent); }
.kinds2 b { font-family: var(--head); font-weight: 500; font-size: 18px; letter-spacing: .1em; color: var(--main-dark); }
.kinds2 small { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 819px) { .kinds2 a { grid-template-columns: 1fr auto; } .kinds2 small { grid-column: 1; } .kinds2 a::after { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }
.section2 .split__photo img { border-radius: 0; }

/* 写真を送って、LINEで相談 */
.line-ask__photo img { border-radius: 0; }
.line-ask__steps b { font-weight: 500; letter-spacing: .06em; }
@media (min-width: 820px) { .line-ask { gap: 80px; } }

/* 社長のあいさつ */
.owner2 .text-link { margin-top: 18px; }

/* 大きな数字の帯：数字を細く */
.numbers-band { padding: 70px 16px 50px; }
.numbers b { font-weight: 500; }
@media (min-width: 820px) { .numbers-band { padding: 90px 24px 64px; } .numbers b { font-size: 56px; } }

/* 工事のあとの点検：チェックの箱をやめて、線で区切る */
.after__photo img { border-radius: 0; }
@media (min-width: 820px) { .after { gap: 80px; } }
.section2 .checks { gap: 0; }
.section2 .checks li { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 14px 4px 14px 36px; }
.section2 .checks li:first-child { border-top: 1px solid var(--line); }
.section2 .checks li::before { left: 4px; }
.section2 .checks li::after { left: 9px; }

/* お知らせ・受付・窓口 */
.section2 .info-table { background: transparent; }
.section2 .info-table th { font-weight: 500; }
.reserve2__tel { color: var(--main-dark); }
.map-table { margin-top: 24px; }
.last-photo { border-top: 6px solid var(--main); }
@media (max-width: 819px) { .qa2__q { font-size: 17px; letter-spacing: .03em; } .ask-band .btn-hint { font-size: 11px; } }
