/* Reactプロジェクトのglobals.cssベース - 完全自己完結型 */

/* CSS Custom Properties - globals.cssと同一 */
:root {
  --font-size: 14px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: #030213;
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  
  /* Typography Scale - globals.cssと同一 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  --text-8xl: 6rem;        /* 96px */
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

/* Reset and base styles - globals.cssベース */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
  outline-color: var(--ring);
  outline-offset: 2px;
  outline-width: 2px;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apple-style scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SVG and icon reset */
svg {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  vertical-align: unset !important;
}

svg[data-lucide] {
  display: block !important;
  margin: 0 auto !important;
  vertical-align: unset !important;
}

.flex svg,
.inline-flex svg {
  flex-shrink: 0 !important;
  vertical-align: unset !important;
  margin: 0 !important;
}

/* ===== 手動実装のTailwindクラス ===== */

/* Layout */
.min-h-screen { min-height: 100vh; }
.min-h-25vh { min-height: 25vh; }
.min-h-50vh { min-height: 50vh; }
.h-50vh { height: 50vh; }

/* Hero Section Height - デスクトップ版で確実に50vhに上書き */
@media (min-width: 768px) {
  .md\\:h-50vh { 
    height: 50vh !important; 
    min-height: 50vh !important;
  }
  
  /* 重要: デスクトップ版でmin-h-25vhを50vhに上書き */
  .min-h-25vh {
    min-height: 50vh !important;
    height: 50vh !important;
  }
  
  /* HeroSection全体とコンテンツエリアの両方を50vhに強制 */
  section.relative.min-h-25vh.md\\:h-50vh {
    height: 50vh !important;
    min-height: 50vh !important;
  }
  
  div.relative.z-10.min-h-25vh.md\\:h-50vh {
    height: 50vh !important;
    min-height: 50vh !important;
  }
}
.h-full { height: 100%; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-7 { height: 1.75rem; }
.w-7 { width: 1.75rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-10 { height: 2.5rem; }
.-bottom-px { bottom: -1px; }
.-bottom-1 { bottom: -0.25rem; }
.w-10 { width: 2.5rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-20 { height: 5rem; }
.w-auto { width: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Gap */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Padding */
.p-1 { padding: 0.25rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-16 { margin-top: 4rem; }
.-mt-2 { margin-top: -0.5rem; }
.-mt-4 { margin-top: -1rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-20 { padding-bottom: 5rem; }

/* Width constraints */
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.container { width: 100%; }

/* Background colors */
.bg-background { background-color: var(--background); }
.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-input-background { background-color: var(--input-background); }
.bg-foreground { background-color: var(--foreground); }

/* Text colors */
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }
.text-orange-300 { color: #fdba74; }
.text-orange-600 { color: #ea580c; }
.text-foreground { color: var(--foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.whitespace-nowrap { white-space: nowrap; }

/* Font sizes - globals.cssの変数を使用 */
.text-xs { font-size: var(--text-xs); line-height: var(--leading-normal); }
.text-sm { font-size: var(--text-sm); line-height: var(--leading-normal); }
.text-base { font-size: var(--text-base); line-height: var(--leading-relaxed); }
.text-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.text-xl { font-size: var(--text-xl); line-height: var(--leading-relaxed); }
.text-2xl { font-size: var(--text-2xl); line-height: var(--leading-snug); }
.text-3xl { font-size: var(--text-3xl); line-height: var(--leading-snug); }
.text-4xl { font-size: var(--text-4xl); line-height: var(--leading-tight); }
.text-5xl { font-size: var(--text-5xl); line-height: var(--leading-tight); }
.text-6xl { font-size: var(--text-6xl); line-height: var(--leading-tight); }
.text-7xl { font-size: var(--text-7xl); line-height: var(--leading-tight); }
.text-8xl { font-size: var(--text-8xl); line-height: var(--leading-tight); }
.text-9xl { font-size: 8rem; line-height: var(--leading-tight); }

/* Line heights */
.leading-tight { line-height: var(--leading-tight); }
.leading-snug { line-height: var(--leading-snug); }
.leading-relaxed { line-height: var(--leading-relaxed); }

/* Letter spacing */
.tracking-tight { letter-spacing: var(--tracking-tight); }

/* Font weights */
.font-medium { font-weight: var(--font-weight-medium); }
.font-bold { font-weight: var(--font-weight-bold); }

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-white\/25 { border-color: rgb(255 255 255 / 0.25); }
.border-border { border-color: var(--border); }
.border-gray-200 { border-color: #e5e7eb; }
.border-primary { border-color: var(--primary); }

/* Border radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Backdrop blur */
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* Object fit */
.object-cover { object-fit: cover; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Transitions */
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Hover states */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }

/* Focus states */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring); }
.focus\:ring-primary:focus { box-shadow: 0 0 0 2px var(--primary); }
.focus\:ring-primary\/10:focus { box-shadow: 0 0 0 2px rgb(3 2 19 / 0.1); }
.focus\:ring-offset-2:focus { box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring); }
.focus\:border-primary:focus { border-color: var(--primary); }

/* Text effects */
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.drop-shadow-none { filter: drop-shadow(0 0 #0000); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-black\/30 { --tw-gradient-from: rgb(0 0 0 / 0.3) var(--tw-gradient-from-position); --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-black\/15 { --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.15) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-black\/30 { --tw-gradient-to: rgb(0 0 0 / 0.3) var(--tw-gradient-to-position); }
.from-orange-400\/20 { --tw-gradient-from: rgb(251 146 60 / 0.2) var(--tw-gradient-from-position); --tw-gradient-to: rgb(251 146 60 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-yellow-400\/20 { --tw-gradient-to: rgb(250 204 21 / 0.2) var(--tw-gradient-to-position); }
.from-white { --tw-gradient-from: #ffffff var(--tw-gradient-from-position); --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-cyan-100 { --tw-gradient-to: rgb(207 250 254 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), #cffafe var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-blue-100 { --tw-gradient-to: #dbeafe var(--tw-gradient-to-position); }

.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

/* Backdrop filter support */
.supports-backdrop-filter { supports: (backdrop-filter: blur(8px)); }

/* Fill */
.fill-white { fill: #ffffff; }

/* Text opacity */
.text-white\/80 { color: rgb(255 255 255 / 0.8); }

/* Transforms */
.transform { transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-5 { --tw-translate-y: -1.25rem; transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }

/* Brightness and filter */
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }

/* ===== レスポンシブユーティリティ ===== */
@media (min-width: 640px) {
  .sm\:text-6xl { font-size: var(--text-6xl); line-height: var(--leading-tight); }
  .sm\:inline { display: inline; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:text-4xl { font-size: var(--text-4xl); line-height: var(--leading-tight); }
  .md\:text-7xl { font-size: var(--text-7xl); line-height: var(--leading-tight); }
  .md\:h-20 { height: 5rem; }
  .md\:h-10 { height: 2.5rem; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:gap-8 { gap: 2rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:text-8xl { font-size: var(--text-8xl); line-height: var(--leading-tight); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .xl\:text-9xl { font-size: 8rem; line-height: var(--leading-tight); }
}

/* ===== ヘッダーロゴボタン ===== */
.header-logo-btn {
  display: block;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.header-logo-btn:hover {
  opacity: 0.8;
}

.header-logo-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--primary);
}

/* ===== ヒーローセクション専用スタイル ===== */

/* より暗いオーバーレイ - プレビュー画像に合わせる */
.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
}

/* 8月のおすすめバッジ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, rgba(251, 146, 60, 0.2), rgba(250, 204, 21, 0.2));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: var(--font-weight-medium);
}

/* レスポンシブヒーロータイトル - Reactコンポーネントと完全一致 */
.hero-title-responsive {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: white;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

/* グラデーションテキスト */
.hero-gradient-text {
  background: linear-gradient(to right, #ffffff, #cffafe, #dbeafe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: none;
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

/* アニメーションクラス */
.hero-badge-animation {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title-animation {
  animation: fadeInTitle 0.8s ease both;
}

.announcement-header-animation {
  animation: fadeIn 0.8s ease both;
}

.feature-card-animation {
  animation: fadeInCard 0.8s ease both;
}

.notes-animation {
  animation: fadeIn 0.8s ease 0.8s both;
}

/* ===== プレビュー画像に合わせたボタンスタイル ===== */
.companion-btn,
.mood-btn {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.companion-btn:hover,
.mood-btn:hover {
  background: #f9fafb;
}

.companion-btn.active,
.mood-btn.active {
  background: linear-gradient(to right, #fb923c, #ec4899);
  color: white;
  border-color: transparent;
}

.companion-btn.active:hover,
.mood-btn.active:hover {
  background: linear-gradient(to right, #ea580c, #db2777);
}

/* ===== プルダウンのoptgroupスタイル ===== */
optgroup {
  font-weight: var(--font-weight-semibold);
  color: #374151;
  font-size: var(--text-sm);
}

option {
  font-weight: var(--font-weight-normal);
  color: #6b7280;
  padding-left: 1rem;
}

/* ===== 絞り込みエリア専用角丸強制適用 ===== */
.filter-area-background {
  background-color: #f9fafb !important;
  border-radius: var(--filter-area-radius, 24px) !important;
  padding: 2rem !important;
}

/* 一般的な rounded-3xl クラスも強制設定 */
.rounded-3xl {
  border-radius: var(--filter-area-radius, 24px) !important;
}

/* 追加のブラウザ対応 */
.bg-gray-50.rounded-3xl {
  border-radius: 24px !important;
  -webkit-border-radius: 24px !important;
  -moz-border-radius: 24px !important;
}

/* ===== プルダウン矢印位置調整 ===== */
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.75rem center !important;
  background-repeat: no-repeat;
  background-size: 1.25rem 1.25rem;
  padding-right: 3rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ===== プランカード専用スタイル ===== */
.plan-card {
  background-color: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  animation: planCardFadeIn 0.6s ease forwards;
}

.plan-card:nth-child(1) { animation-delay: 0.1s; }
.plan-card:nth-child(2) { animation-delay: 0.2s; }
.plan-card:nth-child(3) { animation-delay: 0.3s; }
.plan-card:nth-child(4) { animation-delay: 0.4s; }
.plan-card:nth-child(5) { animation-delay: 0.5s; }
.plan-card:nth-child(6) { animation-delay: 0.6s; }
.plan-card:nth-child(7) { animation-delay: 0.7s; }
.plan-card:nth-child(8) { animation-delay: 0.8s; }
.plan-card:nth-child(9) { animation-delay: 0.9s; }
.plan-card:nth-child(10) { animation-delay: 1.0s; }

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.plan-image-container {
  position: relative;
  overflow: hidden;
  line-height: 0; /* 画像下の余白を除去 */
}

.plan-image {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block; /* 画像下の余白を除去 */
}

.plan-card:hover .plan-image {
  transform: scale(1.05);
}

.plan-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.plan-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.plan-category-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-category-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #6b7280;
  stroke-width: 2;
}

.plan-category-text {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: #6b7280;
}

.plan-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.plan-overview {
  position: relative;
  margin-bottom: 1rem;
}

.plan-overview-content {
  background: linear-gradient(135deg, #eff6ff, #e0e7ff);
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  padding: 1rem;
}

.plan-overview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.plan-overview-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  flex-shrink: 0;
  stroke-width: 2;
}

.plan-overview-title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: #1e40af;
}

.plan-overview-text {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: #1d4ed8;
  line-height: var(--leading-relaxed);
}

.plan-details {
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.plan-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.plan-detail:last-child {
  margin-bottom: 0;
}

.plan-detail-icon {
  width: 2rem;
  height: 2rem;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-detail-icon svg {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  stroke-width: 2;
}

.plan-detail-text {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--foreground);
}

.plan-price-suffix {
  font-size: var(--text-sm);
  color: #6b7280;
}

.plan-button {
  width: 100%;
  background: linear-gradient(135deg, #fb923c, #ec4899);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.plan-button:hover {
  background: linear-gradient(135deg, #ea580c, #db2777);
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.plan-button:active {
  transform: scale(0.98);
}

/* aタグ版のプランボタン - plan-button-linkクラス */
.plan-button-link {
  width: 100%;
  background: linear-gradient(135deg, #fb923c, #ec4899);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plan-button-link:hover {
  background: linear-gradient(135deg, #ea580c, #db2777);
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.plan-button-link:active {
  transform: scale(0.98);
}

.plan-button-link:visited {
  color: white;
  text-decoration: none;
}

.plan-button-link:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  color: white;
  text-decoration: none;
}

/* Loading state */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: var(--text-lg);
  color: #6b7280;
}

/* レスポンシブ調整 - Reactコンポーネントと完全一致 */
@media (min-width: 640px) {
  .hero-title-responsive {
    font-size: var(--text-4xl);
  }
}

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

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

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

/* ===== CTAボタン（スクロール連動）===== */
.scroll-cta-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-cta-button.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
}

.scroll-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #fb923c, #ec4899);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.scroll-cta-btn:hover {
  background: linear-gradient(to right, #ea580c, #db2777);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.scroll-cta-btn:active {
  transform: scale(0.95);
}

.scroll-cta-icon {
  width: 1rem;
  height: 1rem;
  animation: ctaIconBounce 1.5s ease-in-out infinite;
}

/* ===== 再検索CTAボタン ===== */
.re-search-cta-button {
  position: fixed !important;
  bottom: 12px !important;
  left: 12px !important;
  z-index: 9999 !important;
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  display: block !important;
}

@media (min-width: 640px) {
  .re-search-cta-button {
    bottom: 24px !important;
    left: 24px !important;
  }
}

.re-search-cta-button.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.8) translateY(20px) !important;
  pointer-events: none !important;
}

.re-search-cta-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(to right, #3b82f6, #8b5cf6) !important;
  color: white !important;
  padding: 8px 12px !important;
  border: none !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
}

@media (min-width: 640px) {
  .re-search-cta-btn {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
}

.re-search-cta-btn:hover {
  background: linear-gradient(to right, #2563eb, #7c3aed) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.re-search-cta-btn:active {
  transform: scale(0.95) !important;
}

.re-search-cta-btn svg {
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

.re-search-cta-btn span {
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

@media (min-width: 640px) {
  .re-search-cta-btn span {
    font-size: 14px !important;
  }
}

@keyframes ctaIconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .plan-title {
    font-size: var(--text-xl);
  }
  
  .plan-image {
    height: 12rem;
  }
  
  .plan-content {
    padding: 1.5rem;
  }
  
  .scroll-cta-button {
    bottom: 1rem;
    right: 1rem;
  }
  
  .scroll-cta-btn {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-xs);
  }
}

/* デスクトップ版HeroSection専用クラス */
@media (min-width: 768px) {
  .md\\:h-50vh { height: 50vh !important; }
  .md\\:mb-6 { margin-bottom: 1.5rem !important; }
}

/* ===== ボーネルンドセクション ===== */
.bornelund-section {
  background: linear-gradient(to bottom, rgba(254, 243, 199, 0.5), rgba(255, 237, 213, 0.5));
}

.bornelund-section h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
  margin-bottom: 0.75rem;
}

.bornelund-section a {
  color: inherit;
  text-decoration: none;
}

.bornelund-section a:hover {
  color: inherit;
}

.bornelund-section svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.bornelund-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.bornelund-carousel::-webkit-scrollbar {
  display: none;
}

.bornelund-card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.bornelund-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.bornelund-card a {
  color: inherit;
  text-decoration: none;
}

.bornelund-card a:visited {
  color: inherit;
}

.bornelund-card a:hover {
  color: inherit;
}

.bornelund-card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.bornelund-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bornelund-card-content {
  padding: 1rem;
}

.bornelund-card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #6b7280;
  font-size: var(--text-sm);
  min-width: 0;
}

.bornelund-prefecture-badge {
  background: #fed7aa;
  color: #c2410c;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.bornelund-location-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bornelund-card-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
}

.bornelund-card-link {
  text-align: right;
  color: var(--primary);
}

.bornelund-card-link:hover {
  text-decoration: underline;
}

.bornelund-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: none;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bornelund-nav-btn:hover {
  background: #f9fafb;
}

.bornelund-nav-btn-left {
  left: 0;
  transform: translate(-50%, -50%);
}

.bornelund-nav-btn-right {
  right: 0;
  transform: translate(50%, -50%);
}

.bornelund-mobile-hint {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #6b7280;
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .bornelund-card {
    width: 300px;
  }
  
  .bornelund-nav-btn {
    display: flex;
  }
  
  .bornelund-mobile-hint {
    display: none;
  }
}

/* Utility classes for Bornelund section */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}