/* つむぎ内装（デモ）
   色：本文 #2B2420／木の茶 #8B5E3C（メイン）／錆朱 #B4532A（アクセント・電話ボタン）／背景 白＋生成り #F7F2EA */
:root {
  --ink: #2B2420;
  --sub: #6A5D52;
  --wood: #8B5E3C;
  --wood-d: #6F4A2E;
  --accent: #B4532A;
  --accent-d: #974321;
  --paper: #F7F2EA;
  --line: #E3D8C8;
  --white: #fff;
  --wrap: 1180px;
  --gut: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  word-break: auto-phrase;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.4; font-feature-settings: "palt"; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.nw { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-only { display: none; }
body.is-locked { overflow: hidden; }

/* ---------- デモ表示 ---------- */
.demo-bar { background: var(--ink); color: #F3ECE2; font-size: 13px; line-height: 1.6; }
.demo-bar p { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gut); }
.demo-bar strong { color: #fff; margin-right: .6em; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hd__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 80px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 34px; height: 34px; display: grid; grid-template-rows: repeat(3, 1fr); gap: 3px; }
.logo__mark i { display: block; border-radius: 2px; background: var(--wood); }
.logo__mark i:nth-child(1) { margin-right: 10px; }
.logo__mark i:nth-child(2) { margin-left: 8px; background: #B98A5E; }
.logo__mark i:nth-child(3) { margin-right: 4px; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.25; }
.logo__name { font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.logo__sub { font-size: 12px; color: var(--sub); letter-spacing: .04em; }
.gnav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.gnav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.gnav a:hover { border-bottom-color: var(--wood); }
.hd__tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.3; padding-left: 26px; border-left: 1px solid var(--line); }
.hd__tel-num { font-size: 26px; font-weight: 700; letter-spacing: .03em; color: var(--accent); }
.hd__tel-time { font-size: 12px; color: var(--sub); }
.hd__dummy { margin-left: .3em; }
.hd__menu { display: none; }

/* スマホメニュー */
.spnav { position: fixed; left: 0; right: 0; bottom: 0; top: 64px; z-index: 60; background: #fff; padding: 12px 20px 40px; overflow-y: auto; }
.spnav[hidden] { display: none; }
.spnav nav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; text-decoration: none; }
.spnav__tel { display: block; margin-top: 24px; padding: 14px 16px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 6px; text-align: center; font-weight: 700; font-size: 20px; }
.spnav__tel small { display: block; font-size: 12px; font-weight: 500; }

/* ---------- ファーストビュー ---------- */
.fv { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 560px; }
.fv__txt { padding: 44px 48px 40px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); display: flex; flex-direction: column; justify-content: center; }
.fv__area { display: flex; align-items: center; gap: 12px; color: var(--wood); font-weight: 700; font-size: 15px; letter-spacing: .1em; }
.fv__area::before { content: ""; width: 36px; height: 2px; background: var(--wood); }
.fv__title { margin-top: 16px; font-size: 48px; line-height: 1.35; letter-spacing: .04em; }
.fv__lead { margin-top: 22px; color: var(--sub); font-size: 16px; max-width: 30em; }
.fv__points { margin-top: 24px; border-top: 1px solid var(--line); }
.fv__points li { display: flex; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.fv__points b { flex: 0 0 7.5em; color: var(--ink); font-size: 15px; }
.fv__cta { margin-top: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.btn-tel { display: inline-flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 8px 30px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 6px; line-height: 1.3; transition: background .2s; }
.btn-tel:hover { background: var(--accent-d); }
.btn-tel__label { font-size: 13px; }
.btn-tel__num { font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.fv__more { font-weight: 700; color: var(--wood-d); text-underline-offset: 5px; }
.fv__more:hover { color: var(--accent); }
.fv__photo { position: relative; margin: 0; }
.fv__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.fv__photo figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(43,36,32,.55); padding: 2px 8px; border-radius: 3px; }

/* ---------- 料金感の帯（曲尺の目盛り） ---------- */
.band { background: var(--paper); position: relative; }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--wood) 0 1px, transparent 1px 10px) top left / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--wood) 0 1px, transparent 1px 50px) top left / 100% 12px no-repeat;
  opacity: .55;
}
.band__in { max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gut) 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.band__title { font-size: 22px; display: flex; flex-direction: column; line-height: 1.3; }
.band__title small { font-size: 13px; color: var(--sub); font-weight: 500; margin-top: 4px; }
.band__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.band__list li { display: flex; flex-direction: column; padding: 0 24px; border-left: 1px solid var(--line); }
.band__what { font-size: 13px; line-height: 1.5; color: var(--sub); }
.band__yen { margin-top: 4px; font-size: 32px; font-weight: 700; color: var(--wood-d); letter-spacing: .02em; line-height: 1.2; font-feature-settings: "palt"; }
.band__yen small { font-size: 15px; margin-left: 2px; }
.band__note { font-size: 13px; line-height: 1.7; color: var(--sub); max-width: 17em; }

