@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
img {
    width: 100%;
    vertical-align: bottom;
}
body {
    background-color: #c9d3f5;
}
html,
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
}
html {
    overflow-x: hidden;
}
h2 {
    color: #003b73;
    padding-bottom: 10px;
    border-bottom: #57a2cd 2px dashed;
    display: inline-block;
    font-family: "Ramabhadra", sans-serif;
}
h3 {
    color: #0d2257;
    font-family: "ramabhadra", sans-serif;
}
p {
    color: #fff;
}
@media (min-width: 768px) {
    h3 {
        font-size: 1.5rem;
    }
}
/* ハンバーガー */
.ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10001;
    background-color: #c9d3f5;
    padding: 4px;
}

.ham span {
    width: 100%;
    height: 2px;
    background-color: #003b73fa;
    display: block;
    transition: 0.7s;
}

/* クリック後のスタイル */
.ham.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fffffffa;
}
.ham.active span:nth-child(2) {
    transform: translateY(10px) rotate(45deg);
    opacity: 0;
}
.ham.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fffffffa;
}

/* nav */
.sp-nav {
    width: 100%;
    height: 130vh;
    background: #003b73d7;
    position: fixed;
    top: -15vh;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* スライダーより前面 */
    opacity: 0;
    transition: 0.7s;
    pointer-events: none;
    font-size: 1.3em;
}

.sp-nav ul {
    list-style: none;
    text-align: center;
}

.sp-nav a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.sp-nav li a:hover {
    color: #0d2257;
}

/* navが開いた状態 */
.sp-nav.active {
    opacity: 1;
    pointer-events: all;
}
.pc-nav {
    display: none;
}

/* header */

header h1 img {
    margin: 20px;
    width: 30%;
}
@media (min-width: 768px) {
    header h1 img {
        width: 200px;
        padding-left: 20px;
    }
    .ham {
        display: none;
    }
    .pc-nav {
        display: block;
    }
    .pc-nav a {
        color: #003b73;
        font-weight: bold;
        font-family: "Ramabhadra", sans-serif;
    }
    .pc-nav a {
        transition: all 0.3s ease;
    }
    .pc-nav a:hover {
        color: #57a2cd;
        font-size: 1.2em;
    }
    .pc-nav ul {
        display: flex;
        gap: 30px;
    }
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        padding: 0 100px;
        width: 100%;
        background-color: #c9d3f5;
    }
}

/*main*/
/* ヒーロースライダー */

.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    z-index: 1;
}

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

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}
.hero {
    position: relative;
    z-index: 1;
}

.slider {
    position: relative;
    z-index: 0; /* 背景 */
}

@media (min-width: 768px) {
    .hero-slider {
        height: 100vh;
        padding-top: 120px;
    }
}
/* 浮かせるアニメーション全体 */
.float-wrapper {
    position: absolute;
    top: 25%;
    right: 37%;
    animation: floatUpDown 4s ease-in-out infinite;
    width: 200px;
    height: 200px;
    z-index: 9999;
}
/*丸*/
.notice-box {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.8);
    clip-path: circle(50% at 50% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #003b73;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* テキスト */

.notice-box a {
    color: #003b73;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
}

/* 画像はみ出し */
.floating-img {
    position: absolute;
    top: -75px;
    left: -60px;
    width: 120px;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 3;
}

/* ふわふわ上下*/
@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .float-wrapper {
        position: absolute;
        top: 32%;
        left: 5%;
        animation: floatUpDown 4s ease-in-out infinite;
        width: 200px;
        height: 200px;
        z-index: 9999;
    }

    /* ふわふわまる */
    .notice-box {
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: #003b73;
        box-shadow: 0 4px 12px rgb(255, 255, 255);
        position: relative;
    }
    /* テキスト */
    .notice-box a {
        text-align: center;
        z-index: 2;
        color: #0d2257;
        padding: 10px;
        font-size: 1.2em;
    }

    /* カードはみ出し */
    .floating-img {
        position: absolute;
        top: -105px;
        left: -90px;
        width: 180px;
        transform: rotate(-15deg);
        pointer-events: none;
        z-index: 3;
    }
}
/* 営業時間ボックス */
.hero-hours {
    position: absolute;
    bottom: 19%;
    right: 2%;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    z-index: 10; /* ←これ重要 */
}
.hero-hours h3 {
    text-align: center;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
}
.hero-hours p {
    color: #406e89;
    text-align: center;
    font-size: 0.8em;
}

