@charset "UTF-8";

/* 基本スタイルのリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
/* html全体の設定 */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    line-height: 1.7;
    color: black;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
/* ナビゲーションバーとハンバーガーメニュー */
.logo h1{
    font-size: 2.5rem;
}
.menu-toggle {
    display: none;
}
.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}
.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
    position: absolute;
    content: '';
    height: 4px;
    width: 100%;
    background: #0bd;
    border-radius: 2px;
    transition: 0.4s;
}
.menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}
.menu-icon span::before {
    top: -10px;
}
.menu-icon span::after {
    top: 10px;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    color: #0bd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 500;
}
.main-nav {
    list-style: none;
    display: flex;
}
.main-nav li {
    margin: 0 15px;
    border-radius: 2px;
}
.main-nav a {
    color: #0bd;
    text-decoration: none;
    font-weight: 700;
    border-radius: 2px;
}
.main-nav a:hover {
    color: #00404b;
    transition: color 0.7s ease;
}
/* ホーム */
.hero {
    background-size: cover;
    background-position: center top;
    overflow: hidden;
    
}
#home {
    background-image: url(images/hero_blur.png);
    
    min-height: 100vh;
    text-align: center;
}
.home-content {
    margin-top: 20%;
}
.home-content p {
    font-size: 1.75rem;
    margin: 10px 0 42px;
    font-weight: 700;
    color: white;
}
.home-content h2 {
    font-size: 6rem;
    color: white;

}
.button {
    font-size: 1.25rem;
    font-weight: 700;
    background: #0bd;
    color: white;
    border-radius: 5px;
    padding: 18px  32px;
}
.button:hover {
    background: #0090aa;
    transition: background 0.7s ease;
}
/*概要*/
.about-section {
    padding: 5%;
    background-color: aliceblue;
}
.about-section h2 {
    font-size: 3rem;
    color: #0bd;
}
.about-section p {
    font-size: 1.5rem;
    font-weight: 700;
}
/* お知らせセクションのSNS埋め込み */
.info-box {
    margin-bottom: 30px;
}
.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 500;
}

.info-date {
    color: #555;
    font-weight: bold;
    margin-right: 10px;
}
.news-section {
    padding: 5%;
    background-color: white;
}
.news-section h2{
    font-size: 3rem;
    color: #0bd;
}
.news-section p {
    font-size: 1.5rem;
    font-weight: 700;
}
.sns-embed {
    display: flex;
    justify-content: left;
    gap: 20px;
}
.twitter, .instagram {
    margin-right: 20px;
    max-width: 320px;
}

/* イベントセクションのタイル型レイアウト */
.events-section {
    padding: 5%;
    background-color: aliceblue;
}
.events-section h2 {
    font-size: 3rem;
    color: #0bd;
}
.events-section h3 {
    font-size:  2.5rem;
    color: #0bd;
}
.events-section p {
    font-size: 1.5rem;
    font-weight: 700;
}
.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;

}
.event-tile img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}
.event-tile img:hover {
    opacity: 0.5;
    transition: 0.3s;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding-top: 80px;
}
.modal-description {
    color: black;
    font-size: 1.5rem;
    max-width: 90%;
    margin: auto;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    line-height: 1.2;
}
.modal-description h2 {
    color: #0bd;
}
.modal-description h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
}
.modal-description p {
    text-align: left;
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* アクセスセクションのマップ埋め込み */
.access-section {
    padding: 5%;
    background-color: white;
}
.access-section h2 {
    font-size: 3rem;
    color: #0bd;
}
.access-section p {
    font-size: 1.5rem;
    font-weight: 700;
}
.map iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 0;
}

/* フッターのスタイル */
footer {
    text-align: center;
    padding: 10px;
    background-color: #0bd;
    color: white;
}

/* スマホ等の画面サイズが小さい端末用の調整 */
@media (max-width: 600px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    .navbar li {
        font-size: 1.5rem;
    }
    .home-content h2{
        font-size: 3rem;
        font-weight: 900;
    }
    .home-content p{
        font-size: 1.5rem;
    }
    .button {
        font-size: 1.25rem;
    }
    .about-section h2{
        font-size: 2rem;
    }
    .about-section p{
        font-size: 1.2rem;
    }
    .news-section h2{
        font-size: 2rem;
    }
    .news-section p{
        font-size: 1.2rem;
    }
    .events-section h2{
        font-size: 2rem;
    }
    .events-section h3{
        font-size: 1.5rem;
    }
    .events-section p{
        font-size: 1.2rem;
    }
    .event-gallery {
        grid-template-columns: repeat(3,1fr);
    }
    .event-tile img {
        width: 100px;
        height: 100px;
        object-fit:cover;
    }
    .modal-description h2 {
        font-size: 2rem;
    }
    .modal-description p {
        font-size: 1.2rem;
    }
    .access-section h2{
        font-size: 2rem;
    }
    .access-section p{
        font-size: 1.2rem;
    }
    .sns-embed{
        flex-flow: column;
    }
    .twitter iframe{
        width: 100%;
    }
   .instagram iframe{
        width: 100%;
   }
   .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 100%;
        text-align: left;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menu-icon {
        display: block;
    }

    .menu-toggle:checked + .menu-icon span {
        background: transparent;
    }

    .menu-toggle:checked + .menu-icon span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle:checked + .menu-icon span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .menu-toggle:checked ~ .main-nav {
        display: flex;
    }
}
