/*
Theme Name: tadpole-works
Theme URI: https://tp-works.jp/
Description: TADPOLE WORKS 独自テーマ — Webを、事業にフィットするかたちへ。
Version: 1.0.0
Author: TADPOLE WORKS
Text Domain: tadpole-works
*/

/* ═══════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════ */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2e45;
  --teal: #00c9a7;
  --teal-light: #00e8c2;
  --cream: #f7f4ef;
  --warm-white: #fdfcfa;
  --gray: #8a9ab0;
  --gray-light: #e8ecf2;
  --accent: #ff6b35;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 24px rgba(13,27,42,0.08); }

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #00f5d0, #00c9a7 50%, #0099cc);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  animation: ink-bleed 3s ease-in-out infinite;
  filter: blur(0.4px);
}
.logo-dot::before,
.logo-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #00c9a7, #00e8c2 60%, transparent 100%);
  animation: ink-ring 3s ease-in-out infinite;
}
.logo-dot::after {
  animation-delay: 1s;
  opacity: 0.5;
}
@keyframes ink-bleed {
  0%   { transform: scale(1);    filter: blur(0.4px) brightness(1);   box-shadow: 0 0 0px 0px rgba(0,201,167,0.5), 0 0 0px 0px rgba(0,201,167,0.2); }
  30%  { transform: scale(1.15); filter: blur(2px)   brightness(1.2);  box-shadow: 0 0 6px 4px rgba(0,201,167,0.4), 0 0 14px 8px rgba(0,201,167,0.15); }
  60%  { transform: scale(0.9);  filter: blur(0.6px) brightness(0.95); box-shadow: 0 0 2px 1px rgba(0,201,167,0.3), 0 0 6px 4px rgba(0,201,167,0.1); }
  100% { transform: scale(1);    filter: blur(0.4px) brightness(1);   box-shadow: 0 0 0px 0px rgba(0,201,167,0.5), 0 0 0px 0px rgba(0,201,167,0.2); }
}
@keyframes ink-ring {
  0%   { transform: scale(1);   opacity: 0.7; filter: blur(1px); }
  50%  { transform: scale(2.8); opacity: 0;   filter: blur(3px); }
  100% { transform: scale(1);   opacity: 0.7; filter: blur(1px); }
}

nav { display: flex; gap: 36px; align-items: center; }
nav ul { display: flex; gap: 36px; align-items: center; list-style: none; margin: 0; padding: 0; }
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--teal); }

.nav-contact {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-size: 0.78rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-contact:hover { background: var(--teal) !important; transform: translateY(-1px); }
.nav-contact::after { display: none !important; }

/* ─── HAMBURGER (SP) ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }

.sp-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(253, 252, 250, 0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-bottom: 1px solid rgba(13,27,42,0.08);
}
.sp-nav.open { display: flex; }
.sp-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(13,27,42,0.06);
  transition: color 0.2s;
}
.sp-nav a:hover { color: var(--teal); }
.sp-nav a.sp-nav-contact {
  margin-top: 16px;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 14px;
  border-radius: 100px;
  border-bottom: none;
}

/* ─── FV ─── */
#fv {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 120px 48px 80px;
}

.fv-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.fv-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.fv-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at 40% 40%, #00f5d0, #00c9a7 50%, #0077cc);
  top: -100px; right: -100px;
  animation: float1 8s ease-in-out infinite, blob-morph1 11s ease-in-out infinite;
}
.fv-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at 60% 50%, #4a9eff, #0055cc);
  bottom: -50px; left: 10%;
  animation: float2 10s ease-in-out infinite, blob-morph2 13s ease-in-out infinite;
}
.fv-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(ellipse at 50% 40%, #00e8c2, #00c9a7);
  top: 40%; right: 20%;
  animation: float1 12s ease-in-out infinite reverse, blob-morph1 9s ease-in-out infinite reverse;
}

.fv-ripple {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0,201,167,0.25);
  pointer-events: none;
}
.fv-ripple-1 { width: 200px; height: 200px; top: 15%; right: 18%; animation: ripple-expand 5s ease-out infinite; }
.fv-ripple-2 { width: 200px; height: 200px; top: 15%; right: 18%; animation: ripple-expand 5s ease-out infinite 1.6s; }
.fv-ripple-3 { width: 200px; height: 200px; top: 15%; right: 18%; animation: ripple-expand 5s ease-out infinite 3.2s; }
.fv-ripple-4 { width: 160px; height: 160px; bottom: 22%; left: 18%; border-color: rgba(74,158,255,0.2); animation: ripple-expand 6s ease-out infinite 0.8s; }
.fv-ripple-5 { width: 160px; height: 160px; bottom: 22%; left: 18%; border-color: rgba(74,158,255,0.2); animation: ripple-expand 6s ease-out infinite 2.6s; }

