/* ========================================
   江島良介後援会 公式サイト - スタイルシート
   華やかで見やすいデザイン
======================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - 華やかで温かみのある配色 */
  --color-bg: #fffaf5;
  --color-bg-alt: #fff1e6;
  --color-bg-dark: #1c1a2b;

  /* メインカラー：オレンジ */
  --color-primary: #f97316;
  --color-primary-light: #fb923c;
  --color-primary-dark: #ea580c;
  --color-primary-pale: #ffedd5;

  /* アクセントカラー：サンド/ゴールド */
  --color-accent: #eab308;
  --color-accent-light: #facc15;
  --color-accent-dark: #ca8a04;
  --color-accent-pale: #fef9c3;

  /* 強調カラー：レッド */
  --color-highlight: #dc2626;
  --color-highlight-light: #ef4444;

  /* テキスト */
  --color-text: #1f2937;
  --color-text-light: #4b5563;
  --color-text-muted: #9ca3af;
  --color-white: #ffffff;

  /* ボーダー・シャドウ */
  --color-border: #e2e8f0;
  --color-border-hover: var(--color-primary);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 12px 40px -12px rgba(249, 115, 22, 0.45);

  /* Typography */
  --font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-family-display: 'Shippori Mincho B1', 'Zen Kaku Gothic New', serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;
  --font-size-8xl: 6rem;

  --line-height: 1.75;
  --line-height-tight: 1.25;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Header height */
  --header-height: 72px;

  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

@media (max-width: 640px) {
  :root {
    --container-padding: 1rem;
  }
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.08), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(234, 179, 8, 0.08), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(249, 115, 22, 0.06), transparent 40%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* テキスト強調 */
.text-highlight {
  color: var(--color-highlight);
  font-weight: 900;
}

.text-accent {
  color: var(--color-accent);
  font-weight: 700;
}

.text-primary {
  color: var(--color-primary);
}

/* グラデーション区切り線 */
.section-divider {
  height: 4px;
  width: 80px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text);
  font-weight: 900;
  transition: transform var(--transition-base);
}

.logo:hover {
  color: var(--color-primary);
  transform: scale(1.02);
}

.logo-name {
  font-size: var(--font-size-xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-primary-pale);
  border-radius: var(--radius-sm);
}

.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-primary-pale);
}

.nav-link--accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  box-shadow: var(--shadow-primary);
}

.nav-link--accent:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -10px rgba(13, 148, 136, 0.5);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  gap: 6px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--color-bg-alt);
}

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

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 1023px) {
  .nav {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    padding: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base), opacity var(--transition-base);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 1001;
  }

  .nav.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .nav-link {
    display: block;
    font-size: var(--font-size-lg);
    padding: var(--space-lg);
    border: 2px solid var(--color-border);
  }

  .nav-link:hover {
    border-color: var(--color-primary);
  }

  .nav-link--accent {
    text-align: center;
    margin-top: var(--space-md);
    border: none;
  }
}

/* ---------- Hero Section - フルスクリーンスライダー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-bg-dark);
}

/* 背景スライダー */
.hero-slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: opacity, visibility;
}

.hero-slide.active {
  visibility: visible;
  z-index: 1;
  -webkit-animation: slideFadeIn 1.2s ease-in-out forwards;
  animation: slideFadeIn 1.2s ease-in-out forwards;
}

@-webkit-keyframes slideFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transform: translateZ(0) scale(1);
  transform: translateZ(0) scale(1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  -webkit-animation: kenBurnsZoom 8s ease-out forwards;
  animation: kenBurnsZoom 8s ease-out forwards;
}

@-webkit-keyframes kenBurnsZoom {
  0% {
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
  }
  100% {
    -webkit-transform: translateZ(0) scale(1.08);
    transform: translateZ(0) scale(1.08);
  }
}

@keyframes kenBurnsZoom {
  0% {
    transform: translateZ(0) scale(1);
  }
  100% {
    transform: translateZ(0) scale(1.08);
  }
}

/* 背景画像 */
.hero-slide-bg--1 {
  background-image: url('image_saiyou/DSC_9457.jpg');
}

.hero-slide-bg--2 {
  background-image: url('image_saiyou/DSC_9527.jpg');
}

.hero-slide-bg--3 {
  background-image: url('image_saiyou/DSC_9376.jpg');
}

