html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}


/* レスポンシブ調整：狭い画面では非表示 */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

}

/* 1200pxを超えたとき */
@media (min-width: 769px) {
    .sp {
        display: none;
    }
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin: 0;
    padding: 0;
    background-image: url('../img/st0034.png');
    background-repeat: repeat;
    min-height: 100vh;
    position: relative;
    letter-spacing: 0.2em;
}

p {
    line-height: 1.5;
    letter-spacing: 1px;
    font-size: .95em;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 960px !important;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 50px;
    background-image: url('../img/main_fin.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
    height: 80vh;
}

.header h1 {
    position: relative;
    z-index: 10;
    font-size: 3rem;
    color: #fff;
    font-weight: 900;
    margin: 10px;
    font-family: "M PLUS 1", sans-serif;
    width: 50%;
    max-width: 400px;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    height: 100%;
}

.header h1 img {
    max-width: 100%;
    height: auto;
}

.header-image {
    position: absolute;
    bottom: 0;
    width: 90%;
    max-width: 350px;
    height: auto;
}

.header-content {
    position: sticky;
    top: 0;
    z-index: 1000;
    pointer-events: none;
    /* ← 外枠はクリックを拾わない */
    padding: 30px 0;
}

.header-content .header-hit {
    pointer-events: auto;
    /* ← 中のリンクだけ反応 */
}

.heade-inner {
    width: 90%;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    align-items: center;
}

.heade-inner img {
    width: 110px;
}


.hamburger {

    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 6px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fff;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fff;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #009fe6;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.nav-content.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

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

nav ul li {
    margin: 2rem 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 2rem;
}

nav ul li a:hover {
    transform: translateX(10px);
    opacity: 0.8;
}

@media (max-width: 720px) {
    nav ul li a {

        min-width: 500px;
    }
}




.footer-content {
    text-align: center;
    background-color: white;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-beta {
    background-color: #1181C6;
    padding: 50px 0;
    position: relative;
}

.footer-beta::before {
    content: '';
    position: absolute;
    top: -2px;
    /* 数ピクセル上に配置して隙間を覆う */
    left: 0;
    width: 100%;
    height: 2px;
    /* 隙間を覆うのに十分な高さ */
    background-color: #1181C6;
    /* フッターと同じ青色 */
    z-index: 999;
    /* 他の要素の上に表示 */
}

.footer-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    /* 画像間の隙間を空ける（任意） */
    background: white;
    padding: 30px;
}

.footer-image-container img {
    max-width: 200px;
    /* 画像の幅を固定する（任意） */
    height: auto;
}

.footer-logo {
    max-width: 200px;
    margin: 0 auto 50px;
    display: block;
}


.wave-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    /* 波の高さ */
    /* 下のフッター色とつなげる */
    overflow: hidden;
}

#waveCanvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
}


/* フッター内の他要素は波より前面に */
.footer-content>*:not(#waveCanvas) {
    position: relative;
    z-index: 1;
}


.sns-container {
    /* 親要素をFlexboxコンテナに */
    display: flex;
    /* 子要素を中央に配置 */
    justify-content: center;
    /* カラムと同様に画像を折り返しません */
    flex-wrap: nowrap;
    /* 画像間の隙間を設定 */
    gap: 20px;
    margin: 50px 0;
}

.sns-item {
    flex: 1;
    max-width: 70px;
}

@media (max-width: 720px) {
    .footer-image-container {
        flex-direction: column;
        /* 1列に並べる */
        align-items: center;
        /* 画像を中央に揃える */
        gap: 30px
    }
}

/* 左のキャラクター */
.left-image {
    left: 0;
}

/* 右のキャラクター */
.right-image {
    right: 0;
}

/* 元のセレクタも残しておく */
.nanase-image {
    left: 0;
}

.sakayori-image {
    right: 0;
}

@media (max-width: 890px) {
    .header-image {
        width: 35%;
        max-width: 500px;
    }

    .header {
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .header-image {
        width: 45%;
        max-width: 100px;

    }

}

.movie_wrap {}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*.current-time {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
    padding: 15px;
    border-radius: 10px;
}*/

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    font-family: "M PLUS 1", sans-serif;
    font-weight: 500;
}

section {
    margin: 50px 0;
}

.section {
    margin-bottom: 30px;
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #9f699a 0%, #ff7043 100%);
    color: #fff;
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
}

