/* モダンデザイン設定 */
:root {
  /* メインカラー */
  --primary-color: #000000;
  --secondary-color: #0075bf;
  --accent-color: #f39800;
  --success-color: #00c896;

  /* テキストカラー */
  --text-color: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;

  /* 背景色 */
  --bg-light: #fafbfc;
  --bg-dark: #0a0a0a;
  --white: #ffffff;
  --black: #000000;

  /* ブランドカラー */
  --blue: #0075bf;
  --purple: #4a5fb8;
  --pink: #e85d75;
  --orange: #f39800;
  --green: #00c896;
  --line-green: #00B900;
  --x-black: #000000;

  /* シャドウ */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-luxury: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* グラデーション */
  --gradient-main: linear-gradient(135deg, #0075bf 0%, #4a5fb8 100%);
  --gradient-accent: linear-gradient(135deg, #f39800 0%, #e85d75 100%);
  --gradient-success: linear-gradient(135deg, #00c896 0%, #0075bf 100%);
  --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* ボーダー半径 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--white);
  overflow-x: hidden;
  /* 固定ヘッダー分の余白 */
  /* scroll-behavior: smooth; */
  /* JSで制御するため削除 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

.viewport-frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  box-shadow: 0 0 0 12px var(--bg-dark);
  pointer-events: none;
  z-index: 9999;
  transition: box-shadow 0.5s ease-in-out;
}

/* body.scrolled .viewport-frame {
  box-shadow: 0 0 0 12px var(--white);
} */

/* ローディング状態 */
/* body.is-loading {
  opacity: 0;
  transform: translateY(20px);
}

body.is-loaded {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

/* 画像フォールバック */
.image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 20px;
  text-align: center;
}

/* フォーカススタイルの統一 */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* スキップリンク（アクセシビリティ） */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* モダンヘッダー */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  height: 80px;
  box-sizing: border-box;
}

/* ロゴスタイル */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* メインナビゲーション */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin: 0 4px;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.main-nav a:hover {
  color: var(--blue);
  background: rgba(0, 117, 191, 0.05);
  transform: translateY(-1px);
}

.main-nav a:hover::before {
  width: 60%;
}

.main-nav a.active {
  color: var(--blue);
  background: rgba(0, 117, 191, 0.08);
}

.main-nav a.active::before {
  width: 60%;
}

/* モバイルメニュートグル */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  position: relative;
  z-index: 1001;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
}

.mobile-menu-toggle:hover span:nth-child(2) {
  width: 18px;
}

/* モダンヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
}

/* 背景エフェクト */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* モーフィングブロブ */
.morphing-blobs {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(40px);
  opacity: 0.5;
}

.blob-gradient {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: blobFloat 20s infinite ease-in-out;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0066ff 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #ff3366 0%, transparent 70%);
  bottom: -30%;
  right: -15%;
  animation-delay: 7s;
}

.blob-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* グリッドパターン */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
}

/* フローティングカード */
.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: floatCard 6s ease-in-out infinite;
}

.float-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-1 {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 30%;
  left: 10%;
  animation-delay: 2s;
}

.card-3 {
  top: 60%;
  right: 25%;
  animation-delay: 4s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.card-icon {
  font-size: 24px;
}

.card-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* ヒーローコンテンツ */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  min-height: 100vh;
  box-sizing: border-box;

  /* 全体のアニメーションは不要なため削除 */
  /* opacity: 0; */
  /* transform: translateY(20px); */
  /* transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s, transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s; */
}

.hero-main {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* バッジ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #00d4aa;
  border-radius: 50%;
  animation: dotGlow 2s ease-in-out infinite;
}

@keyframes dotGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(0, 212, 170, 0);
  }
}

.badge-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ヘッドライン */
.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}

.headline-line {
  display: block;
  overflow: hidden;
}

