@charset "UTF-8";

/* 機能目的: サイト全体で使用する色・余白・影などの共通変数を定義する */
:root {
  --color-primary: #075a9c;
  --color-primary-dark: #053761;
  --color-primary-deep: #062d52;
  --color-primary-soft: #eaf5ff;
  --color-accent: #17a2d8;
  --color-text: #172333;
  --color-muted: #5d6c7c;
  --color-border: #d8e5f1;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f8fc;
  --color-white: #ffffff;
  --shadow-card: 0 18px 45px rgba(5, 55, 97, 0.14);
  --shadow-soft: 0 10px 28px rgba(5, 55, 97, 0.09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --header-height: 78px;
}

/* 機能目的: ブラウザ差による余白や幅計算の崩れを抑える */
*, *::before, *::after { box-sizing: border-box; }

/* 機能目的: ページ全体の基本表示と横スクロール防止を設定する */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  color: var(--color-text);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.8;
  background: var(--color-bg);
}

/* 機能目的: 画像・動画・地図が親要素からはみ出さないようにする */
img, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.84; }
button, input, select, textarea { font: inherit; }
main, section { width: 100%; min-width: 0; }

/* 機能目的: 各ページの本文幅を統一し、レスポンシブ時は左右余白を抑える */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 92px 0; }
.section-light { background: var(--color-bg-soft); }
.center-actions { display: flex; justify-content: center; margin-top: 34px; }
.align-left { text-align: left !important; margin-left: 0 !important; }

/* 機能目的: 共通見出しデザインを定義する */
.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-heading h2,
.access-content h2,
.philosophy-main h2,
.message-box h2,
.recruit-detail-layout h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.05em;
}
.section-heading p,
.access-content p,
.philosophy-main p,
.message-box p,
.recruit-detail-layout p { color: var(--color-muted); }
.section-kicker {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* 機能目的: 共通ボタンの視認性とクリックしやすさを確保する */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  box-shadow: 0 12px 28px rgba(3, 92, 159, 0.25);
}
.btn-ghost {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.68);
  background: rgba(255,255,255,0.1);
}
.btn-outline-blue {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-white);
}
.text-link { color: var(--color-primary); font-weight: 800; text-decoration: underline; }

/* 機能目的: ヘッダーを固定表示し、ハンバーガーメニューと下層リンクを管理する */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 229, 241, 0.9);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.header-inner {
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 248px;
}
.site-logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 8px 18px rgba(7, 90, 156, 0.24);
}
.site-logo-text { display: grid; gap: 1px; }
.site-logo-main { font-size: 1.02rem; font-weight: 900; letter-spacing: 0.06em; }
.site-logo-sub { color: var(--color-muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; }
.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 800;
}
.global-nav > a,
.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 0;
  color: var(--color-text);
}
.nav-contact {
  padding: 8px 16px !important;
  color: var(--color-white) !important;
  border-radius: 999px;
  background: var(--color-primary);
}
.nav-group { position: relative; }
.nav-group-trigger {
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-submenu a:hover { background: var(--color-primary-soft); opacity: 1; }
.nav-group:hover .nav-submenu,
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 機能目的: TOPページの写真付きファーストビューを表示する */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-primary-dark);
}
.top-hero { min-height: calc(100vh - var(--header-height)); display: grid; align-items: center; }
.hero-media, .page-hero-media { position: absolute; inset: 0; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay, .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,55,97,0.88), rgba(5,55,97,0.58), rgba(5,55,97,0.28));
}
.hero-inner { position: relative; z-index: 1; padding: 96px 0; }
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 14px;
  color: #dff6ff;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
}
.hero-lead,
.page-hero-inner p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-hero { min-height: 390px; display: grid; align-items: center; }
.page-hero-inner { position: relative; z-index: 1; padding: 72px 0; }

/* 機能目的: TOP画像直下のお知らせ帯を表示する */
.top-news-band {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(5, 55, 97, 0.08);
}
.top-news-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}
.top-news-title { display: grid; gap: 0; color: var(--color-primary); font-weight: 900; }
.top-news-title span { font-size: 0.72rem; letter-spacing: 0.18em; }
.top-news-items { display: grid; gap: 8px; min-width: 0; }
.top-news-items a { display: flex; gap: 14px; min-width: 0; color: var(--color-text); }
.top-news-items time { color: var(--color-primary); font-weight: 800; white-space: nowrap; }
.top-news-items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-news-more { color: var(--color-primary); font-weight: 900; }

/* 機能目的: TOPから各ページへ移動するカード型ボタンを表示する */
.page-gateway-section { background: linear-gradient(180deg, #ffffff, #f7fbff); }
.page-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.page-gateway-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.page-gateway-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 18px;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 900;
}
.page-gateway-card span { color: var(--color-primary); font-size: 0.82rem; font-weight: 900; letter-spacing: 0.15em; }
.page-gateway-card strong { font-size: 1.35rem; }
.page-gateway-card small { color: var(--color-muted); font-weight: 700; }

/* 機能目的: 会社の主要実績を数字で表示する */
.stats-section { padding: 54px 0; background: var(--color-primary-deep); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  padding: 28px 18px;
  text-align: center;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
}
.stat-card span { display: block; font-size: clamp(1.6rem, 3vw, 2.45rem); font-weight: 900; line-height: 1.2; }
.stat-card p { margin: 10px 0 0; color: rgba(255,255,255,0.82); font-weight: 800; }

/* 機能目的: 大手建設会社風に会社の強みを見出しとカードで整理する */
.split-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 34px; align-items: start; }
.feature-list { display: grid; gap: 16px; }
.feature-list article,
.info-panel,
.message-box,
.philosophy-card-grid article,
.recruit-point-list article,
.news-entry,
.contact-card,
.contact-form,
.privacy-document {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.feature-list article { padding: 24px; }
.feature-list span { color: var(--color-primary); font-size: 0.8rem; font-weight: 900; letter-spacing: 0.16em; }
.feature-list h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.feature-list p { margin: 0; color: var(--color-muted); }

/* 機能目的: サービスカードを整列して表示する */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-primary-soft);
}
.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--color-white);
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}
.service-card h3, .service-card p { position: relative; }
.service-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--color-muted); }

