@import url('https://fonts.googleapis.com/css2?family=Timmana&display=swap');
/* =================================================================
   株式会社阿部産業 — 共通スタイル (site.css)
   ダーク × グリーン基調 (top.html準拠)
   ================================================================= */

/* ===== BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* ライトテーマ */
  --accent:       #171717;
  --accent-dark:  #2f2f2f;
  --accent-deep:  #4f4f4f;
  --bg:           #f5f5f5;
  --bg-2:         #eeeeee;
  --bg-3:         #e5e5e5;
  --bg-card:      #ebebeb;
  --line:         #d5d5d5;
  --line-soft:    #dddddd;
  --text:         #101010;
  --text-sub:     #5f5f5f;
  --text-mute:    #9f9f9f;
  --maxw:         1400px;
}

/* ダーク維持ゾーン：同名変数をダーク値で再定義（hero・page-hero・CTA帯・nav・footer・オープニング） */
#nav,
.as-hero,
.as-page-hero,
.as-cta-band,
footer,
#as-intro {
  --accent:       #e8e8e8;
  --accent-dark:  #d0d0d0;
  --accent-deep:  #b0b0b0;
  --bg:           #0a0a0a;
  --bg-2:         #111111;
  --bg-3:         #1a1a1a;
  --bg-card:      #141414;
  --line:         #2a2a2a;
  --line-soft:    #222222;
  --text:         #efefef;
  --text-sub:     #a0a0a0;
  --text-mute:    #606060;
}

html { scroll-behavior: smooth; font-size: 112.5%; scroll-padding-top: 100px; background: #f3f3f3; }

body {
  font-family: 'Noto Serif JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== サイト全体：ダークな流体背景（固定・ゆっくり動く） ===== */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 18% 22%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(50% 60% at 85% 28%, rgba(0,0,0,0.05), transparent 62%),
    radial-gradient(55% 65% at 70% 82%, rgba(0,0,0,0.06), transparent 64%),
    radial-gradient(45% 55% at 28% 88%, rgba(255,255,255,0.8), transparent 60%),
    #ededed;
  filter: blur(44px);
  animation: fluidMove 26s ease-in-out infinite alternate;
}
@keyframes fluidMove {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(3%, -2%) scale(1.08); }
  66%  { transform: translate(-2%, 3%) scale(1.05); }
  100% { transform: translate(2%, 2%) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 画像はカラー表示（グレースケール効果なし） */
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.as-en { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }

/* ===== LAYOUT HELPERS ===== */
.as-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.as-accent { color: var(--accent); }

/* ===== HEADER / NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#nav.as-scrolled {
  background: rgba(10,10,10,0.98);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.as-nav-inner {
  max-width: 100%;
  margin: 0;
  height: 90px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* ロゴ */
.as-nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.as-nav-logo .as-logo-img {
  height: 60px;
  width: auto;
  display: block;
  /* ロゴSVGは黒塗りのため、暗色ナビ上で白く表示 */
  filter: brightness(0) invert(1);
}

/* ナビリスト */
.as-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}
.as-nav-links > li {
  display: flex;
  align-items: center;
}
/* 各リンク：英文＋日本語の縦並び */
.as-nav-links > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.as-nav-links > li > a:hover { opacity: 0.65; }
.as-nav-jp {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f0f0f0;
  white-space: nowrap;
  line-height: 1;
  order: 1;
}
.as-nav-en {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
  line-height: 1;
  order: 2;
}

/* Facebookアイコン（ナビ・お問い合わせの隣） */
.as-nav-fb > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #f0f0f0;
  transition: opacity 0.2s;
}
.as-nav-fb > a:hover { opacity: 0.65; }
.as-nav-fb svg { display: block; width: 24px; height: 24px; }

/* ハンバーガー */
.as-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 26px;
  flex-shrink: 0;
  margin-left: 20px;
}
.as-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #d0d0d0;
  transition: transform 0.3s, opacity 0.3s;
}
.as-hamburger.as-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.as-hamburger.as-open span:nth-child(2) { opacity: 0; }
.as-hamburger.as-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* モバイルメニュー */
.as-nav-links.as-open {
  position: fixed;
  top: 90px; left: 0; right: 0;
  height: calc(100dvh - 90px);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  background: rgba(10,10,10,0.99);
  padding: 16px 24px;
  overflow-y: auto;
  z-index: 1001;
}
.as-nav-links.as-open > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.07); }
.as-nav-links.as-open > li::before { display: none; }
.as-nav-links.as-open > li > a {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
}
.as-nav-links.as-open .as-nav-en { font-size: 17px; }
.as-nav-links.as-open .as-nav-jp { font-size: 13px; }

