/* ============================================
   相談支援センター くくり - メインスタイルシート
   Design System & Global Styles
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Colors - 温かみのある緑系（安心・信頼） */
  --color-primary: #2D7A4F;
  --color-primary-light: #4A9B6E;
  --color-primary-dark: #1E5C3A;
  --color-primary-bg: #E8F5EE;
  --color-primary-bg-light: #F0FAF4;

  /* Accent Colors - やさしいオレンジ（行動促進・温かみ） */
  --color-accent: #E8834A;
  --color-accent-light: #F4A574;
  --color-accent-dark: #D06A30;
  --color-accent-bg: #FFF3EB;

  /* Warm Colors */
  --color-warm: #F5C542;
  --color-warm-light: #FFF8E1;

  /* Neutral Colors */
  --color-text: #2C2C2C;
  --color-text-light: #5A5A5A;
  --color-text-muted: #8A8A8A;
  --color-border: #E0E0E0;
  --color-border-light: #F0F0F0;
  --color-bg: #FFFFFF;
  --color-bg-light: #FAFAFA;
  --color-bg-warm: #FFF9F5;
  --color-bg-section: #F5F7FA;

  /* Status Colors */
  --color-success: #2D7A4F;
  --color-info: #3B82F6;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-available: #10B981;

  /* Typography - 丸ゴシック体統一 */
  --font-family: 'Zen Maru Gothic', 'Kosugi Maru', 'Hiragino Maru Gothic ProN', 'Rounded Mplus 1c', sans-serif;
  --font-family-serif: 'Zen Maru Gothic', 'Kosugi Maru', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

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

  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

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

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

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

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

.section--bg {
  background-color: var(--color-bg-section);
}

.section--bg-warm {
  background-color: var(--color-bg-warm);
}

.section--bg-primary {
  background-color: var(--color-primary-bg);
}

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

.section__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section__title span {
  color: var(--color-primary);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: var(--space-lg) auto;
  border-radius: var(--radius-full);
}

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

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border-light);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-sub {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.header__logo-main {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

.nav__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-bg-light);
}

.nav__link--active {
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
}

/* Header CTA */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(232, 131, 74, 0.3);
  white-space: nowrap;
}

.header__cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 131, 74, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(45, 122, 79, 0.3);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 122, 79, 0.4);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 131, 74, 0.3);
}

.btn--accent:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 131, 74, 0.4);
}

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

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

.btn--white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 18px 42px;
  font-size: var(--font-size-lg);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--font-size-sm);
}

.btn i {
  font-size: 0.9em;
}

/* --- Cards --- */
.card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

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

.card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.card__icon--primary {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.card__icon--accent {
  background: var(--color-accent-bg);
  color: var(--color-accent);
}

.card__icon--warm {
  background: var(--color-warm-light);
  color: var(--color-warm);
}

.card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.card__text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Availability Badge --- */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 2px solid var(--color-available);
  border-radius: var(--radius-full);
  font-weight: 700;
  color: #065F46;
  font-size: var(--font-size-base);
  animation: pulse-badge 2s infinite;
}

.availability-badge__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-available);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, #f0faf4 0%, #fff9f5 50%, #f5f7fa 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(45, 122, 79, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 131, 74, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: var(--space-2xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.hero__title-accent {
  color: var(--color-primary);
  position: relative;
}

.hero__title-highlight {
  background: linear-gradient(transparent 60%, rgba(245, 197, 66, 0.3) 60%);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-family: var(--font-family-serif);
}

