@charset "UTF-8";
/* ====================================================================
   株式会社カズミック  ホームページ B案
   共通スタイルシート
   ・白基調 ＋ 濃紺（ロゴカラー）の文字
   ・丸ゴシックでやわらかく、余白は広めに
   ・写真はグリッドで見せる
   ==================================================================== */

/* ===== 1. デザイン変数 ============================================ */
:root {
  /* 色 */
  --navy:        #16224E;   /* ロゴの濃紺（見出し・主要ボタン） */
  --navy-deep:   #0C1430;   /* さらに濃い紺（フッター等） */
  --navy-mid:    #2E3E72;   /* ホバー時 */
  --ink:         #3A4149;   /* 本文 */
  --ink-light:   #6E7783;   /* 補足文 */
  --accent:      #9B8D77;   /* 差し色（ベージュ系・ラベルや罫線） */
  --accent-deep: #7E7261;
  --bg:          #FFFFFF;
  --bg-soft:     #F8F8F6;   /* うすいベージュグレー */
  --bg-tint:     #EDEFF3;   /* うすい青グレー */
  --line:        #E2E5EA;
  --line-soft:   #EFF1F4;

  /* フォント */
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", "ヒラギノ角ゴ ProN",
             "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック体",
             "Meiryo", sans-serif;
  --font-round: "Zen Maru Gothic", "ヒラギノ丸ゴ ProN",
                "Hiragino Maru Gothic ProN", var(--font-jp);
  --font-en: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* 寸法 */
  --container: 1120px;
  --header-h: 108px;      /* PC：ロゴ段 ＋ メニュー段 */
  --header-h-sp: 64px;
  --radius: 8px;
  --shadow: 0 18px 40px -24px rgba(22, 34, 78, .28);
  --shadow-soft: 0 10px 24px -18px rgba(22, 34, 78, .35);
}

/* ===== 2. リセット ================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;      /* 横スクロール防止 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
h1, h2, h3, h4 {
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.55;
  margin: 0;
  letter-spacing: .04em;
  /* 見出しの行の長さをそろえ、最後に1文字だけ残る折り返しを防ぐ */
  text-wrap: balance;
  word-break: auto-phrase;   /* 日本語を語句のまとまりで改行する */
}
p { margin: 0; }
/* 本文も、最終行に1文字だけ残らないようにする */
p, li, dd, dt, summary { text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
iframe { border: 0; max-width: 100%; }

/* ===== 3. 共通レイアウト ========================================== */
.l-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.l-container--narrow { max-width: 860px; }

.sec { padding: 96px 0; position: relative; background: var(--bg); }
.sec--soft  { background: var(--bg-soft); }
.sec--tint  { background: var(--bg-tint); }
.sec--navy  { background: var(--navy); color: #fff; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--tight { padding: 72px 0; }

/* 斜めの区切り（見本サイトの雰囲気） */
.tilt-top { position: relative; }
.tilt-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -34px;
  height: 70px;
  background: inherit;
  transform: skewY(-1deg);
  z-index: 0;
}
.tilt-top > * { position: relative; z-index: 1; }

/* 見出しブロック */
.sec-head { margin-bottom: 48px; }
.sec-head--center { text-align: center; }
.sec-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sec--navy .sec-head__en { color: #C9BCA4; }
.sec-head__ttl {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .05em;
}
.sec-head--center .sec-head__ttl::after {
  content: "";
  display: block;
  width: 44px; height: 3px;
  border-radius: 3px;
  background: var(--accent);
  margin: 20px auto 0;
}
.sec-head__lead {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-light);
}
.sec-head--center .sec-head__lead { max-width: 720px; margin-inline: auto; }
.sec--navy .sec-head__lead { color: rgba(255,255,255,.78); }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); }
.btn__arrow { font-family: var(--font-en); font-size: 17px; line-height: 1; }
.btn--ghost { background: #fff; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--bg-soft); border-color: var(--bg-soft); color: var(--navy); }
.btn--wide { min-width: 300px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* 表示アニメーション
   （JavaScript が動く環境でのみ適用。動かない場合は最初から表示されます） */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-shown { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }
.js .reveal.d3 { transition-delay: .36s; }
.js .reveal.d4 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== 4. ヘッダー ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hd-upper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.hd-logo { display: flex; align-items: center; gap: 14px; }
.hd-logo img { width: 92px; height: auto; }
.hd-logo__txt { display: block; line-height: 1.35; }
.hd-logo__ja {
  display: block;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
}
.hd-logo__en {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-light);
}
.hd-right { display: flex; align-items: center; gap: 18px; }
.hd-tel { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.hd-tel svg { width: 22px; height: 22px; flex: none; }
.hd-tel__num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.1;
}
.hd-tel__num small { font-family: var(--font-jp); font-size: 12px; font-weight: 400; margin-left: 4px; }
.hd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
}
.hd-cta:hover { background: var(--navy-mid); }

