/* ===== ROOT VARIABLES & RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  --indigo-900: #1e1b4b;
  --indigo-800: #312e81;
  --indigo-700: #3730a3;
  --indigo-600: #4338ca;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;
  --indigo-100: #e0e7ff;
  --indigo-50:  #eef2ff;
  --sakura-500: #ec4899;
  --sakura-400: #f472b6;
  --sakura-300: #f9a8d4;
  --sakura-100: #fce7f3;
  --sakura-50:  #fdf2f8;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(55,48,163,.10);
  --shadow-lg: 0 10px 40px rgba(55,48,163,.15);
  --shadow-xl: 0 20px 60px rgba(55,48,163,.20);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
a  { color: var(--indigo-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--indigo-800); }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  border: 1px solid var(--indigo-100);
}
.section-label.sakura {
  color: var(--sakura-500);
  background: var(--sakura-50);
  border-color: var(--sakura-100);
}
.text-center { text-align: center; }
.highlight { color: var(--indigo-600); }
.highlight-sakura { color: var(--sakura-500); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(67,56,202,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(67,56,202,.45);
  color: var(--white);
}
.btn-sakura {
  background: linear-gradient(135deg, var(--sakura-500), var(--sakura-400));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(236,72,153,.30);
}
.btn-sakura:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236,72,153,.40);
  color: var(--white);
}
.btn-outline {
  background: var(--white);
  color: var(--indigo-700);
  border: 2px solid var(--indigo-200, #c7d2fe);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-400);
  color: var(--indigo-700);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indigo-800);
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 900;
  font-family: 'Noto Serif JP', serif;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links li a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.nav-links li a:hover {
  background: var(--indigo-50);
  color: var(--indigo-700);
}
.nav-cta { margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 999;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--indigo-50); color: var(--indigo-700); }

/* ===== HERO SECTION ===== */
#hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(160deg, var(--indigo-50) 0%, var(--white) 40%, var(--sakura-50) 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(99,102,241,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244,114,182,.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-petals {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.petal {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--sakura-300);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0%   { transform: translateY(-40px) rotate(0deg); opacity: .6; }
  100% { transform: translateY(100vh) rotate(540deg); opacity: 0; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  color: white;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.hero-title {
  margin-bottom: 20px;
  color: var(--gray-900);
}
.hero-title .reiwa {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--indigo-600);
  font-weight: 400;
  margin-top: 8px;
  font-family: 'Noto Sans JP', sans-serif;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--indigo-700);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-cal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
