/* =========================================================
   おみせWeb 共通スタイル
   - 親しみやすさ重視・明るい配色
   - ヘッダーのみ透明→白blur、本文は基本ライト
   ========================================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand */
  --blue:        #1a73e8;
  --blue-dark:   #1557b0;
  --blue-mid:    #4285f4;
  --blue-light:  #e8f0fe;
  --blue-soft:   #f0f7ff;

  /* Accent */
  --accent-cyan:    #00c2ff;
  --accent-purple:  #7c5cff;

  /* Neutral (すべて明るい色に統一) */
  --bg:        #ffffff;
  --bg-gray:   #f8f9fa;
  --bg-soft:   #fafbfc;
  --bg-light:  #f0f7ff;
  --text:      #202124;
  --text-sub:  #5f6368;
  --text-mute: #9aa0a6;
  --border:    #dadce0;
  --border-soft: #ecedef;

  /* Effect */
  --shadow-sm: 0 2px 8px rgba(60,64,67,0.08);
  --shadow-md: 0 8px 24px rgba(60,64,67,0.12);
  --shadow-lg: 0 24px 56px rgba(60,64,67,0.18);
  --grad-blue: linear-gradient(135deg, #1a73e8 0%, #4285f4 50%, #00c2ff 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);

  /* Type scale */
  --fs-h1:         clamp(1.8rem, 4vw, 2.8rem);
  --fs-h2:         clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3:         clamp(1.2rem, 2vw, 1.5rem);
  --fs-body:       1rem;
  --fs-body-lg:    1.125rem;
  --fs-body-sm:    0.9rem;
  --fs-caption:    0.78rem;
  --fs-label:      0.78rem;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}
.section-label.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--fs-h1);
  color: var(--text);
  line-height: 1.4;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.section-desc {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: var(--fs-body-sm);
  line-height: 1.9;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}

