/* ========================================
   ベーススタイル
======================================== */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

:root {
  --color-primary: #5b9fd4;
  --color-primary-light: #8ec4ed;
  --color-primary-dark: #3a7bb8;
  --color-primary-ultra-light: #dbedf9;
  --color-secondary: #c94e96;
  --color-secondary-light: #e88ac3;
  --color-accent: #0ab391;
  --color-accent-warm: #f0a45d;
  --color-bg: #f0f6fd;
  --color-bg-alt: #f7f4ff;
  --color-bg-warm: #fdf8f3;
  --color-bg-dark: #080c14;
  --color-bg-white: #ffffff;
  --color-text: #0f172a;
  --color-text-light: #475569;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(91,159,212,0.12);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --radius-sm: 0.8rem;
  --radius-md: 1.6rem;
  --radius-lg: 2.4rem;
  --radius-xl: 3.2rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 1.6rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Header
======================================== */
/* ベース: モバイル */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1080px) {
  .header {
    padding: 2rem 3rem;
  }
}

.header--scrolled {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.4rem 2rem;
}

@media (min-width: 1080px) {
  .header--scrolled {
    padding: 1.4rem 3rem;
  }
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.header__logo img {
  width: auto;
  height: 4rem;
  vertical-align: middle;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 768px) {
  .header__logo img {
    height: 6rem;
  }
}

.header--scrolled .header__logo img {
  height: 4rem;
}

/* モバイルではCTAボタンを非表示 */
.header__cta {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border-radius: 100px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1080px) {
  .header__cta {
    display: inline-flex;
  }
}

@media (any-hover: hover) {
  .header__cta:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .header__cta:hover .btn__icon {
    transform: translateX(3px);
  }
}

.header__cta:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.header__cta:focus-visible .btn__icon {
  transform: translateX(3px);
}

/* モバイルではナビリンクを非表示 */
.header__nav {
  display: none;
}

@media (min-width: 1080px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2.4rem;
  }
}

.header__link {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (any-hover: hover) {
  .header__link:hover {
    color: var(--color-primary);
  }

  .header__link:hover::after {
    width: 100%;
  }
}

.header__link:focus-visible {
  color: var(--color-primary);
}

.header__link:focus-visible::after {
  width: 100%;
}

/* ========================================
   ハンバーガーメニュー
======================================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
  position: relative;
}

@media (min-width: 1080px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* ハンバーガー X変形 */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ========================================
   モバイルメニュー
======================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}

