/* =========================================
   基本リセット・共通設定
========================================= */
:root {
    --main: #5fb3b8;
    --accent: #e67e22;
    --bg: #f0f8ff;
    --text: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: sans-serif;
    line-height: 1.4;
    color: var(--text);
    background: var(--bg);
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   ヘッダー（スマホファースト）
========================================= */
.site-header {
    background: var(--main);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 50px;
}
.header-logo a {
    font-size: 1.3rem;
    font-weight: bold;
}

/* --- ハンバーガーメニュー --- */
.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 50, 90, 0.4);
    border: none;
    cursor: pointer;
    z-index: 2100;
}
.menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}
.menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- ナビゲーション（スマホ） --- */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 30, 60, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 2000;
}
.global-nav.open {
    opacity: 1;
    visibility: visible;
}
.nav-list {
    text-align: center;
}
.nav-list li a {
    display: block;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

/* =========================================
   ヒーローセクション
========================================= */
.hero-section {
    position: relative;
    height: 75vh;
    overflow: hidden;
}
.hero-slider,
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide {
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    will-change: transform;
    animation: kenburns 12s linear infinite;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(1.1) translateZ(0);
    }
}

/* ヒーローテキスト */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 50;
    pointer-events: none;
}
.hero-text p {
    color: #fff;
    font-weight: bold;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    line-height: 1.6;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.7),
        0 0 20px rgba(179, 229, 252, 0.3);
    animation: gentle-twinkle 6s ease-in-out infinite;
    margin: 0;
}

@keyframes gentle-twinkle {
    0%,
    100% {
        filter: brightness(1);
        opacity: 0.85;
    }
    50% {
        filter: brightness(1.2);
        opacity: 1;
    }
}

/* =========================================
   共通セクション
========================================= */
.content-section {
    padding: 40px 15px;
    max-width: 1000px;
    margin: 0 auto;
}
/*.section-title {
    text-align: center;
    color: var(--main);
    border-bottom: 2px solid var(--main);
    margin-bottom: 25px;
    padding-bottom: 5px;
    font-size: 1.5rem;
}*/
.section-title {
    text-align: center;
    color: #2c7bb6;

    border-bottom: 2px dotted var(--main); /* ← solid → dotted に変更 */
    margin-bottom: 25px;
    padding-bottom: 5px;
    font-size: 1.6rem;
}
section[id] {
    scroll-margin-top: 50px; /* ヘッダー高さ */
}
/* --- カードグリッド --- */
.card-grid,
.events-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.card,
.event-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.card-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body,
.today-event-box {
    padding: 15px;
}
.card h3,
.event-h3 {
    margin: 0 0 10px;
    color: var(--main);
    font-size: 1.1rem;
}

/* --- カレンダー --- */
.calendar-head {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.calendar-head button {
    background: var(--main);
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.calendar-table th {
    color: var(--main);
    padding-bottom: 5px;
}
.calendar-table td {
    text-align: center;
    padding: 8px 0;
    border: 1px solid #f9f9f9;
}
.is-today-circle {
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    line-height: 24px;
}
.event-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 0.9rem;
}
.orange-text {
    color: var(--accent);
    font-weight: bold;
    margin-right: 8px;
}
.event-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
}
.event-images-grid img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- お知らせ --- */
.news-list-container {
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.news-item {
    border-bottom: 1px solid #eee;
}
.news-item a {
    display: block;
    padding: 15px 0;
}
.news-date {
    color: #888;
    font-size: 0.85rem;
    margin-right: 15px;
}
.news-category {
    background: var(--main);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
}
.news-category.is-important {
    background: #e74c3c;
}
.btn-outline {
    display: inline-block;
    padding: 8px 30px;
    border: 2px solid var(--main);
    color: var(--main);
    border-radius: 20px;
    font-weight: bold;
}

/* --- チケット --- */
.ticket-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}
.ticket-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}
.ticket-table th {
    background: var(--main);
    color: #fff;
    padding: 10px;
}
.ticket-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.ticket-table td:first-child {
    font-weight: bold;
    text-align: left;
}

/* --- アクセス --- */
.access-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.map-box iframe {
    width: 100%;
    height: 300px;
    border: none;
}
.access-info {
    padding: 20px;
}
.access-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
/* --- 営業時間カード --- */
.business-hours-card {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.hours-title {
    background: #f8f9fa;
    margin: 0;
    padding: 12px 15px;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}
.hours-inner {
    padding: 15px 20px;
}
.hours-group {
    margin-bottom: 15px;
}
.hours-label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}
.hours-time {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c7bb6;
}
.hours-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}
.holiday-text {
    margin: 10px 0 0;
    font-weight: bold;
    color: #27ae60;
}