/* 機能目的: TOPアクセス部分を地図と基本情報カードで見栄えよく表示する */
.access-section { background: linear-gradient(180deg, var(--color-bg-soft), #ffffff); }
.access-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}
.access-content { padding: 22px; }
.access-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.access-info-grid div {
  padding: 16px;
  border-radius: 16px;
  background: var(--color-primary-soft);
}
.access-info-grid span { display: block; color: var(--color-primary); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; }
.access-info-grid strong { display: block; margin-top: 4px; line-height: 1.55; }
.access-actions .btn-ghost { color: var(--color-primary); border-color: var(--color-primary); background: var(--color-white); }
.access-map-card {
  display: grid;
  min-height: 530px;
}
.access-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 530px;
  border: 0;
  border-radius: 22px;
  background: var(--color-bg-soft);
}
.map-section { height: 440px; }
.map-section iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 機能目的: 下層ページの理念・会社情報・表・沿革を表示する */
.philosophy-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.philosophy-card-grid { display: grid; gap: 16px; }
.philosophy-card-grid article { padding: 24px; }
.philosophy-card-grid span { color: var(--color-primary); font-weight: 900; }
.philosophy-card-grid h3 { margin: 6px 0 8px; }
.philosophy-card-grid p { margin: 0; color: var(--color-muted); }
.message-box { padding: 38px; max-width: 900px; margin: 0 auto; }
.signature { color: var(--color-text) !important; font-weight: 900; text-align: right; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.info-table th,
.info-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  overflow-wrap: anywhere;
  word-break: normal;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 210px; color: var(--color-primary-dark); background: var(--color-primary-soft); }
.timeline { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.timeline-item time { color: var(--color-primary); font-weight: 900; }
.timeline-item h3 { margin: 0 0 6px; }
.timeline-item p { margin: 0; color: var(--color-muted); }

/* 機能目的: 詳細ページの画像付きカードを表示する */
.service-detail-grid { display: grid; gap: 28px; }
.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}
.detail-card.reverse img { order: 2; }
.detail-card img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.detail-card div { padding: 42px; }
.detail-card span { color: var(--color-primary); font-weight: 900; letter-spacing: 0.15em; }
.detail-card h2 { margin: 8px 0 14px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.detail-card p { color: var(--color-muted); }
.detail-card a { color: var(--color-primary); font-weight: 900; text-decoration: underline; }
.area-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 36px;
  color: var(--color-white);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: var(--shadow-card);
}
.area-box h2 { margin: 8px 0 12px; font-size: 2rem; }
.area-box p { color: rgba(255,255,255,0.88); }
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.area-tags span { display: inline-flex; padding: 10px 15px; color: var(--color-primary-dark); font-weight: 900; border-radius: 999px; background: var(--color-white); }

/* 機能目的: 品質・設備ページのカードと写真を表示する */
.quality-page-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.quality-lead-card,
.photo-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-white); box-shadow: var(--shadow-soft); overflow: hidden; }
.quality-lead-card { padding: 34px; background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); color: var(--color-white); }
.quality-lead-card .section-kicker { color: #bde8ff; }
.quality-lead-card h2 { margin: 8px 0 10px; font-size: clamp(2rem, 4vw, 3rem); }
.quality-lead-card p { color: rgba(255,255,255,0.86); }
.large-number { margin: 12px 0 !important; color: var(--color-white) !important; font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.1; }
.photo-card img { width: 100%; height: 240px; object-fit: cover; }
.photo-card div { padding: 24px; }
.photo-card h3 { margin: 0 0 8px; }
.photo-card p { margin: 0; color: var(--color-muted); }
.two-column-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-panel { padding: 28px; }
.info-panel h2 { margin: 0 0 14px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--color-muted); }
.check-list li + li { margin-top: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 900; }

/* 機能目的: 実績・採用・お知らせページをカード形式で表示する */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.works-grid article { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-white); box-shadow: var(--shadow-soft); }
.works-grid img { width: 100%; height: 230px; object-fit: cover; }
.works-grid h3, .works-grid p { margin-left: 22px; margin-right: 22px; }
.works-grid h3 { margin-top: 22px; }
.works-grid p { margin-bottom: 24px; color: var(--color-muted); }
.recruit-detail-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 30px; align-items: start; }
.recruit-point-list { display: grid; gap: 16px; }
.recruit-point-list article { padding: 24px; }
.recruit-point-list span { color: var(--color-primary); font-weight: 900; }
.recruit-point-list h3 { margin: 6px 0 8px; }
.recruit-point-list p { margin: 0; color: var(--color-muted); }
.news-page-list { display: grid; gap: 18px; max-width: 920px; }
.news-entry { padding: 28px; }
.news-entry time { color: var(--color-primary); font-weight: 900; }
.news-entry span { display: inline-flex; margin-left: 10px; padding: 3px 10px; color: var(--color-primary-dark); font-size: 0.78rem; font-weight: 900; border-radius: 999px; background: var(--color-primary-soft); }
.news-entry h2 { margin: 12px 0 8px; }
.news-entry p { margin: 0; color: var(--color-muted); }

