@charset "UTF-8";
/* ==========================================================================
   株式会社パートナー設備 公式サイト 共通スタイル
   - 色を変えたい場合は :root のカラー変数だけを書き換えてください
   - スマートフォン優先（幅360px以上で崩れないこと）
   ========================================================================== */

:root {
  --c-main: #075985;      /* メイン（濃い青） */
  --c-main-dark: #05445f; /* ホバー用の濃い青 */
  --c-sub: #0ea5a8;       /* サブ（アクセントの青緑・文字色には使わない） */
  --c-ink: #16324f;       /* 本文の濃色文字 */
  --c-ink-soft: #40566e;  /* 補足文字（白背景で4.5:1以上） */
  --c-bg: #f5f9fc;        /* 背景 */
  --c-line: #d7e3ec;      /* 罫線 */
  --c-cta: #e96b24;       /* 電話ボタン */
  --c-cta-hover: #cf5a17; /* 電話ボタンのホバー時 */
  --c-white: #ffffff;

  --container: 1080px;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(22, 50, 79, .08);
  --shadow-lg: 0 6px 24px rgba(22, 50, 79, .12);

  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
          "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-white);
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-main); }
a:hover { color: var(--c-main-dark); }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 共通パーツ ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-main);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 0; }
.skip-link:focus-visible { outline-color: #fff; }

:focus-visible {
  outline: 3px solid var(--c-cta);
  outline-offset: 2px;
}
/* 濃い青の上ではオレンジの枠が沈むので白にする */
.hero :focus-visible,
.cta :focus-visible,
.page-head :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

/* 固定ヘッダーの下にアンカーの着地点が隠れないようにする。
   --header-h は main.js が実際のヘッダーの高さを入れる。
   JavaScriptが動かない場合でも隠れないよう、既定値は大きめにしてある。 */
[id] { scroll-margin-top: calc(var(--header-h, 140px) + 16px); }
/* JavaScriptが動かない場合、スマートフォン幅ではメニューが開いたまま表示され
   ヘッダーが高くなるので、そのぶん余白を取る */
@media (max-width: 768px) {
  .no-js [id] { scroll-margin-top: 320px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 999px;
  /* 19px以上にしているのは、オレンジ地に白文字（3.18:1）でも
     WCAG AA の「大きい文字」基準（3:1）を満たすため。小さくしないこと。 */
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.btn-tel {
  background: var(--c-cta);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-tel:hover, .btn-tel:focus { background: var(--c-cta-hover); color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--c-main);
  border: 2px solid var(--c-main);
}
.btn-outline:hover, .btn-outline:focus { background: #eaf3f8; color: var(--c-main-dark); }
.icon-phone { display: inline-flex; }

.section { padding: 56px 0; }
.section-bg { background: var(--c-bg); }
.section-title {
  font-size: 26px;
  line-height: 1.5;
  color: var(--c-main);
  text-align: center;
  margin-bottom: 8px;
}
.section-lead {
  text-align: center;
  color: var(--c-ink-soft);
  margin-bottom: 32px;
}
.section-title + .section-lead { margin-top: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.logo { margin-right: auto; }
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-main);
}
.logo-mark { color: var(--c-sub); display: inline-flex; }
.logo-text { display: flex; flex-direction: column; }
.logo-text-main {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--c-main);
}
.logo-text-sub {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  color: var(--c-main);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.global-nav ul { display: flex; gap: 4px; }
.global-nav a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  min-height: 48px;
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
}
.global-nav a:hover { background: var(--c-bg); color: var(--c-main); }
.global-nav .is-current a { color: var(--c-main); box-shadow: inset 0 -3px 0 var(--c-sub); }

.header-contact { display: flex; align-items: center; gap: 14px; }
.header-tel { text-decoration: none; color: var(--c-main); text-align: right; }
.header-tel-label { display: block; font-size: 12px; color: var(--c-ink-soft); line-height: 1.4; }
.header-tel-number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}
.header-tel-btn { min-height: 48px; padding: 10px 18px; font-size: 19px; }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7, 89, 133, .92) 0%, rgba(7, 89, 133, .86) 100%),
    url("../img/hero-water.svg") center / cover no-repeat,
    var(--c-main);
  color: #fff;
  padding: 56px 0 48px;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero h1 .hero-h1-sub { display: block; font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.hero-lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.9;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .btn-outline { background: #fff; }
.hero-tel-note { margin-top: 14px; font-size: 15px; }

/* ---------- 公的登録 ---------- */
.badges { padding: 32px 0; background: var(--c-bg); }
.badges-title {
  text-align: center;
  font-size: 18px;
  color: var(--c-main);
  margin-bottom: 20px;
}
.badge-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.badge-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e6f6f6;
  color: var(--c-main);
  display: grid;
  place-items: center;
}
.badge-text { font-weight: 700; font-size: 16px; line-height: 1.5; }
.badge-note { display: block; font-weight: 400; font-size: 13px; color: var(--c-ink-soft); }

/* ---------- 事業内容カード ---------- */
.card-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eaf3f8;
  color: var(--c-main);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 20px;
  color: var(--c-main);
  margin-bottom: 8px;
  line-height: 1.5;
}
.card p { font-size: 16px; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 700; }
.card-link a { display: inline-block; padding: 8px 2px; }