/* ---------- 見出し共通 ---------- */
.sec-head { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 48px; }
.sec-title { font-size: 34px; letter-spacing: .05em; }
.sec-lead { color: var(--sub); font-size: 15px; max-width: 34em; justify-self: end; }
.sec-lead b { color: var(--ink); }

/* ---------- できる仕事 ---------- */
.work { padding: 44px 0 72px; }
.work__list { margin: 24px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))) 0; padding: 0; border-top: 2px solid var(--ink); }
.work__item { display: grid; grid-template-columns: 56px 220px minmax(0, 1fr) 230px; gap: 28px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.work__no { font-size: 15px; font-weight: 700; color: var(--wood); letter-spacing: .08em; align-self: start; padding-top: 8px; }
.work__img { width: 220px; height: 128px; object-fit: cover; border-radius: 4px; }
.work__item:nth-child(1) .work__img { object-position: 50% 30%; }
.work__body h3 { font-size: 21px; }
.work__body p { margin-top: 6px; font-size: 14.5px; line-height: 1.8; color: var(--sub); }
.work__tag { font-size: 13px; line-height: 1.7; color: var(--wood-d); padding-left: 14px; border-left: 3px solid #D9C4A8; }

/* ---------- ビフォーアフター ---------- */
.ba { background: var(--paper); padding: 80px 0; }
.ba__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.ba__txt > p { margin-top: 16px; color: var(--sub); font-size: 15px; }
.ba__spec { margin-top: 24px; border-top: 1px solid var(--line); }
.ba__spec div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ba__spec dt { color: var(--wood-d); font-weight: 700; }
.ba__note { margin-top: 18px !important; font-size: 12.5px !important; line-height: 1.7; }

.compare { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 1400 / 933; background: #ddd; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.compare__handle::before {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  font-size: 11px; letter-spacing: 2px; color: var(--wood-d); white-space: nowrap;
}
.compare__label { position: absolute; top: 14px; z-index: 1; padding: 4px 12px; font-size: 13px; font-weight: 700; border-radius: 3px; pointer-events: none; }
.compare__label--before { left: 14px; background: rgba(43,36,32,.78); color: #fff; }
.compare__label--after { right: 14px; background: rgba(255,255,255,.92); color: var(--ink); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:focus-within .compare__handle::after { outline: 3px solid var(--accent); }

/* ---------- お客さま ---------- */
.who { padding: 64px 0 8px; }
.who__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; }
.who__col { padding: 6px 40px; }
.who__col:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.who__col h3 { font-size: 19px; color: var(--wood-d); }
.who__col ul { margin-top: 10px; }
.who__col li { position: relative; padding: 5px 0 5px 20px; font-size: 15px; }
.who__col li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 2px; background: var(--wood); }

/* ---------- 料金 ---------- */
.price { padding: 72px 0 80px; }
.price__table { max-width: var(--wrap); margin: 28px auto 0; padding: 0 var(--gut); }
.price__row { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 24px; padding: 15px 8px; border-bottom: 1px solid var(--line); align-items: center; }
.price__row--head { border-bottom: 2px solid var(--ink); font-size: 13px; color: var(--sub); padding-bottom: 8px; }
.price__row--head span:last-child { text-align: right; }
.price__row span:first-child { font-weight: 700; }
.price__row:not(.price__row--head) span:nth-child(2) { color: var(--sub); font-size: 15px; }
.price__yen { text-align: right; font-size: 22px; font-weight: 700; color: var(--wood-d); font-feature-settings: "palt"; }
.price__yen--ask { font-size: 16px; }
.price__notes { max-width: var(--wrap); margin: 20px auto 0; padding: 0 var(--gut); font-size: 13.5px; color: var(--sub); }
.price__notes li { padding-left: 1em; text-indent: -1em; }
.price__notes li::before { content: "※"; }

/* ---------- 流れ ---------- */
.flow { background: var(--paper); padding: 72px 0 80px; }
.flow__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.flow__list { margin-top: 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; position: relative; }
.flow__list::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: #D9C4A8; }
.flow__list li { position: relative; padding-right: 24px; }
.flow__no { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--wood); color: #fff; font-weight: 700; font-size: 18px; }
.flow__list h3 { margin-top: 16px; font-size: 18px; }
.flow__list p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--sub); }