/* 機能目的: 問い合わせフォームと入力補助表示を整える */
.contact-layout { display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-card, .contact-form { padding: 28px; }
.contact-card h2 { margin: 0 0 12px; color: var(--color-primary-dark); }
.contact-card p { margin: 8px 0 0; color: var(--color-muted); }
.contact-tel a { color: var(--color-primary); font-size: 2rem; font-weight: 900; line-height: 1.2; }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row label { font-weight: 900; }
.form-row label span { display: inline-flex; margin-left: 6px; padding: 2px 7px; color: var(--color-white); font-size: 0.72rem; border-radius: 999px; background: #d33b3b; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(7,90,156,0.12); }
.form-row textarea { min-height: 180px; resize: vertical; }
.privacy-check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 18px; color: var(--color-muted); }
.privacy-check input { width: 18px; height: 18px; margin-top: 5px; flex: 0 0 auto; }
.privacy-check a { color: var(--color-primary); font-weight: 900; text-decoration: underline; }
.form-message { min-height: 1.5em; margin: 0 0 16px; color: #d33b3b; font-weight: 900; }
.form-message.is-success { color: #147a42; }
.form-submit { width: 100%; border: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* 機能目的: プライバシーポリシー本文を読みやすく表示する */
.privacy-page { padding: 72px 0 92px; background: var(--color-bg-soft); }
.privacy-document { padding: 42px; }
.privacy-document h2 { margin: 32px 0 10px; color: var(--color-primary-dark); }
.privacy-document h2:first-child { margin-top: 0; }
.privacy-document p, .privacy-document li { color: var(--color-muted); }

/* 機能目的: 下部CTAとフッターを表示する */
.cta-section { padding: 82px 0; color: var(--color-white); background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); }
.cta-box { text-align: center; }
.cta-box p { margin: 0; color: #bde8ff; font-weight: 900; letter-spacing: 0.18em; }
.cta-box h2 { margin: 8px auto 0; max-width: 780px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.35; }
.cta-box .hero-actions { justify-content: center; }
.site-footer { color: var(--color-white); background: var(--color-primary-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr); gap: 28px; padding: 40px 0; }
.footer-logo { margin: 0 0 8px; font-size: 1.2rem; font-weight: 900; }
.footer-grid p { margin: 4px 0; color: rgba(255,255,255,0.82); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 16px; font-size: 0.92rem; font-weight: 800; }
.copyright { margin: 0; padding: 14px 20px; color: rgba(255,255,255,0.72); text-align: center; border-top: 1px solid rgba(255,255,255,0.12); }
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  place-items: center;
  min-width: 72px;
  height: 46px;
  padding: 0 14px;
  color: var(--color-white);
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 12px 28px rgba(5,55,97,0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.page-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }


/* 機能目的: 大手建設会社風の上質感を追加し、既存レイアウトを保ったまま見栄えを高める */
body {
  background:
    radial-gradient(circle at 8% 6%, rgba(23, 162, 216, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

/* 機能目的: ヘッダーに薄い光沢と奥行きを追加し、企業サイトらしい安定感を出す */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 162, 216, 0.5), transparent);
}

.site-logo-mark {
  position: relative;
  overflow: hidden;
}

.site-logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.38), transparent 48%);
}

.nav-contact {
  box-shadow: 0 10px 22px rgba(7, 90, 156, 0.22);
}

/* 機能目的: TOP画像に濃紺の奥行きと控えめな斜めラインを重ね、力強い第一印象にする */
.hero-overlay,
.page-hero-overlay {
  background:
    linear-gradient(115deg, rgba(4, 38, 69, 0.94) 0%, rgba(5, 55, 97, 0.78) 45%, rgba(5, 55, 97, 0.3) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 22px);
}

.hero-copy {
  position: relative;
  padding-left: 22px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: min(100%, 260px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent), rgba(255,255,255,0.25));
}

.hero h1,
.page-hero h1 {
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

/* 機能目的: 見出し下に短いライン装飾を追加し、ページ全体の統一感を高める */
.section-heading h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: translateX(-50%);
}

.section-heading.align-left h2::after {
  left: 0;
  transform: none;
}

/* 機能目的: 主要カードに高級感のある境界線とhover時の浮き上がりを追加する */
.page-gateway-card,
.service-card,
.feature-list article,
.stat-card,
.info-panel,
.message-box,
.philosophy-card-grid article,
.recruit-point-list article,
.news-entry,
.contact-card,
.contact-form,
.access-showcase,
.detail-card,
.photo-card,
.works-grid article {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-gateway-card:hover,
.service-card:hover,
.feature-list article:hover,
.info-panel:hover,
.message-box:hover,
.philosophy-card-grid article:hover,
.recruit-point-list article:hover,
.news-entry:hover,
.contact-card:hover,
.access-showcase:hover,
.detail-card:hover,
.photo-card:hover,
.works-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 162, 216, 0.42);
  box-shadow: 0 24px 58px rgba(5, 55, 97, 0.15);
}

.page-gateway-card {
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.75), rgba(255,255,255,0.96) 42%),
    var(--color-white);
}

.page-gateway-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.feature-list article {
  position: relative;
  overflow: hidden;
}

.feature-list article::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(23, 162, 216, 0.08);
}

.top-news-band {
  border-top: 1px solid rgba(23, 162, 216, 0.18);
}

.top-news-title strong {
  letter-spacing: 0.08em;
}

.top-news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-news-more::after {
  content: "→";
  font-weight: 900;
}

