@charset "UTF-8";
/*
Theme Name: Colabom
Theme URI: http://colabom.com/test/
Author: Colabom
Author URI: http://colabom.com/
Description: コラボム コーポレートサイト用のオリジナルテーマ。システム会社向けの明るいアイシーパステル×グラスモーフィズムデザイン。
Version: 1.31.73
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: colabom
*/

/* =========================================================
   0. デザイントークン（アイシーパステル / 明るい配色）
   ========================================================= */
:root {
  --color-bg: #f4f8ff;             /* ほぼ白のアイスブルー */
  --color-bg-soft: #eaf1fe;
  --color-panel: rgba(255, 255, 255, 0.55);  /* 白いガラス面 */
  --color-text: #1f3b5c;           /* ネイビー寄りの本文 */
  --color-text-muted: #5f739a;
  --color-border: rgba(79, 143, 247, 0.18);

  --color-blue: #2f6fe0;           /* 読みやすいメインブルー */
  --color-blue-light: #4f8ff7;
  --color-aqua: #1aa6c9;           /* 読みやすいアクア（テキスト用） */
  --color-peach: #ffcdb2;          /* 暖色の差し色 */

  --grad-neon: linear-gradient(135deg, #4f8ff7 0%, #35c0d6 60%, #7fd4e0 100%); /* 面・ボタン用 */
  --grad-text: linear-gradient(135deg, #2f6fe0 0%, #17a3c4 100%);              /* 文字用（濃いめ） */
  --grad-nebula: radial-gradient(circle at 15% 15%, rgba(79, 143, 247, 0.16), transparent 42%),
                 radial-gradient(circle at 85% 20%, rgba(53, 192, 214, 0.14), transparent 45%),
                 radial-gradient(circle at 78% 90%, rgba(255, 205, 178, 0.16), transparent 45%),
                 radial-gradient(circle at 25% 85%, rgba(120, 170, 255, 0.12), transparent 50%);

  --font-base: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --wrap: 1160px;
  --radius: 16px;
  --glow: 0 0 50px rgba(79, 143, 247, 0.25);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   1. リセット & ベース
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* サイト全体の背景にやわらかいメッシュグラデを敷く */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--grad-nebula);
  pointer-events: none;
}

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

a { color: var(--color-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: #17a3c4; }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 0.5em; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* =========================================================
   2. レイアウト共通
   ========================================================= */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.section { padding: 110px 0; position: relative; }
/* アンカー移動時に見出しが固定ヘッダーへ隠れないように */
section[id] { scroll-margin-top: 90px; }
.section--soft { background: linear-gradient(180deg, transparent, rgba(219, 232, 255, 0.55), transparent); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  position: relative;
  display: inline-block;
}
/* 見出し下の動くライン（スクロールで左右に伸びる） */
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-neon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-head.is-visible h2::after { transform: scaleX(1); }
.section-head--noline h2::after { display: none; }
.section-head p { color: var(--color-text-muted); margin-top: 22px; }

/* 見出しのグラデ文字 */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn--primary {
  background: var(--grad-neon);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 143, 247, 0.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(53, 192, 214, 0.5); color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--color-blue-light); color: var(--color-blue); box-shadow: var(--glow); }

/* =========================================================
   3. ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-logo span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ロゴ画像（明るい背景なので原色のまま表示） */
.site-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.global-nav ul { display: flex; align-items: center; gap: 30px; }
.global-nav a { color: var(--color-text); font-weight: 600; font-size: 0.95rem; }
.global-nav a:hover { color: var(--color-blue); }
.global-nav .btn--primary { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-text); transition: var(--transition); }

/* =========================================================
   4. ヒーロー（明るいアイシーブルー）
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 18%, #dbe8ff 0%, transparent 55%),
    radial-gradient(ellipse at 18% 78%, #d7f2f6 0%, transparent 55%),
    radial-gradient(ellipse at 88% 92%, #ffe9db 0%, transparent 50%),
    linear-gradient(180deg, #f6f9ff, #eaf1fe);
}
/* ネットワーク背景（白い点と線の画像） */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.82;
  pointer-events: none;
  /* 中央（テキストの後ろ）だけ線を薄く抜いて、Canva元デザインのように余白を作る */
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 38% 46%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.18) 28%, #000 78%);
  mask-image: radial-gradient(ellipse 58% 62% at 38% 46%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.18) 28%, #000 78%);
}

/* ヒーロー下端を次ブロックの背景色へグラデーションでなじませ、境目をぼかす
   （画像は z-index:0、本文とScrollは z-index:2 なので、その間の z-index:1 で敷く） */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(244, 248, 255, 0) 0%, rgba(244, 248, 255, 0) 35%, #f4f8ff 100%);
}

/* 小さな青い円アクセント */
.hero__dot {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(47, 111, 224, 0.3));
  animation: floatyDot var(--dur, 9s) ease-in-out infinite;
}
@keyframes floatyDot {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-14px); }
}

