@charset "UTF-8";
/* v2 レイヤー：ページごとの独立した構成・控えめで意味のある動き。
   既定は「すべて見えている」状態。動きは prefers-reduced-motion: no-preference かつ対応ブラウザのみ。 */

/* 写真ラベル（一律注記の代わりに、必要な箇所だけ簡潔に） */
.photo figcaption { font-size: 10px; letter-spacing: .1em; padding: 3px 9px; background: rgba(28,28,28,.72); }
.photo--plain figcaption { display: none; }

/* 画像待ち（v2固有画像が未到着の間だけ表示。配布ZIPでは0件であることを検査） */
.img-wait { position: relative; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #faf3f2 0 10px, #f4e9e7 10px 20px); border: 2px dashed var(--red); color: var(--red-dark); font-size: 12px; letter-spacing: .06em; line-height: 1.7; padding: 16px; min-height: 160px; }
.img-wait b { display: block; font-size: 13px; }

/* ---------- 共通：ページ見出しの別構成 ---------- */
.page-head--split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 64px; align-items: end; }
.page-head--split .wrap > .head-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.page-head--split .wrap > .head-text > :nth-child(2) { animation-delay: .06s; }
.page-head--split .wrap > .head-text > :nth-child(3) { animation-delay: .12s; }
.page-head--split .wrap > .head-text > :nth-child(4) { animation-delay: .18s; }
.page-head--split .wrap > * { animation: none; }

.statement { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(22px, 1.6vw + 14px, 34px); line-height: 1.8; letter-spacing: .1em; }
.statement em { font-style: normal; color: var(--red); }

