/* =========================================================
   ShowShin 翔神 — セクションデザイン（ファーストビュー以外）
   方向性：工業系メーカーのようなプロフェッショナル感
   ・幾何学的な英字大見出し＋「／ 日本語」ラベル
   ・ブランドブルーの斜めシェイプ（トップの斜め写真と呼応）
   ・背景に巨大なアウトライン英字
   ・丸い矢印ボタン、整った余白とグリッド
   ========================================================= */
:root {
  --dark: #23262c;
  --dark2: #33373e;
  --gray-bg: #eff0f2;
  --muted: #6c7078;
  --line2: #d9dbe0;
  --blue2: #ff5546;
  --en: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- 共通 ---- */
.s { padding: clamp(90px, 10vw, 150px) 8%; position: relative; overflow: hidden; }
.s-head { position: relative; z-index: 2; margin-bottom: clamp(36px, 4vw, 56px); }
.s-head .en {
  display: block; font-family: var(--en); font-weight: 500;
  font-size: clamp(48px, 6.2vw, 96px); line-height: 1.05; letter-spacing: -.01em; color: #2a2d33;
}
.s-head .ja {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 14px;
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 500; color: var(--brand);
}
.s-head .ja:before { content: ''; width: 5px; height: 17px; background: var(--brand); transform: skewX(-20deg); }
.s-head.center { text-align: center; }
.s-head.light .en { color: #fff; }
.s-head.light .ja { color: #fff; }
.s-head.light .ja:before { background: #fff; }
.lead { font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.75; margin: 0 0 22px; color: #2a2d33; }
.body { font-size: 14px; line-height: 2.1; color: #3d4048; margin: 0 0 14px; }

/* 丸い矢印ボタン */
.circle-link { display: inline-flex; align-items: center; gap: 18px; font-family: var(--en); font-size: 13px; font-weight: 500; color: var(--brand); }
.circle-link i {
  width: 58px; height: 58px; border: 1px solid var(--brand); border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 10px; transition: background .3s, color .3s;
}
.circle-link:hover i { background: var(--brand); color: #fff; }

/* 巨大なアウトライン英字 */
.outline {
  position: absolute; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--en); font-weight: 500; line-height: .95; letter-spacing: -.02em;
  font-size: clamp(90px, 13vw, 210px); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.95);
}
.outline.dark { -webkit-text-stroke: 1px rgba(42,45,51,.14); }

/* ブルーの斜めシェイプ */
.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape-a { background: linear-gradient(135deg, var(--brand), var(--blue2)); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
.shape-b { background: linear-gradient(135deg, rgba(150,155,165,.75), rgba(150,155,165,0)); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); }
.shape-c { background: linear-gradient(135deg, var(--blue2), rgba(255,85,70,.15)); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); opacity: .85; }
.js .shape { transform: translateX(60px); opacity: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity 1.4s; }
.js .shape.in { transform: none; opacity: 1; }
.js .shape-c.in { opacity: .85; }

/* ふわっと表示 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- ABOUT ---- */
.about { background: #fff; }
.about .shape-a { width: 46%; height: 72%; right: -6%; top: 6%; }
.about .shape-b { width: 40%; height: 60%; right: -14%; top: 22%; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.facts div { display: flex; flex-direction: column; padding: 22px 0 20px 20px; }
.facts div:first-child { padding-left: 0; }
.facts div + div { border-left: 1px solid var(--line2); }
.facts dd { order: 1; margin: 0; font-family: var(--en); font-weight: 500; font-size: clamp(34px, 3.2vw, 48px); line-height: 1; color: #2a2d33; letter-spacing: -.02em; }
.facts dd small { font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--brand); margin-left: 5px; text-transform: uppercase; }
.facts dt { order: 2; margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---- BUSINESS（淡いブルーのグラデーション） ---- */
.business { background: radial-gradient(circle at 15% 85%, #f7f8fa 0, transparent 40%), linear-gradient(120deg, #cfd6e2, #eceff4 60%, #f7f8fa); }
.business .outline { left: 3%; bottom: 3%; }
.business .shape-a { width: 36%; height: 58%; left: -10%; top: 0; }
.business .shape-b { width: 34%; height: 55%; left: 4%; top: 6%; }
.biz-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.biz-photo { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: #ccd; box-shadow: 0 30px 60px -30px rgba(230,26,15,.35); }
.biz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 1.2s ease; transform: scale(1.04); }
.biz-photo img.on { opacity: 1; transform: none; }
.biz-list { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid rgba(42,45,51,.2); }
.biz-list a {
  display: grid; grid-template-columns: 46px 1fr 44px; align-items: center; gap: 8px;
  padding: 24px 0; border-bottom: 1px solid rgba(42,45,51,.2);
}
.biz-list .n { font-family: var(--en); font-weight: 500; font-size: 14px; color: var(--brand); }
.biz-list strong { font-size: clamp(17px, 1.45vw, 20px); font-weight: 700; color: #2a2d33; }
.biz-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.biz-list .arr { width: 40px; height: 40px; border: 1px solid var(--brand); border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: var(--brand); transition: background .3s, color .3s; }
.biz-list a:hover .arr, .biz-list a.on .arr { background: var(--brand); color: #fff; }

/* ---- STRENGTH（淡いグレー） ---- */
.strength { background: var(--gray-bg); }
.strength .lead { text-align: center; }
.str-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); margin-top: 50px; }
.str-card { background: #fff; }
.str-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.str-card figure:after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 7px; background: var(--brand); clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
.str-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.str-card:hover img { transform: scale(1.05); }
.str-body { padding: 26px 26px 32px; }
.str-card .n { display: block; font-family: var(--en); font-weight: 600; font-size: 13px; color: var(--brand); letter-spacing: .05em; }
.str-card h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; margin: 6px 0 10px; color: #2a2d33; }
.str-card p { font-size: 13px; line-height: 2; margin: 0; color: #4a4e56; }

/* ---- CASES ---- */
.cases { background: #fff; }
.cases .head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; margin-bottom: 50px; }
.cases .head-row .s-head { margin: 0; }
.cases .filters { display: flex; gap: 0; border: 1px solid var(--line2); }
.cases .filters button { border: 0; background: #fff; color: #2a2d33; padding: 11px 26px; font-size: 13px; border-radius: 0; }
.cases .filters button + button { border-left: 1px solid var(--line2); }
.cases .filters button.active { background: var(--brand); color: #fff; }
.gallery { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 28px; }
.work { border: 0; padding: 0; text-align: left; background: none; color: inherit; cursor: pointer; }
.work .thumb { display: block; overflow: hidden; position: relative; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1s ease; }
.work:hover img { transform: scale(1.05); }
.work small { display: inline-block; margin-top: 16px; padding: 3px 12px; border: 1px solid #2a2d33; font-size: 10px; letter-spacing: .06em; color: #2a2d33; }
.work strong { display: block; margin-top: 10px; font-weight: 500; font-size: 15px; color: #2a2d33; }
.work .arrow { float: right; color: var(--brand); }
.work-meta { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.work[hidden] { display: none; }
.gallery.collapsed .work:nth-child(n+10) { display: none; }
.more-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 54px; position: relative; z-index: 1; }
.more { border: 0; background: none; padding: 0; }
.more[hidden] { display: none; }

/* ---- 写真の帯 ---- */
.marquee { overflow: hidden; padding: 0; background: #fff; }
.marquee-track { display: flex; gap: 4px; width: max-content; animation: flow 80s linear infinite; }
.marquee-track.rev { animation-direction: reverse; margin-top: 4px; }
.marquee img { height: clamp(150px, 17vw, 260px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@keyframes flow { to { transform: translateX(-50%); } }
.motion-paused .marquee-track { animation-play-state: paused; }

/* ---- FLOW ---- */
.flow { background: var(--gray-bg); }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; padding: 34px 28px 36px; position: relative; }
.step:not(:last-child):after {
  content: ''; position: absolute; right: -14px; top: 50%; width: 12px; height: 22px; z-index: 2;
  background: var(--brand); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%);
}
.step b { font-family: var(--en); font-weight: 600; font-size: 13px; color: var(--brand); letter-spacing: .08em; display: block; }
.step b span { font-size: 40px; display: block; line-height: 1.1; letter-spacing: -.02em; }
.step h3 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; color: #2a2d33; }
.step p { font-size: 13px; color: #4a4e56; margin: 0; line-height: 1.9; }

/* ---- FAQ ---- */
.faq { background: #fff; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
details { border-bottom: 1px solid var(--line2); padding: 24px 0; }
details:first-child { border-top: 1px solid var(--line2); }
summary { cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; display: grid; grid-template-columns: 30px 1fr 20px; gap: 6px; color: #2a2d33; }
summary::-webkit-details-marker { display: none; }
summary:before { content: 'Q'; font-family: var(--en); font-weight: 600; color: var(--brand); }
summary:after { content: '+'; font-family: var(--en); font-size: 20px; line-height: 1.2; color: var(--brand); }
details[open] summary:after { content: '−'; }
details p { font-size: 13px; color: #4a4e56; margin: 12px 0 0 36px; line-height: 2; }

/* ---- CONTACT：写真の帯＋3つのタイル ---- */
.contact { padding: 0; overflow: visible; background: #fff; }
.contact-band { position: relative; padding: clamp(80px, 8vw, 120px) 8% clamp(150px, 13vw, 200px); color: #fff; overflow: hidden; }
.contact-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; filter: brightness(.75); }
.contact-band:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,26,.7), rgba(20,22,26,.1)); }
.contact-band > * { position: relative; z-index: 1; }
.contact-band .row { display: flex; align-items: center; gap: clamp(30px, 4vw, 60px); flex-wrap: wrap; }
.contact-band .s-head { margin: 0; }
.contact-band p { margin: 0; font-size: 14px; line-height: 2; }
.tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: -110px 8% 0; }
.tiles a { padding: 46px 20px; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; color: #fff; transition: filter .3s; }
.tiles a:hover { filter: brightness(1.12); }
.tiles a:nth-child(1) { background: var(--brand); }
.tiles a:nth-child(2) { background: var(--dark); }
.tiles a:nth-child(3) { background: var(--dark2); }
.tiles svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.4; }
.tiles strong { font-size: 15px; font-weight: 700; line-height: 1.6; }
.tiles .tel { font-family: var(--en); font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.tiles small { font-size: 11px; opacity: .8; }

/* ---- COMPANY ---- */
.company { background: #fff; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.company dl { margin: 0; font-size: 14px; position: relative; z-index: 1; }
.company dl div { display: grid; grid-template-columns: 150px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line2); }
.company dl div:first-child { border-top: 2px solid #2a2d33; }
.company dt { font-weight: 700; color: #2a2d33; }
.company dd { margin: 0; color: #3d4048; }

/* ---- フッター ---- */
footer { background: #fff; border-top: 1px solid var(--line2); padding: 60px 8% 30px; }
.foot-top { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; }
.foot-top .brand { color: #2a2d33; }
.foot-top .addr { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.9; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 30px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 500; }
.foot-nav li:before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #b8bbc2; margin-right: 10px; vertical-align: middle; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line2); font-size: 11px; color: #9a9da4; font-family: var(--en); }
.foot-bottom .sns { display: flex; gap: 24px; color: #2a2d33; font-size: 12px; }


/* ---- 追加：LPの内容に合わせた要素 ---- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em; margin: 0 0 14px; }
.kicker:before { content: ''; width: 28px; height: 1px; background: var(--brand); }
.note { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 18px 0 0; position: relative; z-index: 1; }
.note.center { text-align: center; margin-top: 34px; }
.cases > .body { position: relative; z-index: 1; margin: -26px 0 40px; }
.str-cta { background: var(--brand); color: #fff; display: flex; align-items: center; }
.str-cta .n, .str-cta h3, .str-cta p { color: #fff; }
.str-cta .str-body { padding: 40px 34px; }
.circle-link.light { color: #fff; margin-top: 26px; }
.circle-link.light i { border-color: #fff; }
.circle-link.light:hover i { background: #fff; color: var(--brand); }
.contact .big { font-size: clamp(20px, 2vw, 28px); line-height: 1.8; }
/* 職人紹介 */
.craftsmen { background: #fff; }
.craftsmen .shape-a { width: 30%; height: 46%; right: -8%; top: 0; }
.craftsmen .shape-b { width: 26%; height: 40%; right: -2%; top: 10%; }
.craftsmen .lead { position: relative; z-index: 1; }
.staff-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.staff { background: var(--gray-bg); padding: 30px 28px 32px; border-top: 4px solid var(--brand); }
.staff .role { font-size: 12px; font-weight: 700; color: var(--brand); }
.staff h3 { font-size: 22px; font-weight: 700; margin: 6px 0 4px; color: #2a2d33; }
.staff h3 small { display: block; font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.staff .career { font-size: 12px; line-height: 1.8; margin: 10px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); color: #3d4048; }
.staff dl { margin: 0; font-size: 13px; }
.staff dt { font-size: 11px; color: var(--muted); margin-top: 10px; }
.staff dd { margin: 2px 0 0; color: #2a2d33; font-weight: 500; line-height: 1.8; }
.staff-photo { padding: 0; margin: 0; border-top: 0; overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.staff { position: relative; }
.staff .avatar { position: absolute; top: 22px; right: 22px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.staff .role, .staff h3 { padding-right: 110px; }
.staff .career { min-height: 3.6em; }
.team { position: relative; z-index: 1; margin: 34px 0 0; }
.team img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 40%; display: block; }
.staff-pride { background: var(--brand); border-top-color: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.staff-pride p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; line-height: 1.6; }
.staff-pride span { margin-top: 14px; font-size: 13px; opacity: .9; }
/* ロゴ */
.brand img { display: block; height: auto; }
header .brand img { width: 170px; }
footer .brand img { width: 180px; }
@media (max-width: 800px) {
  .staff-grid { grid-template-columns: 1fr; }
  .staff .avatar { width: 84px; height: 84px; top: 20px; right: 18px; }
  .staff .role, .staff h3 { padding-right: 96px; }
  .team img { aspect-ratio: 4 / 3; }
  .craftsmen .shape-a { width: 60%; height: 150px; right: -42%; }
  .craftsmen .shape-b { display: none; }
  header .brand img { width: 140px; }
  .more-wrap { flex-direction: column-reverse; align-items: flex-end; }
}
@media (max-width: 1100px) and (min-width: 801px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .step:nth-child(3):after { display: none; }
}


/* ===== v8：依頼につながる構成 ===== */
/* ご用件から選ぶ */
.doors { background: #fff; }
.doors .shape-a { width: 30%; height: 50%; right: -8%; top: 0; }
.doors .shape-b { width: 26%; height: 44%; right: -2%; top: 8%; }
.door-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.door { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line2); transition: box-shadow .3s, transform .3s; }
.door:hover { box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); transform: translateY(-4px); }
.door figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.door figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.door:hover figure img { transform: scale(1.05); }
.door .tag { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 6px 16px 6px 14px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.door-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.door h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 900; margin: 0 0 14px; color: #2a2d33; }
.door ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; line-height: 1.8; color: #3d4048; }
.door ul li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.door ul li:before { content: ''; position: absolute; left: 0; top: .75em; width: 7px; height: 2px; background: var(--brand); }
.door dl { margin: 0 0 22px; border-top: 1px solid var(--line2); }
.door dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.door dt { color: var(--muted); font-size: 12px; }
.door dd { margin: 0; color: #2a2d33; }
.door dd strong { color: var(--brand); font-weight: 900; margin: 0 2px; }
.door .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--brand); }
.door .go i { width: 40px; height: 40px; border: 1px solid var(--brand); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9px; transition: background .3s, color .3s; }
.door:hover .go i { background: var(--brand); color: #fff; }
@media (min-width: 1101px) {
  .door { flex-direction: row; }
  .door figure { flex: 0 0 42%; aspect-ratio: auto; }
  .door figure img { position: absolute; inset: 0; }
  .door-body { padding: 26px 26px 24px; }
}
/* 費用と期間 */
.price { background: var(--gray-bg); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.price-box { background: #fff; padding: 36px 36px 30px; border-top: 4px solid var(--brand); }
.price-box h3 { display: flex; align-items: baseline; gap: 14px; font-size: 24px; font-weight: 900; margin: 0 0 8px; color: #2a2d33; }
.price-box h3 span { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--brand); }
.price-lead { font-size: 14px; color: #3d4048; margin: 0 0 20px; }
.price-list, .budget { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.price-list li, .budget li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line2); font-size: 14px; align-items: baseline; }
.price-list b, .budget b { font-weight: 900; color: #2a2d33; }
.budget b { color: var(--brand); font-family: inherit; }
.price-list span, .budget span { color: #3d4048; }
.price-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; line-height: 1.8; }
.speed { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; background: var(--dark); color: #fff; }
.speed div { padding: 26px 30px; display: flex; flex-direction: column; gap: 4px; }
.speed div + div { border-left: 1px solid rgba(255,255,255,.15); }
.speed b { font-size: clamp(20px, 2vw, 28px); font-weight: 900; }
.speed span { font-size: 12px; opacity: .75; }
/* 任せて大丈夫な理由 */
.why2 { background: #fff; }
.why2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.why2-photo { margin: 0; position: sticky; top: 110px; }
.why2-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block; }
.why2-photo:after { content: ''; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 45%; background: var(--brand); z-index: -1; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.why2-list { list-style: none; margin: 0; padding: 0; }
.why2-list li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line2); }
.why2-list li:first-child { border-top: 2px solid #2a2d33; }
.why2-list .n { font-family: var(--en); font-size: 34px; font-weight: 500; color: var(--brand); line-height: 1; }
.why2-list h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; margin: 0 0 8px; color: #2a2d33; }
.why2-list p { font-size: 14px; line-height: 2; color: #3d4048; margin: 0; }
@media (max-width: 1100px) and (min-width: 801px) { .door-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) {
    .door-grid, .price-grid, .why2-grid { grid-template-columns: 1fr; }
  .doors .shape-a { width: 60%; height: 120px; right: -42%; } .doors .shape-b { display: none; }
  .price-box { padding: 28px 22px 24px; }
  .price-list li, .budget li { grid-template-columns: 1fr; gap: 2px; }
  .speed { grid-template-columns: 1fr; }
  .speed div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .why2-photo { position: relative; top: 0; margin: 0 -6%; }
  .why2-photo:after { display: none; }
  .why2-photo img { aspect-ratio: 4 / 3; }
  .why2-list li { grid-template-columns: 48px 1fr; padding: 24px 0; }
  .why2-list .n { font-size: 26px; }
}


/* おまかせください（強み3つ） */
.omakase { background: #fff; padding: clamp(80px, 9vw, 130px) 8%; overflow: hidden; }
.omakase-head { text-align: center; }
.omakase-en { font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
.omakase h2 { font-size: clamp(30px, 4.2vw, 60px); font-weight: 900; letter-spacing: -.02em; line-height: 1.3; margin: 0; color: #1d1f23; }
.omakase h2 span { color: var(--brand); font-family: var(--en); font-weight: 600; margin-right: .08em; }
.sp-br { display: none; }
.omakase-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.omakase-photo { margin: 0; }
.omakase-photo img { width: 100%; aspect-ratio: 1600 / 1084; object-fit: cover; display: block; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line2); }
.points li:first-child { border-top: 2px solid #1d1f23; }
.points .n { font-family: var(--en); font-size: 40px; font-weight: 600; color: var(--brand); line-height: 1; }
.points h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 900; line-height: 1.45; margin: 0 0 10px; color: #1d1f23; }
.points p { font-size: 14px; line-height: 2; margin: 0; color: #3d4048; }
@media (max-width: 800px) {
  .omakase { padding: 72px 6%; }
  .sp-br { display: inline; }
  .omakase-body { grid-template-columns: 1fr; gap: 26px; }
  .omakase-photo { margin: 0 -6%; }
  .points li { grid-template-columns: 52px 1fr; padding: 24px 0; }
  .points .n { font-size: 32px; }
}


/* 職人紹介（LPと同じ大きな写真カード） */
.member-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.member { background: #fff; border: 1px solid var(--line2); display: flex; flex-direction: column; }
.member figure { margin: 0; position: relative; aspect-ratio: 689 / 758; overflow: hidden; background: #e9ebef; }
.member figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: transform 1.2s; }
.member:hover figure img { transform: scale(1.03); }
.member .role { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; font-size: 15px; font-weight: 900; padding: 9px 18px; }
.member-body { padding: 26px 28px 22px; }
.member h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; margin: 0; color: #1d1f23; letter-spacing: .02em; }
.member h3 small { display: block; font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--muted); margin-top: 6px; }
.member .years { margin: 16px 0 0; font-size: 14px; font-weight: 700; color: #2a2d33; }
.member .years b { font-family: var(--en); font-size: 44px; font-weight: 600; color: var(--brand); line-height: 1; margin: 0 4px; letter-spacing: -.02em; }
.badges { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; }
.badges span { border: 1.5px solid #1d1f23; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.member dl { margin: auto 0 0; padding: 18px 28px 26px; border-top: 1px solid var(--line2); font-size: 14px; }
.member dt { font-size: 12px; font-weight: 700; color: var(--brand); margin-top: 12px; }
.member dt:first-child { margin-top: 0; }
.member dd { margin: 4px 0 0; color: #2a2d33; line-height: 1.8; }
.member-cta { background: var(--brand); border-color: var(--brand); color: #fff; justify-content: center; padding: 40px 34px; gap: 10px; }
.member-cta p { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 900; line-height: 1.6; }
.member-cta span { font-size: 14px; line-height: 1.9; opacity: .92; }
@media (max-width: 1100px) and (min-width: 801px) { .member-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) {
  .member-grid { grid-template-columns: 1fr; gap: 22px; }
  .member .years b { font-size: 38px; }
}

/* ---- スマホ ---- */
@media (max-width: 800px) {
  .s { padding: 80px 6%; }
  .about-grid, .biz-grid { grid-template-columns: 1fr; }
  .about .shape-a { width: 70%; height: 200px; top: 0; right: -38%; }
  .about .shape-b { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 20px 0 18px 18px; }
  .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line2); }
  .facts dd { font-size: 38px; }
  .about-photo { margin: 10px -6% 0; position: relative; }
  .about-photo img { clip-path: none; aspect-ratio: 4 / 3; }
  .about-photo:after { content: ''; position: absolute; left: 6%; bottom: -6px; width: 34%; height: 12px; background: var(--brand); clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
  .business .shape-a { width: 80%; height: 26%; left: -30%; }
  .business .shape-b { display: none; }
  .str-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .gallery.collapsed .work:nth-child(n+7) { display: none; }
  .work strong { font-size: 12px; }
  .work small { font-size: 9px; padding: 2px 6px; margin-top: 10px; }
  .cases .filters button { padding: 9px 16px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step:not(:last-child):after { right: 50%; top: auto; bottom: -16px; width: 22px; height: 12px; transform: translateX(50%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .faq { grid-template-columns: 1fr; gap: 10px; }
  .tiles { grid-template-columns: 1fr; margin: -90px 6% 0; }
  .tiles a { min-height: 0; padding: 30px 20px; flex-direction: row; justify-content: flex-start; text-align: left; }
  .tiles svg { width: 34px; height: 34px; flex: none; }
  .company { grid-template-columns: 1fr; gap: 10px; }
  .company dl div { grid-template-columns: 96px 1fr; font-size: 13px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column-reverse; gap: 16px; align-items: flex-start; }
  footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .shape { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .biz-photo img, .str-card img, .work img { transition: none; }
}

.pride-go { margin-top: 20px; font-style: normal; font-weight: 700; font-size: 14px; border-bottom: 1px solid #fff; align-self: flex-start; padding-bottom: 4px; }
.price-box { scroll-margin-top: 100px; }

.price-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 18px; }
.price-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.price-photos.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .price-photos.four { grid-template-columns: repeat(2, 1fr); } }

/* NEWS */
.news { background: #fff; padding-top: clamp(60px, 7vw, 100px); padding-bottom: clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--line2); }
.news-inner { display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.news .s-head { margin: 0; }
.news .s-head .en { font-size: clamp(44px, 5vw, 76px); }
.news-body { display: flex; flex-direction: column; gap: 26px; }
.news-body .circle-link { align-self: flex-end; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #1d1f23; }
.news-list a { display: grid; grid-template-columns: 76px 250px 1fr 24px; align-items: center; gap: 22px; padding: 16px 4px; border-bottom: 1px solid var(--line2); transition: background .2s; }
.news-list a:hover { background: #f7f7f8; }
.news-thumb { width: 76px; height: 76px; overflow: hidden; background: #eee; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.news-meta time { font-family: var(--en); font-size: 14px; font-weight: 500; color: #1d1f23; }
.news-tag { font-family: var(--en); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line2); padding: 2px 8px; }
.news-new { font-family: var(--en); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: #fff; background: var(--brand); padding: 3px 8px; }
.news-text { font-size: 15px; font-weight: 500; color: #1d1f23; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-arrow { color: var(--brand); text-align: right; }
.news-sample { font-size: 11px; color: var(--muted); padding: 10px 4px 0; }
@media (max-width: 800px) {
  .news-inner { grid-template-columns: 1fr; gap: 24px; }
  .news-list a { grid-template-columns: 64px 1fr 16px; grid-template-areas: "thumb meta arrow" "thumb text arrow"; gap: 4px 14px; padding: 14px 0; }
  .news-thumb { grid-area: thumb; width: 64px; height: 64px; }
  .news-meta { grid-area: meta; } .news-text { grid-area: text; font-size: 14px; } .news-arrow { grid-area: arrow; }
}
.news-thumb.ig { background: linear-gradient(135deg,#e61a0f,#ff5546); position: relative; }
.news-thumb.ig::after { content: 'IG'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--en); font-weight: 600; font-size: 18px; }

/* =========================================================
   施工実績（Works）ページ群
   ========================================================= */
nav a[aria-current="page"] { color: var(--brand); }
.cat-tabs { display: flex; flex-wrap: wrap; border: 1px solid var(--line2); background: #fff; width: fit-content; max-width: 100%; }
.cat-tabs a { padding: 11px 22px; font-size: 13px; color: #2a2d33; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.cat-tabs a + a { border-left: 1px solid var(--line2); }
.cat-tabs a span { font-family: var(--en); font-size: 11px; color: var(--muted); }
.cat-tabs a:hover { color: var(--brand); }
.cat-tabs a.on { background: var(--brand); color: #fff; }
.cat-tabs a.on span { color: #fff; }
a.work { display: block; }

.page-hero { background: var(--gray-bg); padding: clamp(46px, 5vw, 70px) 8% clamp(56px, 6vw, 90px); position: relative; overflow: hidden; }
.page-hero:after { content: ''; position: absolute; right: -6%; top: 0; width: 30%; height: 100%; background: var(--brand); opacity: .9; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero.slim { padding: 22px 8%; background: #fff; border-bottom: 1px solid var(--line2); }
.page-hero.slim:after { display: none; }
.page-hero .s-head, .page-hero .page-lead, .crumb { position: relative; z-index: 1; }
.page-hero .s-head { margin: 0; }
.page-lead { max-width: 620px; font-size: 14px; line-height: 2.1; color: #3d4048; margin: 26px 0 0; }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.page-hero.slim .crumb { margin: 0; }
.crumb i { font-style: normal; color: var(--line2); }
.crumb a:hover { color: var(--brand); }
.crumb [aria-current] { color: #2a2d33; }

.works-wrap { padding: clamp(60px, 7vw, 100px) 8%; background: #fff; }
.works-wrap.gray { background: var(--gray-bg); }
.sub-h { font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; color: #2a2d33; margin: 0 0 30px; display: flex; align-items: center; gap: 12px; }
.sub-h:before { content: ''; width: 5px; height: 20px; background: var(--brand); transform: skewX(-20deg); }
.works-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.works-top .sub-h { margin: 0; }
.works-wrap > .cat-tabs { margin-bottom: 44px; }
.case-grid { grid-template-columns: repeat(3, 1fr); }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cat-card { display: flex; background: #fff; border: 1px solid var(--line2); transition: box-shadow .3s, transform .3s; }
.cat-card:hover { box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); transform: translateY(-4px); }
.cat-card figure { margin: 0; flex: 0 0 42%; position: relative; overflow: hidden; min-height: 220px; }
.cat-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.cat-card:hover figure img { transform: scale(1.05); }
.cat-card .tag { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 6px 16px 6px 14px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.cat-card > div { padding: 26px; display: flex; flex-direction: column; }
.cat-card h2 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 900; color: #2a2d33; margin: 0 0 12px; }
.cat-card p { font-size: 13px; line-height: 1.9; color: #3d4048; margin: 0 0 18px; }
.cat-card .go, .works-empty .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--brand); }
.cat-card .go i { width: 40px; height: 40px; border: 1px solid var(--brand); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9px; transition: background .3s, color .3s; }
.cat-card:hover .go i { background: var(--brand); color: #fff; }

.cat-hints { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line2); width: 100%; }
.cat-hints div { padding: 18px 22px; }
.cat-hints div + div { border-left: 1px solid var(--line2); }
.cat-hints dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cat-hints dd { margin: 0; font-size: 15px; font-weight: 700; color: #2a2d33; }
.works-empty { border: 1px dashed var(--line2); padding: 50px 30px; text-align: center; }
.works-empty p { font-size: 14px; line-height: 2.1; color: #3d4048; margin: 0 0 24px; }

.case-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); padding: clamp(46px, 5vw, 80px) 8% clamp(70px, 7vw, 110px); background: #fff; align-items: start; }
.case-photo { margin: 0; }
.case-photo img { width: 100%; display: block; max-height: 78vh; object-fit: cover; }
.case-tag { display: inline-block; padding: 3px 12px; border: 1px solid #2a2d33; font-size: 10px; letter-spacing: .06em; color: #2a2d33; }
.case-info h1 { font-family: inherit; font-size: clamp(22px, 2.2vw, 32px); font-weight: 900; letter-spacing: .02em; line-height: 1.5; color: #2a2d33; margin: 16px 0 20px; }
.case-comment { font-size: 15px; line-height: 2; color: #3d4048; margin: 0 0 26px; padding-left: 16px; border-left: 3px solid var(--brand); }
.spec { margin: 0 0 14px; border-top: 1px solid var(--line2); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.spec dt { color: var(--muted); font-size: 13px; }
.spec dd { margin: 0; color: #2a2d33; }
.spec dd a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.spec dd strong { color: var(--brand); font-size: 20px; font-weight: 900; margin-right: 2px; }
.spec-note { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0 0 6px; }
.case-cta { margin-top: 28px; padding: 24px; background: var(--gray-bg); }
.case-cta p { margin: 0 0 16px; font-size: 13px; line-height: 1.9; color: #3d4048; }
.case-cta p strong { color: #2a2d33; font-size: 15px; }
.case-cta > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-cta .btn { display: block; text-align: center; padding: 14px 10px; font-size: 14px; font-weight: 700; transition: opacity .2s; }
.case-cta .btn:hover { opacity: .85; }
.case-cta .btn.line { background: var(--brand); color: #fff; }
.case-cta .btn.tel { background: #fff; color: var(--brand); border: 1px solid var(--brand); font-family: var(--en); }
.case-info .back { display: inline-block; margin-top: 26px; font-size: 13px; color: var(--muted); }
.case-info .back:hover { color: var(--brand); }

@media (max-width: 1100px) and (min-width: 801px) {
  .case-grid, .cases .gallery { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .case-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .case-grid .work strong { font-size: 13px; }
  .cat-tabs { width: 100%; }
  .cat-tabs a { flex: 1 1 50%; justify-content: center; padding: 11px 8px; border-bottom: 1px solid var(--line2); }
  .cat-tabs a + a { border-left: 0; }
  .cat-tabs a:nth-child(even) { border-left: 1px solid var(--line2); }
  .page-hero:after { width: 34%; right: -24%; }
  .page-lead { padding-right: 18%; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { flex-direction: column; }
  .cat-card figure { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
  .cat-hints { grid-auto-flow: row; }
  .cat-hints div + div { border-left: 0; border-top: 1px solid var(--line2); }
  .case-detail { grid-template-columns: 1fr; padding-top: 24px; }
  .case-cta > div { grid-template-columns: 1fr; }
  body.sub { padding-bottom: 48px; }
}

/* ---- 代表紹介・CSR ---- */
.message { background: #fff; }
.message .shape-a { width: 22%; height: 220px; right: -8%; top: 0; }
.rep { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.rep-photo { margin: 0; }
.rep-photo img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.rep-role { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.rep-name { margin: 6px 0 26px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 900; letter-spacing: .12em; color: #2a2d33; line-height: 1.3; }
.rep-name small { display: block; font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--brand); margin-top: 6px; }
.rep-titles { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line2); }
.rep-titles li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line2); font-size: 15px; color: #2a2d33; }
.rep-titles strong { flex: none; background: var(--brand); color: #fff; font-size: 13px; padding: 4px 16px 4px 14px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.csr { position: relative; z-index: 1; margin-top: clamp(70px, 8vw, 110px); }
.csr-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--gray-bg); transition: box-shadow .3s, transform .3s; }
.csr-card:hover { box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); transform: translateY(-4px); }
.csr-card figure { margin: 0; overflow: hidden; }
.csr-card figure img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; transition: transform 1s; }
.csr-card:hover figure img { transform: scale(1.04); }
.csr-card > div { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.csr-meta { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); }
.csr-meta time { font-family: var(--en); color: var(--brand); font-weight: 600; }
.csr-meta i { font-style: normal; border: 1px solid #2a2d33; color: #2a2d33; padding: 2px 10px; font-size: 11px; }
.csr-card h4 { margin: 14px 0 12px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 900; color: #2a2d33; }
.csr-card p { margin: 0 0 20px; font-size: 14px; line-height: 2; color: #3d4048; }
.csr-card .go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand); }
.csr-card .go i { font-style: normal; margin-left: 6px; }
@media (max-width: 800px) {
  .rep, .csr-card { grid-template-columns: 1fr; }
  .csr-card figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .rep-titles li { font-size: 14px; }
}
.cat-tabs .ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-tabs a.on .ico { stroke: #fff; }
@media (max-width: 800px) {
  .cat-tabs a { flex-direction: column; gap: 6px; padding: 16px 8px 14px; font-size: 12px; line-height: 1.4; text-align: center; position: relative; }
  .cat-tabs .ico { width: 26px; height: 26px; }
  .cat-tabs a span { position: absolute; top: 8px; right: 10px; }
}

/* ---- 会社概要の地図 ---- */
.company > .s-head { grid-column: 1; grid-row: 1; align-self: start; }
.company > dl { grid-column: 2; grid-row: 1 / span 2; }
.company-map { grid-column: 1; grid-row: 2; align-self: end; position: relative; z-index: 1; }
.company-map .map-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-bg); border-top: 3px solid var(--brand); }
.company-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.company-map:hover iframe { filter: none; }
.company-map .map-addr { margin: 16px 0 0; font-size: 13px; line-height: 1.8; color: #3d4048; }
.company-map .map-link { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 18px; border: 1px solid #2a2d33; font-size: 13px; font-weight: 700; color: #2a2d33; transition: background .25s, color .25s; }
.company-map .map-link:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.company-map .map-link i { font-style: normal; }
@media (max-width: 800px) {
  .company > .s-head, .company > dl, .company-map { grid-column: 1; grid-row: auto; }
  .company-map { margin-top: 30px; }
}
/* ---- スマホ下部の相談バー ---- */
.mobile-cta { background: #fff; box-shadow: 0 -6px 20px -8px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 8px; border: 0; color: #fff; text-align: left; line-height: 1.25; }
.mobile-cta a svg { width: 22px; height: 22px; flex: none; }
.mobile-cta a span { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.mobile-cta a small { font-size: 10px; font-weight: 400; opacity: .9; letter-spacing: 0; margin-top: 2px; }
.mobile-cta .mc-tel { background: #2a2d33; }
.mobile-cta .mc-line { background: #06c755; }


/* ===== 下スクロールでヘッダーを隠す／上スクロールで下バーを隠す ===== */
header, .mobile-cta { transition: transform .32s ease; }
body.bars-hide header { transform: translateY(-100%); }
body.cta-hide .mobile-cta { transform: translateY(110%); }
