@charset "UTF-8";

/* ========================================
   大通水族館公式サイト - style.css
   モバイルファースト / 海の深さを表現するグラデーション背景
======================================== */

/* ----------------------------------------
   基本設定
---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", "メイリオ", sans-serif;
}

img {
    width: 100%;
    vertical-align: bottom;
}

/* ----------------------------------------
   背景：浅瀬→深海グラデーション
---------------------------------------- */
body {
    background: linear-gradient(to bottom, #66ccff, #003b73);
    color: #fff;
    line-height: 1.6;
}

/* ----------------------------------------
   ヘッダー
---------------------------------------- */
header {
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 60%;
    align-items: center;
    padding: 0 25px;
    background: rgba(102, 204, 255, 0.9);
    backdrop-filter: blur(6px);
}

header h1 img {
    width: 80px;
    padding: 5px;
}

/* ----------------------------------------
   ハンバーガーメニュー
---------------------------------------- */
.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s;
}

/* 開閉アニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(15px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-15px);
}

/* ----------------------------------------
   ナビゲーション
---------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    border-radius: 0px 0px 0px 10px;
    background: rgba(0, 0, 40, 0.95);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav.active {
    right: 0;
}

.nav ul {
    text-align: center;
}
.nav h2 {
    display: block;
    font-size: 2em;
    font-weight: bolder;
    color: skyblue;
    position: relative;
    top: -100px;
}
.nav li {
    margin: 30px 0 30px;
}

.nav a {
    color: #fff;
    font-size: 1.3rem;
    transition: 0.3s;
    font-weight: bolder;
}

.nav a:hover {
    color: darkblue;
}

/* PC表示では常時表示 */
@media (min-width: 768px) {
    header {
        gap: 60%;
        justify-content: center;
    }
    .nav h2 {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .nav {
        position: static;
        height: auto;
        background: none;
    }
    .nav ul {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
    .nav a {
        font-size: 1.1em;
    }
    header h1 img {
        width: 100px;
        padding: 5px;
    }
}

/* ----------------------------------------
   メインビジュアル（ヒーロースライダー）
---------------------------------------- */
.hero {
    position: relative;
    top: 80px;
    z-index: -1;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 25s infinite;
}

.slide img:nth-child(1) {
    animation-delay: 0s;
}
.slide img:nth-child(2) {
    animation-delay: 5s;
}
.slide img:nth-child(3) {
    animation-delay: 10s;
}
.slide img:nth-child(4) {
    animation-delay: 15s;
}
.slide img:nth-child(5) {
    animation-delay: 20s;
}

@keyframes fade {
    0%,
    100% {
        opacity: 0;
    }
    5%,
    20% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
}

/* キャッチコピー */
.open {
    display: block;
    background: #aceaff;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 10px;
    font-size: 18px;
    border-radius: 8px;
    color: #00334d;
    font-weight: bold;
    position: relative;
    bottom: 15px;
    z-index: 1;
}
@media (min-width: 768px) {
    .hero {
        height: 90vh;
        top: 90px;
    }
    .open {
        font-size: 2em;
    }
}
/* ----------------------------------------
   MENU（トップメニューアイコン）
---------------------------------------- */
.MENU {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    background-image: url(../img/santihaheshuno-qi-canwokime.jpg);
    background-size: cover;
}

.icon {
    text-align: center;
    width: fit-content;
}

.icon p {
    font-size: 20px;
    font-weight: bold;
}

.icon a {
    color: #6b4c3b;
}

.icon img {
    width: 50px;
    transition: transform 0.4s ease;
}
.eigyo {
    display: none;
}
@media (min-width: 768px) {
    .eigyo {
        color: #6b4c3b;
        font-size: 1.8em;
        display: block;
        width: fit-content;
        text-align: center;
        font-weight: bold;
    }
    .icon p {
        font-size: 30px;
        font-weight: bold;
    }
    .icon img {
        width: 60px;
        transition: transform 0.4s ease;
    }
    .MENU {
        padding: 0 25px;
        background-size: cover;
        align-items: center;
    }
}

/* アニメーション：揺れる波のような動き */
.icon:hover {
    animation: tilt 0.6s infinite alternate;
}

@keyframes tilt {
    0%,
    100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

/* ----------------------------------------
   PICKUP（注目スポット）
---------------------------------------- */
.PICKUP {
    background: linear-gradient(#aceaff, #8a96ff);
}
.PICKUP2 {
    background: linear-gradient(#8a96ff, #2a38ff);
}
.PICKUP3 {
    background: linear-gradient(#2a38ff, #1d1b73);
}

.PICKUP h2 {
    text-align: center;
    padding: 40px 0 0;
    color: #fff;
    font-size: 1.8em;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}
.PICKUP h3,
.PICKUP2 h3,
.PICKUP3 h3 {
    text-align: center;
    padding: 40px 0 10px;
    color: #fff;
    font-size: 1.8em;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.img-slider {
    padding-top: 70px;
}

.img-slider p {
    width: 90%;
    font-size: 1.1em;
    font-weight: lighter;
    color: #fff;
    padding: 30px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.btn a {
    display: block;
    width: 95%;
    margin: 0 auto;
    border: 3px solid #fff;
    padding: 5px;
    text-align: center;
    color: #fff;
    border-radius: 30px;
}

/* 水槽画像を丸く湾曲 */
.kurage-img img {
    width: 95%;
    height: 280px;
    border-radius: 0% 25% 25% 0% / 15% 50% 50% 10%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
    .kurage-img img {
        width: 65vw;
        height: 450px;
    }
    .PICKUP h2 {
        text-align: center;
        padding: 40px 0 0;
        color: #fff;
        font-size: 2.2em;
    }
    .PICKUP h3,
    .PICKUP2 h3,
    .PICKUP3 h3 {
        text-align: center;
        padding: 40px 0 10px;
        color: #fff;
        font-size: 2em;
    }
    .img-slider p {
        width: 90%;
        font-size: 1.3em;
        font-weight: lighter;
        color: #fff;
        padding: 40px;
    }
    .btn a {
        display: block;
        width: 70%;
        margin: 0 auto;
        border: 4px solid #fff;
        padding: 10px;
        text-align: center;
        color: #fff;
        border-radius: 30px;
        border-radius: 50px;
    }
    .img-slider p {
        margin: 0 auto;
    }
    .picup-flex03 {
        width: 40%;
    }
    .img-slider {
        display: flex;
        justify-content: space-between;
    }
}

/* ----------------------------------------
   EVENT（イベント紹介）
---------------------------------------- */
.EVENT {
    background: linear-gradient(#1d1b73, #000219);
}

.EVENT h2 {
    text-align: center;
    padding: 60px 0 50px;
    color: #fff;
    font-size: 1.8em;
}

.EVENT-flex01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.EVENT-flex {
    width: calc(46% - 8px);
    margin: 0 10px 20px;
    border: 3px solid moccasin;
    border-radius: 30% 15% 20% 15% / 30% 15% 20% 15%;
    background-color: moccasin;
    position: relative;
    overflow: hidden;
}

.eventimg img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.EVENT-flex p {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #6b4c3b;
}

.btn02 {
    position: absolute;
    bottom: -4px;
    right: 15px;
}
.btn02 img {
    width: 40px;
    height: 30px;
}
@media (min-width: 768px) {
    .EVENT p {
        display: block;
        width: 70%;
        font-size: 16px;
        padding-left: 20px;
    }
    .EVENT h2 {
        text-align: center;
        padding: 40px 0 0;
        color: #fff;
        font-size: 2.2em;
    }
    .EVENT-flex {
        width: calc(22% - 8px);
        height: 250px;
        margin: 90px 25px 40px;
        border: 3px solid moccasin;
        border-radius: 30% 15% 20% 15% / 30% 15% 20% 15%;
        background-color: moccasin;
        position: relative;
        overflow: hidden;
    }
    .EVENT-flex01 {
        display: flex;
        justify-content: space-between;
    }
    .btn02 img {
        width: 70px;
        height: 50px;
    }
    .btn02 {
        bottom: 10px;
    }
    .eventimg img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
}

/* ----------------------------------------
   アクセス
---------------------------------------- */
.access-section {
    padding: 20px 10px;
    background: #000219;
    color: #fff;
    text-align: center;
}

.access-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.access-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.access-info {
    width: 100%;
    text-align: left;
}
.access-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.access-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* 横並び表示（PC） */
@media (min-width: 768px) {
    .access-section h2 {
        font-size: 2.2em;
        margin: 60px 0;
    }
    .access-container {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    .access-info,
    .access-map {
        max-width: 400px;
    }
    .access-map {
        max-width: 600px;
    }
    .access-info p {
        margin-bottom: 5px;
        font-size: 1.2em;
        line-height: 2em;
    }
}

/* ----------------------------------------
   フッター
---------------------------------------- */
.site-footer {
    background: #000219;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-info p {
    margin: 3px 0;
}

.footer-sns a {
    color: #00aaff;
    margin: 0 5px;
    font-weight: bold;
}

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

.footer-copy {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #e0e0e0;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1000px;
        margin: 0 auto;
    }
    .footer-sns a {
        font-size: 1.2em;
    }
    .footer-info p {
        font-size: 1.2em;
    }
}
