/* ========================================
   グローバルスタイル
======================================== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ローディング画面 */
body.loading {
    overflow: hidden;
}

.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.page-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* コンテンツのちらつき防止 */
.content-wrapper {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

body.loading .content-wrapper {
    opacity: 0;
    visibility: hidden;
}

.content-wrapper.loaded {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   ヘッダー
======================================== */
.header-top {
    background: var(--gradient-1);
    color: white;
    padding: 10px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info span {
    margin-right: 20px;
}

.header-info i {
    margin-right: 5px;
}

.admin-link {
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.navbar {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo .subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-1);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 600px;
    background: url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================================
   ボタン
======================================== */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   セクション
======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    gap: 10px;
}

.bg-light {
    background: var(--bg-light);
}

/* ========================================
   お知らせ・ニュースグリッド
======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 20px;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.news-card-category {
    background: var(--gradient-1);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   About Section
======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Features Section
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Events
======================================== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 25px;
    align-items: center;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--gradient-1);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date-day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.event-date-month {
    font-size: 0.875rem;
    display: block;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.event-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}



/* ========================================
   Page Header
======================================== */
.page-header {
    background: var(--gradient-1);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ========================================
   Content Box
======================================== */
.content-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    line-height: 1.8;
}

.content-box p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* ========================================
   Principal Message
======================================== */
/* ========================================
   Philosophy
======================================== */
.philosophy-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    text-align: center;
}

.philosophy-box h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.philosophy-box p {
    color: var(--text-light);
    line-height: 1.8;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.goal-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.goal-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.goal-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.goal-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Info Table
======================================== */
.info-table {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    width: 200px;
}

.info-table td {
    color: var(--text-light);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   Facilities
======================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card h4 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.facility-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* ========================================
   Events Filter
======================================== */
.events-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.season-section {
    margin-bottom: 60px;
}

.season-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.season-title i {
    color: var(--primary-color);
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========================================
   Newsletter
======================================== */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.newsletter-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.newsletter-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.newsletter-card .issue-info {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.newsletter-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ========================================
   Blog
======================================== */
.blog-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination button {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary-color);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Blog Detail
======================================== */
.blog-detail {
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--bg-light);
}

.blog-detail article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-header {
    padding: 40px;
    background: var(--gradient-1);
    color: white;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.article-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    line-height: 1.3;
}

.article-image {
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 40px;
    line-height: 1.8;
    color: var(--text-light);
}

.article-content p {
    margin-bottom: 20px;
}

/* ========================================
   Access
======================================== */
.access-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.access-details {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.access-details h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.access-map {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    min-height: 400px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.transportation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.transport-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.transport-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.transport-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.transport-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.district-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.district-info > p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.district-list {
    list-style: none;
    margin: 30px 0;
}

.district-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* ========================================
   Contact Form
======================================== */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-message {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* ========================================
   FAQ
======================================== */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h3 i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .news-grid,
    .blog-grid,
    .newsletter-grid {
        grid-template-columns: 1fr;
    }

    .principal-message {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .access-info {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    /* フッターのモバイル最適化 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 20px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
        display: inline-block;
        width: auto;
    }
    
    .footer-section p,
    .footer-section ul {
        text-align: center;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        padding: 20px 15px 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    

}

@media (max-width: 480px) {
    .header-info span {
        display: none;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section {
        padding: 40px 0;
    }

    .contact-form,
    .content-box {
        padding: 20px;
    }
    
    /* 小型スマホのフッター最適化 */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section {
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    

}
/* Transportation Section */
.transportation-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.transportation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.transport-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.transport-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.transport-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.transport-card p {
    font-size: 16px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .transportation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .transport-card {
        padding: 20px;
    }
    
    .transport-card i {
        font-size: 36px;
    }
}

/* Google Map Container */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* ========================================
   追加のモバイル最適化
======================================== */

/* タブレット・スマホ共通 */
@media (max-width: 768px) {
    /* ヘッダーの最適化 */
    .header-top {
        padding: 8px 0;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo .subtitle {
        font-size: 0.85rem;
    }
    
    /* セクション間隔の調整 */
    .section {
        padding: 50px 0;
    }
    
    /* カードグリッドの最適化 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card,
    .news-card,
    .event-card {
        margin-bottom: 15px;
    }
    
    /* ボタンの最適化 */
    .btn {
        padding: 14px 30px;
        font-size: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* テーブルの横スクロール */
    .info-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .info-table table {
        min-width: 100%;
    }
}

/* 小型スマホ専用 */
@media (max-width: 480px) {
    /* コンテナのパディング調整 */
    .container {
        padding: 0 15px;
    }
    
    /* ロゴの最適化 */
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo .subtitle {
        font-size: 0.75rem;
    }
    
    /* セクション間隔の縮小 */
    .section {
        padding: 35px 0;
    }
    
    /* カードのパディング縮小 */
    .feature-card,
    .news-card,
    .event-card,
    .goal-card {
        padding: 20px 15px;
    }
    
    /* ページヘッダーの最適化 */
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

/* 極小スマホ対応 (360px以下) */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}
