/* ===================================================
   AI Creator Homepage — style.css
   カラーパレット:
     --blue-light  : 透明感のあるブルー
     --navy        : アクセント紺色
     --orange      : CTA・強調オレンジ
=================================================== */

:root {
  --blue-light:   #4FC3F7;
  --blue-mid:     #1E88E5;
  --blue-bg:      #EAF4FB;
  --blue-glass:   rgba(79, 195, 247, 0.12);
  --navy:         #0D1B4B;
  --navy-mid:     #1A2F6E;
  --orange:       #FF6B2B;
  --orange-hover: #E85A1A;
  --white:        #FFFFFF;
  --text-dark:    #0D1B4B;
  --text-mid:     #3A4A6B;
  --text-light:   #7A8DAA;
  --border:       rgba(79, 195, 247, 0.25);
  --shadow-blue:  0 8px 32px rgba(30, 136, 229, 0.15);
  --shadow-card:  0 4px 24px rgba(13, 27, 75, 0.08);
  --radius:       12px;
  --radius-lg:    20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 共通コンテナ ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── セクション共通 ── */
.section { padding: 88px 0; scroll-margin-top: 68px; }
.section-sm { padding: 56px 0; }
.features.section { padding: 24px 0 24px; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
}

.section-lead {
  font-size: 16px;
  color: var(--text-mid);
  margin-top: 16px;
  max-width: 560px;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.35);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 13px 28px;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 75, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -.01em;
}
.logo-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; color: #fff; }
.logo span.accent { color: var(--blue-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-primary { padding: 6px 14px; font-size: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: rgba(13, 27, 75, 0.95);
  border-radius: 6px;
  padding: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .3s;
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
  padding-top: 68px;
  min-height: 52vh;
  background: linear-gradient(to right, rgba(13,27,75,0.92) 0%, rgba(13,27,75,0.80) 40%, rgba(13,27,75,0.25) 70%, rgba(13,27,75,0.0) 100%), url('../images/key_visual.jpg?v=2') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 背景装飾 */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  padding-left: 100px;
  margin-left: 0;
}

.hero-grid {
  display: block;
  position: relative;
  z-index: 1;
  padding: 40px 0 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 5px 14px 5px 9px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -.02em;
}
.hero-title .highlight {
  color: var(--white);
  position: relative;
  text-shadow: 0 0 12px rgba(79,195,247,1.0), 0 0 28px rgba(79,195,247,0.8), 0 0 56px rgba(79,195,247,0.5);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin: 14px 0 24px;
  line-height: 1.8;
  white-space: normal;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item {}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-num span {
  font-size: 20px;
  color: var(--blue-light);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ヒーロー画像プレースホルダー */
.hero-visual {
  position: relative;
}
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(79, 195, 247, 0.4);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.05) 0%, rgba(255, 107, 43, 0.05) 100%);
}
.placeholder-icon {
  width: 64px; height: 64px;
  background: rgba(79, 195, 247, 0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.placeholder-icon svg { width: 32px; height: 32px; color: var(--blue-light); }
.placeholder-text { font-size: 14px; color: rgba(255,255,255,0.5); }
.placeholder-hint { font-size: 12px; color: rgba(79, 195, 247, 0.6); }

/* フローティングカード */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(13, 27, 75, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}
.float-card-1 { bottom: -20px; left: -20px; }
.float-card-2 { top: -16px; right: -16px; }
.float-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon.orange { background: rgba(255, 107, 43, 0.12); }
.float-icon.blue   { background: rgba(30, 136, 229, 0.12); }
.float-icon svg { width: 20px; height: 20px; }
.float-card-text .num { font-size: 20px; font-weight: 900; color: var(--navy); }
.float-card-text .lbl { font-size: 11px; color: var(--text-light); }

/* ─────────────────────────────────────────
   FEATURES セクション (3カラム)
───────────────────────────────────────── */
.features { background: #f9fdff; }

.features-header { text-align: center; margin-bottom: 20px; }
.features-header .section-lead { margin: 16px auto 0; }

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

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 30px;
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-light);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon-wrap img { width: 80px; height: 80px; object-fit: contain; }
.feature-card:nth-child(2) .feature-icon-wrap img { width: 144px; height: 144px; }
.feature-card:nth-child(2) .feature-icon-wrap { margin: -10px auto -34px; }
.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
}
.feature-desc { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* ─────────────────────────────────────────
   TOOLS / PARTNER LOGOS
───────────────────────────────────────── */
.tools { background: var(--navy); padding: 0; overflow: hidden; }

.tools-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #F0FFFF;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-top: 4px;
  margin-bottom: 4px;
}

.tools-track-wrap { overflow: hidden; position: relative; }
.tools-track-wrap::before,
.tools-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
}
.tools-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--navy), transparent); }
.tools-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--navy), transparent); }

