@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@700;900&family=Outfit:wght@300;400;500;600;700&family=Shippori+Mincho:wght@500;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

/* ===== リセット・基本設定 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== オープニングアニメーション ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.intro-overlay-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #f5faff 0%, #ffffff 80%);
  transition: opacity 0.7s ease;
  overflow: hidden;
}

.intro-overlay-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(59, 130, 246, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: intro-ripple 3.2s cubic-bezier(0.19, 1, 0.22, 1) 0.4s forwards;
}

@keyframes intro-ripple {
  0%   { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

.intro-overlay-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  will-change: transform, opacity;
}

.intro-overlay-logo {
  width: 95px;
  max-width: 30vw;
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  animation: intro-logo-fade 1.0s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
  filter: drop-shadow(0 4px 20px rgba(10, 94, 184, 0.15));
}

@keyframes intro-logo-fade {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

.intro-overlay-text {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1c84d2;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0;
  transform: translateX(-8px);
  animation: intro-text-fade 1.0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
}

.intro-overlay-jp {
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: 0.18em;
}

@keyframes intro-text-fade {
  0%   { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
  .intro-overlay-stack {
    gap: 14px;
  }
  .intro-overlay-logo {
    width: 70px;
  }
  .intro-overlay-text {
    font-size: 18px;
  }
}

.intro-overlay.is-fading {
  transition: opacity 0.4s ease;
  opacity: 0;
}

.intro-overlay.is-hidden {
  display: none;
}

body.intro-locked {
  overflow: hidden;
}

body.intro-locked .header-logo {
  opacity: 0;
}

.header-logo {
  transition: opacity 0.5s ease;
}

:root {
  --primary: #0a5eb8;
  --primary-light: #3b82f6;
  --primary-dark: #084a93;
  --primary-glow: rgba(10, 94, 184, 0.15);
  --accent: #1a2a4a;
  --accent-light: #2d4a7a;
  --gold: #d4a843;
  --text: #2c3e50;
  --text-light: #6b7c93;
  --bg: #ffffff;
  --bg-light: #f0f5fb;
  --bg-dark: #0f1b2d;
  --border: #dce4ef;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 32px rgba(10, 94, 184, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --gradient: linear-gradient(135deg, #0a5eb8 0%, #1e88e5 50%, #3b82f6 100%);
  --gradient-dark: linear-gradient(135deg, #0f1b2d 0%, #1a2a4a 100%);
  --gradient-subtle: linear-gradient(180deg, #f0f5fb 0%, #ffffff 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  z-index: 1000;
  height: 80px;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease, backdrop-filter 0.4s ease, opacity 0.4s ease, visibility 0s linear 0s;
}

/* ドッキング時：各要素を個別に動かしてからヘッダー全体を非表示に */
.header.is-docked {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease, backdrop-filter 0.4s ease, opacity 0.5s ease 0.6s, visibility 0s linear 1.1s;
}
.header.is-docked .header-logo,
.header.is-docked .header-phone {
  opacity: 0;
  transform: translateY(20px);
}
.header.is-docked .header-nav a {
  opacity: 0;
  transform: translateY(calc(100vh - 220px)) scale(0.95);
}
.header.is-docked .header-nav a:nth-of-type(1) { transition-delay: 0s; }
.header.is-docked .header-nav a:nth-of-type(2) { transition-delay: 0.08s; }
.header.is-docked .header-nav a:nth-of-type(3) { transition-delay: 0.16s; }
.header.is-docked .header-nav a:nth-of-type(4) { transition-delay: 0.24s; }
.header.is-docked .header-nav a:nth-of-type(5) { transition-delay: 0.32s; }

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  height: 72px;
}