/* ===== BUTTONS ===== */
.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.as-btn-primary { background: var(--accent); color: #0a0a0a; }
.as-btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.as-btn-outline { background: none; border: 1px solid var(--accent); color: var(--accent); }
.as-btn-outline:hover { background: var(--accent); color: #1a1500; }
.as-btn-light { background: #e0e0e0; color: #0a0a0a; }
.as-btn-light:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ===== HERO (top) ===== */
.as-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* モバイルのアドレスバー出入りによる高さ変動・ズレを防止 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* 動画が読めない/自動再生がブロックされても黒抜けしないための下地 */
  background: #16181d linear-gradient(180deg, #1d2026 0%, #0e0f12 100%);
}
.as-hero video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.as-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 2;
}
.as-hero-content { position: relative; z-index: 3; padding: 0 20px; }
.as-hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 18px;
}
.as-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 2px;
  line-height: 1;
  color: rgba(255,255,255,0.4); /* 透過：背景動画が透ける */
  transform: none;
}
.as-hero h1 span { color: rgba(255,255,255,0.7); }
.as-hero .as-hero-sub {
  margin: 22px auto 32px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255,255,255,0.85);
  transform: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: left;
  width: fit-content;
  max-width: 100%;
}
.as-hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ヒーローの「お問い合わせ」白ボタンも透過（半透明ガラス調） */
.as-hero .as-btn-primary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.as-hero .as-btn-primary:hover { background: rgba(255,255,255,0.32); color: #fff; transform: translateY(-2px); }
.as-hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}
.as-scroll-line {
  width: 2px; height: 42px;
  background: var(--accent);
  margin: 0 auto 6px;
  transform-origin: top;
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ===== PAGE HEADER (下層ページ) ===== */
.as-page-hero {
  position: relative;
  padding: 190px 24px 80px;
  text-align: center;
  background: linear-gradient(rgba(8,8,8,0.72), rgba(8,8,8,0.86)), var(--ph-img, none) center/cover no-repeat;
  background-color: var(--bg-2);
}
.as-page-hero .as-en-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 2px;
  line-height: 1;
  color: rgba(255,255,255,0.95);
  transform: none;
}
.as-page-hero .as-en-title span { color: var(--accent); }
.as-page-hero .as-jp-title {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.as-breadcrumb {
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--text-mute);
}
.as-breadcrumb a:hover { color: var(--accent); }
.as-breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ===== SECTION ===== */
/* ===== MESSAGE (TOP ヒーロー直下) ===== */
.as-message-section {
  padding: 96px 48px;
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.as-message-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.as-msg-eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  transform: none;
}
.as-msg-eyebrow-jp {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-sub);
}
.as-message-heading {
  font-family: "Timmana", serif;
  font-size: clamp(1.45rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 48px;
}
.as-message-body {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.as-message-body p {
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 1.4em;
}
.as-message-body p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .as-message-section { padding: 64px 24px; }
  .as-message-heading { margin-bottom: 32px; }
}

.as-section { padding: 120px 24px; position: relative; overflow: hidden; }
.as-section.as-alt { background: rgba(255,255,255,0.02); }
.as-section-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.as-section-head { text-align: center; margin-bottom: 52px; }
.as-section-head .as-eyebrow {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 10px;
  transform: none;
}
.as-section-head h2 {
  font-family: "Timmana", serif;
  font-size: clamp(1.5rem, 3.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transform: none;
 /*max-width: 18em;*/
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance; /* 孤立文字など不自然な改行を防止 */
}
.as-section-head .as-lead {
  margin-top: 14px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: var(--text-sub);
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}
.as-section-head .as-lead { max-width: 1100px; }
.as-section-head.as-left { text-align: left; }
/* サービス詳細：見出しブロックの外に出した本文（PCは従来通り 見出し→本文→画像） */
.as-svc-detail > .as-lead {
  margin: 14px auto 0;
  max-width: 1100px;
  text-align: left;
  color: var(--text-sub);
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

/* ===== セクション左の欧文ウォーターマーク（縦組み・薄いグレー・透過） ===== */
.as-section[data-wm]::before {
  content: attr(data-wm);
  position: absolute;
  top: 56px;
  left: 24px;
  transform: translateX(-115%) skewX(-8deg);
  opacity: 0;
  transition: transform 1s cubic-bezier(.16,.84,.34,1), opacity 0.9s ease;
  writing-mode: horizontal-tb;
  font-family: "Timmana", serif;
  font-weight: 700;
  /* JSが枠内幅の80%にフィットさせる（--wm-fs）。未実行時は従来のフォールバック */
  font-size: var(--wm-fs, clamp(5.4rem, 10.8vw, 8.4rem));
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.10);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* トリガー（スクロールで可視）：左からスライドイン */
.as-section[data-wm].as-wm-in::before {
  transform: translateX(0) skewX(-8deg);
  opacity: 1;
}
/* ウォーターマークは SCAFFOLD / DEMOLITION / PAINTING / EXTERIOR のみ表示 */
.as-section[data-wm]:not(#sv-scaffold):not(#sv-demolition):not(#sv-painting):not(#sv-construction)::before { content: none; }
/* 登場方向を交互に：偶数番は右から（PCのスライド時のみ。タブレット以下は中央フェード） */
@media (min-width: 1025px) {
  .as-section[data-wm].wm-from-right:not(.as-wm-in)::before {
    transform: translateX(80%) skewX(-8deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .as-section[data-wm]::before { transition: none; transform: translateX(0) skewX(-8deg); opacity: 1; }
}
@media (max-width: 768px) {
  .as-section[data-wm]::before { font-size: var(--wm-fs, 24vw); }
}
/* タブレット以下：ウォーターマークを中央配置（横スライドはやめてフェードのみ） */
@media (max-width: 1024px) {
  .as-section[data-wm]::before {
    left: 50%;
    transform: translateX(-50%) skewX(-8deg);
    text-align: center;
  }
  .as-section[data-wm].as-wm-in::before {
    transform: translateX(-50%) skewX(-8deg);
  }
}
/* PC：特大ウォーターマーク（透過・センター揃え） */
@media (min-width: 1025px) {
  .as-section[data-wm]::before {
    font-size: var(--wm-fs, 27vw);
    top: 48px;
    left: 50%;
    line-height: 0.8;
    letter-spacing: -0.01em;
    text-align: center;
    transform: translateX(-180%) skewX(-8deg); /* 既定：左から登場 */
  }
  .as-section[data-wm].as-wm-in::before {
    transform: translateX(-50%) skewX(-8deg); /* 着地：中央 */
  }
}

/* ===== テキスト内枠：ブロックは中央寄せ・本文は左揃え（不自然な改行を防止） ===== */
.text-inner {
  display: block;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ===== WORKS：横スクロール ===== */
.as-works-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 18px;
  scrollbar-width: thin;
}
.as-works-scroll .as-service-block {
  flex: 0 0 360px;
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  scroll-snap-align: start;
  cursor: pointer;
}
@media (min-width: 1025px) {
  .as-works-scroll { cursor: grab; }
  .as-works-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  /* ドラッグ中の画像選択だけ抑止（pointer-eventsは切らない＝クリックが死なない） */
  .as-works-scroll.is-dragging img { user-select: none; -webkit-user-drag: none; }
}
.as-works-scroll::-webkit-scrollbar { height: 8px; }
.as-works-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 4px; }
.as-works-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); }
.as-work-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 768px) {
  .as-works-scroll .as-service-block { flex-basis: 80vw; width: 80vw; min-width: 80vw; max-width: 80vw; }
}
/* 横スクロール インジケーター */
.as-works-progress {
  position: relative;
  width: 180px;
  max-width: 60%;
  height: 3px;
  margin: 22px auto 0;
  background: rgba(0,0,0,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.as-works-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: var(--accent);
  border-radius: 3px;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ===== 施工事例 ポップアップ ===== */
.as-works-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.as-works-modal.is-open { opacity: 1; visibility: visible; }
.as-works-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.as-works-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.25s;
}
.as-works-modal.is-open .as-works-modal-box { transform: translateY(0); }
.as-works-modal-figure { line-height: 0; }
.as-works-modal-figure img { width: 100%; height: 360px; object-fit: cover; border-radius: 12px 12px 0 0; }
.as-works-modal-body { padding: 32px 32px 36px; }
.as-works-modal-place {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.as-works-modal-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 6px 0 18px;
  transform: none;
}
.as-works-modal-text { font-size: 16px; line-height: 2; color: var(--text-sub); }
.as-works-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
}
.as-works-modal-close::before,
.as-works-modal-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 2px;
  background: #fff;
}
.as-works-modal-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.as-works-modal-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
@media (max-width: 768px) {
  .as-works-modal-figure img { height: 220px; }
  .as-works-modal-body { padding: 24px 20px 28px; }
}

/* ===== SERVICE BLOCKS (top) ===== */
.as-service-blocks { display: flex; flex-wrap: wrap; gap: 20px; }
.as-service-block {
  position: relative;
  flex: 1 1 0;
  min-width: 240px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* background: var(--bg-card); */
  /* border: 1px solid var(--line); */
  overflow: hidden;
  border-radius: 12px;
  transition: border-color 0.25s, transform 0.25s;
}
.as-service-block:hover { border-color: var(--accent-deep); transform: translateY(-4px); }
/* 可読性スクリム（画像とテキストの間） */
.as-service-block::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.82) 50%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
}
.as-sb-left {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.as-sb-header {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 18px;
}
.as-sb-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.2rem;
  color: var(--text-mute);
  line-height: 1;
  letter-spacing: 0.02em;
}
img.as-sb-num {
  display: block;
  width: auto;
  height: 4.2rem;
}
.as-sb-en {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  position: relative;
  padding-left: 32px;
}
.as-sb-en::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--text-mute);
}
.as-sb-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  transform: none;
}
.as-sb-desc {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.as-sb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
  align-self: flex-start;
}
.as-sb-link:hover { border-color: var(--text); }
.as-sb-right {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.as-sb-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.as-service-block:hover .as-sb-right img {
  transform: scale(1.04);
}
/* 画像オーバーレイ上のテキストは明色に統一 */
.as-service-block .as-sb-title { color: #fff; }
.as-service-block .as-sb-desc { color: rgba(255,255,255,0.82); }
.as-service-block .as-sb-en { color: rgba(255,255,255,0.72); }
.as-service-block .as-sb-en::before { background: rgba(255,255,255,0.72); }
.as-service-block .as-sb-link { color: #fff; border-bottom-color: rgba(255,255,255,0.5); }
.as-service-block .as-sb-link:hover { border-bottom-color: #fff; }

/* ===== NUMBERS / STRENGTH ===== */
.as-numbers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.as-number-cell { flex: 1 1 0; min-width: 200px; background: var(--bg-2); padding: 44px 20px; text-align: center; border-radius: 12px; }
.as-number-cell .as-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.4rem;
  color: var(--accent);
  line-height: 1;
  transform: none;
}
.as-number-cell .as-label { margin-top: 8px; color: var(--text-sub); font-size: 15px; }

/* ===== FEATURE ROWS (下層: 原稿セクション) ===== */
.as-feature-list { display: flex; flex-direction: column; gap: 28px; }
.as-feature-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  /* background: var(--bg-card); */
  /* border: 1px solid var(--line); */
  padding: 28px;
}
.as-feature-row:nth-child(even) .as-feature-media { order: 2; }
.as-feature-media {
  flex: 0 0 280px;
  width: 280px;
  min-height: 200px;
  background: var(--bg-3);
  /* border: 1px solid var(--line); */
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.as-feature-body { flex: 1; min-width: 0; }
.as-feature-media img { width: 100%; height: auto; display: block; }
.as-feature-media .as-ph {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--text-mute);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.as-feature-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}
.as-feature-body h3::before {
  content: '';
  position: absolute;
  left: 0; top: 0.2em; bottom: 0.2em;
  width: 4px;
  background: var(--accent);
}
.as-feature-body p { color: var(--text-sub); font-size: 18px; }

/* ===== SERVICE 要約図版（画像＋本文のみ） ===== */
.as-service-figure { margin-top: 40px; line-height: 0; }
.as-service-figure img {
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* PC：画像をテキスト幅（760px）に揃えて中央配置 */
@media (min-width: 1025px) {
  .as-svc-detail > .as-service-figure {
    width: 100%;
    max-width: 1100px; /* 本文(as-lead)と同じ幅 */
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px; /* ウォーターマーク下部30%に画像がかかる位置へ */
  }
  .as-svc-detail > .as-service-figure img {
    height: clamp(260px, 24vw, 400px);
  }
}

/* ===== STEP / FLOW ===== */
.as-flow { display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.as-flow-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  /* background: var(--bg-card); */
  /* border: 1px solid var(--line); */
  padding: 20px 24px;
}
.as-flow-item .as-step-no {
  flex: 0 0 56px;
  counter-increment: step;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.as-flow-item .as-step-no::before { content: counter(step, decimal-leading-zero); }
.as-flow-item > div { flex: 1; min-width: 0; }
.as-flow-item h4 { font-size: 17px; margin-bottom: 4px; }
.as-flow-item p { color: var(--text-sub); font-size: 15px; }

/* ===== ARTICLE (コラム/ガイド) ===== */
.as-article {
  max-width: 850px;
  margin: 0 auto;
}
.as-article p { color: var(--text-sub); font-size: 18px; margin-bottom: 1.3em; }
.as-article h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 2.4em 0 0.9em;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.as-article h2:first-child { margin-top: 0; }
.as-article h3 {
  font-size: 1.25rem;
  margin: 1.8em 0 0.7em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.as-article h4 { font-size: 1.05rem; margin: 1.4em 0 0.5em; color: var(--text); }
.as-article ul.as-bullets { margin: 0 0 1.4em; padding-left: 0; }
.as-article ul.as-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-sub);
}
.as-article ul.as-bullets li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.7em;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 1px;
}
.as-article strong { color: var(--text); font-weight: 700; }
.as-article a.as-inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* lead box */
.as-lead-box {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: 22px 26px;
  margin-bottom: 2em;
  color: var(--text-sub);
  font-size: 16px;
}

/* note / warning callouts */
.as-callout {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 1.4em 0;
  background: var(--bg-3);
}
.as-callout .as-callout-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.as-callout p:last-child { margin-bottom: 0; }
.as-callout.as-warn { border-left: 4px solid #e0a92e; }
.as-callout.as-warn .as-callout-title { color: #a37400; }
.as-callout.as-danger { border-left: 4px solid #e05a4e; }
.as-callout.as-danger .as-callout-title { color: #c0392b; }
.as-callout.as-tip { border-left: 4px solid var(--accent); }
.as-callout.as-tip .as-callout-title { color: var(--accent-deep); }

/* checklist */
.as-checklist {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin: 1.2em 0 1.8em;
}
.as-checklist h4 {
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.as-checklist ul { display: flex; flex-direction: column; gap: 10px; }
.as-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.6;
}
.as-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border: 2px solid var(--accent);
  border-radius: 3px;
}

/* table (滅失登記など) */
.as-def-table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.8em; }
.as-def-table th, .as-def-table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}
.as-def-table th {
  background: var(--bg-3);
  color: var(--text);
  width: 32%;
  font-weight: 700;
}
.as-def-table td { color: var(--text-sub); }

/* ===== CTA BAND ===== */
.as-cta-band {
  background:
    linear-gradient(rgba(8,8,8,0.82), rgba(8,8,8,0.88)),
    url('../../img/シーケンス 01.00_08_01_12.静止画059_0.jpg') center/cover fixed no-repeat;
  text-align: center;
  padding: 84px 24px;
  border-top: 1px solid var(--line);
}
.as-cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 1.9rem); margin-bottom: 10px; color: #fff; }
.as-cta-band p { color: rgba(255,255,255,0.82); margin-bottom: 12px; word-break: keep-all; overflow-wrap: anywhere; }
.as-cta-tel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 6px 0 4px;
  display: inline-block;
}
.as-cta-hours { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.as-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT FORM ===== */
.as-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.as-contact-grid .as-contact-info-box { flex: 0.9 1 260px; }
.as-contact-grid > form { flex: 1.4 1 320px; min-width: 0; }
.as-contact-info-box {
  /* background: var(--bg-card); */
  /* border: 1px solid var(--line); */
  padding: 32px;
}
/* 単独表示（フォーム廃止後）：中央寄せ・幅を抑える */
.as-contact-info-box.as-info-centered { max-width: 560px; margin: 0 auto; }
.as-contact-info-box .as-item { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.as-contact-info-box .as-item:last-child { border-bottom: none; }
.as-contact-info-box .as-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.as-contact-info-box .as-val { font-size: 16px; margin-top: 4px; }
.as-contact-info-box .as-val.as-tel { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; }

.as-form-group { margin-bottom: 20px; }
.as-form-group label { display: block; font-size: 15px; margin-bottom: 8px; }
.as-form-group .as-req { color: var(--accent); font-size: 12px; margin-left: 6px; }
.as-form-group input,
.as-form-group textarea,
.as-form-group select {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.as-form-group input:focus,
.as-form-group textarea:focus,
.as-form-group select:focus { outline: none; border-color: var(--accent); }
.as-form-group textarea { height: 150px; resize: vertical; }
.as-contact-submit {
  width: 100%;
  background: var(--accent);
  color: #1a1500;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: background 0.2s;
}
.as-contact-submit:hover { background: var(--accent-dark); }
.as-contact-submit.as-success { background: var(--accent-deep); color: #fff; }

/* ===== INFO / ABOUT TABLE ===== */
.as-info-table { width: 100%; border-collapse: collapse; }
.as-info-table tr { }
.as-info-table th, .as-info-table td { padding: 18px 8px; text-align: left; font-size: 16px; vertical-align: top; }
.as-info-table th { width: 200px; color: var(--accent); font-weight: 500; letter-spacing: 0.04em; }
.as-info-table td { color: var(--text-sub); }

/* ===== related cards (下層下部) ===== */
.as-related-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.as-related-card {
  flex: 1 1 200px;
  min-width: 200px;
  /* background: var(--bg-card); */
  /* border: 1px solid var(--line); */
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.as-related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.as-related-card .as-en { color: var(--accent); font-size: 15px; }
.as-related-card h4 { font-size: 17px; margin: 4px 0 6px; }
.as-related-card p { font-size: 14px; color: var(--text-sub); }

/* ===== FOOTER ===== */
footer {
  background: #000000;
  padding: 56px 24px 28px;
}
.as-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.as-footer-brand { flex: 1.4 1 220px; }
.as-footer-col { flex: 1 1 160px; }
.as-footer-brand .as-nav-logo { font-size: 1.8rem; }
/* ロゴ画像（フッター） */
.as-footer-brand .as-logo-img { height: 44px; width: auto; display: block; filter: brightness(0) invert(1); }
.as-footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.9; }
.as-footer-brand p a { color: inherit; text-decoration: none; transition: color 0.2s; }
.as-footer-brand p a:hover { color: var(--accent); }
.as-footer-col h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}
.as-footer-col ul li { margin-bottom: 10px; }
.as-footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.as-footer-col a:hover { color: var(--accent); }
.as-footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ===== MAP（コンテンツ幅） ===== */
.as-map-contained { margin: 0 auto 36px; line-height: 0; }
.as-map-contained iframe { width: 100%; height: 400px; border: 0; display: block; }
@media (max-width: 768px) {
  .as-map-contained iframe { height: 300px; }
}

/* ===== ACCESS MAP（全幅・フルブリード） ===== */
#access { padding-bottom: 0; }
.as-access-map {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 8px;
  line-height: 0;
}
.as-access-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .as-access-map iframe { height: 320px; }
}

/* ===== 準備中リンク（未実装の href="#"） ===== */
.is-soon { position: relative; cursor: default; }
.is-soon::after {
  content: "準備中";
  position: absolute;
  left: 50%; top: 100%;
  transform: translateX(-50%) translateY(6px);
  background: var(--accent);
  color: var(--bg);
  font-family: 'Noto Serif JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  white-space: nowrap;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1200;
}
.is-soon:hover::after,
.is-soon.is-soon-show::after { opacity: 1; }

/* ===== SCROLL REVEAL ===== */
/* JS無効・読込前は隠さない（コンテンツが透明のまま消えるのを防ぐ） */
.as-js .as-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.as-js .as-reveal.as-visible { opacity: 1; transform: none; }
/* メッセージ（ご挨拶）は左からスライドイン */
.as-js .as-message-inner .as-reveal { transform: translateX(-48px); }
.as-js .as-message-inner .as-reveal.as-visible { transform: none; }
/* サービス詳細の画像は中央から広がるように出現 */
.as-js .as-svc-detail > .as-service-figure.as-reveal { transform: scale(0.86); transform-origin: center; }
.as-js .as-svc-detail > .as-service-figure.as-reveal.as-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .as-js .as-reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .as-service-block { flex: 1 1 calc(50% - 10px); }
  .as-sb-left { padding: 30px 26px; }
  .as-contact-grid { flex-direction: column; gap: 28px; }
  .as-contact-grid .as-contact-info-box,
  .as-contact-grid > form { flex: 1 1 auto; width: 100%; }
}
/* タブレット・スマホ：本文は読みやすく拡大、中央寄せブロック内で左揃え（見出しは中央のまま） */
@media (max-width: 1024px) {
  .as-section-head .as-lead,
  .as-svc-detail > .as-lead,
  .as-message-body p { font-size: 24px; line-height: 1.9; text-align: left; }

  /* ご挨拶・本文：幅100%・左寄せ（見出しは中央のまま）。左スライドのはみ出しも縦フェードに変更 */
  .as-message-body { max-width: 100%; margin-left: 0; margin-right: 0; text-align: left; }
  .as-js .as-message-inner .as-reveal { transform: translateY(24px); }
  .as-js .as-message-inner .as-reveal.as-visible { transform: none; }

  /* PC以下はハンバーガーをトリガー（横並びナビを隠す） */
  .as-hamburger { display: flex; }
  .as-nav-links:not(.as-open) { display: none; }
  .as-nav-inner { height: 72px; padding: 0 20px; }
  /* 開いたメニューをヘッダー高さ(72px)に合わせ、隙間をなくす */
  .as-nav-links.as-open { top: 72px; height: calc(100dvh - 72px); }
}

@media (max-width: 768px) {

  .as-feature-row,
  .as-feature-row:nth-child(even) { flex-direction: column; gap: 18px; }
  .as-feature-row:nth-child(even) .as-feature-media { order: 0; }
  .as-feature-media { flex: 0 0 auto; width: 100%; }

  .as-service-block { flex: 1 1 100%; }
  /* サービス詳細：スマホは 見出し→画像→本文 の順 */
  .as-svc-detail { display: flex; flex-direction: column; }
  .as-svc-detail > .as-section-head { order: 1; margin-bottom: 0; }
  .as-svc-detail > .as-service-figure { order: 2; margin-top: 22px; }
  .as-svc-detail > .as-lead { order: 3; margin-top: 22px; }
  .as-numbers-grid { flex-direction: column; }
  .as-info-table th { width: 120px; }
  .as-def-table th { width: 40%; }
  .as-footer-inner { flex-direction: column; gap: 28px; }
  .as-section { padding: 88px 20px; }
}
@media (max-width: 480px) {
  .as-service-item { grid-template-columns: 52px 1fr 24px; gap: 18px; padding: 28px 0; }
  .as-si-num { font-size: 2rem; }
}

/* ===== 見出し・英字ラベル・数字の斜め(skew)を全体へ展開 ===== */
.as-hero-eyebrow,
.as-page-hero .as-jp-title,
.as-service-card .as-num,
.as-service-card h3,
.as-flow-item .as-step-no,
.as-article h2,
.as-article h4,
.as-cta-band h2,
.as-cta-band .as-cta-tel,
.as-related-card .as-en,
.as-related-card h4,
.as-checklist h4,
.as-contact-info-box .as-lbl,
.as-contact-info-box .as-val.as-tel {
  transform: none;
}

/* アウトラインボタン */
.as-btn-outline { border-color: var(--accent); color: var(--accent); }
.as-btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
/* 会社概要を見る：ホバー時は文字を白反転 */
#about-teaser .as-btn-outline:hover { color: #fff; }

/* ===== お問い合わせ フローティングボタン（右側） ===== */
.as-float-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  writing-mode: vertical-rl;
  background: #171717;
  color: #fff;
  padding: 24px 14px;
  border-radius: 10px 0 0 10px;
  box-shadow: -3px 0 18px rgba(0,0,0,0.28);
  text-decoration: none;
  transition: background 0.25s, padding 0.25s;
}
.as-float-contact:hover { background: #000; padding-right: 18px; }
.as-float-contact-en { display: none; } /* 欧文は非表示 */
.as-float-contact-jp {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
@media (max-width: 768px) {
  .as-float-contact { padding: 14px 8px; gap: 0; top: 50%; bottom: auto; transform: translateY(-50%); border-radius: 8px 0 0 8px; }
  .as-float-contact-jp { font-size: 12px; letter-spacing: 0.12em; }
}

/* ===== トップへ戻るボタン ===== */
.as-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(10,10,10,0.9);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.as-to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.as-to-top:hover { background: #000; }
.as-to-top-arrow {
  width: 10px; height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 3px;
}
.as-to-top-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
}
@media (max-width: 768px) {
  .as-to-top { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .as-to-top-label { font-size: 10px; }
}

/* スマホ：ヒーローの中身を小さくして動画を目立たせる */
@media (max-width: 768px) {
  /* 中身を下げてスクロール表示のすぐ上に配置（上に大きく余白＝動画を見せる） */
  .as-hero { align-items: flex-end; text-align: left; }
  .as-hero-content { padding: 0 24px; margin: 0 0 10vh; width: 100%; }
  .as-hero .as-hero-sub { margin-left: 0; margin-right: 0; width: auto; }
  .as-hero-buttons { justify-content: flex-start; }
  /* SCROLL表示は右端に */
  .as-hero-scroll { left: auto; right: 24px; transform: none; }
  .as-hero-eyebrow { font-size: 11px; letter-spacing: 0.25em; margin-bottom: 10px; }
  .as-hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); letter-spacing: 1px; }
  .as-hero .as-hero-sub { font-size: 13px; line-height: 1.9; margin: 12px auto 20px; }
  .as-hero-buttons { gap: 10px; }
  .as-hero-buttons .as-btn { min-width: 0; width: auto; padding: 11px 22px; font-size: 13px; }
  /* オーバーレイをやや薄くして映像を見せる */
  .as-hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.55) 100%); }
}


