/* ========================================
   一般社団法人ハニホヘトイロ 公式HP
   フラットデザイン + 温かみのあるスタイル
   ======================================== */

/* CSS Variables */
:root {
  /* 温かみのあるカラーパレット */
  --primary: #FF6B6B;
  --primary-light: #FF8E8E;
  --primary-dark: #E85555;
  --secondary: #4ECDC4;
  --secondary-light: #7EDDD6;
  --accent: #FFE66D;
  --accent-orange: #FF8E53;

  /* 背景色 */
  --bg-warm: #FFF0E8;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;

  /* テキスト色 */
  --text-dark: #2D3436;
  --text-medium: #636E72;
  --text-light: #B2BEC3;

  /* グラデーション */
  --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  --gradient-cool: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  --gradient-hero: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFE66D 100%);

  /* シャドウ */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 10px 40px rgba(255, 107, 107, 0.15);

  /* ボーダー */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* トランジション */
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'M PLUS 1 Code', monospace;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--bg-warm);
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Mochiy Pop One', sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 56px;
  width: auto;
}

.logo-title {
  height: 96px;
  width: auto;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-text {
  font-family: 'M PLUS 1 Code', monospace;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-medium);
  display: block;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 400;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-warm);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 120px 0 80px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: var(--gradient-warm);
  opacity: 0.08;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.hero-instructor {
  border-left: 4px solid #FF8E53;
  padding: 12px 0 12px 20px;
  margin-bottom: 32px;
}

.hero-instructor strong {
  color: #FF6B6B;
  font-size: 1rem;
}

@media (min-width: 769px) {
  .hero-instructor strong {
    display: inline-block;
    white-space: nowrap;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  opacity: 0.8;
}

.hero-emoji-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-emoji-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 12px;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.hero-emoji-item:hover {
  transform: translateY(-5px);
}

.hero-emoji-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.hero-emoji-item span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.hero-emoji-item p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-dark);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
  position: relative;
  overflow: hidden;
  font-size: 1.125rem;
  animation: pulse-shadow 2s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.45);
  animation: none;
}