@media (min-width: 1080px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--color-bg-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  padding: 8rem 2.4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__link {
  display: block;
  padding: 1.6rem 0.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu__link:active {
  color: var(--color-primary);
  padding-left: 1.2rem;
}

.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 2.4rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu__cta .btn__icon {
  width: 1.8rem;
  height: 1.8rem;
}

/* ========================================
   右下固定ボタングループ
======================================== */
.fixed-btns {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  gap: 0.8rem;
  padding: 1.2rem 1.6rem;
  padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
  .fixed-btns {
    bottom: 3.2rem;
    right: 3.2rem;
    left: auto;
    flex-direction: column;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: none;
    transform: translateY(120px);
  }
}

.fixed-btns--visible {
  transform: translateY(0);
  opacity: 1;
}

.fixed-template {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2rem;
  background: var(--color-bg-white);
  color: var(--color-text);
  border-radius: 100px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
  .fixed-template {
    flex: none;
    padding: 1.2rem 2.4rem;
    font-size: 1.4rem;
    background: rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
}

@media (any-hover: hover) {
  .fixed-template:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

.fixed-cta {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.4rem 2.4rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border-radius: 100px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .fixed-cta {
    flex: none;
    padding: 1.6rem 3rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(91, 159, 212, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

.fixed-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 60%
  );
  animation: fixedCtaShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fixedCtaShimmer {
  0% { left: -75%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

@media (any-hover: hover) {
  .fixed-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 28px rgba(91, 159, 212, 0.45), 0 3px 12px rgba(0, 0, 0, 0.12);
  }

  .fixed-cta:hover .btn__icon {
    transform: translateX(3px);
  }
}

.fixed-cta .btn__icon {
  width: 1.6rem;
  height: 1.6rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Hero Section
======================================== */
/* ベース: モバイル */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10rem 2rem 4rem;
  background: var(--color-bg-white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 12rem 3rem 8rem;
    min-height: 100vh;
  }
}

/* ネットワークアニメーション背景 */
.hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__network canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ベース: モバイル - 縦並び */
.hero__inner {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  gap: 2rem;
}

@media (min-width: 769px) {
  .hero__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }
}

.hero__content {
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

@media (min-width: 769px) {
  .hero__content {
    text-align: left;
    max-width: 560px;
  }
}

/* スマホ: タイトル下に表示（画面幅いっぱい） */
.hero__3d {
  position: relative;
  width: 100vw;
  height: 50vh;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s ease forwards;
}

@media (min-width: 769px) {
  .hero__3d {
    width: auto;
    margin-left: 0;
    flex: 1;
    height: 70vh;
    min-height: 500px;
    animation-delay: 0.4s;
  }
}

/* Three.js キャンバス */
.hero__3d canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__title {
  font-size: clamp(3.5rem, 5vw, 6rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 2.4rem;
  animation: fadeInUp 0.8s 0.1s ease forwards;
  opacity: 0;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  background: linear-gradient(135deg, #2d8bcf 0%, #5b6fd4 50%, #c94e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero__content > img {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 20rem;
  width: 80%;
  height: auto;
  animation: fadeInUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero__content > img {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ベース: モバイル */
.hero__lead {
  font-size: 1.6rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 2rem auto 4rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero__lead {
    font-size: 1.8rem;
    margin-left: 0;
    margin-right: auto;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   ボタン共通
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.8rem 3.6rem;
  border-radius: 1.4rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 240px;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 50%, #c94e96 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(91,159,212,0.25), 0 1px 3px rgba(0,0,0,0.08);
}

/* シマーエフェクト */
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

@media (any-hover: hover) {
  .btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    background-position: 100% 0;
  }

  .btn--primary:hover .btn__icon {
    transform: translateX(4px);
  }
}

.btn--primary:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background-position: 100% 0;
}

.btn--primary:focus-visible .btn__icon {
  transform: translateX(4px);
}

.btn--secondary {
  background: var(--color-bg-white);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

@media (any-hover: hover) {
  .btn--secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.02);
  }
}

.btn--secondary:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.02);
}

.btn__icon {
  width: 2rem;
  height: 2rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Showcase Section（スクロール連動ショーケース）
======================================== */
/* スマホ: 3Dが全画面 fixed、テキストカードが下から重なる */
.showcase {
  position: relative;
  background: var(--color-bg-dark);
  padding: 0;
}

@media (min-width: 769px) {
  .showcase {
    padding: 0;
  }
}

.showcase__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 769px) {
  .showcase__inner {
    padding: 0 3rem;
  }
}

/* 3Dスマホ */
.showcase__phone {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vh;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.showcase__phone.is-visible {
  opacity: 1;
}

@media (min-width: 769px) {
  .showcase__phone {
    left: 0;
    width: 50vw;
    top: 50%;
    transform: translateY(-50%);
    height: 85vh;
    min-height: 600px;
    max-height: 850px;
  }

  .showcase__phone.is-visible {
    pointer-events: auto;
  }
}

.showcase__phone-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.showcase__phone-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* テキストスライド群 */
.showcase__slides {
  position: relative;
  z-index: 1;
  /* スマホ: 上に3Dが見える余白、下にスクロール領域 */
  padding-top: 80vh;
  padding-bottom: 40vh;
}

@media (min-width: 769px) {
  .showcase__slides {
    width: 50%;
    margin-left: auto;
    padding: 40vh 0 30vh;
  }
}

/* 各スライド */
.showcase__slide {
  padding: 3rem 2rem;
  margin-bottom: 80vh;
  background: rgba(8, 12, 20, 0.88);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.3;
  transform: translateY(2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase__slide:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .showcase__slide {
    padding: 8rem 0;
    margin-bottom: 0;
    background: none;
    border: none;
    border-radius: 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.25;
  }
}

.showcase__slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.showcase__slide-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

@media (min-width: 769px) {
  .showcase__slide-header {
    margin-bottom: 2rem;
  }
}

.showcase__slide-num {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
}

.showcase__slide-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

@media (min-width: 769px) {
  .showcase__slide-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin-bottom: 2rem;
  }
}

.showcase__slide-desc {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

@media (min-width: 769px) {
  .showcase__slide-desc {
    font-size: 1.6rem;
    line-height: 1.9;
    margin-bottom: 2.4rem;
  }
}

.showcase__slide-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  width: fit-content;
}

/* ========================================
   Service Section
======================================== */
/* ベース: モバイル */
.service {
  padding: 8rem 2rem;
  background: var(--color-bg-white);
  position: relative;
}

@media (min-width: 768px) {
  .service {
    padding: 10rem 3rem;
  }
}

.service::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.service__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service__columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .service__columns {
    flex-direction: row;
    gap: 3rem;
  }
}

.service__column {
  flex: 1;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .service__column {
    padding: 3.5rem 3.5rem 0 3.5rem;
  }
}

.service__column--problem {
  background: linear-gradient(160deg, #f8faff 0%, #f0f4fa 100%);
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: var(--shadow-sm);
}

.service__column--solution {
  background: linear-gradient(160deg, rgba(91,159,212,0.06) 0%, rgba(201,78,150,0.04) 100%);
  border: 1px solid rgba(91,159,212,0.15);
  box-shadow: var(--shadow-sm);
}

.service__column-content {
  flex: 1;
}

.service__column-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .service__column-title {
    font-size: 2rem;
  }
}

.service__column--problem .service__column-title {
  color: var(--color-text-light);
}

.service__column--solution .service__column-title {
  color: var(--color-primary);
}

.service__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.service__list li {
  font-size: 1.4rem;
  line-height: 1.7;
  padding-left: 2.4rem;
  position: relative;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .service__list li {
    font-size: 1.5rem;
  }
}

.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.service__list--solution li {
  color: var(--color-text);
  font-weight: 500;
}

.service__list--solution li::before {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* イラストエリア */
.service__illust {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}

.service__illust img {
  max-width: 100%;
  height: auto;
  max-height: 24rem;
}

/* コンセプト - ベース: モバイル */
.service__concept {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-bg);
  border-radius: 2rem;
  border: 1px solid rgba(128, 183, 223, 0.1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service__concept {
    padding: 4rem 3rem;
  }
}

.service__concept::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(128, 183, 223, 0.03) 0%, transparent 40%);
  animation: conceptFloat 15s ease-in-out infinite;
}

@keyframes conceptFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, -5%); }
}

.service__concept-text {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .service__concept-text {
    font-size: 1.8rem;
  }
}

.service__concept-text strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* ========================================
   Features Section (3つの特徴)
======================================== */
/* ベース: モバイル */
.features {
  padding: 8rem 2rem;
  background:
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(91,159,212,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 20%, rgba(201,78,150,0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, #f0f4ff 50%, var(--color-bg) 100%);
  position: relative;
}

@media (min-width: 768px) {
  .features {
    padding: 10rem 3rem;
  }
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 100px;
}

.features__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features__grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1080px;
  margin: 0 auto;
}

/* カード個別アクセントカラー */
.features__card--text { --feat-accent: #5b9fd4; --feat-accent-rgb: 91, 159, 212; }
.features__card--camera { --feat-accent: #7b6fc4; --feat-accent-rgb: 123, 111, 196; }
.features__card--tech { --feat-accent: #c94e96; --feat-accent-rgb: 201, 78, 150; }

/* ベース: モバイル - カードは縦並び */
.features__card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .features__card {
    flex-direction: row;
  }
}

@media (any-hover: hover) {
  .features__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }
}

/* ビジュアルエリア - ベース: モバイル */
.features__card-visual {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(var(--feat-accent-rgb), 0.26) 0%, rgba(var(--feat-accent-rgb), 0.02) 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .features__card-visual {
    width: 24rem;
    aspect-ratio: 2 / 3;
  }
}

/* 見出しヘッダー（番号 + タイトル横並び） */
.features__card-header {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

/* 番号バッジ - ベース: モバイル */
.features__card-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--feat-accent);
  line-height: 1;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .features__card-num {
    font-size: 3.2rem;
  }
}

/* 背景画像 */
.features__card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}

/* コンテンツエリア - ベース: モバイル */
.features__card-body {
  flex: 1;
  padding: 2rem;
}

@media (min-width: 768px) {
  .features__card-body {
    padding: 3rem 2rem;
  }
}

.features__card-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .features__card-title {
    font-size: 2.2rem;
  }
}

.features__card-desc {
  font-size: 1.5rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.features__card-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.features__card-highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--feat-accent);
  margin-bottom: 1.2rem;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
}

.features__card-highlight--bottom {
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.features__card-note {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin-top: 1.6rem;
}

/* プラン比較テーブル - ベース: モバイル */
.features__plan-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

@media (min-width: 768px) {
  .features__plan-table {
    grid-template-columns: 1fr 1fr;
  }
}

.features__plan {
  padding: 1.8rem;
  border-radius: 1.2rem;
  border: 1px solid var(--color-border);
}

.features__plan--primary {
  background: linear-gradient(135deg, rgba(128, 183, 223, 0.06) 0%, rgba(131, 127, 196, 0.06) 100%);
  border-color: rgba(128, 183, 223, 0.2);
}

.features__plan--secondary {
  background: #f8f9fb;
}

.features__plan-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-border);
}