.headline-word {
  display: inline-block;
  color: #ffffff;
  /* アニメーションの初期状態 */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.headline-word.visible {
  transform: translateY(0);
  opacity: 1;
}

.headline-line:nth-child(1) .headline-word.visible {
  transition-delay: 0.5s;
}

.headline-line:nth-child(2) .headline-word.visible {
  transition-delay: 0.7s;
}

.gradient-text {
  background: linear-gradient(90deg,
      #0066ff 0%,
      #6366f1 25%,
      #ff3366 50%,
      #ff8c00 75%,
      #0066ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* 線のアニメーション */
.hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

.line-animation {
  position: absolute;
  width: 100%;
  height: 100%;
}

.line-path {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0.6;
}

.line-1 {
  stroke: rgba(255, 255, 255, 0.3);
  animation: drawLine 4s ease-in-out infinite, waveLine 8s ease-in-out infinite;
}

.line-2 {
  stroke: rgba(255, 102, 0, 0.3);
  animation: drawLine 4s ease-in-out 0.5s infinite, waveLine 6s ease-in-out infinite;
}

.line-3 {
  stroke: rgba(0, 117, 191, 0.3);
  animation: drawLine 4s ease-in-out 1s infinite, waveLine 7s ease-in-out infinite;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }

  20% {
    opacity: 0.6;
  }

  50% {
    stroke-dashoffset: 0;
    opacity: 0.6;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    stroke-dashoffset: -1000;
    opacity: 0;
  }
}

/* CSSでの波線アニメーション（フォールバック用） */
@keyframes waveLine {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(20px);
  }
}

/* 渦巻きアニメーション */
.hero-spiral {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
}

.spiral-container {
  width: 100%;
  height: 100%;
  position: relative;
  animation: rotateSpiral 30s linear infinite;
}

@keyframes rotateSpiral {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spiral-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.spiral-1 {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 2px solid var(--orange);
  animation: spiralGrow 4s ease-in-out infinite alternate;
}

.spiral-2 {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border: 2px solid var(--blue);
  animation: spiralGrow 4s ease-in-out 1s infinite alternate;
}

.spiral-3 {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border: 2px solid var(--white);
  animation: spiralGrow 4s ease-in-out 2s infinite alternate;
}

@keyframes spiralGrow {
  0% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0;
  }
}

/* パーティクルエフェクト */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation: floatParticle 15s linear infinite;
}

.particle:nth-child(2) {
  top: 20%;
  left: 80%;
  background: var(--orange);
  animation: floatParticle 20s linear 2s infinite;
}

.particle:nth-child(3) {
  top: 60%;
  left: 25%;
  background: var(--blue);
  animation: floatParticle 18s linear 1s infinite;
}

.particle:nth-child(4) {
  top: 40%;
  left: 60%;
  animation: floatParticle 22s linear 3s infinite;
}

.particle:nth-child(5) {
  top: 80%;
  left: 10%;
  background: var(--orange);
  animation: floatParticle 16s linear 4s infinite;
}

.particle:nth-child(6) {
  top: 30%;
  left: 95%;
  background: var(--blue);
  animation: floatParticle 19s linear 1.5s infinite;
}

.particle:nth-child(7) {
  top: 90%;
  left: 70%;
  animation: floatParticle 21s linear 2.5s infinite;
}

.particle:nth-child(8) {
  top: 15%;
  left: 40%;
  background: var(--orange);
  animation: floatParticle 17s linear 3.5s infinite;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }

  10% {
    transform: translate(10vw, -10vh) scale(1);
    opacity: 0.8;
  }

  20% {
    transform: translate(-15vw, -20vh) scale(1.2);
    opacity: 0.6;
  }

  40% {
    transform: translate(15vw, -40vh) scale(0.8);
    opacity: 0.8;
  }

  60% {
    transform: translate(-10vw, -60vh) scale(1.1);
    opacity: 0.4;
  }

  80% {
    transform: translate(20vw, -80vh) scale(0.6);
    opacity: 0.2;
  }

  100% {
    transform: translate(-15vw, -100vh) scale(0);
    opacity: 0;
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-main);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(243, 152, 0, 0.1) 0%, rgba(0, 117, 191, 0.1) 100%);
  animation: shimmer 3s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

/* 左側コンテンツのスタイル調整 */
/* 説明文 */
.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0;
  animation: fadeInUp 1s ease 0.4s backwards;
}

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

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

