@charset "utf-8";
* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
img {
    width: 100%;
    vertical-align: bottom;
}
html {
    scroll-behavior: smooth;
    scroll-padding: 150px;
}
p {
    padding: 0 20px;
}
/* haeder */
.pc-header {
    display: none;
    /* background-color: #003b73; */
    background-color: #ffffff79;
    justify-content: space-between;
    width: 100%;
}
.pc-nav a {
    color:rgb(8 3 63) ;
    font-weight: bold;
}

.sp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* headerの固定 */
    position: fixed; /* 固定表示する */
    top: 0; /* 画面の上に固定 */
    left: 0; /* 左端に固定 */
    width: 100%; /* 横幅いっぱいに広げる */
    background-color: #003b73;
    /* background-color: rgba(255, 255, 255, 0.903); 背景色（透明だと下の要素が透ける） */
    z-index: 1000; /* コンテンツより上に表示する */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* （お好み）影で浮かせる */
}
.sp-header .ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999999;
}
.ham span {
    width: 100%;
    height: 3px;
    background-color: #fff6f6;
    display: block;
    transition: 0.7s;
}
/* click後のスタイル */
.ham.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.ham.active span:nth-child(2) {
    opacity: 0;
}
.ham.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.slider {
    width: 100%;
    margin: 0px auto 50px;
}
.slider img {
    height: 70vh;
    width: 100%;
    object-fit: cover;
}

.sp-rogo {
    width: 100px;
}
.pc-header {
    width: 500px;
}

/* nav */
.sp-nav {
    width: 100%;
    height: 100vh;
    background-color: #00aaff;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 1s;
}
.sp-nav.active {
    opacity: 1;
    pointer-events: all;
}

@media (min-width: 768px) {
    .sp-header,
    .sp-nav {
        display: none;
    }
    .pc-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: fixed; /* 固定表示する */
        top: 0; /* 画面の上に固定 */
        left: 0; /* 左端に固定 */
        width: 100%; /* 横幅いっぱいに広げる */
        /* background-color: white; 背景色（透明だと下の要素が透ける） */
        z-index: 1000; /* コンテンツより上に表示する */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* （お好み）影で浮かせる */
    }
    .pc-header h1 {
        width: 200px;
    }

    .pc-nav ul {
        display: flex;
        gap: 30px;
        justify-content: space-between;
    }
    .pc-nav ul li {
        border-right: 2px solid #ccc;
        padding-right: 20px;
    }
}

.midokoro {
    /* ギザギザ */
    position: relative;
    /* background: color #003b73; */
    padding: 60px 20px;
    background: #e0f7ff;
}
.midokoro::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        -45deg,
        #003b73,
        #66ccff 10px,
        white 10px,
        white 20px
    );
}
.midokoro h2 {
    color: #003b73;
    text-align: center;
    padding: 10px;
}
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.8s;
}
.fadein.active {
    opacity: 1;
    transform: translateY(0);
}

.midokoro-item img {
    padding: 30px;
    text-align: center;
}

.midokoro-item h3 {
    color: #003b73;
    text-align: center;
    margin: 10px;
}
.midokoro-item p {
    color: #003b73;
    margin: 0 auto;
    padding-bottom: 30px;
}
.event {
    border: 1px solid #ccc;
    background-color: #003b73;
}
.event h2 {
    color: #fff;
    text-align: center;
    margin-top: 50px;
}
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: 1.8s;
}
.fadein.active {
    opacity: 1;
    transform: translateY(0);
}


.event-flex img {
    padding: 20px;
}
.event-flex h3 {
    color: #fff;
    text-align: center;
}
.event-item p {
    color: #fff;
    margin: 0 auto;
    padding: 30px;
}

.bubble-gallery {
    position: relative;
    background: radial-gradient(circle at bottom, #b3ecff, #0066cc);
    color: white;
    text-align: center;
    padding:20px;
    overflow: hidden;
}
/* 泡の基本スタイル */
.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0.8;
    animation: bubbles 20s infinite ease-in;
}