.hero-slide-bg--4 {
  background-image: url('image_saiyou/DSC_9496.jpg');
  background-position: center top;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 26, 43, 0.75) 0%,
    rgba(249, 115, 22, 0.3) 50%,
    rgba(28, 26, 43, 0.85) 100%
  );
}

/* スライダーコンテンツ */
.hero-slider-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--container-padding) var(--space-3xl);
  text-align: center;
}

@media (min-width: 768px) {
  .hero-slider-content {
    padding: calc(var(--header-height) + var(--space-3xl)) var(--container-padding) var(--space-4xl);
  }
}

/* テキストスライダー */
.hero-text-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  min-height: 80px;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .hero-text-slider {
    min-height: 100px;
    margin-bottom: var(--space-3xl);
  }
}

.hero-text-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  pointer-events: none;
}

.hero-text-slide.active {
  visibility: visible;
  z-index: 1;
  -webkit-animation: textSlideIn 0.8s ease-out forwards;
  animation: textSlideIn 0.8s ease-out forwards;
  pointer-events: auto;
}

@-webkit-keyframes textSlideIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes textSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-catchphrase {
  font-size: var(--font-size-xl);
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-family-display);
  letter-spacing: 0.05em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 480px) {
  .hero-catchphrase {
    font-size: var(--font-size-2xl);
  }
}

@media (min-width: 768px) {
  .hero-catchphrase {
    font-size: var(--font-size-4xl);
  }
}

@media (min-width: 1024px) {
  .hero-catchphrase {
    font-size: var(--font-size-5xl);
  }
}

/* メインコンテンツ */
.hero-main-content {
  max-width: 800px;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .hero-main-content {
    margin-bottom: var(--space-3xl);
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

@media (min-width: 768px) {
  .hero-label {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
  }
}

.hero-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  -webkit-animation: pulse 2s ease-in-out infinite;
  animation: pulse 2s ease-in-out infinite;
}

@-webkit-keyframes pulse {
  0%, 100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero-title {
    margin-bottom: var(--space-xl);
  }
}

.hero-title-name {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-family-display);
  letter-spacing: 0.1em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-title-name ruby {
  ruby-align: center;
}

.hero-title-name rt {
  font-size: 0.4em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

.hero-title-name rp {
  display: none;
}

@media (min-width: 480px) {
  .hero-title-name {
    font-size: var(--font-size-5xl);
  }
}

@media (min-width: 768px) {
  .hero-title-name {
    font-size: var(--font-size-7xl);
  }
}

@media (min-width: 1024px) {
  .hero-title-name {
    font-size: var(--font-size-8xl);
  }
}

.hero-title-sub {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.15em;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .hero-title-sub {
    font-size: var(--font-size-base);
    padding: var(--space-sm) var(--space-xl);
  }
}

.hero-lead {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2xl);
  }
}

/* スライダーナビゲーション */
.hero-slider-nav {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: auto;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dot.active {
  background: var(--color-primary);
  border-color: var(--color-white);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .hero-slider-dot {
    width: 14px;
    height: 14px;
  }
}

/* ボタングループ */
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px -8px rgba(249, 115, 22, 0.6);
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero-cta {
    font-size: var(--font-size-base);
    padding: var(--space-lg) var(--space-2xl);
  }
}

.hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(249, 115, 22, 0.7);
  color: var(--color-white);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

@media (min-width: 768px) {
  .hero-cta svg {
    width: 20px;
    height: 20px;
  }
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-cta--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  box-shadow: none;
}

.hero-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  box-shadow: 0 8px 30px -8px rgba(255, 255, 255, 0.3);
}

/* 下部の3つの重点政策 */
.hero-policies {
  position: relative;
  z-index: 10;
  padding: var(--space-lg) var(--container-padding);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

@media (min-width: 768px) {
  .hero-policies {
    padding: var(--space-2xl) var(--container-padding);
  }
}

.hero-policies-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-policies-inner {
    flex-direction: row;
    gap: var(--space-md);
  }
}

@media (min-width: 768px) {
  .hero-policies-inner {
    gap: var(--space-lg);
  }
}

.hero-policy-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
  flex: 1;
}

@media (min-width: 640px) {
  .hero-policy-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
    gap: var(--space-md);
  }
}

@media (min-width: 768px) {
  .hero-policy-card {
    padding: var(--space-xl) var(--space-2xl);
  }
}

.hero-policy-card:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.4);
}