/* ---------- 会社情報・問い合わせ ---------- */
.about { padding: 80px 0 96px; }
.about__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.info { margin-top: 22px; border-top: 2px solid var(--ink); }
.info div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info dt { color: var(--wood-d); font-weight: 700; }
.map { margin-top: 24px; height: 220px; border-radius: 6px; background: repeating-linear-gradient(45deg, #F1EBE1 0 12px, #F7F2EA 12px 24px); display: grid; place-items: center; color: var(--sub); font-size: 14px; }

.contact__tel { margin-top: 18px; font-size: 15px; }
.contact__tel a { display: block; font-size: 32px; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: .03em; line-height: 1.3; }
.contact__tel small { display: block; font-size: 12.5px; color: var(--sub); }
.form { margin-top: 24px; padding: 28px; background: var(--paper); border-radius: 8px; display: grid; gap: 16px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.form legend { width: 100%; font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.form fieldset label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; min-height: 36px; cursor: pointer; }
.form input[type="radio"], .form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--wood); }
.form__field { display: grid; gap: 6px; }
.form__field > span { font-size: 14px; font-weight: 700; }
.form__field em { font-style: normal; font-size: 11px; color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #CDBFAC; border-radius: 4px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--wood); outline-offset: 1px; }
.form__submit { min-height: 56px; border: 0; border-radius: 6px; background: #A99C8E; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: not-allowed; }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #E9E0D4; }
.ft__in { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--gut) 40px; display: grid; gap: 14px; font-size: 13px; line-height: 1.8; }
.ft__name { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.ft__name small { font-size: 12px; font-weight: 500; margin-left: 12px; color: #CFC3B4; letter-spacing: .02em; }
.ft__demo strong { color: #fff; }
.ft a { color: #fff; }
.ft__credit { color: #B9AC9C; font-size: 12px; }

.spbar { display: none; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 1180px) {
  .gnav { display: none; }
  .hd__tel { margin-left: auto; }
  .hd__menu { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 11px; color: var(--ink); cursor: pointer; min-width: 48px; }
  .hd__menu-bars { display: grid; gap: 6px; width: 26px; }
  .hd__menu-bars i { display: block; height: 2px; background: var(--ink); }
  .hd__menu[aria-expanded="true"] .hd__menu-bars i:first-child { transform: translateY(4px) rotate(30deg); }
  .hd__menu[aria-expanded="true"] .hd__menu-bars i:last-child { transform: translateY(-4px) rotate(-30deg); }
  .work__item { grid-template-columns: 44px 200px minmax(0, 1fr); }
  .work__img { width: 200px; }
  .work__tag { grid-column: 3; margin-top: -6px; }
  .band__in { grid-template-columns: 1fr; gap: 18px; }
  .band__list li:first-child { padding-left: 0; border-left: 0; }
  .band__note { max-width: none; }
}

@media (max-width: 900px) {
  .fv { grid-template-columns: 1fr; }
  .fv__photo { order: -1; height: 360px; }
  .fv__txt { padding: 36px var(--gut) 40px; }
  .ba__in, .about__in { grid-template-columns: 1fr; gap: 32px; }
  .flow__list { grid-template-columns: 1fr; gap: 22px; }
  .flow__list::before { left: 20px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .flow__list li { display: grid; grid-template-columns: 42px 1fr; column-gap: 18px; padding-right: 0; }
  .flow__list li > * { grid-column: 2; }
  .flow__list .flow__no { grid-column: 1; grid-row: 1 / span 2; }
  .flow__list h3 { margin-top: 6px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-lead { justify-self: start; }
}

@media (max-width: 767px) {
  :root { --gut: 20px; }
  html { scroll-padding-top: 72px; }
  body { font-size: 15px; padding-bottom: 68px; }
  .sp-only { display: inline; }
  .demo-bar p { padding: 7px var(--gut); font-size: 12px; }
  .demo-bar strong { display: block; margin: 0; }
  .demo-bar__sub { display: block; color: #D8CFC3; }
  .hd__in { height: 64px; gap: 12px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__name { font-size: 20px; }
  .logo__sub { font-size: 11px; }
  .hd__tel { display: none; }
  .hd__menu { margin-left: auto; }
  .fv__photo { height: 260px; }
  .fv__title { font-size: 34px; margin-top: 14px; }
  .fv__lead { font-size: 15px; margin-top: 16px; }
  .fv__points b { flex-basis: 6.8em; font-size: 14px; }
  .fv__points li { font-size: 13px; }
  .fv__cta { gap: 18px; }
  .btn-tel { width: 100%; align-items: center; }
  .band__in { padding: 30px var(--gut) 26px; }
  .band__title { flex-direction: row; align-items: baseline; gap: 10px; }
  .band__list { grid-template-columns: 1fr; }
  .band__list li { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .band__list li:first-child { border-top: 1px solid var(--line); }
  .band__what { font-size: 13px; }
  .band__yen { font-size: 24px; margin-top: 0; white-space: nowrap; }
  .sec-title { font-size: 26px; }
  .work { padding: 40px 0 52px; }
  .work__item { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .work__no { padding-top: 0; }
  .work__img { width: 100%; height: 190px; }
  .work__tag { grid-column: auto; margin-top: 2px; }
  .work__body h3 { font-size: 19px; }
  .ba { padding: 52px 0; }
  .ba__in { gap: 24px; }
  .ba__viewer { order: -1; margin: 0 calc(var(--gut) * -1); }
  .compare { border-radius: 0; }
  .ba__txt { order: 0; }
  .who { padding: 44px 0 0; }
  .who__in { grid-template-columns: 1fr; gap: 24px; }
  .who__col, .who__col:first-child { padding: 0; border: 0; }
  .who__col + .who__col { padding-top: 22px; border-top: 1px solid var(--line); }
  .price { padding: 52px 0 56px; }
  .price__row--head { display: none; }
  .price__table { border-top: 2px solid var(--ink); margin-left: var(--gut); margin-right: var(--gut); padding: 0; }
  .price__row { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; }
  .price__row span:first-child { grid-column: 1; }
  .price__row span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13px !important; }
  .price__yen { grid-column: 2; grid-row: 1 / span 2; font-size: 19px; }
  .price__yen--ask { font-size: 14px; line-height: 1.5; }
  .flow { padding: 52px 0 56px; }
  .about { padding: 52px 0 60px; }
  .info div { grid-template-columns: 5.5em 1fr; gap: 10px; font-size: 14px; }
  .form { padding: 20px 16px; }
  .ft__in { padding: 32px var(--gut) 28px; }
  .ft__name small { display: block; margin: 0; }

  .spbar { display: grid; grid-template-columns: 1.3fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 64px; box-shadow: 0 -2px 10px rgba(43,36,32,.12); }
  .spbar a { display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; font-weight: 700; line-height: 1.3; }
  .spbar__tel { background: var(--accent); color: #fff; font-size: 16px; }
  .spbar__tel small { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
  .spbar__form { background: #fff; color: var(--wood-d); font-size: 15px; border-top: 1px solid var(--line); }
}

@media (max-width: 360px) {
  .fv__title { font-size: 30px; }
  .logo__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