.features__plan--primary .features__plan-title {
  color: var(--color-primary);
}

.features__plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.features__plan-list li {
  font-size: 1.3rem;
  color: var(--color-text-light);
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.6;
}

.features__plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.features__plan--primary .features__plan-list li::before {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* チェックリスト */
.features__check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.features__check-list li {
  font-size: 1.5rem;
  color: var(--color-text);
  padding-left: 2.6rem;
  position: relative;
  line-height: 1.7;
  font-weight: 500;
}

.features__check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 50%, #c94e96 100%);
}

.features__check-list li::after {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 1.1rem;
  width: 0.8rem;
  height: 0.4rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* ========================================
   Templates Section
========================================*/
/* ベース: モバイル */
.templates {
  padding: 8rem 2rem;
  background: var(--color-bg-white);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .templates {
    padding: 10rem 3rem;
  }
}

.templates::after {
  content: '';
  position: absolute;
  left: -10%;
  top: 20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(91,159,212,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.templates__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 1.2rem;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  line-height: 1.25;
  color: var(--color-text);
}

.section-desc {
  font-size: 1.7rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

.template-link {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 3rem;
  padding: 1.4rem 2.8rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-link svg {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (any-hover: hover) {
  .template-link:hover {
    transform: translateY(-2px) scale(1.03);
    background-position: 100% 0;
  }

  .template-link:hover svg {
    transform: translateX(4px);
  }
}

.template-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  background-position: 100% 0;
}

.template-link:focus-visible svg {
  transform: translateX(4px);
}

/* ベース: モバイル - 1カラム */
.template-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 5rem;
}

.template-grid > * {
  width: 100%;
}

@media (min-width: 768px) {
  .template-grid > * {
    width: calc((100% - 3rem) / 2);
  }
}

@media (min-width: 1081px) {
  .template-grid > * {
    width: calc((100% - 6rem) / 3);
  }
}

/* カード共通カラー変数 */
.template-card--catalog { --card-accent: #dc2626; --card-accent-light: rgba(220, 38, 38, 0.08); --card-accent-border: rgba(220, 38, 38, 0.2); }
.template-card--empathy { --card-accent: #7c3aed; --card-accent-light: rgba(186, 49, 134, 0.08); --card-accent-border: rgba(186, 49, 134, 0.2); }
.template-card--trust { --card-accent: #0d9488; --card-accent-light: rgba(13, 148, 136, 0.08); --card-accent-border: rgba(13, 148, 136, 0.2); }

.template-card {
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(226,232,240,0.6);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (any-hover: hover) {
  .template-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--card-accent-border, rgba(0,0,0,0.04));
  }
}

/* カード上部のアクセントライン */
.template-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--color-primary));
  z-index: 2;
}

.template-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.template-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.template-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 100%);
}

