/* ======================================
   DINEX 株式会社 - スタイルシート
   ====================================== */

/* ── CSS変数 ── */
:root {
  --blue-dark:   #1a3d7e;
  --blue-main:   #1e5aaa;
  --blue-mid:    #2d7dd2;
  --blue-light:  #0090c8;
  --blue-pale:   #e8f2fa;
  --navy:        #0d2046;
  --accent:      #00a8e0;
  --orange-accent: #f2953d;
  --orange-accent-dark: #d9782a;
  --white:       #ffffff;
  --gray-light:  #f5f7fa;
  --gray-mid:    #e0e6ee;
  --gray-text:   #555e6e;
  --text-dark:   #1a2540;
  --header-h:    72px;
  --transition:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ── リセット＆ベース ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── 画像プレースホルダー（画像差し替え前用） ── */
.img-placeholder {
  background: linear-gradient(135deg, #c8d8ee 0%, #a0bcda 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-placeholder::after {
  content: 'IMAGE';
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

/* ======================================
   HEADER
   ====================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(10,30,70,0.08);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#site-header.scrolled {
  height: 60px;
  box-shadow: 0 2px 24px rgba(10,30,70,0.14);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ロゴ */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--blue-main);
  line-height: 1;
}
.logo-text em {
  font-style: normal;
  color: var(--blue-main);
}
.logo img { height: 76px; width: auto; }

/* グローバルナビ */
.global-nav { flex: 1; display: flex; justify-content: flex-end; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  height: var(--header-h);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  transition: color var(--transition);
}
#site-header.scrolled .nav-list > li > a { height: 60px; }

.nav-list > li > a:hover { color: var(--blue-main); opacity: 1; }
.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--blue-main);
  transition: left var(--transition), right var(--transition);
}
.nav-list > li > a:hover::after { left: 0; right: 0; }

/* ドロップダウン矢印 */
.nav-arrow {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform var(--transition);
}
.has-dropdown:hover .nav-arrow,
.has-dropdown.open .nav-arrow { transform: rotate(-135deg) translateY(-2px); }

/* ドロップダウンメニュー */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(10,30,70,0.14);
  border-top: 3px solid var(--blue-main);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-mid);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover {
  background: var(--blue-pale);
  color: var(--blue-main);
  opacity: 1;
}

/* お問い合わせボタン */
.nav-contact-link {
  background: var(--orange-accent) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  height: auto !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition) !important;
}
.nav-contact-link::after { display: none !important; }
.nav-contact-link:hover { background: var(--orange-accent-dark) !important; opacity: 1 !important; }

.nav-recruit-link {
  background: var(--white) !important;
  color: var(--blue-main) !important;
  padding: 8px 18px !important;
  height: auto !important;
  border: 1px solid var(--blue-main);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition) !important;
}
.nav-recruit-link i { margin-left: 6px; font-size: 11px; }
.nav-recruit-link::after { display: none !important; }
.nav-recruit-link:hover { background: var(--blue-main) !important; opacity: 1 !important; color: var(--white) !important; }

.nav-contact-item { margin-left: 8px; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.35s, opacity 0.35s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

/* スライド背景 */
/* ── ヒーロースライド ── */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a3d6a;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  /* ↓ animation は .active ではなく各スライドに常時かける */
}
.hero-slide.active { opacity: 1; }

/* 各スライドが独立してループし続けるので、
   active/非active の切り替えで途切れない */
.hero-slide:nth-child(1) { animation: kb1 18s ease-in-out infinite; }
.hero-slide:nth-child(2) { animation: kb2 22s ease-in-out infinite; }
.hero-slide:nth-child(3) { animation: kb3 20s ease-in-out infinite; }
.hero-slide:nth-child(4) { animation: kb4 24s ease-in-out infinite; }
.hero-slide:nth-child(5) { animation: kb5 19s ease-in-out infinite; }

@keyframes kb1 {
  0%   { transform: scale(1.10) translate( 0%,    0%   ); }
  50%  { transform: scale(1.04) translate(-1.5%,  0.8% ); }
  100% { transform: scale(1.10) translate( 0%,    0%   ); }
}
@keyframes kb2 {
  0%   { transform: scale(1.05) translate( 1.2%,  0%   ); }
  50%  { transform: scale(1.10) translate( 0%,   -1.0% ); }
  100% { transform: scale(1.05) translate( 1.2%,  0%   ); }
}
@keyframes kb3 {
  0%   { transform: scale(1.08) translate(-1%,   -0.5%); }
  50%  { transform: scale(1.03) translate( 0.8%,  1.0%); }
  100% { transform: scale(1.08) translate(-1%,   -0.5%); }
}
@keyframes kb4 {
  0%   { transform: scale(1.04) translate( 0%,    1.2%); }
  50%  { transform: scale(1.09) translate(-1.2%, -0.5%); }
  100% { transform: scale(1.04) translate( 0%,    1.2%); }
}
@keyframes kb5 {
  0%   { transform: scale(1.09) translate( 1.0%,  0.5%); }
  50%  { transform: scale(1.04) translate(-0.5%, -1.2%); }
  100% { transform: scale(1.09) translate( 1.0%,  0.5%); }
}

