/* =============================================
   朝活なわとび 会員サイト デザインシステム
   テーマ: 朝焼け × やさしさ × 健康
   ============================================= */

/* Google Fonts は header.php で読み込み済み */

/* ---- CSS Variables ---- */
:root {
  /* カラーパレット */
  --coral: #FF7E67;
  --coral-dark: #E8664F;
  --coral-light: #FFF0ED;
  --teal: #4ECDC4;
  --teal-dark: #3DB8B0;
  --teal-light: #E8FAF8;
  --gold: #FFD93D;
  --gold-dark: #F0C800;
  --gold-light: #FFFBE6;
  --green-success: #00B894;
  --green-light: #E6F9F3;
  --ivory: #FFF8F0;
  --white: #FFFFFF;
  --gray-50: #FAFAF9;
  --gray-100: #F5F4F2;
  --gray-200: #E8E6E3;
  --gray-300: #D1CFCC;
  --gray-500: #9E9C99;
  --gray-600: #636E72;
  --gray-800: #2D3436;
  --red-danger: #E74C3C;

  /* テキスト */
  --text-primary: #2D3436;
  --text-secondary: #636E72;
  --text-muted: #9E9C99;

  /* フォント */
  --font-heading: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(45, 52, 54, 0.06);
  --shadow-md: 0 4px 16px rgba(45, 52, 54, 0.08);
  --shadow-lg: 0 8px 32px rgba(45, 52, 54, 0.12);
  --shadow-glow: 0 4px 20px rgba(255, 126, 103, 0.3);

  /* ボーダー */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* サイズ */
  --max-width: 480px;
  --nav-height: 64px;

  /* トランジション */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--ivory);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ---- ナビゲーション（ボトムバー） ---- */
.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.nav__logo {
  display: none; /* ボトムバーでは非表示 */
}

.nav__links {
  display: flex;
  width: 100%;
}

.nav__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px 6px;
  color: var(--text-muted);
  font-size: 10px;
  text-decoration: none;
  transition: var(--transition);
  min-height: 56px;
  gap: 2px;
  position: relative;
}

.nav__link--active {
  color: var(--coral);
}

.nav__link--active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--coral);
  border-radius: 0 0 3px 3px;
}

.nav__link-icon {
  font-size: 22px;
  line-height: 1;
}

.nav__link-label {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- メインコンテンツ ---- */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px 80px; /* ボトムバー分のpadding */
  min-height: 100vh;
}

/* ---- タイポグラフィ ---- */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
}

