@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;
    border-collapse: collapse;
}

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

/* ----------------------------------------
   背景：浅瀬→深海グラデーション
---------------------------------------- */
body {
    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;
    opacity: 1;
}

/* ----------------------------------------
   ハンバーガーメニュー
---------------------------------------- */
.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;
    }
}
/* ------------------------------
   背景
------------------------------ */
.wrap {
    background: linear-gradient(to bottom, #079eea, #002242);
    padding: 40px 0;
}

/* ------------------------------
   ヒーローエリア
------------------------------ */
.hero {
    color: #000;
    background-image: url(../img/photo-1531959870249-9f9b729efcf4.avif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
}

.hero h2 {
    color: #fff;
    padding-top: 180px;
    padding-left: 20px;
    font-size: 1.4em;
}

/* ------------------------------
   メイン
------------------------------ */
h2 {
    padding-top: 10px;
    padding-left: 15px;
    font-size: 1.2em;
    color: white;
}

table {
    width: 95%;
    margin: 10px auto 20px;
    border-collapse: collapse;
}

.tr01 th {
    border: 2px solid skyblue;
    background-color: darkblue;
    color: #fff;
    padding: 8px 4px;
    font-size: 14px;
}

.tr02 th {
    border: 2px solid #ccc;
    background: #fff;
    color: #000;
    padding: 8px 4px;
    font-size: 14px;
}

/* ------------------------------
   ここからPC用調整（768px以上）
------------------------------ */
@media (min-width: 768px) {
    .wrap {
        padding: 50px 0;
    }

    .hero {
        height: 450px;
    }

    .hero h2 {
        padding-top: 280px;
        padding-left: 10px;
        font-size: 2em;
    }

    h2 {
        display: block;
        width: 90%;
        margin: 0 auto;
        font-size: 1.8em;
    }

    table {
        width: 90%;
        margin: 20px auto 30px;
    }

    .tr01 th,
    .tr02 th {
        padding: 10px 6px;
        font-size: 16px;
    }
}
/* ----------------------------------------
   フッター
---------------------------------------- */
.site-footer {
    background: #002242;
    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;
    }
}