/* ガラス質・半透明の球体（メイン / Canva素材の画像） */
.hero__planet {
  position: absolute;
  right: -4%;
  top: 40%;
  width: min(45vw, 500px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: drop-shadow(0 34px 80px rgba(79, 143, 247, 0.35));
  animation: floatY 11s ease-in-out infinite, amoeba 12s ease-in-out infinite;
}
/* 小さめのガラスバブル（サブ） */
.hero__bubble {
  position: absolute;
  left: 2%; bottom: 7%;
  width: min(18vw, 170px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 44px rgba(79, 143, 247, 0.3));
  animation: floaty 8s ease-in-out infinite;
}
/* 大きな球体：上下の浮遊＋わずかな回転・伸縮 */
@keyframes floatY {
  0%, 100% { transform: translateY(-52%) rotate(0deg) scale(1); }
  25%      { transform: translateY(-49%) rotate(3deg) scale(1.03); }
  50%      { transform: translateY(-46%) rotate(0deg) scale(1); }
  75%      { transform: translateY(-49%) rotate(-3deg) scale(0.98); }
}
/* アメーバのように輪郭がうねり、丸に戻る */
@keyframes amoeba {
  0%,  100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  20%       { border-radius: 60% 40% 55% 45% / 48% 58% 42% 52%; }
  40%       { border-radius: 42% 58% 62% 38% / 60% 42% 58% 40%; }
  60%       { border-radius: 55% 45% 40% 60% / 45% 55% 60% 40%; }
  80%       { border-radius: 46% 54% 58% 42% / 56% 44% 46% 54%; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* 動きを減らす設定の人にはモーフィングを止める */
@media (prefers-reduced-motion: reduce) {
  .hero__planet { animation: none; border-radius: 50%; transform: translateY(-50%); }
  .hero__bubble, .about__visual { animation: none; }
  .hero__dot { animation: none; }
  .hero__badge, .hero h1, .hero p, .hero__actions, .brand__lead .w { animation: none; opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .section-head h2::after { transform: scaleX(1); }
  .tech-orbit__ring, .tech-orbit__center { animation: none; }
  .tech-orbit__pill { animation: none; }
  .svc-center__object { animation: none; }
}

.hero__inner { position: relative; z-index: 2; max-width: 820px; padding: 120px 0; }

/* すりガラスのパネル（横幅を広げ・透け感は事業内容パネルと同値 0.18/blur6） */
.hero__glass {
  display: block;
  width: 100%;
  padding: 30px 44px 34px;
  margin: 10px 0;
  transform: translateX(-15%);   /* パネルのみ左へ15%移動（他は不変） */
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(79, 143, 247, 0.16);
}
.hero__glass p { margin-bottom: 0; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  margin-bottom: 0;   /* パネル→ボタンの距離（下マージン）と揃えるため下げる */
  margin-left: -15%;   /* 大きなガラスパネル（-15%移動）の左端に揃える */
}
.hero__badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-aqua);
  box-shadow: 0 0 12px var(--color-aqua);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 26px;
}
.hero p {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 700px;   /* パネル幅に合わせる */
}
.hero__actions { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; margin-left: -15%; margin-right: 15%; justify-content: flex-start; }  /* パネルの箱に合わせる・1行に保つ */

/* ヒーローのボタン：Canva1ページ目のボタン素材（クリーム→ブルーのグラデ） */
.hero__actions .btn { border-radius: 0; width: 240px; flex: 0 0 auto; justify-content: center; }   /* 角を四角に・2つを同じ横幅に・縮ませない */
.hero__actions .btn--primary { margin-left: auto; }   /* ボタンを右端（パネル右端）へ寄せる */
.hero__actions .btn--primary {
  background: linear-gradient(135deg, #e2e8d2 0%, #c6d9dd 50%, #a9cce4 100%);  /* 濃いめ */
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 26px rgba(79, 143, 247, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__actions .btn--primary:hover {
  color: var(--color-text);
  box-shadow: 0 14px 34px rgba(79, 143, 247, 0.3);
  filter: brightness(1.03);
}
.hero__actions .btn--ghost {
  background: linear-gradient(135deg, #edf1e4 0%, #dfeae9 50%, #cfe2ee 100%);  /* 淡め */
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 26px rgba(79, 143, 247, 0.12);
}
.hero__actions .btn--ghost:hover {
  transform: translateY(-3px);                     /* プロジェクトの相談と同じ浮き上がり */
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(79, 143, 247, 0.3);
  filter: brightness(1.03);
}

/* ボタン横：ターミナル風ラベル（>_ COLABOM INC,） */
.hero__cmd {
  align-self: center;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: 3%;   /* 文字列だけ右へ（5%→3%） */
  font-family: "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: pre;   /* 改行(\n)のみで2行・自動折り返しはしない */
  text-shadow: 0 1px 8px rgba(31, 59, 92, 0.5);   /* 明るい背景でも読めるように */
}
.hero__cmd::before {
  content: ">_";
  margin-right: 10px;
  color: #fff;
  opacity: 0.85;
}
.hero__cmd::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 6px;
  vertical-align: -0.15em;
  background: #fff;
  animation: caretBlink 1.1s steps(1) infinite;
}
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.hero__cmd-flick { opacity: 0.8; }

/* ㋐ ヒーローのテキストが順に出現 */
.hero__badge, .hero h1, .hero p, .hero__actions { opacity: 0; animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero__badge   { animation-delay: 0.15s; }
.hero h1       { animation-delay: 0.30s; }
.hero p        { animation-delay: 0.50s; }
.hero__actions { animation-delay: 0.68s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* =========================================================
   4.5 ブランドメッセージ / ループ文字（マーキー）
   ========================================================= */
.brand { text-align: center; padding-bottom: 20px; position: relative; overflow: hidden; }
/* ホバー追従のアメーバ＋テクスチャ層（文字の背面） */
.brand__reveal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.brand > .wrap { position: relative; z-index: 1; }
/* ブランドメッセージ直後（OUR STORY）との間隔を詰める */
#story { padding-top: 64px; }
/* 大きな英文ステートメント（中央揃え・2段） */
.brand__lead {
  font-size: clamp(1.8rem, 5.4vw, 4.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.12;
  margin: 0;
  color: var(--color-text);
}
.brand__lead-main { display: block; }
.brand__lead-sub { display: block; font-size: 0.6em; margin-top: 0.3em; line-height: 1.3; }
/* 日本語文は中央揃えで下に配置 */
.brand__sub { color: var(--color-text-muted); font-size: 1rem; line-height: 1.9; max-width: 720px; margin: 30px auto 0; }

/* ㋒ 大きなループ文字（中抜き＋塗りの2列・反対方向に流れる） */
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
/* 動きはJS（initMarquee）がスクロール連動で制御 */
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.marquee__track span {
  font-size: clamp(2.2rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.03em;
  padding: 0 0.3em;
}
/* 上段：中抜き（アウトライン） */
.marquee__track--outline span { color: transparent; -webkit-text-stroke: 1.5px rgba(79, 143, 247, 0.45); }
/* 下段：塗り */
.marquee__track--solid span { color: rgba(79, 143, 247, 0.3); }

/* スクロールインジケータ */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 46px;
  margin: 10px auto 0;
  background: linear-gradient(var(--color-aqua), transparent);
  animation: scrollline 2s ease-in-out infinite;
}
@keyframes scrollline { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================
   5. サービス（グラスカード）
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; position: relative; z-index: 1; }

/* カード背後にやわらかい光を敷き、フロストガラスが滲んで浮いて見えるように */
#strength { position: relative; overflow: hidden; }
#strength .wrap { position: relative; z-index: 1; }
#strength::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* CANVA19ページのプリズム素材＋薄い白ベール（文字可読性を確保しつつ質感を残す） */
  background:
    linear-gradient(rgba(244, 248, 255, 0.58), rgba(244, 248, 255, 0.66)),
    url("assets/images/strength-bg.jpg") center / cover no-repeat;
  /* 上下をフェードして隣接ブロックとの境目をなじませる */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.card {
  position: relative;
  /* オブジェの3D回転に奥行きを与える */
  perspective: 900px;
  /* すりガラスパネル（少し透明度アップ）＋空間に浮く二重の影 */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.17) 45%, rgba(235, 244, 255, 0.10) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 40px 30px;
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),      /* 上辺の明るいガラス縁 */
    inset 0 0 30px rgba(255, 255, 255, 0.20),       /* 内側のふんわり反射 */
    0 18px 30px rgba(31, 59, 92, 0.14),             /* 近い影 */
    0 44px 70px -18px rgba(31, 59, 92, 0.26);       /* 遠い大きな影で“空間に浮く” */
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 0 24px rgba(255, 255, 255, 0.45),        /* 内側から縁を白く包む */
    0 0 20px 2px rgba(255, 255, 255, 0.9),           /* 縁を包む白いにじみ（内側寄り） */
    0 0 44px 8px rgba(255, 247, 234, 0.55),          /* 外へにじむ発光 */
    0 20px 34px rgba(31, 59, 92, 0.14),
    0 54px 80px -18px rgba(31, 59, 92, 0.3);
}

/* ホバー：ガラスパネルの縁を光が一周走る（ボーダービーム） */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;                   /* 光る縁の太さ */
  /* 明るい白い光が走る（縁を包む発光はホバー時のbox-shadowで表現） */
  background: conic-gradient(from var(--beam-angle),
    transparent 0deg,
    transparent 272deg,
    rgba(255, 255, 255, 0) 284deg,
    rgba(255, 255, 255, 0.85) 304deg,
    #ffffff 322deg,
    rgba(255, 255, 255, 0.85) 342deg,
    rgba(255, 255, 255, 0) 352deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  /* ネオンのモヤ（走る光の周りに発光・白系・強め） */
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 1))
    drop-shadow(0 0 14px rgba(220, 240, 255, 0.9))
    drop-shadow(0 0 26px rgba(190, 225, 255, 0.65))
    drop-shadow(0 0 42px rgba(160, 210, 255, 0.45));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::after {
  opacity: 1;
  animation: cardBeam 3.6s linear infinite;
}
@keyframes cardBeam { to { --beam-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .card:hover::after { animation: none; }
}
.card > * { position: relative; }
/* FEATURE ラベル */
.card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.card h3 { font-size: 1.4rem; margin-bottom: 18px; }
/* 借りオブジェクト（CANVA13ページ）：パネル内・前面 */
.card__obj {
  width: auto;
  height: 120px;
  margin: 4px auto 22px;
  filter: drop-shadow(0 14px 26px rgba(79, 143, 247, 0.28));
  transition: filter var(--transition);
}
/* カーソルが当たったらオブジェが「プルプルっ」と揺れる */
.card:hover .card__obj {
  animation: objJiggle 0.6s ease both;
  filter: drop-shadow(0 18px 30px rgba(79, 143, 247, 0.34));
}
@keyframes objJiggle {
  0%   { transform: rotate(0deg)  scale(1); }
  12%  { transform: rotate(-8deg) scale(1.05); }
  28%  { transform: rotate(7deg)  scale(1.04); }
  42%  { transform: rotate(-5deg) scale(1.03); }
  58%  { transform: rotate(4deg)  scale(1.02); }
  74%  { transform: rotate(-2deg) scale(1.01); }
  100% { transform: rotate(0deg)  scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover .card__obj { animation: none; }
}
/* 統一の区切り線（全カード共通） */
.card__divider {
  display: block;
  height: 1px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, transparent, rgba(79, 143, 247, 0.35), transparent);
}
.card p { color: var(--color-text-muted); margin: 0; }

/* =========================================================
   5.5 事業案内（ドット背景＋中央オブジェ＋すりガラス）
   ========================================================= */
.svc { position: relative; overflow: hidden; }
/* 薄いドット背景 */
.svc::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(79, 143, 247, 0.22) 1.3px, transparent 1.3px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 52%, transparent 92%);
  mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 52%, transparent 92%);
}
.svc-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px) 1fr;
  gap: 34px;
  align-items: end;   /* 各列の底辺をそろえる */
}

/* ===== 浮遊3Dオブジェ（Canva 13/14P素材・試作）=====
   白背景のまま mix-blend-mode:multiply で“透過風”に見せる。
   スクロールでブロックに入ると下→上へ浮かび上がり、以降ゆっくり上下に漂う */
.float-objs { position: absolute; inset: 0; z-index: 5; pointer-events: none; }  /* 最前面 */
.float-obj {
  position: absolute;
  display: block;
  opacity: 0;                 /* JSがスクロール量に応じて表示・移動 */
  will-change: transform, opacity;
}
.float-obj img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(47, 111, 224, 0.28));
}
.float-obj--a { top: 4%;    left: 2%;   width: 106px; }  /* A：30%縮小 */
/* OUR STORY：Aを写真の左上角に少しはみ出して配置 */
#story .float-obj--a { top: -26px; left: -22px; width: 112px; }
/* OUR STORY：BをAの左下に追加（news比30%小＝69px） */
#story .float-obj--c { top: 66px;  left: -41px; width: 41px; }
/* サービス：Aを右上に追加（OUR STORY比20%小＝90px） */
#service .float-obj--a { top: 6%; right: 3%; left: auto; width: 90px; }
/* サービス：BをAの右斜め下に追加（OUR STORYと同サイズ41px） */
#service .float-obj--c { top: 18%; right: 1%; left: auto; width: 41px; }
/* サービス：Cを左下（iOS/Androidカードの左下）に追加 */
#service .float-obj--b { top: auto; right: auto; bottom: 6%; left: 2%; width: 120px; }