/* 泡ごとに位置・サイズ・速度をランダムに変える */
.bubble:nth-child(3) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.bubble:nth-child(4) {
    left: 30%;
    width: 25px;
    height: 25px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.bubble:nth-child(5) {
    left: 50%;
    width: 15px;
    height: 15px;
    animation-delay: 4s;
    animation-duration: 9s;
}
.bubble:nth-child(6) {
    left: 70%;
    width: 30px;
    height: 30px;
    animation-delay: 1s;
    animation-duration: 14s;
}
.bubble:nth-child(7) {
    left: 85%;
    width: 18px;
    height: 18px;
    animation-delay: 3s;
    animation-duration: 11s;
}
.bubble:nth-child(8) {
    left: 20%;
    width: 12px;
    height: 12px;
    animation-delay: 5s;
    animation-duration: 8s;
}
.bubble:nth-child(9) {
    left: 60%;
    width: 22px;
    height: 22px;
    animation-delay: 6s;
    animation-duration: 13s;
}
.bubble:nth-child(10) {
    left: 90%;
    width: 17px;
    height: 17px;
    animation-delay: 7s;
    animation-duration: 10s;
}

/* アニメーションの動き */
@keyframes bubbles {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-300px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(-1500px) scale(0.9);
        opacity: 0;
    }
}
/* 波 */
/* .wave .bubble-gallery {
    position: relative;
    background: #b2ebf2;
    padding: 60px 20px;
    text-align: center;
}
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
} */

.bubble-gallery h2 {
    color: #fff;
    text-align: center;
    padding: 20px;
    /* margin-top: 20px; */
}
.bubble-gallery img {
    /* padding: 20px; */
}
.gallery-item p {
    margin: 0 auto;
    justify-content: center;
    color: #fff;
    padding: 20px 0;
}
.access h2 {
    text-align: center;
    color: #6d6060;
}
.access ol li {
    padding-left: 40px;
}
.inner {
    padding: 20px 0 20px 20px;
}
@media (min-width: 768px) {
    .midokoro-flex {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .midokoro h2 {
        padding: 30px;
        font-size: 40px;
    }
    .midokoro img {
        width: 33%;
        height: 300px;
        margin: 0 auto;
    }
    .midokoro-item img {
        aspect-ratio: 10/7;
        object-fit: cover;
        width: 30vw;
    }
    .event h2 {
        font-size: 40px;
    }

    .event-flex {
        display: flex;
        justify-content: center;
    }
    .event-item img {
        width: 500px;
        height: 300px;
        object-fit: cover;
        justify-content: center;
        align-items: center;
        display: block;
        margin: 0 auto;
        /* margin-left: auto;
        margin-right: auto; */
    }
    .event p {
        padding: 20px;
    }
    .gallery {
        background-color: ;
    }
    .gallery-flex {
        display: flex;
        flex-wrap: wrap;
    }
    .gallery-item {
        width: 30%;
    }
    .gallery-item img {
        aspect-ratio: 10/7;
    }
    .gallery h2 {
        font-size: 40px;
        padding: 20px 0;
    }
    .gallery-item {
        width: 33%;
        margin-bottom: 30px;
    }
}
.inner-flex {
    /* display: flex; */
    padding: 20px;
    justify-content: center;
}
.map {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    text-align: center;
}
.map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.eigyou-item {
    display: block;
    background-color: #66aaff;
    color: #fff;
    width: 100%;
    height: auto;
    padding: 10px;
    margin: 0 auto 75px;
}
.eigyou-item h4 {
    text-align: center;
}
.eigyou-item p {
    text-align: center;
}
.eigyou-item a {
    margin-bottom: 30px;
    text-align: center;
}
.access {
    height: 700px;
    background-color: #003b73;
}
.access h2 {
    font-size: 40px;
    color: #fff;
}
@media (min-width: 768px) {
    .inner-flex {
        display: flex;
        justify-content: center;
        align-items: center;
        display: block;
        margin: 0 auto;
    }
    .iframe-item {
        text-align: center;
    }
    .eigyou-item {
        text-align: center;
    }
}
footer p {
    text-align: center;
}