/* 機能目的: アクセス欄に薄い青のグラデーションを重ね、地図と情報カードを上品に見せる */
.access-showcase {
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 162, 216, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

.access-info-grid div {
  border: 1px solid rgba(7, 90, 156, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.access-map-card iframe {
  box-shadow: inset 0 0 0 1px rgba(7, 90, 156, 0.1);
}

/* 機能目的: スマートフォンでは装飾の余白を抑え、表示幅を崩さない */
@media (max-width: 768px) {
  .hero-copy {
    padding-left: 16px;
  }

  .hero-copy::before {
    width: 3px;
    height: min(100%, 220px);
  }

  .section-heading h2 {
    display: block;
  }

  .section-heading h2::after {
    left: 0;
    transform: none;
  }
}

/* 機能目的: タブレット幅でカード・表・地図が横にはみ出ないよう調整する */
@media (max-width: 1080px) {
  .global-nav { gap: 10px; font-size: 0.84rem; }
  .site-logo { min-width: 225px; }
  .page-gateway-grid, .stats-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout,
  .access-showcase,
  .philosophy-layout,
  .detail-card,
  .quality-page-grid,
  .two-column-panels,
  .recruit-detail-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .detail-card.reverse img { order: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .access-map-card { min-height: 0; }
}

/* 機能目的: スマートフォン時にハンバーガーメニューを開閉式にし、左右余白を抑える */
@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .container { width: 100%; padding-left: 14px; padding-right: 14px; }
  .section { padding: 68px 0; }
  .header-inner { width: 100%; padding-left: 12px; padding-right: 12px; }
  .site-logo { min-width: auto; }
  .site-logo-main { font-size: 0.94rem; }
  .site-logo-sub { font-size: 0.64rem; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 8px;
    right: 8px;
    display: grid;
    gap: 0;
    max-height: calc(100vh - var(--header-height) - 16px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }
  .global-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .global-nav > a,
  .nav-group-trigger {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
  }
  .nav-contact { justify-content: center !important; margin-top: 8px; border-bottom: 0 !important; }
  .nav-group { border-bottom: 1px solid var(--color-border); }
  .nav-group-trigger { border-bottom: 0; }
  .nav-submenu {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    padding: 0 0 8px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-group:hover .nav-submenu { transform: none; }
  .nav-group.is-open .nav-submenu { display: grid; transform: none; }
  .nav-submenu a { padding: 9px 12px; color: var(--color-primary-dark); }
  .top-hero { min-height: auto; }
  .hero-inner { padding: 76px 0; }
  .hero h1, .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .top-news-inner { grid-template-columns: 1fr; gap: 10px; padding: 16px 14px; }
  .top-news-items a { display: grid; gap: 2px; }
  .top-news-items span { white-space: normal; }
  .page-gateway-grid, .stats-grid, .works-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 24px 16px; }
  .section-heading { text-align: left; margin-bottom: 34px; }
  .access-showcase { padding: 14px; border-radius: 22px; }
  .access-content { padding: 10px; }
  .access-info-grid { grid-template-columns: 1fr; }
  .access-map-card { min-height: 300px; }
  .access-map-card iframe { min-height: 300px; border-radius: 18px; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { border-bottom: 1px solid var(--color-border); }
  .info-table tr:last-child { border-bottom: 0; }
  .info-table th, .info-table td { border-bottom: 0; padding: 14px 16px; }
  .info-table th { width: 100%; padding-bottom: 6px; }
  .info-table td { padding-top: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .detail-card img { min-height: 260px; }
  .detail-card div, .quality-lead-card, .photo-card div, .contact-card, .contact-form, .privacy-document, .message-box { padding: 24px; }
  .area-box { grid-template-columns: 1fr; padding: 26px; }
  .area-tags span { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* 機能目的: 小型スマートフォンでロゴやボタンがはみ出ないようにする */
@media (max-width: 480px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .site-logo-mark { width: 40px; height: 40px; }
  .site-logo-main { font-size: 0.88rem; }
  .site-logo-sub { display: none; }
  .page-hero { min-height: 330px; }
  .page-gateway-card { min-height: 142px; padding: 22px; }
  .contact-tel a { font-size: 1.55rem; }
  .page-top { right: 12px; bottom: 12px; min-width: 64px; height: 42px; font-size: 0.84rem; }
}


/* 機能目的: 固定ナビゲーション化に合わせて本文の開始位置を調整し、追尾ヘッダーを実現する */
html {
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-height);
  background-color: #c7cccf;
  background-image:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.14) 8%, transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(111, 120, 126, 0.12) 0%, transparent 24%),
    radial-gradient(circle at 26% 78%, rgba(255,255,255,0.10) 0%, transparent 22%),
    radial-gradient(circle at 72% 70%, rgba(96, 106, 114, 0.08) 0%, transparent 25%),
    linear-gradient(155deg, #d3d7d9 0%, #c7ccd0 34%, #bbc1c5 100%);
}

/* 機能目的: 生コンの流れや表面の揺らぎをページ全体の背景に控えめに追加する */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
}

body::before {
  z-index: -2;
  opacity: 0.62;
  background:
    radial-gradient(ellipse at 20% 24%, rgba(255,255,255,0.26) 0%, transparent 22%),
    radial-gradient(ellipse at 72% 26%, rgba(255,255,255,0.14) 0%, transparent 28%),
    radial-gradient(ellipse at 42% 68%, rgba(95, 103, 110, 0.12) 0%, transparent 24%),
    radial-gradient(ellipse at 78% 78%, rgba(255,255,255,0.10) 0%, transparent 20%),
    linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 24%, rgba(87, 95, 103, 0.10) 50%, rgba(255,255,255,0.08) 100%);
  filter: blur(8px);
  animation: raw-concrete-flow 20s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: 0.28;
  background:
    repeating-linear-gradient(132deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(28deg, rgba(96,104,112,0.07) 0 1px, transparent 1px 34px);
  mix-blend-mode: soft-light;
  animation: raw-concrete-sheen 14s linear infinite;
}

@keyframes raw-concrete-flow {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.02);
  }
  50% {
    transform: translate3d(1.2%, 0.8%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-0.8%, 1.5%, 0) scale(1.03);
  }
}

@keyframes raw-concrete-sheen {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(42px, 24px, 0); }
}

/* 機能目的: ナビゲーションバーをスクロール時も常に追尾表示し、安定感のある見た目にする */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(231, 234, 236, 0.96) 0%, rgba(211, 217, 221, 0.93) 100%);
  border-bottom: 1px solid rgba(119, 128, 136, 0.34);
  box-shadow: 0 10px 24px rgba(23, 31, 39, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 32px rgba(20, 28, 36, 0.16);
}

.header-inner {
  position: relative;
}

/* 機能目的: ロゴとヘッダー部品を固まったコンクリート＋青アクセントの高級感ある見た目にする */
.site-logo-mark {
  background:
    radial-gradient(circle at 22% 22%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(145deg, #7a858d 0%, #616d76 45%, #4a5660 100%);
  box-shadow: 0 8px 18px rgba(47, 57, 67, 0.24);
}

.nav-toggle,
.global-nav {
  background-color: rgba(224, 229, 232, 0.96);
}

/* 機能目的: 生コンらしい質感を明るいセクションやカード面に追加する */
.section-light,
.page-gateway-section,
.access-section,
.privacy-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.22), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(117,126,132,0.09), transparent 24%),
    linear-gradient(180deg, rgba(220,224,226,0.92) 0%, rgba(205,210,213,0.95) 100%);
}

.page-gateway-card,
.service-card,
.feature-list article,
.info-panel,
.message-box,
.philosophy-card-grid article,
.recruit-point-list article,
.news-entry,
.contact-card,
.contact-form,
.access-showcase,
.photo-card,
.works-grid article,
.privacy-document,
.timeline-item,
.info-table,
.top-news-band {
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.26), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(112,122,128,0.08), transparent 22%),
    linear-gradient(118deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 18%, rgba(112,122,129,0.05) 54%, rgba(255,255,255,0.12) 100%),
    linear-gradient(180deg, #d5dadd 0%, #cbd1d5 52%, #c3c9cd 100%);
}

.access-content,
.detail-card div,
.photo-card div,
.privacy-document {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.24), transparent 24%),
    linear-gradient(180deg, #dce0e2 0%, #d0d5d8 54%, #c8ced2 100%);
}

.info-table td,
.info-table th,
.form-row input,
.form-row select,
.form-row textarea,
.access-info-grid div {
  background-color: rgba(239, 242, 244, 0.86);
}