/* ===== カーソル追従ロボット ===== */
#cursor-bot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 96px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
  perspective: 700px;         /* 体ごと回転(rotateY)に奥行き */
  will-change: transform, opacity;
}
#cursor-bot.is-on { opacity: 1; }
#cursor-bot .cursor-bot__spin {
  transform-style: preserve-3d;
  animation: botSpin 6s cubic-bezier(0.6, 0, 0.4, 1) infinite;  /* 体ごとくるっと */
}
#cursor-bot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(47, 111, 224, 0.28));
  animation: botBob 2.6s ease-in-out infinite;                   /* 浮遊＋傾き */
}
@keyframes botSpin {
  0%, 62%   { transform: rotateY(0deg); }
  82%, 100% { transform: rotateY(360deg); }
}
@keyframes botBob {
  0%, 100% { transform: translateY(0)     rotate(-3deg); }
  50%      { transform: translateY(-9px)  rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  #cursor-bot .cursor-bot__spin, #cursor-bot img { animation: none; }
}
/* タッチ端末では非表示（カーソルが無い） */
@media (hover: none), (pointer: coarse) {
  #cursor-bot { display: none; }
}
.float-obj--b { top: 9%;    right: 1%;  width: 132px; }  /* C：現状維持 */
.float-obj--c { top: 39%;   right: 6%;  width: 99px; }   /* B：Dと位置入れ替え・30%縮小 */
.float-obj--d { bottom: 8%; left: 3%;   width: 125px; }  /* D：Bと位置入れ替え */

/* 動きを減らす設定：スクロール演出を止めて静止表示 */
@media (prefers-reduced-motion: reduce) {
  .float-obj { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 900px) {
  .float-objs { display: none; }   /* 狭い画面ではテキストと干渉するため一旦非表示 */
}
/* すりガラス共通 */
.glass {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(79, 143, 247, 0.14);
}
.svc-col { display: flex; flex-direction: column; gap: 30px; }
.svc-item { position: relative; padding: 20px 26px 26px; border-radius: 0; transition: transform var(--transition), box-shadow var(--transition); }
/* ホバー：単色ブルーの枠が浮かび上がる＋発光＋浮き */
.svc-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: #8fbdf7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.svc-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(79, 143, 247, 0.28), 0 0 30px rgba(79, 143, 247, 0.22);
}
.svc-item:hover::after { opacity: 1; }
.svc-item h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.svc-item p { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; line-height: 1.85; }

/* 中央：半透明オブジェ＋タイトル */
.svc-center { position: relative; }
/* オブジェはパネル底に合わせて配置（下にはみ出さない） */
.svc-center__object {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 360px);
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 24px 55px rgba(79, 143, 247, 0.28));
}
/* ゆっくり反時計回りに少し傾いて→ゆっくり戻る */
@keyframes svcFloat {
  0%, 100% { transform: translateX(-50%) rotate(0deg) translateY(0); }
  50%      { transform: translateX(-50%) rotate(-8deg) translateY(-8px); }
}
@keyframes svcFloatM {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(-8deg) translateY(-8px); }
}
.svc-center__object { animation: svcFloat 11s ease-in-out infinite; }
/* オブジェ上のパネル：オブジェより横幅を広く。底辺は両サイドの下パネルとそろう */
.svc-center__title {
  position: relative; z-index: 1; text-align: center;
  width: min(100%, 356px);
  margin: 0 auto;
  padding: 20px 30px 35px;   /* 上下の合計は不変（パネル高さ維持）／文字だけ下げる */
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.svc-center__en {
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.35em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1px;
}
.svc-center__title h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin: 0 0 2px; }
.svc-center__title p { font-size: 0.86rem; color: var(--color-text-muted); margin: -2px auto 0; max-width: 260px; line-height: 1.8; }