.gnav { border-top: 1px solid var(--line-soft); }
.gnav__list { display: flex; justify-content: center; flex-wrap: wrap; }
.gnav__list a {
  display: block;
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .06em;
  position: relative;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.gnav__list a:hover { color: var(--navy); }
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__list a[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* ハンバーガー（スマホ） */
.hd-menu-btn {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  position: relative;
}
.hd-menu-btn span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .2s;
}
.hd-menu-btn span:nth-child(1) { top: 16px; }
.hd-menu-btn span:nth-child(2) { top: 22px; }
.hd-menu-btn span:nth-child(3) { top: 28px; }
.hd-menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hd-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.hd-menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(12,20,48,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #fff;
  padding: 84px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__list { border-top: 1px solid var(--line); }
.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.drawer__list a span { font-family: var(--font-en); color: var(--accent); font-size: 15px; }
.drawer__contact { margin-top: 28px; display: grid; gap: 12px; }
.drawer__tel {
  display: block;
  padding: 16px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  text-align: center;
}
.drawer__tel .lbl { display: block; font-size: 11px; letter-spacing: .2em; color: var(--ink-light); }
.drawer__tel .num { display: block; font-family: var(--font-en); font-size: 26px; font-weight: 600; color: var(--navy); }

/* ===== 5. ヒーロー（トップページ） ================================ */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s linear;
}
.hero__slide.is-active img { transform: scale(1.09); }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.62) 42%, rgba(255,255,255,.06) 74%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__ttl {
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 18px rgba(255,255,255,.6);
}
/* 社名を大きく見せる（下にアクセントの線を敷く） */
.hero__ttl .brand {
  display: inline-block;
  position: relative;
  font-size: 1.3em;
  line-height: 1.1;
  letter-spacing: .02em;
  padding: 0 .04em .12em;
}
.hero__ttl .brand::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: .07em;
  border-radius: 99px;
  background: var(--accent);
}
.hero__lead {
  font-size: 16px;
  line-height: 2.15;
  color: var(--ink);
  max-width: 620px;
  margin-bottom: 34px;
  text-shadow: 0 2px 14px rgba(255,255,255,.85);
}
.hero__dots { display: flex; gap: 10px; margin-top: 36px; }
.hero__dots button {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  border-radius: 4px;
  background: rgba(22,34,78,.24);
  transition: background .25s;
}
.hero__dots button.is-active { background: var(--navy); }

/* ===== 6. 下層ページの見出し帯 ==================================== */
.page-head { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-head__bg { position: absolute; inset: 0; opacity: .32; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head__inner { position: relative; z-index: 1; padding: 72px 0 64px; }
.page-head__en {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  color: #C9BCA4;
  margin-bottom: 10px;
}
.page-head__ttl { color: #fff; font-size: clamp(24px, 4vw, 40px); letter-spacing: .06em; }
.page-head__lead { margin-top: 16px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 2; }

.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; font-size: 12px; color: var(--ink-light); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--accent); }
.breadcrumb a:hover { color: var(--navy); }

/* ===== 7. メッセージ（画像＋文章） ================================ */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-row--reverse .media-row__img { order: 2; }
.media-row__img { position: relative; }
.media-row__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-row__img .tag {
  position: absolute;
  left: -12px; bottom: 24px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .22em;
  padding: 10px 18px;
  border-radius: 4px;
}
.media-row__body h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.7; margin-bottom: 24px; }
.media-row__body p { font-size: 15px; line-height: 2.15; margin-bottom: 18px; }
.media-row__body .btn-row { margin-top: 30px; }

/* ===== 8. 3つのご提案 ============================================= */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFD6E2; }
.prop-card__pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.prop-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prop-card:hover .prop-card__pic img { transform: scale(1.06); }
.prop-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.prop-card__num { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.prop-card__ttl { font-size: 20px; }
.prop-card__txt { font-size: 14px; line-height: 2; color: var(--ink-light); }
.prop-card__link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-round);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.prop-card__link span { font-family: var(--font-en); color: var(--accent); }

