/* 全体のスタイル */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* ヒーローセクション */
.hero-section {
    background: url('../assets/TOP.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 80vh;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-logo {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.hero-content {
    flex: 1;
    padding: 2rem;
}

@media (max-width: 991.98px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-logo, .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-logo {
        margin-bottom: 2rem;
    }
}

/* カードスタイル */
.card {
    border: none;
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px; /* 環境保全.jpgと同じ高さに統一 */
    object-fit: cover;
    border-radius: 10px 10px 0 0; /* 上部の角を丸く */
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ナビゲーション */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* ボタンスタイル */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* アコーディオンスタイル */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #000;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* フッタースタイル */
footer {
    margin-top: 4rem;
    padding: 3rem 0;
    background-color: #1a1a1a;
    color: #fff;
}

/* フッターのコンテンツスタイル */
footer .container {
    max-width: 1200px;
}

footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

footer p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer li {
    margin-bottom: 0.75rem;
}

footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* フッターの列のスタイル */
footer .row {
    margin-bottom: 2rem;
}

footer .col-md-6 {
    margin-bottom: 2rem;
}

/* フッターのコピーライト */
footer .copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    footer .row {
        text-align: center;
    }
    
    footer .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    footer ul {
        text-align: left;
    }
}

/* 年間スケジュールスタイル */
.timeline-container {
    padding: 2rem 0;
}

.timeline-item {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-month {
    position: absolute;
    top: -10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-image-container {
    height: 200px;
    overflow: hidden;
}

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

.timeline-caption {
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.timeline-caption h4 {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: #333;
    font-weight: 500;
}

/* レスポンシブデザイン */
/* SNSアイコン */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: #0d6efd;
    text-decoration: none;
}

/* スマホ表示用 */
@media (max-width: 575.98px) {
    .social-icons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons a {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        height: auto;
        padding: 4rem 0;
    }
    
    .hero-section .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .timeline-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .timeline-image-container {
        height: 150px;
    }
}