/* イベントカード */
.hero-event {
    position: absolute;
    bottom: 2%;
    right: 2%;
    display: flex;
    text-align: center;
    gap: 15px;
    z-index: 10;
}

/* イベント画像 */
.hero-event .event-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.event-info {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
}
.event-info h4 {
    color: #0d2257;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 800;
}
.event-info p {
    color: #406e89;
    text-align: center;
    font-size: 0.8em;
}

@media (min-width: 768px) {
    .hero-event {
        position: absolute;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* 丸画像そのまま */
    .hero-event .event-img img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .hero-event {
        top: 57%;
        right: 1%;
        left: auto;
        transform: none;
        flex-direction: row;
        align-items: center;
    }
    .event-info {
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 10px;
    }
    .event-info h4 {
        color: #0d2257;
        font-size: 1.2em;
    }
    .event-info p {
        color: #406e89;
        text-align: center;
        font-size: 1.2em;
    }
    .hero-event .event-info {
        font-size: 0.9rem;
    }

    .hero-hours {
        position: absolute;
        bottom: 2%;
        right: 1%;
        background: rgba(255, 255, 255, 0.8);
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        font-size: 1rem;
        z-index: 10; /* ←これ重要 */
    }
    .hero-hours h3 {
        text-align: center;
        font-size: 1.2em;
    }
    .hero-hours p {
        color: #406e89;
        text-align: center;
        font-size: 1.2em;
    }
    .hero-box {
        display: flex;
        gap: 20px;
    }
}

/* sp-news */
.sp-news {
    text-align: center;
}
.sp-news h2 {
    padding-top: 60px;
    padding-bottom: 0;
    margin: 20px auto;
    width: fit-content;
}
.sp-item {
    text-align: start;
    background-color: #003b73;
    border-radius: 12px;
    width: 90%;
    margin: 0 auto;
    color: #fff;
    padding: 10px;
    line-height: 1.8em;
}
.sp-item span {
    background-color: #57a2cd;
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 0px 10px;
    margin-left: 10px;
    margin-top: 5px;
}
.sp-item a {
    color: #fff;
}
.sp-item dd {
    border-bottom: 1px dashed #fff;
    padding-bottom: 10px;
}

/* news */
.news {
    text-align: center;
}

.news h2 {
    padding-top: 40px;
    padding-bottom: 0;
    border-bottom: 2px dashed #57a2cd;
    display: inline-block;
    color: #003b73;
}

/* ニュースリスト */
.news-list {
    max-width: 95%; /* スマホ対応 */
    margin: 0 auto; /* 中央寄せ */
    padding: 20px; /* 周りの余白 */
    background: #003b73;
    border-radius: 12px;
}
.news-list .item a {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* ニュース項目 */
.news-list dt {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%; /* ボーダーを左右いっぱいに広げる */
    padding: 8px 0; /* 上下余白 */
    border-bottom: 1px solid #ccc;
    gap: 30px;
}

.news-list dt:last-child {
    border-bottom: none;
}

/* 日付 */
.news-list dt .date {
    width: 60px; /* min-width ではなく固定幅に */
    text-align: left; /* 左寄せ */
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

/* カテゴリ */
.news-list dt .category {
    background: #57a2cd;
    color: #fff;
    border-radius: 20px;
    padding: 2px 6px;
    font-size: 12px;
    white-space: nowrap;
    width: 70px;
}

/* タイトル */
.news-list dt .title {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.news-list dt .title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list dt .title a:hover {
    color: #57a2cd;
}

@media (min-width: 768px) {
    .news h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
}

.news-list {
    list-style: none;
    background-color: #003b73;
    border-radius: 12px;
    margin: 20px;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap; /* ← スマホは折り返しOK */
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding: 20px;
    text-align: left;
}

.news-list .item:first-child a {
    border-top: 1px solid #ccc;
}

.news-list .item .date {
    margin: 0;
    min-width: 90px; /* ← モバイル用の最小幅 */
    font-size: 14px;
    color: #fff;
    padding: 0 10px 0 0;
}

.news-list .item .category {
    margin: 0;
    min-width: 90px;
    padding: 0 10px 0 0;
}

.news-list .item .category span {
    background: #57a2cd;
    color: #fff;
    text-align: center;
    display: inline-block;
    border-radius: 20px;
    padding: 2px 3px;
    font-size: 12px;
}

.news-list .item .title {
    margin: 0;
    width: 100%; /* ← 下に来るように100% */
}

@media (min-width: 768px) {
    .news-list {
        max-width: 800px;
        margin: 40px auto; /* センター寄せ */
    }

    .news-list .item a {
        flex-wrap: nowrap; /* ← PCでは横一列に */
        align-items: center;
    }

    .news-list .item .date {
        font-size: 16px;
        min-width: 140px;
        margin-bottom: 0;
    }

    .news-list .item .category {
        min-width: 120px;
        margin-bottom: 0;
    }

    .news-list .item .title {
        width: auto;
        flex-grow: 1; /* ← 残りスペースを埋める */
    }
}

/* midokoro */

.midokoro {
    padding-top: 70px;
    text-align: center;
}

.midokoro h2 {
    padding-bottom: 0px;
}
.midokoro p {
    color: #003b73;
    padding-top: 10px;
}
.midokoro-item {
    text-align: center;
}

.midokoro-item img {
    padding-top: 30px;
    border-radius: 63% 37% 68% 32% / 44% 50% 50% 56%;
    width: 90%;
    padding-bottom: 20px;
}

.midokoro-item p {
    padding-bottom: 20px;
}

@media (min-width: 767px) {
    .midokoro-flex {
        display: flex;
        margin: 30px;
    }
    .midokoro h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
    .midokoro-item img:hover {
        transform: scale(1.05);
    }
}
/* ivent */
.ivent {
    padding: 70px 20px;
    text-align: center;
}

.ivent h2 {
    font-size: 1.8rem;
    padding-bottom: 0;
}
.ivent p {
    margin-bottom: 20px;
    color: #003b73;
    padding-top: 10px;
}
/* スライダー */
.ivent-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.ivent-slider .slide {
    display: none;
    position: relative;
}

.ivent-slider .slide.active {
    display: block;
    animation: fade 2s ease-in-out;
}

.ivent-slider img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.caption {
    margin-top: 10px;
    color: #333;
}

.caption h3 {
    font-size: 1.5rem;
    margin: 8px 0 4px;
}

.caption p {
    font-size: 1rem;
    color: #003b73;
}

/* 左右ボタン */
.ivent-slider .prev,
.ivent-slider .next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
}

.ivent-slider .prev {
    left: 10px;
}
.ivent-slider .next {
    right: 10px;
}

.ivent-slider .prev:hover,
.ivent-slider .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* フェードアニメーション */
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (min-width: 767px) {
    .ivent-slider {
        width: 70%;
    }
    .ivent h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
    .caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 1px;
        background: rgba(255, 255, 255, 0.684);
        border-radius: 0 0 12px 12px;
        margin: 0;
        box-sizing: border-box;
    }

    .caption h3 {
        font-size: 1.2rem;
        margin: 0 0 4px;
    }

    .caption p {
        font-size: 0.9rem;
        margin: 0;
    }

    /* pcボタン */
    .ivent-slider .prev,
    .ivent-slider .next {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}

/* restaurant */
.restaurant-museum {
    text-align: center;
}
.restaurant-museum h2 {
    padding-top: 10px;
    padding-bottom: 0;
}
.restaurant-museum p {
    color: #003b73;
    padding-bottom: 40px;
    padding-top: 10px;
}
.restaurant-museum img {
    border-radius: 70% 30% 70% 30% / 49% 59% 41% 51%;
    width: 80%;
}
.restaurant-museum h3 {
    padding-top: 20px;
}
@media (min-width: 767px) {
    .restaurant-museum h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
}
@media (min-width: 767px) {
    .shop-flex {
        display: flex;
    }
    .restaurant-museum img:hover {
        transform: scale(1.05);
    }
}
/* gallary */
.gallery {
    text-align: center;
}
.gallery h2 {
    padding-bottom: 0;
    padding-top: 40px;
}
.gallery p {
    color: #003b73;
    margin-bottom: 20px;
    padding-top: 10px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px; /* 基本のマス高さ（好きに調整OK） */
    gap: 8px;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* --- ここから位置指定（8枚） --- */

/* item1：大（横2×縦2） */
.item1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

/* item2, item3, item4：小マス */
.item2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.item3 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
.item4 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

/* item5：中（横2マス） */
.item5 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    object-position: left top;
}

/* item6：小マス */
.item6 {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

/* item7：横2マス・縦1マス */
.item7 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
}

/* item8：縦2マス（長く細） */
.item8 {
    grid-column: 2 / 4;
    grid-row: 4 / 6;
}
.gallery .gallery-grid .item10 {
    display: none;
}

@media (min-width: 767px) {
    .gallery {
        padding: 0 20px;
        text-align: center;
    }

    .gallery h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
        padding-top: 70px;
        padding-bottom: 0;
    }
    .gallery p {
        margin-bottom: 20px;
        color: #003b73;
        padding-top: 10px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 150px;
        gap: 10px;
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
    }

    .gallery-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: block;
        transition: transform 0.3s ease;
        box-shadow: 0.3s ease;
    }

    .gallery-grid img:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgb(255, 255, 255), 0 0 40px rgb(255, 255, 255);
    }

    /* 大中小混ぜてランダム感を意識した配置 */
    /* 1行目 */
    .item1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    } /* 大 */
    .item2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    } /* 小 */
    .item3 {
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    } /* 小 */
    /* 2行目 */
    .item4 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    } /* 小 */
    .item5 {
        grid-column: 4 / 5;
        grid-row: 2 / 4;
    } /* 中縦2マスで自然なランダム感 */
    .item6 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    } /* 小 */
    .item7 {
        grid-column: 2 / 3;
        grid-row: 3 / 5;
    } /* 大縦2マスで変化 */
    .item8 {
        grid-column: 3 / 5;
        grid-row: 4 / 5;
    } /* 中横2マスでバランス調整 */
    .gallery .gallery-grid .item10 {
        display: block;
    }
}