.heading-sm {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

.text-sm {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

/* ---- セクションタイトル ---- */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-title__icon {
  font-size: 20px;
  line-height: 1;
}

.section-title__text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---- カード ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 16px;
}

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

.card--flush {
  padding: 0;
  overflow: hidden;
}

/* ---- ダッシュボード: 挨拶ヘッダー ---- */
.greeting {
  background: linear-gradient(135deg, var(--coral), #FF9A76);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: var(--white);
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.greeting::after {
  content: '☀️';
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 80px;
  opacity: 0.15;
  transform: rotate(15deg);
}

.greeting__hello {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.greeting__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.greeting__stats {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.9;
}

.greeting__stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---- Zoomボタン ---- */
.zoom-card {
  background: linear-gradient(135deg, var(--teal), #45B7AF);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: var(--white);
}

.zoom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.4);
  color: var(--white);
}

.zoom-card__icon {
  font-size: 40px;
  margin-bottom: 8px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.zoom-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.zoom-card__schedule {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

/* ---- お知らせ ---- */
.announcement {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}

.announcement:last-child {
  border-bottom: none;
}

.announcement__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.announcement__title {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
}

.announcement__pinned {
  display: inline-block;
  background: var(--coral-light);
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-right: 6px;
}

/* ---- 今週の課題 ---- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.video-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.video-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- マイ記録ミニ ---- */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.stat-item {
  text-align: center;
  padding: 12px 8px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1.2;
}

.stat-item__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-item--streak .stat-item__value {
  color: var(--gold-dark);
}

.more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid var(--gray-200);
  margin-top: 8px;
}

/* ---- 健康コラム カード ---- */
.article-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  color: var(--text-primary);
}

.article-card:last-child {
  border-bottom: none;
}

.article-card__icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.article-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.article-card__category {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- マイページ: カレンダー ---- */
.calendar {
  width: 100%;
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar__nav {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar__nav:hover {
  background: var(--gray-100);
}

.calendar__month {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar__weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 0;
}

.calendar__day {
  text-align: center;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.calendar__day--today {
  border: 2px solid var(--coral);
  font-weight: 700;
}

.calendar__day--participated {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.calendar__day--empty {
  color: transparent;
}

.calendar__day--outside {
  color: var(--gray-300);
}

/* ---- 参加ボタン ---- */
.participate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  margin: 20px 0;
}

.participate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 126, 103, 0.4);
}

.participate-btn:active {
  transform: scale(0.98);
}

.participate-btn--done {
  background: var(--green-success);
  box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
  pointer-events: none;
}

.participate-btn__icon {
  font-size: 24px;
}

/* ---- 動画一覧 ---- */
.video-list {
  display: grid;
  gap: 16px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.video-card__thumb {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--gray-200);
}

.video-card__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

.video-card__info {
  padding: 14px 16px;
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.video-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.video-card__badge {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  position: absolute;
  top: 10px;
  left: 10px;
}

/* ---- フィルタータブ ---- */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-secondary);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  min-height: 40px;
}

.filter-tab--active {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

/* ---- ログインページ ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, var(--coral-light) 0%, var(--ivory) 50%, var(--teal-light) 100%);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-logo {
  font-size: 56px;
  margin-bottom: 8px;
  display: block;
}

.login-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.login-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--gray-50);
  text-align: center;
  letter-spacing: 0.05em;
}

.login-input:focus {
  outline: none;
  border-color: var(--coral);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 126, 103, 0.15);
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  margin-top: 16px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 126, 103, 0.4);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-error {
  background: #FFF0F0;
  color: var(--red-danger);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 12px;
  display: none;
}

.login-error--visible {
  display: block;
}

/* ---- ニックネームモーダル ---- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 52, 54, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay--visible .modal {
  transform: translateY(0);
}

.modal__icon {
  font-size: 48px;
  margin-bottom: 8px;
  display: block;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.modal__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  text-align: center;
  transition: var(--transition);
}

.modal__input:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 126, 103, 0.15);
}

.modal__btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: var(--transition);
}

/* ---- 管理画面 ---- */
.admin-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}

.admin-header__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 4px;
}

.admin-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.admin-tab--active {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-form__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: block;
}

.admin-form__input,
.admin-form__textarea,
.admin-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.admin-form__textarea {
  min-height: 100px;
  resize: vertical;
}

.admin-form__input:focus,
.admin-form__textarea:focus,
.admin-form__select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 126, 103, 0.15);
}

.admin-btn {
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.admin-btn--danger {
  background: var(--red-danger);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 16px;
}

.admin-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.admin-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-item__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-item__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-item__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ---- フッター ---- */
.footer {
  text-align: center;
  padding: 24px 16px 100px; /* ボトムバー分 */
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__logout {
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 0.75rem;
  margin-top: 8px;
  display: inline-block;
}

/* ---- トースト通知 ---- */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--green-success);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transition: transform 0.4s var(--ease);
  white-space: nowrap;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  background: var(--red-danger);
}

/* ---- 空状態 ---- */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state__icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.empty-state__text {
  font-size: 0.9rem;
}

/* ---- スケルトンローディング ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ---- アニメーション ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s var(--ease) forwards;
}

.fade-in-delay-1 { animation-delay: 0.05s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.15s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-5 { animation-delay: 0.25s; opacity: 0; }

/* ---- PC表示 ---- */
@media (min-width: 481px) {
  .main {
    padding-top: 16px;
  }

  .nav {
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  }

  .nav__inner {
    padding: 0 24px;
    justify-content: space-between;
  }

  .nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
  }

  .nav__logo-icon {
    font-size: 24px;
  }

  .nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
  }

  .nav__link {
    flex-direction: row;
    gap: 6px;
    padding: 16px 14px;
    font-size: 0.9rem;
    min-height: var(--nav-height);
  }

  .nav__link--active::before {
    top: auto;
    bottom: 0;
    width: 100%;
    left: 0;
    transform: none;
  }

  .nav__link-icon {
    font-size: 18px;
  }

  .main {
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: 40px;
  }

  .footer {
    padding-bottom: 40px;
  }
}