/* ↓ 旧コード（削除） */
/* .hero-slide.active { animation: heroZoom 6s ... } */
/* @keyframes heroZoom { ... } */

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 32, 70, 0.65) 0%,
    rgba(13, 32, 70, 0.40) 60%,
    rgba(0, 144, 200, 0.20) 100%
  );
}

/* ヒーローコンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  max-width: 1300px;
  margin: 0 auto;
}

/* テキストセット */
.hero-texts { position: relative; min-width: 0; }
.hero-text {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  white-space: nowrap;
}
.hero-text.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.hero-text.leaving {
  opacity: 0;
  transform: translateY(-16px);
  position: absolute;
}

.hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(13px, 1.8vw, 24px);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.1em;
  margin-top: 10px;
}
.hero-company {
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.14em;
  margin-top: 6px;
}

/* 右側エンブレム */
.hero-emblem {
  flex-shrink: 0;
  text-align: center;
  opacity: 0.9;
}
.hero-emblem-text {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
  line-height: 1;
  text-stroke: 1px rgba(255,255,255,0.3);
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}
.hero-emblem img { height: clamp(60px, 10vw, 120px); width: auto; opacity: 0.9; }

/* インジケーター */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.indicator {
  width: 36px;
  height: 4px;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
  transition: background var(--transition), width var(--transition);
  position: relative;
  overflow: hidden;
}
.indicator::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: none;
}
.indicator.active { background: rgba(255,255,255,0.4); }
.indicator.active::after {
  animation: indicatorFill 5s linear forwards;
}
@keyframes indicatorFill {
  from { left: -100%; }
  to   { left: 0; }
}

/* ======================================
   SECTION共通
   ====================================== */
.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}
/* 画像と並ぶ見出しなど、左寄せにしたい場合の明示的な修飾クラス */
.sec-title.is-left { text-align: left; }
.sec-subtitle {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.9;
}
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }

/* ── ボタン共通 ── */
.btn-outline, .btn-primary, .btn-future, .btn-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 11px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline {
  border: 2px solid var(--blue-main);
  color: var(--blue-main);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-main); color: var(--white); opacity: 1; }

.btn-primary {
  background: var(--blue-main);
  color: var(--white);
  border: 2px solid var(--blue-main);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); opacity: 1; }

.btn-future {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-future:hover { background: var(--white); color: var(--blue-dark); opacity: 1; }

.btn-arrow { transition: transform var(--transition); }
.btn-outline:hover .btn-arrow,
.btn-primary:hover .btn-arrow,
.btn-future:hover .btn-arrow { transform: translateX(4px); }

/* ======================================
   SECTION: 好循環に挑戦
   ====================================== */
.sec-vision {
  padding: 100px 0;
  overflow: hidden;
}
.vision-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--blue-main);
  margin-bottom: 20px;
  line-height: 1.8;
}
.vision-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
  margin-bottom: 28px;
}
.vision-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.9;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--blue-light);
}

.vision-catch { position: relative; }
.vision-img-area {
	text-align: center;
  margin-bottom: 24px;
}
.vision-img-area img {
	width: 75%;
	margin: 0 auto;
}
.vision-ph {
  width: 100%;
  padding-top: 66%;
  border-radius: 4px;
}
.big-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  text-align: center;
}
.big-catch span {
  letter-spacing: 0.25em;
}
/* ======================================
   SECTION: フォトスライダー
   ====================================== */
.sec-photo-slider {
  padding: 80px 0;
  background: var(--gray-light);
  overflow: hidden;
}

.photo-track-wrap {
  overflow: hidden;
  /* 両端をぼかしてフェードアウト */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.photo-track {
  display: flex;
  gap: 20px;
  /* JSで幅を設定。アニメーションはJSから付与 */
  will-change: transform;
}

/* 無限スクロールアニメーション（JSで付与） */
@keyframes photoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--scroll-dist)); }
}

.photo-item {
  flex: 0 0 auto;
  width: 280px;
}

.photo-ph {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: linear-gradient(135deg, #c8d8ee 0%, #a0bcda 100%);
  box-shadow: 0 4px 20px rgba(10,30,70,0.10);
  /* プレースホルダーのテキスト非表示 */
}
.photo-ph::after { display: none; }

/* 画像を入れた場合 */
.photo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(10,30,70,0.10);
  display: block;
  pointer-events: none; /* リンクなし・選択なし */
  user-select: none;
  -webkit-user-drag: none;
}

/* ホバー中は一時停止 */
.photo-track-wrap:hover .photo-track {
  animation-play-state: paused;
}

@media (max-width: 560px) {
  .photo-item { width: 200px; }
  .photo-ph   { height: 148px; }
  .photo-item img { height: 148px; }
}


/* ======================================
   SECTION: 水処理マネジメント
   ====================================== */
.sec-management {
  background: var(--gray-light);
  padding: 100px 0;
}

.management-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-main);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-mid);
  display: inline-block;
}

.management-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.management-desc p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
  margin-bottom: 16px;
}