/* price */
.price {
    text-align: center;
    margin: 20px;
}
.price h2 {
    margin-top: 120px;
    margin-bottom: 20px;
    padding-bottom: 0;
}
.table_design09 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
}
.table_design09 tr {
    background-color: #e6f1f6;
}
.table_design09 tr:nth-child(even) {
    background-color: #fff;
}
.table_design09 th,
.table_design09 td {
    padding: 1em;
    white-space: nowrap; /* 折り返さない */
}
.table_design09 thead th {
    background-color: #003b73;
    color: #fff;
    font-weight: bold;
    text-align: center;
}
.table_design09 tbody th {
    color: #57a2cd;
}

/* 前売りボタン */
.btn,
a.btn,
button.btn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.7s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
    margin-top: 50px;
}

a.btn-malformation {
    font-size: 1.2em;

    padding: 25px 55px;

    color: #fff;
    border-radius: 100% 80px / 80px 100%;
    background-color: #003b73;
    font-family: "M PLUS 1p", sans-serif;
}

a.btn-malformation:hover {
    color: #003b73;
    background-color: #57a2cd;
    border-radius: 60% 80% / 100% 80%;
}
@media (min-width: 767px) {
    .price h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
}
/* access */
.access {
    padding-top: 70px;
    text-align: center;
}
.access h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 0;
}
.access p {
    padding-top: 10px;
    text-align: left;
}
.access p span {
    color: #57a2cd;
    font-size: 1.2em;
}