.tools-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tool-item {
  flex-shrink: 0;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #F0FFFF;
  border-right: 1px solid rgba(255,255,255,0.08);
  height: 28px;
  transition: color .2s;
}

.tool-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: .5;
}

/* ─────────────────────────────────────────
   BUBBLES
─────────────────────────────────────────── */
.service-section { position: relative; overflow: hidden; }

.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bubbles span {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 16px rgba(79, 195, 247, 0.8), 0 0 36px rgba(79, 195, 247, 0.55), 0 0 64px rgba(79, 195, 247, 0.35);
  animation: rise linear infinite;
}

/* 各バブルのサイズ・位置・速度・遅延 */
.bubbles span:nth-child(1)  { width: 18px; height: 18px; left:  5%; animation-duration: 16s; animation-delay: 0s;   }
.bubbles span:nth-child(2)  { width: 10px; height: 10px; left: 12%; animation-duration: 22s; animation-delay: 1.5s; }
.bubbles span:nth-child(3)  { width: 24px; height: 24px; left: 20%; animation-duration: 18s; animation-delay: 3s;   }
.bubbles span:nth-child(4)  { width: 8px;  height: 8px;  left: 28%; animation-duration: 26s; animation-delay: 0.5s; }
.bubbles span:nth-child(5)  { width: 16px; height: 16px; left: 36%; animation-duration: 20s; animation-delay: 2s;   }
.bubbles span:nth-child(6)  { width: 20px; height: 20px; left: 44%; animation-duration: 14s; animation-delay: 4s;   }
.bubbles span:nth-child(7)  { width: 12px; height: 12px; left: 52%; animation-duration: 24s; animation-delay: 1s;   }
.bubbles span:nth-child(8)  { width: 28px; height: 28px; left: 60%; animation-duration: 18s; animation-delay: 3.5s; }
.bubbles span:nth-child(9)  { width: 9px;  height: 9px;  left: 68%; animation-duration: 28s; animation-delay: 0s;   }
.bubbles span:nth-child(10) { width: 15px; height: 15px; left: 75%; animation-duration: 16s; animation-delay: 2.5s; }
.bubbles span:nth-child(11) { width: 22px; height: 22px; left: 82%; animation-duration: 22s; animation-delay: 1s;   }
.bubbles span:nth-child(12) { width: 11px; height: 11px; left: 88%; animation-duration: 20s; animation-delay: 4.5s; }
.bubbles span:nth-child(13) { width: 17px; height: 17px; left: 93%; animation-duration: 14s; animation-delay: 2s;   }
.bubbles span:nth-child(14) { width: 8px;  height: 8px;  left: 32%; animation-duration: 30s; animation-delay: 6s;   }
.bubbles span:nth-child(15) { width: 13px; height: 13px; left: 56%; animation-duration: 18s; animation-delay: 5s;   }

@keyframes rise {
  0%   { transform: translateY(0) translateX(0);        opacity: 0;   }
  10%  { opacity: 0.9; }
  80%  { transform: translateY(-200vh) translateX(10px); opacity: 0.6; }
  100% { transform: translateY(-260vh) translateX(-6px); opacity: 0; }
}

.service-section .container { position: relative; z-index: 1; }

/* ─────────────────────────────────────────
   SERVICE 詳細セクション (交互レイアウト)
───────────────────────────────────────── */
.service-section { background: url('../images/service_back.jpg') center center / cover no-repeat; padding-top: 35px; padding-bottom: 20px; }
.service-section .bubbles span,
.works .bubbles span {
  box-shadow: 0 0 16px rgba(79, 195, 247, 0.45), 0 0 36px rgba(79, 195, 247, 0.3), 0 0 64px rgba(79, 195, 247, 0.18);
}