@keyframes pulse-shadow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 107, 107, 0.55), 0 0 30px rgba(255, 107, 107, 0.3);
  }
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-medium);
  font-size: 1.125rem;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  background: var(--bg-warm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

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

.feature-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.feature-more {
  display: none;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
  background: var(--bg-warm);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: 16px;
}

.faq-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.faq-content {
  flex: 1;
}

.faq-title {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.faq-answer {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-card {
    padding: 12px;
  }

  .faq-icon {
    font-size: 1.2rem;
  }

  .faq-title {
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.8rem;
  }
}

/* ========================================
   Programs Section
   ======================================== */
.programs {
  background: var(--bg-warm);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.program-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.program-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  background: var(--bg-warm);
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.program-content {
  padding: 28px;
}

.program-title {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.program-description {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-tag {
  background: var(--bg-warm);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 400;
}

/* ========================================
   Trial Features Grid (4 columns)
   ======================================== */
.trial-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trial-features-grid .feature-card {
  transition: none;
  cursor: default;
  pointer-events: none;
}

.trial-features-grid .feature-card::before {
  display: none;
}

.trial-features-grid .feature-card:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.trial-features-grid .feature-icon {
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
}

.trial-features-grid .feature-icon img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.trial-features-grid .feature-card {
  padding: 24px;
}

@media (max-width: 900px) {
  .trial-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trial-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trial-features-grid .feature-card {
    padding: 12px;
    pointer-events: none;
  }

  .trial-features-grid .feature-icon {
    margin-bottom: 16px;
  }

  .trial-features-grid .feature-icon img {
    width: auto !important;
    max-width: none !important;
    height: 80px !important;
    border-radius: 8px !important;
    margin-bottom: 0;
  }

  .trial-features-grid .feature-title {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .trial-features-grid .feature-description {
    display: none;
  }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  background: var(--gradient-warm);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta::before {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -100px;
}

.cta::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -50px;
}

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

.cta-title {
  color: white;
  margin-bottom: 16px;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.cta .btn-primary:hover {
  background: var(--bg-warm);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.7);
}

.cta .btn-secondary {
  background: white;
  color: var(--primary);
}

.cta .btn-secondary:hover {
  background: var(--bg-warm);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.footer-logo-text {
  font-family: 'M PLUS 1 Code', monospace;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-center {
  text-align: center;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.footer-nav:last-of-type {
  text-align: center;
  margin-left: 40px;
}

.footer-nav:last-of-type .footer-social {
  justify-content: center;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}

.footer-social a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* スマホでも一行に収める */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav:last-of-type {
    margin-left: 0;
  }

  .footer-social {
    gap: 8px;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .footer-social a svg {
    width: 22px;
    height: 22px;
  }
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  padding: 80px 0 20px;
  background: var(--gradient-warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  color: white;
  margin-bottom: 12px;
}

.page-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* ========================================
   Trial Page
   ======================================== */
.trial-info,
.about-intro,
.contact-section,
.legal-content,
.org-info {
  padding-top: 40px;
}

.trial-info {
  background: var(--bg-white);
}

.trial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trial-content h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}

.trial-content h2 {
  margin-bottom: 20px;
}

.trial-content p {
  color: var(--text-medium);
  margin-bottom: 24px;
}

.trial-list {
  margin-bottom: 32px;
}

.trial-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.trial-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trial-visual {
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.trial-schedule {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.trial-schedule h4 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-day {
  background: var(--gradient-warm);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

.schedule-time {
  color: var(--text-medium);
}

/* Mobile schedule layout */
@media (max-width: 768px) {
  .trial-info .container {
    padding: 0 16px;
  }

  .trial-visual {
    padding: 24px;
  }

  .trial-schedule {
    padding: 24px;
  }

  .schedule-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
  }

  .schedule-day {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    word-break: keep-all;
  }

  .schedule-time {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .mobile-only {
    display: inline;
  }
}

.mobile-only {
  display: none;
}

/* スマホでのみ改行を表示 */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .btn.sp-text-btn {
    display: inline-block;
    text-align: center;
    white-space: normal;
  }
  .sp-br {
    display: inline;
  }
}

/* Flow Section */
.flow {
  background: var(--bg-warm);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -12px;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF6B6B'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.flow-step:last-child::after {
  display: none;
}

.flow-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'M PLUS 1 Code', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.flow-step h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.flow-step p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ========================================
   About Page
   ======================================== */
.about-intro {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-medium);
  margin-bottom: 16px;
}

.representative .container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "header header"
    "image name"
    "image bio";
  gap: 30px;
  align-items: start;
}

.representative .section-header {
  grid-area: header;
}

.representative-image {
  grid-area: image;
  text-align: center;
  margin-left: 135px;
}

.representative-name {
  grid-area: name;
  margin-bottom: 0;
}

.representative-bio {
  grid-area: bio;
  margin-right: 135px;
}

.representative-image img {
  width: 100%;
  max-width: 270px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-visual {
  background: var(--gradient-warm);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
}

.about-visual-text {
  font-size: 6rem;
  margin-bottom: 16px;
}

.about-visual p {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.about-visual.rainbow-scale {
  background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
}

.scale-notes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.scale-notes span {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-visual.phone-mockup {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.about-visual.phone-mockup img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.phone-mockup-wrapper {
  text-align: center;
}

.phone-mockup-wrapper .scratch-caption {
  margin-top: 12px;
}

.scratch-overlay {
  position: absolute;
  top: 46%;
  left: 15%;
  width: 78%;
  height: 30%;
  border-radius: 4px;
  border: none;
}

.visual-with-scratch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.scratch-embed {
  text-align: center;
}

.scratch-caption {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.scratch-embed iframe {
  border-radius: 12px;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Legal Document Pages (定款・セキュリティ方針)
   ======================================== */
.legal-content {
  background: var(--bg-white);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-document h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  color: var(--text-dark);
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.legal-document p {
  color: var(--text-medium);
  margin-bottom: 16px;
}

.legal-document ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-document li {
  color: var(--text-medium);
  margin-bottom: 8px;
}

.legal-document a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.legal-document a:hover {
  color: var(--primary);
}

.legal-intro {
  background: var(--bg-warm);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.legal-signature {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: right;
}

.legal-signature p {
  margin-bottom: 8px;
}

/* Policy List (セキュリティ方針) */
.policy-list {
  margin: 32px 0;
}

.policy-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-md);
}

.policy-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.policy-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}

.policy-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
  background: var(--bg-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.benefit-column {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.benefit-heading {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-medium);
}

.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-column {
    padding: 24px;
  }
}

/* Values Section */
.values {
  background: var(--bg-warm);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* Organization Info */
.org-info {
  background: var(--bg-white);
}

.info-table {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  background: var(--bg-warm);
  padding: 20px 24px;
  font-weight: 600;
  color: var(--text-dark);
}

.info-value {
  padding: 20px 24px;
  color: var(--text-medium);
}

.info-value .text-link {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.info-value .text-link:hover {
  text-decoration: underline;
}

.security-badge {
  display: inline-block;
  height: 60px;
  width: auto;
  margin-left: 12px;
  vertical-align: middle;
  border-radius: var(--radius-sm);
}

/* Donation Thanks */
.donation-thanks {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.donation-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.donation-message p {
  margin: 0 0 8px;
  line-height: 1.8;
}

.donor-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 12px !important;
}

/* Support Section */
.support-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.support-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.support-content p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-warm);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.wishlist-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.wishlist-icon {
  font-size: 1.2rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-medium);
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-warm);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-method h4 {
  margin-bottom: 4px;
  color: var(--text-dark);
}

.contact-method p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 400;
  color: var(--text-dark);
}

.form-group label span {
  color: var(--primary);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:nth-child(2)::after {
    display: none;
  }

  .trial-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-medium);
  }

  .nav-menu.active {
    display: flex;
  }

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-emoji-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 16px;
  }

  .feature-card {
    padding: 16px 12px;
    cursor: pointer;
    transform: none !important;
  }

  .feature-card:hover,
  .feature-card:active {
    transform: none !important;
  }

  .feature-card::before,
  .feature-card:hover::before,
  .feature-card:active::before {
    opacity: 0 !important;
  }

  .feature-card.expanded::before {
    opacity: 1 !important;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .feature-title {
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .feature-description {
    font-size: 0.75rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: none;
  }

  .feature-card.expanded .feature-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
    transition: all 0.3s ease;
  }

  .feature-more {
    display: block;
    font-size: 0.7rem;
    color: var(--primary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: none;
  }

  .feature-card.expanded .feature-more {
    max-height: 30px;
    opacity: 1;
    margin-top: 8px;
    transition: all 0.3s ease;
  }

  .feature-card::before {
    transition: none;
  }

  .feature-card.expanded::before {
    transition: opacity 0.3s ease;
  }

  .programs-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .representative .container {
    display: block;
  }

  .representative-image {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .representative-name {
    margin-bottom: 16px;
  }

  .representative-bio {
    margin-right: 0;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .info-label {
    padding: 12px 20px;
  }

  .info-value {
    padding: 12px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}

/* ========================================
   Touch Device Support
   ======================================== */
@media (hover: none) {
  .feature-card:active {
    box-shadow: var(--shadow-card);
  }

  .feature-card:active::before {
    opacity: 1;
  }

  .program-card:active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
  }

  .btn-primary:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.45);
  }

  .btn-secondary:active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
  }
}

/* ========================================
   Channel Grid (hanihohetalk page)
   ======================================== */
.channel-grid {
  grid-template-columns: repeat(4, 1fr);
}

.channel-card {
  cursor: default;
  pointer-events: none;
}

.channel-card:hover {
  transform: none;
  box-shadow: none;
}

.channel-card::before {
  display: none;
}

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

@media (max-width: 768px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .channel-card {
    cursor: pointer;
    pointer-events: auto;
  }

  .channel-card .feature-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: none;
  }

  .channel-card.expanded .feature-description {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
    transition: all 0.3s ease;
  }
}

/* ========================================
   Global Overflow Fix
   ======================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  max-width: 100%;
}

/* ========================================
   Mobile CTA Section
   ======================================== */
.mobile-cta-section {
  display: none; /* デフォルトは非表示 */
  padding: 10px 20px 0 20px;
  background: var(--bg-warm);
}

.mobile-cta-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  padding: 18px 24px;
}

/* スマホのみ表示 (768px未満) */
@media (max-width: 767px) {
  .mobile-cta-section {
    display: block;
  }
}