/* --- フッター --- */
.site-footer {
    background: #3e8488;
    color: #fff;
    padding: 30px 10px;
    margin-top: 50px;
}
.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}
.footer-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.contact-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-hours .time {
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-toggle-form {
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-toggle-form:hover {
    background-color: #f2f2f2; /* 薄いグレー */
}

.tel-link {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
.tel-link i {
    margin-right: 6px;
    color: #ffe066;
}

.sns-item-group {
    display: flex;
    gap: 15px;
}
.sns-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}
.contact-form-wrapper {
    display: none;
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
}
.contact-form-wrapper.is-open {
    display: block;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    border: none;
    border-radius: 4px;
}
.btn-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.footer-copyright-row {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.75rem;
}

/* =========================================
   スマホファースト完了
   ========================================= */

/* =========================================
   PC用スタイル（min-width:768px）
========================================= */
@media screen and (min-width: 768px) {
    .header-inner {
        height: 85px;
        padding: 0 40px;
    }
    .header-logo a {
        font-size: 1.8rem;
    }
    .menu-btn {
        display: none;
    }
    .global-nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        opacity: 1;
        visibility: visible;
        display: block;
    }
    .nav-list {
        display: flex;
        gap: 35px;
    }
    .nav-list li a {
        font-size: 1rem;
        padding: 0;
    }
    .card-grid {
        flex-wrap: nowrap;
    }
    .card {
        width: calc(33.333% - 14px);
    }
    .events-flex {
        flex-wrap: nowrap;
        gap: 30px;
    }
    .event-item,
    .map-box,
    .access-info {
        width: 50%;
    }
    .hero-section {
        height: 85vh;
    }
    .hero-text p {
        font-size: 2.8rem;
    }
    section[id] {
        scroll-margin-top: 85px;
    }
    .footer-main-row {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 60px;
    }
    .contact-area {
        align-items: flex-start;
        width: auto;
    }
    .access-container {
        flex-direction: row;
    }
    .map-box,
    .access-photo,
    .access-info {
        width: 33.333%;
    }
}
/* ================================
   フッター左右分割対応（追加）
================================= */
.footer-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-left,
.footer-right {
    width: 100%;
    text-align: center;
    color: #fff;
}

.footer-left a,
.footer-right a {
    color: #ffe066; /* リンクは目立つ黄色 */
    text-decoration: none;
}

.footer-right p {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* PC用（左右並び） */
@media screen and (min-width: 768px) {
    .footer-main-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-left,
    .footer-right {
        width: auto;
        text-align: left;
    }
}

/* お問い合わせフォームボタン */
.btn-toggle-form {
    background: #fff;
    color: #3e8488;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

/* フォーム表示/非表示 */
.contact-form-wrapper {
    display: none;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}
.contact-form-wrapper.is-open {
    display: block;
}

/* フォーム内 */
.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    border: none;
    border-radius: 4px;
}
.btn-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
footer a[href^="tel"] {
    display: none;
}

/* SNSアイコン */
.sns-item-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.sns-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-main-row {
    margin-top: 24px;
}

/* フッター営業時間強調 */

/* フッター営業時間（見やすく修正） */
.footer-right {
    background: #ffffff;
    color: #2c7bb6;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.footer-hours-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-hours {
    font-size: 0.95rem;
    margin: 4px 0;
}

.footer-hours .season {
    font-weight: bold;
}

.footer-hours .time {
    color: #e67e22;
    font-weight: 800;
}

.footer-hours-note {
    font-size: 0.9rem;
    font-weight: bold;
    color: #27ae60; /* 年中無休を強調 */
    margin-top: 6px;
}

/* PCでもスマホでも見やすく中央に揃える */
@media screen and (max-width: 768px) {
    .footer-right {
        text-align: center;
    }
}
/* =========================================
   イベント：縦を広く・写真を大きく
========================================= */

/* カレンダー・本日のイベントを縦にゆったり */
.event-item .today-event-box {
    padding: 25px;
}

.event-item .calendar-table td {
    padding: 14px 0;
}

/* イベント写真を大きく */
.event-item .event-images-grid {
    gap: 15px;
}

.event-item .event-images-grid img {
    height: 140px; /* 大きすぎたら120pxにしてOK */
}
/* =========================================
   イベント写真：角丸＋ホバー拡大
========================================= */

.event-images-grid img {
    border-radius: 12px; /* 少し丸み */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.event-images-grid img:hover {
    transform: scale(1.08); /* ほんのり拡大 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
/* =========================================
   本日のイベント：カード強調
========================================= */

.today-event-box {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border-left: 6px solid var(--accent);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 22px 20px;
}

/* タイトル */
.today-event-box .event-h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
}

/* 小さなアクセントドット */
.today-event-box .event-h3::before {
    content: "●";
    color: var(--accent);
    margin-right: 8px;
}

/* リスト */
.today-event-box .event-list li {
    font-size: 0.95rem;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

/* 最後の線を消す */
.today-event-box .event-list li:last-child {
    border-bottom: none;
}

/* 時間をさらに目立たせる */
.today-event-box .orange-text {
    font-size: 1.05rem;
}
.footer-hours-subnote {
    font-size: 0.75rem;
    color: #333; /* 黒 */
    font-weight: 400; /* 細め */
    margin-top: 4px;
    line-height: 1.4;
}
.access-tel {
    margin-top: 4px; /* 近づける */
    font-size: 1rem;
    font-weight: 500;
    text-align: left; /* 念のため固定 */
}

.access-tel a {
    color: #000; /* 黒で統一 */
    text-decoration: none;
}
@media screen and (min-width: 768px) {
    .access-tel {
        align-self: flex-start; /* flex対策 */
        justify-self: start; /* grid対策 */
    }
}
@media screen and (min-width: 768px) {
    .sns-row {
        margin-top: -12px; /* ← 上に寄せる */
    }
}
@media screen and (min-width: 768px) {
    .footer-main-row {
        align-items: flex-start; /* 上揃え */
    }
}
@media screen and (min-width: 768px) {
    .site-footer {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