.service-section .section-title,
.service-section .service-title,
.service-section .service-title em,
.service-section .service-desc,
.service-section .service-point,
.service-section .service-tag { color: var(--navy) !important; }

.service-block {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0 20px;
}
.service-block + .service-block {
  border-top: 1px solid var(--border);
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.service-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 20px;
}
.service-title em { font-style: normal; color: var(--blue-mid); }
.service-desc { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 28px; }

.service-text .btn-primary { padding: 9px 20px; font-size: 13px; }

.service-list-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-list-wrapper img { flex-shrink: 0; }
.service-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.service-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}
.point-check {
  width: 20px; height: 20px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.point-check svg { width: 11px; height: 11px; color: #fff; }

/* 画像・動画プレースホルダー（サービスセクション） */
.service-media-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.08), rgba(79, 195, 247, 0.12));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.service-media-placeholder .ph-icon {
  width: 56px; height: 56px;
  background: rgba(30, 136, 229, 0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-media-placeholder .ph-icon svg { width: 28px; height: 28px; color: var(--blue-mid); }
.service-media-placeholder .ph-label { font-size: 13px; color: var(--text-light); font-weight: 500; }
.service-media-placeholder .ph-size  { font-size: 11px; color: rgba(30, 136, 229, 0.5); }

/* 動画プレースホルダー用プレイボタン */
.play-btn-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.play-btn {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(13,27,75,0.2);
}
.play-btn svg { width: 28px; height: 28px; color: var(--navy); margin-left: 4px; }

/* ─────────────────────────────────────────
   PROCESS / FLOW セクション
───────────────────────────────────────── */
.process { background: #f9fdff; padding-top: 35px; padding-bottom: 0; position: relative; overflow: hidden; }
.process .container { position: relative; z-index: 1; }
.process .bubbles span,
.pricing-section .bubbles span {
  box-shadow: 0 0 16px rgba(135, 255, 215, 0.9), 0 0 36px rgba(135, 255, 215, 0.65), 0 0 64px rgba(135, 255, 215, 0.4);
  border: 1px solid rgba(135, 255, 215, 0.9);
}
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-lead { margin: 16px auto 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 24px;
  position: relative;
}
.step-icon {
  width: 72px; height: 72px;
  object-fit: contain;
  margin-bottom: 24px;
}
.step-circle.active {
  background: var(--blue-mid);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(30, 136, 229, 0.18);
}
.step-circle.inactive {
  background: var(--blue-bg);
  color: var(--navy);
  border: 2px solid var(--border);
}

.step-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ─────────────────────────────────────────
   PRICING / 価格表
───────────────────────────────────────── */
.pricing-section { background: #f9fdff; padding-top: 10px; padding-bottom: 29px; position: relative; overflow: hidden; }
.pricing-section .container { position: relative; z-index: 1; }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-lead { margin: 16px auto 0; }

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

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .28s ease;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-light);
}
.pricing-card:hover::before { transform: scaleX(1); }

/* 横長カード */
.pricing-card--wide {}

.pricing-wide-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px 36px 28px;
  flex: 1;
  text-align: center;
}

.pricing-wide-footer {
  display: flex;
  justify-content: center;
  padding: 20px 36px 32px;
  border-top: 1px solid var(--border);
}

.plan-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.35);
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.plan-price {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1;
}
.price-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
}
.price-unit {
  font-size: 13px;
  color: var(--navy);
  margin-left: 2px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  align-content: start;
  width: 100%;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
}
.plan-check {
  color: var(--blue-mid);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.btn-pricing-cta {
  padding: 10px 28px !important;
  font-size: 13px !important;
  background: #44f2b8 !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 16px rgba(68, 242, 184, 0.5) !important;
}
.btn-pricing-cta:hover {
  background: #87ffd7 !important;
  color: var(--navy) !important;
  box-shadow: 0 8px 24px rgba(68, 242, 184, 0.5) !important;
  transform: translateY(-2px);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 32px;
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-wide-body { padding: 28px 24px 20px; }
  .plan-features--grid { grid-template-columns: 1fr; }
  .pricing-wide-footer { padding: 16px 24px 24px; }
}

/* ─────────────────────────────────────────
   WORKS / ポートフォリオ
───────────────────────────────────────── */
.works { background: url('../images/service_back.jpg') center center / 100% auto no-repeat; padding-top: 35px; padding-bottom: 40px; position: relative; overflow: hidden; }
.works .container { position: relative; z-index: 1; }
.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .28s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}