/* サムネイル上のラベル */
.template-card__label {
  position: absolute;
  bottom: 1.2rem;
  left: 1.6rem;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  padding: 0.5rem 1.4rem;
  background: var(--card-accent, var(--color-primary));
  border-radius: 0.6rem;
}

.template-card__body {
  padding: 1.4rem;
}

.template-card__header {
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--color-border);
}

.template-card__name {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.template-card__desc {
  font-size: 1.5rem;
  color: var(--card-accent, var(--color-primary));
  font-weight: 600;
}

.template-card__target {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.6rem 1.4rem;
  background: var(--card-accent-light, rgba(128, 183, 223, 0.08));
  border-radius: 0.8rem;
  font-size: 1.3rem;
  color: var(--card-accent, var(--color-primary));
  font-weight: 600;
}

.template-card__sections {
  padding: 2rem;
  background: var(--color-bg);
  border-radius: 1.2rem;
}

.template-card__sections-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.template-card__flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.template-card__section {
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}

.template-card__section--highlight {
  background: var(--card-accent, var(--color-primary));
  border-color: var(--card-accent, var(--color-primary));
  color: white;
  font-weight: 700;
}

.template-card__arrow {
  color: var(--card-accent, var(--color-primary));
  display: flex;
  align-items: center;
  opacity: 0.6;
}

.template-card__sections-note {
  margin-top: 1.4rem;
  font-size: 1.3rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* テンプレートリンク一覧 */
.template-links {
  margin-top: 5rem;
  text-align: center;
}

.template-links__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

.template-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

@media (min-width: 768px) {
  .template-links__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }
}

.template-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (any-hover: hover) {
  .template-links__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
  }

  .template-links__item:hover img {
    transform: scale(1.05);
  }
}