.desc-highlight {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.desc-highlight:hover {
  color: #0066ff;
  transform: translateY(-2px);
}

/* ヒーローアクション */
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* プライマリボタン */
.primary-btn {
  background: linear-gradient(135deg, #0066ff 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow:
    0 4px 15px rgba(0, 102, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff3366 0%, #ff8c00 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.primary-btn:hover .btn-bg {
  opacity: 1;
}

.btn-text,
.btn-arrow {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(0, 102, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* セカンダリボタン */
.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

.secondary-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ソーシャルプルーフ */
.social-proof {
  margin-top: 20px;
  animation: fadeInUp 1s ease 0.8s backwards;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-avatars {
  display: flex;
  margin-right: 8px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #050505;
  margin-left: -12px;
  position: relative;
  transition: all 0.3s ease;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 10;
}

.proof-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.proof-number {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.proof-label {
  font-size: 14px;
  font-weight: 500;
}

/* インタラクティブオーブ */
.interactive-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  right: 10%;
  top: 55%;
  transform: translateY(-70%);
  pointer-events: none;
  z-index: 5;
  opacity: 0.6;
}

@media (max-width: 1200px) {
  .interactive-orb {
    display: none;
  }
}

.orb-core {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
      #0066ff 0%,
      #6366f1 30%,
      #ff3366 60%,
      transparent 100%);
  border-radius: 50%;
  filter: blur(20px);
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.orb-ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

.ring-1 {
  width: 200px;
  height: 200px;
  border-color: #0066ff;
  animation: ringRotate 20s linear infinite;
}

.ring-2 {
  width: 280px;
  height: 280px;
  border-color: #6366f1;
  animation: ringRotate 30s linear infinite reverse;
}

.ring-3 {
  width: 360px;
  height: 360px;
  border-color: #ff3366;
  animation: ringRotate 40s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* スクロールインジケーター更新 */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  margin: 0 auto 10px;
  position: relative;
  transition: border-color 0.3s ease;
}

.scroll-mouse:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
  font-weight: 400;
  text-transform: uppercase;
}

/* アニメーション定義 */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawGraph {
  0% {
    stroke-dashoffset: 800;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInDot {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInArea {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes modernRaySlide {
  0% {
    opacity: 0;
    transform: translateX(-250px) rotate(var(--ray-angle)) scale(0.8);
  }

  15% {
    opacity: 0.9;
    transform: translateX(-100px) rotate(var(--ray-angle)) scale(1);
  }

  85% {
    opacity: 0.9;
    transform: translateX(calc(100vw - 100px)) rotate(var(--ray-angle)) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(calc(100vw + 250px)) rotate(var(--ray-angle)) scale(0.8);
  }
}

/* レイごとの角度設定 */
.ray-1 {
  --ray-angle: 28deg;
}

.ray-2 {
  --ray-angle: 22deg;
}

.ray-3 {
  --ray-angle: 32deg;
}

.ray-4 {
  --ray-angle: 18deg;
}

.ray-5 {
  --ray-angle: 35deg;
}

/* グリッチエフェクト */
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.hero-title::before {
  animation: glitch-1 0.5s infinite;
  color: var(--orange);
  z-index: -1;
}

.hero-title::after {
  animation: glitch-2 0.5s infinite;
  color: var(--blue);
  z-index: -2;
}

@keyframes glitch-1 {

  0%,
  100% {
    opacity: 0;
  }

  33% {
    opacity: 0;
  }

  33.02% {
    opacity: 1;
    transform: translate(2px, 2px);
  }

  35% {
    opacity: 0;
  }
}

@keyframes glitch-2 {

  0%,
  100% {
    opacity: 0;
  }

  33% {
    opacity: 0;
  }

  33.02% {
    opacity: 1;
    transform: translate(-2px, -2px);
  }

  35% {
    opacity: 0;
  }
}

@keyframes glitch-main {

  0%,
  100% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo-img {
  max-height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scrollWheel {
  from {
    transform: translateY(-8px);
    opacity: 1;
  }

  to {
    transform: translateY(8px);
    opacity: 0;
  }
}

/* セクション共通 */
.section {
  padding: 120px 20px;
  position: relative;
  scroll-margin-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* セクション間の波形装飾 */
.section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: inherit;
  clip-path: ellipse(100% 100% at 50% 100%);
  z-index: -1;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--black) 0%, var(--blue) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 50%, var(--blue) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 117, 191, 0.3);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 60px;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* サービスセクション */
.service-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* 流体的なブロブアニメーション */
.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: blobMove 30s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(120deg, rgba(0, 117, 191, 0.2), rgba(0, 117, 191, 0.1));
  top: -20%;
  left: -10%;
  animation-duration: 35s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(240deg, rgba(243, 152, 0, 0.15), rgba(243, 152, 0, 0.08));
  bottom: -15%;
  right: -5%;
  animation-duration: 40s;
  animation-delay: -10s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: linear-gradient(180deg, rgba(0, 117, 191, 0.1), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 45s;
  animation-delay: -20s;
}

@keyframes blobMove {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* グリッドパターンオーバーレイ */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 117, 191, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 117, 191, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 102, 255, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-content {
  padding: 28px 24px 32px;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--blue);
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.service-card:hover .service-description {
  color: var(--text-color);
}

.media-section {
  margin-top: 80px;
  padding: 48px 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.media-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-section:hover::before {
  opacity: 1;
}

.media-section:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.media-label {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.media-logo {
  margin-bottom: 20px;
}

.enterlinks-logo {
  max-height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.media-section:hover .enterlinks-logo {
  filter: drop-shadow(0 4px 16px rgba(0, 117, 191, 0.2));
  transform: scale(1.05);
}

.media-description {
  color: var(--text-color);
  font-size: 1.1rem;
  text-align: left;
  font-weight: 500;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Media Social Buttons - 改善版 */
.media-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.media-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

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

.media-social-btn:hover::before {
  left: 100%;
}

.media-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.media-social-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.media-social-btn:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.media-social-btn.x-btn {
  background: var(--x-black);
  color: var(--white);
}

.media-social-btn.x-btn:hover {
  background: #1a1a1a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.media-social-btn.line-btn {
  background: var(--line-green);
  color: var(--white);
}

.media-social-btn.line-btn:hover {
  background: #00a300;
  box-shadow: 0 6px 24px rgba(0, 185, 0, 0.3);
}

/* レスポンシブ対応 - メディアセクション */
@media (max-width: 768px) {
  .media-section {
    margin-top: 60px;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
  }

  .media-label {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .enterlinks-logo {
    max-height: 48px;
  }

  .media-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .media-social {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .media-social-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .media-section {
    margin-top: 40px;
    padding: 24px 16px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .media-social-btn {
    max-width: none;
    width: 100%;
  }
}

/* OUR STORY セクション */
.story-section {
  background: var(--bg-light);
  overflow: hidden;
  padding-bottom: 200px;
}

.story-bg-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.story-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.story-bg-shape.shape1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -20%;
  left: -10%;
  animation: float 25s infinite ease-in-out;
}

.story-bg-shape.shape2 {
  width: 600px;
  height: 600px;
  background: var(--purple);
  bottom: -30%;
  right: -20%;
  animation: float 30s infinite ease-in-out 5s;
}

.story-bg-shape.shape3 {
  width: 450px;
  height: 450px;
  background: var(--orange);
  top: 40%;
  right: 10%;
  animation: float 20s infinite ease-in-out 10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, -60px);
  }

  100% {
    transform: translate(0, 0);
  }
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.story-text {
  position: relative;
  z-index: 3;
}

.story-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.3;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-paragraph {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-color);
  margin-bottom: 25px;
}

.story-paragraph:nth-child(2) {
  animation-delay: 0.2s;
}

.story-paragraph:nth-child(3) {
  animation-delay: 0.4s;
}

.story-paragraph:nth-child(4) {
  animation-delay: 0.6s;
}

.story-cta {
  margin-top: 40px;
}

.story-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(243, 152, 0, 0.3);
}

.story-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(243, 152, 0, 0.4);
  background: #ff9900;
}

.story-visual {
  position: relative;
  z-index: 3;
}

.story-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  height: 500px;
}

.story-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 10;
}

@keyframes shimmer {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

/* レスポンシブ対応（OUR STORYセクション） */
@media (max-width: 768px) {
  .story-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-heading {
    font-size: 2rem;
  }

  .story-visual {
    order: -1;
  }

  .story-image-wrapper {
    height: 300px;
  }

  .story-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* 会社概要セクション */
.company-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* 背景のグラデーションメッシュ */
.company-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 117, 191, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(243, 152, 0, 0.1) 0%, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-50px, -50px) scale(1.1);
  }

  66% {
    transform: translate(50px, 50px) scale(0.9);
  }
}

/* パーティクル効果 */
.company-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.company-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: companyParticleFloat 20s infinite linear;
}

.company-particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.company-particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 20s;
  background: var(--orange);
}

.company-particle:nth-child(3) {
  left: 35%;
  animation-delay: 4s;
  animation-duration: 28s;
}

.company-particle:nth-child(4) {
  left: 50%;
  animation-delay: 0s;
  animation-duration: 22s;
  background: var(--orange);
}

.company-particle:nth-child(5) {
  left: 65%;
  animation-delay: 6s;
  animation-duration: 30s;
}

.company-particle:nth-child(6) {
  left: 80%;
  animation-delay: 3s;
  animation-duration: 24s;
  background: var(--orange);
}

.company-particle:nth-child(7) {
  left: 90%;
  animation-delay: 1s;
  animation-duration: 26s;
}

@keyframes companyParticleFloat {
  0% {
    bottom: -10px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    bottom: 100%;
    transform: translateX(100px) rotate(720deg);
    opacity: 0;
  }
}

/* 波形パターン */
.wave-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230066CC' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  animation: waveMove 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes waveMove {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-50px) translateY(-10px);
  }
}

.company-info {
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid #e8e8e8;
  box-shadow: var(--shadow);
}

.company-info dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  width: 100%;
}

.company-info dt,
.company-info dd {
  padding: 24px 20px;
  margin: 0;
  display: flex;
  align-items: center;
}

.company-info dt {
  font-weight: 700;
  color: var(--text-color);
  border-bottom: 1px solid #f0f0f0;
}

.company-info dd {
  color: var(--text-light);
  border-bottom: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
}

.company-info dl>*:nth-last-child(-n+2) {
  border-bottom: none;
}

@media (max-width: 768px) {
  .company-info dl {
    grid-template-columns: 1fr;
  }

  .company-info dt {
    border-bottom: none;
  }

  .company-info dd {
    border-left: none;
    padding-top: 8px;
  }
}

.contact-section {
  padding: 120px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.contact-section::before {
  width: 600px;
  height: 600px;
  background: rgba(0, 102, 255, 0.08);
  bottom: -300px;
  left: -200px;
  animation: float 20s infinite ease-in-out;
}

.contact-section::after {
  width: 500px;
  height: 500px;
  background: rgba(255, 51, 102, 0.05);
  top: -250px;
  right: -200px;
  animation: float 25s infinite ease-in-out 3s;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 60px 80px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-text {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn.email-btn {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
  border: none;
}

.contact-btn.email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
}

/* 削除: 古い .line-btn と .email-btn のスタイル */

.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 50%, var(--blue) 100%);
  animation: gradientSlide 5s linear infinite;
}

@keyframes gradientSlide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* フッターの星空アニメーション */
.footer-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
}

.star:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.star:nth-child(2) {
  top: 30%;
  left: 25%;
  animation-delay: 0.5s;
}

.star:nth-child(3) {
  top: 15%;
  left: 40%;
  animation-delay: 1s;
}

.star:nth-child(4) {
  top: 40%;
  left: 60%;
  animation-delay: 1.5s;
}

.star:nth-child(5) {
  top: 25%;
  left: 75%;
  animation-delay: 2s;
}

.star:nth-child(6) {
  top: 35%;
  left: 90%;
  animation-delay: 2.5s;
}

.star:nth-child(7) {
  top: 10%;
  left: 95%;
  animation-delay: 3s;
}

.star:nth-child(8) {
  top: 45%;
  left: 5%;
  animation-delay: 3.5s;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* フッターのオーロラエフェクト */
.footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center,
      rgba(0, 117, 191, 0.1) 0%,
      rgba(243, 152, 0, 0.1) 30%,
      transparent 70%);
  animation: aurora 20s ease-in-out infinite;
  filter: blur(50px);
  opacity: 0.3;
}

@keyframes aurora {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(90deg) scale(1.2);
  }

  50% {
    transform: rotate(180deg) scale(0.8);
  }

  75% {
    transform: rotate(270deg) scale(1.1);
  }
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* 高級感のあるアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* スクロールトリガーアニメーション */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animated {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(50px);
}

.animate-on-scroll.slide-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.8);
}

.animate-on-scroll.scale-up.animated {
  transform: scale(1);
}

/* メディアセクション用のアニメーション遅延 */
.media-section.animate-on-scroll {
  transition-delay: 0s;
}

.media-label.animate-on-scroll {
  transition-delay: 0s;
}

.media-logo.animate-on-scroll {
  transition-delay: 0.1s;
}

.media-description.animate-on-scroll {
  transition-delay: 0.2s;
}

.media-photos.animate-on-scroll,
.media-social.animate-on-scroll {
  transition-delay: 0.3s;
}

/* 背景アニメーションのパフォーマンス最適化 */
.blob,
.company-particle,
.star,
.geometric-pattern {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* スクロール中のパフォーマンス最適化 */
body.is-scrolling .blob,
body.is-scrolling .company-particle,
body.is-scrolling .geometric-pattern {
  animation-play-state: paused;
}

/* レスポンシブ対応（背景アニメーション） */
@media (max-width: 768px) {

  .blob-container,
  .company-particles,
  .wave-pattern {
    opacity: 0.5;
  }

  .blob {
    filter: blur(150px);
  }

  .geometric-pattern {
    opacity: 0.02;
  }
}

@media (prefers-reduced-motion: reduce) {

  .blob,
  .company-particle,
  .star,
  .geometric-pattern,
  .wave-pattern,
  .media-photos img {
    animation: none !important;
  }
  
  .media-photos img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

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

@keyframes rotateIn {
  from {
    transform: perspective(1000px) rotateY(-30deg) rotateX(10deg);
    opacity: 0;
  }

  to {
    transform: perspective(1000px) rotateY(0) rotateX(0);
    opacity: 1;
  }
}

@keyframes imageReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }

  50% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.5em;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.05em;
  }
}

