/* ===================================================
   結の芽（ゆいのめ）- スタイルシート
   =================================================== */

/* --- Design Tokens --- */
:root {
  /* 配色：緑・ゴールド系（やさしく、安心感） */
  --color-primary: #95b572;
  --color-primary-dark: #728f53;
  --color-primary-light: #dce8d0;
  --color-primary-pale: #f0f5ea;
  --color-secondary: #e3bd5c;
  --color-secondary-dark: #c9a33e;
  --color-secondary-light: #faf3e0;
  --color-accent: #e3bd5c;
  --color-bg: #fafaf7;
  --color-bg-alt: #f5f2eb;
  --color-text: #3a3a35;
  --color-text-light: #5c5c57;
  --color-text-muted: #888883;
  --color-border: #d6d3ca;
  --color-border-light: #e8e5dd;
  --color-white: #ffffff;
  --color-error: #c0392b;
  --color-error-bg: #fdf0ee;
  --color-success: #27ae60;
  --color-success-bg: #eafaf1;

  /* タイポグラフィ */
  --font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", 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;

  /* 余白 */
  --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;

  /* その他 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
  font-size: var(--font-size-sm);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

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

/* モバイルでbrを非表示にするユーティリティ */
.sp-hide {
  display: none;
}

@media (min-width: 768px) {
  .sp-hide {
    display: inline;
  }
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
}

/* ナビ開閉時は backdrop-filter が containing block を作るため無効化 */
.site-header.nav-is-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--color-white);
}

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

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

.logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo-kana {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ハンバーガー */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ナビゲーション */
.global-nav {
  display: none;
}

.global-nav.is-open {
  display: block;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  padding: var(--space-xl);
  overflow-y: auto;
  z-index: 105;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.nav-link {
  display: block;
  padding: var(--space-md);
  color: var(--color-text);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
}

.nav-link--cta {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  margin-top: var(--space-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary-pale) 0%, var(--color-secondary-light) 100%);
  background-size: cover;
  background-position: center;
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.82) 0%,
    rgba(240,245,234,0.88) 50%,
    rgba(250,243,224,0.9) 100%
  );
  z-index: 0;
}

/* WebGL パーティクルキャンバス */
.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(149, 181, 114, 0.1);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(227, 189, 92, 0.08);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-icon {
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
}

.hero-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  overflow-wrap: break-word;
  padding: 0 var(--space-sm);
}

.hero-kana {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: calc(var(--space-xs) * 4);
}

.hero-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  padding: 0 var(--space-sm);
  overflow-wrap: break-word;
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 var(--space-sm);
  width: 100%;
}

/* --- Concept Layout --- */
.concept-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.concept-image {
  width: 100%;
  max-width: 400px;
}

.concept-body {
  /* text-align: center; */
}

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

.concept-text {
  color: var(--color-text-light);
  line-height: 2;
}

/* --- Photo Gallery --- */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- Shop Preview --- */
.shop-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.shop-image {
  width: 100%;
  max-width: 400px;
}

/* --- Rounded Image --- */
.rounded-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
}

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

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

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

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

/* --- Timeline (1日の流れ) --- */
.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-time {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  font-weight: 700;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: var(--space-sm);
}

.timeline-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* --- Steps (利用の流れ) --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.step-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--color-primary-pale);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
}

.faq-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

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

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

/* --- Access --- */
.access-info {
  max-width: 640px;
  margin: 0 auto;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
}

.access-table th,
.access-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  text-align: left;
  font-size: var(--font-size-sm);
}

.access-table th {
  width: 120px;
  color: var(--color-primary-dark);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
}

.access-table td {
  color: var(--color-text-light);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-title {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-text {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-base);
}

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

.cta-section .btn--primary:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* --- Notice Section (準備中) --- */
.notice-box {
  background: var(--color-secondary-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  max-width: 640px;
  margin: 0 auto;
  /* text-align: center; */
}

.notice-box p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* --- Form --- */
.form-page {
  padding: var(--space-3xl) 0;
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.form-intro {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.form-intro p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

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

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

.form-required {
  display: inline-block;
  background: var(--color-error);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
  font-weight: 400;
  vertical-align: middle;
}

.form-optional {
  display: inline-block;
  background: var(--color-text-muted);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
  font-weight: 400;
  vertical-align: middle;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
  outline: none;
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

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

.form-error {
  color: var(--color-error);
  font-size: var(--font-size-xs);
  margin-top: var(--space-xs);
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.form-actions {
  text-align: center;
  margin-top: var(--space-2xl);
}

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

/* honeypot */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* エラー・成功メッセージ */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
}

.alert--error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.alert--success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(39, 174, 96, 0.2);
}

.alert ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-top: var(--space-sm);
}

/* --- Thanks Page --- */
.thanks-section {
  text-align: center;
  padding: var(--space-4xl) 0;
}

.thanks-icon {
  margin: 0 auto var(--space-xl);
}

.thanks-title {
  font-size: var(--font-size-2xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.thanks-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-logo {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-address {
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.footer-hours {
  font-size: var(--font-size-sm);
  margin-top: var(--space-sm);
}

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-sm);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-bottom small {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.5);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

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

.modal-overlay[hidden] {
  display: none;
}

.modal-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--space-2xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.is-active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--color-bg-alt);
  border: none;
  border-radius: 50%;
  font-size: var(--font-size-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--color-border);
}

.modal-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xl);
}

.modal-body h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-lg) 0 var(--space-sm);
}

