  /* ===== CSS カスタムプロパティ ===== */
:root {
  --green:       #5a8f72;
  --green-light: #7aab8e;
  --green-dark:  #3d6b53;
  --green-pale:  #e8f2ec;
  --terra:       #c47d56;
  --terra-light: #e8a880;
  --cream:       #faf8f4;
  --cream-dark:  #f0ece4;
  --white:       #ffffff;
  --text:        #3d3730;
  --text-light:  #7a6f65;
  --border:      #ddd8ce;
  --font-scale: 1;
}

  /* ===== リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: calc(16px * var(--font-scale));
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

/* ===== アクセシビリティバー（固定） ===== */
.a11y-bar {
  background: #f0ece4;
  border-bottom: 2px solid var(--border);
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.a11y-bar > span {
  font-size: 15px;
  font-weight: 600;
  margin-right: 2px;
  color: var(--text);
}
.font-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 7px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  transition: all 0.2s;
  line-height: 1.4;
  min-width: 64px;
  font-size: 16px;
}
.font-btn:hover,
.font-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ===== ヘッダー（固定） ===== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--green-pale);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(90,143,114,0.1);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb7c5;      /* 優しいピンク色 */
  font-size: 24px;      /* 花のサイズ */
  line-height: 0;       /* 上下の余白をリセット */
  padding-top: 0px;     /* ここを 0px～4px で変えると上下位置が変わります */
}
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: 0.04em;
  display: block;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  display: block;
}
nav.global-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
}
nav.global-nav ul li a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav.global-nav ul li a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 3px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  padding: 8px 0;
}
.mobile-menu ul li a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 14px 24px;
  font-size: 1rem;
  border-bottom: 1px solid var(--cream-dark);
  transition: all 0.2s;
}
.mobile-menu ul li a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  padding-left: 32px;
}

/* ===== ボタン共通 ===== */
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(90,143,114,0.3);
  display: inline-block;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  padding: 13px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--green);
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--green-pale);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green-dark);
  padding: 12px 34px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* ===== セクション共通 ===== */
section {
  padding: 72px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--terra);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.section-desc {
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.93rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.accent-line {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(150deg, #eef6f1 0%, #f5f9f6 50%, #faf8f4 100%);
  padding: 80px 24px 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90,143,114,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--green-pale);
  border: 1px solid rgba(90,143,114,0.35);
  color: var(--green-dark);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: 0.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-dark);
  border-bottom: 2px solid rgba(90,143,114,0.4);
  padding-bottom: 2px;
}
.hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 2;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 特徴バー ===== */
.features-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.features-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}
.feature-item .icon {
  font-size: 1.2rem;
}

/* ===== はじめての方バナー ===== */
.first-banner {
  background: var(--green-pale);
  border-top: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  padding: 40px 24px;
}
.first-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.first-banner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 28px;
}
.first-banner-title span {
  background: var(--green-dark);
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 0.9rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(90,143,114,0.2);
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.step-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.step-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.7;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  font-size: 1.5rem;
}
.steps-wrapper {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: start;
}
.first-banner-cta {
  text-align: center;
  margin-top: 28px;
}

/* ===== カテゴリ ===== */
.categories {
  background: var(--cream);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  color: var(--text);
  transition: all 0.3s;
  display: block;
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 6px 20px rgba(90,143,114,0.12);
  transform: translateY(-3px);
}
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}
.card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.card-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}
.card-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 10px;
}
.card-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.card-link {
  font-size: 0.8rem;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
}
.card-link::before {
  content: '›';
  font-weight: 700;
  font-size: 1rem;
}
.card-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ===== エンディングノートDLバナー ===== */
.dl-banner {
  background: linear-gradient(135deg, #f5f9f6 0%, #eef6f1 100%);
  border: 2px solid rgba(90,143,114,0.25);
  border-radius: 12px;
  padding: 36px 40px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.dl-banner-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}
.dl-banner-body {
  flex: 1;
}
.dl-banner-label {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.dl-banner-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.dl-banner-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}
.dl-banner-cta {
  flex-shrink: 0;
  text-align: center;
}
.dl-banner-cta .btn-primary {
  display: block;
  margin-bottom: 8px;
}
.dl-banner-free {
  font-size: 0.75rem;
  color: var(--terra);
  font-weight: 700;
}

/* ===== チェックリスト ===== */
.checklist-section {
  background: var(--white);
}
.checklist-wrapper {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.checklist-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.checklist-item:hover {
  border-color: var(--green-light);
}
.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.checklist-cta {
  text-align: center;
}

/* ===== 新着・おすすめコラム ===== */
.news-section {
  background: var(--cream);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 6px 20px rgba(90,143,114,0.12);
  transform: translateY(-3px);
}
.news-card-img {
  background: var(--green-pale);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.news-card-img.img-dementia  { background: #d6eaf5; }
.news-card-img.img-solo      { background: #fde9d4; }
.news-card-img.img-money     { background: #d5f0e2; }
.news-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.news-card-body h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
  flex: 1;
}
.news-card-body p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.65;
}
.news-more {
  text-align: center;
  margin-top: 32px;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--white);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  transition: background 0.2s;
  user-select: none;
}
.faq-question:hover {
  background: var(--green-pale);
}
.faq-q-mark {
  color: var(--green);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-q-text {
  flex: 1;
}
.faq-toggle {
  font-size: 1.2rem;
  color: var(--green);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 16px 22px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-light);
  border-top: 1px solid var(--cream-dark);
}
.faq-answer.open {
  display: block;
}
.faq-more {
  text-align: center;
  margin-top: 30px;
}

/* ===== 信頼セクション ===== */
.trust-section {
  background: var(--green-pale);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.trust-item {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(90,143,114,0.18);
}
.trust-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.trust-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.trust-num span {
  font-size: 1rem;
}
.trust-num .trust-num-large {
  font-size: 1.8rem;
}
.trust-num .trust-num-small {
  font-size: 1rem;
}
.trust-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.trust-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 声・体験談 ===== */
.voice-section {
  background: var(--white);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.voice-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  position: relative;
}
.voice-card::before {
  content: '❝';
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  color: rgba(90,143,114,0.2);
  font-family: serif;
  line-height: 1;
}
.voice-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
}
.voice-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.voice-avatar {
  width: 36px;
  height: 36px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.voice-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
}
.voice-age {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ===== はじめての方バナー内ボタン ===== */
.step-btn {
  font-size: 0.82rem;
  padding: 8px 20px;
}

/* ===== エンディングノートDLセクション ===== */
.dl-section {
  background: var(--white);
  padding: 48px 24px;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(150deg, #eef6f1 0%, #f5f9f6 100%);
  text-align: center;
  padding: 80px 24px;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}
.cta-inner p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 30px;
  line-height: 2;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn-sub {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--green);
  transition: all 0.3s;
  white-space: nowrap;
}
.cta-btn-sub:hover {
  background: var(--green-pale);
}

/* ===== フッター（固定） ===== */
footer {
  background: #2e3a32;
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 56px 24px 36px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-main-f {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.83rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: rgba(255,255,255,0.9);
}
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 14px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ===== トップへ戻る ===== */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(90,143,114,0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
#back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  nav.global-nav { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .voice-grid { grid-template-columns: 1fr 1fr; }
  .steps-wrapper { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 20px 76px; }
  .checklist-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 20px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .features-bar-inner { gap: 18px; }
  .checklist-wrapper { padding: 24px 18px; }
  .news-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .dl-banner { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; }
  .dl-banner-cta { width: 100%; }
  .dl-banner-cta .btn-primary { width: 100%; text-align: center; }
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
  animation: fadeInUp 0.6s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; }