.cards-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  text-align: center;
  padding: 24px 12px 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10,30,70,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10,30,70,0.12);
}
.card-icon-wrap { margin-bottom: 12px; }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 14px;
}
.stock-icon   { background: var(--blue-pale); color: var(--blue-main); }
.planning-icon{ background: #e8f5e9; color: #388e3c; }
.risk-icon    { background: #fff3e0; color: #ef6c00; }
.card-icon svg { width: 100%; height: 100%; }

.card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: center;
}
.card-label span {
  font-size: 12px;
  color: var(--navy);
}
/* 単体ページ（optimal-treatment.html等）に配置する際の余白調整 */
.pillar-cards-block { margin: 32px 0 48px; }
.pillar-cards-block .cards-heading { font-size: 15px; }

/* ======================================
   SECTION: 良い水処理の実現
   ====================================== */
.sec-quality {
  padding: 100px 0;
}
.quality-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.quality-text .sec-title { margin-bottom: 24px; }
.quality-text p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
  margin-bottom: 24px;
}
.quality-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quality-list li {
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}
.quality-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
}
.quality-note {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 2;
  border-top: 1px solid var(--gray-mid);
  padding-top: 20px;
  margin-top: 4px !important;
}
.quality-ph {
  width: 100%;
  padding-top: 120%;
  border-radius: 4px;
}

/* ======================================
   SECTION: 私たちと共に
   ====================================== */
.sec-future {
  position: relative;
  overflow: hidden;
}
.future-bg {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 60%, var(--blue-mid) 100%);
  padding: 100px 0;
}
.future-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.future-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,32,70,0.85) 0%, rgba(30,90,170,0.6) 100%);
}
.future-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.future-ph {
  width: 100%;
  padding-top: 80%;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.15);
}
.future-ph::after { color: rgba(255,255,255,0.4); }

.future-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
}
.future-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 2.2;
  margin-bottom: 36px;
}

/* ======================================
   SECTION: 総合力が生み出す安心と信頼
   ====================================== */
.sec-trust {
  padding: 100px 0 80px;
  background: var(--white);
}
.trust-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.trust-col { text-align: center; }
.trust-ph {
  width: 100%;
  padding-top: 62%;
  border-radius: 4px;
  margin-bottom: 24px;
}
.trust-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}
.trust-col p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
  text-align: left;
}
.trust-cta { text-align: center; }

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}

.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo-text {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-logo-text em { font-style: normal; }
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }

.footer-corp-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}
.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 2;
  margin-bottom: 24px;
}
.footer-tel,
.footer-fax {
  margin-top: 4px;
}
.footer-tel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: inherit;
}
.footer-fax {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-tel i,
.footer-fax i {
  width: 14px;
  text-align: center;
  color: var(--accent);
  font-size: 12px;
}
.btn-footer-contact {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 9px 22px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  gap: 0;
}
.btn-footer-contact:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  opacity: 1;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: rgba(255,255,255,0.95); opacity: 1; }

/* サイトマップの子ページ（サブ階層）はインデントして少し小さく */
.footer-nav-col li.footer-nav-sub { padding-left: 14px; }
.footer-nav-col li.footer-nav-sub a {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.footer-nav-col li.footer-nav-sub a::before {
  content: '- ';
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 40px;
  text-align: center;
}
.footer-bottom small {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ======================================
   スクロールトップボタン
   ====================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--blue-main);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 90;
  box-shadow: 0 4px 20px rgba(30,90,170,0.35);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--blue-dark); }
.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

/* ======================================
   フェードインアニメーション（JS連携）
   ====================================== */
.js-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js-fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

/* セクション自体は動き量を小さく */
section.js-fadein {
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

/* ======================================
   レスポンシブ
   ====================================== */
@media (max-width: 1080px) {
  .nav-list > li > a { padding: 0 8px; font-size: 12px; }
  .management-content { grid-template-columns: 1fr; gap: 40px; }
  .quality-inner { grid-template-columns: 1fr; }
  .quality-ph { padding-top: 60%; }
  .future-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }

  .hamburger { display: flex; }

  .global-nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(10,30,70,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
    z-index: 99;
  }
  .global-nav.open { max-height: 90vh; overflow-y: auto; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 20px;
  }
  .nav-list > li > a {
    height: auto;
    padding: 14px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-mid);
    justify-content: space-between;
  }
  .nav-list > li > a::after { display: none; }
  .nav-contact-item { margin: 12px 24px 0; 
	}
  .nav-contact-link {
    display: block;
    text-align: center;
    padding: 12px 1em !important;
    height: auto !important;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--blue-pale);
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown-menu { max-height: 600px; pointer-events: auto; }
  .dropdown-menu li a {
    padding: 11px 32px;
    font-size: 13px;
  }

  .hero-content { padding: 0 32px; }
  .hero-emblem { display: none; }

  .sec-vision { padding: 72px 0; }
  .vision-inner { grid-template-columns: 1fr; gap: 48px; }
.vision-lead {
  font-size: 24px;
}
  .big-catch { text-align: center; }
  .big-catch span { letter-spacing: 0.4em;
	}
	
  .trust-cols { grid-template-columns: 1fr; gap: 40px; }

  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .container { padding: 0 24px; }
}