/* Scroll reveal animations */
.reveal { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.fade-up    { transform: translateY(32px); }
.reveal.fade-down  { transform: translateY(-32px); }
.reveal.fade-left  { transform: translateX(-32px); }
.reveal.fade-right { transform: translateX(32px); }
.reveal.scale-in   { transform: scale(0.95); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.loader-bar {
  width: 160px; height: 2px;
  background: rgba(26,115,232,0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  animation: loaderFill 0.9s ease-out forwards;
}
@keyframes loaderFill {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

/* ===== CURSOR ===== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  opacity: 0;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(26,115,232,0.45);
  opacity: 0;
}
.cursor-active .cursor-dot,
.cursor-active .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  background: rgba(26,115,232,0.08);
  border-color: rgba(26,115,232,0.55);
}
.cursor-hover .cursor-dot {
  width: 10px; height: 10px;
}
@media (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ===== HEADER (現状維持：透明→白blur) ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(60,64,67,0.08);
}
#header.always-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(60,64,67,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
}
nav { display: flex; align-items: center; gap: 36px; }
nav a {
  font-size: 0.9rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
  font-weight: 500;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width 0.3s ease;
}
nav a:hover, nav a.active { color: var(--blue); }
nav a:hover::after, nav a.active::after { width: 100%; }
.btn-header {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-header:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,115,232,0.28);
}
.btn-header::after { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: transparent;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 24px;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a.is-cta {
  color: var(--blue);
  font-weight: 700;
  border-bottom: none;
}

/* ===== HERO (index) ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 70%, #e8f0fe 100%);
  overflow: hidden;
  padding: 140px 0 100px;
}
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.hero-deco-circle.c1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #4285f4 0%, transparent 65%);
  top: -120px; left: -160px;
}
.hero-deco-circle.c2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #00c2ff 0%, transparent 60%);
  bottom: -180px; right: -120px;
}
.hero-deco-circle.c3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 60%);
  top: 40%; right: 18%;
  opacity: 0.28;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,115,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,115,232,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-content { position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26,115,232,0.18);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 600;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-display {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-display .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-display .line { display: block; white-space: nowrap; }

.hero-title-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: var(--fs-body);
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}
.hero-tag {
  background: rgba(26,115,232,0.08);
  border: 1px solid rgba(26,115,232,0.2);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual (right side mockup) */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  perspective: none;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(circle at 60% 40%, rgba(26,115,232,0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-mock {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(60,64,67,0.18), 0 6px 16px rgba(60,64,67,0.10);
  background: white;
  border: 1px solid rgba(255,255,255,0.6);
  aspect-ratio: 4 / 5;
}
.hero-mock img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-mock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.hero-mock-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.hero-mock-info {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 12px;
  border-radius: 8px;
}
.hero-mock-name {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  /* 店名が見切れないように省略表記を解除 */
  white-space: normal;
  word-break: break-all;
  line-height: 1.3;
}
.hero-mock-cat {
  color: rgba(255,255,255,0.85);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3つを2x2グリッドで配置（m1は右側で縦長、m2/m3は左側で2分割） */
.hero-mock.m1 {
  grid-column: 2;
  grid-row: 1 / span 2;
  aspect-ratio: 9 / 14;
  animation: floaty 7s ease-in-out infinite;
}
.hero-mock.m2 {
  grid-column: 1;
  grid-row: 1;
  animation: floaty 8s ease-in-out infinite -2s;
}
.hero-mock.m3 {
  grid-column: 1;
  grid-row: 2;
  animation: floaty 9s ease-in-out infinite -4s;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-14px) rotate(0.6deg); }
}

/* ===== PHILOSOPHY (Light) ===== */
#philosophy {
  background: var(--bg-light);
  color: var(--text);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
#philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,115,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,115,232,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.philosophy-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.philosophy-label {
  font-size: 0.85rem;
  color: var(--blue);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.philosophy-display {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.philosophy-display .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.philosophy-text-block p {
  color: var(--text-sub);
  font-size: var(--fs-body-lg);
  line-height: 1.95;
  margin-bottom: 16px;
}
.philosophy-text-block p:last-child { margin-bottom: 0; }
.philosophy-quote {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}
.philosophy-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--accent-cyan) 100%);
}

/* ===== STATS / NUMBERS ===== */
#stats {
  background: var(--bg-soft);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
/* 2項目時は中央寄せ */
.stats-grid.stats-grid-2 {
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
}
.stat-item {
  text-align: left;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border-soft);
}
.stat-item .stat-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-item .stat-unit {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0;
}
.stat-item .stat-prefix {
  font-size: 0.55em;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0;
}
.stat-item .stat-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.stat-item .stat-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== REASONS ===== */
#reasons {
  background: white;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.reason-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.reason-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,115,232,0.2);
}
.reason-card:hover::after { transform: scaleX(1); }
.reason-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.reason-icon {
  width: 56px; height: 56px;
  background: var(--blue-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.reason-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.reason-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.95;
}
.reason-text strong { color: var(--blue); font-weight: 700; }

/* ===== WORKS PREVIEW ===== */
#works-preview {
  background: var(--bg-soft);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.works-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.work-card {
  display: block;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  position: relative;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.work-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.07); }
.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.work-thumb-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.work-thumb-tag {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.work-info {
  padding: 22px 24px 28px;
}
.work-cat {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.76rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.work-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.work-desc {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* CTA card (works grid内の最後のカード) */
.work-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px;
  gap: 14px;
  background: var(--blue-soft);
  border: 1px solid rgba(26,115,232,0.15);
  color: var(--text);
}
.work-card-cta:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.work-cta-eyebrow {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.work-cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.work-cta-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-sub);
}

/* Works page big grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.works-grid .work-card.large .work-thumb { aspect-ratio: 16/10; }

/* ===== PROCESS / TIMELINE ===== */
#process {
  background: white;
  padding: 110px 0 140px;
  position: relative;
  overflow: visible;
}
.process-timeline {
  max-width: 920px;
  margin: 56px auto 0;
  position: relative;
}
/* 全体貫通の縦線は廃止。各stepの下にのみ線を引いて、最後のstepには引かない */
.process-timeline .line-fill { display: none; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
.process-step .step-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.process-step .step-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue);
  line-height: 1;
}
.process-step .step-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.process-step:hover .step-circle {
  background: var(--blue);
  transform: scale(1.05);
}
.process-step:hover .step-label,
.process-step:hover .step-num { color: white; }
.process-step .step-body { padding-top: 12px; }
.process-step .step-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.process-step .step-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.9;
}
.process-step .step-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 100px;
  margin-top: 10px;
}