.stats-section,
.site-footer {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.06), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(23,162,216,0.10), transparent 22%),
    linear-gradient(145deg, #374047 0%, #2a3137 52%, #22282d 100%);
}

.cta-section,
.area-box,
.quality-lead-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(23,162,216,0.16), transparent 24%),
    linear-gradient(120deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 22%, rgba(0,0,0,0.12) 100%),
    linear-gradient(145deg, #3a444d 0%, #25313b 56%, #102330 100%);
}

/* 機能目的: ボタンは生コンではなく、硬化したコンクリート板のような質感に調整する */
.btn,
.nav-contact,
.page-top,
.page-gateway-card {
  position: relative;
  overflow: hidden;
}

.btn {
  border-radius: 16px;
}

.btn-primary,
.nav-contact,
.page-top {
  color: #f5f8fb;
  border: 1px solid rgba(60, 70, 78, 0.44);
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 78% 78%, rgba(0,0,0,0.16), transparent 22%),
    repeating-linear-gradient(132deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, #7a848b 0%, #69737b 42%, #535d66 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -2px 0 rgba(0,0,0,0.18),
    0 12px 24px rgba(24, 31, 38, 0.18);
}

.btn-ghost,
.btn-outline-blue,
.access-actions .btn-ghost {
  color: #103e5b;
  border: 1px solid rgba(76, 88, 98, 0.28);
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.28), transparent 26%),
    radial-gradient(circle at 76% 74%, rgba(0,0,0,0.10), transparent 22%),
    repeating-linear-gradient(132deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #dde1e3 0%, #cbd0d4 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    inset 0 -2px 0 rgba(0,0,0,0.08),
    0 10px 20px rgba(25, 31, 37, 0.10);
}

.form-submit.btn {
  border: 1px solid rgba(60, 70, 78, 0.44);
}

.page-gateway-card {
  border-radius: 14px;
  transform-origin: 50% 70%;
}

.page-gateway-card:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.page-gateway-card:active {
  transform: translateY(3px) rotate(-0.35deg) scale(0.992);
}

/* 機能目的: 押下時にボタン表面へ砕けたひび割れを一瞬表示する */
.btn::after,
.nav-contact::after,
.page-top::after,
.page-gateway-card::before {
  content: "";
  position: absolute;
  inset: 6% 10%;
  background:
    linear-gradient(125deg, transparent 0 16%, rgba(245,248,250,0.96) 16.5% 17.5%, transparent 18% 100%),
    linear-gradient(64deg, transparent 0 38%, rgba(245,248,250,0.82) 38.5% 39.6%, transparent 40.1% 100%),
    linear-gradient(156deg, transparent 0 56%, rgba(30,40,48,0.56) 56.5% 57.4%, transparent 57.9% 100%),
    linear-gradient(30deg, transparent 0 70%, rgba(250,252,253,0.82) 70.4% 71.3%, transparent 71.8% 100%),
    linear-gradient(96deg, transparent 0 24%, rgba(250,252,253,0.64) 24.4% 25.1%, transparent 25.6% 100%),
    linear-gradient(142deg, transparent 0 76%, rgba(20,28,35,0.42) 76.4% 77.0%, transparent 77.5% 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.78);
}

/* 機能目的: JavaScriptから付与されるクラスで、押下時にボタン本体を一瞬だけ砕けるように見せる */
.btn.is-crumbling,
.nav-contact.is-crumbling,
.page-top.is-crumbling,
.page-gateway-card.is-crumbling {
  animation: concrete-button-crumble 0.68s cubic-bezier(0.18, 0.78, 0.22, 1) both;
}

.btn.is-crumbling::after,
.nav-contact.is-crumbling::after,
.page-top.is-crumbling::after,
.page-gateway-card.is-crumbling::before {
  animation: concrete-crack-flash 0.64s ease-out both;
}

/* 機能目的: ボタンから飛ぶ小さなコンクリート片を表示する */
.concrete-chip {
  position: absolute;
  left: var(--chip-left, 50%);
  top: var(--chip-top, 80%);
  z-index: 4;
  width: var(--chip-size, 9px);
  height: calc(var(--chip-size, 9px) * 0.78);
  border: 1px solid rgba(17, 24, 29, 0.34);
  border-radius: 1px 4px 2px 3px;
  background: linear-gradient(145deg, #8a949b, #4a5156);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  opacity: 0;
  animation: concrete-chip-fall 0.72s cubic-bezier(0.14, 0.72, 0.24, 1) var(--chip-delay, 0s) forwards;
}

@keyframes concrete-button-crumble {
  0% { transform: translateY(-1px) rotate(0deg) scale(1); }
  18% { transform: translateY(6px) rotate(-1.4deg) scale(0.975); }
  34% { transform: translate(-2px, 4px) rotate(1.1deg) scale(0.962); }
  52% { transform: translate(2px, 2px) rotate(-0.9deg) scale(0.97); }
  72% { transform: translate(-1px, 1px) rotate(0.42deg) scale(0.989); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes concrete-crack-flash {
  0% { opacity: 0; transform: scale(0.66); }
  22% { opacity: 1; transform: scale(1.03); }
  54% { opacity: 0.72; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes concrete-chip-fall {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
  }
  12% { opacity: 1; }
  54% { opacity: 0.88; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--chip-x, 0px)), calc(-50% + var(--chip-y, 42px))) rotate(var(--chip-r, 35deg)) scale(0.14);
  }
}

/* 機能目的: 動きを減らす設定の端末では背景アニメーションと砕け演出を停止する */
@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .btn,
  .nav-contact,
  .page-top,
  .page-gateway-card,
  .btn.is-crumbling,
  .nav-contact.is-crumbling,
  .page-top.is-crumbling,
  .page-gateway-card.is-crumbling {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .btn.is-crumbling::after,
  .nav-contact.is-crumbling::after,
  .page-top.is-crumbling::after,
  .page-gateway-card.is-crumbling::before,
  .concrete-chip {
    display: none !important;
    animation: none !important;
  }
}

/* 機能目的: スマートフォンでは背景を軽くしつつ、追尾ヘッダーと砕け演出を維持する */
@media (max-width: 820px) {
  body::before,
  body::after {
    inset: -4%;
  }

  body {
    background-attachment: scroll;
  }

  .btn,
  .nav-contact,
  .page-top {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -2px 0 rgba(0, 0, 0, 0.22),
      0 10px 18px rgba(21, 28, 33, 0.20);
  }

  .concrete-chip {
    --chip-size: 7px;
  }
}


/* 機能目的: 生コン背景の動きを強め、青・シアンの色味を追加して無機質すぎない印象にする */
body::before {
  opacity: 0.78;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(255,255,255,0.34) 0%, transparent 22%),
    radial-gradient(ellipse at 76% 24%, rgba(39,180,241,0.18) 0%, transparent 28%),
    radial-gradient(ellipse at 42% 68%, rgba(73,89,102,0.16) 0%, transparent 24%),
    radial-gradient(ellipse at 82% 78%, rgba(12,111,160,0.16) 0%, transparent 22%),
    linear-gradient(155deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0) 22%, rgba(28,112,160,0.16) 48%, rgba(255,255,255,0.10) 100%);
  filter: blur(7px);
  animation: raw-concrete-flow-strong 12s ease-in-out infinite alternate;
}