/* ===== インラインスタイル外出し ===== */
/* 数字の単位 */
.as-num-unit { font-size: 1.3rem; }
/* テキスト中央寄せ汎用 */
.as-center { text-align: center; }
/* ページヒーロー背景画像（CSSファイル基準パス） */
.ph-demolition  { --ph-img: url('../images/demolition.jpg'); }
.ph-painting    { --ph-img: url('../images/painting.jpg'); }
.ph-scaffold    { --ph-img: url('../images/26599436_0.jpg'); }
.ph-construction { --ph-img: url('../images/company.jpg'); }
.ph-company     { --ph-img: url('../images/company.jpg'); }
/* section-inner 幅900px */
.as-section-inner-narrow { max-width: 900px; margin: 0 auto; }
/* 会社概要リードテキスト */
.as-about-lead { color: var(--text-sub); font-size: 18px; }
/* 注記テキスト */
.as-note { font-size: 13px; color: var(--text-mute); margin-top: 18px; }
.as-form-note { font-size: 13px; color: var(--text-mute); margin-top: 14px; }
/* contact 値テキスト */
.as-val-sub { display: block; font-size: 14px; color: var(--text-mute); }
.as-val-sm  { font-size: 15px; }
/* コラム記事タイトル */
.as-article-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 1em;
}
/* コールアウト 上マージン */
.as-callout-top { margin-top: 2.4em; }
/* 小さいアウトラインボタン */
.as-btn-sm { padding: 10px 22px !important; font-size: 13px !important; }
/* 塗装ページ フローブロック */
.as-flow-block { margin-bottom: 48px; }
.as-flow-h3 {
  font-size: 20px;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.as-flow-p { color: var(--text-sub); margin-bottom: 22px; }
.as-text-sub { color: var(--text-sub); }
/* demolition 手続きリンク上マージン */
.as-mt-guide { margin-top: 14px; }

/* =================================================================
   固定CTAバナー（フローティング見積もりボタン＋縦タブ）
   ※ purototaipi の footer_fixed_link / footer_fixed_side_link を移植
   ================================================================= */
.as-fixed-cta,
.as-fixed-side { z-index: 90; }
.as-fixed-cta a,
.as-fixed-side a { display: block; transition: transform .3s ease, opacity .3s ease; }
.as-fixed-cta a:hover,
.as-fixed-side a:hover { transform: scale(1.04); }
.as-fixed-cta img,
.as-fixed-side img { display: block; width: 100%; height: auto; }

/* 右下：まずはご相談ください！ */
.as-fixed-cta {
  position: fixed;
  right: 18px;
  bottom: 16px;
  width: 300px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.22));
}
.as-fixed-cta .as-fixed-close {
  position: absolute;
  top: 2px; left: 2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff url('../../img/footer_fixed_link_close_btn.png') center/13px no-repeat;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer;
  z-index: 2;
  transition: transform .3s ease;
}
.as-fixed-cta .as-fixed-close:hover { transform: scale(1.08); }
.as-fixed-cta.is-hidden { display: none; }
.as-fixed-cta .sp-only { display: none; }