.template-links__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-links__name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.06em;
  padding-bottom: 1rem;
}

.template-grid__note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.5rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ========================================
   Process Section
======================================== */
/* ベース: モバイル */
.process {
  padding: 8rem 2rem;
  background:
    radial-gradient(ellipse 70% 40% at 80% 10%, rgba(91,159,212,0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, #eef3fc 50%, var(--color-bg) 100%);
}

@media (min-width: 768px) {
  .process {
    padding: 10rem 3rem;
  }
}

.process__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4rem;
  margin-top: 5rem;
}

/* ベース: モバイル - 1カラム、矢印非表示 */
.process-step {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226,232,240,0.5);
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .process-step {
    width: calc(50% - 1.2rem);
  }
}

@media (min-width: 1081px) {
  .process-step {
    width: calc((100% - 4.8rem) / 3);
  }
}

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

/* カード間のシェブロン矢印 - モバイルでは非表示 */
.process-step::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid #b0c4de;
  border-right: 2px solid #b0c4de;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  display: none;
}

@media (min-width: 768px) {
  .process-step::after {
    display: block;
  }

  .process-step:nth-child(2n)::after,
  .process-step:last-child::after {
    display: none;
  }
}

@media (min-width: 1081px) {
  .process-step::after {
    display: block;
  }

  /* 各行の最後のカードと最終カードは矢印非表示 */
  .process-step:nth-child(3)::after,
  .process-step:last-child::after {
    display: none;
  }

  .process-step:nth-child(2n)::after {
    display: block;
  }
}

.process-step__num {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1.2rem;
}

.process-step__content {
  flex: 1;
}

.process-step__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.process-step__desc {
  font-size: 1.35rem;
  color: var(--color-text-light);
  margin-bottom: 1.4rem;
  line-height: 1.7;
}

.process-step__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 1.2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.process-step__list li {
  font-size: 1.3rem;
  color: var(--color-text);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.7;
}

.process-step__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ========================================
   Pricing Section（料金プラン）
======================================== */
/* ベース: モバイル */
.pricing {
  padding: 8rem 2rem;
  background: var(--color-bg-white);
  position: relative;
}

@media (min-width: 768px) {
  .pricing {
    padding: 10rem 3rem;
  }
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 100px;
}

.pricing__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
  justify-items: center;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
  }
}

@media (min-width: 1201px) {
  .pricing__grid {
    grid-template-columns: repeat(4, minmax(0, 400px));
  }
}

/* 料金カード */
.pricing__card {
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.4rem;
  border: 1px solid rgba(226,232,240,0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .pricing__card {
    max-width: 400px;
    padding: 2.8rem 2.2rem;
  }
}

@media (min-width: 1201px) {
  .pricing__card {
    padding: 3rem 2.4rem;
  }
}

@media (any-hover: hover) {
  .pricing__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }
}

/* ベーシック（人気） */
.pricing__card--popular {
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 40px rgba(91,159,212,0.15), 0 0 0 1px rgba(91,159,212,0.05);
}