.work-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-glass), rgba(30, 136, 229, 0.08));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px dashed var(--border);
  position: relative;
}
.work-thumb svg { width: 32px; height: 32px; color: var(--blue-mid); opacity: .5; }
.work-thumb-label { font-size: 11px; color: var(--text-light); }

.work-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.work-body { padding: 4px 20px 20px 20px; }
.work-category { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; text-align: center; }
@media (max-width: 768px) { .work-category--long { font-size: 13px; } }
.work-title { font-size: 21px; font-weight: 700; color: var(--navy); margin-top: -4px; margin-bottom: 8px; text-align: center; }
.work-desc  { font-size: 13px; color: var(--text-mid); }

.work-result {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.result-item {}
.result-num   { font-size: 20px; font-weight: 900; color: var(--orange); }
.result-label { font-size: 11px; color: var(--text-light); }

/* ─────────────────────────────────────────
   TESTIMONIALS / お客さまの声
───────────────────────────────────────── */
.testimonials { background-color: #f9fdff; padding-top: 35px; position: relative; overflow: hidden; }
.testimonials-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testimonials .container { position: relative; z-index: 1; }
.testimonials .bubbles span {
  box-shadow: 0 0 16px rgba(79, 195, 247, 0.45), 0 0 36px rgba(79, 195, 247, 0.3), 0 0 64px rgba(79, 195, 247, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

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

.testimonial-card {
  background: #eff6fe;
  border-radius: var(--radius-lg);
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: all .28s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--blue-mid);
  opacity: .3;
  font-family: Georgia, serif;
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.8;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-name { font-size: 13px; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 13px; color: var(--navy); margin-top: 1px; }

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   CTA バナー
───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(13,27,75,0.65) 0%, rgba(26,47,110,0.65) 50%, rgba(27,79,154,0.65) 100%), url('../images/footer.jpg') center/cover no-repeat;
  min-height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-tag {
  display: inline-block;
  background: rgba(255, 107, 43, 0.2);
  border: 1px solid rgba(255, 107, 43, 0.4);
  color: #FFAD85;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-actions .btn-primary { padding: 11px 28px; font-size: 14px; }
.cta-actions .btn-ghost   { padding: 15px 36px; font-size: 16px; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 10px 0 5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 240px; }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
.footer-links a:hover { color: var(--blue-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.social-link:hover {
  background: rgba(79, 195, 247, 0.2);
  transform: translateY(-2px);
}
.social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,0.7); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid       { grid-template-columns: repeat(2, 1fr); }
  .works-grid          { grid-template-columns: repeat(2, 1fr); }
  .process-steps       { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13,27,75,0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero .container { padding-left: 24px; }
  .hero-grid    { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 80px; }
  .hero-visual  { order: -1; }

  .features-grid       { grid-template-columns: 1fr; }
  .works-grid          { grid-template-columns: 1fr; }
  .process-steps       { grid-template-columns: 1fr; }

  .service-block,
  .service-block.reverse { grid-template-columns: 1fr !important; direction: ltr; gap: 40px; }
  .service-media-placeholder { display: none; }

  .process-header .section-title,
  .features-header .section-title { font-size: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats   { flex-wrap: wrap; gap: 20px; }
  .float-card   { display: none; }

  .works-grid-2col { grid-template-columns: 1fr !important; }
  .footer-tagline { font-size: 10px !important; white-space: nowrap; }

  .btn-primary { padding: 11px 24px; font-size: 14px; }
  .btn-outline { padding: 10px 20px; font-size: 14px; }
}

@media (max-width: 480px) {
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .cta-actions   { flex-direction: column; align-items: center; }
}