/* ヘッダー透過時：右側のナビ・電話番号は背景写真の上に乗るので白文字に */
.header:not(.scrolled) .header-nav a {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.header:not(.scrolled) .header-phone {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.header:not(.scrolled) .header-phone-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.header:not(.scrolled) .header-nav a:hover {
  color: #000;
  text-shadow: none;
}

.header:not(.scrolled) .header-nav a::after {
  background: #000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: none;
  padding: 0 32px;
}

.header .header-logo {
  flex-shrink: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 14.1px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1c84d2;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.header-logo-jp {
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1;
  transition: color 0.25s ease, opacity 0.9s cubic-bezier(0.7, 0, 0.3, 1), transform 0.9s cubic-bezier(0.7, 0, 0.3, 1);
}

.header-nav a .nav-jp {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

.header-nav a .nav-en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  font-family: 'Oswald', 'Arial', sans-serif;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: #000;
}

.header-nav a:hover .nav-en {
  opacity: 1;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.header-phone-icon {
  font-size: 12px;
  font-weight: 600;
  background: var(--primary-glow);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--primary);
}

.header-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(10, 94, 184, 0.3);
  transition: all 0.3s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 94, 184, 0.4);
  color: var(--white) !important;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== ヒーローセクション（SHOUWAテイスト） ===== */
.hero {
  position: relative;
  width: 100%;
  height: 150vh;
  min-height: 1020px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* 背景：明るめのグレー＋ほのかな水色のテクスチャ＋薄グレーのロゴ */
.hero-bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(56, 189, 248, 0) 50%),
    linear-gradient(180deg, #f5f7fa 0%, #e8edf3 60%, #dde5ee 100%);
  z-index: 0;
  overflow: hidden;
}

.hero-bg-texture::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12.5vw;
  transform: translate(-50%, -50%);
  width: 48vw;
  height: 48vw;
  max-width: 1000px;
  max-height: 1000px;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.14;
  filter: grayscale(100%) brightness(0.5);
  pointer-events: none;
}

/* 画像ラッパー：100vw × 100vh、上80px下げて画像コンテンツ配置 */
.hero-image-wrapper {
  position: sticky;
  top: 80px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 80px);
  z-index: 1;
}

/* 画像コンテンツ：右75vwに配置・margin-left:autoで右寄せ */
.hero-image-content {
  position: relative;
  width: 75vw;
  height: 100%;
  margin-left: auto;
  overflow: hidden;
  background-color: #aaa;
}

/* 画像の暗いグラデーション（左下→右下を暗く） */
.hero-image-content::before {
  content: '';
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-140deg, rgba(22,22,22,0) 50%, rgba(22,22,22,0.65) 72%, #161616 100%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

/* キャッチ：top:420px・max-width:50%・padding:0 5%・mix-blend-mode:difference */
.hero-catch-wrap {
  position: absolute;
  top: 320px;
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
}

.hero-catch {
  max-width: 55%;
  margin: 0;
  padding: 0 5%;
  font-weight: 400;
}

.hero-catch-en {
  display: block;
  font-family: 'Bebas Neue', 'Arial', sans-serif;
  font-size: clamp(72px, 12vw, 220px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: capitalize;
  /* 写真の上の部分は写真の色で塗られる、左の背景部分はフォールバック色 */
  background-color: #0a1929;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80');
  background-size: 75vw calc(100vh - 80px);
  background-position: right top 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-catch-en .en-accent {
  -webkit-text-fill-color: #38bdf8;
  color: #38bdf8;
}

.hero-catch-ja {
  display: block;
  margin-top: 24px;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(24px, 3vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: #0a1929;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 14px rgba(255, 255, 255, 0.5);
}

.hero-catch-ja-line {
  display: block;
}

.hero-catch-accent {
  color: #0a5eb8;
  position: relative;
  padding: 0 2px;
}

.hero-catch-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 6px;
  background: #38bdf8;
  opacity: 0.35;
  z-index: -1;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 3px;
  text-align: center;
  opacity: 0.7;
  animation: scrollBounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--white);
  margin: 10px auto 0;
  animation: scrollLine 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollLine {
  0% { height: 0; opacity: 0; }
  50% { height: 40px; opacity: 1; }
  100% { height: 40px; opacity: 0; }
}

/* ===== セクション共通 ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.section-title .en {
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  display: block;
  margin-bottom: 8px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  margin: 24px auto 0;
  border-radius: 3px;
}

/* ===== コンセプト（選ばれる理由） ===== */
.concept {
  background: #f4f7fb;
  position: relative;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concept-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 94, 184, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.concept-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(10, 94, 184, 0.18);
}

.concept-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.concept-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 60, 122, 0.5) 100%);
}