@media (max-width: 880px) {
  .svc-grid { grid-template-columns: 1fr; gap: 18px; max-width: 460px; margin-inline: auto; }
  .svc-center { order: -1; text-align: center; }
  .svc-center__object { position: static; left: auto; bottom: auto; transform: none; width: 220px; margin: 0 auto; }
  .svc-center__object { animation-name: svcFloatM; }
  .svc-center__title { width: min(100%, 243px); margin: -120px auto 0; padding: 24px 20px 26px; }
  .svc-col { gap: 18px; }
}

/* =========================================================
   6. About / 強み
   ========================================================= */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.about__body h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; margin-bottom: 22px; }
.about__body p { color: var(--color-text-muted); }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.stat {
  position: relative;
  /* カードと同じすりガラス質感＋立体感（ホバー反応なし） */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.17) 45%, rgba(235, 244, 255, 0.10) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 26px;
  text-align: center;
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),      /* 上辺の明るいガラス縁 */
    inset 0 0 30px rgba(255, 255, 255, 0.20),       /* 内側のふんわり反射 */
    0 18px 30px rgba(31, 59, 92, 0.14),             /* 近い影 */
    0 44px 70px -18px rgba(31, 59, 92, 0.26);       /* 遠い大きな影で“空間に浮く” */
}
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--color-text-muted); }