.hero-policy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  color: var(--color-white);
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
}

@media (min-width: 768px) {
  .hero-policy-icon {
    width: 64px;
    height: 64px;
  }
}

.hero-policy-icon svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .hero-policy-icon svg {
    width: 32px;
    height: 32px;
  }
}

.hero-policy-text {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 480px) {
  .hero-policy-text {
    font-size: var(--font-size-xs);
  }
}

@media (min-width: 768px) {
  .hero-policy-text {
    font-size: var(--font-size-base);
  }
}

/* スクロールボタン */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 20;
  transition: color var(--transition-base);
}

.hero-scroll:hover {
  color: var(--color-white);
}

@media (max-width: 640px) {
  .hero-scroll {
    display: none;
  }
}

.hero-scroll::after {
  content: '';
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  -webkit-animation: scrollLine 2s ease-in-out infinite;
  animation: scrollLine 2s ease-in-out infinite;
}

@-webkit-keyframes scrollLine {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes scrollLine {
  0%, 100% {
    opacity: 0.3;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
  50% {
    opacity: 1;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  60% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }
  60% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after,
  .hero-scroll svg {
    animation: none;
  }
}

/* ヒーローセクションのみページ読み込み時アニメーション */
/* それ以外はIntersectionObserverでスクロール連動 */
.hero-label {
  -webkit-animation: heroFadeUp 0.8s ease 0.3s both;
  animation: heroFadeUp 0.8s ease 0.3s both;
}

.hero-title {
  -webkit-animation: heroFadeUp 0.9s ease 0.5s both;
  animation: heroFadeUp 0.9s ease 0.5s both;
}

.hero-lead {
  -webkit-animation: heroFadeUp 0.9s ease 0.7s both;
  animation: heroFadeUp 0.9s ease 0.7s both;
}

.hero-buttons {
  -webkit-animation: heroFadeUp 1s ease 0.9s both;
  animation: heroFadeUp 1s ease 0.9s both;
}

.hero-slider-nav {
  -webkit-animation: heroFadeUp 1s ease 1.1s both;
  animation: heroFadeUp 1s ease 1.1s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero-title,
  .hero-lead,
  .hero-buttons,
  .hero-slider-nav {
    -webkit-animation: none;
    animation: none;
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@-webkit-keyframes heroFadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes softRise {
  from {
    opacity: 0;
    -webkit-transform: translateY(18px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    -webkit-transform: translateY(18px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-3xl) 0;
  }
}

@media (max-width: 640px) {
  .policy-detail {
    border-radius: var(--radius-lg);
  }

  .policy-detail-body {
    padding: var(--space-lg);
  }
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-5xl) 0;
  }
}

.section-title {
  text-align: center;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-family: var(--font-family-display);
  letter-spacing: 0.02em;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .section-title {
    font-size: var(--font-size-2xl);
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--font-size-4xl);
  }
}

.section-title-en {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .section-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-2xl);
  }
}

/* ---------- Reason Section ---------- */
.reason {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.reason::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.reason-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

@media (min-width: 1024px) {
  .reason-content {
    flex-direction: row;
    gap: var(--space-4xl);
    align-items: flex-start;
  }
}

.reason-text {
  flex: 1;
}

.reason-text p {
  font-size: var(--font-size-lg);
  line-height: 2;
  margin-bottom: var(--space-xl);
  color: var(--color-text-light);
  text-wrap: pretty;
}

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

.reason-text strong {
  color: var(--color-text);
  font-weight: 700;
}

.reason-quote {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-text);
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.reason-quote span {
  color: var(--color-highlight);
}

.reason-points {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .reason-points {
    width: 400px;
  }
}

.reason-points-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.reason-points-title::before {
  content: '';
  width: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

.reason-points-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.reason-points-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.reason-points-list li:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.reason-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xl);
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.reason-point-text {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  line-height: var(--line-height);
}

/* ---------- Policies Section ---------- */
.policies {
  background: var(--color-bg-alt);
}

.policies-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* 政策詳細カード */
.policy-detail {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-border);
  transition: all var(--transition-base);
}

.policy-detail:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-2xl);
}

/* ヘッダー部分 */
.policy-detail-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .policy-detail-header {
    padding: var(--space-lg) var(--space-lg);
    gap: var(--space-md);
  }
}