/* ===== 9. 事業内容（アイコン4列） ================================= */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 30px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.biz-card__ic {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: grid;
  place-items: center;
  color: var(--navy);
}
.biz-card__ic svg { width: 30px; height: 30px; }
.biz-card h3 { font-size: 18px; margin-bottom: 10px; }
.biz-card p { font-size: 13px; line-height: 1.95; color: var(--ink-light); }

/* ===== 10. 施工事例カード ========================================= */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.works-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.works-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.works-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.works-card__pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-tint); position: relative; }
.works-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.works-card:hover .works-card__pic img { transform: scale(1.06); }
.works-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(22,34,78,.86);
  color: #fff;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .16em;
  padding: 5px 12px;
  border-radius: 999px;
}
.works-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.works-card__ttl { font-size: 17px; line-height: 1.6; }
.works-card__txt { font-size: 13px; line-height: 1.95; color: var(--ink-light); }

/* ===== 11. 取引実績 =============================================== */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.client-card__lbl { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.client-card__name { font-size: 19px; margin: 8px 0 16px; }
.client-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.client-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.client-note { margin-top: 24px; font-size: 12.5px; color: var(--ink-light); }

/* 取引実績ページ：会社名の一覧 */
.client-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.client-chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.client-chips li:has(a):hover { border-color: var(--navy); background: var(--navy); }
.client-chips li:has(a):hover a { color: #fff; }

/* ===== 12. 補助金バナー =========================================== */
.subsidy-band { background: linear-gradient(120deg, #F4F1EA 0%, #EDEFF3 100%); }
.subsidy-band .media-row { gap: 56px; }
.subsidy-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.subsidy-points { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 6px; }
.subsidy-points li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  min-width: 150px;
}
.subsidy-points .k { font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; color: var(--accent); }
.subsidy-points .v { font-family: var(--font-round); font-weight: 700; font-size: 17px; color: var(--navy); }
.subsidy-points .v small { font-size: 12px; font-weight: 400; color: var(--ink-light); margin-left: 3px; }

/* ===== 13. お問い合わせフォーム =================================== */
.formsec { position: relative; background: var(--bg-tint); overflow: hidden; }
.formsec__bg { position: absolute; inset: 0; opacity: .16; }
.formsec__bg img { width: 100%; height: 100%; object-fit: cover; }
.formsec > .l-container { position: relative; z-index: 1; }
.form-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-frame {
  width: 100%;
  height: 1250px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.form-frame iframe { width: 100%; height: 100%; display: block; }
.form-note { margin-top: 18px; font-size: 13px; color: var(--ink-light); line-height: 1.95; }

/* ===== 14. 電話CTA =============================================== */
.tel-cta { background: var(--navy); color: #fff; padding: 72px 0; }
.tel-cta__inner { text-align: center; }
.tel-cta__ttl { color: #fff; font-size: clamp(21px, 3vw, 28px); margin-bottom: 14px; }
.tel-cta__txt { color: rgba(255,255,255,.78); font-size: 15px; margin-bottom: 30px; }
.tel-cta__row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: stretch; }
.tel-cta__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 24px 40px;
  min-width: 280px;
  transition: background .2s, border-color .2s;
}
.tel-cta__card:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.42); }
/* ラベル・番号・補足を1行ずつに分ける（中途半端な位置で折り返さないように） */
.tel-cta__card .lbl,
.tel-cta__card .num,
.tel-cta__card .ttl,
.tel-cta__card .sub { display: block; }
.tel-cta__card .lbl { font-family: var(--font-en); font-size: 11px; letter-spacing: .26em; color: #C9BCA4; }
.tel-cta__card .num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;   /* 電話番号と（代）を途中で折り返さない */
}
.tel-cta__card .num small { font-family: var(--font-jp); font-size: 13px; font-weight: 400; opacity: .8; margin-left: 4px; }
.tel-cta__card .sub { font-size: 13px; color: rgba(255,255,255,.72); white-space: nowrap; }
.tel-cta__card .ttl {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  margin: 4px 0;
  white-space: nowrap;   /* メールアドレスを途中で折り返さない */
}

/* ===== 15. フッター ============================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-logo img { width: 88px; }
.footer-logo .ja { font-family: var(--font-round); font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .06em; }
.footer-logo .en { font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.footer-addr { line-height: 2; font-size: 13.5px; }
.footer-addr a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-addr a:hover { color: #C9BCA4; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.footer-nav a {
  display: block;
  padding: 7px 0 7px 16px;
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.footer-nav a::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 6px; height: 6px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  transform: rotate(45deg);
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 20px 0 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.footer-bottom a:hover { color: #fff; }

/* ===== 16. スマホ固定バー／ページトップ ========================== */
.fixed-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px -12px rgba(0,0,0,.35);
}
.fixed-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-family: var(--font-round);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
}
.fixed-bar a + a { background: var(--accent); }
.fixed-bar svg { width: 20px; height: 20px; }