/* 参考画像：パネルの底からにじむ白い光（下に影も落ちる） */
.card::before,
.stat::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  width: 74%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 247, 234, 0.55) 40%,
    transparent 72%);
  filter: blur(7px);
  z-index: -1;
  pointer-events: none;
}

/* 選ばれる理由の実績数値（4カラム） */
.strength-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }

/* ガラス質の球体ビジュアル（Canva素材の画像） */
.about__visual {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 70px rgba(79, 143, 247, 0.3));
  animation: floaty 9s ease-in-out infinite;
}

/* =========================================================
   6.5 OUR STORY
   ========================================================= */
/* 見出し上の小ラベル（section-head以外でも使える汎用版） */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; z-index: 1; }

/* 右上の波の背景装飾（動きなし・静止） */
.story-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.story-decor__wave { position: absolute; }
.story-decor__wave--2 { top: 12%; right: -4%; width: min(32%, 420px); opacity: 0.7; transform: scaleY(1.03); transform-origin: top; }
.story-decor__wave-img { display: block; width: 100%; height: auto; }

/* 2枚組コンポジション（外観＋三角広場） */
.story__visual { position: relative; padding: 0 34px 40px 0; }
.story__photo { display: block; border-radius: var(--radius); object-fit: cover; }
.story__photo--main {
  width: 82%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--color-border);
  box-shadow: 0 26px 70px rgba(79, 143, 247, 0.22);
}
.story__photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 5px solid #fff;
  box-shadow: 0 18px 44px rgba(79, 143, 247, 0.28);
}
.story__body h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
  font-feature-settings: "palt" 1;   /* 全角約物（、「」）の余白を詰める */
  /* 表示時に左→右へワイプ */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.story__body.is-visible h2 { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .story__body h2 { clip-path: none; transition: none; }
}
.story__body p { color: var(--color-text-muted); margin-bottom: 28px; }