@media (min-width: 768px) {
  .policy-detail-header {
    flex-wrap: nowrap;
    padding: var(--space-2xl) var(--space-3xl);
  }
}

.policy-detail-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  opacity: 0.3;
  line-height: 1;
  min-width: 60px;
}

@media (max-width: 640px) {
  .policy-detail-number {
    font-size: var(--font-size-3xl);
    min-width: 48px;
  }
}

@media (min-width: 768px) {
  .policy-detail-number {
    font-size: var(--font-size-5xl);
    min-width: 80px;
  }
}

.policy-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.policy-detail-icon svg {
  width: 32px;
  height: 32px;
}

.policy-detail-title-wrap {
  flex: 1;
}

.policy-detail-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-accent);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.policy-detail-title {
  font-size: var(--font-size-xl);
  font-weight: 900;
  line-height: var(--line-height-tight);
}

@media (min-width: 768px) {
  .policy-detail-title {
    font-size: var(--font-size-2xl);
  }
}

/* ボディ部分 */
.policy-detail-body {
  padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .policy-detail-body {
    padding: var(--space-2xl) var(--space-3xl) var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .policy-detail-body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .policy-detail-background {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .policy-detail-actions {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .policy-detail-outcome {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
}

.policy-detail-subtitle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.policy-detail-subtitle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary-pale), var(--color-accent-pale));
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.policy-detail-subtitle-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* 背景・課題 */
.policy-detail-background {
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.policy-detail-background p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.9;
}

/* 具体的な取り組み */
.policy-detail-actions {
  padding: var(--space-xl);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.policy-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.policy-detail-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-left: var(--space-lg);
  position: relative;
}

.policy-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
}

.policy-detail-list li strong {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
}

.policy-detail-list li span {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* 期待できる変化 */
.policy-detail-outcome {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-accent-pale), var(--color-primary-pale));
  border-radius: var(--radius-lg);
  align-self: start;
}

.policy-detail-outcome p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.8;
  font-weight: 500;
}

/* ---------- Profile Section - 新デザイン ---------- */
.profile {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, #1a1a2e 100%);
  overflow: hidden;
}

.profile .section-title {
  color: var(--color-white);
}

.profile .section-divider {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* 背景装飾 */
.profile-bg-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.profile-bg-decoration::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.profile-bg-decoration::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* メインプロフィールカード */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl);
  margin-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .profile-hero {
    padding: var(--space-3xl);
  }
}

@media (min-width: 1024px) {
  .profile-hero {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-4xl);
    padding: var(--space-4xl);
  }
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 200% 100%;
  -webkit-animation: gradientShift 3s ease infinite;
  animation: gradientShift 3s ease infinite;
}

@-webkit-keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* プロフィール画像 */
.profile-hero-image {
  position: relative;
  flex-shrink: 0;
}

.profile-hero-image-wrapper {
  position: relative;
  width: 280px;
  height: 350px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .profile-hero-image-wrapper {
    width: 320px;
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .profile-hero-image-wrapper {
    width: 350px;
    height: 450px;
  }
}

.profile-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-hero-image-frame {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  z-index: -1;
}

.profile-hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(30px);
}

/* プロフィールコンテンツ */
.profile-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .profile-hero-content {
    text-align: left;
  }
}

.profile-hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .profile-hero-label {
    margin-left: 0;
  }
}

.profile-hero-label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.profile-hero-label-icon svg {
  width: 14px;
  height: 14px;
}

.profile-hero-ruby {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xs);
}

.profile-hero-name {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-family-display);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .profile-hero-name {
    font-size: var(--font-size-6xl);
  }
}

@media (min-width: 1024px) {
  .profile-hero-name {
    font-size: var(--font-size-7xl);
  }
}

.profile-hero-english {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.profile-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
  .profile-hero-badges {
    justify-content: flex-start;
  }
}

.profile-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.profile-hero-message {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 768px) {
  .profile-hero-message {
    font-size: var(--font-size-lg);
  }
}

.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* 経歴セクション */
.profile-career {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .profile-career {
    padding: var(--space-3xl);
  }
}

.profile-career-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.profile-career-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-family-display);
  margin-bottom: var(--space-xs);
}

.profile-career-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
}

.profile-career-title-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.profile-career-subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* タイムライン */
.profile-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .profile-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .profile-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.profile-timeline-item:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.profile-timeline-item--current {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(234, 179, 8, 0.1) 100%);
  border-color: rgba(249, 115, 22, 0.3);
}