/* ---------- 流れ ---------- */
.flow {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: flow;
}
.flow li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
}
.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.flow h3 { font-size: 18px; color: var(--c-main); margin-bottom: 4px; }
.flow p { font-size: 15px; color: var(--c-ink-soft); line-height: 1.8; }

/* ---------- 会社案内サマリ ---------- */
.company-summary {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
.info-table th, .info-table td {
  border-bottom: 1px solid var(--c-line);
  padding: 14px 4px;
  text-align: left;
  vertical-align: top;
  font-size: 16px;
}
.info-table th {
  width: 38%;
  color: var(--c-main);
  font-weight: 700;
  white-space: nowrap;
}
.info-table td { color: var(--c-ink); }

/* ---------- 最終CTA ---------- */
.cta {
  background: linear-gradient(180deg, #0b6a9c 0%, var(--c-main) 100%);
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.cta h2 { font-size: 26px; line-height: 1.6; margin-bottom: 8px; }
.cta p { font-size: 17px; }
.cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 22px 0 8px;
  color: #fff;
  text-decoration: none;
}
.cta-tel-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}
.cta-tel-label { font-size: 15px; }
.cta .btn { margin-top: 12px; }

/* ---------- 下層ページ ---------- */
.page-head {
  background: var(--c-main);
  color: #fff;
  padding: 36px 0;
}
.page-head h1 { font-size: 28px; line-height: 1.5; }
.page-head p { margin-top: 8px; font-size: 16px; }

.breadcrumb {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-block: 4px;
}
.breadcrumb li + li::before { content: "＞"; margin-right: 6px; color: var(--c-ink-soft); }
.breadcrumb a { color: var(--c-main); display: inline-block; padding: 10px 0; }
.breadcrumb [aria-current="page"] { color: var(--c-ink-soft); }

.prose { max-width: 800px; }
.prose h2 {
  font-size: 24px;
  color: var(--c-main);
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 5px solid var(--c-sub);
  line-height: 1.5;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--c-main); margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; font-size: 17px; }
.prose ul { margin: 0 0 16px; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.hero-tel-note a, .map-links a {
  display: inline-block;
  padding: 8px 2px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-sub);
}
.notice {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-left: 5px solid var(--c-sub);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 16px;
  margin: 24px 0;
}