/* ---------- こだわり ---------- */
.chapter-hero { position: relative; }
.chapter-hero .photo { aspect-ratio: 1440 / 640; }
.chapter-hero .panel { position: relative; margin: -120px 0 0 auto; width: min(100%, 620px); background: #fff; padding: 52px 56px 48px; border-top: 3px solid var(--red); box-shadow: 0 24px 60px rgba(0,0,0,.06); }
.chapter-hero .panel .no, .chapter .no { font-family: var(--serif); color: var(--red); font-size: 15px; letter-spacing: .3em; }
.chapter-hero .panel h2 { margin: 10px 0 22px; }
.chapter { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.chapter .bignum { font-family: var(--serif); font-size: 112px; line-height: .9; color: #ece8e2; letter-spacing: 0; user-select: none; }
.chapter .body h2 { margin: 8px 0 22px; }
.chapter .photo { aspect-ratio: 4 / 5; }
.chapter--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.chapter--wide .photo { aspect-ratio: 16 / 11; }
.consider { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.consider li { padding: 22px 20px 6px 0; font-size: 13.5px; line-height: 1.9; }
.consider li b { display: block; color: var(--ink); font-size: 15px; letter-spacing: .08em; margin-bottom: 6px; }
.neighbor { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; border: 1px solid var(--line); background: #fff; padding: 48px 52px; }
.neighbor svg { width: 100%; height: auto; }
.since { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; justify-content: space-between; }
.since .yr { font-family: var(--serif); font-size: clamp(40px, 4vw + 10px, 76px); color: var(--ink); letter-spacing: .04em; line-height: 1.1; }
.since .yr small { display: block; font-size: 13px; color: var(--red); letter-spacing: .24em; font-family: var(--sans); font-weight: 700; margin-bottom: 8px; }

/* ---------- 対応工事 ---------- */
.anchor-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid #ecebe8; }
.anchor-bar ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.anchor-bar a { position: relative; display: block; padding: 16px 22px; font-size: 13px; letter-spacing: .08em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.anchor-bar a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 8px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.anchor-bar a:hover::after, .anchor-bar a:focus-visible::after { transform: scaleX(1); }
.priority { display: inline-block; background: var(--red); color: #fff; font-size: 11px; letter-spacing: .16em; padding: 2px 10px; margin-left: 12px; vertical-align: 6px; font-family: var(--sans); font-weight: 700; }
.ext-feature { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; margin-top: 64px; }
.ext-feature .photo { aspect-ratio: 3 / 2; }
.ext-rows { margin-top: 72px; display: grid; gap: 64px; }
.ext-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.ext-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ext-row:nth-child(even) .photo { order: 2; }
.ext-row .photo { aspect-ratio: 3 / 2; }
.ext-row h3, .ext-feature h3 { font-size: 21px; letter-spacing: .1em; line-height: 1.6; }
.ext-row p, .ext-feature p { margin-top: 14px; font-size: 14px; }
.kicker { display: block; font-family: var(--serif); color: var(--red); font-size: 13px; letter-spacing: .2em; margin-bottom: 6px; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 18px; margin-top: 60px; }
.mosaic .m-main { grid-column: 1 / 3; grid-row: 1 / 3; }
.mosaic .m-main .photo { aspect-ratio: 4 / 3; }
.mosaic .photo { aspect-ratio: 3 / 2; }
.mosaic h3 { font-size: 16px; letter-spacing: .1em; margin-top: 12px; }
.mosaic p { font-size: 13px; margin: 4px 0 0; }
.mosaic-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.chips li { border: 1px solid var(--line-strong); padding: 8px 18px; font-size: 13.5px; color: var(--ink); letter-spacing: .06em; background: #fff; }
.biz-block { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0; margin-top: 60px; background: var(--footer); color: #e8e5e0; }
.biz-block .photo { aspect-ratio: auto; min-height: 100%; }
.biz-block .photo img { min-height: 360px; }
.biz-block .txt { padding: 56px 52px; }
.biz-block h3 { color: #fff; font-size: 20px; letter-spacing: .1em; }
.biz-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid #3a3a3a; }
.biz-list li { padding: 18px 0; border-bottom: 1px solid #3a3a3a; font-size: 14px; color: #fff; }
.biz-list li small { display: block; color: #b9b5ae; font-size: 12px; margin-top: 2px; }
.estimate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; border-top: 3px solid var(--red); background: #fff; padding: 40px 44px; margin-top: 64px; box-shadow: 0 1px 0 var(--line); }
.estimate h3 { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; }
.estimate p { margin: 8px 0 0; font-size: 14px; }

/* ---------- 施工事例 ---------- */
.diptych { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; }
.diptych .d2 { margin-bottom: -64px; }
.diptych .photo { aspect-ratio: 4 / 3; }
.diptych .d2 .photo { aspect-ratio: 4 / 5; }
.blog-slot { margin-top: 120px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--line-strong); padding-top: 40px; }
.blog-slot .lbl { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--red); }
.blog-slot .frame { border: 1px solid var(--line); background: #fff; padding: 44px 40px; }
.blog-slot .frame h2 { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; }
.blog-slot .frame p { margin: 12px 0 0; font-size: 14px; }

/* ---------- 求人 ---------- */
.recruit-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; align-items: stretch; }
.recruit-intro .photo { aspect-ratio: auto; height: 100%; }
.recruit-intro .photo img { min-height: 420px; }
.recruit-intro .txt { background: var(--bg-alt); padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; }
.status-line { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 16px 20px; background: #fff; border-left: 3px solid var(--red); font-size: 14px; color: var(--ink); }
.status-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--red); flex: none; }
.work-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.work-fields .photo { aspect-ratio: 3 / 2; }
.work-fields ol { list-style: none; counter-reset: f; margin: 28px 0 0; padding: 0; }
.work-fields ol > li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.work-fields ol > li::before { content: counter(f, decimal-leading-zero); font-family: var(--serif); color: var(--red); }

/* ---------- 会社概要 ---------- */
.locality .photo { aspect-ratio: 1440 / 560; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.co-grid .co-table { margin-top: 0; }
.name-origin { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); padding: 36px 32px 34px; text-align: center; background: #fff; }
.name-origin .glyph { font-family: var(--serif); font-size: 120px; line-height: 1.1; color: var(--ink); display: block; }
.name-origin .ruby { display: block; font-size: 12px; letter-spacing: .5em; color: var(--red); font-weight: 700; margin-top: 8px; padding-left: .5em; }
.name-origin p { font-size: 13.5px; margin: 20px 0 0; text-align: left; }
.addr-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 64px; padding: 36px 40px; background: var(--bg-alt); }
.addr-card svg { width: 100%; height: auto; }
.addr-card address { font-style: normal; color: var(--ink); line-height: 2; }

/* ---------- 代表挨拶 ---------- */
.letter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.letter .photo { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--header-h) + 24px); }
.letter .body { border-left: 1px solid var(--line); padding-left: 56px; position: relative; }
.letter .body::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 120px; background: var(--red); }
.letter .body p { line-height: 2.3; margin-top: 24px; }
.letter .origin { margin-top: 36px; padding: 26px 30px; background: var(--bg-alt); font-size: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; }
.letter .origin > span { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--ink); text-align: center; }
.letter .origin p { margin: 0; line-height: 2; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.faq-index { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-index ol { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--line-strong); }
.faq-index li a { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13.5px; color: var(--ink); transition: color .2s, padding .25s; }
.faq-index li a::before { content: counter(c, decimal-leading-zero); color: var(--red); font-family: var(--serif); }
.faq-index li a:hover { color: var(--red); padding-left: 6px; }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { font-family: var(--serif); font-size: 22px; letter-spacing: .08em; }
.faq-group .faq { margin-top: 24px; max-width: none; }
.faq details[open] summary { color: var(--red); }
.faq summary:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.faq-hero .photo { aspect-ratio: 4 / 3; }

/* ---------- お問い合わせ ---------- */
.contact-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: stretch; }
.tel-hero { background: var(--red); color: #fff; padding: 52px 52px 46px; text-decoration: none; display: block; transition: background .25s, transform .25s; }
.tel-hero:hover { background: var(--red-dark); }
.tel-hero .label { font-size: 12px; letter-spacing: .24em; }
.tel-hero .num { display: block; font-size: clamp(32px, 3vw + 14px, 56px); font-weight: 700; letter-spacing: .03em; line-height: 1.3; margin: 10px 0 8px; }
.tel-hero small { display: block; font-size: 13px; line-height: 1.8; }
.side-info { display: grid; gap: 16px; align-content: start; }
.info-row { border: 1px solid var(--line); padding: 22px 26px; background: #fff; }
.info-row .k { display: block; font-size: 11.5px; letter-spacing: .2em; color: var(--red); font-weight: 700; }
.info-row .v { display: block; font-size: 20px; color: var(--ink); font-weight: 700; letter-spacing: .04em; margin-top: 4px; }
.info-row p { margin: 6px 0 0; font-size: 13px; }
.info-row--notice { background: var(--bg-alt); border-color: transparent; }
.contact-visual .photo { aspect-ratio: 16 / 9; }
.form-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.form-wrap .photo { aspect-ratio: 3 / 4; position: sticky; top: calc(var(--header-h) + 24px); }
.form-wrap .form { margin-top: 0; }
.form input[type=text], .form input[type=tel], .form textarea { transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { border-color: var(--red); box-shadow: 0 2px 0 var(--red); outline: none; }

/* ---------- 補足ページの線画 ---------- */
.lineart { display: block; width: 100%; max-width: 360px; height: auto; color: var(--ink); }
.lineart .acc { stroke: var(--red); }
.head-art { display: grid; place-items: center; padding: 8px; }
.news-board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.news-empty { border-top: 1px solid var(--line-strong); }
.news-empty p { padding: 28px 4px; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
.purpose { border: 1px solid var(--line); padding: 26px 28px; background: var(--bg-alt); font-size: 13.5px; }
.purpose h2 { font-size: 14px; letter-spacing: .1em; font-family: var(--sans); font-weight: 700; margin-bottom: 8px; }
.tree { position: relative; margin-top: 56px; }
.tree-root { display: inline-block; border: 1px solid var(--ink); padding: 10px 24px; font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; background: #fff; }
.tree-branches { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--line-strong); margin-left: 20px; }
.tree-branches > li { position: relative; padding: 22px 0 0 28px; }
.tree-branches > li::before { content: ""; position: absolute; left: -28px; top: 40px; width: 48px; border-top: 1px solid var(--line-strong); transform-origin: left; }
.tree-branches h2 { font-size: 12px; letter-spacing: .22em; color: var(--red); font-family: var(--sans); font-weight: 700; }
.tree-branches ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tree-branches ul a { display: inline-block; border: 1px solid var(--line); background: #fff; padding: 10px 18px; font-size: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, color .2s; }
.tree-branches ul a:hover { border-color: var(--red); color: var(--red); }
.tree-branches ul a small { display: block; font-size: 11.5px; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-layout .lineart { position: sticky; top: calc(var(--header-h) + 24px); max-width: 200px; }
.nf { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }

/* ---------- 動き（既定はすべて可視） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes draw { from { stroke-dashoffset: var(--len, 600); } to { stroke-dashoffset: 0; } }
  .lineart .draw { stroke-dasharray: var(--len, 600); animation: draw 2.2s cubic-bezier(.4,.1,.2,1) .2s both; }
  .lineart .draw.d2 { animation-delay: .6s; }
  .lineart .draw.d3 { animation-delay: 1s; }
  @keyframes branch { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .tree-branches > li::before { animation: branch .6s ease both; }
  .tree-branches > li:nth-child(2)::before { animation-delay: .15s; }
  .tree-branches > li:nth-child(3)::before { animation-delay: .3s; }

  @supports (animation-timeline: view()) {
    /* こだわり：写真が下から開く */
    @keyframes unclip { from { clip-path: inset(0 0 22% 0); } to { clip-path: inset(0 0 0 0); } }
    .reveal-clip img { animation: unclip linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    /* 対応工事：行が横から寄る */
    @keyframes slide { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
    .ext-row .photo { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .ext-row:nth-child(even) .photo { animation-name: slide-r; }
    @keyframes slide-r { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
    /* 施工事例：2枚がずれて重なる */
    @keyframes rise2 { from { transform: translateY(48px); } to { transform: none; } }
    .diptych .d2 { animation: rise2 linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    /* 代表挨拶：赤い罫が本文に沿って伸びる */
    @keyframes grow { from { height: 40px; } to { height: 100%; } }
    .letter .body::before { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% exit 60%; }
    /* 会社概要：「倭」の字がにじみ出る */
    @keyframes ink { from { letter-spacing: .3em; color: #cfc9c0; } to { letter-spacing: 0; color: var(--ink); } }
    .name-origin .glyph { animation: ink linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    /* こだわり：大きな数字がゆっくり濃くなる */
    @keyframes numfade { from { color: #f6f4f0; } to { color: #e6e0d8; } }
    .chapter .bignum { animation: numfade linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
  /* FAQ：開閉の反応（対応ブラウザのみ高さを補間） */
  @supports (interpolate-size: allow-keywords) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
  .tel-hero:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .lineart .draw, .tree-branches > li::before, .reveal-clip img, .ext-row .photo, .diptych .d2, .letter .body::before, .name-origin .glyph, .chapter .bignum { animation: none !important; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .chapter { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .chapter .bignum { font-size: 80px; }
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .co-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
}
@media (max-width: 900px) {
  .page-head--split .wrap, .chapter, .chapter--wide, .ext-feature, .ext-row, .ext-row:nth-child(even), .biz-block, .estimate, .diptych, .blog-slot, .recruit-intro, .work-fields, .co-grid, .letter, .faq-layout, .contact-main, .form-wrap, .news-board, .legal-layout, .nf, .neighbor, .addr-card { grid-template-columns: minmax(0, 1fr); }
  .page-head--split .wrap { gap: 32px; }
  .chapter { gap: 24px; }
  .chapter .bignum { font-size: 64px; }
  .chapter .photo { aspect-ratio: 3 / 2; }
  .ext-row:nth-child(even) .photo { order: 0; }
  .chapter-hero .panel { margin: -48px 16px 0; width: auto; padding: 36px 28px; }
  .chapter-hero .photo { aspect-ratio: 16 / 10; }
  .consider { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .m-main { grid-column: 1 / -1; grid-row: auto; }
  .mosaic-wide { grid-template-columns: 1fr; }
  .diptych .d2 { margin-bottom: 0; width: 72%; margin-left: auto; margin-top: -40px; }
  .blog-slot { gap: 16px; margin-top: 72px; }
  .recruit-intro .photo img { min-height: 0; }
  .recruit-intro .photo { aspect-ratio: 3 / 2; height: auto; }
  .recruit-intro .txt { padding: 44px 28px; }
  .name-origin, .faq-index, .legal-layout .lineart { position: static; }
  .letter .photo, .form-wrap .photo { position: relative; top: auto; }
  .letter { gap: 40px; }
  .letter .photo { aspect-ratio: 3 / 2; }
  .letter .body { padding-left: 28px; }
  .form-wrap .photo { aspect-ratio: 16 / 9; }
  .biz-block .photo img { min-height: 0; }
  .biz-block .photo { aspect-ratio: 3 / 2; }
  .estimate { gap: 20px; }
  .neighbor { padding: 36px 28px; gap: 24px; }
  .neighbor svg { max-width: 180px; }
  .addr-card svg { max-width: 120px; }
  .head-art .lineart { max-width: 240px; }
  .legal-layout .lineart { max-width: 160px; }
  .nf .lineart { max-width: 240px; }
}
@media (max-width: 640px) {
  .chapter-hero .panel { margin: -32px 0 0; padding: 30px 20px; }
  .biz-block .txt { padding: 36px 22px; }
  .estimate { padding: 30px 22px; }
  .estimate .btn { width: 100%; }
  .blog-slot .frame { padding: 30px 22px; }
  .mosaic { grid-template-columns: 1fr; }
  .tel-hero { padding: 36px 24px; }
  .tel-hero .num { font-size: 32px; }
  .info-row { padding: 20px 20px; }
  .letter .origin { grid-template-columns: 48px 1fr; padding: 22px 18px; gap: 14px; }
  .letter .origin > span { font-size: 40px; }
  .letter .body { padding-left: 18px; }
  .name-origin .glyph { font-size: 96px; }
  .anchor-bar a { padding: 14px 14px; font-size: 12.5px; }
  .anchor-bar a::after { left: 14px; right: 14px; }
  .tree-branches { padding-left: 14px; margin-left: 12px; }
  .tree-branches > li { padding-left: 16px; }
  .tree-branches > li::before { left: -14px; width: 26px; }
  .addr-card { padding: 28px 22px; }
  .neighbor { padding: 28px 20px; }
}
@media (max-width: 360px) {
  .tel-hero .num { font-size: 28px; }
  .priority { margin-left: 6px; }
  .info-row .v { font-size: 18px; }
}
.photo .img-wait { position: absolute; inset: 0; min-height: 0; }
main { overflow-x: clip; }
@media (min-width: 901px) { .recruit-intro .photo:has(.img-wait), .letter .photo:has(.img-wait) { min-height: 420px; } }

.img-wait span { overflow-wrap: anywhere; max-width: 100%; }
.consider li, .work-fields ol > li, .biz-list li, .chips li, .info-row p, .tel-hero small, .co-list li { text-wrap: balance; }
.co-list { list-style: none; margin: 6px 0 0; padding: 0; }
.co-list li { position: relative; padding-left: 16px; line-height: 1.9; }
.co-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--red); }
@media (max-width: 640px) {
  .since .yr { font-size: 30px; }
  .tel-hero small { font-size: 12.5px; }
}
.head-art .photo { width: 100%; }

/* こだわり：考える範囲は「見出し｜内容」の行組みにして語の途中で切れないように */
.consider { grid-template-columns: 1fr; }
.consider li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.consider li b { margin: 0; }
@media (max-width: 360px) { .consider li { grid-template-columns: 1fr; gap: 2px; } }
/* カタカナ語を語の途中で折り返さない（生成時に自動で付与） */
.kw { white-space: nowrap; }
.mnav-panel .sub a { white-space: nowrap; }

/* ---------- 画像到着後の構成調整（各画像の縦横比に合わせる） ---------- */
/* こだわり01：縦長の写真＋重なるパネル（写真を原寸以上に引き伸ばさない） */
.chapter-hero { padding: 40px 0 0; }
.chapter-hero .ch1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.chapter-hero .ch1 .photo { aspect-ratio: 4 / 5; max-width: 520px; }
.chapter-hero .ch1 .panel { margin: 0 0 0 -72px; width: auto; position: relative; z-index: 1; }
/* こだわり02：横長の写真 */
.chapter { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.chapter .photo { aspect-ratio: 3 / 2; }
/* 会社概要：地域の写真と対応エリア */
.locality { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.locality .photo { aspect-ratio: 3 / 2; max-width: 900px; }
/* 求人：縦長の資材写真 */
.work-fields .photo { aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; }
/* 施工事例・FAQ・問い合わせ */
.diptych .d1 .photo { aspect-ratio: 3 / 2; }
.contact-visual .photo { aspect-ratio: 3 / 2; }
.faq-hero .photo, .head-art .photo { max-width: 420px; }
/* 対応工事：そのほかの外まわり */
.more-ext { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; margin-top: 72px; padding: 40px 44px; background: var(--bg-alt); border-left: 3px solid var(--red); }
.more-ext h3 { font-size: 19px; letter-spacing: .1em; line-height: 1.6; }
.more-ext p { margin-top: 12px; font-size: 14px; }
.more-ext .chips { margin: 0; }
@media (max-width: 900px) {
  .chapter-hero .ch1, .locality, .more-ext { grid-template-columns: minmax(0, 1fr); }
  .chapter-hero .ch1 .photo { max-width: 420px; }
  .chapter-hero .ch1 .panel { margin: -56px 0 0 24px; }
  .chapter { grid-template-columns: minmax(0, 1fr); }
  .locality { gap: 32px; }
  .work-fields .photo { justify-self: start; max-width: 420px; }
  .more-ext { gap: 20px; padding: 32px 24px; }
}
@media (max-width: 640px) {
  .chapter-hero .ch1 .panel { margin: -40px 0 0 12px; }
  .chapter-hero .ch1 .photo { max-width: 86%; }
  .more-ext { padding: 28px 20px; }
}
/* スマホメニュー：左右とも画面内に収める */
.mnav-panel { width: min(calc(100vw - var(--gutter) * 2), 360px); }
/* スマホでは横スライドをやめ、薄いフェードだけにする（画面端で写真が切れないように） */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes fadein-m { from { opacity: .4; } to { opacity: 1; } }
    .ext-row .photo, .ext-row:nth-child(even) .photo { animation-name: fadein-m; }
  }
}

/* =====================================================================
   v3 追加：2つの電話番号／フォーム準備中／LINE公式アカウント準備中
   ===================================================================== */
/* 電話カード：ブロック全体ではなく番号ごとのリンクにした（押せる場所を明確に） */
.c-card--tel { cursor: default; }
.c-card--tel:hover { background: var(--red); }
.tel-lines { margin: 14px 0 0; display: grid; gap: 10px; }
.tel-lines > div { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); align-items: baseline; gap: 10px; }
.tel-lines dt { font-size: 12px; letter-spacing: .14em; font-weight: 700; }
.tel-lines dd { margin: 0; }
.tel-lines a { font-weight: 700; letter-spacing: .03em; text-decoration: none; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.c-card--tel .tel-lines a { color: #fff; font-size: clamp(22px, 1.4vw + 12px, 30px); }
.c-card--tel .tel-lines dt { color: #f3d9d7; }
.c-card--tel small { color: #fbe9e8; }
.tel-lines a:hover { opacity: .85; }
.tel-lines a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.contact-cards--3 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); }
.c-card--form { background: #fff; }
.prep { display: inline-block; margin-left: 10px; padding: 1px 9px; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--red-dark); background: #f6efdc; border: 1px solid #e6d7ad; vertical-align: 1px; line-height: 1.7; }
.prep--lg { font-size: 13px; margin-left: 14px; vertical-align: 6px; font-family: var(--sans); }
.form-prep-text { margin: 12px 0 14px; font-size: 13.5px; line-height: 1.9; color: var(--text); }

/* お問い合わせ：大きな電話ブロック（div。番号ごとにリンク） */
.tel-hero { cursor: default; }
.tel-hero:hover { background: var(--red); transform: none; }
.tel-lines--hero { margin: 16px 0 14px; gap: 14px; }
.tel-lines--hero > div { grid-template-columns: 7.5em minmax(0, 1fr); }
.tel-lines--hero dt { color: #f3d9d7; font-size: 13px; }
.tel-lines--hero a { color: #fff; font-size: clamp(28px, 2.4vw + 12px, 46px); }

/* お問い合わせフォーム 準備中（入力欄なし） */
.form-prep { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.form-prep .photo { aspect-ratio: 4 / 5; max-width: 420px; }
.alt-contact { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 10px 20px; align-items: baseline; margin: 28px 0 20px; padding: 26px 28px; background: #fff; border-left: 3px solid var(--red); }
.alt-contact .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.alt-contact .tel-lines { margin: 0; }
.alt-contact .tel-lines a { color: var(--ink); font-size: 20px; }
.alt-contact .fax { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: .03em; }

/* 対応工事：見積りの電話ボタン2つ */
.est-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* スマホメニュー：担当者直通 */
.mnav-panel .tel-btn + .tel-btn { margin-top: 8px; }
.tel-btn--sub { border-color: var(--ink); color: var(--ink); }
.tel-btn--sub:hover { background: var(--ink); color: #fff; }

/* LINE公式アカウント 準備中：読みやすい緑の案内（リンク・ボタン風の形・矢印・ホバーなし） */
.line-banner { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 28px; padding: 24px 28px; background: #eaf6ee; border: 1px solid #bfe3cb; border-left: 4px solid #1f8a4c; color: #17432a; cursor: default; }
.line-banner .line-ico { width: 48px; height: 48px; color: #1f8a4c; }
.line-banner .lb-text { margin: 0; display: grid; gap: 4px; }
.line-banner .lb-title { font-weight: 700; font-size: 17px; letter-spacing: .08em; color: #12351f; }
.line-banner .lb-status { display: inline-block; margin-left: 12px; padding: 0 10px; font-size: 12px; letter-spacing: .14em; color: #1f6b3e; background: #fff; border: 1px solid #9fd1b0; vertical-align: 2px; line-height: 1.8; font-weight: 700; }
.line-banner .lb-desc { font-size: 13.5px; line-height: 1.9; color: #2d5a3e; }
.line-banner--live { text-decoration: none; cursor: pointer; }

@media (max-width: 1080px) {
  .contact-cards--3 { grid-template-columns: 1fr 1fr; }
  .contact-cards--3 .c-card--tel { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .contact-cards--3 { grid-template-columns: minmax(0, 1fr); }
  .form-prep { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .form-prep .photo { max-width: 360px; }
  .est-btns { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .tel-lines > div, .tel-lines--hero > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tel-lines--hero a { font-size: 30px; }
  .c-card--tel .tel-lines a { font-size: 26px; }
  .alt-contact { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 4px; }
  .alt-contact .k:not(:first-child) { margin-top: 12px; }
  .line-banner { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 18px; }
  .line-banner .line-ico { width: 38px; height: 38px; }
  .line-banner .lb-status { margin-left: 8px; }
  .est-btns .btn { width: 100%; }
  .prep--lg { margin-left: 8px; vertical-align: 4px; }
}
@media (max-width: 360px) {
  .tel-lines--hero a { font-size: 26px; }
  .c-card--tel .tel-lines a { font-size: 23px; }
}

/* =====================================================================
   v4 追加（公開中 v3 からの差分）
   ===================================================================== */

/* --- 日本語の改行：本文に anywhere をかけない（長い英数字だけ折り返す） --- */
body { overflow-wrap: break-word; }

/* --- CSSだけで文字・ボタンを不可視にする演出をすべて止める（初期表示で必ず読める） --- */
.hero .wrap > *, .page-head .wrap > *, .page-head--split .wrap > .head-text > * { animation: none; }
.reveal-clip img, .ext-row .photo, .ext-row:nth-child(even) .photo, .diptych .d2, .letter .body::before,
.name-origin .glyph, .chapter .bignum { animation: none !important; }

@media (prefers-reduced-motion: no-preference) {
  /* 線画は短く（450ms以内） */
  .lineart .draw { animation-duration: .45s; animation-delay: .05s; }
  .lineart .draw.d2 { animation-delay: .15s; }
  .lineart .draw.d3 { animation-delay: .25s; }
  .tree-branches > li::before { animation-duration: .35s; }

  /* ヒーロー：画像と見出しは初期HTMLのまま即表示。赤い罫線（装飾）だけ伸ばす */
  @keyframes v4-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .hero .rule, .page-head .rule { transform-origin: left center; animation: v4-rule .42s cubic-bezier(.2,.7,.2,1) .05s both; }
  /* 上に重ねる短いラベル：JS有効時のみ短く出現（JS無効では最初から表示） */
  @keyframes v4-label { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .motion .hero .eyebrow, .motion .page-head .eyebrow { animation: v4-label .32s ease-out .1s both; }

  /* 段階表示（JS＋IntersectionObserver時だけ .motion が付く。本文・CTAは対象外） */
  .motion [data-reveal="num"] { transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.2,1); }
  .motion [data-reveal="num"]:not(.is-in) { opacity: 0; transform: translateY(12px); }
  /* サービス：小見出し横の短い赤線が伸びる */
  .kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--red); transform-origin: left center; }
  .motion [data-reveal="line"] .kicker::after { transition: transform .4s cubic-bezier(.2,.7,.2,1) .08s; }
  .motion [data-reveal="line"]:not(.is-in) .kicker::after { transform: scaleX(0); }
  /* こだわり：章番号が横から入る */
  .motion [data-reveal="line"] .no { display: inline-block; transition: opacity .36s ease, transform .36s cubic-bezier(.2,.7,.2,1); }
  .motion [data-reveal="line"]:not(.is-in) .no { opacity: 0; transform: translateX(-10px); }
  /* 代表：本文左の赤い罫が上から伸びる／イラスト下の短い赤線 */
  .motion .letter .body[data-reveal]::before { transform-origin: top center; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
  .motion .letter .body[data-reveal]:not(.is-in)::before { transform: scaleY(0); }
  .motion .rep-figure::after { transition: transform .4s cubic-bezier(.2,.7,.2,1) .1s; }
  .motion .rep-figure:not(.is-in)::after { transform: scaleX(0); }
  /* 会社：「倭」の字 */
  .motion .name-origin .glyph { transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.2,1); }
  .motion .name-origin:not(.is-in) .glyph { opacity: 0; transform: translateY(10px); }
}
/* サービス等の写真：PCのみ、控えめにせり上がる（タッチ端末・スマホでは最初から表示） */
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
  .motion [data-reveal="photo"] img { transition: opacity .42s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
  .motion [data-reveal="photo"]:not(.is-in) img { opacity: 0; transform: translateY(16px); }
}
@media print { .motion [data-reveal] img, .motion [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* --- 誌面の節目：PC幅の余白に縦組みの側注（業務ページの章名）。装飾のみ --- */
.section--side { position: relative; }
@media (min-width: 1360px) {
  .section--side::before {
    content: attr(data-side); position: absolute; top: 112px; left: calc((100vw - 1180px) / 2 - 76px);
    writing-mode: vertical-rl; font-family: var(--serif); font-size: 12.5px; letter-spacing: .42em; color: #8f8980;
    padding-top: 52px; background: linear-gradient(var(--red), var(--red)) no-repeat top center / 1px 36px;
  }
  .section--side .h-sec { font-size: clamp(28px, 2.4vw + 12px, 44px); }
}

/* --- 対応工事：主写真を左端まで大きく（非対称）。PCのみ --- */
@media (min-width: 1081px) {
  .ext-feature--bleed { grid-template-columns: minmax(0, 8.4fr) minmax(0, 3.6fr); gap: 56px; align-items: center; }
  .ext-feature--bleed .photo { margin-left: calc((100vw - min(100vw - 80px, 1180px)) / -2); aspect-ratio: 16 / 10; }
}

/* --- 代表挨拶：支給イラスト（トリミング・引き伸ばしなし、上から下まで表示） --- */
.letter--rep { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.rep-figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.rep-figure img { display: block; width: 100%; height: auto; max-width: 1060px; }
.rep-figure::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--red); transform-origin: left center; }
.fav { margin-top: 18px; text-align: right; color: var(--ink); line-height: 1.8; }
.fav-k { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.fav-v { font-family: var(--serif); font-size: 20px; letter-spacing: .14em; white-space: nowrap; }
@media (max-width: 900px) {
  .letter--rep { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rep-figure { position: static; width: 100%; max-width: 440px; margin: 0 auto; }
}

/* --- お問い合わせフォーム（通常の見た目。未配信版は入力・送信できない） --- */
.form-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 26px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red); font-size: 14px; color: var(--ink); line-height: 1.8; }
.form-status .prep--lg { margin: 0; vertical-align: 0; }
.form-v4 { margin-top: 0; max-width: none; background: #fff; padding: 26px 30px 22px; border: 1px solid var(--line); }
.form-v4 .form-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-legend { padding: 0; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.form-v4 .row { grid-template-columns: 9.5em minmax(0, 1fr); padding: 16px 0; }
.form-v4 .row:first-of-type { border-top: 1px solid var(--line-strong); }
.form-v4 input:disabled, .form-v4 textarea:disabled { background: #f3f2ef; color: #8a857e; border-color: #dcd8d1; cursor: not-allowed; -webkit-text-fill-color: #8a857e; opacity: 1; }
.form-v4 textarea { min-height: 140px; }
.form-v4 .actions { margin-top: 22px; }
.form-privacy { margin: 14px 0 0; }
.form-prep { align-items: start; }
@media (max-width: 640px) {
  .form-v4 { padding: 20px 18px 18px; }
  .form-v4 .row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; }
  .form-status { padding: 12px 14px; }
}
.form-v4 input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcac2; background: #fff; color: var(--ink); border-radius: 0; letter-spacing: .04em; }
.form-v4 input[type=email]:disabled { background: #f3f2ef; color: #8a857e; border-color: #dcd8d1; cursor: not-allowed; }
/* 電話番号は途中で折り返さない */
a[href^="tel:"] { white-space: nowrap; }