/* =========================================================
   7. テクノロジー / ロゴ帯
   ========================================================= */
.tech-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tech-strip li {
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}
.tech-strip li:hover { color: var(--color-blue); border-color: rgba(53, 192, 214, 0.5); }

/* 扱う技術：ガラス球体の技術名が、中央テキストのまわりを周回 */
.tech-orbit { position: relative; width: min(94vw, 680px); aspect-ratio: 1; margin: 8px auto 0; }
/* 中央のテキスト（円ではなく文字） */
.tech-orbit__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 6px;
  pointer-events: none;
}
.tech-orbit__label-en { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.35em; color: var(--color-blue); }
.tech-orbit__label-ja { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; color: var(--color-text); line-height: 1; }

.tech-orbit__ring { position: absolute; inset: 0; animation: orbit 50s linear infinite; }
.tech-orbit__slot {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  --r: clamp(140px, 32vw, 250px);
  transform: rotate(calc(var(--a) * 1deg)) translate(var(--r)) rotate(calc(var(--a) * -1deg));
}
/* 各技術名 = 透明感のあるシャボン玉 */
.tech-orbit__pill {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: clamp(94px, 14vw, 126px);
  height: clamp(94px, 14vw, 126px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 12px;
  /* 事業案内のバブルと同じガラス質 */
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 62% 66%, rgba(127, 212, 224, 0.35), rgba(79, 143, 247, 0.28) 70%, rgba(255, 255, 255, 0.28) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset -8px -10px 22px rgba(47, 111, 224, 0.22),
    inset 10px 9px 24px rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(79, 143, 247, 0.22);
  color: var(--color-text);
  font-weight: 800;
  font-size: clamp(0.66rem, 1.3vw, 0.8rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  animation: orbitCounter 50s linear infinite;
}
/* 中央下のサブ文 */
.tech-orbit__sub { text-align: center; color: var(--color-text-muted); margin: 32px auto 0; max-width: 560px; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitCounter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
/* スマホ：周回をやめて中央テキスト＋球体を整列表示 */
@media (max-width: 880px) {
  .tech-orbit { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; width: 100%; aspect-ratio: auto; }
  .tech-orbit__label { position: static; inset: auto; flex-basis: 100%; margin-bottom: 10px; }
  .tech-orbit__ring { position: static; inset: auto; animation: none; display: contents; }
  .tech-orbit__slot { position: static; transform: none; width: auto; height: auto; }
  .tech-orbit__pill { position: static; transform: none; animation: none; width: 100px; height: 100px; }
}

/* =========================================================
   8. News
   ========================================================= */
/* お知らせブロックを画面高の15%ぶん上へ引き上げる */
#news { margin-top: -15vh; position: relative; overflow: hidden; }
/* WORKS：オブジェを隣ブロックへはみ出させない */
#works { position: relative; overflow: hidden; }

/* ===== ローディング画面（プリローダー） ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f6f9ff, #eaf1fe);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* JSが失敗しても最大8秒で自動的に消すフェイルセーフ */
  animation: preloaderAuto 0s linear 8s forwards;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes preloaderAuto { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* リング状スピナー：六角素材と同じ青→紫グラデの弧が回転（conic-gradient＋mask） */
.preloader__spinner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(from 90deg,
    rgba(79, 143, 247, 0) 0%,
    #4f8ff7 22%,
    #6f7bf0 52%,
    #a15ce6 78%,
    #c04fe0 92%,
    rgba(192, 79, 224, 0) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  animation: preloadSpin 0.9s linear infinite;
}
@keyframes preloadSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preloader__spinner { animation-duration: 2s; } }

/* ===== 背景のない各ブロックに六角ネットワーク装飾（CANVA16P） ===== */
.sec-hex { position: relative; }
.sec-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/images/tech-hex.png");
  background-repeat: no-repeat;
  background-size: min(36%, 440px);
  opacity: 0.5;
}
.sec-hex > .wrap { position: relative; z-index: 1; }
/* 配置を交互に（単調にならないように）*/
#story::before   { background-position: right -4% top 14%; }
#works::before   { background-position: left  -5% bottom 8%; }
#company::before { background-position: right -3% bottom 10%; }
#contact::before { background-position: left  -4% top 12%; }
@media (max-width: 720px) {
  .sec-hex::before { opacity: 0.35; background-size: 60%; }
}
/* WORKS：Dを5%下げ */
#works .float-obj--d { bottom: 3%; }
.news-list { max-width: 800px; margin-inline: auto; }
.news-item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 22px 6px;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.news-item:hover { padding-left: 16px; }
.news-item time { color: var(--color-text-muted); font-size: 0.9rem; white-space: nowrap; }
.news-item .cat {
  font-size: 0.72rem; font-weight: 700; color: var(--color-blue);
  border: 1px solid rgba(79, 143, 247, 0.5); border-radius: 999px; padding: 2px 12px; white-space: nowrap;
}
.news-item a { color: var(--color-text); font-weight: 600; }
.news-item a:hover { color: var(--color-blue); }

/* =========================================================
   9. CTA
   ========================================================= */
.cta {
  position: relative;
  text-align: center;
  border-radius: 28px;
  padding: 80px 24px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #4f8ff7, #35c0d6);
  box-shadow: 0 30px 70px rgba(79, 143, 247, 0.3);
}
.cta h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 800; color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.92); margin-bottom: 32px; }
/* CTA内のグラデ文字は白ベタに */
.cta .grad-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
}
.cta .btn--primary { background: #fff; color: var(--color-blue); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.cta .btn--primary:hover { background: #eaf2ff; color: var(--color-blue); }

/* =========================================================
   10. フッター
   ========================================================= */
.site-footer {
  background: #eaf1fe;
  border-top: 1px solid var(--color-border);
  padding: 72px 0 32px;
  color: var(--color-text-muted);
}
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 44px; }
.site-footer__brand strong { color: var(--color-text); font-size: 1.35rem; font-weight: 800; }
.site-footer__logo { height: 30px; width: auto; margin-bottom: 14px; }
.site-footer nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--color-text-muted); font-size: 0.9rem; }
.site-footer nav a:hover { color: var(--color-blue); }
.site-footer__copy { border-top: 1px solid var(--color-border); padding-top: 24px; font-size: 0.82rem; color: var(--color-text-muted); }