body::after {
  opacity: 0.58;
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(35,168,222,0.20) 44%, rgba(255,255,255,0.14) 49%, rgba(11,88,132,0.12) 54%, transparent 60%),
    repeating-linear-gradient(132deg, rgba(255,255,255,0.13) 0 2px, transparent 2px 23px),
    repeating-linear-gradient(28deg, rgba(96,104,112,0.08) 0 1px, transparent 1px 34px);
  mix-blend-mode: soft-light;
  animation: raw-concrete-sheen-strong 10s linear infinite;
}

@keyframes raw-concrete-flow-strong {
  0% {
    transform: translate3d(-3.2%, -2.2%, 0) scale(1.03) rotate(-0.3deg);
  }
  34% {
    transform: translate3d(2.2%, -0.6%, 0) scale(1.075) rotate(0.25deg);
  }
  67% {
    transform: translate3d(-0.8%, 2.8%, 0) scale(1.055) rotate(-0.15deg);
  }
  100% {
    transform: translate3d(3.2%, 1.6%, 0) scale(1.08) rotate(0.2deg);
  }
}

@keyframes raw-concrete-sheen-strong {
  0% {
    transform: translate3d(-80px, -24px, 0);
  }
  100% {
    transform: translate3d(110px, 48px, 0);
  }
}

/* 機能目的: 各セクションへ青と青緑の光だまりを追加し、コンクリート背景へ色味を与える */
.page-gateway-section,
.section-light,
.access-section,
.privacy-page,
.contact-page-section,
.recruit-page-section {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(27,162,216,0.15), transparent 26%),
    radial-gradient(circle at 88% 78%, rgba(36,179,184,0.12), transparent 24%),
    radial-gradient(circle at 42% 52%, rgba(255,255,255,0.14), transparent 34%),
    linear-gradient(180deg, rgba(221,225,227,0.94) 0%, rgba(205,211,215,0.96) 100%);
  background-size: 140% 140%, 145% 145%, 120% 120%, auto;
  animation: concrete-section-color-drift 16s ease-in-out infinite alternate;
}

@keyframes concrete-section-color-drift {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 0 0;
  }
  100% {
    background-position: 14% 10%, 82% 86%, 55% 44%, 0 0;
  }
}

/* 機能目的: 見出し下ラインへ青からシアンへ流れる光を追加する */
.section-heading h2::after {
  background: linear-gradient(90deg, #075a9c 0%, #17a2d8 42%, #29c4c8 66%, #075a9c 100%);
  background-size: 220% 100%;
  animation: section-line-color-flow 4.8s linear infinite;
}

@keyframes section-line-color-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* 機能目的: ヘッダー下の細いラインに色の流れを追加し、追尾中も単調に見えないようにする */
.site-header::after {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #075a9c 24%, #17a2d8 46%, #29c4c8 62%, #075a9c 78%, transparent 100%);
  background-size: 220% 100%;
  animation: header-accent-flow 5.2s linear infinite;
}

@keyframes header-accent-flow {
  0% { background-position: -100% 0; }
  100% { background-position: 120% 0; }
}

/* 機能目的: カードに青・青緑の色味と軽い動きを追加し、背景との一体感を高める */
.page-gateway-card,
.service-card,
.feature-list article,
.info-panel,
.message-box,
.philosophy-card-grid article,
.recruit-point-list article,
.news-entry,
.contact-card,
.contact-form,
.access-showcase,
.detail-card,
.photo-card,
.works-grid article {
  border-color: rgba(65, 109, 135, 0.42);
  transition: transform 0.30s ease, box-shadow 0.30s ease, border-color 0.30s ease, filter 0.30s ease;
}

.page-gateway-card:hover,
.service-card:hover,
.feature-list article:hover,
.info-panel:hover,
.message-box:hover,
.philosophy-card-grid article:hover,
.recruit-point-list article:hover,
.news-entry:hover,
.contact-card:hover,
.access-showcase:hover,
.detail-card:hover,
.photo-card:hover,
.works-grid article:hover {
  border-color: rgba(35, 168, 222, 0.72);
  box-shadow:
    0 24px 56px rgba(18, 64, 92, 0.20),
    0 0 0 1px rgba(42, 194, 199, 0.12) inset;
  filter: saturate(1.06);
}

/* 機能目的: SITE MENU上端に青と青緑が流れるアクセントを追加する */
.page-gateway-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, #075a9c 0%, #17a2d8 38%, #29c4c8 62%, #075a9c 100%);
  background-size: 220% 100%;
  animation: gateway-accent-flow 5.8s linear infinite;
}

@keyframes gateway-accent-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* 機能目的: 前回評価された硬化コンクリートボタンの形状・立体感を復元する */
.btn,
.nav-contact,
.page-top {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(17, 27, 34, 0.72);
  border-radius: 8px;
  background-color: #454d53;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.20) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 68%, rgba(0, 0, 0, 0.26) 0 1px, transparent 2.2px),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #596168, #353c42 56%, #4a5258);
  background-size: 31px 31px, 43px 43px, 11px 11px, auto;
  box-shadow:
    0 10px 0 #242a2f,
    0 16px 26px rgba(21, 28, 33, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.38);
  transform-origin: 50% 70%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

/* 機能目的: ボタン表面へ細かな擦れを追加し、文字やクリック判定を妨げないようにする */
.btn::before,
.nav-contact::before,
.page-top::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 5px;
  pointer-events: none;
  background:
    linear-gradient(18deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 47% 48%, transparent 49% 100%),
    linear-gradient(152deg, transparent 0 58%, rgba(0, 0, 0, 0.12) 59% 60%, transparent 61% 100%);
  opacity: 0.62;
}