.pagetop {
  position: fixed;
  right: 20px; bottom: 24px;
  z-index: 91;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
  box-shadow: var(--shadow-soft);
}
.pagetop.is-shown { opacity: .92; visibility: visible; }
.pagetop:hover { background: var(--navy-mid); }
.pagetop svg { width: 18px; height: 18px; }

/* ===== 17. 表組み・沿革・FAQ など下層パーツ ====================== */
.def-table { border-top: 1px solid var(--line); }
.def-table__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
.def-table dt {
  padding: 20px 24px;
  background: var(--bg-soft);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.def-table dd { padding: 20px 24px; font-size: 15px; line-height: 1.95; }
.def-table--compact .def-table__row { grid-template-columns: 110px 1fr; }
.def-table--compact dt { padding: 14px 16px; font-size: 14px; }
.def-table--compact dd { padding: 14px 16px; font-size: 14.5px; }
.def-table dd a { border-bottom: 1px solid var(--line); }
.def-table dd a:hover { color: var(--navy); }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.timeline__year { font-family: var(--font-en); font-size: 22px; font-weight: 600; color: var(--navy); }
.timeline__year small { font-family: var(--font-jp); font-size: 12px; color: var(--ink-light); margin-left: 8px; }
.timeline__ttl { font-size: 17px; margin: 4px 0 6px; }
.timeline__txt { font-size: 14px; line-height: 1.95; color: var(--ink-light); }

.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 24px;
  position: relative;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 27px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-item__a { padding: 0 24px 22px; font-size: 14.5px; line-height: 2; color: var(--ink); }
.faq-item__a a { border-bottom: 1px solid var(--line); }

.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  position: relative;
}
.flow-step__num {
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.flow-step h3 { font-size: 16px; margin-bottom: 8px; }
.flow-step p { font-size: 13px; line-height: 1.9; color: var(--ink-light); }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.info-card__ic {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.info-card__ic svg { width: 26px; height: 26px; }
.info-card__lbl { font-family: var(--font-en); font-size: 11px; letter-spacing: .22em; color: var(--accent); }
.info-card__val { font-family: var(--font-en); font-size: 27px; font-weight: 600; color: var(--navy); line-height: 1.4; word-break: break-all; }
.info-card__val--mail { font-size: 17px; }
.info-card__note { font-size: 13px; color: var(--ink-light); margin-top: 8px; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.map-frame iframe { width: 100%; height: 380px; display: block; }

.lineup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lineup li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ink);
}

.policy-block { margin-bottom: 40px; }
.policy-block h2 { font-size: 20px; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.policy-block p { font-size: 15px; line-height: 2.1; margin-bottom: 12px; }
.policy-block ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 2;
}
.policy-block ul li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.policy-meta {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 14.5px;
  line-height: 2;
}
.policy-meta a { border-bottom: 1px solid var(--line); }

.notice-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-light);
}

