/* =========================================================
   株式会社江崎道路 トップページ（デザイン v11）
   PC: 1200px デザイン / SP: 390px デザイン
   ブレークポイント: SP ≤767px / タブレット 768–1023px / PC ≥1024px
   ========================================================= */

:root {
  /* Color */
  --c-primary: #2c6a33;      /* 深緑：ブランド・ボタン・見出しロゴ */
  --c-accent: #8cc63f;       /* 黄緑：バッジ・建設DXタグ・グラデ終点 */
  --c-accent-ink: #1e3a20;   /* 黄緑の上の文字 */
  --c-label: #5b9a2e;        /* 英字アイブロウ・カテゴリ */
  --c-text: #1e2a20;         /* 本文見出し */
  --c-body: #4b574d;         /* 本文 */
  --c-muted: #6b776d;        /* 補足 */
  --c-meta: #7b877d;         /* 日付・タグライン */
  --c-faint: #9aa69e;        /* コピーライト */
  --c-bg-soft: #f4f9ef;      /* 淡緑背景 */
  --c-chip: #eef6e6;         /* 淡緑チップ */
  --c-border: #e4ece0;       /* 罫線 */
  --c-white: #fff;
  --c-hero-lead: #e6f1e4;
  --c-recruit-text: #d7e9d0;
  --c-recruit-label: #b9e08a;
  --grad-contact: linear-gradient(120deg, #2c6a33 0%, #4f8f2f 60%, #8cc63f 100%);
  --hero-overlay-pc: linear-gradient(90deg, rgba(24,62,30,.88) 0%, rgba(24,62,30,.62) 45%, rgba(24,62,30,.05) 80%);
  --hero-overlay-sp: linear-gradient(0deg, rgba(24,62,30,.92) 0%, rgba(24,62,30,.6) 55%, rgba(24,62,30,.1) 100%);
  --shadow-notice-pc: 0 18px 40px rgba(30,60,32,.12);
  --shadow-notice-sp: 0 14px 32px rgba(30,60,32,.14);

  /* Type */
  --ff-body: 'Noto Sans JP', sans-serif;
  --ff-head: 'Zen Kaku Gothic New', sans-serif;

  /* Layout */
  --w-max: 1200px;
  --pad-x: 96px;      /* セクション左右余白（PC） */
  --pad-x-edge: 48px; /* ヘッダー・ヒーロー・お問い合わせ帯（PC） */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-white); color: var(--c-text); font-family: var(--ff-body); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary); }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

.only-sp { display: none; }
.container { max-width: var(--w-max); margin: 0 auto; }

/* ---------- Common ---------- */
.eyebrow { font-size: 12px; font-weight: 700; color: var(--c-label); letter-spacing: .22em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head--works { margin-bottom: 28px; }
.section-head__titles { display: flex; flex-direction: column; gap: 12px; }
.section-title { font-family: var(--ff-head); font-size: 34px; font-weight: 900; white-space: nowrap; }
.section-head__link { font-size: 14px; font-weight: 700; color: var(--c-primary); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 15px 32px; font-size: 14.5px; font-weight: 700; white-space: nowrap; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn--white { background: var(--c-white); color: var(--c-primary); }
.btn--white:hover { color: var(--c-primary); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.7); color: var(--c-white); }
.btn--outline:hover { color: var(--c-white); background: rgba(255,255,255,.1); opacity: 1; }

.tag { flex: none; border-radius: 999px; padding: 3px 12px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tag--primary { background: var(--c-primary); color: var(--c-white); }
.tag--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.tag--soft { background: var(--c-chip); color: var(--c-primary); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--c-white); }
.site-header__inner { max-width: var(--w-max); margin: 0 auto; height: 96px; padding: 0 var(--pad-x-edge); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { height: 64px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--ff-head); font-size: 18px; font-weight: 900; letter-spacing: .08em; color: var(--c-primary); white-space: nowrap; }
.brand__tagline { font-size: 10.5px; color: var(--c-meta); letter-spacing: .12em; white-space: nowrap; }
.gnav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.btn-contact { display: flex; align-items: center; background: var(--c-primary); color: var(--c-white); border-radius: 999px; padding: 12px 26px; font-weight: 700; white-space: nowrap; transition: opacity .2s; }
.btn-contact:hover { color: var(--c-white); opacity: .85; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-primary); flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--c-white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* SPドロワー（デザイン未指定：既存トークンで最小実装） */
.drawer { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-white); border-top: 1px solid var(--c-border); box-shadow: var(--shadow-notice-sp); }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 24px 24px; }
.drawer__nav a { padding: 16px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; font-weight: 700; }
.drawer__contact { margin-top: 16px; border: 0 !important; background: var(--c-primary); color: var(--c-white) !important; border-radius: 999px; text-align: center; }