/* 機能目的: 押下時だけ表示するひび割れを疑似要素で描画する */
.btn::after,
.nav-contact::after,
.page-top::after {
  content: "";
  position: absolute;
  inset: 4px 7px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(64deg, transparent 0 47%, rgba(17, 21, 24, 0.82) 48% 49%, transparent 50% 100%),
    linear-gradient(118deg, transparent 0 54%, rgba(17, 21, 24, 0.72) 55% 56%, transparent 57% 100%),
    linear-gradient(24deg, transparent 0 63%, rgba(17, 21, 24, 0.6) 64% 65%, transparent 66% 100%);
  opacity: 0;
  transform: scale(0.72);
  transform-origin: center;
}

.btn:hover,
.nav-contact:hover,
.page-top:hover {
  opacity: 1;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 12px 0 #242a2f,
    0 20px 30px rgba(21, 28, 33, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.24);
}

.btn:active,
.nav-contact:active,
.page-top:active {
  transform: translateY(5px) rotate(-0.45deg) scale(0.985);
  box-shadow:
    0 3px 0 #242a2f,
    0 7px 14px rgba(21, 28, 33, 0.24),
    inset 0 2px 4px rgba(0, 0, 0, 0.24);
}

/* 機能目的: 主要ボタンは前回と同じ青い顔料入りコンクリート風を維持する */
.btn-primary,
.nav-contact,
.page-top {
  color: #ffffff;
  border-color: rgba(8, 64, 99, 0.9);
  background-color: #315d76;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 72%, rgba(0, 0, 0, 0.24) 0 1px, transparent 2.2px),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #527f97, #234b63 55%, #356b88);
}

/* 機能目的: 白系ボタンも前回の硬化コンクリート質感へ戻す */
.btn-ghost {
  color: #ffffff;
  border-color: rgba(222, 229, 232, 0.68);
  background-color: rgba(66, 73, 79, 0.88);
}

.btn-outline-blue,
.access-actions .btn-ghost {
  color: #103e5b;
  border-color: #2b607f;
  background-color: #d9ddde;
  background-image:
    radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 70%, rgba(29, 38, 45, 0.12) 0 1px, transparent 2px),
    linear-gradient(145deg, #eef0ef, #bec4c7);
  text-shadow: none;
}

.form-submit.btn {
  border: 1px solid rgba(8, 64, 99, 0.9);
}

/* 機能目的: 押下時の砕け演出を前回のボタンデザインに合わせる */
.btn.is-crumbling,
.nav-contact.is-crumbling,
.page-top.is-crumbling,
.page-gateway-card.is-crumbling {
  animation: concrete-button-crumble 0.48s cubic-bezier(0.22, 0.78, 0.3, 1) both;
}

.btn.is-crumbling::after,
.nav-contact.is-crumbling::after,
.page-top.is-crumbling::after {
  animation: concrete-crack-flash 0.46s ease-out both;
}

.concrete-chip {
  background: linear-gradient(145deg, #778087, #3b4247);
}

/* 機能目的: 動きを減らす設定の端末では追加した動きも停止する */
@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .page-gateway-section,
  .section-light,
  .access-section,
  .privacy-page,
  .contact-page-section,
  .recruit-page-section,
  .section-heading h2::after,
  .site-header::after,
  .page-gateway-card::before {
    animation: none !important;
  }
}


/* 機能目的: 背景アニメーションを停止し、ボタン・コンテナのデザインを維持したまま全体を明るくする */
body {
  background-color: #edf1f3;
  background-image:
    radial-gradient(circle at 14% 8%, rgba(255,255,255,0.78) 0%, transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(38,154,207,0.11) 0%, transparent 25%),
    radial-gradient(circle at 24% 82%, rgba(255,255,255,0.40) 0%, transparent 30%),
    linear-gradient(155deg, #f4f6f7 0%, #e7ecef 45%, #dfe6e9 100%);
  background-attachment: scroll;
}

/* 機能目的: 以前追加した生コン背景の流動アニメーションを完全に無効化する */
body::before,
body::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* 機能目的: 明るいコンクリート調を保ちつつ、各セクションの背景移動を停止する */
.page-gateway-section,
.section-light,
.access-section,
.privacy-page,
.contact-page-section,
.recruit-page-section {
  background-image:
    radial-gradient(circle at 12% 16%, rgba(33,151,205,0.10), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(57,177,183,0.08), transparent 26%),
    radial-gradient(circle at 42% 52%, rgba(255,255,255,0.58), transparent 34%),
    linear-gradient(180deg, rgba(242,245,247,0.98) 0%, rgba(228,234,237,0.99) 100%);
  background-size: auto;
  background-position: 0 0;
  animation: none !important;
}

/* 機能目的: 通常セクションも白すぎない明るいコンクリート色へ統一する */
.section:not(.stats-section):not(.section-light):not(.access-section):not(.contact-page-section):not(.recruit-page-section) {
  background-color: rgba(245, 247, 248, 0.76);
}

/* 機能目的: ヘッダーを明るくし、追尾中も企業名とナビゲーションを読みやすく保つ */
.site-header {
  background:
    linear-gradient(180deg, rgba(248,250,251,0.98) 0%, rgba(225,231,234,0.96) 100%);
}

/* 機能目的: 背景に関する移動だけを停止し、ボタンの砕け演出とhover演出は維持する */
@media (prefers-reduced-motion: no-preference) {
  .page-gateway-section,
  .section-light,
  .access-section,
  .privacy-page,
  .contact-page-section,
  .recruit-page-section {
    animation: none !important;
  }
}

/* 機能目的: 旧TOPへ固定ボタンが残っていた場合も画面へ表示しない */
.page-top {
  display: none !important;
}


/* 機能目的: ヘッダー左上の「H」表示を、作成済みファビコン画像へ差し替える */
.site-logo-mark {
  color: transparent;
  font-size: 0;
  text-indent: -9999px;
  white-space: nowrap;
  border: 1px solid rgba(84, 95, 103, 0.22);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 46%),
    url("../images/favicon-hiruta.png?v=4") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(47, 57, 67, 0.24);
}