@media (max-width: 560px) {
  .hero-catch { font-size: 24px; }
  .hero-content { padding: 0 20px; }
  .hero-indicators { bottom: 20px; }
.vision-lead {
  font-size: 18px;
}
  .big-catch span { letter-spacing: 0.4em;
	}
  .indicator { width: 24px; }

  .vision-inner { padding: 0 20px; }
  .container { padding: 0 20px; }

  .sec-management,
  .sec-quality,
  .sec-future .future-bg,
  .sec-trust { padding: 64px 0; }

  .card-grid { grid-template-columns: 1fr; gap: 12px; }

  .footer-inner { padding: 40px 20px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { padding: 16px 20px; }

  .scroll-top-btn { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ======================================
   内部ページ共通（会社紹介など／ヒーローを持たないページ）
   ====================================== */
.page-section {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 100px;
}
@media (max-width: 860px) {
  .page-section { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
}

.page-lead {
  max-width: 780px;
  margin: 20px auto 40px;
  text-align: center;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 2;
}
/* 画像と並べる場合など、左寄せ・幅制限なしにしたい場合の明示的な修飾クラス */
.page-lead.is-left {
  max-width: none;
  margin: 20px 0 40px;
  text-align: left;
}
.page-section .sec-title { margin-bottom: 16px; }
.page-section .sec-title + .page-lead { margin-top: 0; }
.page-section p { margin-bottom: 20px; font-size: 15px; color: var(--gray-text); }
.page-section p:last-child { margin-bottom: 0; }
.page-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
}
.page-section .page-catch {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ======================================
   デスクトップ幅：本文まわりの文字サイズを底上げ
   （PCの余白の広さに対して文字が小さく見えるための調整。
    モバイルは現行の情報密度を維持するため対象外）
   ====================================== */
@media (min-width: 1024px) {
  .page-lead, .page-lead.is-left { font-size: 17px; }
  .page-section p { font-size: 17px; }
  .menu-desc { font-size: 14px; }
  /* ホームページ独自の本文系クラス */
  .vision-text { font-size: 16px; }
  .sec-subtitle { font-size: 17px; }
  .quality-text p { font-size: 16px; }
  .future-text p { font-size: 17px; }
  .trust-col p { font-size: 16px; }
  .quality-note { font-size: 15px; }
}
/* ナビは@media (max-width: 1080px)でfont-size:12pxに縮小しているため、
   その範囲と衝突しない1081px以上でのみ底上げする */
@media (min-width: 1081px) {
  .nav-list > li > a { font-size: 14px; }
}

/* パンくずリスト */
.breadcrumb {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  padding: calc(var(--header-h) + 14px) 0 14px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-text);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  color: var(--gray-text);
  opacity: 0.6;
}
.breadcrumb a { color: var(--blue-main); }
.breadcrumb li[aria-current="page"] { color: var(--gray-text); }
/* パンくずの直後に来るpage-sectionは上パディング不要 */
.breadcrumb + .page-section,
.breadcrumb ~ .page-section:first-of-type { padding-top: 48px; }
@media (max-width: 860px) {
  .breadcrumb { padding: calc(var(--header-h) + 10px) 0 10px; }
}

/* ======================================
   会社紹介カテゴリ共通：ページ内横移動ナビ（タブ）
   ====================================== */
.company-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
}
.company-subnav .container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.company-subnav .container::-webkit-scrollbar { display: none; }
.company-subnav ul {
  display: flex;
  gap: 6px;
  padding: 14px 0;
}
.company-subnav a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  background: var(--gray-light);
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.company-subnav a:hover {
  background: var(--blue-pale);
  color: var(--blue-main);
  opacity: 1;
}
.company-subnav a.is-active {
  background: var(--blue-main);
  color: var(--white);
}
.company-subnav a.is-active:hover { background: var(--blue-main); }

/* ======================================
   会社紹介トップ：導入部（テキスト＋縦流れビジュアル）
   ====================================== */
.intro-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.intro-text { flex: 1; min-width: 0; }
.intro-visual {
  width: 280px;
  height: 520px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.intro-visual-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: introVisualScroll 32s linear infinite;
}
.intro-visual-track img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}
@keyframes introVisualScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@media (max-width: 900px) {
  .intro-row { flex-direction: column; gap: 24px; }
  .intro-text .sec-title.is-left { text-align: center; }
  .intro-visual { width: 100%; height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-visual-track { animation: none; }
}

/* ======================================
   会社紹介トップ：サブページ一覧グリッド
   ====================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.menu-item {
  display: flex;
  flex-direction: column;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.menu-item:hover {
  box-shadow: 0 8px 24px rgba(10,30,70,0.10);
  transform: translateY(-2px);
  opacity: 1;
}
/* カード全体をリンク化できない場合（内部に個別リンクを持つ等）の代替 */
.menu-item.is-static { cursor: default; }
.view-more-link { display: inline-block; align-self: flex-start; }
.view-more-link:hover { opacity: 1; }
.menu-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.menu-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 20px;
  flex: 1;
}
/* 旧・弱含みのテキストリンク（文末に小さく添える場合用） */
.menu-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.menu-link:hover { opacity: 1; color: var(--blue-dark); }
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ======================================
   汎用：積極的な誘導用リンク（VIEW MORE + 丸型矢印アイコン）
   カード等、能動的にクリックを誘導したい場面で使用。
   文末に控えめに添えるだけの場合は .menu-link のような
   テキストリンク（〜を見る →）でよい。
   ====================================== */
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
}
.view-more-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.view-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.view-more-icon svg { width: 16px; height: 16px; }
a:hover .view-more-icon {
  background: var(--blue-main);
  transform: translateX(4px);
}
/* ページ内リンク（アンカー移動）用：右矢印を下向きに回転し、
   ホバー時の動きも横→縦に変更 */