.mini-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mini-cal-month {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--indigo-800);
}
.mini-cal-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mc-day-header {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-400);
  padding: 4px 0;
}
.mc-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  cursor: default;
  transition: all var(--transition);
}
.mc-day.today {
  background: var(--indigo-700);
  color: white;
  font-weight: 700;
  border-radius: 50%;
}
.mc-day.holiday {
  color: var(--sakura-500);
  font-weight: 700;
}
.mc-day.sun { color: #ef4444; }
.mc-day.sat { color: var(--indigo-500); }
.mc-day.empty { opacity: 0; pointer-events: none; }
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.info-icon.indigo { background: var(--indigo-100); }
.info-icon.sakura { background: var(--sakura-100); }
.info-icon.green  { background: #d1fae5; }
.info-icon.amber  { background: #fef3c7; }
.info-text strong { display: block; font-size: .95rem; color: var(--gray-800); }
.info-text span   { font-size: .8rem; color: var(--gray-500); }

/* ===== SECTIONS SHARED ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; margin: 16px auto 0; }

/* ===== ANNUAL OVERVIEW SECTION ===== */
#overview { background: var(--gray-50); }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.overview-card.blue::before  { background: var(--indigo-500); }
.overview-card.pink::before  { background: var(--sakura-400); }
.overview-card.green::before { background: #34d399; }
.overview-card.amber::before { background: #fbbf24; }
.overview-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ov-icon { font-size: 2rem; margin-bottom: 16px; }
.ov-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.ov-body  { font-size: .9rem; color: var(--gray-600); line-height: 1.8; }

/* ===== CALENDAR GRID SECTION ===== */
#calendar { background: var(--white); }
.year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.month-cal {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.month-cal:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--indigo-200, #c7d2fe);
}
.month-cal-header {
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  color: white;
  padding: 12px 16px;
  text-align: center;
}
.month-cal-header h3 {
  font-size: .95rem;
  font-weight: 700;
  color: white;
  margin: 0;
}
.month-cal-header span {
  font-size: .75rem;
  opacity: .85;
}
.month-cal-body {
  padding: 12px;
}
.cal-week-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 4px;
}
.cal-week-headers span {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gray-400);
  padding: 4px 0;
}
.cal-week-headers span:first-child { color: #ef4444; }
.cal-week-headers span:last-child  { color: var(--indigo-400); }
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  border-radius: 6px;
  cursor: default;
  color: var(--gray-700);
  transition: background var(--transition);
}
.cal-day:hover:not(.empty) { background: var(--indigo-50); }
.cal-day.empty { opacity: 0; pointer-events: none; }
.cal-day.today-mark {
  background: var(--indigo-600);
  color: white !important;
  font-weight: 700;
  border-radius: 50%;
}
.cal-day.holiday-mark {
  background: var(--sakura-100);
  color: var(--sakura-500) !important;
  font-weight: 700;
}
.cal-day.sun-col { color: #ef4444; }
.cal-day.sat-col { color: var(--indigo-500); }

/* ===== MONTHLY GUIDES ===== */
#monthly { background: var(--gray-50); }
.monthly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.month-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.month-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.month-card-header {
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}
.month-card-header::after {
  content: attr(data-kanji);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  opacity: .12;
  color: white;
  line-height: 1;
}
.month-card-header h3 {
  color: white;
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.month-card-header .month-en {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
}
.month-card-body {
  padding: 22px 24px;
}
.month-card-body p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}
.month-holidays {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.holiday-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.holiday-date {
  font-size: .78rem;
  font-weight: 700;
  color: var(--indigo-600);
  min-width: 40px;
}
.holiday-name {
  font-size: .85rem;
  color: var(--gray-700);
}
.month-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  margin-top: 12px;
}

/* Month color themes */
.m1  { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.m2  { background: linear-gradient(135deg, #9333ea, #a855f7); }
.m3  { background: linear-gradient(135deg, #be185d, #ec4899); }
.m4  { background: linear-gradient(135deg, #15803d, #22c55e); }
.m5  { background: linear-gradient(135deg, #047857, #10b981); }
.m6  { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.m7  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.m8  { background: linear-gradient(135deg, #b45309, #f97316); }
.m9  { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.m10 { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.m11 { background: linear-gradient(135deg, #92400e, #d97706); }
.m12 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }

/* ===== REIWA / FISCAL SECTION ===== */
#reiwa { background: var(--white); }
.reiwa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-box {
  background: var(--indigo-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--indigo-100);
}
.info-box h3 { margin-bottom: 16px; color: var(--indigo-800); }
.info-box p  { font-size: .93rem; color: var(--gray-700); margin-bottom: 12px; }
.era-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.era-table th {
  background: var(--indigo-600);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.era-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.era-table tr:last-child td { border-bottom: none; }
.era-table tr:nth-child(even) td { background: var(--gray-50); }
.era-table .current {
  background: var(--indigo-50) !important;
  font-weight: 700;
  color: var(--indigo-700);
}
.sakura-box {
  background: var(--sakura-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--sakura-100);
}
.sakura-box h3 { margin-bottom: 16px; color: #9d174d; }
.holiday-full-list { display: flex; flex-direction: column; gap: 10px; }
.hfl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--sakura-100);
  transition: all var(--transition);
}
.hfl-item:hover { border-color: var(--sakura-300); transform: translateX(4px); }
.hfl-date { font-weight: 700; color: var(--sakura-500); min-width: 80px; font-size: .88rem; }
.hfl-name { font-size: .9rem; color: var(--gray-700); }

/* ===== DOWNLOAD HUB ===== */
#download { background: var(--gray-50); }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.download-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.dl-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.dl-icon.green-bg  { background: #d1fae5; }
.dl-icon.blue-bg   { background: var(--indigo-100); }
.dl-icon.sakura-bg { background: var(--sakura-100); }
.download-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.download-card p  { font-size: .88rem; color: var(--gray-600); margin-bottom: 22px; }
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #16a34a;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.download-note {
  text-align: center;
  padding: 24px;
  background: var(--indigo-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--indigo-100);
}
.download-note p { font-size: .9rem; color: var(--indigo-800); margin: 0; }

/* ===== FAQ SECTION ===== */
#faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: all var(--transition);
}
.faq-q:hover { color: var(--indigo-700); background: var(--indigo-50); padding-left: 28px; border-radius: var(--radius-sm); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--indigo-100);
  color: var(--indigo-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--indigo-600); color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 4px 20px 22px;
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* ===== CONTENT SECTION ===== */
#content-section { background: var(--gray-50); }
.content-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.content-main article { max-width: 720px; }
.content-main h2 { margin-bottom: 20px; color: var(--indigo-800); }
.content-main h3 { margin: 28px 0 14px; color: var(--gray-800); }
.content-main p  { font-size: .95rem; color: var(--gray-700); line-height: 1.9; }
.content-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 { margin-bottom: 14px; color: var(--indigo-800); font-size: 1rem; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover { color: var(--indigo-600); padding-left: 6px; }
.sidebar-list li a::before { content: '›'; color: var(--indigo-400); font-weight: 700; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--indigo-400); }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tag {
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: #374151;
  color: var(--gray-400);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gray-900);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: .9rem;
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px; height: 44px;
  background: var(--indigo-600);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 998;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover   { background: var(--indigo-700); transform: translateY(-2px); }

/* ===== PROGRESS BAR ===== */
#progress-bar {
  position: fixed;
  top: 68px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--sakura-400));
  transition: width .1s linear;
  z-index: 999;
  width: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .year-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  section          { padding: 60px 0; }
  .year-grid       { grid-template-columns: repeat(2, 1fr); }
  .reiwa-inner     { grid-template-columns: 1fr; }
  .content-inner   { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .nav-links       { display: none; }
  .nav-cta         { display: none; }
  .hamburger       { display: flex; }
  .monthly-grid    { grid-template-columns: 1fr; }
  .info-cards      { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .year-grid    { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats   { gap: 20px; }
}