.site-logo-mark::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 44%);
}


/* 機能目的: 背景に青い光がうっすら動く演出を追加しつつ、以前の静かな明るさは維持する */
body::before {
  content: "" !important;
  display: block !important;
  position: fixed;
  inset: -14% -10% -12% -10%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(38, 154, 207, 0.24) 0%, rgba(38, 154, 207, 0.13) 18%, transparent 38%),
    radial-gradient(ellipse at 82% 18%, rgba(31, 123, 184, 0.20) 0%, rgba(31, 123, 184, 0.10) 16%, transparent 34%),
    radial-gradient(ellipse at 54% 68%, rgba(51, 191, 210, 0.17) 0%, rgba(51, 191, 210, 0.08) 18%, transparent 34%),
    radial-gradient(ellipse at 32% 84%, rgba(108, 212, 255, 0.14) 0%, transparent 26%);
  filter: blur(22px);
  animation: subtle-blue-glow-drift 15s ease-in-out infinite alternate !important;
}

body::after {
  content: none !important;
  display: none !important;
}

@keyframes subtle-blue-glow-drift {
  0% {
    transform: translate3d(-2.2%, -1.6%, 0) scale(1.03);
    opacity: 0.40;
  }
  35% {
    transform: translate3d(1.8%, 1.2%, 0) scale(1.06);
    opacity: 0.56;
  }
  70% {
    transform: translate3d(-1.2%, 2.1%, 0) scale(1.05);
    opacity: 0.64;
  }
  100% {
    transform: translate3d(2.6%, -1.2%, 0) scale(1.07);
    opacity: 0.46;
  }
}

/* 機能目的: 端末側で動きを減らす設定では、青い光のアニメーションも停止する */
@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none !important;
    opacity: 0.34;
  }
}


/* 機能目的: 青い光とコンクリート背景の上でも、全ページの文字を読みやすくする */
:root {
  --color-text: #0d1a27;
  --color-muted: #384b5d;
  --color-primary: #07558d;
  --color-primary-dark: #073a60;
  --color-border: #b9c5ce;
}

body {
  color: var(--color-text);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 機能目的: 本文・補足文・カード内説明の文字色を濃くし、背景とのコントラストを確保する */
p,
li,
td,
small,
.section-heading p,
.access-content p,
.philosophy-main p,
.message-box p,
.recruit-detail-layout p,
.feature-list p,
.service-card p,
.philosophy-card-grid p,
.recruit-point-list p,
.timeline-item p,
.detail-card p,
.photo-card p,
.works-grid p,
.news-entry p,
.contact-card p,
.privacy-document p,
.privacy-document li,
.check-list li {
  color: #34485a;
  font-weight: 500;
}

/* 機能目的: 見出しとカードタイトルをより濃くし、重要な情報を判別しやすくする */
h1,
h2,
h3,
strong,
.site-logo-main,
.page-gateway-card strong,
.feature-list h3,
.service-card h3,
.photo-card h3,
.news-entry h2,
.contact-card h2,
.info-panel h2 {
  color: #0b1724;
  font-weight: 900;
}

/* 機能目的: 英字見出し・番号・リンクの青色を濃くして視認性を高める */
.section-kicker,
.page-gateway-card span,
.feature-list span,
.philosophy-card-grid span,
.recruit-point-list span,
.timeline-item time,
.news-entry time,
.top-news-title,
.top-news-more,
.text-link,
.detail-card a,
.contact-tel a,
.privacy-check a {
  color: #005d96;
  font-weight: 900;
}

/* 機能目的: ヘッダー文字とナビゲーションを明るい背景上で読みやすくする */
.site-logo-main,
.global-nav > a,
.nav-group-trigger {
  color: #101c28;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.site-logo-sub {
  color: #465b6f;
  font-weight: 900;
}

.nav-submenu a {
  color: #17324a;
  font-weight: 800;
}

/* 機能目的: TOPのお知らせ本文を濃くし、日付と見出しの判別をしやすくする */
.top-news-items a,
.top-news-items span {
  color: #172737;
  font-weight: 700;
}

.top-news-items time {
  color: #005d96;
  font-weight: 900;
}

/* 機能目的: 表や入力フォーム内の文字を濃くして読み間違いを防ぐ */
.info-table td,
.form-row input,
.form-row select,
.form-row textarea {
  color: #172737;
  font-weight: 600;
}

.info-table th,
.form-row label {
  color: #0f2f49;
  font-weight: 900;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #657685;
  opacity: 1;
}

/* 機能目的: 濃色背景上の文字を白に統一し、光やグラデーションに埋もれないようにする */
.hero,
.page-hero,
.stats-section,
.cta-section,
.area-box,
.quality-lead-card,
.site-footer {
  color: #ffffff;
}

.hero h1,
.page-hero h1,
.cta-box h2,
.area-box h2,
.quality-lead-card h2,
.quality-lead-card .large-number,
.stat-card span,
.stat-card p,
.site-footer strong,
.site-footer a,
.footer-logo {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.hero-lead,
.page-hero-inner p,
.cta-box p,
.area-box p,
.quality-lead-card p,
.site-footer p,
.copyright {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.34);
}

/* 機能目的: ボタン文字を背景色に埋もれない太さと影に調整する */
.btn,
.nav-contact,
.page-top {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.btn-primary,
.nav-contact,
.page-top {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.btn-ghost {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.btn-outline-blue,
.access-actions .btn-ghost {
  color: #073f65;
  text-shadow: none;
}

/* 機能目的: スマートフォンでも文字が細く見えないように調整する */
@media (max-width: 820px) {
  body {
    font-weight: 500;
  }

  p,
  li,
  td,
  small {
    line-height: 1.85;
  }

  .global-nav > a,
  .nav-group-trigger,
  .nav-submenu a {
    font-weight: 900;
  }
}

/* 機能目的: 外部メールアプリ起動方式の案内文を、既存フォームに馴染むよう表示する */
.form-mail-note {
  margin: 4px 0 16px;
  padding: 12px 14px;
  color: #263746;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
  border-left: 4px solid var(--color-accent, #17a2d8);
  background: rgba(235, 244, 249, 0.88);
}

/* 機能目的: メールアプリ起動処理中の重複操作を防ぎ、状態を視覚的に伝える */
.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}