/* 右端中央：お問い合わせはコチラ（縦タブ・PCのみ） */
.as-fixed-side {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.15));
}
.as-fixed-side a:hover { transform: translateY(0) scale(1.05); }

/* スマホ */
@media (max-width: 768px) {
  .as-fixed-side { display: none; }
  .as-fixed-cta {
    width: 176px;
    right: 10px;
    bottom: 10px;
  }
  .as-fixed-cta .pc-only { display: none; }
  .as-fixed-cta .sp-only { display: block; }
  .as-fixed-cta .as-fixed-close { width: 24px; height: 24px; }
}

/* =================================================================
   4K / 大型ディスプレイ対応
   ================================================================= */

/* FHD+ (1920px〜) */
@media (min-width: 1920px) {
  :root { --maxw: 1700px; }
  body { font-size: 18px; }
  .as-nav-inner { height: 108px; padding: 0 60px; }
  .as-nav-logo .as-logo-img { height: 70px; }
  .as-nav-jp { font-size: 16px; }
  .as-nav-en { font-size: 12px; }
  .as-section { padding: 112px 40px; }
  .as-message-section { padding: 120px 60px; }
  .as-sb-left { padding: 40px 36px; }
  .as-sb-num { font-size: 5.5rem; }
  img.as-sb-num { height: 5.5rem; }
  .as-sb-right { min-height: 340px; }
  .as-numbers-grid { max-width: var(--maxw); margin: 0 auto; }
  .as-number-cell .as-num { font-size: 4.2rem; }
  footer { padding: 72px 40px 36px; }
}