.hero__description {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.hero__availability {
  margin-bottom: var(--space-2xl);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero__image-main {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-primary-bg), var(--color-accent-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, #d4edda 30%, var(--color-accent-bg) 70%, #fde2c8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__image-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232D7A4F' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__image-placeholder i {
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.hero__image-placeholder span {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
}

.hero__float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: float 3s ease-in-out infinite;
}

.hero__float-card--top {
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.hero__float-card--bottom {
  bottom: 15%;
  left: -30px;
  animation-delay: 1.5s;
}

.hero__float-card i {
  font-size: 1.5rem;
}

.hero__float-card span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  white-space: nowrap;
}

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

/* --- Trust Indicators --- */
.trust-bar {
  background: var(--color-bg);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-light);
}

.trust-bar__item i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.trust-bar__item span {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

/* --- USP Section --- */
.usp-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.usp-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
}

.usp-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: var(--color-primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.usp-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.usp-card__text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Cases / Testimonials --- */
.case-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-card__label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.case-card__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.case-card__profile {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.case-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.5;
}

.case-card__body {
  padding: 0 var(--space-xl) var(--space-xl);
}

.case-card__before,
.case-card__after {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.case-card__before {
  background: #FEF2F2;
  border-left: 4px solid var(--color-danger);
}

.case-card__after {
  background: #ECFDF5;
  border-left: 4px solid var(--color-success);
}

.case-card__label-sm {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card__before .case-card__label-sm {
  color: var(--color-danger);
}

.case-card__after .case-card__label-sm {
  color: var(--color-success);
}

.case-card__quote {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- Step / Flow --- */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light), var(--color-accent));
}

.flow-step {
  display: flex;
  gap: var(--space-2xl);
  position: relative;
}

.flow-step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(45, 122, 79, 0.3);
}

.flow-step__content {
  flex: 1;
  padding-top: var(--space-md);
}

.flow-step__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.flow-step__text {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  gap: var(--space-md);
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1.6;
}

.faq-item__question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 50%;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  padding-left: calc(var(--space-xl) + 32px + var(--space-md));
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.cta-section__text {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-section__note {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-lg);
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  text-decoration: none;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.footer__logo-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #fff;
}

.footer__description {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: #fff;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact-item i {
  color: var(--color-primary-light);
  margin-top: 3px;
  width: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --- Floating CTA Spacer (hidden on PC, visible on mobile) --- */
.floating-cta-spacer {
  height: 0;
}

/* --- Floating CTA (Mobile) --- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta__inner {
  display: flex;
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin: 0 auto;
}

.floating-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
}

.floating-cta__btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.floating-cta__btn--accent {
  background: var(--color-accent);
  color: #fff;
}

/* --- Page Header (Sub Pages) --- */
.page-header {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary-bg-light) 0%, #fff 100%);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.page-header__breadcrumb a {
  color: var(--color-text-muted);
}

.page-header__breadcrumb a:hover {
  color: var(--color-primary);
}

.page-header__title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.page-header__description {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Profile Section --- */
.profile-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.profile__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.profile__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-primary-bg), var(--color-accent-bg));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.profile__image-placeholder i {
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.4;
}

.profile__name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.profile__role {
  font-size: var(--font-size-base);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.profile__message {
  font-size: var(--font-size-lg);
  line-height: 2;
  color: var(--color-text-light);
}

.profile__message p {
  margin-bottom: var(--space-lg);
}

.profile__message .highlight {
  background: linear-gradient(transparent 60%, rgba(245, 197, 66, 0.3) 60%);
  font-weight: 600;
}

.profile__quote {
  padding: var(--space-xl);
  background: var(--color-primary-bg-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  margin: var(--space-xl) 0;
  font-family: var(--font-family-serif);
  font-size: var(--font-size-lg);
  color: var(--color-primary-dark);
  line-height: 1.8;
  font-style: italic;
}

/* --- Contact Form --- */
.contact-form {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-base);
}

.form-group label .required {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-danger);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
}

.form-group label .optional {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--color-bg);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.1);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

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

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A8A8A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  background: var(--color-bg-section);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 400;
  transition: all var(--transition-fast);
  margin-bottom: 0;
}

.radio-group label:hover,
.checkbox-group label:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-bg-light);
}

.radio-group input:checked + span,
.checkbox-group input:checked + span {
  color: var(--color-primary);
  font-weight: 600;
}

.radio-group input:checked ~ span,
.checkbox-group input:checked ~ span {
  color: var(--color-primary);
  font-weight: 600;
}