/* 施工事例ページのカテゴリー見出し */
.cat-block { margin-bottom: 72px; }
.cat-block:last-child { margin-bottom: 0; }
.cat-hero { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.cat-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.cat-hero__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 32px 28px;
  background: linear-gradient(to top, rgba(12,20,48,.88), rgba(12,20,48,0));
  color: #fff;
}
.cat-hero__en { font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: #C9BCA4; }
.cat-hero__ttl { color: #fff; font-size: clamp(20px, 3vw, 28px); margin-top: 4px; }
.cat-block__txt { margin: 24px 0 28px; font-size: 15px; line-height: 2.1; }

/* 採用：ポイントカード */
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.point-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.point-card__pic { aspect-ratio: 16 / 10; overflow: hidden; }
.point-card__pic img { width: 100%; height: 100%; object-fit: cover; }
.point-card__body { padding: 24px 24px 28px; }
.point-card__num { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.point-card__body h3 { font-size: 18px; margin: 6px 0 10px; }
.point-card__body p { font-size: 14px; line-height: 2; color: var(--ink-light); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  color: #fff;
}
.pills--light li { background: #fff; border-color: var(--line); color: var(--navy); }

/* 長い工事名・住所などを語句のまとまりで折り返す */
.client-card__list li,
.works-card__txt,
.prop-card__txt,
.biz-card p,
.flow-step p,
.point-card__body p,
.info-card__note,
.cat-block__txt,
.def-table dd,
.footer-addr,
.policy-block li { word-break: auto-phrase; }

/* ===== 18. レスポンシブ ========================================== */
@media (max-width: 1024px) {
  .sec { padding: 72px 0; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .media-row { gap: 40px; }
  .hd-tel__num { font-size: 22px; }
  .gnav__list a { padding: 14px 16px; font-size: 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: var(--header-h-sp); }
  .hd-upper { padding: 9px 0; }
  .hd-logo img { width: 68px; }
  .hd-logo__ja { font-size: 15px; }
  .hd-logo__en { font-size: 9px; }
  .hd-tel, .hd-cta, .gnav { display: none; }
  .hd-menu-btn { display: block; }

  .hero__inner { min-height: 0; padding: 56px 0 48px; }
  .hero::after {
    background: linear-gradient(170deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 48%, rgba(255,255,255,.35) 100%);
  }
  .hero__label { font-size: 11px; letter-spacing: .04em; padding: 7px 16px; }
  .hero__ttl { font-size: 27px; line-height: 1.6; }
  .hero__lead { font-size: 14.5px; line-height: 2; }
  .hero__dots { margin-top: 28px; }

  .media-row, .media-row--reverse { grid-template-columns: 1fr; gap: 28px; }
  .media-row--reverse .media-row__img { order: 0; }
  .media-row__img .tag { left: 12px; bottom: 12px; }

  .prop-grid, .point-grid, .info-cards, .client-grid { grid-template-columns: 1fr; gap: 20px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid--2 { grid-template-columns: 1fr; gap: 20px; }

  .def-table__row { grid-template-columns: 1fr; }
  .def-table dt { padding: 14px 18px; }
  .def-table dd { padding: 14px 18px; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  /* 幅が足りないときは自動で1列に落とす（項目名が途中で折り返さないように） */
  .footer-nav { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
  .footer-bottom { padding-bottom: 88px; }

  .fixed-bar { display: grid; }
  .pagetop { bottom: 72px; right: 14px; width: 42px; height: 42px; }

  .form-panel { padding: 24px 18px; }
  .form-frame { height: 1400px; }
  .map-frame iframe { height: 300px; }
  .cat-hero img { aspect-ratio: 16 / 10; }
  .cat-hero__cap { padding: 22px 20px 18px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .sec { padding: 56px 0; }
  .sec--tight { padding: 48px 0; }
  .l-container { padding-inline: 18px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head__lead { font-size: 14px; }
  .btn { min-height: 52px; padding: 12px 24px; font-size: 14px; width: 100%; }
  .btn--wide { min-width: 0; }
  .btn-row { width: 100%; }

  .works-grid { grid-template-columns: 1fr; gap: 18px; }
  .biz-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .biz-card { padding: 24px 14px 22px; }
  .biz-card__ic { width: 52px; height: 52px; }
  .biz-card h3 { font-size: 15px; }
  .biz-card p { font-size: 12px; }
  .flow-grid { grid-template-columns: 1fr; }
  .subsidy-points li { flex: 1 1 100%; }

  .tel-cta__card { min-width: 0; width: 100%; padding: 20px 18px; }
  .tel-cta__card .num { font-size: 28px; }
  .tel-cta__card .num small { font-size: 12px; }
  .tel-cta__card .ttl { font-size: 16px; }
  .tel-cta__card .sub { font-size: 12px; }
  .tel-cta__row { flex-direction: column; }
  .info-card__val { font-size: 24px; }
  .info-card__val--mail { font-size: 15px; }

  /* フッターのメニューが2列になる幅では、長い項目が折り返さないよう少し詰める */
  .footer-nav a { font-size: 13px; padding-left: 14px; }
  .footer-nav a::before { top: 15px; }

  .timeline { padding-left: 24px; }
  .faq-item summary { font-size: 15px; padding: 16px 46px 16px 18px; }
  .faq-item__a { padding: 0 18px 18px; font-size: 14px; }
  .policy-block h2 { font-size: 18px; }
  .form-frame { height: 1500px; }
}