/* ---------- Hero ---------- */
.hero { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x-edge); }
.hero__inner { position: relative; height: 560px; border-radius: 28px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay-pc); }
.hero__content { position: absolute; left: 64px; top: 0; bottom: 0; max-width: 600px; display: flex; flex-direction: column; justify-content: center; gap: 24px; color: var(--c-white); }
.hero__badge { align-self: flex-start; background: var(--c-accent); color: var(--c-accent-ink); border-radius: 999px; padding: 7px 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.hero__title { font-family: var(--ff-head); font-size: 52px; line-height: 1.45; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.hero__lead { font-size: 15.5px; line-height: 2.1; color: var(--c-hero-lead); text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; margin-top: 6px; }

/* ---------- Notice (hero に重なるカード) ---------- */
.notice { position: relative; max-width: var(--w-max); margin: -44px auto 0; padding: 0 var(--pad-x); }
.notice__card {
  background: var(--c-white); border-radius: 20px; box-shadow: var(--shadow-notice-pc);
  padding: 26px 36px;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo label link" "logo text link";
  column-gap: 28px; row-gap: 4px; align-items: center;
}
.notice__logo { grid-area: logo; height: 52px; width: auto; }
.notice__label { grid-area: label; align-self: end; font-size: 12.5px; font-weight: 700; color: var(--c-label); letter-spacing: .1em; }
.notice__text { grid-area: text; align-self: start; font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.6; }
.notice__link { grid-area: link; background: var(--c-chip); color: var(--c-primary); border-radius: 999px; padding: 12px 24px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* ---------- About + 強み ---------- */
.about__inner { padding: 112px var(--pad-x) 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__title { font-family: var(--ff-head); font-size: 36px; line-height: 1.55; font-weight: 900; white-space: nowrap; }
.about__body { font-size: 14.5px; line-height: 2.2; color: var(--c-body); text-wrap: pretty; }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.strength { background: var(--c-bg-soft); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
/* 互い違い配置：右列(2・4枚目)だけを32px下げる。margin だと行の高さが変わり左列が接触するため position で表現 */
.strength:nth-child(2), .strength:nth-child(4) { position: relative; top: 32px; }
.strength__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: var(--c-white); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 900; font-size: 16px; }
.strength__icon--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.strength__icon--sm { font-size: 13px; }
.strength__title { font-size: 16px; font-weight: 700; }
.strength__desc { font-size: 12.5px; line-height: 1.9; color: var(--c-body); }

/* ---------- Business ---------- */
.business { background: var(--c-bg-soft); }
.business .container { padding: 96px var(--pad-x); }
.biz-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz-card { background: var(--c-white); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.biz-card:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,60,32,.08); }
.biz-card__img { width: 100%; height: 170px; object-fit: cover; }
.biz-card__body { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.biz-card__text { display: flex; flex-direction: column; gap: 4px; }
.biz-card__title { font-size: 17px; font-weight: 700; }
.biz-card__desc { font-size: 12.5px; color: var(--c-muted); }
.biz-card__arrow { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c-chip); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.biz-pills { display: flex; gap: 12px; margin-top: 18px; }
.biz-pill { flex: 1; background: var(--c-white); border-radius: 999px; padding: 16px 24px; font-size: 14.5px; font-weight: 700; display: flex; justify-content: space-between; }
.biz-pill__arrow { color: var(--c-label); }

/* ---------- Works ---------- */
.works .container { padding: 96px var(--pad-x); }
.works-filter { display: flex; gap: 8px; margin-bottom: 28px; }
.chip { border: 0; background: var(--c-bg-soft); color: var(--c-primary); border-radius: 999px; padding: 9px 22px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.chip.is-active { background: var(--c-primary); color: var(--c-white); font-weight: 700; }
.works-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.work-feature { position: relative; display: block; height: 380px; border-radius: 20px; overflow: hidden; }
.work-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 70%; transition: transform .4s; }
.work-feature:hover .work-feature__img { transform: scale(1.03); }
.work-feature__caption { position: absolute; left: 20px; right: 20px; bottom: 20px; background: var(--c-white); border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.work-feature__title { font-size: 16.5px; font-weight: 700; color: var(--c-text); }
.works-side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.work-item { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; }
.work-item__img { width: 180px; height: 178px; object-fit: cover; border-radius: 16px; }
.work-item__text { display: flex; flex-direction: column; gap: 6px; }
.work-item__title { font-size: 15.5px; font-weight: 700; line-height: 1.6; color: var(--c-text); }
.work__cat { font-size: 12px; font-weight: 700; color: var(--c-label); }
.work__meta { font-size: 12px; color: var(--c-muted); }
.works-empty { padding: 40px 0; text-align: center; color: var(--c-muted); font-size: 14px; }
[data-category][hidden] { display: none !important; }

/* ---------- News + Recruit ---------- */
.news-recruit__inner { padding: 0 var(--pad-x) 96px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.news { display: flex; flex-direction: column; }
.news__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.news__title { font-family: var(--ff-head); font-size: 26px; font-weight: 900; }
.news__list li { border-top: 1px solid var(--c-border); }
.news__list li:last-child { border-bottom: 1px solid var(--c-border); }
.news__row { display: flex; gap: 20px; align-items: center; padding: 18px 0; }
.news__date { flex: none; width: 88px; font-size: 13px; color: var(--c-meta); }
.news__text { font-size: 14.5px; white-space: nowrap; }
.recruit { background: var(--c-primary); border-radius: 20px; padding: 32px; color: var(--c-white); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.recruit__label { font-size: 12px; font-weight: 700; color: var(--c-recruit-label); letter-spacing: .22em; }
.recruit__title { font-family: var(--ff-head); font-size: 21px; font-weight: 900; line-height: 1.6; }
.recruit__text { font-size: 13px; line-height: 1.9; color: var(--c-recruit-text); }
.recruit__btn { align-self: flex-start; margin-top: 4px; background: var(--c-white); color: var(--c-primary); border-radius: 999px; padding: 11px 22px; font-size: 13px; font-weight: 700; }

/* ---------- Contact ---------- */
.contact { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x-edge); }
.contact__inner { border-radius: 28px; background: var(--grad-contact); padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: var(--c-white); }
.contact__text { display: flex; flex-direction: column; gap: 10px; }
.contact__title { font-family: var(--ff-head); font-size: 28px; font-weight: 900; white-space: nowrap; }
.contact__sub { font-size: 14px; line-height: 1.9; color: var(--c-chip); }
.contact__actions { flex: none; display: flex; gap: 14px; align-items: center; }
.contact__tel { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--c-white); }
.contact__tel:hover { color: var(--c-white); }
.contact__tel-label { font-size: 12px; color: var(--c-chip); white-space: nowrap; }
.contact__tel-num { font-family: var(--ff-head); font-size: 28px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.contact__form { margin-left: 12px; background: var(--c-white); color: var(--c-primary); border-radius: 999px; padding: 16px 30px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer__inner { max-width: var(--w-max); margin: 0 auto; padding: 64px var(--pad-x) 36px; display: flex; flex-direction: column; gap: 36px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__logo { height: 72px; width: auto; }
.site-footer__info { display: flex; flex-direction: column; gap: 6px; }
.site-footer__name { font-family: var(--ff-head); font-size: 17px; font-weight: 900; color: var(--c-primary); letter-spacing: .06em; }
.site-footer__addr { font-size: 12.5px; line-height: 1.8; color: var(--c-muted); }
.site-footer__links { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 36px; font-size: 13px; color: var(--c-body); }
.site-footer__links a { white-space: nowrap; }
.site-footer__local { color: var(--c-primary); font-weight: 700; }
.site-footer__copy { font-size: 11px; color: var(--c-faint); letter-spacing: .12em; border-top: 1px solid var(--c-border); padding-top: 20px; }

/* =========================================================
   Tablet 768–1023px（デザイン未指定：PCレイアウトを縮退）
   ========================================================= */
@media (max-width: 1199px) {
  :root { --pad-x: 48px; --pad-x-edge: 32px; }
}
@media (max-width: 1023px) {
  .gnav { display: none; }
  .menu-btn { display: flex; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__title { white-space: normal; }
  .works-grid { grid-template-columns: 1fr; }
  .news-recruit__inner { grid-template-columns: 1fr; }
  .news__text { white-space: normal; }
  .contact__inner { flex-direction: column; align-items: flex-start; }
  .contact__title { white-space: normal; }
  .site-footer__top { flex-direction: column; }
}

/* =========================================================
   SP ≤767px（390px デザイン）
   ========================================================= */
@media (max-width: 767px) {
  .only-pc { display: none; }
  .only-sp { display: revert; }
  br.only-sp { display: inline; }

  .eyebrow { font-size: 11px; }
  .section-head { margin-bottom: 22px; padding: 0 4px; }
  .section-head--works { margin-bottom: 16px; }
  .section-head__titles { gap: 8px; }
  .section-title { font-size: 25px; }
  .section-head__link { font-size: 12.5px; }

  /* Header */
  .site-header__inner { height: 68px; padding: 0 18px; }
  .brand { gap: 10px; }
  .brand__logo { height: 46px; }
  .brand__text { gap: 1px; }
  .brand__name { font-size: 15px; letter-spacing: .06em; }
  .brand__tagline { font-size: 9.5px; letter-spacing: .06em; }

  /* Hero */
  .hero { padding: 0 14px; }
  .hero__inner { height: 540px; border-radius: 22px; }
  .hero__overlay { background: var(--hero-overlay-sp); }
  .hero__content { left: 22px; right: 22px; top: auto; bottom: 96px; max-width: none; justify-content: flex-end; gap: 16px; }
  .hero__badge { padding: 6px 14px; font-size: 11px; letter-spacing: 0; }
  .hero__title { font-size: 31px; line-height: 1.5; letter-spacing: .03em; }
  .hero__lead { font-size: 13px; line-height: 2; }
  .hero__actions { gap: 10px; margin-top: 0; }
  .hero__actions .btn { flex: 1; padding: 14px 0; font-size: 13.5px; }

  /* Notice */
  .notice { margin-top: -64px; padding: 0 26px; }
  .notice__card { border-radius: 18px; box-shadow: var(--shadow-notice-sp); padding: 20px; grid-template-columns: auto 1fr; grid-template-areas: "logo label" "text text" "link link"; column-gap: 10px; row-gap: 10px; }
  .notice__logo { height: 34px; }
  .notice__label { align-self: center; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
  .notice__text { font-size: 14px; line-height: 1.7; }
  .notice__link { justify-self: start; padding: 10px 18px; font-size: 12.5px; }

  /* About */
  .about__inner { padding: 64px 24px 56px; display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .about__text { gap: 18px; }
  .about__title { font-size: 24px; line-height: 1.6; }
  .about__body { font-size: 13.5px; line-height: 2.1; }
  .strengths { gap: 10px; margin-top: 8px; }
  .strength { border-radius: 16px; padding: 18px; gap: 8px; }
  .strength:nth-child(2), .strength:nth-child(4) { top: 0; }
  .strength__icon { width: 34px; height: 34px; font-size: 14px; }
  .strength__icon--sm { font-size: 12px; }
  .strength__title { font-size: 14px; }
  .strength__desc { font-size: 11.5px; line-height: 1.8; }

  /* Business */
  .business .container { padding: 52px 20px; }
  .biz-cards { grid-template-columns: 1fr; gap: 12px; }
  .biz-card { border-radius: 16px; display: grid; grid-template-columns: 110px 1fr; align-items: center; }
  .biz-card__img { width: 110px; height: 92px; }
  .biz-card__body { padding: 0 16px 0 14px; }
  .biz-card__title { font-size: 15px; }
  .biz-card__desc { font-size: 11.5px; }
  .biz-card__arrow { width: auto; height: auto; background: none; }
  .biz-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .biz-pill { justify-content: center; padding: 13px 0; font-size: 12.5px; }
  .biz-pill__arrow { display: none; }

  /* Works */
  .works .container { padding: 52px 20px; }
  .works-filter { gap: 6px; margin-bottom: 16px; }
  .chip { padding: 7px 12px; font-size: 12px; }
  .chip.is-active { padding: 7px 14px; }
  .works-grid { gap: 16px; }
  .work-feature { height: 280px; border-radius: 18px; }
  .work-feature__caption { left: 12px; right: 12px; bottom: 12px; border-radius: 12px; padding: 14px 16px; gap: 3px; }
  .work-feature__title { font-size: 14.5px; }
  .works-side { grid-template-rows: none; gap: 14px; }
  .work-item { grid-template-columns: 120px 1fr; gap: 14px; }
  .work-item__img { width: 120px; height: 90px; border-radius: 12px; }
  .work-item__text { gap: 4px; }
  .work-item__title { font-size: 14px; }
  .work__cat { font-size: 11px; }

  /* News + Recruit */
  .news-recruit__inner { padding: 0; display: block; }
  .news { padding: 0 24px 48px; }
  .news__head { gap: 12px; margin-bottom: 14px; }
  .news__title { font-size: 21px; }
  .news__row { flex-wrap: wrap; gap: 6px 10px; padding: 14px 0; }
  .news__date { width: auto; font-size: 12px; }
  .tag { font-size: 10.5px; padding: 2px 10px; }
  .news__text { flex-basis: 100%; font-size: 13.5px; line-height: 1.7; }
  .recruit { margin: 0 20px 20px; border-radius: 18px; padding: 26px 24px; gap: 10px; }
  .recruit__label { font-size: 11px; }
  .recruit__title { font-size: 19px; }
  .recruit__text { font-size: 12.5px; }
  .recruit__btn { margin-top: 2px; padding: 10px 20px; font-size: 12.5px; }

  /* Contact */
  .contact { padding: 0 20px; }
  .contact__inner { border-radius: 18px; padding: 30px 24px; gap: 14px; align-items: stretch; }
  .contact__text { gap: 14px; }
  .contact__title { font-size: 20px; line-height: 1.6; }
  .contact__sub { font-size: 12.5px; }
  .contact__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .contact__tel { align-items: center; background: var(--c-white); color: var(--c-primary); border-radius: 999px; padding: 15px 0; }
  .contact__tel:hover { color: var(--c-primary); }
  .contact__tel-num { font-size: 18px; }
  .contact__form { margin-left: 0; background: none; color: var(--c-white); border: 1.5px solid rgba(255,255,255,.75); padding: 13px 0; text-align: center; font-size: 13.5px; }
  .contact__form:hover { color: var(--c-white); }

  /* Footer */
  .site-footer__inner { padding: 40px 24px 28px; gap: 20px; align-items: center; text-align: center; }
  .site-footer__top { align-items: center; gap: 20px; width: 100%; }
  .site-footer__brand { flex-direction: column; gap: 20px; }
  .site-footer__logo { height: 72px; }
  .site-footer__name { font-size: 16px; }
  .site-footer__addr { font-size: 12px; }
  .site-footer__links { width: 100%; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: 12px; }
  /* SP の並び：事業内容/施工実績、会社情報/採用情報、地域の皆さまへ/プライバシーポリシー */
  .fl-works { order: 1; } .fl-company { order: 2; } .fl-recruit { order: 3; } .fl-local { order: 4; } .fl-privacy { order: 5; }
  .site-footer__copy { font-size: 10.5px; padding-top: 16px; align-self: stretch; }
}

/* =========================================================
   ▼ 下層ページ共通（トップのデザインルールを継承した追加分）
   上記のトップページ(v11)の値は変更していません
   ========================================================= */
h3, h4, dl, dd, dt, figure, table, ol { margin: 0; }
ol { padding: 0; list-style: none; }
.gnav a[aria-current="page"] { color: var(--c-primary); font-weight: 700; }

/* 下層ページ見出し・パンくず */
.page-hero { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--pad-x-edge); }
.page-hero__inner { background: var(--c-bg-soft); border-radius: 28px; padding: 32px 64px 44px; display: flex; flex-direction: column; gap: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--c-meta); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--c-faint); }
.breadcrumb a:hover { color: var(--c-primary); }
.page-hero__titles { display: flex; flex-direction: column; gap: 12px; }
.page-hero__title { font-family: var(--ff-head); font-size: 29px; font-weight: 900; line-height: 1.55; }
.page-hero__lead { font-size: 14.5px; line-height: 2.1; color: var(--c-body); max-width: 780px; text-wrap: pretty; }

/* 本文エリア */
.page { max-width: var(--w-max); margin: 0 auto; padding: 64px var(--pad-x) 96px; display: flex; flex-direction: column; gap: 64px; }
.sec { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
.sec__title { font-family: var(--ff-head); font-size: 26px; font-weight: 900; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.sec__title .eyebrow { font-family: var(--ff-body); }
.prose-text { font-size: 14.5px; line-height: 2.2; color: var(--c-body); text-wrap: pretty; }
.prose-text--lg { font-size: 16px; line-height: 2; color: var(--c-text); }
.prose-text--muted { font-size: 12.5px; color: var(--c-muted); }
.note-red { color: #b3261e; }
.text-link { color: var(--c-primary); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.tel-big { font-family: var(--ff-head); font-size: 32px; font-weight: 900; letter-spacing: .04em; color: var(--c-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { color: var(--c-white); }
.btn--soft { background: var(--c-chip); color: var(--c-primary); }
.info-box { background: var(--c-bg-soft); border-radius: 20px; padding: 32px 36px; display: flex; flex-direction: column; gap: 10px; }
.info-box--center { align-items: center; text-align: center; padding: 48px 36px; gap: 20px; }

/* テーブル */
.table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; font-size: 14px; background: var(--c-white); }
.table th, .table td { padding: 16px 24px; text-align: left; vertical-align: top; line-height: 1.9; border-bottom: 1px solid var(--c-border); }
.table tr:last-child > th, .table tr:last-child > td { border-bottom: 0; }
.table--kv th { width: 220px; background: var(--c-bg-soft); color: var(--c-primary); font-weight: 700; white-space: nowrap; }
.table--kv td { color: var(--c-body); }
.table--narrow { max-width: 640px; }
.table--list thead th { background: var(--c-bg-soft); color: var(--c-primary); font-weight: 700; }
.table--list td { color: var(--c-body); }
.table--list tbody tr:last-child td { border-bottom: 0; }
.table--list td:last-child, .table--list th:last-child { white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.map iframe { width: 100%; height: 400px; border: 0; border-radius: 20px; }

/* 事業内容 */
.svc-list { display: flex; flex-direction: column; gap: 20px; }
.svc { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: center; background: var(--c-bg-soft); border-radius: 20px; padding: 20px; scroll-margin-top: 24px; position: relative; }
.svc__img { width: 100%; aspect-ratio: 680 / 333; object-fit: cover; border-radius: 14px; }
.svc__text { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; }
.svc__title { font-family: var(--ff-head); font-size: 22px; font-weight: 900; }
.svc__text p { font-size: 14.5px; line-height: 2.1; color: var(--c-body); }
.svc__text p.svc__note { font-size: 12.5px; color: var(--c-muted); }

/* 施工実績 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.case-card { display: flex; flex-direction: column; gap: 8px; transition: transform .2s; }
.case-card:hover { color: inherit; transform: translateY(-2px); }
.case-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--c-bg-soft); }
.case-card__title { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--c-text); }
.tabs { display: flex; gap: 8px; }
.tabs .chip { display: inline-block; }
.case-detail { display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: start; }
/* 写真は縦長でも全体が見えるよう、枠の比率は固定せず、画面の高さ(90vh)までの大きさで全体表示 */
.gallery__main { border-radius: 20px; overflow: hidden; background: var(--c-bg-soft); display: flex; align-items: center; justify-content: center; }
.gallery__main img { width: 100%; height: auto; max-height: min(90vh, 1100px); object-fit: contain; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery__thumb { width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--c-bg-soft); opacity: .75; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--c-primary); }
.info-card { background: var(--c-bg-soft); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 24px; }
.info-card__title { font-size: 14px; font-weight: 700; color: var(--c-primary); }
.info-card__list dt { font-size: 11px; font-weight: 700; color: var(--c-label); margin-top: 10px; }
.info-card__list dt:first-child { margin-top: 0; }
.info-card__list dd { font-size: 13px; color: var(--c-body); line-height: 1.7; }

/* お知らせ・記事 */
.page .news__row { color: inherit; }
.page .news__list li:hover .news__text { color: var(--c-primary); }
.article { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.article__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--c-meta); }

/* プライバシー */
.prose { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.prose p { font-size: 14px; line-height: 2; color: var(--c-body); }
.prose strong { color: var(--c-text); }
.prose__right { text-align: right; }
.frame-page { background: var(--c-white); }
.frame-privacy { padding: 16px 20px 24px; }
.frame-privacy__title { font-family: var(--ff-head); font-size: 18px; font-weight: 900; margin-bottom: 16px; }
.privacy-frame { width: 100%; height: 320px; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-white); }

/* フォーム */
.form { display: flex; flex-direction: column; gap: 28px; }
.form-table th { vertical-align: top; padding-top: 22px; }
.form-table td { padding: 14px 24px; }
.req { margin-left: 8px; background: var(--c-primary); color: var(--c-white); border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.input { width: 100%; border: 1.5px solid var(--c-border); border-radius: 12px; padding: 12px 16px; font: inherit; font-size: 15px; color: var(--c-text); background: var(--c-white); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(44,106,51,.15); }
.input--short { width: 160px; }
.input--mid { width: 240px; }
.input--area { resize: vertical; min-height: 160px; line-height: 1.8; }
.form-hint { margin-left: 10px; font-size: 12px; color: var(--c-muted); }
.form-error { color: #b3261e; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-alert { background: #fdecea; color: #b3261e; border-radius: 12px; padding: 14px 20px; font-size: 14px; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-row .btn { border: 0; }

/* 仮表示（ローカル／?temp=1 のときだけ強調。本番では見えない） */
body.show-temp [data-temp] { outline: 2px dashed #e08a00; outline-offset: 3px; }

@media (max-width: 1023px) {
  .page-hero__inner { padding: 28px 40px 40px; }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc__text { padding: 0 8px 8px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail { grid-template-columns: 1fr; gap: 20px; }
  .info-card { position: static; }
}
@media (max-width: 767px) {
  .page-hero { padding: 0 14px; }
  .page-hero__inner { border-radius: 22px; padding: 22px 22px 28px; gap: 16px; }
  .page-hero__titles { gap: 8px; }
  .page-hero__title { font-size: 17px; line-height: 1.6; }
  .page-hero .breadcrumb { display: none; }
  .page-hero__lead { font-size: 13px; line-height: 2; }
  .page { padding: 36px 20px 64px; gap: 44px; }
  .sec { gap: 18px; }
  .sec__title { font-size: 21px; }
  .prose-text { font-size: 13.5px; line-height: 2.1; }
  .prose-text--lg { font-size: 14px; }
  .tel-big { font-size: 24px; }
  .info-box { padding: 22px 20px; border-radius: 18px; }
  .info-box--center { padding: 30px 20px; }
  .table { font-size: 13px; border-radius: 14px; }
  .table--kv th, .table--kv td { display: block; width: auto; }
  .table--kv th { padding: 10px 16px 6px; border-bottom: 0; white-space: normal; }
  .table--kv td { padding: 4px 16px 14px; }
  .table--list th, .table--list td { padding: 12px 14px; }
  .map iframe { height: 300px; border-radius: 16px; }
  .svc { border-radius: 16px; padding: 14px; }
  .svc__title { font-size: 18px; }
  .svc__text p { font-size: 13px; line-height: 2; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .case-card__img { border-radius: 12px; }
  .case-card__title { font-size: 13px; }
  .gallery__main { border-radius: 16px; }
  .gallery__thumb { width: 64px; height: 48px; }
  .info-card { border-radius: 14px; padding: 16px 18px; }
  .form-table th { padding: 14px 16px 6px; }
  .form-table td { padding: 4px 16px 16px; }
  .input--short, .input--mid { width: 100%; }
  .form-hint { display: block; margin: 6px 0 0; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 0; min-width: 0; padding: 14px 10px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.5; }
  .btn-row .btn--soft { background: #e3eed8; }
  .privacy-frame { height: 260px; }
}

/* ---------- 江崎道路の強み ---------- */
.str-intro { max-width: 820px; gap: 16px; }
.str-intro__title { font-family: var(--ff-head); font-size: 30px; font-weight: 900; line-height: 1.6; margin-bottom: 8px; }
.str-list { display: flex; flex-direction: column; gap: 88px; }
.str { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 24px; }
.str--rev .str__media { order: 2; }
.str__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--c-bg-soft); }
.str__body { display: flex; flex-direction: column; gap: 16px; }
.str__head { display: flex; align-items: baseline; gap: 14px; }
.str__no { font-family: var(--ff-head); font-size: 44px; font-weight: 900; line-height: 1; color: var(--c-primary); }
.str__title { font-family: var(--ff-head); font-size: 32px; font-weight: 900; line-height: 1.4; }
.str__catch { font-size: 16px; font-weight: 700; line-height: 1.8; color: var(--c-primary); }
.str__points { background: var(--c-bg-soft); border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.str__points li { position: relative; padding-left: 22px; font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--c-text); }
.str__points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.str-close { background: var(--c-bg-soft); border-radius: 28px; padding: 48px 56px; align-items: flex-start; }
.str-close__title { font-family: var(--ff-head); font-size: 26px; font-weight: 900; line-height: 1.6; }
a.strength { transition: transform .2s, box-shadow .2s; }
a.strength:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,60,32,.08); }

@media (max-width: 1023px) {
  .str { grid-template-columns: 1fr; gap: 24px; }
  .str--rev .str__media { order: 0; }
  .str-list { gap: 64px; }
}
@media (max-width: 767px) {
  .str-intro__title { font-size: 21px; }
  .str-list { gap: 52px; }
  .str__media img { border-radius: 16px; }
  .str__body { gap: 12px; }
  .str__no { font-size: 34px; }
  .str__title { font-size: 24px; }
  .str__catch { font-size: 14.5px; }
  .str__points { padding: 16px 18px; border-radius: 14px; }
  .str__points li { font-size: 13px; }
  .str-close { border-radius: 18px; padding: 28px 22px; }
  .str-close__title { font-size: 19px; }
}

/* ---------- 見出し構造の見直し（見た目は変更しない） ----------
   span/p → h1〜h3 へタグを変えても、ブラウザ標準の margin・文字サイズ・太さが
   出ないようにここで吸収する。各見出しクラスは従来どおりの値を持つ。 */
h1, h2, h3, h4 { margin: 0; }
.brand-h1 { margin: 0; font: inherit; }                 /* トップのみ H1（ヘッダーの社名） */
.strength__title, .biz-card__title, .work-feature__title, .work-item__title,
.case-card__title, .str__title { margin: 0; }
.biz-card__desc, .work__cat, .work__meta { margin: 0; }

/* スキップリンク（キーボード操作時のみ表示） */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--c-white); color: var(--c-primary); font-weight: 700; padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { left: 12px; top: 12px; }
main:focus { outline: none; }

/* プライバシー本文：条文見出し（従来の太字行と同じ見た目） */
.prose__sec { display: flex; flex-direction: column; gap: 22px; }
.prose__h2 { font-size: 14px; font-weight: 700; line-height: 2; color: var(--c-text); margin-bottom: -22px; }
.prose__art { display: flex; flex-direction: column; }
.prose__art p + p { margin-top: 22px; }
.prose__h3 { font-size: 14px; font-weight: 700; line-height: 2; color: var(--c-text); }

/* ---------- 事業内容ページ（強みページの .str を共用） ---------- */
.str__points--titled { gap: 12px; }
.str__points--titled ul { display: flex; flex-direction: column; gap: 10px; }
.str__points-title { font-size: 13px; font-weight: 700; color: var(--c-primary); letter-spacing: .06em; }

/* 個人のお客様へ（淡いグリーンで区別・過度にカジュアルにしない） */
.owner { background: var(--c-bg-soft); border-radius: 28px; padding: 56px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: center; scroll-margin-top: 24px; }
.owner__text { display: flex; flex-direction: column; gap: 16px; }
.owner__card { background: var(--c-white); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.owner__card-title { font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.7; }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--c-text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--c-white); border-bottom: 2px solid var(--c-white); transform: rotate(-45deg); }
.owner__foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--c-border); }
.owner__foot { padding-top: 28px; }

@media (max-width: 1023px) {
  .owner { grid-template-columns: 1fr; padding: 44px 40px; gap: 28px; }
}
@media (max-width: 767px) {
  .owner { border-radius: 18px; padding: 28px 22px; gap: 22px; }
  .owner__card { border-radius: 16px; padding: 22px 20px; }
  .owner__card-title { font-size: 14px; }
  .check-list li { font-size: 13px; padding-left: 30px; }
  .owner__foot { padding-top: 22px; }
}

/* 有資格者：dt/dd を2列グリッドにし、人数(右列)を右揃えで縦にそろえる */
.qual-list { display: grid; grid-template-columns: max-content max-content; justify-content: start; max-width: 100%; }
.qual-list > div { display: contents; }
.qual-list dt { color: var(--c-body); padding-right: 28px; }   /* 列間は padding にして合計行の罫線を途切れさせない */
.qual-list dd { text-align: right; font-variant-numeric: tabular-nums; color: var(--c-body); }
.qual-list__total dt, .qual-list__total dd { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--c-border); font-weight: 700; color: var(--c-text); }
/* 保有機械・工事用車両 */
.sr-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table--equip .is-sub th, .table--equip .is-sub td { background: var(--c-bg-soft); font-weight: 700; }
.table--equip .is-total th, .table--equip .is-total td { font-weight: 900; border-top: 2px solid var(--c-primary); }

/* 注意書き（控えめなグレー） */
.notice-note { background: #f3f4f3; border-radius: 12px; padding: 16px 20px; margin: 24px 0 20px; font-size: 13px; line-height: 1.9; color: var(--c-body); }
.notice-note p { margin: 0; }
.notice-note__title { font-weight: 700; font-size: 13px; margin-bottom: 4px !important; color: var(--c-body); }
@media (max-width: 560px) { .notice-note { padding: 14px 16px; font-size: 12.5px; } }