.modal-body p,
.modal-body li {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.8;
}

.modal-body ul {
  list-style: disc;
  padding-left: var(--space-xl);
}

.modal-body li {
  margin-bottom: var(--space-xs);
}

/* ======================
   Responsive
   ====================== */

/* Tablet (768px~) */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-img {
    height: 240px;
  }

  .concept-layout {
    flex-direction: row;
    gap: var(--space-2xl);
    text-align: left;
  }

  .concept-image {
    flex-shrink: 0;
    width: 320px;
  }

  .concept-body {
    text-align: left;
  }

  .shop-preview {
    flex-direction: row;
    gap: var(--space-2xl);
  }

  .shop-image {
    flex-shrink: 0;
    width: 320px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
    padding: 0;
  }

  .hero-tagline {
    font-size: var(--font-size-lg);
    padding: 0;
  }

  .hero-cta {
    padding: 0;
  }

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

/* Desktop (1024px~) */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .global-nav {
    display: block;
  }

  .global-nav.is-open {
    position: static;
    padding: 0;
    animation: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }

  .nav-link--cta {
    margin-top: 0;
    margin-left: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: var(--space-4xl) 0;
  }
}

/* =============================================
   アニメーション
   ============================================= */

/* --- ヒーロー背景のゆっくりズーム --- */
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero {
  background-size: cover;
  background-position: center;
}

.hero[style*="background-image"] {
  background-attachment: scroll;
}

.hero[style*="background-image"]::before,
.hero[style*="background-image"]::after {
  animation: heroZoom 20s ease-in-out infinite alternate;
}

/* ヒーロー要素の初期アニメーション */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-icon {
  animation: heroFadeIn 0.8s ease-out 0.2s both;
}

.hero-title {
  animation: heroFadeIn 0.8s ease-out 0.4s both;
}

.hero-tagline {
  animation: heroFadeIn 0.8s ease-out 0.6s both;
}

.hero-cta {
  animation: heroFadeIn 0.8s ease-out 0.8s both;
}

/* --- ロゴの微細なゆらゆらアニメ --- */
@keyframes gentleSway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1.5deg); }
  75% { transform: rotate(-1.5deg); }
}

.hero-icon {
  animation: heroFadeIn 0.8s ease-out 0.2s both, gentleSway 6s ease-in-out 1.5s infinite;
}

/* --- CTAボタンの柔らかな脈動 --- */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(149,181,114,0.3); }
  50% { box-shadow: 0 6px 20px rgba(149,181,114,0.5); }
}

.hero-cta .btn--primary {
  animation: heroFadeIn 0.8s ease-out 0.8s both, softPulse 3s ease-in-out 2s infinite;
}

/* --- スクロール連動：フェードイン＋スライドアップ --- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="scale"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* --- 順次表示用ディレイ --- */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* --- カードホバーの温かみ強化 --- */
.card {
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(149,181,114,0.18);
}

/* --- ボタンのホバーリップル --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

/* --- FAQアイテムの展開アニメ強化 --- */
.faq-item {
  transition: box-shadow 0.3s ease;
}

.faq-question[aria-expanded="true"] ~ .faq-answer {
  transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-question[aria-expanded="true"] {
  background: var(--color-primary-pale);
}

/* --- タイムラインドットのアニメ --- */
.timeline-time {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-time {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(149,181,114,0.3);
}

/* --- ギャラリー画像ホバー --- */
.gallery-img {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.5s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* --- セクションタイトルのアンダーライン伸びアニメ --- */
.section-title::after {
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
  width: 0;
}

.section-header.is-visible .section-title::after,
.is-visible .section-title::after {
  width: 40px;
}

/* --- ステップ番号の跳ねアニメ --- */
@keyframes stepBounce {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.step.is-visible .step-number {
  animation: stepBounce 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* --- ヘッダーのスクロール時シャドウ --- */
.site-header {
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- prefers-reduced-motion 対応 --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