.access-flex {
    padding: 20px;
    border: #003b73 solid 1px;
    background-color: #003b73;
    border-radius: 12px;
    width: 90%;
    margin: 0 auto;
}
.access-item iframe {
    width: 90%;
    height: 250px;
    border: 0;
}
.address p {
    font-size: 1.1em;
}
@media (min-width: 767px) {
    .access-flex {
        display: flex;
        justify-content: center;
        gap: 30px;
        text-align: left;
        width: 70%;
        margin: 0 auto;
    }
    .access-item {
        width: 50%;
    }
    .access-item iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
    .access h2 {
        font-size: 2rem;
        border-bottom: 3px dashed #57a2cd;
    }
}
/* footer */
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px; /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
    margin-top: 80px;
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
    .content {
        height: 30vh;
    }
    h1 {
        font-size: 24px;
    }
}
.footer {
    text-align: center;
    padding: 30px 0;
    background: #003b73;
}

.footer-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* ← ここでロゴとアイコンの距離を調整 */
}

.footer-logo img {
    width: 120px; /* 必要なら調整 */
    display: block;
}

.footer-icons {
    display: flex;
    gap: 15px; /* アイコン同士の距離 */
}

.footer-icons a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-icons a:hover {
    opacity: 0.7;
}

.fa-brands {
    font-size: 2em;
    color: #fff;
}
@media (min-width: 767px) {
    .footer {
        padding: 0;
    }
    .footer img {
        width: 30%;
    }
    .footer-flex {
        display: flex;
    }
    .footer {
        padding: 40px 0; /* PCでは少し余白を広く */
    }

    .footer-flex {
        gap: 40px; /* ← ロゴとSNSの距離をさらに近くor広くしたいならここを調整 */
    }

    .footer-logo img {
        width: 100px; /* PC表示で少し大きくするなら */
    }

    .footer-icons a {
        font-size: 20px; /* PCで少し大きく見せる */
    }
}
/* CSS */
.bubble-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    bottom: -50px;
    border: 1px solid rgba(255, 255, 255, 0.545); /* 線の色と透明度 */
    background-color: #ffffff45;
    border-radius: 50%;
    animation: rise linear infinite;
}

