/* ランディングページ専用スタイル */

/* ============================================
   カラーパレット（HSL形式）
   ============================================ */
:root {
  /* 基本カラー */
  --background: 0 0% 100%;
  --foreground: 218 11% 9%;
  --card: 0 0% 100%;
  --card-foreground: 218 11% 9%;
  --popover: 0 0% 100%;
  --popover-foreground: 218 11% 9%;
  --primary: 24 100% 50%;
  --primary-glow: 22 100% 59%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 218 11% 9%;
  --muted: 220 14% 96%;
  --muted-foreground: 215 14% 47%;
  --accent: 24 100% 63%;
  --accent-foreground: 0 0% 100%;
  --cyan-accent: 190 100% 50%;
  --cyan-accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 24 100% 63%;
  --radius: 0.75rem;

  /* カスタムデザイントークン */
  --gradient-primary: linear-gradient(135deg, hsl(24 100% 63%) 0%, hsl(22 100% 59%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(220 14% 98%) 100%);

  /* シャドウ */
  --shadow-elegant: 0 10px 40px -10px hsl(24 100% 63% / 0.2);
  --shadow-float: 0 20px 50px -15px hsl(218 11% 9% / 0.15);
  --shadow-glow: 0 0 20px hsl(24 100% 63% / 0.3);

  /* トランジション */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   リセットとベーススタイル
   ============================================ */
.landing-page {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--background)), hsl(var(--muted) / 0.2));
  font-family: 'Noto Sans JP', 'Inter', 'system-ui', sans-serif;
  font-feature-settings: "palt";
  color: hsl(var(--foreground));
  perspective: 1000px;
  transform-style: preserve-3d;
}

.landing-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 159, 67, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.landing-page * {
  box-sizing: border-box;
}

.landing-page-content {
  position: relative;
  z-index: 10;
}

/* ============================================
   ヘッダー
   ============================================ */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border));
}

.landing-header-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .landing-header-nav {
    padding: 0 1.5rem;
    height: 4rem;
  }
}

.landing-logo-link {
  display: inline-block;
  text-decoration: none;
}

.landing-logo {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.6s ease-out forwards;
}

@media (min-width: 640px) {
  .landing-logo {
    height: 2rem;
  }
}

/* ============================================
   ボタン
   ============================================ */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: 'Noto Sans JP', 'Inter', 'system-ui', sans-serif;
  line-height: 1.5;
}

.landing-btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.landing-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 145-163行目付近 */
.landing-btn-hero {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary)) 80%, #fff 100%);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-elegant);
    border: 2px solid #fff;
}

.landing-btn-hero:hover {
    background: linear-gradient(135deg, hsl(22, 100%, 48%) 0%, hsl(22, 100%, 48%) 80%, #fff 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    border: 2px solid #fff;
}

.landing-btn-hero:active {
    transform: translateY(0);
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary)) 80%, #fff 100%);
    border: 2px solid #fff;
}

.landing-btn-size-default {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.landing-btn-size-lg {
  padding: clamp(1rem, 2.5vw, 1.125rem) clamp(1.75rem, 4.5vw, 2.25rem);
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  font-weight: 700;
}

.landing-btn-size-xl {
  padding: clamp(0.875rem, 2vw, 1.25rem) clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
}

@media (min-width: 640px) {
  .landing-btn-size-default {
    font-size: 1rem;
  }
  .landing-btn-size-lg {
    font-size: 1.125rem;
  }
  .landing-btn-size-xl {
    font-size: 1.25rem;
  }
}

.landing-btn-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  transition: transform 0.2s;
}