/* ===== COMPARISON ===== */
#comparison {
  background: var(--bg-soft);
  padding: 110px 0;
}
.compare-table-wrap {
  margin-top: 56px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table thead {
  background: var(--blue-soft);
}
.compare-table th {
  padding: 22px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-sub);
  font-weight: 700;
  text-align: center;
}
.compare-table th:first-child { text-align: left; color: var(--text); }
.compare-table th.us {
  background: var(--blue);
  color: white;
}
.compare-table td {
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-sub);
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text);
}
.compare-table td.us {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-mute);
}

/* ===== PRICING (index) ===== */
#pricing {
  background: white;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
/* 明るい背景に変更：白＋青のアクセント */
.pricing-card {
  max-width: 640px;
  margin: 56px auto 0;
  background: white;
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(60,64,67,0.10);
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(66,133,244,0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.pricing-card-inner { position: relative; z-index: 1; }
.pricing-card-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.pricing-card-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 6px;
}
.pricing-card-price .yen { font-size: 0.6em; vertical-align: super; color: var(--blue); }
.pricing-card-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.pricing-card-monthly {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--blue-soft);
  border: 1px solid rgba(26,115,232,0.15);
  border-radius: 100px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.pricing-card-monthly .price {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.pricing-card-monthly .note { font-size: 0.78rem; color: var(--text-sub); }
.pricing-card-monthly .badge {
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.pricing-card-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-bottom: 36px;
}
.pricing-card-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}
.pricing-card-includes li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-card-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== CTA BAND (青グラデーション維持・暗くない) ===== */
#cta {
  background: var(--grad-blue);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-display {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: white;
  margin-bottom: 20px;
}
.cta-title-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.cta-desc {
  color: rgba(255,255,255,0.92);
  font-size: var(--fs-body-lg);
  margin-bottom: 36px;
  line-height: 1.9;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: white;
  border: 1.5px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26,115,232,0.38);
}
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--blue);
  border: 1.5px solid white;
}
.btn-white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--grad-soft);
  overflow: hidden;
}
.page-hero-display {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.page-hero-display .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.page-hero-lead {
  font-size: var(--fs-body);
  color: var(--text-sub);
  line-height: 1.95;
  max-width: 640px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s;
  letter-spacing: 0.03em;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue);
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.95;
}

/* ===== PRICE PAGE ===== */
#plan-detail {
  background: var(--bg-soft);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}
