/* ============================================================
   なごみリホーム
   デザインは uracdoma.jp（荒川建設）の実測値に合わせている（2026-10-29 実測・幅1440px）
   動き（フェード・スライドの自動送り・スクロールで出てくる演出）は入れない
   ============================================================ */
:root {
  --c-text: #817664;      /* 本文 */
  --c-head: #766242;      /* 大見出し・タブ */
  --c-accent: #853434;    /* 電話ボックス・カードの見出し・文様 */
  --c-brown: #744f13;     /* 枠線のボタン */
  --c-sub: #a38a77;       /* 番号・小見出し */
  --c-beige: #f3eee3;     /* 薄い面 */
  --c-black: #191a1a;     /* 黒いボタン */
  --c-ph: #d9d3c7;        /* 写真の空欄 */
  --c-ph-dark: #8b8478;   /* 写真の空欄（一番上） */
  --f: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --w: 1280px;
  --gutter: 57.6px;
  --hd-h: 105px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--hd-h); }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .05em;
  color: var(--c-text);
  background: #fff url(../img/paper.webp) repeat;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
svg { display: block; }
.sp { display: none; }
.center { text-align: center; }

.l-container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: 80px 0; }

/* ---- 写真の空欄 ---- */
.ph {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: var(--c-ph);
  color: #8a8173; font-size: 14px; letter-spacing: .1em;
}
.ph--dark { background: var(--c-ph-dark); color: rgba(255, 255, 255, .75); }

/* ---- 写真 ---- */
.fit { display: block; width: 100%; height: 100%; object-fit: cover; }
picture { display: block; width: 100%; height: 100%; }

/* ---- 見出し（円相つき） ---- */
.ttl { text-align: center; font-size: 28.8px; font-weight: 700; line-height: 2; }
.ttl span { position: relative; display: inline-block; padding-top: 7px; }
.ttl span::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: -1;
  width: 65px; height: 58px; transform: translateX(-50%);
  background: url(../img/deco/ensou.svg) no-repeat center / contain;
}
.ttl--left { text-align: left; }
.ttl--light { color: #fff; }
.ttl--light span::before { filter: brightness(0) invert(1); opacity: .8; }
.desc { margin-top: 24px; text-align: center; }

/* ---- ボタン ---- */
.c-cta {
  display: inline-block; min-width: 244px; padding: 16px 48px 12px;
  border: 0; border-radius: 8px; background: var(--c-black); color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1; text-align: center;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .25);
}
.c-cta--line {
  background: transparent; color: var(--c-brown); border: 2px solid var(--c-brown);
  border-radius: 0; box-shadow: none;
}
.btn-more {
  display: block; width: 203px; margin: 20px auto 0; padding: 5px 10px;
  border-radius: 50px; background: #000; color: #fff; text-align: center;
}

