/* ============================================
   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;
  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);
  transform: translateX(5px);
}

.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);
  transform: translateX(5px);
}

.sidebar-footer {
  text-align: center;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: auto;
  padding-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sidebar-footer-text {
  line-height: 1.4;
}

.sidebar-footer-char {
  width: 35px;
  height: auto;
  opacity: 0.8;
}

/* ============================================
   メインコンテンツエリア
   ============================================ */

.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;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.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;
}


/* ============================================
   ブログ更新セクション
   ============================================ */

.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-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;
  }
}

/* ============================================
   開催情報バー（開催概要）
   ============================================ */

.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;
}

.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);
}

/* ============================================
   お問い合わせ
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  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 h3 a {
  color: #66b3ff;
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: bold;
}

.contact-card h3 a:hover {
  color: #4da6ff;
  text-shadow: 0 0 8px rgba(102, 179, 255, 0.5);
}

.contact-logo a {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-logo a:hover {
  transform: scale(1.05);
}

.contact-card-emergency {
  background: linear-gradient(135deg, var(--color-primary) 0%, #12a876 100%);
}

.contact-card-beengineer {
  background: linear-gradient(135deg, #0B7150 0%, #0a5d42 100%);
}

.contact-logo {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-logo-img {
  width: 200px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.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;
  }
}

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

.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;
}

.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;
  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-header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--color-pastel-green) 0%, var(--color-pastel-blue) 100%);
}

.blog-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-meta {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.meta-separator {
  margin: 0 1rem;
}

.blog-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 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;
}

.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-navigation {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.blog-nav-link {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #ff9a5a 100%);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 127, 46, 0.3);
  text-decoration: none;
}

.blog-nav-link:hover {
  background: linear-gradient(135deg, #ff9a5a 0%, var(--color-secondary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 127, 46, 0.4);
}

.back-to-home {
  display: inline-block;
  margin: 1rem auto 2rem;
  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;
  box-shadow: 0 4px 15px rgba(14, 139, 98, 0.3);
  width: 100%;
  flex-basis: 100%;
}

.back-to-home:hover {
  background-color: #0a6d4d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14, 139, 98, 0.4);
}

/* ============================================
   ハンバーガーメニュー（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;
  }
}

@media (max-width: 768px) {
  /* SP版：サブメニューを下に表示（タップで開閉） */
  .sidebar-nav .submenu {
    position: static;
    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;
    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;
  }
  
  .sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--color-white);
  }
  
  .sidebar-footer {
    flex-shrink: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }
  
  .sidebar-footer-char {
    width: 30px;
  }
  
  .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;
  }
  
  /* 開催情報バーを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;
  }
  
  /* スケジュールのスマホ版スタイル - 横スクロール対応 */
  .schedule-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    margin-bottom: 0.5rem;
  }
  
  /* 横スクロールヒント（SP版で表示） */
  .schedule-table-wrapper::after {
    content: "← スワイプして全体を表示 →";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }
  
  .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-navigation {
    gap: 0.8rem;
  }
  
  .blog-nav-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    flex: 1;
    min-width: 140px;
  }
  
  .back-to-home {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
  
  /* 追伸セクション（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 {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
    align-items: center;
  }
  
  .footer-main {
    max-width: 100%;
    width: 100%;
    order: 2;
  }
  
  .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;
  }
  
  /* 開催情報バーをさらにコンパクトに */
  .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;
  }
}

/* ============================================
   フロアマップセクション
   ============================================ */

/* フロアマップタブ */
.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;
  }
}