@keyframes ripple-expand {
  0%   { transform: scale(1);   opacity: 0.6; filter: blur(0px); }
  60%  { opacity: 0.15; }
  100% { transform: scale(3.5); opacity: 0;   filter: blur(2px); }
}
@keyframes blob-morph1 {
  0%,100% { border-radius: 50%; }
  25%     { border-radius: 42% 58% 55% 45% / 48% 52% 48% 52%; }
  50%     { border-radius: 55% 45% 42% 58% / 52% 48% 55% 45%; }
  75%     { border-radius: 48% 52% 58% 42% / 55% 45% 52% 48%; }
}
@keyframes blob-morph2 {
  0%,100% { border-radius: 50%; }
  33%     { border-radius: 58% 42% 48% 52% / 45% 55% 45% 55%; }
  66%     { border-radius: 45% 55% 55% 45% / 58% 42% 58% 42%; }
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
}

.fv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.fv-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.fv-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,167,0.15);
  border: 1px solid rgba(0,201,167,0.3);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.fv-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.fv-title em {
  font-style: normal;
  color: var(--teal);
}

.fv-sub {
  font-size: 1rem;
  line-height: 2;
  color: rgba(247,244,239,0.65);
  margin-bottom: 16px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.fv-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s forwards;
}

.fv-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 8px 30px rgba(0,201,167,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,201,167,0.4);
  background: var(--teal-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1.5px solid rgba(247,244,239,0.3);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}

.fv-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(247,244,239,0.4);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 1.5s 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; }
}

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

/* ─── SECTION BASE ─── */
section { padding: 100px 48px; }
.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--teal);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-title span { color: var(--teal); }
.section-body {
  font-size: 1rem;
  line-height: 2.1;
  color: #4a5a6d;
  font-weight: 300;
}
.max-w { max-width: 1160px; margin: 0 auto; }

/* ─── INTRO ─── */
#intro {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.intro-deco {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(0,201,167,0.06);
  pointer-events: none;
}
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text-large {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.5;
  color: var(--navy);
}
.intro-text-large em {
  font-style: normal;
  color: var(--teal);
  border-bottom: 3px solid var(--teal);
  padding-bottom: 2px;
}
.intro-right { font-size: 1rem; line-height: 2.2; color: #4a5a6d; font-weight: 300; }

/* ─── VALUE ─── */
#value { background: var(--warm-white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  border: 2px solid var(--navy);
}
.value-item {
  padding: 48px 40px;
  border-right: 2px solid var(--navy);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.value-item:last-child { border-right: none; }
.value-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.value-item:hover::before { transform: translateY(0); }
.value-item:hover .value-num,
.value-item:hover .value-name,
.value-item:hover .value-text { color: var(--cream); }
.value-item:hover .value-name { color: var(--teal); }
.value-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: rgba(0,201,167,0.2);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
  animation: num-stretch 4s ease-in-out infinite;
  transform-origin: center bottom;
}
.value-item:nth-child(2) .value-num { animation-delay: 1.3s; }
.value-item:nth-child(3) .value-num { animation-delay: 2.6s; }
@keyframes num-stretch {
  0%   { transform: scaleY(1)    scaleX(1); }
  15%  { transform: scaleY(1.22) scaleX(0.88); }
  30%  { transform: scaleY(0.84) scaleX(1.1); }
  45%  { transform: scaleY(1.1)  scaleX(0.93); }
  60%  { transform: scaleY(0.95) scaleX(1.03); }
  75%  { transform: scaleY(1.02) scaleX(0.99); }
  100% { transform: scaleY(1)    scaleX(1); }
}
.value-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
  transition: color 0.3s;
  position: relative;
}
.value-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #5a6d82;
  transition: color 0.3s;
  position: relative;
  font-weight: 300;
}

/* ─── SERVICE ─── */
#service {
  background: var(--navy);
  color: var(--cream);
}
#service .section-label { color: var(--teal); }
#service .section-title { color: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover {
  border-color: rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.06);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(0,201,167,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.service-text { font-size: 0.9rem; line-height: 1.9; color: rgba(247,244,239,0.55); font-weight: 300; }

/* ─── WORKS ─── */
#works {
  background: var(--cream);
  padding-bottom: 80px;
  overflow: hidden;
}
.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.works-nav { display: flex; gap: 12px; }
.works-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.works-btn:hover { background: var(--navy); color: var(--cream); transform: scale(1.05); }

.works-track-wrap {
  overflow: hidden;
  margin: 0 -48px;
  padding: 0 48px;
  cursor: grab;
}
.works-track-wrap:active { cursor: grabbing; }
.works-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.works-card {
  min-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: 0 4px 24px rgba(13,27,42,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.works-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,27,42,0.14); }