/* ============ ヘッダー ============ */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  height: var(--hd-h); padding: 16px 15px;
  background: rgba(255, 255, 255, .8);
}
.hd__logo { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; color: var(--c-head); }
.hd__logo-name { font-size: 26px; font-weight: 700; letter-spacing: .12em; }
.hd__logo-en { margin-top: 6px; font-size: 10px; letter-spacing: .2em; }
.hd__nav { display: flex; gap: 10px 20px; font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; }
.hd__tel {
  display: flex; flex-direction: column; justify-content: center;
  width: 208px; height: 55px; padding: 5px 10px;
  background: var(--c-accent); color: #fff; font-weight: 700; white-space: nowrap;
}
.hd__tel-num { font-size: 20px; line-height: 1.5; }
.hd__tel-sub { font-size: 10px; line-height: 1.5; }
.hd__menu {
  position: relative; display: block; flex: 0 0 auto;
  width: 56px; height: 56px; padding: 0; border: 0; border-radius: 0;
  background: var(--c-head); -webkit-appearance: none; appearance: none;
}
.hd__menu span { position: absolute; left: 16px; right: 16px; height: 2px; background: #fff; }
.hd__menu span:nth-child(1) { top: 14px; }
.hd__menu span:nth-child(2) { top: 21px; }
.hd__menu span:nth-child(3) { top: 28px; }
.hd__menu::after {
  content: "MENU"; position: absolute; left: 0; right: 0; bottom: 7px;
  font-size: 9px; line-height: 1; letter-spacing: .1em; color: #fff; text-align: center;
}

/* ---- 三本線で開くメニュー ---- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  padding: 60px 48px 48px; overflow-y: auto;
  background: #fff url(../img/paper.webp) repeat;
}
.drawer__close { position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
.drawer__close::before, .drawer__close::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 15px; height: 2px; background: var(--c-text);
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
.drawer__top { font-size: 16px; font-weight: 700; color: var(--c-brown); }
.drawer__menu { margin-top: 16px; font-size: 15px; }
.drawer__menu > li { border-bottom: 1px solid #e3dccd; }
.drawer__menu a { display: block; padding: 12px 0; }
.drawer__menu ul { margin: -6px 0 8px 14px; font-size: 14px; }
.drawer__menu ul a { padding: 4px 0; }
.drawer__cta { display: grid; gap: 12px; margin-top: 32px; }
.drawer__tel, .drawer__btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; font-size: 18px; font-weight: 700;
}
.drawer__tel { border: 1px solid var(--c-accent); background: #fff; color: var(--c-accent); }
.drawer__tel span { font-size: 12px; font-weight: 400; }
.drawer__btn { background: var(--c-black); color: #fff; font-size: 16px; }
.is-drawer-open { overflow: hidden; }

/* ============ ファーストビュー ============ */
.mv { padding-top: 104px; }
.mv__slides { position: relative; height: 720px; }
.mv__slide { display: none; position: absolute; inset: 0; }
.mv__slide.is-on { display: block; }
.mv__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.mv__ttl {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff; text-align: center; font-weight: 400; pointer-events: none;
  text-shadow: 0 0 12px rgba(0, 0, 0, .25);
}
.mv__ttl-main { font-size: clamp(32px, 3.3vw, 47.52px); line-height: 1.1; letter-spacing: .1em; }
.mv__ttl-sub { font-size: 18px; line-height: 1.6; letter-spacing: .1em; }
.mv__arrow {
  position: absolute; bottom: 60px; width: 40px; height: 40px; padding: 0; border: 0;
  background: no-repeat center / contain;
}
.mv__arrow--prev { left: 25px; background-image: url(../img/deco/arrow-l.svg); }
.mv__arrow--next { right: 25px; background-image: url(../img/deco/arrow-r.svg); }
.mv__dots { display: flex; justify-content: center; gap: 16px; padding: 30px 0; }
.mv__dot { width: 12px; height: 12px; padding: 0; border: 1px solid var(--c-head); border-radius: 50%; background: transparent; }
.mv__dot.is-on { background: var(--c-head); }

/* ============ こんなお悩みありませんか ============ */
.nayami { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; max-width: 1000px; margin: 48px auto 0; }
.nayami li {
  position: relative; padding: 20px 24px 20px 60px;
  background: #fff; font-size: 16px; line-height: 1.75;
}
.nayami li::before {
  content: ""; position: absolute; left: 24px; top: 23px;
  width: 20px; height: 20px; border: 1px solid var(--c-accent);
}
.nayami li::after {
  content: ""; position: absolute; left: 30px; top: 25px;
  width: 7px; height: 12px; border: solid var(--c-accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ============ 選ばれる理由（荒川建設「こだわり」） ============ */
.feat { padding: 0 0 40px; }
.feat .l-container { position: relative; }
.feat__content { position: relative; z-index: 1; width: 466px; min-height: 465px; }
.feat__content p { margin-top: 24px; font-size: 16px; }
.feat__content .ttl + p { margin-top: 40px; }
.feat__bg { position: absolute; top: 0; left: calc(var(--gutter) + 313px); width: min(781px, calc(100% - 313px - 2 * var(--gutter))); height: 520px; }
.feat__bg .fit { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 260px); mask-image: linear-gradient(to right, transparent 0, #000 260px); }
.feat__items { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 77px; }
.feat__item {
  position: relative; padding: 48px 24px 32px;
  background: #fff; border: 1px solid #000; text-align: center;
}
.feat__num {
  position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  padding: 0 12px; background: transparent;
  font-size: 54px; line-height: 1; color: var(--c-sub);
}
.feat__ttl { font-size: 20px; font-weight: 700; line-height: 2; color: var(--c-sub); }
.feat__item p { margin-top: 16px; text-align: left; }

/* ============ 塗装工事（荒川建設「ラインナップ」） ============ */
.lineup { padding: 112px 0; }
.lineup__items { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; padding: 0 0 0; }
.lineup__item { display: flex; flex-direction: column; background: #fff; }
.lineup__item .fit { height: 280px; }
.lineup__body { flex: 1; display: flex; flex-direction: column; padding: 0 20px 30px; }
.lineup__ttl { padding: 10px 0; font-size: 20px; font-weight: 700; line-height: 2; color: var(--c-accent); text-align: center; }
.lineup__body .btn-more { margin-top: auto; }
.lineup__body p { margin-bottom: 20px; }

/* ============ ほかの工事（荒川建設「物語」） ============ */
.about__head { padding: 80px 0 50px 32px; }
.about__ttl { font-size: 40px; font-weight: 700; line-height: 1; color: var(--c-head); }
.about__sub { margin-top: 17px; font-size: 23.9px; font-weight: 700; line-height: 1; color: var(--c-head); text-align: right; }
.about__content { display: flex; gap: 50px; }
.about__text { flex: 0 0 424px; }
.about__text p { font-size: 16px; }
.about__text p + p { margin-top: 24px; }
.about__img { flex: 1; height: 492px; }
.works12 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 70px; }
.works12 li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 8px 18px; background: #fff;
  font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--c-head);
}
.works12 li::before { content: ""; width: 30px; height: 30px; background: url(../img/deco/hanabishi.svg) no-repeat center / contain; }
.works12__note { margin-top: 24px; text-align: center; font-size: 16px; }

/* ============ 施工事例（荒川建設「施工事例」） ============ */
#works .desc { margin-top: 0; }
.tabs { display: flex; justify-content: flex-end; gap: 10px; margin-top: 90px; }
.tab {
  padding: 4px 16px; border: 1px solid var(--c-head);
  background: #fff; color: var(--c-head); font-size: 16px; line-height: 1.5;
}
.tab.is-on { background: var(--c-head); color: #fff; }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; padding: 0 16px; }
.work[hidden] { display: none; }
.work .fit { height: 180px; }
.work__ttl { margin-top: 23px; font-size: 18px; font-weight: 700; line-height: 2; }
.work__txt { margin-top: 10px; font-size: 13px; line-height: 1.6; }
#works .center { margin-top: 40px; }

/* ============ 工事の流れ・代表あいさつ（荒川建設「家づくりの物語」） ============ */
.voice { padding: 104px 0 60px; }
.voice__head { padding-left: 24px; }
.voice__ttl { padding-top: 8px; font-size: 40px; font-weight: 700; line-height: 1; color: var(--c-head); }
.voice__head p { margin-top: 17px; font-size: 16px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: none; }
.flow li { padding: 28px 32px 32px; background: var(--c-beige); }
.flow__no { font-size: 40px; line-height: 1; color: var(--c-sub); }
.flow h3 { margin-top: 12px; font-size: 22px; font-weight: 600; line-height: 1.6; }
.flow p { margin-top: 8px; }
.voice--greet { padding-top: 56px; }
.voice__item { display: flex; gap: 40px; margin-top: 56px; background: var(--c-beige); }
.voice__item .fit { flex: 0 0 562px; width: 562px; height: auto; min-height: 303px; }
.voice__text { flex: 1; padding: 32px 40px 36px 0; }
.voice__item-ttl { font-size: 28px; font-weight: 600; line-height: 2; margin-bottom: 16px; }
.voice__text p:not(.voice__item-ttl) { font-size: 16px; }
.voice__text p + p { margin-top: 12px; }
.voice__sign { text-align: right; }

/* ============ 求人（荒川建設「Instagram」の帯） ============ */
.recruit { padding: 80px 0 140px; }
.recruit__bn {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
  max-width: 1000px; height: 288px; margin: 0 auto; padding: 0 24px;
  background: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)), url(../img/recruit.webp) center / cover; text-align: center;
}
.recruit__ttl { font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.recruit__txt { font-size: 16px; }

/* ============ 対応エリアと会社概要 ============ */
#company { padding-top: 0; }
.company { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-top: 56px; }
.company__h { margin-bottom: 16px; font-size: 22px; font-weight: 600; line-height: 1.6; color: var(--c-head); }
.company__area p { font-size: 16px; }
.company__chip { display: inline-block; margin-top: 16px; padding: 4px 16px; border: 1px solid var(--c-head); background: #fff; color: var(--c-head); }
.info { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.info th, .info td { padding: 14px 20px; border-bottom: 1px solid #e3dccd; text-align: left; vertical-align: top; }
.info th { width: 7em; font-weight: 600; color: var(--c-head); white-space: nowrap; }

/* ============ お問い合わせ ============ */
.contact { position: relative; padding: 75px 0 120px; background: linear-gradient(rgba(60,50,40,.45), rgba(60,50,40,.45)), url(../img/contact.webp) center / cover; color: #fff; text-align: center; }
.contact__in { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.contact__lead { margin-top: 4px; }
.contact__btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 29px; margin-top: 32px; }
.contact__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 80px; padding: 20px 0; border-radius: 4px; background: #fff;
  font-size: 20px; font-weight: 700; line-height: 2; color: var(--c-head); white-space: nowrap;
}
.contact__btn svg { flex: 0 0 25px; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.sec--form { padding: 80px 0; }
.form { max-width: 760px; margin: 0 auto; }
.form__row { display: grid; grid-template-columns: 11em 1fr; gap: 16px; align-items: start; margin-bottom: 20px; }
.form__row label { padding-top: 10px; font-size: 16px; font-weight: 600; color: var(--c-head); }
.form input, .form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #cfc6b4; border-radius: 0;
  background: #fff; font: inherit; font-size: 16px; color: #333;
}
.form .center { margin-top: 32px; }

/* ============ フッター ============ */
.ft { padding: 60px 100.8px 40px; color: #000; }
.ft__in { display: flex; justify-content: space-between; gap: 40px; max-width: 1238px; margin: 0 auto; }
.ft__left { flex: 0 0 340px; }
.ft__logo { display: flex; flex-direction: column; line-height: 1.2; color: var(--c-head); }
.ft__logo span { font-size: 28px; font-weight: 700; letter-spacing: .12em; }
.ft__logo small { margin-top: 6px; font-size: 10px; letter-spacing: .2em; }
.ft__left p { margin-top: 24px; }
.ft__right { display: grid; grid-template-columns: repeat(4, minmax(0, 185px)); gap: 29px; }
@media (max-width: 1280px) {
  .ft { padding-left: 40px; padding-right: 40px; }
  .ft__left { flex-basis: 300px; }
  .ft__right { gap: 20px; }
}
.ft__menu li { line-height: 20px; margin-bottom: 15px; }
.ft__menu .ft__child { margin: -7px 0 8px 12px; line-height: 28px; }
.ft__copy { margin-top: 40px; text-align: center; font-size: 12px; }

/* ============ 右端の固定ボタン ============ */
.rail { position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%); display: flex; flex-direction: column; }
.rail a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 64px; padding: 14px 0 10px; background: rgba(255, 255, 255, .9);
  border: 1px solid #e3dccd; border-right: 0; margin-top: -1px;
  font-size: 11px; line-height: 1.4; color: var(--c-head);
}
.rail svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.spbar { display: none; }

/* ============ 幅が足りないときはメニューをまとめる ============ */
@media (max-width: 1180px) {
  .hd__nav { display: none; }
}

/* ============ スマートフォン（荒川建設と同じく1001px以下） ============ */
@media (max-width: 1001px) {
  :root { --gutter: 15px; --hd-h: 70px; }
  .sp { display: inline; }
  .pc { display: none; }
  .sec { padding: 60px 0; }

  .hd { padding: 5px 15px; gap: 12px; }
  .hd__logo-name { font-size: 22px; }
  .hd__tel { display: none; }
  .hd__menu { width: 50px; height: 50px; }
  .hd__menu span { left: 14px; right: 14px; }
  .hd__menu span:nth-child(1) { top: 12px; }
  .hd__menu span:nth-child(2) { top: 19px; }
  .hd__menu span:nth-child(3) { top: 26px; }

  .mv { padding-top: 70px; }
  .mv__slides { height: 430px; }
  .mv__ttl-main { font-size: 24px; line-height: 1.6; }
  .mv__ttl-sub { font-size: 13px; }
  .mv__arrow { bottom: 50px; width: 32px; height: 32px; }
  .mv__arrow--prev { left: 15px; }
  .mv__arrow--next { right: 15px; }
  .mv__dots { padding: 20px 0; }

  .ttl { font-size: 24px; line-height: 1.6; }
  .ttl span { padding-top: 12px; }
  .desc { text-align: left; }

  .nayami { grid-template-columns: 1fr; margin-top: 32px; gap: 12px; }
  .nayami li { padding: 16px 16px 16px 52px; font-size: 15px; }
  .nayami li::before { left: 18px; top: 19px; }
  .nayami li::after { left: 24px; top: 21px; }

  .feat { padding: 20px 0 40px; }
  .feat__content { width: auto; min-height: 0; }
  .feat__content .ttl + p { margin-top: 24px; }
  .feat__content p { font-size: 15px; }
  .feat__bg { position: static; width: auto; height: 240px; margin-top: 32px; }
  .feat__bg .fit { -webkit-mask-image: none; mask-image: none; }
  .feat__items { grid-template-columns: 1fr; gap: 48px; margin-top: 64px; }

  .lineup { padding: 60px 0; }
  .lineup__items { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .lineup__item .fit { height: 200px; }

  .about__head { padding: 60px 0 32px; }
  .about__ttl { font-size: 28px; line-height: 1.4; }
  .about__sub { margin-top: 12px; font-size: 17px; line-height: 1.6; text-align: left; }
  .about__content { flex-direction: column; gap: 24px; }
  .about__text { flex: none; }
  .about__text p { font-size: 15px; }
  .about__img { flex: none; height: 230px; }
  .works12 { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
  .works12 li { padding: 16px 4px 12px; font-size: 14px; }
  .works12__note { text-align: left; font-size: 15px; }

  .tabs { justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
  .tab { font-size: 14px; padding: 4px 12px; }
  .works { grid-template-columns: 1fr 1fr; gap: 24px 15px; padding: 0; margin-top: 24px; }
  .work .fit { height: 120px; }
  .work__ttl { margin-top: 12px; font-size: 15px; line-height: 1.6; }

  .voice { padding: 60px 0 30px; }
  .voice__head { padding-left: 0; }
  .voice__ttl { font-size: 28px; line-height: 1.4; }
  .voice__head p { font-size: 15px; }
  .flow { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .flow li { padding: 20px 20px 22px; }
  .flow__no { font-size: 30px; }
  .flow h3 { font-size: 19px; }
  .voice--greet { padding-top: 30px; }
  .voice__item { flex-direction: column; gap: 0; margin-top: 32px; }
  .voice__item .fit { flex: none; width: 100%; min-height: 0; height: 220px; }
  .voice__text { padding: 24px 20px 28px; }
  .voice__item-ttl { font-size: 21px; line-height: 1.6; margin-bottom: 12px; }
  .voice__text p:not(.voice__item-ttl) { font-size: 15px; }

  .recruit { padding: 40px 0 80px; }
  .recruit__bn { height: 200px; }
  .recruit__ttl { font-size: 21px; }
  .recruit__txt { font-size: 14px; text-align: left; }

  .company { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .company__area p { font-size: 15px; }
  .info { font-size: 14px; }
  .info th, .info td { display: block; width: auto; padding: 10px 14px; }
  .info th { padding-bottom: 0; border-bottom: 0; }

  .contact { padding: 56px 0 64px; }
  .contact__in { padding: 0 30px; }
  .contact__btns { grid-template-columns: 1fr; gap: 14px; }
  .contact__btn { height: 72px; font-size: 18px; }

  .sec--form { padding: 48px 0 60px; }
  .form__row { grid-template-columns: 1fr; gap: 6px; }
  .form__row label { padding-top: 0; font-size: 15px; }

  body { padding-bottom: 62px; }
  .ft { padding: 48px 24px 40px; }
  .ft__in { flex-direction: column; gap: 32px; }
  .ft__left { flex: none; }
  .ft__right { grid-template-columns: 1fr 1fr; gap: 8px 16px; }

  .rail { display: none; }
  .spbar {
    position: fixed; inset: auto 0 0; z-index: 45;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(250, 247, 240, .97); border-top: 1px solid #e3dccd;
  }
  .spbar a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 0 8px; font-size: 11px; line-height: 1.3; color: var(--c-head);
  }
  .spbar a + a { border-left: 1px solid #e3dccd; }
  .spbar svg { width: 26px; height: 26px; fill: none; stroke: var(--c-accent); stroke-width: 1.4; }
}
