/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #8B4513;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8B4513;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    position: relative;
}

.slideshow-container {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-content {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem !important;
    color: #FFD700;
    font-weight: bold;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 特徴セクション */
.features {
    padding: 4rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* セクション共通スタイル */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #8B4513;
}

/* 静杖会とはセクション */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text h3 {
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.martial-arts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.martial-art-item {
    text-align: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.martial-art-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.martial-art-item h4 {
    color: #8B4513;
    font-size: 1.2rem;
}

/* 稽古案内セクション */
.practice {
    padding: 5rem 0;
    background: #f8f9fa;
}

.practice-content {
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 0.5rem;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.info-card li::before {
    content: '• ';
    color: #8B4513;
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.info-card a {
    color: #8B4513;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* 活動報告セクション */
.activity {
    padding: 5rem 0;
    background: white;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.activity-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.activity-date {
    font-size: 0.95rem;
    color: #A0522D;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.activity-card h3 {
    margin: 1rem 0;
    color: #8B4513;
    font-size: 1.4rem;
}

.activity-card p {
    line-height: 1.8;
}

.activity-more {
    text-align: center;
    margin-top: 3rem;
}

.activity-button {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
}

.activity-button:hover {
    background-color: #A0522D;
}

/* 行事予定セクション */
.schedule {
    padding: 5rem 0;
    background: white;
}

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

.calendar-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.calendar-embed {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.calendar-embed iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* お問い合わせセクション */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.form-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.form-container iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-direct {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-direct a {
    color: #8B4513;
    text-decoration: none;
    font-size: 1.2rem;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #8B4513;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .martial-arts-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .calendar-embed iframe {
        width: 100%;
        height: 400px;
    }

    .form-container iframe {
        width: 100%;
        height: 600px;
    }

    .prev, .next {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .activity-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.info-card,
.martial-art-item {
    animation: fadeInUp 0.6s ease-out;
}

/* ローディングアニメーション */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}



.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px; /* ロゴ画像の高さ */
    margin-right: 10px; /* ロゴとテキストの間隔 */
}



.contact-button {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #A0522D;
}