.profile-timeline-marker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-xs);
}

.profile-timeline-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.profile-timeline-item:hover .profile-timeline-dot {
  background: var(--color-primary);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
}

.profile-timeline-dot--current {
  background: var(--color-primary);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.profile-timeline-content {
  flex: 1;
}

.profile-timeline-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(249, 115, 22, 0.15);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}

.profile-timeline-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .profile-timeline-text {
    font-size: var(--font-size-base);
  }
}

/* 大切にしていること */
.profile-values-section {
  position: relative;
}

.profile-values-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.profile-values-title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  font-family: var(--font-family-display);
  margin-bottom: var(--space-xs);
}

.profile-values-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
}

.profile-values-title-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.profile-values-subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .profile-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profile-value-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

.profile-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.profile-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 25px 50px -15px rgba(249, 115, 22, 0.3);
}

.profile-value-card:hover::before {
  opacity: 1;
}

.profile-value-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-lg);
  color: var(--color-white);
  box-shadow: 0 12px 30px -8px rgba(249, 115, 22, 0.5);
  transition: all var(--transition-base);
}

.profile-value-card:hover .profile-value-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.profile-value-card-icon svg {
  width: 32px;
  height: 32px;
}

.profile-value-card-content {
  position: relative;
  z-index: 1;
}

.profile-value-card-title {
  font-size: var(--font-size-xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-family: var(--font-family-display);
}

.profile-value-card-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: normal;
}

.profile-value-card-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

/* ---------- Activities Section ---------- */
.activities {
  background: var(--color-bg-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.activities::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.activities::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.activities .section-title {
  color: var(--color-white);
}

.activities .section-divider {
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

/* 活動の姿勢セクション - 新デザイン */
.activities-philosophy {
  margin-bottom: var(--space-5xl);
  position: relative;
  z-index: 1;
}

.philosophy-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.philosophy-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-family: var(--font-family-display);
}

@media (min-width: 768px) {
  .philosophy-title {
    font-size: var(--font-size-3xl);
  }
}

.philosophy-subtitle {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.philosophy-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-base);
  overflow: hidden;
}

@media (min-width: 768px) {
  .philosophy-card {
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
  }
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 25px 60px -15px rgba(249, 115, 22, 0.3);
}

.philosophy-card:hover::before {
  opacity: 1;
}

.philosophy-card-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

@media (min-width: 768px) {
  .philosophy-card-number {
    font-size: var(--font-size-6xl);
  }
}

.philosophy-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  box-shadow: 0 12px 30px -8px rgba(249, 115, 22, 0.5);
}

@media (min-width: 768px) {
  .philosophy-card-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto var(--space-xl);
  }
}

.philosophy-card-icon svg {
  width: 32px;
  height: 32px;
}

@media (min-width: 768px) {
  .philosophy-card-icon svg {
    width: 40px;
    height: 40px;
  }
}

.philosophy-card-content {
  position: relative;
  z-index: 1;
}

.philosophy-card-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-family: var(--font-family-display);
}

@media (min-width: 768px) {
  .philosophy-card-title {
    font-size: var(--font-size-3xl);
  }
}