/* QHD / 2.5K (2560px〜) */
@media (min-width: 2560px) {
  :root { --maxw: 2200px; }
  body { font-size: 22px; }
  .as-nav-inner { height: 140px; padding: 0 80px; }
  .as-nav-logo .as-logo-img { height: 90px; }
  .as-nav-jp { font-size: 20px; }
  .as-nav-en { font-size: 14px; }
  .as-nav-links > li > a { padding: 0 24px; }
  .as-section { padding: 144px 56px; }
  .as-section-head { margin-bottom: 72px; }
  .as-section-head .as-eyebrow { font-size: 20px; }
  .as-section-head .as-lead,
  .as-svc-detail > .as-lead { font-size: 28px; line-height: 1.9; }
  .as-message-section { padding: 160px 80px; }
  .as-message-heading { font-size: clamp(1.8rem, 2vw, 2.4rem); }
  .as-message-body p { font-size: 28px; }
  .as-sb-left { padding: 48px 44px; }
  .as-sb-num { font-size: 7rem; }
  img.as-sb-num { height: 7rem; }
  .as-sb-title { font-size: clamp(2.4rem, 3vw, 3.2rem); }
  .as-sb-desc { font-size: 20px; }
  .as-sb-right { min-height: 440px; }
  .as-number-cell { padding: 60px 28px; }
  .as-number-cell .as-num { font-size: 5.5rem; }
  .as-number-cell .as-label { font-size: 20px; }
  .as-hero h1 { font-size: clamp(7rem, 10vw, 11rem); }
  .as-hero .as-hero-sub { font-size: clamp(18px, 1.8vw, 26px); }
  .as-btn { min-width: 300px; padding: 18px 40px; font-size: 17px; }
  .as-cta-band { padding: 120px 40px; }
  footer { padding: 88px 56px 44px; }
  .as-footer-brand .as-logo-img { height: 60px; }
  .as-footer-col a { font-size: 17px; }
  .as-footer-col h5 { font-size: 20px; }
}

/* 4K / UHD (3840px〜)：コンテンツ列は1500px（デスクトップ相当）。
   文字を巨大化せず崩さない。ナビ/ヒーロー/余白のみ大画面向けに控えめ調整 */
@media (min-width: 3840px) {
  :root { --maxw: 1500px; }
  .as-nav-inner { height: 120px; padding: 0 80px; }
  .as-nav-logo .as-logo-img { height: 80px; }
  .as-nav-jp { font-size: 18px; }
  .as-nav-en { font-size: 12px; }
  .as-section { padding: 160px 40px; }
  .as-message-section { padding: 180px 48px; }
  .as-cta-band { padding: 140px 40px; }
  footer { padding: 100px 56px 48px; }
  /* ヒーローは全画面なので少しだけ大きく */
  .as-hero h1 { font-size: clamp(6rem, 9vw, 9rem); }
  .as-hero .as-hero-sub { font-size: clamp(18px, 1.6vw, 24px); }
}