/* =========================================================
   11. 固定ページ / 投稿本文
   ========================================================= */
.page-hero {
  padding: 100px 0 72px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: radial-gradient(ellipse at 50% 0%, rgba(79, 143, 247, 0.16), transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.page-hero .breadcrumb { color: var(--color-text-muted); font-size: 0.85rem; }
.page-hero .breadcrumb a { color: var(--color-text-muted); }

.entry-content { max-width: 780px; margin-inline: auto; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }

/* =========================================================
   11.5 実績紹介 / Works
   ========================================================= */
/* 導入企業ロゴ */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.clients-logos li {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}
.clients-logos li:hover { border-color: rgba(53, 192, 214, 0.5); }
.clients-logos img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.logo-placeholder { color: var(--color-text-muted); font-size: 0.78rem; letter-spacing: 0.12em; }

/* 事例カード */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(53, 192, 214, 0.5);
  box-shadow: 0 20px 60px rgba(79, 143, 247, 0.18);
}
.work-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbe8ff, #d7f2f6);
  overflow: hidden;
}
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card__ph { color: var(--color-text-muted); letter-spacing: 0.25em; font-size: 0.78rem; }
.work-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700; color: var(--color-blue);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(79, 143, 247, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
  backdrop-filter: blur(6px);
}
.work-card__body { padding: 22px 24px 26px; }
.work-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.work-card__body p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* 会社概要テーブル */
.company-table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; }
.company-table th,
.company-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.company-table th { width: 30%; color: var(--color-text); font-weight: 700; white-space: nowrap; }
.company-table td { color: var(--color-text-muted); }