.philosophy-card-text {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 活動ギャラリー - 新デザイン */
.activities-gallery {
  position: relative;
  z-index: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.gallery-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-family: var(--font-family-display);
}

@media (min-width: 768px) {
  .gallery-title {
    font-size: var(--font-size-3xl);
  }
}

.gallery-subtitle {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .gallery-card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .gallery-card--large .gallery-card-image {
    height: 100%;
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  -webkit-transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.gallery-card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.gallery-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-card--large .gallery-card-image {
  aspect-ratio: 3 / 4;
}

@media (min-width: 1024px) {
  .gallery-card--large .gallery-card-image {
    aspect-ratio: auto;
  }
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .gallery-card-image img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 1;
  -webkit-transition: background 0.4s ease;
  transition: background 0.4s ease;
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(to top, rgba(249, 115, 22, 0.9) 0%, rgba(234, 179, 8, 0.5) 50%, transparent 100%);
}

.gallery-card-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-bg-dark);
  background: var(--color-accent);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 768px) {
  .gallery-card-title {
    font-size: var(--font-size-xl);
  }
}

.gallery-card--large .gallery-card-title {
  font-size: var(--font-size-xl);
}

@media (min-width: 768px) {
  .gallery-card--large .gallery-card-title {
    font-size: var(--font-size-2xl);
  }
}

/* ---------- Contact Section ---------- */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.contact .section-title {
  color: var(--color-white);
}

.contact .section-divider {
  background: linear-gradient(90deg, var(--color-white), var(--color-accent));
}

.contact-lead {
  text-align: center;
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
  text-wrap: pretty;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .contact-form {
    padding: var(--space-3xl);
  }
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-group:last-of-type {
  margin-bottom: var(--space-2xl);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-required {
  font-size: var(--font-size-xs);
  color: var(--color-highlight);
  margin-left: var(--space-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-base);
  font-family: inherit;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-pale);
  background: var(--color-white);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-highlight);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-highlight);
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

.form-group--checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.form-label-checkbox {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: 0;
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  position: relative;
  width: 100%;
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  -webkit-transition: left 0.5s ease;
  transition: left 0.5s ease;
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(249, 115, 22, 0.7);
}

.form-submit:active {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.form-submit:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
  box-shadow: none;
}

.contact-alt {
  text-align: center;
  margin-top: var(--space-3xl);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.contact-alt p {
  margin-bottom: var(--space-sm);
}

.contact-alt a {
  color: var(--color-accent-light);
  font-weight: 600;
}

.contact-alt a:hover {
  color: var(--color-white);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-2xl);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(13, 148, 136, 0.25), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.2), transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

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

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-family: var(--font-family-display);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height);
  max-width: 32rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.footer-mail:hover {
  border-color: var(--color-primary-light);
  background: rgba(13, 148, 136, 0.15);
  color: var(--color-white);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2xl);
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: var(--font-size-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-item {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: var(--color-primary-light);
  font-weight: 600;
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-org {
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.footer-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}

.footer-privacy-btn {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.footer-privacy-btn:hover {
  color: var(--color-white);
  border-color: var(--color-primary-light);
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
  .modal-content {
    padding: var(--space-3xl);
  }
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text);
  background: var(--color-border);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  padding-right: var(--space-3xl);
}

.modal-body h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: var(--line-height);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  padding: var(--space-lg) var(--space-2xl);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2xl);
}

.toast-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.toast-message {
  font-size: var(--font-size-base);
  font-weight: 600;
}

/* ---------- Scroll-triggered Animations ---------- */
/* IntersectionObserverで.visibleクラスが付与されたときにアニメーション */
.fade-in {
  --stagger-delay: 0;
  opacity: 0;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    -webkit-transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition-delay: calc(var(--stagger-delay) * 0.1s);
  transition-delay: calc(var(--stagger-delay) * 0.1s);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* スライドイン（左から） */
.slide-in-left {
  --stagger-delay: 0;
  opacity: 0;
  -webkit-transform: translateX(-40px);
  transform: translateX(-40px);
  -webkit-transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    -webkit-transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition-delay: calc(var(--stagger-delay) * 0.1s);
  transition-delay: calc(var(--stagger-delay) * 0.1s);
  will-change: opacity, transform;
}

.slide-in-left.visible {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* スライドイン（右から） */
.slide-in-right {
  --stagger-delay: 0;
  opacity: 0;
  -webkit-transform: translateX(40px);
  transform: translateX(40px);
  -webkit-transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    -webkit-transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition-delay: calc(var(--stagger-delay) * 0.1s);
  transition-delay: calc(var(--stagger-delay) * 0.1s);
  will-change: opacity, transform;
}

.slide-in-right.visible {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* スケールイン */
.scale-in {
  --stagger-delay: 0;
  opacity: 0;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    -webkit-transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transition-delay: calc(var(--stagger-delay) * 0.1s);
  transition-delay: calc(var(--stagger-delay) * 0.1s);
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* reduced motion対応 */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .slide-in-left,
  .slide-in-right,
  .scale-in {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .header,
  .hero-scroll,
  .modal,
  .toast,
  .contact-form,
  .policies-filter {
    display: none !important;
  }

  .section {
    break-inside: avoid;
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
    background: #f5f5f5;
  }

  .hero-title,
  .section-title {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ---------- モバイル・iOS Safari 完全対応 ---------- */

/* 非アクティブスライドはクリック不可 */
.hero-slide:not(.active),
.hero-text-slide:not(.active) {
  pointer-events: none;
}