/* カーソル追従エフェクト */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--gradient-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  mix-blend-mode: difference;
  opacity: 0.7;
}

.cursor-follower.hover {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* カーソルの軌跡 */
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: scale(0);
  animation: trail 1s ease-out;
}

@keyframes trail {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.2);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.anim-slide-up {
  transform: translateY(40px);
}

.fade-in.anim-slide-from-left {
  transform: translateX(-40px);
}

.fade-in.anim-slide-from-right {
  transform: translateX(40px);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* モバイルヒーローレスポンシブ */
@media (max-width: 768px) {

  /* ヒーローセクション */
  .hero-content {
    padding: 0 20px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .badge-dot {
    width: 6px;
    height: 6px;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 3rem);
    line-height: 1.1;
    margin-bottom: 20px;
  }

  /* 改行を含む行の調整 */
  .headline-line {
    margin-bottom: 0.3em;
  }

  .headline-line:last-child {
    margin-bottom: 0;
  }

  /* グラデーションテキストの調整 */
  .headline-line:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }

  .floating-cards {
    display: none;
  }

  .blob-1 {
    width: 300px;
    height: 300px;
  }

  .blob-2 {
    width: 400px;
    height: 400px;
  }

  .blob-3 {
    width: 350px;
    height: 350px;
  }

  .social-proof {
    transform: scale(0.85);
  }

  .avatar {
    width: 36px;
    height: 36px;
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {

  /* ヒーローセクションのレスポンシブ対応 */
  .hero-container {
    flex-direction: column;
  }

  .hero-content-left {
    width: 100%;
    padding: 80px 30px 60px;
    text-align: center;
    align-items: center;
  }

  .hero-content-right {
    width: 100%;
    height: 60vh;
  }

  .hero-handshake-img {
    height: 60vh;
  }

  .hero-content-left .hero-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-content-left .hero-subtitle {
    text-align: center;
  }

  .hero-content-left .hero-cta {
    justify-content: center;
  }

  .growth-graph {
    bottom: 8%;
    right: 3%;
    width: 240px;
    height: 160px;
    padding: 15px;
  }

  .ray {
    width: 180px;
    height: 4px;
  }

  .header-content {
    padding: 12px 16px;
    height: 70px;
  }

  .logo-img {
    height: 50px;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fdfdfd;
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: flex-start;
  }

  .main-nav a {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav a.active {
    color: var(--orange);
    position: relative;
  }

  .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .hero-logo-img {
    max-height: 80px;
  }

  .hero-cta {
    gap: 20px;
  }

  .cta-button {
    padding: 18px 32px;
    font-size: 1rem;
    min-width: 180px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .section {
    padding: 60px 15px;
  }

  .container {
    padding: 0 15px;
  }

  .section::before {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
    margin-top: 40px;
  }

  .service-card {
    margin: 0 auto;
    max-width: 380px;
  }

  .service-content {
    padding: 30px 25px;
  }

  .contact-btn {
    padding: 20px 35px;
    font-size: 1.1rem;
    min-width: 200px;
  }

  .contact-buttons {
    gap: 20px;
    padding: 0 10px;
  }

  .line-btn {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .social-float {
    right: 15px;
    bottom: 15px;
    gap: 15px;
  }

  .social-float-btn {
    width: 48px;
    height: 48px;
  }

  .social-float-btn svg {
    width: 24px;
    height: 24px;
  }

  .hero-spiral {
    width: 400px;
    height: 400px;
  }

  .hero-lines {
    opacity: 0.5;
  }

  .line-path {
    stroke-width: 1;
  }

  .hero-particles {
    display: none;
  }

  .spiral-element {
    animation-duration: 6s !important;
  }

  * {
    animation-duration: 0.8s !important;
  }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-spiral {
    width: 500px;
    height: 500px;
  }

  .particle {
    width: 3px;
    height: 3px;
  }
}

/* アニメーション無効化（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {

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

  .hero-lines,
  .hero-spiral,
  .hero-particles {
    display: none;
  }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  .cta-button.primary {
    border: 2px solid var(--white);
  }

  .service-card {
    border: 2px solid var(--black);
  }

  *:focus-visible {
    outline-width: 3px;
  }
}

.story-stats {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-section::before {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -150px;
  }

  .contact-section::after {
    width: 350px;
    height: 350px;
    top: -175px;
    right: -150px;
  }

  .contact-content {
    margin: 40px auto 0;
    padding: 40px 20px;
    max-width: 90%;
  }

  .contact-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
  }
}

/* サービスカードのアクセシビリティとレスポンシブ対応 */
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 102, 255, 0.2);
}

.service-card:focus-within::before {
  opacity: 1;
}

/* 微細なアニメーション改善 */
@media (prefers-reduced-motion: no-preference) {
  .service-card {
    will-change: transform, box-shadow;
  }

  .service-img {
    will-change: transform;
  }
}

/* モバイル最適化 */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .service-card {
    margin: 0 8px;
  }

  .service-image {
    height: 180px;
  }

  .service-content {
    padding: 24px 20px 28px;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.9rem;
  }
}

/* タブレット対応の追加 */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .service-card {
    margin: 0 4px;
  }

  .media-section {
    margin-top: 70px;
    padding: 40px 32px;
  }

  .media-social {
    gap: 14px;
  }

  .media-social-btn {
    padding: 13px 22px;
    font-size: 0.88rem;
  }
}

/* 大画面対応 */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .media-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 超小画面対応 */
@media (max-width: 360px) {
  .services-grid {
    gap: 20px;
  }

  .service-card {
    margin: 0 4px;
  }

  .service-content {
    padding: 20px 16px 24px;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .service-description {
    font-size: 0.85rem;
  }

  .media-section {
    margin-top: 50px;
    padding: 30px 20px;
    gap: 20px;
  }

  .media-social-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
  }

  /* ヒーローセクションの最適化 */
  .hero-headline {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.15;
  }

  .headline-line {
    margin-bottom: 0.2em;
  }

  .hero-description {
    line-height: 1.4;
  }

  .desc-highlight {
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* バッジサイズ調整 */
  .hero-badge {
    font-size: 11px;
    padding: 5px 14px;
  }

  .badge-dot {
    width: 5px;
    height: 5px;
  }
}

/* 高解像度対応 */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .service-img,
  .enterlinks-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ダークモード対応（システム設定に応じて） */
@media (prefers-color-scheme: dark) {
  .service-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
  }

  .media-section {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
  }
}

/* プリント対応 */
@media print {

  .service-card,
  .media-section {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .service-card:hover,
  .media-section:hover {
    transform: none;
  }

  .media-social-btn::before {
    display: none;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* レスポンシブ表示制御 */
/* スマートフォンのみ表示（768px以下） */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

/* PC・タブレットのみ表示（769px以上） */
.pc-only {
  display: inline;
}

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

/* モバイルでのパフォーマンス最適化 */
@media (max-width: 768px) {
  /* GPUアクセラレーションの活用 */
  .hero-headline,
  .hero-description,
  .hero-btn {
    will-change: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

 

  /* 不要な要素の無効化 */
  .hero-particles,
  .floating-cards {
    display: none;
  }

  /* ブロブアニメーションの軽量化 */
  .blob-gradient {
    animation-duration: 30s;
  }
}

/* タッチデバイス用の最適化 */
@media (hover: none) and (pointer: coarse) {
  .hero-btn:active {
    transform: translateY(-2px);
  }
  .desc-highlight:hover {
    color: inherit;
    transform: none;
  }
}

.media-photos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	flex-wrap: nowrap;
	margin-top: 30px;
}

.media-photos img {
	width: calc(50% - 12px);
	max-width: 450px;
	height: 320px;
	border-radius: var(--radius-lg, 16px);
	box-shadow: var(--shadow-lg, 0 8px 25px rgba(0,0,0,0.12));
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
	object-fit: cover;
}

/* アニメーション前の状態 */
.media-photos.animate-on-scroll:not(.animated) img {
	opacity: 0.8;
	transform: translateY(20px);
}

/* アニメーション後の状態 */
.media-photos.animate-on-scroll.animated img {
	opacity: 1;
	transform: translateY(0);
}

/* 写真のふんわりアニメーション */
@keyframes photoFadeIn {
	0% {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
		filter: blur(5px);
	}
	50% {
		filter: blur(2px);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

/* JavaScriptが読み込まれていない場合のフォールバック */
.media-photos:not(.animate-on-scroll) img,
.no-js .media-photos img {
	opacity: 1 !important;
	transform: none !important;
}

/* デバッグ用: animatedクラスが付いていない場合も表示 */
@media screen {
	.media-photos.animate-on-scroll img {
		opacity: 1;
		transform: translateY(20px);
		transition: all 0.8s ease;
	}
	
	.media-photos.animate-on-scroll.animated img,
	.media-social.animate-on-scroll.animated {
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

.media-photos.animate-on-scroll.animated img {
	animation: photoFadeIn 0.8s ease-out forwards;
}

.media-photos.animate-on-scroll.animated img:nth-child(1) {
	animation-delay: 0s;
}

.media-photos.animate-on-scroll.animated img:nth-child(2) {
	animation-delay: 0.2s;
}

/* LINE公式ボタンも同じタイミングでアニメーション */
.media-social.animate-on-scroll:not(.animated) {
	opacity: 0.8;
	transform: translateY(20px);
}

.media-social.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.8s ease;
}

.media-photos img:hover {
	transform: translateY(-5px) scale(1.03) !important;
	box-shadow: var(--shadow-xl, 0 20px 40px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
	.media-photos {
		flex-wrap: wrap;
		gap: 16px;
	}
	
	.media-photos img {
		width: 100%;
		max-width: 400px;
		height: 250px;
	}
	
	/* モバイルでは簡素なアニメーション */
	@keyframes photoFadeInMobile {
		0% {
			opacity: 0;
			transform: translateY(20px);
		}
		100% {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	.media-photos.animate-on-scroll.animated img {
		animation: photoFadeInMobile 0.6s ease-out forwards;
	}
	
	/* モバイルでもLINE公式ボタンを同時に表示 */
	.media-social.animate-on-scroll:not(.animated) {
		opacity: 0.8;
		transform: translateY(15px);
	}
	
	.media-social.animate-on-scroll.animated {
		opacity: 1;
		transform: translateY(0);
		transition: all 0.6s ease;
	}
}

.media-social {
	margin-top: 30px;
}