.concept-img-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a5eb8;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(10, 94, 184, 0.18);
}

.concept-img-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.concept-body {
  padding: 28px 28px 32px;
}

.concept-badge {
  display: inline-block;
  font-family: 'Outfit', 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 10px;
}

.concept-item h3 {
  font-size: 22px;
  color: #0a3d7a;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.concept-item p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.9;
}

/* ===== 選ばれる3つの理由 スクロールリビール（画像ワイプ + テキスト段階） ===== */
.concept-reveal .concept-img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.7, 0, 0.3, 1);
}
.concept-reveal .concept-body > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.concept-reveal.is-visible .concept-img {
  clip-path: inset(0 0 0 0);
}
.concept-reveal.is-visible .concept-body > * {
  opacity: 1;
  transform: translateY(0);
}
.concept-reveal.is-visible .concept-item:nth-child(1) .concept-img { transition-delay: 0s; }
.concept-reveal.is-visible .concept-item:nth-child(2) .concept-img { transition-delay: 0.25s; }
.concept-reveal.is-visible .concept-item:nth-child(3) .concept-img { transition-delay: 0.5s; }
.concept-reveal.is-visible .concept-item:nth-child(1) .concept-body > *:nth-child(1) { transition-delay: 0.5s; }
.concept-reveal.is-visible .concept-item:nth-child(1) .concept-body > *:nth-child(2) { transition-delay: 0.6s; }
.concept-reveal.is-visible .concept-item:nth-child(1) .concept-body > *:nth-child(3) { transition-delay: 0.7s; }
.concept-reveal.is-visible .concept-item:nth-child(2) .concept-body > *:nth-child(1) { transition-delay: 0.75s; }
.concept-reveal.is-visible .concept-item:nth-child(2) .concept-body > *:nth-child(2) { transition-delay: 0.85s; }
.concept-reveal.is-visible .concept-item:nth-child(2) .concept-body > *:nth-child(3) { transition-delay: 0.95s; }
.concept-reveal.is-visible .concept-item:nth-child(3) .concept-body > *:nth-child(1) { transition-delay: 1s; }
.concept-reveal.is-visible .concept-item:nth-child(3) .concept-body > *:nth-child(2) { transition-delay: 1.1s; }
.concept-reveal.is-visible .concept-item:nth-child(3) .concept-body > *:nth-child(3) { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .concept-reveal .concept-img,
  .concept-reveal .concept-body > * {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== サービスカード ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-img {
  height: 250px;
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
}

.service-card-body {
  padding: 32px;
}

.service-card-body h3 {
  font-size: 21px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.9;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10, 94, 184, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: var(--primary);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
}

/* ===== 施工一覧（左流れマーキー） ===== */
.works-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(50% - 50vw) 50px;
  padding: 8px 0 24px;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.works-track {
  display: flex;
  width: max-content;
  animation: worksScroll 40s linear infinite reverse;
}

.works-track:hover {
  animation-play-state: paused;
}

.works-track .work-card {
  flex: 0 0 320px;
  margin-right: 24px;
}

@keyframes worksScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== 施工一覧 ⇄ 対応エリアの境目に物理的に重ねる流れる英語 ===== */
.area .container { position: relative; z-index: 1; }

.text-marquee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 0;
}

.text-marquee-inner {
  display: flex;
  width: 240vw;
  height: 200px;
  opacity: 0.5;
}

.text-marquee-text {
  height: 100%;
  display: flex;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 200px;
  color: transparent;
  -webkit-text-stroke: 1.5px #b8b8b8;
  text-stroke: 1.5px #b8b8b8;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
}

.text-marquee-text:first-child {
  animation: looptext01 50s linear -25s infinite;
}

.text-marquee-text:last-child {
  animation: looptext02 50s linear infinite;
}

@keyframes looptext01 {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes looptext02 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-200%); }
}