.view-more-icon.is-down svg { transform: rotate(90deg); }
a:hover .view-more-icon.is-down { transform: translateY(4px); }

/* ======================================
   理念・あいさつ：引用／強調ブロック
   ====================================== */
.page-catch {
  font-size: 18px;
  color: var(--blue-main);
  text-align: center;
  margin-bottom: 32px;
}
/* 左寄せ・黒字の強調バリエーション（理念ページ冒頭見出しなど） */
.page-catch.is-left {
  text-align: left;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
}
/* ======================================
   ページ内挿絵ユーティリティ（理念・会社概要・あいさつ等）
   ====================================== */
/* 中央に1枚（理念など） */
.page-image-center {
  max-width: 640px;
  margin: 32px auto;
}
/* プレースホルダー（画像未挿入時の仮の箱）は仮の比率で表示 */
.page-image-center .img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
}
/* 実画像は元の縦横比のまま表示（歪み・不要なトリミングを防ぐ） */
.page-image-center img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 横並び複数枚（会社概要の社屋写真など） */
.page-image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 36px;
}
.page-image-row .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.page-image-row img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 700px) {
  .page-image-row { grid-template-columns: 1fr; }
}

/* 左右に回り込み1枚（あいさつの代表者写真など） */
.page-image-float {
  width: 240px;
  float: right;
  margin: 4px 0 24px 32px;
}
.page-image-float.is-left { float: left; margin: 4px 32px 24px 0; }
.page-image-float .img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
}
.page-image-float img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.page-image-float .caption {
  text-align: center;
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .page-image-float,
  .page-image-float.is-left {
    float: none;
    width: 200px;
    margin: 0 auto 24px;
  }
}

/* ======================================
   理念ページ：プロローグ演出（セクション最初のブロック）
   ====================================== */
.prologue-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue-main);
  margin-bottom: 14px;
}
.prologue-eyebrow.is-left { text-align: left; }

/* セクション背景：淡いグレー（indexページと同じ考え方を汎用化） */
.sec-gray {
  background: var(--gray-light);
}

/* 幅広ブラウザでも中央に収まる共通カラム幅（理念ページの各ブロックで使用） */
.content-col {
  max-width: 860px;
  margin: 0 auto;
}

/* コンテナ幅に縛られず画面いっぱいに広がる区切り線 */
.full-bleed-divider {
  height: 1px;
  background: var(--gray-mid);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ======================================
   理念ページ：社名進化（ロゴ画像＋バッジ＋テキスト）
   ====================================== */
.rename-section {
  padding: 0 0 90px;
  background: var(--gray-light);
}
.rename-section .content-col {
  margin-bottom: 40px;
}
.rename-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.rename-image {
  width: 220px;
  flex-shrink: 0;
}
.rename-image img {
  display: block;
  width: 100%;
  height: auto;
}
.rename-content { flex: 1; min-width: 0; }
.rename-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.rename-content p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 600px) {
  .rename-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rename-image { width: 180px; }
}

/* ======================================
   理念ページ：企業理念セクション（白背景・左寄せテキスト＋渦巻画像）
   ====================================== */
.sec-philosophy-visual {
  position: relative;
  background: var(--white);
  color: var(--text-dark);
  padding: 100px 0 60px;
  border-top: 1px solid var(--gray-mid);
}
.philosophy-visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.philosophy-visual-content {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  text-align: left;
}
.philosophy-visual-content .label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.philosophy-visual-content .phrase {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.philosophy-quote-large {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: var(--text-dark);
}

/* 渦巻画像：CSSアニメーションで回転＋ゆらぎ */
.philosophy-swirl-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  animation: philosophySwirlPulse 7s ease-in-out infinite;
}
.philosophy-swirl-spin {
  width: 100%;
  height: 100%;
  animation: philosophySwirlRotate 50s linear infinite;
}
.philosophy-swirl-spin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes philosophySwirlRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes philosophySwirlPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@media (max-width: 780px) {
  .sec-philosophy-visual { padding: 72px 0 48px; }
  .philosophy-visual-row { flex-direction: column; text-align: center; }
  .philosophy-visual-content { max-width: none; text-align: center; }
  .philosophy-swirl-wrap { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .philosophy-swirl-wrap, .philosophy-swirl-spin { animation: none; }
}

.greeting-signoff {
  text-align: right;
  margin-top: 40px;
  font-size: 14px;
  color: var(--gray-text);
}

/* ======================================
   会社概要：情報テーブル
   ====================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.info-table tr { border-bottom: 1px solid var(--gray-mid); }
.info-table th,
.info-table td {
  text-align: left;
  padding: 16px 20px;
  vertical-align: top;
}
.info-table th {
  width: 200px;
  background: var(--gray-light);
  font-weight: 700;
  color: var(--navy);
}
.info-table td { color: var(--gray-text); line-height: 1.9; }
@media (max-width: 860px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 10px 16px 4px; border-bottom: none; }
  .info-table td { padding: 0 16px 16px; }
}

/* ======================================
   沿革：タイムライン
   ====================================== */
.timeline {
  position: relative;
  margin-top: 24px;
  padding-left: 28px;
  border-left: 2px solid var(--gray-mid);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-main);
}
.timeline-item.tl-name-change::before { background: var(--accent); }
.timeline-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-main);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.9;
}