.works-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--navy-mid);
}
.works-img-placeholder {
  width: 100%; height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--navy-mid), #0d2d46);
}
.works-tag-row {
  display: flex;
  gap: 8px;
  padding: 20px 24px 0;
  flex-wrap: wrap;
}
.works-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0,201,167,0.12);
  color: var(--teal);
  border: 1px solid rgba(0,201,167,0.25);
}
.works-body { padding: 16px 24px 28px; }
.works-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.works-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #6a7d94;
  font-weight: 300;
  margin-bottom: 16px;
}
.works-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: gap 0.2s;
}
.works-link:hover { gap: 10px; }

.works-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}
.works-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(13,27,42,0.2);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.works-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 100px;
}

/* ─── SUPPORT ─── */
#support {
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}
.support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.support-right {
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 40px;
  color: var(--cream);
}
.support-items { display: flex; flex-direction: column; gap: 0; }
.support-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.support-item:last-child { border-bottom: none; }
.support-item-icon {
  width: 40px; height: 40px;
  background: rgba(0,201,167,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.support-item-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}
.support-item-desc { font-size: 0.8rem; color: rgba(247,244,239,0.5); margin-top: 3px; font-weight: 300; }

/* ─── ABOUT ─── */
#about {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.about-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18vw;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
  animation: about-text-drift 14s ease-in-out infinite;
  will-change: transform;
}
@keyframes about-text-drift {
  0%   { transform: translate(-50%, -50%) scaleX(1)    skewX(0deg)  translateY(0px);  opacity: 0.025; }
  20%  { transform: translate(-50%, -52%) scaleX(1.03) skewX(-1deg) translateY(-8px); opacity: 0.04; }
  40%  { transform: translate(-49%, -50%) scaleX(0.97) skewX(1.5deg) translateY(4px); opacity: 0.02; }
  60%  { transform: translate(-51%, -49%) scaleX(1.02) skewX(-0.5deg) translateY(-6px); opacity: 0.045; }
  80%  { transform: translate(-50%, -51%) scaleX(0.99) skewX(1deg) translateY(3px);   opacity: 0.028; }
  100% { transform: translate(-50%, -50%) scaleX(1)    skewX(0deg)  translateY(0px);  opacity: 0.025; }
}
.about-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
#about .section-label { justify-content: center; }
#about .section-label::before { display: none; }
.about-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.5;
  color: var(--cream);
  margin: 32px 0;
}
.about-quote span { color: var(--teal); }
.about-text { font-size: 0.95rem; line-height: 2.2; color: rgba(247,244,239,0.6); font-weight: 300; }

/* ─── CONTACT ─── */
#contact {
  background: var(--cream);
  padding: 100px 48px;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-form {
  background: var(--warm-white);
  border-radius: 24px;
  padding: 48px 40px;
  margin-top: 48px;
  box-shadow: 0 8px 40px rgba(13,27,42,0.07);
  text-align: left;
}

/* MW WP Form スタイル上書き */
.contact-form .mwform-text-field,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--warm-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-weight: 300;
  margin-bottom: 4px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,201,167,0.1);
}
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .mwform-checkbox-field-html-element,
.contact-form .mwform-radio-field-html-element { width: auto; }

.contact-form .mw_wp_form table { width: 100%; border-collapse: collapse; }
.contact-form .mw_wp_form th,
.contact-form .mw_wp_form td {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  border: none;
}
.contact-form .mw_wp_form th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 24px;
}
.contact-form .mw_wp_form tr:first-child th { margin-top: 0; }
.contact-form .required {
  color: var(--teal);
  font-size: 0.75rem;
  margin-left: 6px;
}
.contact-form .mw_wp_form p.error {
  color: #e55;
  font-size: 0.8rem;
  margin-top: 4px;
}
.contact-form input[type="submit"],
.contact-form button[type="submit"],
.contact-form .mwform-submit-button {
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  margin-top: 16px;
}
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.contact-form .mwform-submit-button:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,201,167,0.3);
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(247,244,239,0.35);
  font-size: 0.8rem;
  font-family: var(--font-display);
}
.footer-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  header { padding: 0 24px; }
  nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 24px; }
  #fv { padding: 120px 24px 80px; }
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 2px solid var(--navy); }
  .value-item:last-child { border-bottom: none; }
  .service-grid { grid-template-columns: 1fr; }
  .support-inner { grid-template-columns: 1fr; gap: 40px; }
  .works-card { min-width: 290px; }
  .works-track-wrap { margin: 0 -24px; padding: 0 24px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 40px 24px; }
  #about { padding: 80px 24px; }
  #contact { padding: 70px 24px; }
  .contact-form { padding: 32px 24px; }
}
