@charset "utf-8";
/* ===========================================================
   トータルビルド株式会社 新ホームページ 共通スタイル
   配色は「案2 白×ネイビー（設計図から実物へ）」を土台にしている
   =========================================================== */

:root{
  --navy:#06316f;
  --navy-d:#002565;
  --navy-l:#0a4a9e;
  --ink:#1c2230;
  --sub:#4c5566;
  --paper:#f4f7fb;
  --paper-d:#e9eef6;
  --line:#c8d3e3;
  --line-l:#e3e9f2;
  --white:#fff;
  --green:#5fb236;
  --hd-h:70px;
  --wrap:1160px;
  --serif:"Noto Serif JP","Yu Mincho","游明朝","Hiragino Mincho ProN",serif;
  --sans:"Noto Sans JP","Yu Gothic Medium","游ゴシック Medium",YuGothic,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
html,body{ margin:0; padding:0; }
body{
  font-family:var(--sans); font-size:15px; line-height:1.9; color:var(--ink);
  background:var(--white); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font:inherit; cursor:pointer; border:0; background:none; color:inherit; }
table{ border-collapse:collapse; width:100%; }
.serif{ font-family:var(--serif); }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.wrap{ width:min(var(--wrap), calc(100% - 48px)); margin:0 auto; }
.ic{ width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

/* -----------------------------------------------------------
   ヘッダー
   ----------------------------------------------------------- */
.hd{
  position:sticky; top:0; z-index:50; height:var(--hd-h);
  background:rgba(255,255,255,.96); backdrop-filter:blur(8px);
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.hd__in{ height:100%; display:flex; align-items:stretch; }
.hd__logo{ display:flex; align-items:center; padding:0 28px; }
.hd__logo img{ height:28px; width:auto; }
.hd__nav{ display:flex; align-items:center; gap:26px; margin-left:auto; padding:0 26px; }
.hd__nav a{ font-size:13.5px; font-weight:500; color:#2b3346; letter-spacing:.05em; position:relative; padding:6px 0; white-space:nowrap; }
.hd__nav a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--navy); transform:scaleX(0); transform-origin:left; transition:transform .25s; }
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after{ transform:scaleX(1); }
.hd__nav .hd__tel{ display:none; }
.hd__cta{
  display:flex; align-items:center; gap:10px; padding:0 30px;
  background:var(--navy); color:#fff; font-size:14px; font-weight:700; letter-spacing:.05em;
  transition:background .2s; white-space:nowrap;
}
.hd__cta:hover{ background:var(--navy-l); }
.hd__cta .ic{ width:19px; height:19px; }
.hd__menu{ display:none; width:56px; position:relative; }
.hd__menu span, .hd__menu span::before, .hd__menu span::after{
  content:""; position:absolute; left:16px; width:24px; height:2px; background:var(--navy); transition:transform .25s, opacity .2s;
}
.hd__menu span{ top:50%; margin-top:-1px; }
.hd__menu span::before{ left:0; top:-8px; }
.hd__menu span::after{ left:0; top:8px; }
.hd__menu[aria-expanded="true"] span{ background:transparent; }
.hd__menu[aria-expanded="true"] span::before{ transform:translateY(8px) rotate(45deg); }
.hd__menu[aria-expanded="true"] span::after{ transform:translateY(-8px) rotate(-45deg); }

/* -----------------------------------------------------------
   ヒーロー（トップ）… 案2 設計図から実物へ
   ----------------------------------------------------------- */
.hero{
  position:relative; display:flex; overflow:hidden;
  height:calc(100vh - var(--hd-h)); min-height:560px; max-height:860px;
  background:radial-gradient(120% 90% at 12% 20%, #ffffff 0%, #eef3fa 45%, #e4ecf7 100%);
  --tilt-x:0deg; --tilt-y:0deg;
}
.hero__vis{ width:58%; min-width:380px; position:relative; overflow:hidden; }
.bp{ position:absolute; inset:0; transform:perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.018); transition:transform .18s ease-out; }
.bp__layer{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 58%; }
.bp__layer--real{ clip-path:inset(0 100% 0 0); }
.bp__scan{
  position:absolute; top:0; bottom:0; left:0; width:2px; opacity:0;
  background:linear-gradient(180deg, rgba(6,49,111,0), #3f7fd6 18%, #9fd0ff 50%, #3f7fd6 82%, rgba(6,49,111,0));
  box-shadow:0 0 18px 4px rgba(80,150,235,.55);
}
.bp__draw{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.bp__draw path, .bp__draw line, .bp__draw rect{ fill:none; stroke:#2c5fa8; stroke-width:1; vector-effect:non-scaling-stroke; opacity:.75; }
.hero__vis::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,0) 72%, rgba(238,243,250,.85) 92%, #eef3fa 100%);
}
.hero__copy{
  flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center;
  padding:0 clamp(28px,3.4vw,58px) 0 clamp(10px,1.6vw,28px); position:relative; z-index:2;
}
.hero__title{ margin:0 0 20px; display:flex; align-items:center; gap:18px; }
.hero__title b{ font-size:clamp(38px,4vw,62px); font-weight:600; letter-spacing:.06em; line-height:1.1; color:#171d29; white-space:nowrap; }
.hero__title b i{ font-style:normal; color:var(--navy-l); }
.hero__title .rule{ flex:1; height:1px; background:#9fb0cb; transform-origin:left; }
.hero__sub{ font-size:clamp(20px,1.85vw,29px); font-weight:400; letter-spacing:.22em; margin:0 0 22px; color:#232a38; }
.hero__lead{ font-size:13.5px; line-height:2.05; color:var(--sub); margin:0 0 30px; }
.svc{ display:flex; margin:0 0 32px; }
.svc__i{ flex:1; padding:0 6px; text-align:center; border-left:1px solid var(--line); }
.svc__i:first-child{ border-left:0; }
.svc__i .ic{ width:32px; height:32px; stroke:var(--navy); stroke-width:1.4; margin:0 auto 9px; }
.svc__i p{ font-size:10.5px; font-weight:500; line-height:1.7; color:#2b3346; white-space:nowrap; }
.hero__scroll{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%); z-index:3;
  font-size:10px; letter-spacing:.3em; color:#6b7890; display:flex; flex-direction:column; align-items:center; gap:6px;
}
.hero__scroll::after{ content:""; width:1px; height:34px; background:linear-gradient(#6b7890, transparent); animation:scrollHint 1.8s infinite; }
@keyframes scrollHint{ 0%{ transform:scaleY(0); transform-origin:top; } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* 動き */
.hero.play .bp__layer--real{ animation:reveal 13s .9s infinite cubic-bezier(.45,.05,.3,1); }
.hero.play .bp__scan{ animation:scan 13s .9s infinite cubic-bezier(.45,.05,.3,1); }
.hero.play .bp__draw path, .hero.play .bp__draw line, .hero.play .bp__draw rect{ stroke-dasharray:1400; stroke-dashoffset:1400; animation:draw 13s .3s infinite linear; }
@keyframes reveal{ 0%,6%{ clip-path:inset(0 100% 0 0); opacity:1; } 46%,86%{ clip-path:inset(0 0% 0 0); opacity:1; } 95%,100%{ clip-path:inset(0 0% 0 0); opacity:0; } }
@keyframes scan{ 0%,6%{ left:0; opacity:0; } 10%{ opacity:1; } 46%{ left:100%; opacity:1; } 52%,100%{ left:100%; opacity:0; } }
@keyframes draw{ 0%{ stroke-dashoffset:1400; opacity:0; } 4%{ opacity:.75; } 22%{ stroke-dashoffset:0; opacity:.75; } 40%{ opacity:.35; } 50%,100%{ stroke-dashoffset:0; opacity:0; } }
.hero .anim{ opacity:0; }
.hero.play .hero__title{ animation:riseIn .9s .35s both cubic-bezier(.2,.7,.3,1); }
.hero.play .hero__title .rule{ animation:ruleIn 1s .9s both cubic-bezier(.2,.7,.3,1); }
.hero.play .hero__sub{ animation:riseIn .9s .55s both cubic-bezier(.2,.7,.3,1); }
.hero.play .hero__lead{ animation:riseIn .9s .72s both cubic-bezier(.2,.7,.3,1); }
.hero.play .svc__i{ animation:riseIn .8s both cubic-bezier(.2,.7,.3,1); }
.hero.play .svc__i:nth-child(1){ animation-delay:.88s; } .hero.play .svc__i:nth-child(2){ animation-delay:.96s; }
.hero.play .svc__i:nth-child(3){ animation-delay:1.04s; } .hero.play .svc__i:nth-child(4){ animation-delay:1.12s; }
.hero.play .svc__i:nth-child(5){ animation-delay:1.20s; }
.hero.play .hero__btns .btn:nth-child(1){ animation:riseIn .8s 1.32s both cubic-bezier(.2,.7,.3,1); }
.hero.play .hero__btns .btn:nth-child(2){ animation:riseIn .8s 1.42s both cubic-bezier(.2,.7,.3,1); }
@keyframes riseIn{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
@keyframes ruleIn{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }

/* -----------------------------------------------------------
   ボタン
   ----------------------------------------------------------- */
.btns{ display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:space-between; gap:16px;
  min-width:212px; padding:15px 22px; font-size:14px; font-weight:700; letter-spacing:.06em; line-height:1.4;
  transition:transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; flex:none; }
.btn--fill{ background:var(--navy); color:#fff; }
.btn--fill:hover{ background:var(--navy-l); transform:translateY(-2px); }
.btn--line{ border:1px solid var(--navy); color:var(--navy); background:#fff; }
.btn--line:hover{ background:var(--navy); color:#fff; transform:translateY(-2px); }
.btn--white{ background:#fff; color:var(--navy); }
.btn--white:hover{ background:var(--paper); transform:translateY(-2px); }
.btn--sm{ min-width:0; padding:11px 18px; font-size:13px; }
.btn--center{ justify-content:center; }

/* -----------------------------------------------------------
   セクション共通
   ----------------------------------------------------------- */
.sec{ padding:clamp(64px,8vw,110px) 0; }
.sec--paper{ background:var(--paper); }
.sec--navy{ background:linear-gradient(135deg, var(--navy-d), var(--navy) 60%, #0b4a9c); color:#fff; }
.sec__head{ margin-bottom:clamp(32px,4vw,52px); }
.sec__head--center{ text-align:center; }
.eyebrow{ font-size:11.5px; letter-spacing:.32em; color:var(--navy-l); font-weight:700; margin-bottom:10px; }
.sec--navy .eyebrow{ color:#a9c6f0; }
.sec__ttl{ font-size:clamp(26px,3vw,36px); font-weight:600; letter-spacing:.08em; line-height:1.35; }
.sec__lead{ margin-top:16px; color:var(--sub); max-width:720px; }
.sec__head--center .sec__lead{ margin-left:auto; margin-right:auto; }
.sec--navy .sec__lead{ color:#d6e2f5; }
.sec__more{ margin-top:40px; display:flex; justify-content:center; }

/* 出現アニメーション */
.rv{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .rv{ opacity:1; transform:none; transition:none; } }

/* -----------------------------------------------------------
   トップ：お知らせ帯
   ----------------------------------------------------------- */
.ticker{ background:#fff; border-bottom:1px solid var(--line-l); }
.ticker__in{ display:flex; align-items:center; gap:22px; min-height:58px; }
.ticker__label{ font-size:12px; font-weight:700; letter-spacing:.2em; color:var(--navy); white-space:nowrap; }
.ticker__list{ display:flex; gap:28px; flex:1; min-width:0; overflow:hidden; }
.ticker__list li{ display:flex; gap:14px; align-items:baseline; white-space:nowrap; font-size:13.5px; }
.ticker__list time{ color:var(--sub); font-size:12.5px; font-variant-numeric:tabular-nums; }
.ticker__list a:hover{ text-decoration:underline; }
.ticker__more{ font-size:12.5px; color:var(--navy); white-space:nowrap; font-weight:500; }
.ticker__more:hover{ text-decoration:underline; }

/* -----------------------------------------------------------
   トップ：事業内容 2カード
   ----------------------------------------------------------- */
.biz{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.biz__card{ background:#fff; border:1px solid var(--line-l); display:flex; flex-direction:column; box-shadow:0 10px 30px rgba(6,49,111,.06); }
.biz__img{ aspect-ratio:16/9; overflow:hidden; background:var(--paper-d); }
.biz__img img{ width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.biz__card:hover .biz__img img{ transform:scale(1.04); }
.biz__body{ padding:30px 32px 34px; display:flex; flex-direction:column; flex:1; }
.biz__en{ font-size:11px; letter-spacing:.28em; color:var(--navy-l); font-weight:700; }
.biz__ttl{ font-size:26px; font-weight:600; letter-spacing:.08em; margin:6px 0 12px; }
.biz__to{ font-weight:700; color:var(--navy); margin-bottom:6px; }
.biz__txt{ color:var(--sub); margin-bottom:16px; }
.checks{ display:grid; grid-template-columns:1fr 1fr; gap:6px 14px; margin-bottom:24px; }
.checks li{ position:relative; padding-left:22px; font-size:14px; }
.checks li::before{ content:""; position:absolute; left:0; top:.55em; width:12px; height:7px; border-left:2px solid var(--navy-l); border-bottom:2px solid var(--navy-l); transform:rotate(-45deg); }
.biz__body .btns{ margin-top:auto; }
.biz__body .btn{ min-width:0; flex:1; }

/* -----------------------------------------------------------
   リフォームの種類（4分類）
   ----------------------------------------------------------- */
.kinds{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.kind{ background:#fff; border:1px solid var(--line-l); padding:26px 22px; text-align:center; }
.kind .ic{ width:40px; height:40px; stroke:var(--navy); stroke-width:1.3; margin:0 auto 12px; }
.kind__ttl{ font-size:17px; font-weight:700; letter-spacing:.06em; margin-bottom:6px; }
.kind__txt{ font-size:13px; color:var(--sub); line-height:1.8; }

/* -----------------------------------------------------------
   選ばれる理由
   ----------------------------------------------------------- */
.why{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why__i{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); padding:32px 28px; }
.why__num{ font-family:var(--serif); font-size:13px; letter-spacing:.2em; color:#a9c6f0; margin-bottom:12px; }
.why__ttl{ font-size:21px; font-weight:600; letter-spacing:.06em; margin-bottom:12px; }
.why__txt{ font-size:14px; color:#d6e2f5; }

/* -----------------------------------------------------------
   ビフォー／アフター カード（事例）
   ----------------------------------------------------------- */
.cases{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.case{ background:#fff; border:1px solid var(--line-l); display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
.case:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(6,49,111,.12); }
.ba{ display:grid; grid-template-columns:1fr 26px 1fr; align-items:center; background:var(--paper-d); }
.ba__img{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.ba__img img{ width:100%; height:100%; object-fit:cover; }
.ba__img::after{
  content:attr(data-label); position:absolute; left:8px; top:8px; padding:3px 9px;
  font-size:10.5px; font-weight:700; letter-spacing:.14em; color:#fff; background:rgba(28,34,48,.8);
}
.ba__img--after::after{ background:var(--navy); }
.ba__arrow{ display:flex; justify-content:center; color:var(--navy); }
.ba__arrow svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.case__body{ padding:16px 18px 18px; }
.case__cat{ font-size:11px; letter-spacing:.14em; color:var(--navy-l); font-weight:700; }
.case__ttl{ font-size:16px; font-weight:700; margin-top:4px; line-height:1.5; }
.case__date{ font-size:12px; color:var(--sub); margin-top:4px; }

/* 事例一覧：絞り込みタブ */
.tabs{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:36px; }
.tab{ padding:9px 18px; border:1px solid var(--line); border-radius:999px; font-size:13px; font-weight:500; background:#fff; transition:background .2s, color .2s, border-color .2s; }
.tab:hover{ border-color:var(--navy); color:var(--navy); }
.tab[aria-pressed="true"]{ background:var(--navy); color:#fff; border-color:var(--navy); }
.case[hidden]{ display:none; }

/* 事例詳細 */
.pair{ display:grid; grid-template-columns:1fr 44px 1fr; align-items:center; gap:0; margin-bottom:28px; }
.pair figure{ background:var(--paper-d); border:1px solid var(--line-l); }
.pair img{ width:100%; height:auto; max-height:520px; object-fit:contain; background:#fff; }
.pair figcaption{ padding:8px 12px; font-size:12px; font-weight:700; letter-spacing:.14em; color:var(--sub); }
.pair figure.after figcaption{ color:var(--navy); }
.pair__arrow{ display:flex; justify-content:center; color:var(--navy); }
.pair__arrow svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:2; }
.pair--single{ grid-template-columns:minmax(0,560px); justify-content:center; }

/* -----------------------------------------------------------
   お知らせ一覧
   ----------------------------------------------------------- */
.news{ border-top:1px solid var(--line-l); }
.news li{ border-bottom:1px solid var(--line-l); }
.news a{ display:flex; gap:26px; align-items:baseline; padding:18px 6px; transition:background .2s; }
.news a:hover{ background:var(--paper); }
.news time{ font-size:13px; color:var(--sub); font-variant-numeric:tabular-nums; white-space:nowrap; }
.news .ttl{ font-weight:500; }
.post__body p{ margin-bottom:1em; }
.post__meta{ font-size:13px; color:var(--sub); margin-bottom:24px; }

/* -----------------------------------------------------------
   会社情報・表
   ----------------------------------------------------------- */
.tbl th, .tbl td{ padding:16px 18px; border-bottom:1px solid var(--line-l); vertical-align:top; text-align:left; font-size:14.5px; }
.tbl th{ width:180px; background:var(--paper); font-weight:700; color:var(--navy); white-space:nowrap; }
.tbl tr:first-child th, .tbl tr:first-child td{ border-top:1px solid var(--line-l); }
.tbl ul li{ position:relative; padding-left:14px; }
.tbl ul li::before{ content:""; position:absolute; left:0; top:.8em; width:6px; height:1px; background:var(--navy); }
.tbl--2col{ display:grid; grid-template-columns:1fr 1fr; gap:0 32px; }
.company{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:start; }
.map{ position:relative; aspect-ratio:4/3; background:var(--paper-d); border:1px solid var(--line-l); }
.map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.map__note{ font-size:12px; color:var(--sub); margin-top:8px; }

/* -----------------------------------------------------------
   物件
   ----------------------------------------------------------- */
.notice{ background:#fff; border:1px solid var(--line); border-left:4px solid var(--navy); padding:22px 26px; margin-bottom:40px; }
.notice__ttl{ font-weight:700; color:var(--navy); margin-bottom:4px; }
.notice__txt{ font-size:14px; color:var(--sub); }
.props{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.prop{ background:#fff; border:1px solid var(--line-l); display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
.prop:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(6,49,111,.12); }
.prop__img{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--paper-d); }
.prop__img img{ width:100%; height:100%; object-fit:cover; }
.prop__img .badge{ position:absolute; left:10px; top:10px; }
.badge{ display:inline-block; padding:4px 10px; font-size:11px; font-weight:700; letter-spacing:.12em; color:#fff; background:#6b7890; }
.badge--navy{ background:var(--navy); }
.prop__body{ padding:16px 18px 18px; }
.prop__ttl{ font-size:16px; font-weight:700; line-height:1.5; }
.prop__spec{ margin-top:8px; font-size:13px; color:var(--sub); display:grid; gap:2px; }
.prop__spec b{ color:var(--ink); font-weight:500; }
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:36px; }
.gallery figure{ background:var(--paper-d); border:1px solid var(--line-l); aspect-ratio:4/3; overflow:hidden; }
.gallery img{ width:100%; height:100%; object-fit:contain; background:#fff; }
.prop-head{ display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-bottom:22px; }
.prop-head .price{ font-size:22px; font-weight:700; color:var(--navy); }

/* -----------------------------------------------------------
   下層ページ共通：ページ見出し帯・パンくず
   ----------------------------------------------------------- */
.ph{
  position:relative; overflow:hidden; color:#fff; padding:clamp(54px,7vw,90px) 0;
  background:linear-gradient(120deg, var(--navy-d) 0%, var(--navy) 55%, #0b4a9c 100%);
}
.ph::before{
  content:""; position:absolute; inset:0; opacity:.18; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size:48px 48px; mask-image:linear-gradient(90deg, transparent 20%, #000 70%);
  -webkit-mask-image:linear-gradient(90deg, transparent 20%, #000 70%);
}
.ph__en{ font-size:12px; letter-spacing:.32em; color:#a9c6f0; font-weight:700; }
.ph__ttl{ font-size:clamp(28px,3.6vw,42px); font-weight:600; letter-spacing:.1em; line-height:1.3; margin-top:6px; }
.ph__lead{ margin-top:14px; color:#d6e2f5; max-width:680px; font-size:14.5px; }
.crumb{ background:var(--paper); border-bottom:1px solid var(--line-l); }
.crumb ol{ display:flex; flex-wrap:wrap; gap:6px 10px; padding:10px 0; font-size:12px; color:var(--sub); }
.crumb li+li::before{ content:"›"; margin-right:10px; color:#9fb0cb; }
.crumb a:hover{ text-decoration:underline; }

/* 本文系 */
.prose{ max-width:820px; }
.prose h2{ font-family:var(--serif); font-size:22px; font-weight:600; letter-spacing:.06em; margin:40px 0 14px; padding-left:14px; border-left:4px solid var(--navy); line-height:1.4; }
.prose h2:first-child{ margin-top:0; }
.prose h3{ font-size:17px; font-weight:700; margin:24px 0 8px; color:var(--navy); }
.prose p{ margin-bottom:1em; }
.prose ul{ margin:0 0 1.2em; }
.prose ul li{ position:relative; padding-left:18px; margin-bottom:4px; }
.prose ul li::before{ content:""; position:absolute; left:2px; top:.85em; width:6px; height:6px; border-radius:50%; background:var(--navy); }
.prose .date{ color:var(--sub); font-size:14px; margin-top:32px; }

/* 事業内容ページ */
.svcblk{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; margin-bottom:clamp(56px,7vw,90px); }
.svcblk:nth-child(even) .svcblk__img{ order:2; }
.svcblk__img{ aspect-ratio:4/3; overflow:hidden; background:var(--paper-d); border:1px solid var(--line-l); }
.svcblk__img img{ width:100%; height:100%; object-fit:cover; }
.svcblk__en{ font-size:11px; letter-spacing:.28em; color:var(--navy-l); font-weight:700; }
.svcblk__ttl{ font-size:28px; font-weight:600; letter-spacing:.08em; margin:6px 0 12px; }
.svcblk__txt{ color:var(--sub); margin-bottom:16px; }
.flow{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; counter-reset:flow; }
.flow__i{ background:#fff; border:1px solid var(--line-l); padding:22px 16px 20px; position:relative; }
.flow__i::before{ counter-increment:flow; content:"0" counter(flow); font-family:var(--serif); font-size:24px; color:var(--navy-l); display:block; margin-bottom:6px; line-height:1; }
.flow__i:not(:last-child)::after{ content:""; position:absolute; right:-10px; top:50%; width:8px; height:8px; border-top:1px solid var(--navy); border-right:1px solid var(--navy); transform:translateY(-50%) rotate(45deg); }
.flow__ttl{ font-weight:700; font-size:15px; margin-bottom:4px; }
.flow__txt{ font-size:12.5px; color:var(--sub); line-height:1.7; }

/* お問い合わせ */
.contact{ display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; align-items:start; }
.tel{ background:#fff; border:1px solid var(--line-l); padding:30px 32px; margin-bottom:20px; }
.tel__label{ font-size:12px; letter-spacing:.2em; color:var(--navy-l); font-weight:700; }
.tel__num{ display:block; font-family:var(--serif); font-size:36px; font-weight:600; letter-spacing:.04em; color:var(--navy); line-height:1.2; margin:6px 0 4px; }
.tel__num:hover{ text-decoration:underline; }
.tel__note{ font-size:13px; color:var(--sub); }
.tel dl{ display:grid; grid-template-columns:auto 1fr; gap:6px 16px; margin-top:16px; font-size:14px; }
.tel dt{ color:var(--sub); }
.tel dd{ margin:0; }
.form{ background:#fff; border:1px solid var(--line-l); padding:32px 34px; }
.form__row{ margin-bottom:18px; }
.form label{ display:block; font-weight:700; font-size:14px; margin-bottom:6px; }
.form label .req{ display:inline-block; margin-left:8px; padding:1px 7px; font-size:10.5px; font-weight:700; color:#fff; background:#c0392b; vertical-align:middle; }
.form input, .form select, .form textarea{
  width:100%; padding:12px 14px; font:inherit; font-size:15px; color:var(--ink);
  border:1px solid var(--line); background:var(--paper); border-radius:0; appearance:none; -webkit-appearance:none;
}
.form input:focus, .form select:focus, .form textarea:focus{ outline:2px solid var(--navy-l); outline-offset:0; background:#fff; }
.form textarea{ min-height:160px; resize:vertical; }
.form__note{ font-size:12.5px; color:var(--sub); margin:12px 0 18px; }
.form__note a{ text-decoration:underline; }
.form .btn{ width:100%; justify-content:center; }
.form__done{ margin-top:16px; padding:14px 16px; background:var(--paper); border-left:4px solid var(--green); font-size:14px; }

/* CTA帯 */
.cta{ background:linear-gradient(135deg, var(--navy-d), var(--navy) 60%, #0b4a9c); color:#fff; padding:clamp(48px,6vw,72px) 0; }
.cta__in{ display:flex; flex-wrap:wrap; gap:26px 40px; align-items:center; justify-content:space-between; }
.cta__ttl{ font-size:clamp(22px,2.6vw,30px); font-weight:600; letter-spacing:.08em; }
.cta__txt{ margin-top:8px; color:#d6e2f5; font-size:14px; }
.cta__tel{ display:flex; flex-direction:column; }
.cta__tel small{ font-size:11.5px; letter-spacing:.2em; color:#a9c6f0; font-weight:700; }
.cta__tel a{ font-family:var(--serif); font-size:34px; font-weight:600; letter-spacing:.04em; line-height:1.2; }
.cta__tel a:hover{ text-decoration:underline; }

/* -----------------------------------------------------------
   フッター
   ----------------------------------------------------------- */
.ft{ background:#111826; color:#c9d3e3; padding:56px 0 0; font-size:13.5px; }
.ft__in{ display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:40px; padding-bottom:44px; }
.ft__logo{ display:inline-block; background:#fff; padding:10px 14px; margin-bottom:18px; }
.ft__logo img{ height:24px; width:auto; }
.ft__name{ color:#fff; font-weight:700; font-size:15px; margin-bottom:6px; }
.ft address{ font-style:normal; line-height:1.9; }
.ft address a:hover{ text-decoration:underline; }
.ft__ttl{ color:#fff; font-weight:700; letter-spacing:.14em; font-size:12px; margin-bottom:12px; }
.ft__nav li{ margin-bottom:8px; }
.ft__nav a:hover{ color:#fff; text-decoration:underline; }
.ft__lic{ font-size:12px; line-height:1.8; color:#9aa7bb; }
.ft__btm{ border-top:1px solid rgba(255,255,255,.1); padding:16px 0; font-size:12px; color:#8a97ac; display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; }
.ft__btm a:hover{ color:#fff; text-decoration:underline; }
.totop{
  position:fixed; right:18px; bottom:18px; z-index:40; width:46px; height:46px;
  background:var(--navy); color:#fff; display:grid; place-items:center; box-shadow:0 8px 20px rgba(0,0,0,.2);
  opacity:0; pointer-events:none; transition:opacity .25s;
}
.totop.show{ opacity:1; pointer-events:auto; }
.totop svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; }

/* 404 */
.nf{ text-align:center; padding:clamp(64px,10vw,140px) 0; }
.nf__code{ font-family:var(--serif); font-size:64px; color:var(--navy); line-height:1; }
.nf__ttl{ font-size:20px; font-weight:700; margin:12px 0 8px; }

/* -----------------------------------------------------------
   レスポンシブ
   ----------------------------------------------------------- */
@media (max-width:1180px){
  .hd__nav{ gap:16px; padding:0 16px; }
  .hd__nav a{ font-size:12.5px; }
  .hero__vis{ width:50%; min-width:340px; }
  .hero__btns .btn{ min-width:0; flex:1; }
  .flow{ grid-template-columns:repeat(3,1fr); }
  .flow__i:nth-child(3)::after{ display:none; }
}
@media (max-width:1000px){
  .hd__nav{
    display:none; position:fixed; left:0; right:0; top:var(--hd-h); bottom:0; margin:0; padding:20px 24px;
    background:#fff; flex-direction:column; align-items:stretch; gap:0; overflow:auto; z-index:49;
  }
  .hd__nav.open{ display:flex; }
  .hd__nav a{ font-size:15px; padding:14px 4px; border-bottom:1px solid var(--line-l); }
  .hd__nav a::after{ display:none; }
  .hd__nav .hd__tel{ display:block; margin-top:18px; padding:14px; text-align:center; border:1px solid var(--navy); color:var(--navy); font-weight:700; }
  .hd__cta{ margin-left:auto; padding:0 18px; font-size:12.5px; }
  .hd__menu{ display:block; }
  .biz{ grid-template-columns:1fr; }
  .kinds{ grid-template-columns:repeat(2,1fr); }
  .why{ grid-template-columns:1fr; }
  .cases, .props{ grid-template-columns:repeat(2,1fr); }
  .company{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .svcblk{ grid-template-columns:1fr; gap:22px; }
  .svcblk:nth-child(even) .svcblk__img{ order:0; }
  .ft__in{ grid-template-columns:1fr 1fr; }
  .tbl--2col{ grid-template-columns:1fr; }
}
@media (max-width:800px){
  :root{ --hd-h:58px; }
  body{ font-size:14.5px; }
  .wrap{ width:min(var(--wrap), calc(100% - 32px)); }
  .hd__logo{ padding:0 14px; }
  .hd__logo img{ height:22px; }
  .hero{ flex-direction:column; height:auto; min-height:0; max-height:none; }
  .hero__vis{ width:100%; min-width:0; height:300px; }
  .hero__copy{ width:100%; padding:22px 20px 44px; }
  .hero__title{ margin-bottom:8px; }
  .hero__title b{ font-size:32px; }
  .hero__sub{ font-size:17px; margin-bottom:10px; }
  .hero__lead{ font-size:13px; margin-bottom:18px; }
  .svc{ margin:0 0 18px; }
  .svc__i .ic{ width:24px; height:24px; margin-bottom:4px; }
  .svc__i p{ font-size:9px; }
  .hero__btns .btn{ padding:12px 12px; font-size:12px; }
  .hero__scroll{ display:none; }
  .ticker__in{ flex-wrap:wrap; padding:12px 0; gap:8px 16px; }
  .ticker__list{ flex-direction:column; gap:4px; width:100%; order:3; }
  .ticker__list li{ white-space:normal; }
  .cases, .props{ grid-template-columns:1fr; }
  .kinds{ grid-template-columns:1fr 1fr; gap:12px; }
  .kind{ padding:20px 14px; }
  .flow{ grid-template-columns:1fr 1fr; }
  .flow__i::after{ display:none !important; }
  .biz__body{ padding:22px 20px 24px; }
  .checks{ grid-template-columns:1fr; }
  .tbl th{ width:110px; padding:12px; font-size:13px; }
  .tbl td{ padding:12px; font-size:13.5px; }
  .pair{ grid-template-columns:1fr; gap:10px; }
  .pair__arrow svg{ transform:rotate(90deg); }
  .gallery{ grid-template-columns:1fr 1fr; gap:10px; }
  .ft__in{ grid-template-columns:1fr; gap:28px; }
  .form{ padding:22px 18px; }
  .tel{ padding:22px 20px; }
  .tel__num{ font-size:30px; }
  .cta__tel a{ font-size:28px; }
  .totop{ right:12px; bottom:12px; width:42px; height:42px; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
  .bp{ transform:none !important; }
  .bp__layer--real{ clip-path:none !important; }
  .hero .anim{ opacity:1; }
}

/* 印刷 */
@media print{
  .hd, .ft, .totop, .cta, .hero__scroll, .crumb{ display:none !important; }
  body{ font-size:12pt; }
}