@media (min-width: 640px) {
  .landing-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

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

/* ============================================
   ヒーローセクション
   ============================================ */
.landing-hero {
  position: relative;
  z-index: 10;
  padding-top: 7rem;
  padding-bottom: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
  overflow-x: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100vw;
  width: 100%;
}

@media (min-width: 640px) {
  .landing-hero {
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-hero {
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero {
    padding-bottom: 5rem;
  }
}

.landing-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.landing-hero-content {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* 奥行き効果 */
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 11;
}

@media (min-width: 640px) {
  .landing-hero-content {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .landing-hero-content {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero-content {
    margin-bottom: 3.5rem;
  }
}

.landing-hero-icon-wrapper {
  display: none;
}

.landing-hero-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.5rem;
  display: block;
}

@media (min-width: 640px) {
  .landing-hero-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 768px) {
  .landing-hero-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
  }
}

.landing-hero-title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 0 0.5rem;
  max-width: 100%;
  box-sizing: border-box;
  /* タイトルに影を追加 */
  filter: none;
}

/* スマホ用タイトル表示 */
.landing-hero-title-mobile {
  display: block;
}

.landing-hero-title-desktop {
  display: none;
}

@media (min-width: 640px) {
  .landing-hero-title-mobile {
    display: none;
  }
  
  .landing-hero-title-desktop {
    display: block;
  }
}

/* スマホ用：タイトルを大きく、ダイナミックに */
@media (max-width: 639px) {
  .landing-hero-title {
    font-size: clamp(2.8rem, 9vw, 4rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 0.5rem !important;
  }
  
  .landing-hero-title-line {
    display: block;
    margin-bottom: 0.3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpDynamic 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  }
  
  .landing-hero-title-line-1 {
    animation-delay: 0.1s;
  }
  
  .landing-hero-title-line-2 {
    animation-delay: 0.3s;
    font-size: 1.15em;
    font-weight: 900;
  }
  
  .landing-hero-title-line-3 {
    animation-delay: 0.5s;
  }
  
  .landing-hero-title-text-primary {
    font-size: 1.25em;
    display: inline-block;
  }
}

@media (min-width: 640px) {
  .landing-hero-title {
    font-size: clamp(2.5rem, 6.5vw, 3.5rem);
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-hero-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    margin-bottom: 2rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero-title {
    font-size: clamp(4rem, 8vw, 5.5rem);
    margin-bottom: 2.5rem;
  }
}

.landing-hero-title-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 0.3s forwards,
             bellSwing 3s ease-in-out 1.6s infinite;
  transform-origin: top center;
}

/* レスポンシブ対応 */
@media (max-width: 639px) {
  .landing-hero-title-image {
    width: 100%;
    max-width: 500px;
  }
}

@media (min-width: 640px) {
  .landing-hero-title-image {
    width: 80%;
    max-width: 700px;
  }
}

@media (min-width: 768px) {
  .landing-hero-title-image {
    width: 70%;
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .landing-hero-title-image {
    width: 70%;
    max-width: 1100px;
  }
}

.landing-hero-title-text-primary {
  color: hsl(var(--primary));
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-title-text-stroke {
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-title-block {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  line-height: 1.3;
}

.landing-hero-title-inline {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 0.4s ease-out forwards;
}

.landing-hero-title-inline-spring {
  animation: fadeInScaleSpring 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
             bellSwing 3s ease-in-out 1.6s infinite;
  transform-origin: top center;
}

.landing-hero-title-slide {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.9s forwards;
  font-size: 1em;
  font-weight: 900;
  display: block;
  margin-top: 0.5em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.landing-hero-title-number {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transform: scale(1.5);
  animation: fadeInScaleSpring 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.1s forwards;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-title-number-minute {
  display: inline-block;
  color: hsl(var(--primary));
  animation: bellSwing 3s ease-in-out 1.6s infinite;
  transform-origin: top center;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-description {
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 clamp(0.5rem, 2vw, 0.75rem);
  word-break: keep-all;
  overflow-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

/* スマホ用説明文表示 */
.landing-hero-description-mobile {
  display: block;
}

.landing-hero-description-desktop {
  display: none;
}

@media (min-width: 640px) {
  .landing-hero-description-mobile {
    display: none;
  }
  
  .landing-hero-description-desktop {
    display: block;
  }
}

/* スマホ用：説明文を大きく */
@media (max-width: 639px) {
  .landing-hero-description {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    line-height: 1.5 !important;
    margin-bottom: 2rem !important;
    padding: 0 0.5rem !important;
  }
  
  .landing-hero-description-line {
    display: block;
    margin-bottom: 0.4rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUpDynamic 0.6s ease-out forwards;
  }
  
  .landing-hero-description-line-1 {
    animation-delay: 0.7s;
    font-weight: 800;
  }
  
  .landing-hero-description-price-mobile {
    display: inline-block;
    color: hsl(var(--primary));
    animation: bellSwing 3s ease-in-out 1.6s infinite;
    transform-origin: top center;
    text-shadow: 
      2px 2px 0 #fff,
      -2px -2px 0 #fff,
      2px -2px 0 #fff,
      -2px 2px 0 #fff,
      0 2px 0 #fff,
      0 -2px 0 #fff,
      2px 0 0 #fff,
      -2px 0 0 #fff;
    font-weight: 900;
  }
  
  .landing-hero-description-line-2 {
    animation-delay: 0.9s;
  }
  
  .landing-hero-description-line-3 {
    animation-delay: 1.1s;
  }
}

.landing-hero-description-text-stroke {
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

@media (min-width: 640px) {
  .landing-hero-description {
    font-size: clamp(1.375rem, 3.5vw, 1.75rem);
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-hero-description {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 3rem;
    padding: 0 2rem;
  }
}

.landing-hero-description-price {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: hsl(var(--primary));
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-description-price-minute {
  display: inline-block;
  color: hsl(var(--primary));
  animation: bellSwing 3s ease-in-out 1.6s infinite;
  transform-origin: top center;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-description-first-line {
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 639px) {
  .landing-hero-description-first-line {
    white-space: nowrap;
    display: inline-block;
  }
}

.landing-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .landing-hero-cta {
    flex-direction: row;
    gap: 1rem;
  }
}

.landing-hero-cta-notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.landing-hero-cta-note, .landing-hero-cta-note-award {
  color: hsl(var(--muted-foreground));
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-hero-cta-note-award {
  font-size: 1em;
  font-weight: bold;
}

.landing-hero-cta-note {
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .landing-hero-cta-note {
    font-size: 0.875rem;
  }
}

.landing-hero-cta-note-link {
  color: hsl(var(--primary));
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.landing-hero-cta-note-link:hover {
  opacity: 0.8;
}

.landing-hero-cta-btn-full {
  width: 100%;
}

@media (min-width: 640px) {
  .landing-hero-cta-btn-full {
    width: auto;
  }
}

/* ヒーローCTAボタンをfit-contentに（スマホのみ） */
.landing-hero-cta-btn-fit {
  width: fit-content;
}

@media (min-width: 640px) {
  .landing-hero-cta-btn-fit {
    width: auto;
  }
}

/* ============================================
   カウンターバッジ（ボタンに表示）
   ============================================ */
.landing-btn-with-counter {
  position: relative;
}

.landing-counter-badge {
    position: absolute;
    top: -0.5rem;
    right: clamp(0rem, 1vw, 0.5rem);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, hsl(24, 100%, 50%) 0%, hsl(22, 100%, 48%) 100%);
    color: hsl(var(--primary-foreground));
    border-radius: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(24, 100%, 50%, 0.4), 0 0 8px rgba(24, 100%, 50%, 0.2);
    border: 2px solid #fff;
    white-space: nowrap;
    z-index: 10;
    line-height: 1;
    font-family: 'Noto Sans JP', 'Inter', 'system-ui', sans-serif;
    max-width: calc(100vw - 2rem);
    transform: translateX(0);
    box-sizing: border-box;
}

.landing-counter-badge i {
    font-size: 0.7rem;
}

.landing-counter-badge-number {
    font-size: 0.875rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .landing-counter-badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.625rem;
    top: -0.625rem;
    right: -0.625rem;
  }
  
  .landing-counter-badge i {
    font-size: 0.8rem;
  }
  
  .landing-counter-badge-number {
    font-size: 0.875rem;
  }
}

/* ============================================
   デモセクション
   ============================================ */
.landing-demo-section {
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@media (min-width: 640px) {
  .landing-demo-section {
    margin-bottom: 2rem;
  }
}

.landing-demo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

@media (min-width: 640px) {
  .landing-demo-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-demo-title {
    font-size: 1.875rem;
  }
}

/* デモタイトルの表示切替（スマホ/PC） */
.landing-demo-title-desktop {
  display: none;
}

.landing-demo-title-mobile {
  display: block;
}

@media (min-width: 1081px) {
  .landing-demo-title-desktop {
    display: block;
  }
  
  .landing-demo-title-mobile {
    display: none;
  }
}

.landing-demo-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 0.5rem);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .landing-demo-container {
    padding: 0;
  }
}

.landing-demo-image-wrapper {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid hsl(var(--border) / 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
  .landing-demo-image-wrapper {
    border-radius: 1rem;
  }
}

.landing-demo-image-wrapper:hover {
  transform: scale(1.02);
}

.landing-demo-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.landing-demo-image-wrapper:hover::before {
  opacity: 1;
}

.landing-demo-image {
  width: 100%;
  height: auto;
  display: block;
}

.landing-demo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.landing-demo-image-wrapper:hover .landing-demo-overlay {
  opacity: 1;
}

.landing-demo-mobile-note {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .landing-demo-mobile-note {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

.landing-demo-iframe-wrapper {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid hsl(var(--border) / 0.5);
  aspect-ratio: 16 / 9;
}

@media (min-width: 640px) {
  .landing-demo-iframe-wrapper {
    border-radius: 1rem;
  }
}

.landing-demo-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   最終CTAセクション
   ============================================ */
.landing-cta {
  position: relative;
  z-index: 10;
  padding: 4rem 1rem;
  background: linear-gradient(to bottom right, hsl(var(--background) / 0.3), hsl(var(--primary) / 0.15));
}

@media (min-width: 640px) {
  .landing-cta {
    padding: 6rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-cta {
    padding: 8rem 1.5rem;
  }
}

.landing-cta-container {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.landing-cta-content {
  opacity: 0;
  transform: scale(0.9);
}

.landing-cta-content.animate {
  animation: fadeInScale 0.8s ease-out forwards;
}

.landing-cta-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding: 0 0.5rem;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

@media (min-width: 640px) {
  .landing-cta-title {
    font-size: clamp(2rem, 5.5vw, 3rem);
    margin-bottom: 2rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-cta-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .landing-cta-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    margin-bottom: 2.5rem;
  }
}

.landing-cta-gradient-text {
  display: inline-block;
  color: hsl(var(--primary));
  font-weight: 900;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

.landing-cta-description {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  padding: 0 1rem;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

@media (min-width: 640px) {
  .landing-cta-description {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    margin-bottom: 2rem;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-cta-description {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 2.5rem;
    padding: 0 2rem;
  }
}

.landing-cta-btn-wrapper {
  margin: 0 1rem;
}

@media (min-width: 640px) {
  .landing-cta-btn-wrapper {
    margin: 0;
  }
}

.landing-cta-note {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
  padding: 0 1rem;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    2px 0 0 #fff,
    -2px 0 0 #fff;
}

@media (min-width: 640px) {
  .landing-cta-note {
    font-size: 0.875rem;
    margin-top: 1.5rem;
  }
}

/* ============================================
   フッター
   ============================================ */
.landing-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}

.landing-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .landing-footer-container {
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .landing-footer-container {
    flex-direction: row;
    padding: 3rem 1.5rem;
  }
}

.landing-footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.landing-footer-logo {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .landing-footer-logo {
    height: 2rem;
  }
}

.landing-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.landing-footer-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer-link:hover {
  color: hsl(var(--primary));
}

@media (min-width: 640px) {
  .landing-footer-link {
    font-size: 1rem;
  }
}

.landing-footer-copyright {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

@media (min-width: 640px) {
  .landing-footer-copyright {
    font-size: 0.875rem;
  }
}

.landing-footer-copyright-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.landing-footer-copyright-link:hover {
  text-decoration: underline;
}

/* ============================================
   信頼バッジ
   ============================================ */
.landing-trust-badge {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 40;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 0.5s ease-out 1s forwards;
}

@media (min-width: 640px) {
  .landing-trust-badge {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

.landing-trust-badge-content {
  background: hsl(var(--card));
  border: 2px solid hsl(var(--primary) / 0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-elegant);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
  .landing-trust-badge-content {
    padding: 0.625rem 1rem;
  }
}

.landing-trust-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-align: center;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .landing-trust-badge-text {
    font-size: 0.875rem;
  }
}

.landing-trust-badge-highlight {
  color: hsl(var(--primary));
}

/* ============================================
   写真背景（リボンと重なる部分だけ表示）
   ============================================ */
.landing-photo-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* 白い背景を追加 */
  background-color: #ffffff;
  /* 初期状態では画像を非表示、マスク適用後に表示 */
  opacity: 0;
  transition: opacity 0.3s ease-in;
  /* パララックス効果 */
  transform: translateZ(0);
  will-change: transform;
}

.landing-photo-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.landing-photo-background.mask-ready {
  opacity: 1;
}

.landing-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* マスクはJavaScriptで動的に設定 */
  /* 奥行き効果 */
  filter: blur(1px) brightness(0.9);
  transform: scale(1.05);
  transition: transform 0.5s ease;
  position: relative;
  z-index: 0;
}

/* ============================================
   スパイラルリボン背景
   ============================================ */
.landing-spiral-background {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  /* スクロール時も固定位置を維持 */
  transform: none !important;
  will-change: auto;
}

.landing-spiral-background canvas {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

@keyframes fadeInUpDynamic {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInScaleSpring {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bellSwing {
  0%, 100% {
    transform: rotate(0deg);
  }
  2% {
    transform: rotate(-8deg);
  }
  4% {
    transform: rotate(8deg);
  }
  6% {
    transform: rotate(-6deg);
  }
  8% {
    transform: rotate(6deg);
  }
  10% {
    transform: rotate(-4deg);
  }
  12% {
    transform: rotate(4deg);
  }
  14% {
    transform: rotate(-2deg);
  }
  16% {
    transform: rotate(2deg);
  }
  18%, 100% {
    transform: rotate(0deg);
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-25%) translateY(-10px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.landing-animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ============================================
   アクセシビリティ対応
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.landing-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.landing-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 0.25rem 0;
}

.landing-skip-link:focus {
  top: 0;
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* フォーカスインジケーター */
.landing-btn:focus-visible,
.landing-demo-image-wrapper:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* コントラスト比の確保 */
.landing-hero-title-text-stroke {
  /* 白のストロークでコントラストを確保 */
  color: hsl(var(--foreground));
}

/* ============================================
   ユーティリティクラス
   ============================================ */
.landing-is-hidden {
  display: none !important;
}

.landing-is-flex {
  display: flex !important;
}

.landing-br-desktop {
  display: none;
}

@media (min-width: 640px) {
  .landing-br-desktop {
    display: block;
  }
}

.landing-br-mobile {
  display: block;
}

@media (min-width: 640px) {
  .landing-br-mobile {
    display: none;
  }
}

.landing-demo-mobile-view {
  display: block;
}

.landing-demo-desktop-view {
  display: none;
}

@media (min-width: 1081px) {
  .landing-demo-mobile-view {
    display: none;
  }
  
  .landing-demo-desktop-view {
    display: block;
  }
}

/* デモ画面最下部のCTAボタン */
.landing-demo-bottom-cta {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem 0;
}

@media (min-width: 1081px) {
  .landing-demo-bottom-cta {
    margin-top: 3rem;
    padding: 2rem 0;
  }
}

/* デモ画面コンテンツのスタイル */
#landing-demo-content {
  display: block;
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.2);
}

#landing-demo-content.landing-is-hidden {
  display: none !important;
}

/* デモ画面表示時のbodyスタイル調整 */
body.demo-mode .landing-page {
  overflow: hidden;
}

/* デモ画面を閉じるボタン */
.landing-demo-close-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10002;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.landing-demo-close-button:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.landing-demo-close-button:active {
  transform: scale(0.95);
}

@media (min-width: 640px) {
  .landing-demo-close-button {
    top: 1.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
}

.landing-gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-shadow-glow {
  box-shadow: var(--shadow-glow);
}

.landing-shadow-float {
  box-shadow: var(--shadow-float);
}

.landing-shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

/* ============================================
   機能紹介セクション
   ============================================ */
.landing-features {
  position: relative;
  padding: 5rem 1.5rem;
  background: hsl(var(--background));
}

.landing-features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.landing-features-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-features-title-primary {
  color: hsl(var(--primary));
}

.landing-features-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .landing-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- カードフリップ (スラッシュスタイル) --- */
.landing-features-card {
  perspective: 1000px;
  background: transparent;
  border: none;
  opacity: 0;
  transform: translateY(30px);
}

.landing-features-card.is-visible {
  animation: fadeInUp 0.6s ease forwards;
}

.landing-features-card-inner {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.landing-features-card:hover .landing-features-card-inner,
.landing-features-card.is-flipped .landing-features-card-inner {
  transform: rotateY(180deg);
}

/* === 表面 === */
.landing-features-card-front {
  display: flex;
  min-height: 200px;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 4px 16px hsl(0 0% 0% / 0.10), 0 1px 4px hsl(0 0% 0% / 0.06);
}

.landing-features-card-front-left {
  position: relative;
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #fff;
  -webkit-clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
  z-index: 1;
}

.landing-features-card-front-right {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted) / 0.6);
  -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -15%;
}

.landing-features-card-front-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.landing-features-card-front-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 画像読み込み失敗時のプレースホルダー */
.landing-features-card-front-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  z-index: 0;
}

.landing-features-card-front-placeholder i {
  font-size: 2.5rem;
  opacity: 0.35;
}

.landing-features-card-icon {
  font-size: 2.5rem;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.landing-features-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  position: relative;
  z-index: 1;
  text-align: center;
}

/* === 裏面 === */
.landing-features-card-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.08), hsl(var(--primary) / 0.18));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-features-card-back-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  gap: 0.5rem;
}

.landing-features-card-description {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-top: 0.25rem;
}

/* ============================================
   メディア掲載・記事セクション
   ============================================ */
.landing-media {
  position: relative;
  padding: 5rem 1.5rem;
  background: hsl(var(--muted) / 0.3);
}

.landing-media-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.landing-media-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-media-title-primary {
  color: hsl(var(--primary));
}

.landing-media-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .landing-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.landing-media-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
  text-align: left;
  display: block;
  opacity: 0;
  transform: translateY(30px);
}

.landing-media-card.is-visible {
  animation: fadeInUp 0.6s ease forwards;
}

.landing-media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.landing-media-card-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.landing-media-card-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.08) 0%, hsl(var(--primary) / 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: hsl(var(--primary) / 0.4);
}

.landing-media-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-media-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.landing-media-card-body {
  padding: 1.25rem;
}

.landing-media-card-source {
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  display: block;
}

.landing-media-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.landing-media-card-description {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.landing-media-card-link-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.landing-media-card-link-text i {
  transition: transform 0.3s ease;
}

.landing-media-card:hover .landing-media-card-link-text {
  color: hsl(var(--primary));
}

.landing-media-card:hover .landing-media-card-link-text i {
  transform: translateX(4px);
}

/* === 記事「もっと見る」リンク === */
.landing-media-show-more {
  display: none;
  margin: 2rem auto 0;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  text-align: center;
  transition: var(--transition-smooth);
  font-family: inherit;
}
.landing-media-show-more:hover { color: hsl(var(--primary)); }
.landing-media-show-more i { margin-left: 0.5rem; transition: transform 0.3s; }
.landing-media-show-more:hover i { transform: translateX(4px); }


/* === ページネーションドット === */
.landing-scroll-dots {
  display: none;
}

/* === モバイル横スクロール (640px未満) === */
@media (max-width: 639px) {
  .landing-features-grid,
  .landing-media-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .landing-features-grid::-webkit-scrollbar,
  .landing-media-grid::-webkit-scrollbar {
    display: none;
  }

  .landing-features-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  .landing-features-card-front {
    min-height: 160px;
  }

  .landing-features-card-icon {
    font-size: 2rem;
  }

  .landing-features-card-title {
    font-size: 1.1rem;
  }

  .landing-features-card-front-placeholder i {
    font-size: 2rem;
  }

  .landing-features-card-back-content {
    padding: 1.5rem 1rem;
  }

  .landing-features-card-description {
    font-size: 0.95rem;
  }

  .landing-media-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .landing-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .landing-scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: hsl(var(--border));
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .landing-scroll-dot.is-active {
    background: hsl(var(--primary));
    transform: scale(1.3);
  }

  /* モバイルではhover無効なのでフリップはタップで制御 */
  .landing-features-card:hover .landing-features-card-inner {
    transform: none;
  }
  .landing-features-card.is-flipped .landing-features-card-inner {
    transform: rotateY(180deg);
  }
}

/* ============================================
   FAQセクション
   ============================================ */
.landing-faq {
  position: relative;
  padding: 5rem 1.5rem;
  background: hsl(var(--background));
}

.landing-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.landing-faq-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 3rem;
  text-align: center;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-faq-title-primary {
  color: hsl(var(--primary));
}

.landing-faq-list {
  display: flex;
  flex-direction: column;
}

.landing-faq-item {
  border-bottom: 1px solid hsl(var(--border));
  opacity: 0;
  transform: translateY(30px);
}

.landing-faq-item.is-visible {
  animation: fadeInUp 0.6s ease forwards;
}

.landing-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.landing-faq-question:hover {
  opacity: 0.7;
}

.landing-faq-question-text {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.5;
}

.landing-faq-icon {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: transform 0.35s ease;
}

.landing-faq-item.is-open .landing-faq-icon {
  transform: rotate(180deg);
}

.landing-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.landing-faq-answer-inner {
  padding: 0 0 1.5rem;
}

.landing-faq-answer-inner p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

/* ============================================
   お問い合わせセクション
   ============================================ */
.landing-contact {
  position: relative;
  padding: 5rem 1.5rem;
  background: hsl(var(--muted) / 0.3);
}

.landing-contact-container {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.landing-contact-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-contact-title-primary {
  color: hsl(var(--primary));
}

.landing-contact-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
  text-shadow:
    2px 2px 0 #fff, -2px -2px 0 #fff,
    2px -2px 0 #fff, -2px 2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff,
    2px 0 0 #fff, -2px 0 0 #fff;
}

.landing-contact-form {
  text-align: left;
}

.landing-contact-hp {
  position: absolute;
  left: -9999px;
}

.landing-contact-field {
  margin-bottom: 1.5rem;
}

.landing-contact-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.landing-contact-required {
  color: hsl(var(--destructive));
}

.landing-contact-input,
.landing-contact-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.landing-contact-input:focus,
.landing-contact-textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.landing-contact-input.is-error,
.landing-contact-textarea.is-error {
  border-color: hsl(var(--destructive));
}

.landing-contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.landing-contact-submit-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.landing-contact-submit {
  min-width: 200px;
}

.landing-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.landing-contact-status {
  margin-top: 1.5rem;
  padding: 0;
  font-size: 0.95rem;
  text-align: center;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.landing-contact-status.is-success {
  color: #16a34a;
  background: #f0fdf4;
  padding: 1rem;
  border: 1px solid #bbf7d0;
}

.landing-contact-status.is-error {
  color: hsl(var(--destructive));
  background: hsl(var(--destructive) / 0.05);
  padding: 1rem;
  border: 1px solid hsl(var(--destructive) / 0.2);
}