/* ======================================
   事業所一覧
   ====================================== */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.branch-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 22px 20px;
}
/* 支店写真（画像が用意できた支店だけ差し込む・任意） */
.branch-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  margin-bottom: 14px;
  object-fit: cover;
}
.branch-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
}
.branch-card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.8;
}
.branch-card .branch-address { margin-bottom: 6px; }
@media (max-width: 1080px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .branch-grid { grid-template-columns: 1fr; }
}

.license-category {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-mid);
}
.license-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.license-item {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
}
@media (max-width: 700px) {
  .license-list { grid-template-columns: 1fr; }
}

/* ======================================
   最適な水処理：ストック／リスク／ランニングコストのカード
   ====================================== */
/* リード文は共通の .page-lead を使用（旧 .mgmt-intro は廃止） */
.mgmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.mgmt-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 32px 28px;
  text-align: left;
}
.mgmt-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
  text-align: center;
}
.mgmt-card > p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 16px;
}
.mgmt-card-center {
  max-width: 720px;
  margin: 0 auto 40px;
}
.mgmt-conclusion {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--gray-mid);
  text-align: center;
}
.mgmt-conclusion p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 2;
}
@media (max-width: 860px) {
  .mgmt-grid { grid-template-columns: 1fr; }
}

/* ======================================
   事業紹介：クイックリンクカード（メンテナンス／建設／ソリューション）
   ====================================== */
.svc-quicklinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 8px;
}
.svc-quick-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.svc-quick-card:hover {
  box-shadow: 0 8px 24px rgba(10,30,70,0.10);
  transform: translateY(-2px);
  opacity: 1;
}
.svc-quick-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
}
/* リンク先セクションと同系色の背景で識別（.svc-detail.tint-* と対応） */
.svc-quick-card.tint-green { background: #eef6f1; }
.svc-quick-card.tint-pink  { background: #fbeef2; }
.svc-quick-card.tint-blue  { background: #eef4fb; }
.svc-quick-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.svc-quick-card p {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 16px;
  flex: 1;
}
.svc-quick-card .view-more { align-self: center; }
@media (max-width: 860px) {
  .svc-quicklinks { grid-template-columns: 1fr; }
}

/* 詳細セクション（メンテナンス事業／建設事業） */
.svc-detail {
  padding: 80px 0;
  border-top: 1px solid var(--gray-mid);
}
/* 3事業でセクション背景を色分け（アクセントカラーと統一・淡色で判読性を確保） */
.svc-detail.tint-green { background: #eef6f1; border-top-color: #cfe6da; }
.svc-detail.tint-pink  { background: #fbeef2; border-top-color: #f0d4de; }
.svc-detail.tint-blue  { background: #eef4fb; border-top-color: #cfe0f2; }
.svc-detail .sec-title { color: var(--navy); }

.svc-detail-intro {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 900px;
  margin: 24px auto 32px;
}
.svc-detail-image {
  width: 280px;
  flex-shrink: 0;
}
.svc-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 700px) {
  .svc-detail-intro { flex-direction: column; align-items: center; }
  .svc-detail-image { width: 100%; max-width: 320px; }
}

/* リード文は共通の .page-lead / .page-lead.is-left を使用（旧 .svc-detail-lead は廃止） */
.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.svc-item {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 22px 22px;
}
.svc-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.svc-item p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.85;
}
@media (max-width: 860px) {
  .svc-list { grid-template-columns: 1fr; }
}

/* 水処理ソリューション：カテゴリ別リスト */
.solution-category { margin-bottom: 28px; }
.solution-category-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-mid);
}

/* お悩み訴求＋CTA */
.cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 40px 32px;
  text-align: center;
  margin-top: 32px;
}
.cta-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin: 12px 0 24px;
}
.pain-list {
  max-width: 560px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pain-list li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.pain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
}


/* ======================================
   水処理相談サービス（consultation/）共通コンポーネント
   ====================================== */

/* 情報ボックス（こんなお客様に最適です／お悩み一覧など・淡色） */
.info-box {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--blue-main);
  border-radius: 6px;
  padding: 28px 28px;
  margin: 28px 0;
}
.info-box h2, .info-box h3, .info-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  text-align: center;
}

/* ジャンプボタン（コストカット等：ページ内アンカー一覧） */
.jump-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.jump-list a {
  display: block;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.jump-list a:hover { background: var(--blue-main); color: var(--white); opacity: 1; }
@media (max-width: 700px) {
  .jump-list { grid-template-columns: 1fr; }
}

/* 3カラム課題／ソリューションカード */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.trio-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 24px 20px;
}
.trio-card h2, .trio-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-align: center;
}
.trio-card img { margin-bottom: 12px; }
@media (max-width: 860px) {
  .trio-grid { grid-template-columns: 1fr; }
}

