﻿/* ============================================
   BeEngineer Programming Camp - Styles
   ロゴスランド風デザイン
   ============================================ */

:root {
  /* メインカラー */
  --color-primary: #0E8B62;
  --color-secondary: #F47F2E;
  --color-accent: #FF6B6B;
  --color-bg: #FAFAF8;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  
  /* パステルカラー */
  --color-pastel-blue: #A8D5E2;
  --color-pastel-yellow: #FFF4B8;
  --color-pastel-pink: #FFD4D4;
  --color-pastel-green: #C8E6C9;
  
  /* レイアウト */
  --sidebar-width: 240px;
  --spacing-unit: 1rem;
  --border-radius: 16px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   リセット & ベース
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Yu Gothic UI', 'Meiryo', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ============================================
   サイドバー（左側固定）
   ============================================ */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;      /* フォールバック */
  height: 100dvh;     /* モバイルのアドレスバー可変分を考慮した実可視高さ */
  background: linear-gradient(180deg, var(--color-primary) 0%, #0a6d4d 100%);
  color: var(--color-white);
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.sidebar-logo {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-logo h1 {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.sidebar-logo p {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.logo-been {
  width: 115px;
}

.logo-separator {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.8;
  font-weight: bold;
}

.sidebar-nav {
  flex: 1;
  overflow: visible;
  max-height: calc(100vh - 200px);
}

.sidebar-nav ul {
  list-style: none;
  overflow: visible;
}

.sidebar-nav li {
  margin-bottom: 0.2rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.82rem;
}

.sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.sidebar-nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--color-white);
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* サブメニュー（ドロップダウン） */
.sidebar-nav .has-submenu {
  position: relative;
  overflow: visible;
}

.sidebar-nav .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: -1.5rem;
  min-width: 150px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.sidebar-nav .has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sidebar-nav .submenu li {
  margin: 0;
}

.sidebar-nav .submenu a {
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  background-color: transparent;
  border-radius: 0;
}

.sidebar-nav .submenu li:first-child a {
  border-radius: 8px 8px 0 0;
}

.sidebar-nav .submenu li:last-child a {
  border-radius: 0 0 8px 8px;
}

.sidebar-nav .submenu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.sidebar-footer {
  text-align: center;
  font-size: 0.6rem;
  /* footer 全体に opacity を掛けると子の吹き出しまで薄くなるため透過しない。
     キャラの淡さは .sidebar-footer-char 側の opacity で個別に表現する。 */
  opacity: 1;
  margin-top: auto;
  padding-top: 0.3rem;
  display: flex;
  align-items: center;
  /* コピーライト文を削除したため、中央寄せ＋gap でキャラ同士の距離を調整して元の位置感に戻す。 */
  justify-content: center;
  gap: 4rem;
  position: relative; /* PC：吹き出しの位置基準 */
}

.sidebar-footer-text {
  line-height: 1.4;
}

.sidebar-footer-char {
  width: 35px;
  height: auto;
  opacity: 0.8;
  flex-shrink: 0;
}

/* 旧構造（キャラのラッパー）は今は使わないが、CSS は無害なので残置 */
.sidebar-char-wrap {
  display: inline-flex;
  align-items: flex-end;
}

/* PC：吹き出しは footer の上に絶対配置（クレジットの上に重なる位置） */
.sidebar-char-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 75%, 160px);
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: #fff;
  padding: 0.6rem;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: pre-line; /* 文言中の \n を改行として表示 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  animation: bubblePop 0.4s ease-out;
}

/* PC：しっぽは下方向（左下 or 右下） */
.sidebar-char-bubble::after {
  content: '';
  position: absolute;
  left: 14%;
  bottom: -12px;
  top: auto;
  right: auto;
  transform: none;
  width: 10px;
  height: 10px;
  background-color: var(--color-secondary);
}

.sidebar-char-bubble::before {
  content: '';
  position: absolute;
  left: calc(14% + 6px);
  bottom: -24px;
  top: auto;
  right: auto;
  width: 7px;
  height: 7px;
  background-color: var(--color-secondary);
}

.sidebar-char-bubble--right::after {
  left: auto;
  right: 14%;
}

.sidebar-char-bubble--right::before {
  left: auto;
  right: calc(14% + 6px);
}

@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(4px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* ============================================
  SP版：左キャラ・吹き出し・右キャラを横並び（吹き出しはやや上）
   ============================================ */
@media (max-width: 768px) {
  .sidebar-footer {
    opacity: 1; /* SP では bubble が色濃く見えるよう透過解除 */
    flex-direction: row;
    align-items: flex-end; /* キャラを下揃えの基準線に */
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.75rem; /* 吹き出しが上に出る分 */
  }

  .sidebar-footer-char-left,
  .sidebar-footer-char-right {
    flex-shrink: 0;
    height: auto;
    
    align-self: flex-end;
    margin: 0;
  }

  .sidebar-footer-char-left {
    width: 25px; 
  }


  .sidebar-footer-char-right {
    width: 30px;
  }

  .sidebar-footer-text {
    display: none;
  }

  .sidebar-char-bubble {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    flex: 1 1 auto;
    width: auto;
    height: 3.0rem;
    min-width: 0;
    max-width: 9.5rem;
    align-self: flex-end;
    margin-bottom: 2.85rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.72rem;
    line-height: 1.25;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    animation: bubblePopSP 0.35s ease-out;
  }
/* SP：しっぽは下方向（左下 or 右下）— 吹き出しが上にあるため */
  
  .sidebar-char-bubble::after {
    top: auto;
    bottom: -6px;
    left: 8%;
    right: auto;
    transform: none;
    width: 6px;
    height: 6px;
  }

  .sidebar-char-bubble::before {
    top: auto;
    bottom: -14px; 
    left: calc(8% - 5px);
    right: auto;
    width: 4px;
    height: 4px;
  }

  .sidebar-char-bubble--right::after {
    left: auto;
    right: 8%;
  }

  .sidebar-char-bubble--right::before {
    left: auto;
    right: calc(8% - 5px);
  }

  @keyframes bubblePopSP {
    0% {
      opacity: 0;
      transform: scale(0.88);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* ============================================
   メインコンテンツエリア
   ============================================ */

.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

/* ============================================
   ヒーローセクション
   ============================================ */

.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-pastel-blue) 0%, var(--color-pastel-yellow) 50%, var(--color-pastel-pink) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23A8D5E2" width="1200" height="600"/></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-panel {
  background-color: var(--color-white);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.hero-panel:hover {
  transform: scale(1.02);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.hero-date {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.hero-cta {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   セクション共通スタイル
   ============================================ */

.section {
  padding: 5rem 3rem;
}

.section:nth-child(even) {
  background-color: var(--color-white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.section-desc {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.section-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   カードUI
   ============================================ */

.card-grid {
  display: grid;
  /* デフォルトは 1 カラム。2 カラムになる中間レンジを使わず、
     大画面でのみ 3 カラムに切り替える。 */
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* 大画面（サイドバー＋セクション余白を引いても 3 カラムに収まる幅）でのみ 3 カラム */
@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-orange {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
}

.card-green {
  background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
  color: var(--color-white);
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.card-content {
  font-size: 1rem;
  line-height: 1.8;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* ============================================
   ご案内セクション
   ============================================ */

/* PC版では開閉ヘッダーを非表示 */
.guide-toggle-header {
  display: none;
}

.guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.guide-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-main {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.guide-detail {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.guide-note {
  font-size: 0.95rem;
  color: var(--color-text-light);
  background-color: var(--color-pastel-yellow);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.guide-notice-inline {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border: 3px solid var(--color-secondary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.guide-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.guide-image img {
  width: 100%;
  height: auto;
  display: block;
}

.guide-notice-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.guide-notice-item:last-of-type {
  margin-bottom: 1rem;
}

.guide-notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.8;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.guide-notice-contact {
  text-align: center;
  color: var(--color-text);
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.line-info-box {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  border: 3px solid #06C755;
  border-radius: var(--border-radius);
  padding: 0;
  margin-top: 2rem;
  box-shadow: 0 6px 25px rgba(6, 199, 85, 0.15);
  overflow: hidden;
}

/* 開閉ヘッダー */
.line-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.line-toggle-header:hover {
  background-color: rgba(6, 199, 85, 0.1);
}

.line-toggle-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #06C755;
}

.line-toggle-icon {
  font-size: 1.2rem;
  color: #06C755;
  transition: transform 0.3s ease;
}

.line-info-box.active .line-toggle-icon {
  transform: rotate(180deg);
}

.line-info-content-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.line-info-box.active .line-info-content-wrapper {
  max-height: 1500px;
  opacity: 1;
  padding: 0 2rem 2rem 2rem;
}

.line-info-title {
  text-align: center;
  font-size: 1.5rem;
  color: #06C755;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.line-info-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.line-character {
  flex-shrink: 0;
}

.line-character-img {
  width: 120px;
  height: auto;
  animation: bounce 2s ease-in-out infinite;
}

.line-character-left .line-character-img {
  animation-delay: 0s;
}

.line-character-right .line-character-img {
  animation-delay: 0.3s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.line-qr-section {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.line-qr-code {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 10px;
}

.line-link {
  margin: 0;
  text-align: center;
}

.line-link a {
  color: #06C755;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid #06C755;
  border-radius: 8px;
  background-color: rgba(6, 199, 85, 0.1);
  display: inline-block;
  transition: all 0.3s ease;
}

.line-link a:hover {
  background-color: #06C755;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.line-link a:active {
  transform: translateY(0);
}

.line-text-section {
  text-align: center;
}

.line-account-name {
  font-size: 1.3rem;
  color: #06C755;
  margin-bottom: 1rem;
  font-weight: bold;
}

.line-description {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================================
   ブログ更新セクション
   ============================================ */

.blog-update-box {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border: 3px solid #FF9800;
  border-radius: var(--border-radius);
  padding: 0;
  margin-top: 2rem;
  box-shadow: 0 6px 25px rgba(255, 152, 0, 0.15);
  overflow: hidden;
}

.blog-update-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.blog-update-header:hover {
  background-color: rgba(255, 152, 0, 0.1);
}

.blog-update-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #FF9800;
}

.blog-update-icon {
  font-size: 1.2rem;
  color: #FF9800;
  transition: transform 0.3s ease;
}

.blog-update-box.active .blog-update-icon {
  transform: rotate(180deg);
}

.blog-update-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.blog-update-box.active .blog-update-content {
  max-height: 1000px;
  opacity: 1;
  padding: 0 2rem 2rem 2rem;
}

.blog-update-text {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: center;
}

.blog-update-link {
  text-align: center;
  margin-bottom: 1.5rem;
}

.blog-link-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #FF9800;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.blog-link-btn:hover {
  background-color: #F57C00;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

.blog-link-btn:active {
  transform: translateY(0);
}

/* 開放前のボタン：見た目をロック状態に */
.blog-link-btn.is-locked {
  background-color: #B0B0B0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: not-allowed;
  position: relative;
}

.blog-link-btn.is-locked:hover {
  background-color: #B0B0B0;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 「準備中」トースト */
.blog-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(40, 40, 40, 0.95);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3000;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  max-width: calc(100% - 2rem);
  text-align: center;
}

.blog-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.blog-update-notice {
  background-color: rgba(255, 152, 0, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.blog-notice-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--color-text);
}

.blog-notice-item:last-child {
  margin-bottom: 0;
}

.blog-notice-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.blog-notice-item strong {
  color: #E65100;
}

/* PC版では開閉機能を無効化（常に表示） */
@media (min-width: 769px) {
  .blog-update-header {
    cursor: default;
  }
  
  .blog-update-header:hover {
    background-color: transparent;
  }
  
  .blog-update-icon {
    display: none;
  }
  
  .blog-update-content {
    max-height: none;
    opacity: 1;
    padding: 0 2rem 2rem 2rem;
  }
}

/* ============================================
   引率講師の紹介
   ============================================ */

/* 校舎タブ */
.teachers-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.teachers-tab-btn {
  padding: 0.7rem 1.5rem;
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.teachers-tab-btn:hover {
  background-color: rgba(14, 139, 98, 0.08);
}

.teachers-tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(14, 139, 98, 0.25);
}

/* 校舎パネル（タブ切り替え） */
.teachers-panel {
  display: none;
}

.teachers-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* 講師カードのグリッド（2カラム） */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 講師カード（丸い顔・名前・詳細ボタン） */
.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-white);
  border: 2px solid var(--color-pastel-green);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.teacher-card-empty {
  border-style: dashed;
  border-color: #D5D5D5;
}

/* 丸い顔写真 */
.teacher-photo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-pastel-green);
  border: 4px solid var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.teacher-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 写真未設定時のプレースホルダー */
.teacher-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border: 2px dashed #C9C9C9;
}

.teacher-photo-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.teacher-card-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin: 1.2rem 0 1.3rem;
}

.teacher-card-empty .teacher-card-name {
  color: var(--color-text-light);
}

/* 詳細ボタン */
.teacher-detail-btn {
  margin-top: auto;
  padding: 0.65rem 1.8rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(244, 127, 46, 0.25);
}

.teacher-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 127, 46, 0.35);
}

.teachers-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem 0;
}

/* ---- 講師モーダル（ポップアップ）---- */
.teacher-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2600;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.teacher-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.teacher-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.teacher-modal-panel {
  position: relative;
  z-index: 1;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.teacher-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}

.teacher-modal-close:hover {
  background-color: #EAEAE6;
}

.teacher-modal-photo-area {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

/* モーダル内の写真は元画像（長方形）を角丸で表示 */
.teacher-modal-photo-rect {
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-pastel-green);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.teacher-modal-photo-rect img {
  width: 100%;
  height: auto;
  display: block;
}

/* 写真プレースホルダー（モーダル・長方形） */
.teacher-modal-photo-rect.teacher-photo-placeholder {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-modal-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
}

/* 所属・趣味 */
.teacher-modal-meta {
  margin: 0 0 1.5rem;
  text-align: left;
  border: 1px solid var(--color-pastel-green);
  border-radius: 10px;
  overflow: hidden;
}

.teacher-modal-meta-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--color-pastel-green);
}

.teacher-modal-meta-row:last-child {
  border-bottom: none;
}

.teacher-modal-meta dt {
  flex-shrink: 0;
  width: 5.5rem;
  padding: 0.7rem 1rem;
  background-color: rgba(200, 230, 201, 0.35);
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.95rem;
}

.teacher-modal-meta dd {
  flex: 1;
  margin: 0;
  padding: 0.7rem 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.teacher-modal-message {
  text-align: left;
}

.teacher-message-title {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 0.8rem;
  padding: 0.3rem 1rem;
  background-color: var(--color-pastel-yellow);
  border-radius: 8px;
}

.teacher-modal-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.9;
  white-space: pre-line;
}

/* モーダル表示中は背面のスクロールを止める */
body.teacher-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .teachers-tabs {
    gap: 0.5rem;
  }

  .teachers-tab-btn {
    flex: 1 1 auto;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }

  .teachers-grid {
    gap: 1rem;
  }

  .teacher-card {
    padding: 1.3rem 0.8rem;
  }

  .teacher-photo-circle {
    width: 90px;
    height: 90px;
    border-width: 3px;
  }

  .teacher-photo-icon {
    font-size: 2rem;
  }

  .teacher-card-name {
    font-size: 1rem;
    margin: 0.9rem 0 1rem;
  }

  .teacher-detail-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }

  .teacher-modal-panel {
    padding: 2.2rem 1.3rem 1.5rem;
  }

  .teacher-modal-photo.teacher-photo-circle {
    width: 130px;
    height: 130px;
  }

  .teacher-modal-name {
    font-size: 1.3rem;
  }
}

/* ============================================
   お知らせセクション
   ============================================ */

.news-box {
  background: linear-gradient(135deg, #FFF8EF 0%, #FFEFD9 100%);
  border: 3px solid var(--color-secondary);
  border-radius: var(--border-radius);
  padding: 0;
  margin-top: 2rem;
  box-shadow: 0 6px 25px rgba(244, 127, 46, 0.15);
  overflow: hidden;
}

/* 開閉ヘッダー（LINEセクションと同じ挙動） */
.news-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.news-toggle-header:hover {
  background-color: rgba(244, 127, 46, 0.1);
}

.news-toggle-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-secondary);
}

.news-toggle-icon {
  font-size: 1.2rem;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.news-box.active .news-toggle-icon {
  transform: rotate(180deg);
}

/* 開閉する中身 */
.news-content-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 2rem;
}

.news-box.active .news-content-wrapper {
  max-height: 4000px;
  opacity: 1;
  padding: 0 2rem 2rem 2rem;
}

.news-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* 次回合宿の告知バナー（お知らせセクションの先頭） */
.news-next-camp {
  margin-bottom: 2rem;
  padding: 1.6rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
  color: var(--color-white);
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 140, 100, 0.25);
}

.news-next-camp-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.news-next-camp-date {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.news-next-camp-date small {
  font-size: 1rem;
  margin-left: 0.15rem;
}

.news-next-camp-text {
  font-size: 1.05rem;
  font-weight: bold;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* カードごとにアクセントカラーを緑・オレンジで交互に */
.news-card:nth-child(even) {
  border-top-color: var(--color-secondary);
}

/* お知らせが1件だけのときは、左に寄らないよう中央に配置する */
.news-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.news-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}

/* 画像枠（顔写真など） */
.news-card-image {
  width: 75%;
  max-width: 240px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 1rem;
  background-color: var(--color-pastel-green);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像未設定時のプレースホルダー（あとから差し替えやすい枠） */
.news-card-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #FAFAF8;
  border: 2px dashed #C9C9C9;
}

.news-card-image-icon {
  font-size: 2rem;
}

.news-card-image-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.news-card-link-area {
  margin-top: auto;
}

.news-card-btn {
  display: block;
  width:60%;
  text-align: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(244, 127, 46, 0.25);
  margin: 2rem auto 0;

}

.news-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 127, 46, 0.35);
}

/* リンク未設定時の「準備中」表示 */
.news-card-btn-disabled {
  background: #C9C9C9;
  color: var(--color-white);
  cursor: not-allowed;
  box-shadow: none;
}

.news-card-btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.news-empty {
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .news-toggle-header {
    padding: 1.2rem 1.2rem;
  }

  .news-toggle-title {
    font-size: 1.15rem;
  }

  .news-content-wrapper {
    padding: 0 1.2rem;
  }

  .news-box.active .news-content-wrapper {
    padding: 0 1.2rem 1.5rem 1.2rem;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-next-camp {
    padding: 1.3rem 1rem;
  }

  .news-next-camp-date {
    font-size: 1.35rem;
  }

  .news-next-camp-text {
    font-size: 0.95rem;
  }
}
/* ============================================
   開催情報バー（開催概要）
   ============================================ */

.overview-section {
  padding: 3rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  color: var(--color-white);
}

.overview-card {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.overview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overview-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.overview-main {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.overview-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.overview-address {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.overview-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-white);
  color: var(--color-primary);
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.overview-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   学習内容
   ============================================ */

.chapter-number {
  font-size: 1rem;
  font-weight: bold;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

/* 学習プログラムのタブ（PC版では非表示） */
.program-tabs {
  display: none;
}

/* プログラムカードのトグル機能（SP用） */
.card-header {
  position: relative;
}

.toggle-icon {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* ============================================
   スケジュール表
   ============================================ */

/* タブメニュー */
.schedule-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(14, 139, 98, 0.05) 0%, rgba(14, 139, 98, 0.02) 100%);
  padding: 1rem;
  border-radius: 12px;
}

.schedule-tabs .tab-btn {
  flex: 1;
  min-width: 150px;
  padding: 1.2rem 2rem;
  background: white;
  border: 2px solid rgba(14, 139, 98, 0.2);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.schedule-tabs .tab-btn:hover {
  background: linear-gradient(135deg, rgba(14, 139, 98, 0.1) 0%, rgba(14, 139, 98, 0.05) 100%);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 139, 98, 0.2);
}

.schedule-tabs .tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(14, 139, 98, 0.3);
  transform: scale(1.02);
}

.schedule-tabs .tab-btn:focus {
  outline: none;
}

.schedule-tabs .tab-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* PC版では横スクロールヒントを非表示 */
.schedule-table-wrapper::after {
  display: none;
}

/* PC版では SP 用カードビューを非表示 */
.schedule-mobile-container {
  display: none;
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  background-color: var(--color-white);
  table-layout: fixed;
}

.schedule-row.tab-content {
  display: none;
}

.schedule-row.tab-content.active {
  display: table-row;
  animation: fadeIn 0.3s ease;
}

.schedule-table th {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  color: var(--color-white);
  padding: 1.2rem;
  font-weight: bold;
  text-align: left;
  font-size: 1.1rem;
}

.schedule-table th:nth-child(1) {
  width: 150px;
}

.schedule-table th:nth-child(2) {
  width: 160px;
}

.schedule-table th:nth-child(3) {
  width: 25%;
}

.schedule-table th:nth-child(4) {
  width: auto;
}

.schedule-table td {
  padding: 0;
  border-bottom: none;
  vertical-align: middle;
}

.schedule-table td:nth-child(1) {
  width: 150px;
}

.schedule-table td:nth-child(2) {
  width: 160px;
}

.schedule-table td:nth-child(3) {
  width: 25%;
}

.schedule-table td:nth-child(4) {
  width: auto;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* テーブル行の背景をリセット */
.schedule-table tbody tr {
  background-color: transparent;
}

.schedule-detail {
  vertical-align: middle;
  padding: 0;
}

.note-item {
  color: var(--color-text-light);
  font-size: 0.9rem;
  background-color: transparent;
}

.location-item {
  color: var(--color-text);
  font-size: 0.95rem;
  background-color: transparent;
}

.schedule-toggle-icon {
  display: none;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.schedule-detail > div {
  padding: 0.6rem 1.2rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0;
  line-height: 1.6;
  min-height: 5.5rem;
  box-sizing: border-box;
}

/* 時間スロット */
.time-slot {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: bold;
  background-color: transparent;
}

/* アクティビティ */
.activity {
  color: var(--color-text);
  font-size: 1rem;
  background-color: transparent;
}

/* 各行の背景色（偶数行のみ） */
.schedule-detail > div:nth-child(odd) {
  background-color: #ffffff;
}

.schedule-detail > div:nth-child(even) {
  background-color: rgba(168, 213, 226, 0.2);
}

/* ============================================
   持ち物リスト
   ============================================ */

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.checklist-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.checklist-item input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checklist-item label {
  cursor: pointer;
  font-size: 1rem;
  flex: 1;
}

.checklist-item.checked {
  background-color: var(--color-pastel-green);
  opacity: 0.7;
}

.checklist-item.checked label {
  text-decoration: line-through;
}

/* ============================================
   アクセス
   ============================================ */

.access-content {
  width: 100%;
}

/* アクセスタブ */
.access-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.access-tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  bottom: -2px;
}

.access-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(168, 213, 226, 0.1);
}

.access-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: transparent;
}

.access-tab-btn:focus {
  outline: none;
}

.access-tab-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* 2カラムレイアウト */
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.access-tab-content-wrapper {
  min-width: 0;
}

.access-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.access-tab-content.active {
  display: block;
}

.access-info-box {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.kyoto-team-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.access-info {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.access-info h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.access-info p {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.access-subtitle {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.access-arrow {
  margin-top: 0.5rem;
}

.access-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.access-note-yellow {
  background-color: var(--color-pastel-yellow);
}

.access-note-blue {
  background-color: var(--color-pastel-blue);
}

.access-note-green {
  background-color: rgba(168, 213, 226, 0.3);
  border-left: 4px solid var(--color-primary);
}

.access-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 2rem 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-step:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flow-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
}

.flow-content {
  flex: 1;
}

.flow-content strong {
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.flow-detail {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.fare-highlight {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.flow-arrow {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.3rem 0;
}

/* SP版のアクセスフロー */
.access-flow-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.flow-step-mobile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.flow-number-mobile {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
}

.flow-text {
  flex: 1;
}

.flow-text strong {
  color: var(--color-secondary);
}

.flow-text span {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.flow-arrow-mobile {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.2rem 0;
}

.access-map {
  border: 0;
}

.access-layout .map-container {
  position: sticky;
  top: 100px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* SP版用のアクセス項目（デフォルトで非表示） */
.access-mobile {
  display: none;
}

/* SP版用の持ち物リスト（デフォルトで非表示） */
.items-mobile {
  display: none;
}

/* SP版用のスケジュールコンテナ（デフォルトで非表示） */
.schedule-mobile-container {
  display: none;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 400px;
  background-color: var(--color-pastel-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-placeholder {
  text-align: center;
  color: var(--color-text-light);
  padding: 2rem;
}

/* ============================================
   飲み物案内ボックス
   ============================================ */

.drink-notice {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: 0 6px 25px rgba(14, 139, 98, 0.15);
  text-align: center;
}

.drink-notice .section-note {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}

.drink-notice strong {
  color: var(--color-primary);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================
   健康管理・安全管理
   ============================================ */

.health-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.health-card h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.health-card p {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hospital-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  text-align: center;
}

.hospital-info h4 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hospital-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(14, 139, 98, 0.3);
  margin-top: 0.5rem;
}

.hospital-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14, 139, 98, 0.4);
}

/* ============================================
   お問い合わせ
   ============================================ */

/* カードが1枚でも2枚でも中央に並ぶようにする
   （緊急連絡先カードを非表示にしている間は、メールのカードが中央に来ます） */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 480px));
  justify-content: center;
  gap: 2rem;
}

.contact-card {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: underline;
}

.contact-card-emergency {
  background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ============================================
   フッター
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  position: relative;
}

.footer-main {
  flex: 0 1 auto;
  max-width: 700px;
}

/* フッターのキャラクター */
.footer-character {
  flex-shrink: 0;
  width: 100px;
}

/* PC版のみ表示 */
@media (min-width: 769px) {
  .footer-character {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* SP版でも表示 */
@media (max-width: 768px) {
  .footer-character {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
  }
  
  .footer-character-img {
    width: 70px;
  }
}

.footer-character-img {
  width: 90px;
  height: auto;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

.footer-character-left .footer-character-img {
  animation-delay: 0s;
}

.footer-character-right .footer-character-img {
  animation-delay: 1s;
}

/* フッター共通コンポーネントのプレースホルダー（JS注入前のCLS抑止） */
#site-footer {
  min-height: 250px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-logo a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-logo a:hover {
  opacity: 0.8;
}

.footer-logo a:hover span {
  text-decoration: underline;
}

.footer-info {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.footer-links span {
  font-size: 0.95rem;
  opacity: 0.9;
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 2rem;
}

/* ============================================
   ブログ（daily-template用）
   ============================================ */

/* ヒーロー（画像右配置 + タイトル/タグ左配置） */
.blog-hero {
  background: linear-gradient(135deg, var(--color-pastel-green) 0%, var(--color-pastel-blue) 100%);
  padding: 3rem 3rem 7rem;
  position: relative;
}

.blog-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.blog-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.blog-breadcrumb {
  font-size: 0.9rem;
  color: var(--color-text-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-breadcrumb a {
  color: var(--color-text-light);
}

.blog-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.blog-breadcrumb .sep {
  opacity: 0.6;
}

.blog-breadcrumb .current {
  color: var(--color-text);
  font-weight: 500;
}

.blog-hero-title {
  font-size: 2.6rem;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

.blog-hero-meta {
  color: var(--color-text-light);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.meta-separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.blog-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.blog-hero-right {
  width: 100%;
}

.blog-hero-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 3 / 2;
  background-color: rgba(255, 255, 255, 0.4);
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2カラムレイアウト：目次 + 本文 */
.blog-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* 目次（sticky） */
.blog-toc {
  position: sticky;
  top: 2rem;
  margin-top: -5rem; /* ヒーロー下にオーバーラップ */
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 1rem 0.5rem;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  z-index: 10;
}

.blog-toc-title {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
}

.blog-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-toc li {
  margin: 0;
}

.blog-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.4;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-toc a::after {
  content: '›';
  color: var(--color-text-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.blog-toc a:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
}

.blog-toc a.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-white);
  font-weight: 600;
}

.blog-content {
  margin: 0;
  padding: 3rem 0;
  min-width: 0;
}

/* ============================================
   ブログ：SP版フローティング目次ボタン + モーダル
   （PC版では非表示）
   ============================================ */

.blog-toc-fab {
  display: none;
}

.blog-toc-modal {
  display: none;
}

@media (max-width: 768px) {
  /* 右下フローティングボタン */
  .blog-toc-fab {
    display: inline-flex;
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 1500;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.3rem;
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  .blog-toc-fab-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
  }

  .blog-toc-fab-icon span {
    display: block;
    width: 16px;
    height: 1.5px;
    background-color: var(--color-text);
  }

  /* モーダル本体（オーバーレイ + パネル） */
  .blog-toc-modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background-color: rgba(0, 0, 0, 0.45);
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .blog-toc-modal.open {
    opacity: 1;
    visibility: visible;
  }

  .blog-toc-modal-panel {
    background-color: var(--color-white);
    border-radius: 14px;
    width: 100%;
    max-width: 540px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.25s ease;
  }

  .blog-toc-modal.open .blog-toc-modal-panel {
    transform: translateY(0);
  }

  .blog-toc-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.4rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .blog-toc-modal ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .blog-toc-modal li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .blog-toc-modal li:last-child {
    border-bottom: none;
  }

  .blog-toc-modal a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .blog-toc-modal a::after {
    content: '⌄';
    color: var(--color-text-light);
    font-size: 1.2rem;
  }
}

.blog-section {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.blog-section h2 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.blog-section p {
  line-height: 1.9;
  margin-bottom: 1rem;
}

.blog-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* PC：トラックは透過し、子の .blog-image が親グリッドに直接乗る */
.blog-images--slider .blog-images-track {
  display: contents;
}

.blog-images-dots,
.blog-images-nav {
  display: none;
}

.blog-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-image-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--color-pastel-yellow) 0%, var(--color-pastel-pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.blog-closing {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: bold;
}

/* 追伸セクション */
.blog-postscript {
  position: relative;
}

.blog-postscript h2 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.postscript-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.postscript-text {
  flex: 1;
}

.postscript-text p {
  line-height: 1.9;
  margin-bottom: 1rem;
}

.postscript-text-continue {
  margin-bottom: 1.5rem;
}

.postscript-text-continue p {
  line-height: 1.9;
  margin-bottom: 1rem;
}

.postscript-signature {
  text-align: right;
  margin-top: 2rem;
  margin-bottom: 0;
  font-weight: bold;
  color: var(--color-text);
  font-family: 'Brush Script MT', 'Brush Script', 'Lucida Handwriting', 'Comic Sans MS', cursive;
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 0.15em;
  transform: rotate(-1deg);
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.postscript-image {
  flex-shrink: 0;
}

.postscript-image.pc-only {
  width: 300px;
  display: block;
}

.postscript-image.sp-only {
  display: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.postscript-image .blog-image {
  width: 100%;
}

.postscript-image .blog-image img,
.postscript-image .blog-image-placeholder {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 400px;
  object-fit: cover;
}

/* 記事下部：他の日のブログへのリンクボタン */
.blog-day-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px dashed var(--color-pastel-green);
  text-align: center;
}

.blog-day-nav-title {
  font-weight: bold;
  color: var(--color-text-light);
  margin-bottom: 1.2rem;
}

.blog-day-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-navigation {
  text-align: center;
  margin-top: 3rem;
}

.back-to-home {
  display: inline-block;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}

.back-to-home:hover {
  background-color: #0a6d4d;
  transform: translateY(-3px);
}

/* ============================================
   ハンバーガーメニュー（SP用）
   ============================================ */

.hamburger {
  display: none;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 200px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section {
    padding: 4rem 2rem;
  }

  .access-content {
    grid-template-columns: 1fr;
  }

  /* ブログ：タブレットでは目次の幅を縮める */
  .blog-layout {
    grid-template-columns: 220px 1fr;
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .blog-hero {
    padding: 2.5rem 1.5rem 6rem;
  }

  .blog-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* SP版：サブメニューを下に表示（タップで開閉） */
  .sidebar-nav .submenu {
    position: static;
    /* PC のドロップダウン用 left/margin-left をリセット
       （これがないと SP で submenu が左に -1.5rem ずれて切れる） */
    left: auto;
    top: auto;
    margin-left: 0;
    min-width: 0;
    width: 90%;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
    border-radius: 8px;
    margin-top: 0.2rem;
  }
  
  .sidebar-nav .has-submenu.active .submenu {
    max-height: 200px;
  }
  
  .sidebar-nav .submenu a {
    padding: 0.5rem 0.7rem 0.5rem 1.8rem;
    font-size: 0.78rem;
  }
  
  .sidebar-nav .has-submenu > a {
    position: relative;
    padding-right: 2.5rem;
  }
  
  .sidebar-nav .has-submenu > a::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
  }
  
  .sidebar-nav .has-submenu.active > a::after {
    transform: rotate(180deg);
  }
  
  /* アクセス：PC版を非表示、SP版を表示 */
  .access-pc {
    display: none;
  }
  
  .access-mobile {
    display: block;
  }
  
  .access-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .access-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.05rem;
  }
  
  .access-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .access-item-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .access-item.active .access-item-content {
    max-height: 1000px;
    opacity: 1;
    padding: 1rem;
  }
  
  .access-item.active .access-toggle-icon {
    transform: rotate(180deg);
  }
  
  .access-item-content p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
  }
  
  .access-item-content p:last-child {
    margin-bottom: 0;
  }
  
  .map-container-mobile {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
  }
  
  .map-container-mobile iframe {
    width: 100%;
    height: 250px;
  }
  
  /* 持ち物リスト：PC版を非表示、SP版を表示 */
  .checklist-pc {
    display: none;
  }
  
  .items-mobile {
    display: block;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  
  .items-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.05rem;
  }
  
  .items-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .items-mobile-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .items-mobile.active .items-mobile-content {
    max-height: 2000px;
    opacity: 1;
    padding: 1rem;
  }
  
  .items-mobile.active .items-toggle-icon {
    transform: rotate(180deg);
  }
  
  .items-mobile .checklist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  /* ハンバーガーメニュー表示 */
  .hamburger {
    display: flex;
  }
  
  /* サイドバーをスライドメニュー化 */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;      /* フォールバック */
    height: 100dvh;     /* モバイルのアドレスバー可変分を考慮した実可視高さ */
    background: linear-gradient(180deg, var(--color-primary) 0%, #0a6d4d 100%);
    padding: 1rem 0.8rem;
    z-index: 1500;
    transition: left 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .sidebar.active {
    left: 0;
  }
  
  .sidebar-logo {
    margin-bottom: 0.8rem;
    flex-shrink: 0;
  }
  
  .logo-image {
    width: 140px;
  }
  
  .logo-been {
    width: 105px;
  }
  
  .logo-separator {
    font-size: 1.1rem;
  }
  
  .sidebar-nav {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: none;
    min-height: 0;
  }
  
  .sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }
  
  .sidebar-nav li {
    margin-bottom: 0.2rem;
  }
  
  .sidebar-nav a {
    padding: 0.65rem 0.7rem;
    font-size: 0.85rem;
  }

  /* SP版：トップレベルの項目もスクロールバーと余白を取るため 90% 幅に
     （submenu 内の項目は除外して submenu 内では full width のまま） */
  .sidebar-nav > ul > li > a {
    width: 90%;
  }

  .sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--color-white);
  }
  
  .sidebar-footer {
    flex-shrink: 0;
    padding-bottom: 0.5rem;
  }

  /* 旧: .sidebar-footer-char { width: 30px } を削除。
     後勝ち上書きで line 335 ブロックの left/right 個別 width を打ち消していた。
     左右別サイズは line 335 SP ブロックで定義済み。 */

  .main-content {
    margin-left: 0;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-content {
    max-width: 95%;
    width: 95%;
    padding: 1rem;
  }
  
  .hero-panel {
    padding: 2rem;
    width: 100%;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .hero-date {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-location {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  
  /* ご案内セクションのSP版スタイル - 開閉式 */
  .guide-toggle-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  
  .guide-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
    color: var(--color-white);
    cursor: pointer;
    user-select: none;
  }
  
  .guide-toggle-title {
    font-size: 1.1rem;
    font-weight: bold;
  }
  
  .guide-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .guide-toggle-wrapper.active .guide-toggle-icon {
    transform: rotate(180deg);
  }
  
  .guide-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .guide-toggle-wrapper.active .guide-content {
    max-height: 3000px;
    opacity: 1;
    padding: 1.5rem;
  }
  
  .guide-main {
    font-size: 1.2rem;
  }
  
  .guide-detail {
    font-size: 1rem;
  }
  
  .guide-note {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
  
  .guide-notice-box {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .guide-notice-item {
    font-size: 1rem;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
  }
  
  .guide-notice-icon {
    font-size: 1.3rem;
  }
  
  .guide-notice-contact {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
  }
  
  .guide-notice-inline {
    padding: 1.2rem;
    margin-top: 1.2rem;
  }
  
  .line-info-box {
    padding: 0;
    margin-top: 1.5rem;
    overflow: hidden;
  }
  
  /* LINEボックスの開閉ヘッダー（SP版用のスタイル調整） */
  .line-toggle-header {
    padding: 1.2rem;
    background: linear-gradient(135deg, #06C755 0%, #05a846 100%);
    color: var(--color-white);
  }
  
  .line-toggle-title {
    font-size: 1.1rem;
    color: var(--color-white);
  }
  
  .line-toggle-icon {
    color: var(--color-white);
  }
  
  .line-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .line-info-box.active .line-toggle-icon {
    transform: rotate(180deg);
  }
  
  .line-info-content-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  }
  
  .line-info-box.active .line-info-content-wrapper {
    max-height: 1500px;
    opacity: 1;
    padding: 1.5rem;
  }
  
  .line-info-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .line-info-content {
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .line-character {
    display: none;
  }
  
  .line-qr-section {
    gap: 1.2rem;
  }
  
  .line-qr-code {
    width: 180px;
    height: 180px;
  }
  
  .line-link a {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
  
  .line-account-name {
    font-size: 1.2rem;
  }
  
  .line-description {
    font-size: 1rem;
  }
  
  /* 開催情報バーをSP版で2列横並びに */
  .overview-section {
    padding: 2rem 1rem;
  }
  
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .overview-card {
    padding: 1.5rem 1rem;
  }
  
  .overview-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .overview-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .overview-main,
  .overview-sub,
  .overview-address {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .overview-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  /* 学習プログラムのタブ（SP版） */
  .program-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding: 1rem 1.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .program-tabs::before,
  .program-tabs::after {
    content: '';
    flex-shrink: 0;
    width: 0.5rem;
  }
  
  .program-tab-btn {
    flex: 1;
    min-width: 85px;
    padding: 0.6rem 0.4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-family: inherit;
    flex-shrink: 0;
  }
  
  .program-tab-btn .tab-icon {
    font-size: 1.3rem;
  }
  
  .program-tab-btn .tab-text {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--color-text);
  }
  
  .program-tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(21, 192, 124, 0.3);
  }
  
  .program-tab-btn.active .tab-text {
    color: var(--color-white);
  }
  
  /* タブコンテンツをSP版では非表示に（タブで制御） */
  .program-card[data-tab-content] {
    display: none;
  }
  
  .program-card[data-tab-content].active {
    display: block;
  }
  
  /* プログラムカードをコンパクトに */
  .card {
    padding: 1rem;
  }
  
  .card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .card-header-text {
    flex: 1;
    min-width: 0;
  }
  
  .chapter-number {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.4rem;
    display: inline-block;
  }
  
  .card-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
  }
  
  /* タブメニューのSP版スタイル */
  .schedule-tabs {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    flex-direction: column;
  }
  
  .schedule-tabs .tab-btn {
    padding: 1rem;
    font-size: 0.95rem;
    min-width: 0;
    width: 100%;
  }
  
  .schedule-tabs .tab-btn.active {
    transform: scale(1);
  }
  
  .schedule-tabs .tab-btn:hover {
    transform: translateY(0);
  }
  
  /* プログラムカードのトグル機能をSP版で無効化（タブで制御） */
  .program-card .card-header {
    cursor: default;
    padding-bottom: 0.8rem;
  }
  
  .program-card .toggle-icon {
    display: none;
  }
  
  .program-card .card-content {
    max-height: none;
    overflow: visible;
    opacity: 1;
    margin-top: 0;
  }
  
  /* スケジュール：SP では元のテーブルを隠し、JS 生成のカードビューを表示 */
  .schedule-table-wrapper {
    display: none;
  }

  .schedule-table-wrapper::after {
    display: none;
  }

  .schedule-mobile-container {
    display: block;
  }

  .schedule-mobile {
    display: none;
  }

  .schedule-mobile.active {
    display: block;
  }

  .schedule-mobile-card {
    background-color: var(--color-white);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }

  /* 時間 / 場所 / 内容 を 1行に並べたヘッダ */
  .schedule-mobile-head {
    display: grid;
    grid-template-columns: max-content max-content 1fr;
    gap: 0.4rem 0.7rem;
    padding: 0.65rem 0.8rem;
    align-items: center;
    background-color: rgba(168, 213, 226, 0.18);
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .schedule-mobile-time {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .schedule-mobile-location {
    color: var(--color-text-light);
    font-size: 0.73rem;
    line-height: 1.3;
  }

  .schedule-mobile-activity {
    font-weight: 600;
  }

  /* 備考は下に 1 行で全幅表示 */
  .schedule-mobile-note {
    padding: 0.6rem 0.8rem;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--color-text);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  .schedule-table {
    display: table;
    width: max-content;
    min-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    background-color: var(--color-white);
    border-collapse: separate;
    border-spacing: 0;
  }
  
  /* テーブルヘッダーを表示 */
  .schedule-table thead {
    display: table-header-group;
  }
  
  .schedule-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    font-size: 0.85rem;
    padding: 0.8rem 0.5rem;
    white-space: nowrap;
  }
  
  .schedule-table tbody {
    display: table-row-group;
  }
  
  .schedule-row {
    display: none;
  }
  
  .schedule-row.tab-content.active {
    display: table-row;
  }
  
  .schedule-row td {
    display: table-cell;
    vertical-align: top;
    padding: 0;
    border: none;
    min-width: 120px;
  }
  
  /* 各カラムの幅を固定 */
  .schedule-row td:nth-child(1) {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
  }
  
  .schedule-row td:nth-child(2) {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }
  
  .schedule-row td:nth-child(3) {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }
  
  .schedule-row td:nth-child(4) {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }
  
  /* PC版のスタイルを維持 */
  .schedule-detail > div {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 0.85rem;
  }
  
  /* 偶数・奇数行の縞模様 */
  .schedule-detail > div:nth-child(odd) {
    background-color: #ffffff;
  }
  
  .schedule-detail > div:nth-child(even) {
    background-color: rgba(168, 213, 226, 0.2);
  }
  
  .checklist {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .drink-notice {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .drink-notice .section-note {
    font-size: 1rem;
  }
  
  .drink-notice strong {
    font-size: 1.2rem;
  }
  
  .contact-card {
    padding: 1.8rem 1.5rem;
  }
  
  .contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .contact-card-emergency h3 {
    font-size: 1rem;
  }
  
  .contact-card a {
    font-size: 1rem;
  }
  
  .contact-note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
  }
  
  .blog-images {
    grid-template-columns: 1fr;
  }

  /* SP版：複数枚の blog-images は横スワイプのスライド */
  .blog-images--slider {
    display: block;
    position: relative;
    margin: 1rem 0;
    padding: 0;
  }

  .blog-images--slider .blog-images-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-images--slider .blog-images-track::-webkit-scrollbar {
    display: none;
  }

  .blog-images--slider .blog-image {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .blog-images--slider .blog-image img,
  .blog-images--slider .blog-image-placeholder {
    height: min(56vw, 280px);
  }

  .blog-images-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(min(56vw, 280px) / 2);
    transform: translateY(-50%);
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .blog-images-nav span {
    display: block;
    margin-top: -0.1em;
  }

  .blog-images-nav:active {
    transform: translateY(-50%) scale(0.96);
    background: #fff;
  }

  .blog-images-nav--prev {
    left: 0.4rem;
  }

  .blog-images-nav--next {
    right: 0.4rem;
  }

  .blog-images-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
  }

  .blog-images-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(14, 139, 98, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .blog-images-dot[aria-current="true"] {
    background: var(--color-primary);
    transform: scale(1.2);
  }

  /* ブログヒーロー（SP版）：横 padding を本文と同じ 24px に統一 */
  .blog-hero {
    padding: 2rem 1.5rem 2.5rem;
  }

  .blog-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .blog-hero-title {
    font-size: 1.7rem;
    line-height: 1.35;
  }

  .blog-hero-subtitle {
    font-size: 1rem;
  }

  .blog-hero-image {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .blog-hero-tags {
    gap: 0.4rem;
  }

  .blog-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
  }

  /* 2カラム→1カラム
     横方向のパディングは .blog-layout に集約（左右 24px）。
     内側の各カードは横 padding を持たず、ここで一括制御する。
     目次ボタンは position:fixed なのでレイアウト幅を占有しない。
     align-items: stretch でグリッドから継承された start を打ち消す（重要） */
  .blog-layout {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1.5rem;
    gap: 1rem;
    box-sizing: border-box;
  }

  /* SP版：blog-section をフラット化、横 padding は 0（layout に任せる） */
  .blog-section {
    width: 100%;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
  }

  .blog-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  /* 追伸セクション（SP版）もフラット化 */
  .blog-postscript {
    background: none;
    box-shadow: none;
    padding: 0.75rem 0;
  }

  /* SP版：blog-images は layout 内なので自然に画面端から 24px の位置に揃う */
  .blog-images:not(.blog-images--slider) {
    margin: 1rem 0;
    gap: 0.5rem;
    padding: 0;
  }

  /* 目次（SP版）：ヘッダー直後に配置・sticky解除・シャドウなし
     横 padding は .blog-layout で一括制御するため 0 */
  .blog-toc {
    position: static;
    margin-top: 0;
    max-height: none;
    background: none;
    padding: 0.5rem 0;
    box-shadow: none;
    border-radius: 0;
  }

  .blog-toc-title {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
    padding: 0 0.25rem 0.5rem;
    letter-spacing: 0;
  }

  .blog-toc ul {
    background-color: #ececec;
    border-radius: 14px;
    padding: 0.25rem 0.5rem;
    box-shadow: none;
  }

  .blog-toc li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .blog-toc a {
    padding: 1.1rem 0.85rem;
    border-radius: 0;
    border: none;
  }

  .blog-toc a::after {
    content: '⌄';
    font-size: 1.2rem;
  }

  .blog-toc a.active {
    background: none;
    border: none;
    color: var(--color-text);
    font-weight: 400;
  }

  .blog-content {
    padding: 1rem 0 0;
  }
  
  /* 追伸セクション（SP版） */
  .postscript-content {
    flex-direction: column;
  }
  
  .postscript-image.pc-only {
    display: none;
  }
  
  .postscript-image.sp-only {
    display: block;
    order: 2;
  }
  
  .postscript-text-continue {
    order: 3;
  }
  
  .postscript-signature {
    order: 4;
  }
  
  .footer-content {
    gap: 1rem;
    padding: 0 0.5rem;
    align-items: flex-start;
  }

  .footer-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* キャラクターを LOGOS LAND × BeEngineer の行に揃える */
  .footer-character {
    margin-top: 0.5rem;
  }

  .footer-character-left {
    margin-top: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0.5rem;
  }
  
  .footer-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-info {
    margin-bottom: 0.8rem;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 1rem 2rem;
    margin: 1.5rem 0;
  }
  
  .footer-links span {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    max-width: 92%;
    width: 92%;
    padding: 0.5rem;
  }

  
  .footer-character {
    width: 65px;
  }
  
  .footer-character-img {
    width: 55px;
  }
  
  .footer-logo-wrapper {
    gap: 0.6rem;
  }
  
  .hero-panel {
    padding: 1.75rem;
    width: 100%;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
  
  .hero-date {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .hero-location {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  
  .hero-cta {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  /* ご案内セクションのさらに小さい画面用スタイル */
  .guide-toggle-header {
    padding: 1rem;
  }
  
  .guide-toggle-title {
    font-size: 1rem;
  }
  
  .guide-toggle-icon {
    font-size: 1.1rem;
  }
  
  .guide-toggle-wrapper.active .guide-content {
    padding: 1.2rem;
  }
  
  .guide-content {
    gap: 1.2rem;
  }
  
  .guide-main {
    font-size: 1.1rem;
  }
  
  .guide-detail {
    font-size: 0.95rem;
  }
  
  .guide-note {
    font-size: 0.85rem;
    padding: 0.7rem;
  }
  
  .guide-notice-box {
    padding: 1.2rem;
    margin-top: 1.2rem;
  }
  
  .guide-notice-item {
    font-size: 0.95rem;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .guide-notice-icon {
    font-size: 1.2rem;
  }
  
  .guide-notice-contact {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
  }
  
  .guide-notice-inline {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .line-info-box {
    padding: 0;
    margin-top: 1.2rem;
  }
  
  .line-toggle-header {
    padding: 1rem;
  }
  
  .line-toggle-title {
    font-size: 1rem;
  }
  
  .line-toggle-icon {
    font-size: 1.1rem;
  }
  
  .line-info-box.active .line-info-content-wrapper {
    padding: 1.2rem;
  }
  
  .line-info-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .line-character {
    display: none;
  }
  
  .line-qr-section {
    gap: 1rem;
  }
  
  .line-qr-code {
    width: 160px;
    height: 160px;
  }
  
  .line-link a {
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
  }
  
  .line-account-name {
    font-size: 1.1rem;
  }
  
  .line-description {
    font-size: 0.95rem;
  }
  
  /* 開催情報バーをさらにコンパクトに */
  .overview-section {
    padding: 1.5rem 0.5rem;
  }
  
  .overview-card {
    padding: 1.2rem 0.8rem;
  }
  
  .overview-icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
  }
  
  .overview-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .overview-main,
  .overview-sub,
  .overview-address {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }
  
  .overview-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  .card {
    padding: 0.9rem 0.8rem;
  }
  
  .card-grid {
    gap: 1rem;
  }
  
  .card-header {
    gap: 0.7rem;
    padding-bottom: 0.7rem;
  }
  
  .card-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-bottom: 0;
  }
  
  .toggle-icon {
    font-size: 1.1rem;
  }
  
  .chapter-number {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.3rem;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
  }
  
  .schedule-table th {
    font-size: 0.75rem;
    padding: 0.6rem 0.4rem;
  }
  
  .schedule-table td {
    padding: 0;
  }
  
  /* 各カラムの幅を固定 */
  .schedule-row td:nth-child(1) {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
  }
  
  .schedule-row td:nth-child(2) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
  }
  
  .schedule-row td:nth-child(3) {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }
  
  .schedule-row td:nth-child(4) {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }
  
  /* スマホ版のスケジュール要素のフォントサイズ調整 */
  .schedule-detail > div {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  /* 横スクロールヒントのサイズ調整 */
  .schedule-table-wrapper::after {
    font-size: 0.7rem;
    padding: 0.4rem 0;
  }
  
  .drink-notice {
    padding: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .drink-notice .section-note {
    font-size: 0.95rem;
  }
  
  .drink-notice strong {
    font-size: 1.1rem;
  }
  
  .contact-card {
    padding: 1.5rem 1.2rem;
  }
  
  .contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }
  
  .contact-card-emergency h3 {
    font-size: 0.9rem;
  }
  
  .contact-card a {
    font-size: 0.95rem;
  }
  
  .contact-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
  }
  
  .health-card {
    padding: 1.5rem;
  }
  
  .health-card h3 {
    font-size: 1.2rem;
  }
  
  .hospital-info {
    padding: 1rem;
  }
  
  .hospital-info h4 {
    font-size: 1.1rem;
  }
  
  .hospital-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================
   アクセシビリティ
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}

/* フォーカス表示 */
a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* サイドバーメニューのフォーカス表示を調整 */
.sidebar-nav a:focus {
  outline: none;
}

/* キーボード操作時のみフォーカスを表示 */
.sidebar-nav a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* ============================================
   ユーティリティクラス
   ============================================ */

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.highlight {
  color: var(--color-secondary);
  font-weight: bold;
}

/* SP専用改行制御 */
.sp-br {
  display: none;
}

.pc-br {
  display: inline;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }
  
  .pc-br {
    display: none;
  }
}

/* ============================================
   フロアマップセクション
   ============================================ */

/* 施設タブ：プラムイン / アイリスイン の切り替え（ピル型） */
.facility-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.facility-tab-btn {
  padding: 0.7rem 1.5rem;
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.facility-tab-btn:hover {
  background-color: rgba(14, 139, 98, 0.08);
}

.facility-tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(14, 139, 98, 0.25);
}

.facility-tab-btn:focus {
  outline: none;
}

.facility-tab-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* 施設コンテンツ（タブで切り替え） */
.facility-content {
  display: none;
}

.facility-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* SP版：施設タブを縦方向に詰めてタップ範囲を確保 */
@media (max-width: 768px) {
  .facility-tabs {
    gap: 0.5rem;
  }

  .facility-tab-btn {
    flex: 1 1 auto;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }
}

/* フロアマップタブ */
.floormap-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.floormap-tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  bottom: -2px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.floormap-tab-btn .floor-icon {
  font-size: 1.2rem;
}

.floormap-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(168, 213, 226, 0.1);
}

.floormap-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: transparent;
}

.floormap-tab-btn:focus {
  outline: none;
}

.floormap-tab-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.floormap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.floormap-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* PC版ではデフォルト非表示 */
@media (min-width: 769px) {
  .floormap-item {
    display: none;
  }
  
  .floormap-item.active {
    display: block;
    animation: fadeIn 0.4s ease;
  }
}

.floormap-item:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.floormap-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  padding: 1rem;
  text-align: center;
  position: relative;
  pointer-events: none;
}

.floormap-title {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.floormap-toggle-icon {
  display: none;
}

.floormap-content {
  display: block;
}

/* PC版：2カラムレイアウト（凡例左、画像右） */
@media (min-width: 769px) {
  .floormap-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
  }
  
  .floormap-image img {
    width: 85%;
    max-width: 600px;
  }
}

.floormap-legend {
  padding: 1.5rem;
}

.floormap-image {
  padding: 1.5rem;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floormap-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.floormap-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floormap-legend li {
  padding: 0.5rem 0;
  color: var(--color-text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.legend-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0a6d4d 100%);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.75rem;
  flex-shrink: 0;
  line-height: 24px;
  text-align: center;
  padding-bottom: 1px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .floormap-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* SP版ではタブボタンを非表示 */
  .floormap-tabs {
    display: none;
  }
  
  .floormap-grid {
    gap: 1.5rem;
  }
  
  .floormap-item {
    transform: none;
  }
  
  .floormap-item:hover {
    transform: none;
  }
  
  .floormap-header {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    pointer-events: auto;
    padding: 0.8rem;
  }
  
  .floormap-title {
    font-size: 1.2rem;
  }
  
  .floormap-toggle-icon {
    display: inline-block;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease;
  }
  
  .floormap-item.active .floormap-toggle-icon {
    transform: rotate(180deg);
  }
  
  .floormap-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .floormap-item.active .floormap-content {
    max-height: 1200px;
  }
  
  .floormap-image {
    padding: 0.8rem;
  }
  
  .floormap-image img {
    max-width: 100%;
    width: 100%;
  }
  
  .floormap-legend {
    padding: 0.8rem 1rem;
  }
  
  .floormap-legend li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
  }
}

/* 超小型画面対応（360px以下） */
@media (max-width: 360px) {
  .footer-character {
    width: 55px;
  }

  .footer-character-img {
    width: 45px;
  }

  .footer-content {
    gap: 0;
    padding: 0 0.3rem;
  }

  .footer-logo-wrapper {
    gap: 0.5rem;
  }

  /* ブログ：極小画面では 20px に縮小（最低ライン） */
  .blog-layout {
    padding: 0 1.25rem;
  }

  .blog-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