.service-block {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.service-block h2 {
  margin-top: 0;
  border-left: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-block .card-icon { margin-bottom: 0; width: 48px; height: 48px; }

/* ---------- 地図 ---------- */
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.map-frame.is-loaded { display: block; padding: 0; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder p { font-size: 15px; color: var(--c-ink-soft); margin-bottom: 14px; }
.no-js .map-frame { display: none; }
.map-links { margin-top: 12px; font-size: 15px; }

/* ---------- 電話カード（お問い合わせ） ---------- */
.tel-card {
  background: #fff;
  border: 2px solid var(--c-cta);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}
.tel-card-label { font-size: 16px; color: var(--c-ink-soft); }
.tel-card-number {
  display: inline-block;
  font-size: 38px;
  font-weight: 700;
  color: var(--c-main);
  letter-spacing: .02em;
  line-height: 1.3;
  text-decoration: none;
  margin: 6px 0 14px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--c-ink);
  color: #e8eef4;
  padding: 40px 0 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.footer-name { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-address, .footer-business { font-size: 15px; }
.footer-tel a {
  display: inline-block;
  padding: 9px 2px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.footer-nav ul { display: grid; gap: 2px; }
.footer-nav a {
  display: inline-block;
  padding: 10px 2px;
  color: #e8eef4;
  font-size: 15px;
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copyright {
  margin-top: 32px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  font-size: 13px;
  color: #c8d5e0;
}

/* ---------- クレアマネジメント バックリンクバナー ---------- */
.footer-backlink {
  display: flex;
  justify-content: center;
  padding: 18px 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #04151e;
}
.crea-backlink-banner {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 460px);
  min-height: 84px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(232, 91, 140, .22);
  border-radius: 14px;
  background: #fff;
  color: #24343c;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.crea-backlink-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 91, 140, .55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}
.crea-backlink-logo {
  width: 86px;
  height: 59px;
  object-fit: contain;
}
.crea-backlink-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.crea-backlink-copy small {
  color: #708087;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.crea-backlink-copy strong {
  color: #d84f82;
  font-size: 16px;
  line-height: 1.45;
}
.crea-backlink-arrow {
  color: #78ad43;
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease;
}
.crea-backlink-banner:hover .crea-backlink-arrow { transform: translateX(3px); }

/* ---------- 画面下に固定する電話ボタン（スマートフォンのみ） ---------- */
.fixed-tel-bar { display: none; }

/* ==========================================================================
   タブレット
   ========================================================================== */
@media (max-width: 900px) {
  .badge-list { grid-template-columns: 1fr; }
  .card-list { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .company-summary { grid-template-columns: 1fr; }
}

/* 1100px以下ではヘッダーの電話番号テキストを隠す（隠さないと2段に折り返して高くなる）。
   電話ボタンは残るので、かけられなくなることはない。 */
@media (max-width: 1100px) {
  .header-tel { display: none; }
}

/* ==========================================================================
   スマートフォン
   ========================================================================== */
@media (max-width: 768px) {
  body { font-size: 16px; padding-bottom: 84px; }

  .header-inner { padding-block: 8px; }
  .logo-text-main { font-size: 17px; }
  .logo-text-sub { display: none; }

  .nav-toggle { display: inline-flex; order: 2; }
  .no-js .nav-toggle { display: none; }
  .header-contact { display: none; }

  .global-nav {
    order: 3;
    width: 100%;
    display: none;
    border-top: 1px solid var(--c-line);
    margin-top: 8px;
    padding-top: 8px;
  }
  .global-nav.is-open { display: block; }
  .no-js .global-nav { display: block; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav a {
    min-height: 52px;
    font-size: 17px;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
  }
  .global-nav li:last-child a { border-bottom: none; }
  .global-nav .is-current a { box-shadow: inset 4px 0 0 var(--c-sub); }

  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 24px; }
  .hero h1 .hero-h1-sub { font-size: 18px; }
  .hero-lead { font-size: 16px; margin-top: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .card-list, .flow { grid-template-columns: 1fr; }
  .card h3 { font-size: 19px; }

  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; padding-bottom: 0; white-space: normal; }
  .info-table td { padding-top: 4px; }

  .cta { padding: 40px 0; }
  .cta h2 { font-size: 22px; }
  .cta-tel-number { font-size: 34px; }

  .page-head { padding: 28px 0; }
  .page-head h1 { font-size: 23px; }
  .prose h2 { font-size: 21px; }
  .prose p { font-size: 16px; }
  .service-block { padding: 22px 18px; }
  .service-block h2 { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tel-card-number { font-size: 32px; }

  .footer-inner { flex-direction: column; gap: 22px; }

  .fixed-tel-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -2px 12px rgba(22, 50, 79, .12);
  }
  .fixed-tel-btn {
    width: 100%;
    min-height: 60px;
    font-size: 19px;
    gap: 10px;
  }
  .fixed-tel-number { font-size: 19px; font-weight: 700; }
}

@media (max-width: 380px) {
  .fixed-tel-number { display: none; }
  .logo-text-main { font-size: 15.5px; }
  .cta-tel-number { font-size: 30px; }
  .footer-backlink { padding-inline: 14px; }
  .crea-backlink-banner {
    grid-template-columns: 72px 1fr auto;
    gap: 10px;
    padding-right: 12px;
  }
  .crea-backlink-logo { width: 72px; height: 50px; }
  .crea-backlink-copy strong { font-size: 14px; }
  .crea-backlink-copy small { font-size: 9px; letter-spacing: .1em; }
}

/* ==========================================================================
   2026 visual renewal — 写真主役の信頼感ある設備会社サイト
   ========================================================================== */
:root {
  --c-main: #0b607d;
  --c-main-dark: #073f55;
  --c-sub: #0fa7a3;
  --c-ink: #102c3a;
  --c-ink-soft: #526b77;
  --c-bg: #f2f7f8;
  --c-line: #dce7e9;
  --c-cta: #ed6b2c;
  --c-cta-hover: #d85a1f;
  --c-night: #081e29;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 12px 36px rgba(8, 30, 41, .08);
  --shadow-lg: 0 24px 70px rgba(8, 30, 41, .16);
}

body {
  color: var(--c-ink);
  background: #fff;
  letter-spacing: .01em;
}

.container { padding-inline: 28px; }

.section { padding: 92px 0; }
.section-bg {
  background:
    radial-gradient(circle at 85% 10%, rgba(15, 167, 163, .09), transparent 30%),
    var(--c-bg);
}
.section-title {
  margin-bottom: 12px;
  color: var(--c-ink);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: .04em;
}
.section-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: var(--c-sub);
}
.section-lead { margin-bottom: 46px; font-size: 17px; }

.btn {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 12px;
  box-shadow: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-tel { box-shadow: 0 10px 28px rgba(237, 107, 44, .24); }
.btn-outline { border-color: rgba(11, 96, 125, .42); }

/* Glass header */
.site-header {
  border-bottom-color: rgba(16, 44, 58, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 26px rgba(8, 30, 41, .05);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; padding-block: 8px; }
.logo a { gap: 12px; }
.logo-mark {
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #dff9f7, #e5f2f7);
}
.logo-text-main { color: var(--c-ink); font-size: 20px; font-weight: 800; }
.logo-text-sub { letter-spacing: .04em; }
.global-nav ul { gap: 8px; }
.global-nav a { padding-inline: 13px; font-size: 15px; }
.global-nav .is-current a { box-shadow: inset 0 -2px 0 var(--c-sub); }
.header-tel-number { color: var(--c-ink); }
.header-tel-btn { border-radius: 10px; }

/* Photographic hero */
.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 116px;
  background: var(--c-night);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 25, 35, .98) 0%, rgba(5, 32, 44, .93) 38%, rgba(5, 32, 44, .62) 61%, rgba(5, 32, 44, .12) 100%),
    linear-gradient(0deg, rgba(4, 25, 35, .26), transparent 45%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .18);
}
.hero-inner { position: relative; max-width: var(--container); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #b9e9e6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
}
.hero-kicker span { width: 30px; height: 2px; background: var(--c-sub); }
.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: .025em;
  text-wrap: balance;
}
.hero h1 .hero-h1-sub {
  margin-bottom: 12px;
  color: #dff6f5;
  font-size: clamp(19px, 2.1vw, 25px);
  letter-spacing: .08em;
}
.hero-lead {
  max-width: 590px;
  margin-top: 24px;
  color: #d7e6ea;
  font-size: 19px;
}
.hero-actions { margin-top: 34px; }
.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero-actions .btn-outline:hover { background: #fff; color: var(--c-main-dark); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 34px;
  color: #d6e5e9;
  font-size: 14px;
  font-weight: 700;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dd7d0;
  box-shadow: 0 0 0 4px rgba(93, 215, 208, .12);
}
.hero-tel-note { margin-top: 18px; color: #c4d8df; }
.hero-tel-note a { color: #fff; font-weight: 800; }

/* Certifications bridge hero and content */
.badges { padding: 0 0 62px; background: var(--c-bg); }
.badges .container { position: relative; transform: translateY(-46px); margin-bottom: -46px; }
.badges-title { margin-bottom: 18px; color: #fff; font-size: 17px; letter-spacing: .03em; }
.badge-list { gap: 16px; }
.badge {
  min-height: 112px;
  border: 0;
  border-top: 3px solid var(--c-sub);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.badge-icon { width: 44px; height: 44px; background: #e4f7f6; }
.badge-text { color: var(--c-ink); }

/* Service photography cards */
.card-list { gap: 24px; }
.card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dfe9eb;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(5, 28, 38, .22));
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.card-number {
  position: absolute;
  right: 26px;
  top: 22px;
  color: #d9e8eb;
  font-size: 34px !important;
  font-weight: 800;
  line-height: 1;
}
.card h3 { position: relative; margin-bottom: 10px; color: var(--c-ink); font-size: 22px; }
.card h3::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 12px; background: var(--c-sub); }
.card-link { padding-top: 18px; }
.card-link a { text-decoration: none; }

/* Process */
.flow { gap: 18px; }
.flow li {
  min-height: 228px;
  border: 0;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 30px rgba(8, 30, 41, .06);
}
.flow li::before { width: 40px; height: 40px; background: var(--c-sub); }
.flow h3 { margin-top: 8px; color: var(--c-ink); font-size: 19px; }

/* Company preview and profile */
.company-summary { grid-template-columns: 1fr 1fr; gap: 42px; align-items: stretch; }
.company-summary .info-table { align-self: center; }
.company-summary-visual {
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: var(--c-night);
  box-shadow: var(--shadow);
}
.company-summary-visual > img { width: 100%; height: 260px; object-fit: cover; object-position: 70% center; }
.company-summary-copy { padding: 28px 30px 30px; color: #e5eff2; }
.company-summary-copy .btn-outline { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.company-summary-copy .btn-outline:hover { background: #fff; color: var(--c-main-dark); }

.company-profile-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 40px; align-items: start; }
.company-profile-media {
  position: sticky;
  top: calc(var(--header-h, 84px) + 28px);
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--c-night);
  box-shadow: var(--shadow);
}
.company-profile-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 69% center; }
.company-profile-media figcaption { padding: 18px 20px; color: #dfecef; font-size: 14px; }
.info-table { overflow: hidden; border-radius: 16px; }
.info-table th, .info-table td { padding: 17px 10px; }
.info-table th { color: var(--c-main-dark); }

/* Inner page visuals */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 300px;
  padding: 54px 0;
  background-color: var(--c-night);
  background-position: center;
  background-size: cover;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 27, 38, .96), rgba(5, 35, 48, .72) 60%, rgba(5, 35, 48, .28));
}
.page-services .page-head { background-image: url("../img/service-drainage.webp"); background-position: center 52%; }
.page-company .page-head { background-image: url("../img/hero-craftsmanship.webp"); background-position: center 43%; }
.page-contact .page-head { background-image: url("../img/service-water.webp"); background-position: center 46%; }
.page-privacy .page-head { background-image: url("../img/service-septic.webp"); background-position: center 48%; }
.page-head h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: .08em; }
.page-head p { max-width: 660px; color: #d7e6ea; font-size: 17px; }
.breadcrumb { border: 0; background: #edf4f5; }
.breadcrumb ol { padding-block: 6px; }

.prose { max-width: 880px; }
.prose h2 { color: var(--c-ink); border-left-color: var(--c-sub); }
.prose h3 { color: var(--c-ink); }
.notice { border: 0; border-left: 4px solid var(--c-sub); border-radius: 14px; }

.service-block {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  margin: 52px 0;
  box-shadow: var(--shadow);
}
.service-block-media { min-height: 100%; margin: 0; background: #dfe8ea; }
.service-block-media img { width: 100%; height: 100%; object-fit: cover; }
.service-block-content { padding: 38px 42px 40px; }
.service-label { margin-bottom: 8px; color: #087875; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.service-block h2 { color: var(--c-ink); font-size: 28px; }
.service-block .card-icon { flex: 0 0 auto; background: #e3f4f4; }

/* CTA and footer */
.cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(15, 167, 163, .26), transparent 30%),
    linear-gradient(135deg, #0a4f6a, #071e2a 72%);
}
.cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -280px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(255,255,255,.025), 0 0 0 124px rgba(255,255,255,.018);
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-tel-number { font-size: 46px; }
.site-footer { background: #061923; padding-top: 54px; }
.footer-inner { padding-bottom: 8px; }
.footer-name { font-size: 21px; }
.footer-image-note { margin-top: 12px; color: #9fb3bb; font-size: 12px; }

@media (max-width: 900px) {
  .container { padding-inline: 24px; }
  .section { padding: 72px 0; }
  .company-summary, .company-profile-grid { grid-template-columns: 1fr; }
  .company-profile-media { position: static; }
  .company-profile-media img { aspect-ratio: 16 / 9; }
  .service-block { grid-template-columns: 1fr; }
  .service-block-media { min-height: 300px; }
}

@media (max-width: 768px) {
  .container { padding-inline: 20px; }
  .header-inner { min-height: 68px; }
  .logo-mark { width: 34px; height: 34px; }
  .nav-toggle { border-radius: 10px; }

  .hero { min-height: 600px; padding: 62px 0 64px; }
  .hero-media img { object-position: 62% center; }
  .hero::before {
    background: linear-gradient(90deg, rgba(4, 25, 35, .96), rgba(4, 30, 42, .87) 62%, rgba(4, 30, 42, .57));
  }
  .hero h1 { max-width: 560px; font-size: clamp(34px, 10vw, 44px); }
  .hero h1 .hero-h1-sub { font-size: 18px; }
  .hero-lead { font-size: 17px; line-height: 1.8; }
  .hero-actions { margin-top: 28px; }
  .hero-trust { gap: 9px 15px; margin-top: 28px; }

  .badges { padding: 30px 0 46px; }
  .badges .container { transform: none; margin-bottom: 0; }
  .badges-title { color: var(--c-main-dark); }
  .badge { min-height: 0; box-shadow: 0 10px 30px rgba(8,30,41,.07); }

  .section { padding: 62px 0; }
  .section-title { font-size: 29px; }
  .section-lead { margin-bottom: 34px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card:hover { transform: none; }
  .card-body { padding: 24px 24px 26px; }
  .flow li { min-height: 0; }

  .company-summary-visual { min-height: 0; }
  .company-summary-visual > img { height: 230px; }

  .page-head { min-height: 250px; padding: 44px 0; }
  .page-head h1 { font-size: 34px; }
  .page-head p { font-size: 16px; }
  .service-block { margin: 36px 0; }
  .service-block-media { min-height: 0; aspect-ratio: 16 / 10; }
  .service-block-content { padding: 28px 22px 30px; }
  .service-block h2 { flex-direction: row; align-items: center; font-size: 24px; }

  .cta { padding: 62px 0; }
  .cta-tel-number { font-size: 36px; }
  .fixed-tel-bar { padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); }
  .fixed-tel-btn { min-height: 48px; background: #ad3f09; }
  .fixed-tel-btn:hover { background: #963506; }
}

@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .logo { min-width: 0; max-width: calc(100% - 108px); }
  .logo a { gap: 8px; }
  .logo-mark { width: 30px; height: 30px; flex: 0 0 auto; }
  .logo-mark svg { width: 17px; }
  .logo-text { min-width: 0; }
  .logo-text-main { font-size: 15px; white-space: nowrap; }
  .nav-toggle { margin-left: auto; padding: 7px 10px; font-size: 14px; }
  .hero { min-height: 570px; }
  .hero-kicker { font-size: 12px; letter-spacing: .1em; }
  .hero h1 { font-size: 32px; }
  .hero-company-prefix, .hero-company-name { display: block; }
  .hero-trust { font-size: 12px; }
  .card-number { font-size: 28px !important; }
  .service-block h2 { align-items: flex-start; }
  .fixed-tel-btn { flex-wrap: nowrap; padding-inline: 12px; font-size: 17px; white-space: nowrap; }
  .fixed-tel-number { font-size: 17px; }
}

/* ==========================================================================
   印刷
   ========================================================================== */
@media print {
  .fixed-tel-bar, .nav-toggle, .global-nav, .skip-link { display: none !important; }
  body { color: #000; font-size: 12pt; padding-bottom: 0; }
  .hero, .cta, .page-head { background: #fff !important; color: #000 !important; }
}