.form-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* --- Blog / Column --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.blog-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__image i {
  font-size: 2rem;
  color: var(--color-text-muted);
  opacity: 0.3;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.blog-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.blog-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.blog-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* --- Info Table --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.info-table th {
  width: 180px;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-section);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-align: left;
  vertical-align: top;
  color: var(--color-text);
}

.info-table td {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero__availability {
    display: flex;
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .profile-section {
    grid-template-columns: 1fr;
  }

  .profile__image {
    max-width: 350px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  :root {
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 1.75rem;
    --font-size-5xl: 2.25rem;
    --space-4xl: 4rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Header Mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    align-items: stretch;
    gap: var(--space-xs);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav__link {
    font-size: var(--font-size-base);
    padding: var(--space-md) var(--space-lg);
  }

  .mobile-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .nav .header__cta--mobile {
    display: flex;
    margin-top: var(--space-md);
  }

  /* Mobile Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero Mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__float-card {
    display: none;
  }

  /* Grids Mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Flow Steps Mobile */
  .flow-steps::before {
    left: 25px;
  }

  .flow-step__number {
    width: 52px;
    height: 52px;
    font-size: var(--font-size-base);
  }

  .flow-step {
    gap: var(--space-lg);
  }

  /* Info Table Mobile */
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding: var(--space-md) var(--space-lg) var(--space-xs);
  }

  .info-table td {
    padding: var(--space-xs) var(--space-lg) var(--space-md);
  }

  /* Floating CTA */
  .floating-cta {
    display: block;
  }

  /* Spacer to prevent floating CTA from hiding footer content */
  .floating-cta-spacer {
    height: 100px !important;
    background: var(--color-text);
  }

  /* Trust Bar Mobile */
  .trust-bar__inner {
    gap: var(--space-lg);
  }

  .trust-bar__item {
    flex: 0 0 auto;
  }

  /* CTA Section Mobile */
  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .radio-group,
  .checkbox-group {
    flex-direction: column;
  }
}

/* --- Print Styles --- */
@media print {
  .header,
  .floating-cta,
  .cta-section {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }
}

/* --- Reception Status Box (3 States) --- */
/*
  受付状況の切替方法:
  HTML側の .status-badge に以下いずれかのクラスを付与:
    .status-badge--available  → 🟢 受付中
    .status-badge--adjusting  → 🟡 調整中
    .status-badge--waitlist   → 🔴 キャンセル待ち
  テキスト #status-text の中身も合わせて変更してください。
*/
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: var(--font-size-base);
  animation: pulse-badge 2s infinite;
}

.status-badge__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

/* 🟢 受付中 #009966 */
.status-badge--available {
  background: rgba(0, 153, 102, 0.08);
  border: 4px double #009966;
  color: #009966;
}
.status-badge--available .status-badge__dot { background: #009966; }

/* 🟡 調整中 #FFCC00 */
.status-badge--adjusting {
  background: rgba(255, 204, 0, 0.10);
  border: 4px double #FFCC00;
  color: #FFCC00;
}
.status-badge--adjusting .status-badge__dot { background: #FFCC00; }
.status-badge--adjusting .status-badge__text { color: #b8920e; }

/* 🔴 キャンセル待ち #FF0000 */
.status-badge--waitlist {
  background: rgba(255, 0, 0, 0.06);
  border: 4px double #FF0000;
  color: #FF0000;
}
.status-badge--waitlist .status-badge__dot { background: #FF0000; }

/* --- Zero-Cost Banner --- */
.zero-cost-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-xl);
  text-align: center;
}

.zero-cost-banner__amount {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-accent-dark);
  line-height: 1;
}

.zero-cost-banner__text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
}

.zero-cost-banner__note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --- Age Target Badge --- */
.target-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 22px;
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  border: 2px solid #8B5CF6;
  color: #5B21B6;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--font-size-base);
}

/* --- Privacy Assurance Box --- */
.privacy-box {
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary-bg-light), #E0F2FE);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.privacy-box i {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-box p {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.7;
}

/* --- Header Logo Image --- */
.header__logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header__logo-img {
    height: 40px;
  }
  .zero-cost-banner {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .zero-cost-banner__amount {
    font-size: var(--font-size-3xl);
  }
}