/* 相談〜解決の流れ／導入までの流れ（ステップ） */
.flow-steps {
  counter-reset: flow-step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.flow-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  padding: 24px 16px 16px;
  text-align: center;
}
.flow-step::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-main);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* 導入事例カード（画像＋テキスト） */
.case-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.case-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.case-item-image { width: 160px; flex-shrink: 0; }
.case-item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.case-item-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.case-item-body p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.85;
}
@media (max-width: 700px) {
  .case-item { flex-direction: column; }
  .case-item-image { width: 100%; max-width: 240px; }
}

/* 事例テーブル（施設規模／導入設備／導入効果など） */
.case-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}
.case-table dt, .case-table dd { padding: 10px 0; }
dl.case-table {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 4px;
}
dl.case-table dt {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-mid);
}
dl.case-table dd {
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-mid);
  line-height: 1.8;
}

/* 汎用サブ見出し（h3/h4） */
.page-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px;
}

/* ======================================
   共通：お悩み吹き出しブロック（こんなお悩みはありませんか？）
   consultation/index.html・business.html で使用。
   上下二色の帯にまたがるように吹き出しを配置する。
   ====================================== */
.pain-bubbles { position: relative; }
.pain-bubbles-head {
  background: var(--blue-main);
  padding: 48px 0 64px;
  text-align: center;
}
.pain-bubbles-head .sec-title { color: var(--white); margin-bottom: 0; }
.pain-bubbles-base {
  background: var(--navy);
  padding: 0 0 48px;
}
.pain-bubbles-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  transform: translateY(-30px);
}
.pain-bubble {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px 8px 0 8px;
  box-shadow: 0 8px 20px rgba(5,15,40,0.25);
  white-space: nowrap;
}
.pain-bubbles-note {
  max-width: 720px;
  margin: 8px auto 0;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.9;
}
@media (max-width: 700px) {
  .pain-bubbles-head { padding: 40px 0 56px; }
  .pain-bubble { white-space: normal; text-align: center; font-size: 13px; padding: 10px 18px; }
  .pain-bubbles-row { transform: translateY(-20px); gap: 8px; }
}

/* ======================================
   共通：お問い合わせ／資料ダウンロード CTAバナー
   consultation配下全ページ・business.html で使用。
   ブランドの紺＋青をベースに、差し色として --orange-accent を使用。
   ====================================== */
.cta-banner {
  background: var(--orange-accent);
  padding: 64px 0;
  text-align: center;
}
.cta-banner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-banner-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
}
.cta-banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-banner-item p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.8;
}
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background var(--transition), opacity var(--transition), color var(--transition);
}
.cta-banner-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
/* お問い合わせ＝塗りつぶし */
.cta-banner-btn.is-primary {
  background: var(--orange-accent);
  border-color: var(--orange-accent);
  color: var(--white);
}
.cta-banner-btn.is-primary:hover { background: var(--orange-accent-dark); border-color: var(--orange-accent-dark); opacity: 1; }
/* 資料ダウンロード＝白背景＋枠線
   ※.is-accent は旧クラス名（リネーム前のHTMLが残っていても崩れないための互換指定） */
.cta-banner-btn.is-outline,
.cta-banner-btn.is-accent {
  background: var(--white);
  border-width: 2px;
  border-style: solid;
  border-color: var(--orange-accent);
  color: var(--orange-accent);
}
.cta-banner-btn.is-outline:hover,
.cta-banner-btn.is-accent:hover { background: #fdf1e4; opacity: 1; }
@media (max-width: 640px) {
  .cta-banner-card { grid-template-columns: 1fr; padding: 28px 24px; }
}

/* ======================================
   事業紹介：事業カテゴリのグループ化カード（青グラデーション）
   ====================================== */
.solution-group { margin-top: 48px; }
.solution-group:first-of-type { margin-top: 40px; }
.solution-group .sec-title { margin-bottom: 24px; }
.solution-group-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 20px;
}
.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: linear-gradient(160deg, var(--blue-mid), var(--navy));
  border-radius: 12px;
  padding: 24px 20px 28px;
  color: var(--white);
  text-align: center;
}
.solution-card-title {
  display: inline-block;
  background: rgba(13, 32, 70, 0.35);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.solution-card-icon {
  font-size: 32px;
  margin-bottom: 18px;
}
.solution-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.solution-card-list li {
  background: var(--white);
  color: var(--navy);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.solution-card-note {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}
@media (max-width: 900px) {
  .solution-cards { grid-template-columns: 1fr; }
}

/* ======================================
   水処理方式ページ：処理方式カード（画像＋特徴/品質/コスト/スペース）
   ====================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.method-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 24px;
}
.method-card-image {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  margin-bottom: 20px;
}
.method-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}
.method-card-detail dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-main);
  margin-top: 16px;
  margin-bottom: 4px;
}
.method-card-detail dt:first-child { margin-top: 0; }
.method-card-detail dd {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
}
@media (max-width: 780px) {
  .method-grid { grid-template-columns: 1fr; }
}

/* ======================================
   最適な水処理ページ：マネジメント3カードのフル幅背景セクション
   ====================================== */
.mgmt-visual-section {
  position: relative;
  padding: 64px 0;
  /* TODO: 実際の水の画像に差し替え。例:
     background: url('images/optimal-treatment/water-bg.jpg') center/cover no-repeat; */
  background: linear-gradient(160deg, #1a4a7a, #06182e);
}
.mgmt-visual-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 46, 0.45);
}
.mgmt-visual-section .container {
  position: relative;
  z-index: 1;
}

/* ======================================
   施工実績：検索バー＋事例カードグリッド
   ====================================== */
.case-search {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 32px;
}
.case-search input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
}
.case-search input:focus { outline: 2px solid var(--blue-main); outline-offset: 1px; }
.case-search button {
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  background: var(--blue-main);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.case-search button:hover { background: var(--blue-dark); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover {
  box-shadow: 0 8px 24px rgba(10,30,70,0.10);
  transform: translateY(-2px);
  opacity: 1;
}
.case-card-image {
  aspect-ratio: 4 / 3;
}
.case-card-body { padding: 16px; }
.case-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-main);
  background: var(--blue-pale);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.case-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.case-card-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.7;
}
.case-empty {
  text-align: center;
  color: var(--gray-text);
  font-size: 14px;
  padding: 40px 0;
}
@media (max-width: 980px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-search { flex-direction: column; }
}