/* プレミアム（最上位 - ダーク＋ゴールド） */
.pricing__card--premium {
  background: linear-gradient(160deg, #12162a 0%, #1a2240 40%, #152952 100%);
  border: 1px solid rgba(91,159,212,0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(91,159,212,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* バッジ */
.pricing__card-badge {
  position: absolute;
  top: -1px;
  right: 2.4rem;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.5rem 1.6rem 0.6rem;
  border-radius: 0 0 0.8rem 0.8rem;
  letter-spacing: 0.08em;
}

.pricing__card-badge--premium {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
}

/* カードヘッダー */
.pricing__card-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing__card--premium .pricing__card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing__card-label {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.pricing__card--popular .pricing__card-label {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__card--premium .pricing__card-label {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__card-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.pricing__card--premium .pricing__card-name {
  color: white;
}

.pricing__card-catch {
  font-size: 1.4rem;
  color: var(--color-text-light);
}

.pricing__card--premium .pricing__card-catch {
  color: rgba(255, 255, 255, 0.6);
}

/* 価格表示 */
.pricing__card-price {
  text-align: center;
  margin-bottom: 2.4rem;
  padding: 2rem 0;
  background: var(--color-bg);
  border-radius: 1.2rem;
  line-height: 1.3;
}

.pricing__card--premium .pricing__card-price {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(131, 127, 196, 0.2);
}

.pricing__card-price-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.pricing__card--popular .pricing__card-price-num {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__card--premium .pricing__card-price-num {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.4rem;
}

.pricing__card-price-tax {
  font-size: 1.3rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.pricing__card-price-sub {
  display: block;
  font-size: 1.25rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 0.6rem;
}

.pricing__card--premium .pricing__card-price-sub {
  color: rgba(255, 255, 255, 0.4);
}

.pricing__card--premium .pricing__card-price-tax {
  color: rgba(255, 255, 255, 0.5);
}

/* 比較テーブル形式 */
.pricing__card-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.4rem;
}

.pricing__feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.4rem;
}

.pricing__feature:last-child {
  border-bottom: none;
}

.pricing__feature-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}

.pricing__card--premium .pricing__feature-label {
  color: rgba(255, 255, 255, 0.8);
}

.pricing__feature-value {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.3rem 1.2rem;
  border-radius: 100px;
  text-align: center;
  min-width: 8rem;
}

/* 対応（グラデーション強調） */
.pricing__feature-value--yes {
  background: linear-gradient(135deg, rgba(128, 183, 223, 0.12) 0%, rgba(131, 127, 196, 0.12) 100%);
  color: var(--color-primary-dark, #4a8ab5);
}

.pricing__card--premium .pricing__feature-value--yes {
  background: rgba(131, 127, 196, 0.15);
  color: #b8b4e8;
}

/* 自分で対応 */
.pricing__feature-value--self {
  background: #f0f4f8;
  color: var(--color-text-light);
}

/* 非対応 */
.pricing__feature-value--no {
  background: #f5f5f5;
  color: #c0c0c0;
  font-weight: 500;
}

.pricing__card--premium .pricing__feature-value--no {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
}

/* 申し込みボタン */
.pricing__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 2.4rem;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  margin-top: auto;
}

.pricing__card--popular .pricing__card-btn {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border: none;
}

.pricing__card--premium .pricing__card-btn {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  border: none;
  font-weight: 700;
}

@media (any-hover: hover) {
  .pricing__card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .pricing__card--popular .pricing__card-btn:hover {
    box-shadow: 0 8px 24px rgba(128, 183, 223, 0.3);
  }

  .pricing__card--premium .pricing__card-btn:hover {
    box-shadow: 0 8px 24px rgba(131, 127, 196, 0.4);
  }

  .pricing__card-btn:hover svg {
    transform: translateX(4px);
  }
}

.pricing__card-btn svg {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ラグジュアリープラン（グリッド内カード） */
.pricing__card--luxury {
  background: linear-gradient(160deg, #1a1a0f 0%, #2a2518 40%, #1e1b12 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 1201px) {
  .pricing__card--luxury {
    transform: scale(1.03);
  }

  .pricing__card--luxury:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.3);
  }
}

.pricing__card-badge--luxury {
  background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
  color: #1a1a0f;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  font-weight: 800;
}

.pricing__card--luxury .pricing__card-header {
  border-bottom-color: rgba(212, 175, 55, 0.15);
}

.pricing__card--luxury .pricing__card-label {
  background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__card--luxury .pricing__card-name {
  color: #f5f0e0;
}

.pricing__card--luxury .pricing__card-catch {
  color: rgba(245, 240, 224, 0.55);
}

.pricing__card--luxury .pricing__card-price {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.pricing__card--luxury .pricing__card-price-num {
  background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing__card--luxury .pricing__card-price-sub {
  color: rgba(245, 240, 224, 0.4);
}

.pricing__card--luxury .pricing__card-price-tax {
  color: rgba(245, 240, 224, 0.5);
}

.pricing__luxury-message {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(245, 240, 224, 0.55);
  text-align: left;
  line-height: 1.7;
  padding: 0.6rem 0.4rem 0;
}

.pricing__luxury-list {
  list-style: none;
  padding: 0.6rem 0 0;
  margin: 0;
  text-align: left;
}

.pricing__luxury-list li {
  font-size: 1.25rem;
  color: rgba(212, 175, 55, 0.7);
  line-height: 1.8;
}

.pricing__luxury-list li::before {
  content: '・';
}

.pricing__card--luxury .pricing__card-btn {
  background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%);
  color: #1a1a0f;
  border: none;
  font-weight: 700;
}

@media (any-hover: hover) {
  .pricing__card--luxury .pricing__card-btn:hover {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  }
}

/* 注記エリア（テキストのみ） */
.pricing__note {
  margin-top: 3rem;
  text-align: center;
}

.pricing__note-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.pricing__note-desc {
  font-size: 1.2rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* 自分で選択カード */
.pricing__custom {
  margin-top: 2.4rem;
}

.pricing__custom-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 2.4rem;
  background: var(--color-bg-white);
  border: 1px dashed var(--color-border);
  border-radius: 1.2rem;
}

@media (max-width: 768px) {
  .pricing__custom-inner {
    flex-direction: column;
    text-align: center;
  }
}

.pricing__custom-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.pricing__custom-price {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  margin-top: 0.4rem;
}

.pricing__custom-desc {
  font-size: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.pricing__custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 1.4rem 3rem;
  border-radius: 100px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  border: 1.5px solid rgba(128, 183, 223, 0.4);
  background: rgba(128, 183, 223, 0.08);
  transition: all 0.3s ease;
}

@media (any-hover: hover) {
  .pricing__custom-btn:hover {
    background: rgba(128, 183, 223, 0.12);
    border-color: rgba(128, 183, 223, 0.5);
    transform: translateY(-1px);
  }

  .pricing__custom-btn:hover svg {
    transform: translateX(3px);
  }
}

.pricing__custom-btn svg {
  transition: transform 0.3s ease;
}

/* ========================================
   FAQ Section
======================================== */
/* ベース: モバイル */
.faq {
  padding: 8rem 2rem;
  background:
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(91,159,212,0.03) 0%, transparent 50%),
    var(--color-bg-white);
}

@media (min-width: 768px) {
  .faq {
    padding: 10rem 3rem;
  }
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.faq__item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.faq__item[open] {
  border-color: rgba(91, 159, 212, 0.25);
  box-shadow: 0 6px 24px rgba(91, 159, 212, 0.08);
  background: linear-gradient(160deg, rgba(240,246,253,1) 0%, rgba(255,255,255,1) 100%);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1rem 2rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s ease;
}

@media (min-width: 768px) {
  .faq__question {
    padding: 1.6rem 2.8rem;
  }
}

/* デフォルトの三角マーカーを非表示 */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  display: none;
  content: '';
}

@media (any-hover: hover) {
  .faq__question:hover {
    background: rgba(128, 183, 223, 0.04);
  }
}

.faq__question:focus-visible {
  background: rgba(128, 183, 223, 0.04);
}

.faq__question-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq__question-text {
    font-size: 1.6rem;
  }
}

/* プラス/マイナスアイコン */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 50%, #c94e96 100%);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.faq__icon::before {
  width: 1.6rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 1.6rem;
  transform: translate(-50%, -50%);
}

/* 開いた状態: 縦棒を回転して消す */
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 1rem 2rem 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .faq__answer {
    padding: 0 2.8rem 1.6rem;
  }
}

.faq__answer p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .faq__answer p {
    font-size: 1.5rem;
  }
}

/* ========================================
   CTA Section
======================================== */
/* ベース: モバイル */
.cta {
  padding: 8rem 2rem;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta {
    padding: 10rem 3rem;
  }
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(91,159,212,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,78,150,0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(123,111,196,0.08) 0%, transparent 40%);
  animation: ctaGlow 10s ease-in-out infinite alternate;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 65%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 35%, rgba(255,255,255,0.18) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,0.12) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 10%, rgba(255,255,255,0.08) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 50%, rgba(255,255,255,0.1) 0%, transparent 100%);
  background-size: 180px 180px;
  pointer-events: none;
}

@keyframes ctaGlow {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.cta__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.cta__desc {
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4rem;
  line-height: 1.9;
}

.cta .btn--primary {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(91, 159, 212, 0.35), 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (any-hover: hover) {
  .cta .btn--primary:hover {
    box-shadow: 0 8px 30px rgba(91, 159, 212, 0.45), 0 3px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px) scale(1.03);
  }
}

.cta .btn--primary:focus-visible {
  box-shadow: 0 8px 30px rgba(91, 159, 212, 0.45), 0 3px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px) scale(1.03);
}

.cta__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

/* 白い枠線のアウトラインボタン（CTA暗背景用） */
.btn--outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 2.8rem;
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

@media (any-hover: hover) {
  .btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
  }
}