@media (max-width: 575px) {
  .text-marquee-inner { height: 70px; }
  .text-marquee-text { font-size: 50px; -webkit-text-stroke-width: 1px; text-stroke-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  .text-marquee-text { animation: none !important; }
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  background: var(--white);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.work-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.work-card:hover .work-card-img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .works-track { animation: none; }
}

.work-card-body {
  padding: 24px;
}

.work-card-body h4 {
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.work-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  border-radius: 50px;
  font-weight: 500;
  margin-bottom: 8px;
}

.text-center {
  text-align: center;
}

/* ===== 対応エリア ===== */
.area {
  background: var(--gradient-subtle);
}

.area-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.area-map {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.area-text {
  flex: 1;
}

.area-text h3 {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.area-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.area-badge {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-glow);
  margin-top: 8px;
}

/* ===== CTA（お問い合わせ導線） ===== */
.cta {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta h2 {
  font-size: 30px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 15px;
  margin-bottom: 32px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.cta-phone {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 3px;
  font-family: 'Outfit', sans-serif;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-hours {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta .btn {
  position: relative;
  z-index: 1;
}

/* ===== フッター ===== */
.footer {
  background: #fff;
  color: #1d1d1d;
  padding: 60px 0 80px;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 10;
}

.footer .container {
  max-width: none;
  padding: 0 32px;
}

/* 上段：左に会社情報、右にナビゲーション */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.footer-info {
  flex: 0 1 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1c84d2;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 16px;
}

.footer-logo-jp {
  font-size: 1.45em;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-info p {
  font-size: 16px;
  color: #4b5563;
  line-height: 2.2;
  padding-left: 10px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-top: 12px;
}

.footer-nav-col {
  position: relative;
  flex-shrink: 0;
}

.footer-nav-arrow {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 10px;
  padding: 4px;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-nav-arrow:hover {
  color: #1c84d2;
}

.footer-nav-col.is-open .footer-nav-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: #1c84d2;
}

/* ヘッダーの TEL / お問い合わせ と同じ幅を確保するためのファントム */
.footer-phone-phantom {
  visibility: hidden;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-tel-icon-phantom {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}
.footer-nav-phantom-main {
  visibility: hidden;
  pointer-events: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1;
  flex-shrink: 0;
}
.footer-nav-phantom-main .nav-jp { font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.footer-nav-phantom-main .nav-en { font-size: 9px; font-weight: 600; letter-spacing: 2px; font-family: 'Oswald', 'Arial', sans-serif; }

.footer-nav-main {
  color: #1d1d1d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  transition: color 0.25s ease;
}

.footer-nav-main .nav-jp {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer-nav-main .nav-en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  font-family: 'Oswald', 'Arial', sans-serif;
}

.footer-nav-main::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1c84d2;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-nav-main:hover {
  color: #1c84d2;
}

.footer-nav-main:hover .nav-en {
  opacity: 1;
}

.footer-nav-main:hover::after {
  width: 24px;
}

.footer-nav-sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(10, 94, 184, 0.12);
  padding: 14px 18px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: max-content;
  min-width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 5;
  pointer-events: none;
}

.footer-nav-col.is-open .footer-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-nav-sub a {
  font-size: 12px;
  color: #4b5563;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav-sub a:hover {
  color: #1c84d2;
  transform: translateX(4px);
}

/* 中央：CTA */
.footer-cta {
  text-align: center;
  margin-bottom: 90px;
}
.footer-cta-desc {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 18px;
  line-height: 1.8;
}
.footer-cta-phone {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #1c84d2;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1;
}
.footer-cta-hours {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 28px;
}
.footer-cta-btn {
  justify-content: center;
}
.footer-cta-btn a {
  background-color: #1d1d1d;
  color: #ffffff;
  margin: 0 auto;
}
.footer-cta-btn a::before {
  background-color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-nav {
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 0;
  }
  .footer-cta-phone {
    font-size: 28px;
  }
}

/* ===== ページヘッダー（下層ページ用） ===== */
.page-header {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 140px 0 70px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(10, 94, 184, 0.2) 100%);
}

.page-header h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header .en {
  font-size: 12px;
  letter-spacing: 4px;
  opacity: 0.5;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  background: var(--bg-light);
  padding: 16px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  color: var(--text-light);
  margin: 0 10px;
}

/* ===== サービス詳細 ===== */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.service-detail-content.reverse {
  flex-direction: row-reverse;
}

.service-detail-img {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.service-detail-text {
  flex: 1;
}

.service-detail-text h3 {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: none;
  position: relative;
  font-weight: 700;
}

.service-detail-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.service-detail-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* テーブル */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.price-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--accent);
  width: 40%;
}

.price-table td {
  font-weight: 500;
  color: var(--primary);
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

/* ステップ */
.steps {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 30px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 12px rgba(10, 94, 184, 0.3);
}

.step h4 {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}

.step p {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 会社概要テーブル ===== */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 22px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.company-table th {
  width: 30%;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-light);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ===== ページ共通ヒーロー（shouwakensou.com 準拠） ===== */
.page-hero {
  position: relative;
  height: 340px;
  margin-bottom: 96px;
  background: #fff;
}

.page-hero + .section,
.page-hero + section {
  padding-top: 0;
}

.page-hero__title {
  position: absolute;
  left: 5%;
  bottom: 0;
  color: #1d1d1d;
  line-height: 1;
}

.page-hero__title-ja {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
}

.page-hero__title-en {
  font-family: 'Oswald', 'Bebas Neue', sans-serif;
  font-size: 96px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.page-hero__title-en .accent {
  color: #38bdf8;
}

@media (max-width: 991px) {
  .page-hero { height: 280px; margin-bottom: 64px; }
  .page-hero__title-en { font-size: 72px; }
}
@media (max-width: 575px) {
  .page-hero { height: 240px; margin-bottom: 44px; }
  .page-hero__title-en { font-size: 48px; }
  .page-hero__title-ja { font-size: 14px; margin-bottom: 12px; }
}

/* ===== お問い合わせフォーム（横並び2列） ===== */
.contact-intro {
  text-align: center;
  color: #495057;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 40px;
}

.contact-intro .required-note {
  color: #dc3545;
  font-weight: 700;
  margin: 0 2px;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.form-group {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group label {
  flex: 0 0 200px;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1d;
  line-height: 1.5;
}

.form-group label.required::after {
  content: '*';
  color: #dc3545;
  font-weight: 700;
  margin-left: 4px;
}

.form-group .form-field {
  flex: 1;
  min-width: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  color: #495057;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9cdaee;
  box-shadow: 0 0 0 0.2rem rgba(47, 178, 220, 0.25);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

/* プライバシーポリシー同意 */
.form-group--agree { align-items: flex-start; }
.form-pp-link {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}
.form-pp-link a {
  color: #38bdf8;
  text-decoration: underline;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1d1d1d;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0a5eb8;
}

/* 送信ボタン */
.form-submit-wrap {
  text-align: center;
  margin-top: 40px;
}
.form-submit {
  display: inline-block;
  min-width: 230px;
  padding: 14px 32px;
  background: #0a5eb8;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.form-submit:hover {
  background: #38bdf8;
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  margin-top: 24px;
  line-height: 1.8;
}

/* パンくず（フォーム下） */
.contact-breadcrumb {
  max-width: 720px;
  margin: 80px auto 0;
  padding: 0 16px;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.05em;
}
.contact-breadcrumb a { color: #38bdf8; text-decoration: none; }
.contact-breadcrumb a:hover { text-decoration: underline; }
.contact-breadcrumb .sep { margin: 0 10px; color: #d1d5db; }

@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
    gap: 8px;
  }
  .form-group label {
    flex: none;
    padding-top: 0;
  }
}

/* フィルターボタン */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ===== 代表メッセージ ===== */
.message-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.message-img {
  width: 320px;
  height: 420px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.message-img::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.message-text h3 {
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 700;
}

.message-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.message-name {
  text-align: right;
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 36px;
}

/* ===== 数字セクション ===== */
.numbers-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #bae6fd 100%);
  padding: 120px 0 280px;
  position: relative;
  overflow: hidden;
}

.numbers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
}

/* 浮遊する装飾オブジェクト */
.numbers-section .deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10, 94, 184, 0.18);
  pointer-events: none;
}

.numbers-section .deco-1 {
  width: 300px; height: 300px;
  top: -80px; left: -80px;
  animation: floatSlow 12s ease-in-out infinite;
}

.numbers-section .deco-2 {
  width: 200px; height: 200px;
  bottom: -60px; right: -40px;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.numbers-section .deco-3 {
  width: 120px; height: 120px;
  top: 30%; right: 10%;
  background: rgba(10, 94, 184, 0.05);
  animation: floatSlow 8s ease-in-out infinite 2s;
}

.numbers-section .deco-4 {
  width: 80px; height: 80px;
  bottom: 20%; left: 8%;
  background: rgba(10, 94, 184, 0.07);
  animation: floatSlow 9s ease-in-out infinite 1s;
}

.numbers-section .deco-dots {
  position: absolute;
  width: 160px; height: 160px;
  top: 20px; right: 60px;
  background-image: radial-gradient(rgba(10,94,184,0.22) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
  animation: floatSlow 15s ease-in-out infinite;
}

.numbers-section .deco-dots-2 {
  position: absolute;
  width: 120px; height: 120px;
  bottom: 20px; left: 40px;
  background-image: radial-gradient(rgba(10,94,184,0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  animation: floatSlow 13s ease-in-out infinite reverse;
}

.numbers-section .deco-line {
  position: absolute;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,94,184,0.22), transparent);
  pointer-events: none;
}

.numbers-section .deco-line-1 {
  top: 30%; left: 5%;
  transform: rotate(-20deg);
  animation: shimmerLine 4s ease-in-out infinite;
}

.numbers-section .deco-line-2 {
  bottom: 25%; right: 3%;
  transform: rotate(15deg);
  animation: shimmerLine 5s ease-in-out infinite 1.5s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes shimmerLine {
  0%, 100% { opacity: 0.3; width: 150px; }
  50% { opacity: 0.8; width: 250px; }
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.number-card {
  position: relative;
}

.number-tooltip {
  position: absolute;
  top: calc(100% + 36px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 100%;
  max-width: calc(100vw - 40px);
  padding: 14px 16px;
  background: rgba(10, 27, 53, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 14px;
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 50;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.number-tooltip::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(10, 27, 53, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.6);
  border-left: 1.5px solid rgba(255, 255, 255, 0.6);
}

.number-card:hover .number-tooltip,
.number-card.is-open .number-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.number-item {
  color: var(--white);
  position: relative;
  padding: 44px 24px 40px;
  background: #fff;
  border: 1px solid rgba(10, 94, 184, 0.18);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  perspective: 800px;
  box-shadow: 0 12px 32px rgba(10, 94, 184, 0.12);
}

.number-item:hover {
  transform: translateY(-14px) rotateX(8deg) rotateY(-3deg) scale(1.05);
  background: #fff;
  border-color: rgba(10, 94, 184, 0.32);
  box-shadow:
    0 30px 60px rgba(10, 94, 184, 0.22),
    0 0 40px rgba(56, 189, 248, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* カード内部の光の反射 */
.number-item::before {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
}

/* カード底面の影（3D効果） */
.number-item .number-shadow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0;
  transition: all 0.5s ease;
}

.number-item:hover .number-shadow {
  opacity: 1;
  bottom: -25px;
}

/* 回転するリング装飾 */
.number-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(10, 94, 184, 0.2);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
  pointer-events: none;
}

.number-orbit::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(96, 165, 250, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.number-item:nth-child(2) .number-orbit { animation-duration: 15s; animation-direction: reverse; }
.number-item:nth-child(3) .number-orbit { animation-duration: 18s; }
.number-item:nth-child(4) .number-orbit { animation-duration: 22s; animation-direction: reverse; }

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.number-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.number-item.animate::before {
  transform: translateX(-50%) scale(1.8);
}

.number-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  transition: height 1s ease 0.5s;
}

.number-item.animate::after {
  height: 40px;
}

.number-item:last-child::after {
  display: none;
}

.number-ring {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
}

.number-ring svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.number-ring-bg {
  fill: none;
  stroke: rgba(10, 94, 184, 0.12);
  stroke-width: 3;
}

.number-ring-progress {
  fill: none;
  stroke: url(#ringGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.number-ring-glow {
  fill: none;
  stroke: rgba(96, 165, 250, 0.15);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(4px);
}

.number-item.animate .number-ring-glow {
  stroke-dashoffset: 0;
}

.number-item.animate .number-ring-progress {
  stroke-dashoffset: 0;
}

.number-value-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.number-value {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #0a3d7a 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
  letter-spacing: -0.02em;
}

.number-unit {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-left: 2px;
}

.number-label {
  font-size: 14px;
  color: #0a4f9b;
  opacity: 0;
  letter-spacing: 2px;
  transform: translateY(10px);
  transition: all 0.8s ease 0.8s;
}

.number-item.animate .number-label {
  opacity: 0.8;
  transform: translateY(0);
}

.number-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  pointer-events: none;
}

.number-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #60a5fa;
  border-radius: 50%;
  opacity: 0;
}

.number-item.animate .number-particle {
  animation: particleBurst 1s ease-out forwards;
}

.number-item.animate .number-particle:nth-child(1) { animation-delay: 0.8s; --px: -30px; --py: -40px; }
.number-item.animate .number-particle:nth-child(2) { animation-delay: 0.85s; --px: 35px; --py: -25px; }
.number-item.animate .number-particle:nth-child(3) { animation-delay: 0.9s; --px: -20px; --py: 35px; }
.number-item.animate .number-particle:nth-child(4) { animation-delay: 0.95s; --px: 40px; --py: 20px; }
.number-item.animate .number-particle:nth-child(5) { animation-delay: 1.0s; --px: -40px; --py: 10px; }
.number-item.animate .number-particle:nth-child(6) { animation-delay: 1.05s; --px: 15px; --py: -45px; }

@keyframes particleBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
}

/* ===== アニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 左からスライドイン */
.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライドイン */
.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 下から浮き上がり */
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スタガーアニメーション */
.fade-in-stagger {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-stagger.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== ヒーローアニメーション ===== */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-sub-top {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 8px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: var(--white);
  margin: 24px auto;
  opacity: 0.5;
}

/* ヒーロー（3D解除済み） */
.hero-content h1 {
  text-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 80px rgba(59, 130, 246, 0.3);
}

/* ヒーロー装飾 */
.hero-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-deco-ring {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  top: 10%;
  right: -100px;
  animation: heroRingSpin 30s linear infinite;
}

.hero-deco-ring::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(96, 165, 250, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.hero-deco-ring-2 {
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: 15%;
  left: -60px;
  animation: heroRingSpin 20s linear infinite reverse;
}

.hero-deco-diamond {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  top: 25%;
  left: 12%;
  transform: rotate(45deg);
  animation: floatDiamond 6s ease-in-out infinite;
}

.hero-deco-diamond-2 {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  bottom: 30%;
  right: 15%;
  transform: rotate(45deg);
  animation: floatDiamond 8s ease-in-out infinite 2s;
}

.hero-deco-cross {
  top: 20%;
  right: 20%;
  width: 20px;
  height: 20px;
  animation: floatDiamond 7s ease-in-out infinite 1s;
}

.hero-deco-cross::before,
.hero-deco-cross::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.15);
}

.hero-deco-cross::before {
  width: 20px; height: 2px;
  top: 9px; left: 0;
}

.hero-deco-cross::after {
  width: 2px; height: 20px;
  top: 0; left: 9px;
}

.hero-light-streak {
  position: absolute;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), transparent);
  z-index: 1;
  pointer-events: none;
  animation: lightStreak 4s ease-in-out infinite;
}

.hero-light-streak-1 {
  top: 30%;
  left: -300px;
  transform: rotate(-15deg);
}

.hero-light-streak-2 {
  bottom: 35%;
  right: -300px;
  transform: rotate(10deg);
  animation-delay: 2s;
}

@keyframes heroRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatDiamond {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(-15px); opacity: 1; }
}

@keyframes lightStreak {
  0% { transform: translateX(-100%) rotate(-15deg); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(calc(100vw + 300px)) rotate(-15deg); opacity: 0; }
}

/* ヒーローテキストアニメーション（無効化：静的表示） */
.animate-slide-down,
.animate-title,
.animate-line,
.animate-fade-up,
.animate-fade-up-delay {
  animation: none;
}

.animate-title {
  letter-spacing: 6px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px) translateZ(50px); }
  to { opacity: 0.7; transform: translateY(0) translateZ(0); }
}

@keyframes titleReveal {
  from { opacity: 0; transform: translateY(60px) translateZ(100px) rotateX(-10deg); letter-spacing: 12px; }
  to { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0); letter-spacing: 6px; }
}

@keyframes lineExpand {
  from { width: 0; opacity: 0; }
  to { width: 60px; opacity: 0.5; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px) translateZ(30px); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}

/* 光るボタン */
.btn-glow {
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(10, 94, 184, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(10, 94, 184, 0.8), 0 0 80px rgba(59, 130, 246, 0.3), 0 0 120px rgba(96, 165, 250, 0.1); }
}

/* ===== ABOUT US セクション ===== */
.about-section {
  padding: 100px 0 90px;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.about-inner {
  max-width: none;
  margin: 0;
  padding: 0 5vw;
}

.about-container {
  display: flex;
  gap: 6%;
  margin-bottom: 48px;
  align-items: flex-start;
}

#service .about-container,
#about .about-container {
  flex-direction: row-reverse;
}

.about-image-area {
  flex: 0 0 50%;
  width: 50%;
  margin-top: -15px;
}

.about-image-area img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
  display: block;
  border-radius: 2px;
}

.about-text-area {
  width: 36%;
  flex-shrink: 0;
  margin-top: -35px;
}

.about-text-area .section-title {
  margin: 0 0 56px 0;
  text-align: left;
}

.about-text-area .section-title::after {
  display: none;
}

.en-title {
  font-size: 96px;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1.1;
  position: relative;
  display: inline-block;
  color: #1d1d1d;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.en-title .accent {
  color: #38bdf8;
}

.en-title .ja-title {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  position: absolute;
  left: 0;
  bottom: -2em;
  color: #1d1d1d;
  letter-spacing: 0.08em;
}

.en-title .ja-title::before {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  border-top: 1px solid #1d1d1d;
}

.en-title .ja-title-accent {
  color: var(--primary);
  font-weight: 800;
}

.en-title .ja-title-text {
  display: inline-block;
}

.about-philosophy {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  margin-bottom: 28px;
  line-height: 1.6;
  color: #1d1d1d;
}

.about-body-text {
  font-size: 14px;
  line-height: 2;
  color: #1d1d1d;
  margin: 0;
}

.about-btn-link {
  display: flex;
  justify-content: center;
}

.about-btn-link a,
.about-btn-link button {
  color: #ffffff;
  font-size: 20px;
  font-family: 'Bebas Neue', 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.08em;
  display: block;
  min-width: 240px;
  width: auto;
  padding: 15px 56px 15px 28px;
  background-color: #1d1d1d;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease;
  margin: 0 auto;
  border: none;
  cursor: pointer;
}

.about-btn-link a::before,
.about-btn-link button::before {
  content: '';
  width: 126%;
  height: 100%;
  background-color: #38bdf8;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transform-origin: top left;
  transform: skewX(-45deg) translateX(-100%);
  transition: transform 0.3s ease;
}

.about-btn-link a:hover::before,
.about-btn-link button:hover::before {
  transform-origin: top right;
  transform: skew(-45deg) translateX(0);
}

.about-btn-link a .btn-icon,
.about-btn-link button .btn-icon {
  font-size: 22px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

/* ===== ABOUT / SERVICE / WORKS スクロールリビール ===== */
.scroll-reveal .about-image-area {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.7, 0, 0.3, 1);
}
.scroll-reveal#service .about-image-area,
.scroll-reveal#about .about-image-area {
  clip-path: inset(0 0 0 100%);
}
.scroll-reveal .section-title,
.scroll-reveal .about-philosophy,
.scroll-reveal .about-body-text,
.scroll-reveal .about-btn-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.is-visible .about-image-area,
.scroll-reveal#service.is-visible .about-image-area,
.scroll-reveal#about.is-visible .about-image-area {
  clip-path: inset(0 0 0 0);
}
.scroll-reveal.is-visible .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}
.scroll-reveal.is-visible .about-philosophy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.scroll-reveal.is-visible .about-body-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.scroll-reveal.is-visible .about-btn-link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal .about-image-area,
  .scroll-reveal .section-title,
  .scroll-reveal .about-philosophy,
  .scroll-reveal .about-body-text,
  .scroll-reveal .about-btn-link {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