/* ======================================
   施工実績詳細ページ：課題→解決フロー、技術リンク、設備仕様
   ====================================== */
.case-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.case-flow-block {
  width: 100%;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 28px 32px;
}
.case-flow-block.is-after {
  background: var(--blue-pale);
  border-color: #c7ddf3;
}
.case-flow-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--gray-text);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 14px;
}
.case-flow-block.is-after .case-flow-label { background: var(--blue-main); }
.case-flow-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.6;
}
.case-flow-block ul.quality-list { margin-top: 0; }
.case-flow-arrow {
  color: var(--blue-main);
  display: flex;
}
.case-flow-arrow svg { width: 28px; height: 28px; }

.case-tech-box {
  max-width: 860px;
  margin: 0 auto;
}
.case-tech-box h2 { margin-top: 0; }

.case-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.case-spec-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 20px 24px;
}
.case-spec-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-light);
}
.case-spec-list dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-main);
  margin-top: 10px;
}
.case-spec-list dt:first-child { margin-top: 0; }
.case-spec-list dd {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
}
@media (max-width: 700px) {
  .case-spec-grid { grid-template-columns: 1fr; }
}

/* ======================================
   お問い合わせフォーム（MailformPro連携）
   注意：.mfp_phase / .mailform / .mfp_buttons / .form_step は
   CGI側のJSが参照するクラス名のため、名称変更禁止。見た目のみ調整。
   ====================================== */
.contact-intro-box {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 40px;
}
.contact-intro-box p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 10px;
}
.contact-intro-box p:last-child { margin-bottom: 0; }

.form_step {
  display: flex;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  overflow: hidden;
}
.form_step li {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-text);
  background: var(--gray-light);
  padding: 14px 8px;
  border-right: 1px solid var(--gray-mid);
}
.form_step li:last-child { border-right: none; }
.form_step li.form_step_now {
  background: var(--blue-main);
  color: var(--white);
}

dl.mailform {
  max-width: 720px;
  margin: 0 auto;
}
dl.mailform dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 8px;
}
dl.mailform dt:first-child { margin-top: 0; }
dl.mailform dt .must,
dl.mailform dt .no_must {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
}
dl.mailform dt .must { background: var(--orange-accent); color: var(--white); }
dl.mailform dt .no_must { background: var(--gray-mid); color: var(--gray-text); }
dl.mailform dd { margin: 0; }
dl.mailform dd input[type="text"],
dl.mailform dd input[type="email"],
dl.mailform dd input[type="tel"],
dl.mailform dd textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
}
dl.mailform dd input:focus,
dl.mailform dd textarea:focus {
  outline: 2px solid var(--blue-main);
  outline-offset: 1px;
}
dl.mailform dd textarea { resize: vertical; }
dl.mailform dd input[type="file"] {
  font-size: 13px;
  padding: 8px 0;
}
dl.mailform dd br + br { display: none; }

.contact-agree {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
}
.contact-agree input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.mfp_buttons {
  text-align: center;
  margin-top: 40px;
}
.mfp_buttons button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 48px;
  border: none;
  border-radius: 999px;
  background: var(--blue-main);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.mfp_buttons button:hover { background: var(--blue-dark); }

/* ======================================
   お問い合わせページ：電話／住所／支店リンクのカード
   ====================================== */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contact-method-card {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.contact-method-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.contact-method-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-method-tel a {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.contact-method-fax {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
}
.contact-method-address {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.8;
}
.contact-method-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 12px;
}
@media (max-width: 780px) {
  .contact-methods { grid-template-columns: 1fr; }
}

/* ======================================
   お問い合わせ：送信完了ページ
   ====================================== */
.thanks-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: var(--blue-main);
}
.thanks-icon svg { width: 100%; height: 100%; }