.btn--outline-white:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Footer
======================================== */
.footer {
  padding: 4rem 3rem;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  border-radius: 100px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__link--primary {
  background: linear-gradient(135deg, #5b9fd4 0%, #7b6fc4 58%, #c94e96 100%);
  color: white;
}

@media (any-hover: hover) {
  .footer__link--primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px -6px rgba(168, 85, 247, 0.5);
  }
}

.footer__link--primary:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px -6px rgba(168, 85, 247, 0.5);
}

.footer__link--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.footer__link--secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

@media (any-hover: hover) {
  .footer__link--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .footer__link--secondary:hover::after {
    width: 70%;
  }
}

.footer__link--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.footer__link--secondary:focus-visible::after {
  width: 70%;
}

/* リーガルリンク */
.footer__legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.footer__legal-link {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer__legal-divider {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__copyright {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ========================================
   リーガルページ（利用規約・プライバシーポリシー）
======================================== */
.legal {
  padding: 12rem 2rem 6rem;
  background: var(--color-bg-white);
  min-height: 100vh;
}

.legal__inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal__title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.legal__updated {
  font-size: 1.3rem;
  color: var(--color-text-light);
  margin-bottom: 4rem;
}

.legal__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal__section {
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal__section:last-child {
  border-bottom: none;
}

.legal__section h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.legal__section p {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.legal__section p:last-child {
  margin-bottom: 0;
}

.legal__section ol,
.legal__section ul {
  padding-left: 2rem;
  margin: 1rem 0;
}

.legal__section ol li,
.legal__section ul li {
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 0.6rem;
}

.legal__section a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   スクロールアニメーション
======================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* stagger delay用 */
.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
.scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }
.scroll-reveal[data-delay="5"] { transition-delay: 0.5s; }
.scroll-reveal[data-delay="6"] { transition-delay: 0.6s; }

/* セクション間の区切り線 */
.service,
.templates {
  position: relative;
}

.service::before,
.templates::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 100px;
}

/* ========================================
   表示切り替えユーティリティ
======================================== */
/* ベース: モバイル - SP用要素を表示 */
.sp_only {
  display: block !important;
}

/* ベース: モバイル - PC用要素を非表示 */
.pc_only {
  display: none !important;
}

@media (min-width: 768px) {
  .sp_only {
    display: none !important;
  }

  .pc_only {
    display: block !important;
  }
}

/* ========================================
   セクション間ウェーブ区切り
======================================== */
.section-divider {
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: -1px;
  margin-bottom: -1px;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

@media (min-width: 768px) {
  .section-divider svg {
    height: 60px;
  }
}

.section-divider--hero {
  color: var(--color-bg-white);
  background: transparent;
}

.section-divider--features {
  color: var(--color-bg);
  background: var(--color-bg-white);
}