/* 明るい背景に変更：白カード＋青アクセント */
.plan-main {
  background: white;
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(60,64,67,0.10);
}
.plan-main::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(66,133,244,0.16), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.plan-main-inner { position: relative; z-index: 1; }
.plan-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.plan-side-card {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 32px 28px;
}
.plan-side-card.accent {
  background: var(--blue-soft);
  border-color: rgba(26,115,232,0.18);
}
.plan-side-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.plan-side-sub {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.plan-side-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-side-list li {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.plan-side-list li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.plan-side-card.accent .plan-side-list li {
  color: var(--text);
}
.plan-side-card.accent .plan-side-list li strong { color: var(--blue); }

.plan-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.plan-spec {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 16px;
}
.plan-spec dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  margin-bottom: 4px;
  font-weight: 600;
}
.plan-spec dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.plan-includes-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
}
.plan-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.65;
}
.plan-includes-list li::before {
  content: '';
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 140px 0 110px;
  background: white;
}
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.contact-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  text-align: center;
}
.contact-note {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
}
.form-group { margin-bottom: 32px; }
.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.badge-required, .badge-optional {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.badge-required { background: var(--blue); color: white; }
.badge-optional { background: var(--border-soft); color: var(--text-sub); }
.form-input {
  width: 100%;
  padding: 0 0 12px;
  border: none;
  border-bottom: 1.5px solid var(--border);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}
.form-input:focus { border-color: var(--blue); }
.form-input::placeholder { color: var(--text-mute); }
textarea.form-input {
  min-height: 140px;
  resize: vertical;
  padding: 14px 0;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  transition: all 0.3s;
}
.radio-item:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.radio-item input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.radio-item span { font-size: 0.9rem; color: var(--text); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.7;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}
.form-check a { color: var(--blue); text-decoration: underline; }
.form-divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0 0 36px;
}
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--blue);
  color: white;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26,115,232,0.38);
}
.form-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-mute);
}
.form-success {
  display: none;
  text-align: center;
  padding: 64px 24px;
}
.form-success.is-shown { display: block; }
.form-success-icon { margin-bottom: 24px; display: flex; justify-content: center; }
.form-success h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.95;
}

/* ===== PRIVACY ===== */
.privacy-section-page {
  padding: 90px 0 130px;
  background: white;
}
.privacy-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-intro {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}
.privacy-section { margin-bottom: 48px; }
.privacy-section h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  letter-spacing: 0.03em;
}
.privacy-section p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 12px;
}
.privacy-section ul {
  list-style: none;
  margin: 8px 0 12px;
}
.privacy-section ul li {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2;
  padding-left: 16px;
  position: relative;
}
.privacy-section ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.privacy-date {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-mute);
  text-align: right;
}

/* ===== FOOTER (明るい色に変更：薄グレー＋ダーク文字) ===== */
footer {
  background: var(--bg-gray);
  color: var(--text-sub);
  padding: 80px 0 28px;
  position: relative;
  border-top: 1px solid var(--border);
}
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo {
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: inline-block;
  color: var(--blue);
}
.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.95;
  margin-bottom: 20px;
  max-width: 380px;
}
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-sub);
  font-size: 0.82rem;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(26,115,232,0.15);
}
.footer-nav h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: 0.86rem;
  color: var(--text-sub);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--blue); }
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* ===== TO TOP ===== */
#toTop {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26,115,232,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#toTop.is-shown { opacity: 1; pointer-events: auto; }
#toTop:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}

/* ===== FOCUS ===== */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 440px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-lead { max-width: none; }
  .reasons-grid { grid-template-columns: 1fr; }
  .works-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid.stats-grid-2 { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 32px; }
  .plan-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  #header { padding: 16px 0; }
  #hero { padding: 120px 0 80px; min-height: auto; }
  .hero-visual { height: 360px; }
  .pricing-card { padding: 40px 28px; }
  .pricing-card-includes { grid-template-columns: 1fr; }
  .works-preview-grid, .works-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 14px 10px; font-size: 0.78rem; }
  .compare-table th:first-child, .compare-table td:first-child { font-size: 0.82rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-step { grid-template-columns: 64px 1fr; gap: 16px; }
  .process-step:not(:last-child)::before { left: 19px; top: 58px; }
  .process-step .step-circle { width: 40px; height: 40px; }
  .process-step .step-num { font-size: 0.95rem; }
  .process-step .step-label { display: none; }
  .plan-specs-grid { grid-template-columns: 1fr; }
  .plan-main { padding: 36px 28px; }
  .contact-note { padding: 16px 18px; }
  .hero-mock-name { font-size: 0.74rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-display { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-mock { animation: none !important; }
  .hero-eyebrow .dot { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ===== FAILSAFE ===== */
@keyframes failsafeReveal {
  to { opacity: 1; transform: none; }
}
.reveal {
  animation: failsafeReveal 0.01s linear 1.5s forwards;
}
.reveal.is-visible {
  animation: none;
}