/* 泡ごとの大きさ・位置・速さ・遅延をランダム化 */
.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 5%;
    animation-duration: 8s;
    animation-delay: 0s;
}
.bubble:nth-child(2) {
    width: 25px;
    height: 25px;
    left: 15%;
    animation-duration: 10s;
    animation-delay: 1s;
}
.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 25%;
    animation-duration: 12s;
    animation-delay: 2s;
}
.bubble:nth-child(4) {
    width: 22px;
    height: 22px;
    left: 35%;
    animation-duration: 9s;
    animation-delay: 1.5s;
}
.bubble:nth-child(5) {
    width: 28px;
    height: 28px;
    left: 45%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}
.bubble:nth-child(6) {
    width: 70px;
    height: 70px;
    left: 55%;
    animation-duration: 10s;
    animation-delay: 2.5s;
}
.bubble:nth-child(7) {
    width: 24px;
    height: 24px;
    left: 65%;
    animation-duration: 9s;
    animation-delay: 1s;
}
.bubble:nth-child(8) {
    width: 26px;
    height: 26px;
    left: 75%;
    animation-duration: 12s;
    animation-delay: 0.2s;
}
.bubble:nth-child(9) {
    width: 80px;
    height: 80px;
    left: 85%;
    animation-duration: 8s;
    animation-delay: 3s;
}
.bubble:nth-child(10) {
    width: 30px;
    height: 30px;
    left: 95%;
    animation-duration: 11s;
    animation-delay: 1.8s;
}
/* 既存の1〜10はそのまま */

.bubble:nth-child(11) {
    width: 40px; /* 大きめ */
    height: 40px;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0.5s;
}

.bubble:nth-child(12) {
    width: 25px;
    height: 25px;
    left: 22%;
    animation-duration: 9s;
    animation-delay: 1.2s;
}

.bubble:nth-child(13) {
    width: 80px; /* さらに大きめ */
    height: 80px;
    left: 35%;
    animation-duration: 14s;
    animation-delay: 0.8s;
}

.bubble:nth-child(14) {
    width: 30px;
    height: 30px;
    left: 65%;
    animation-duration: 10s;
    animation-delay: 1.7s;
}

.bubble:nth-child(15) {
    width: 45px; /* 大きめ */
    height: 45px;
    left: 80%;
    animation-duration: 13s;
    animation-delay: 0.3s;
}

/* アニメーション */
@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120vh) scale(1.3);
        opacity: 0;
    }
}

.wrap {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* iruka */
.news {
    position: relative;
}
.iru {
    position: absolute;
    width: 600px;
    left: -400px;
    top: 80px;
}
/* otosigo2 */
.midokoro {
    position: relative;
}
.otosigo2 {
    position: absolute;
    width: 900px;
    right: -550px;
    top: 450px;
}
/* kawausotan */
.kawausotan {
    position: relative;
}
.kawausotan {
    position: absolute;
    width: 400px;
    left: -100px;
}
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.news {
    display: none;
}
@media (min-width: 768px) {
    .news {
        display: block;
    }
    .sp-news {
        display: none;
    }
}