/* =========================================================
   12. スクロール出現アニメ
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   13. レスポンシブ
   ========================================================= */
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .strength-stats { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; gap: 32px; }
  .service-aside { position: static; }
  .service-orb { width: 150px; margin: 0 auto; }
  .about__visual { max-width: 340px; margin: 0 auto; }
  .hero__planet { opacity: 0.55; right: -30%; }
  .hero__bubble { opacity: 0.5; }
  .hero__glass { padding: 20px 18px; margin: 8px 0; border-radius: 0; }
  .hero__actions { flex-wrap: wrap; margin-right: 0; }   /* スマホでは折り返し可 */
  .hero__actions .btn--primary { margin-left: 0; }

  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; }
  .global-nav li { border-bottom: 1px solid var(--color-border); }
  .global-nav li:last-child { border-bottom: 0; padding-top: 12px; }
  .global-nav a { display: block; padding: 15px 4px; }

  .section { padding: 72px 0; }
  .news-item { flex-wrap: wrap; gap: 8px 16px; }

  .clients-logos { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: 1fr; }
  .company-table th { width: 36%; padding: 14px 12px; }
  .company-table td { padding: 14px 12px; }
}

@media (max-width: 520px) {
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
}

/* Production work examples retain the source card styling. */
.works-note { text-align: center; color: var(--color-text-muted); margin: 28px 0 0; font-size: .85rem; }

/* Eight examples form two rows of four cards on larger screens. */
.works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-card { min-width: 0; }
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .works-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the supplied application screen visible in the thumbnail. */
.work-card__thumb img { object-position: center top; }
.work-card__body .work-card__customer {
  margin: 0 0 10px;
  color: var(--color-text);
  font-size: .8rem;
  font-weight: 600;
}
.work-card__description + .work-card__description { margin-top: 12px; }
.work-card__title-part { display: inline-block; }

/* Icon-only external links stay clear of the category badge. */
.work-card__external {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(38, 89, 151, .15);
  transition: background var(--transition), color var(--transition);
}
.work-card__external:hover { background: var(--color-blue); color: #fff; }
.work-card__external:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.work-card__external svg { display: block; flex: none; }

/* Keep the desktop panel offset inside narrower viewports. */
@media (max-width: 1100px) {
  .hero__glass { transform: none; }
  .hero__badge { margin-left: 0; }
  .hero__actions { margin-left: 0; margin-right: 0; }
}

/* A separate flow for phones and tablets; content can grow on short screens. */
@media (max-width: 880px) {
  .hero {
    min-height: calc(100vh - 77px);
    min-height: calc(100svh - 77px);
  }
  .hero__inner {
    width: calc(100% - 40px);
    max-width: 600px;
    padding: 48px 0 96px;
  }
  .hero__badge {
    max-width: 100%;
    padding: 6px 12px;
    font-size: .68rem;
    letter-spacing: .12em;
  }
  .hero__glass {
    padding: 26px 24px;
    margin: 12px 0 18px;
    background: rgba(255, 255, 255, .42);
  }
  .hero h1 {
    font-size: clamp(1.625rem, 8.1vw, 3.25rem);
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }
  .hero__glass p {
    font-size: 1rem;
    line-height: 1.85;
    margin: 0;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hero__cmd { display: none; }
  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 14px 12px;
    font-size: .9375rem;
    line-height: 1.5;
    text-align: center;
  }
  .hero__planet {
    width: clamp(180px, 44vw, 310px);
    top: 19%;
    right: -12%;
    opacity: .72;
  }
  .hero__bubble {
    width: clamp(90px, 23vw, 150px);
    left: -7%;
    bottom: 5%;
    opacity: .5;
  }
  .hero__dot:nth-of-type(3) { left: 12%; top: 7%; width: 24px; }
  .hero__dot:nth-of-type(4) { left: 7%; top: 61%; width: 38px; }
  .hero__dot:nth-of-type(5) { left: 91%; top: 85%; width: 58px; }
  .hero__scroll { bottom: 18px; font-size: .6rem; }
  .hero__scroll::after { height: 30px; margin-top: 8px; }
}

@media (max-width: 520px) {
  .hero__inner { width: calc(100% - 32px); padding-top: 36px; padding-bottom: 86px; }
  .hero__glass { padding: 24px 18px; }
  .hero__glass p { font-size: .9375rem; }
  .hero__actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 360px) {
  .hero__glass { padding: 22px 14px; }
}

/* Shared LINE contact link, above the reCAPTCHA badge and below the navigation. */
.colabom-line-banner {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border: 1px solid #d9e9de;
  border-radius: 18px;
  background: #fff;
  color: #17452b;
  box-shadow: 0 6px 24px rgba(22, 65, 41, .16);
  text-decoration: none;
  line-height: 1.5;
}
.colabom-line-banner__icon {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: auto;
}
.colabom-line-banner__label {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.colabom-line-banner:hover { color: #17452b; border-color: #06c755; }
.colabom-line-banner:focus-visible { outline: 3px solid #17452b; outline-offset: 4px; }
@media (max-width: 768px) {
  .colabom-line-banner {
    right: calc(12px + env(safe-area-inset-right, 0px));
    padding-right: 14px;
    gap: 10px;
    border-radius: 16px;
  }
  .colabom-line-banner__icon { width: 40px; }
  .colabom-line-banner__label { font-size: 13px; }
}
@media print { .colabom-line-banner { display: none; } }