.timestamp-list {
    padding: 20px;
}

.timestamp-item {
    margin-bottom: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #9f699a;
    border-radius: 8px;
    transition: background 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    will-change: background, transform;
}

.timestamp-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(5px);
}

.timestamp-time {
    font-weight: bold;
    margin-right: 10px;
    color: #2169FC;
}

.accordion {
    margin-bottom: 30px;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    color: white !important;
    background: linear-gradient(135deg, #9f699a 0%, #ff7043 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #ff7043 0%, #9f699a 100%);
}

.accordion-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.accordion-toggle.open {
    transform: rotate(180deg);
}

.accordion-timestamps {
    padding: 20px;
}

.accordion-timestamps .timestamp-item {
    border-left: 5px solid #ccc;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    background: white;
}

.accordion-content.open {
    max-height: 1000px;
    padding: 0 0 10px 0;
    opacity: 1;
}

.accordion-timestamps {
    padding: 15px 0;
}

.timestamp-item {
    cursor: pointer;
    margin-bottom: 8px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 4px solid #9f699a;
}

.timestamp-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(3px);
}

.timestamp-time {
    font-weight: bold;
    color: #2169FC;
    margin-right: 8px;
}


/* おすすめ商品 */
.recommended-products {
    padding: 60px 0;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);*/
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 16px;
    font-weight: bold;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.main-products {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.vtuber_img {
    position: relative;
}

.copyright {
    position: absolute;
    bottom: -15px;
    /* 下からの位置 */
    right: 5px;
    /* 右からの位置 */
    font-size: 10px;
    /* 文字サイズを小さくする */
    color: #888;
    /* 色を薄くする */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.main-product {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

.product-image {
    flex: 0 0 300px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
}

.product-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: block !important;
}

.product-price {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

.tax-note {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

.cart-btn {
    background: linear-gradient(135deg, #bdd58a 0%, #aed56f 100%);
    color: black;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.sub-products-section {
    margin-top: 60px;
}

.sub-section-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

.sub-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sub-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sub-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sub-product-image {
    height: 200px;
    overflow: hidden;
}

.sub-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sub-product-card:hover .sub-product-image img {
    transform: scale(1.05);
}

.sub-product-title {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .main-product {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .product-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .product-title {
        font-size: 20px;
    }

    .sub-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .sub-products {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 16px;
    }
}


/* おすすめスポット */
.intro-feature {
    margin: 60px auto;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: url('../img/st0034.png');
    background-repeat: repeat;
}

.intro-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.intro-feature h2 {
    position: relative;
    z-index: 1;
}

.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.intro-image {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slideshow-container img,
.slideshow-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


.slideshow-container img.active,
.slideshow-container video.active {
    opacity: 1;
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* ★★★ スライドショー矢印のスタイル ★★★ */
.slideshow-navigation {
    position: absolute;
    bottom: 20px;
    /* 下からの位置 */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    /* 中央揃えに変更 */
    gap: 25px;
    /* 左右の矢印の間のスペース */
    pointer-events: none;
}

.slideshow-navigation i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slideshow-navigation i:hover {
    color: white;
    transform: scale(1.1);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.intro-text {
    max-width: 600px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.intro-text h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.intro-text h4 {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #9f699a;
    text-decoration: none;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid #9f699a;
}

.map-link:hover {
    background: linear-gradient(135deg, #9f699a 0%, #ff7043 100%);
    color: white;
    transform: translateY(-2px);
}

.map-link i {
    margin-right: 8px;
    font-size: 16px;
}

/* レスポンシブなiframeのためのコンテナスタイル */
.map-container {
    margin: 50px auto 0;
    position: relative;
    /* マップの高さを固定値500pxに設定 */
    height: 500px;
    overflow: hidden;
    max-width: 900px;
    /* マップの最大幅を設定 */
    width: 100%;
    /* 親要素の幅いっぱいに広がる */
    border-radius: 1rem;
    /* 角を丸くする */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* 影を追加 */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* iframeのデフォルトボーダーを削除 */
    border-radius: 1rem;
    /* 角を丸くする */
}

/* デスクトップレイアウト */
@media (min-width: 1000px) {
    .intro-grid {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 50px auto 0;
        padding: 0;
    }



    .intro-grid.reverse {
        flex-direction: row-reverse;
    }

    .intro-image {
        /*flex: 0 0 60%;*/
        height: 500px;
        border-radius: 20px;
    }

    .intro-image-even {
        border-radius: 20px 0 0 20px;
    }

    .intro-text {
        flex: 0 0 40%;
        margin: 0 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .slideshow-container {
        height: 500px;
    }
}

/* アクセス情報 */
.access-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.access-card {
    padding: 30px;
    background: white;
    transition: all 0.3s ease;
}


.access-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: #333;
}

.access-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}


.access-card p {
    line-height: 1.7;
    color: #555;
}



@media (min-width: 900px) {
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* アンケートセクション */
#questionnaire {
    background: white;
    border-radius: 20px;
    padding: 40px;
}

.questionnaire-placeholder {
    width: 100%;
    border-radius: 15px;
    height: 50vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: block;
    padding: 40px;
    margin-top: 30px;
    border: 2px dashed #dee2e6;
}

/* フッター */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1181C6;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    /* Changed from padding to padding-top */
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    /* Use env() to account for safe area */
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.footer-inner {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 960px;
    padding: 0 10px;
}

.footer-btn {
    flex: 1;
    margin: 0 5px;
    text-align: center;
    background: #fff;
    color: #1181C6;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 12px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-btn i {
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .footer-btn {
        font-size: 11px;
        padding: 14px 6px;
    }

    .footer-btn i {
        font-size: 20px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.vtuber_img {
    max-width: 300px;
}

.tags-container {
    margin-bottom: 40px;
}

.tags-label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags-label::before {
    content: '🏷️';
    font-size: 1.2rem;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    border: 2px solid #333;
    background: white;
    color: #333;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.tag:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.tag.active {
    background: #333;
    color: white;
}

.tag.colored {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.tag.colored:hover {
    background: #ff6b6b;
    color: white;
}

.tag.colored.active {
    background: #ff6b6b;
    color: white;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.spot-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.spot-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.panel-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.panel-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.panel-info:hover::before {
    transform: translateX(100%);
}

.panel-info.both {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.panel-info.soma {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.panel-info.suzuna {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.spot-content {
    padding: 25px;
}

.spot-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.spot-category {
    display: inline-block;
    padding: 6px 15px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.spot-category.tourism {
    background: #e8f5e8;
    color: #388e3c;
}

.spot-category.restaurant {
    background: #fff3e0;
    color: #f57c00;
}

.spot-category.hotel {
    background: #f3e5f5;
    color: #7b1fa2;
}

.spot-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.spot-address {
    font-size: 0.9rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.spot-address::before {
    content: '📍';
    font-size: 1rem;
}

.spot-hours {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.spot-hours::before {
    content: '🕒';
    font-size: 1rem;
}

.spot-url {
    text-align: center;
    margin-top: 15px;
}

.spot-url a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.spot-url a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .spots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .spot-content {
        padding: 20px;
    }

    .intro-text {
        font-size: 1rem;
        padding: 15px;
    }
}

.spot-card[hidden] {
    display: none !important;
}

[id] {
    scroll-margin-top: 100px;
}




/* ページトップに戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px black solid;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: none;
    z-index: 998;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: white;
    border: 1px black solid;
    color: black;
}

.scroll-to-top:active {
    transform: translateY(-2px);
}


/* ヘッダーの表示切替 */
.header-content {
    opacity: 0;
    transition: opacity .25s ease;
}

.header-content.is-visible {
    opacity: 1;
}

.no-hero .header-content {
    opacity: 1;
    transition: none;
    /* ← アニメーションせずパッと表示 */
}


.hash-btn {
    background-color: white;
    width: 80%;
    max-width: 960px;
    border-radius: 9999px;
    margin: 30px auto 0;
    text-align: center;
    padding: 20px 0;
    display: block;
    font-weight: 600;
}


.link-none {
    pointer-events: none;
    color: #83b7ce;
}



/*==================================================
機能編 4-2-9　背景色が四角に拡大（四隅へ）
===================================*/

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffec04;
    z-index: 9999999;
    text-align: center;
    color: #333;
    font-family: "Darumadrop One";
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#splash-logo img,
#splash-logo canvas {
    width: 50px;
}

/*画面遷移アニメーション*/
.splashbg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0px;
    border-style: solid;
    border-color: #ffec04;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

@keyframes backBoxAnime {
    99.9% {
        z-index: 2;
        border-width: 0px;
    }

    100% {
        z-index: -1;
        border-width: 0px;
    }
}