/* =========================================
   Base Styles
========================================= */
:root {
    --color-text: #000000;
    --color-gray: #777;
    --color-bg-light: #f4f6f9;
    --color-accent: #000;
    --font-base: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.section-padding {
    padding: 80px 0;
}

/* =========================================
   Typography & Utilities
========================================= */
.section-tag {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-gray);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

/* 見出しの1行表示調整（自動可変＆改行防止） */
.section-title {
    font-size: clamp(1.2rem, 3.2vw, 2rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
    white-space: normal;
    /* ★ @mediaの外：全画面共通 */
    word-break: break-word;
}

/* リスト記号 */


.TeS-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.TeS-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.TeS-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #003692;
    /* ボタンと同じ青色 */
    font-size: 0.75rem;
}


/* 角斜めカットフレーム */
.clip-corner {
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
    overflow: hidden;
}

/* セクションに相対位置を指定して風船を絶対配置可能に */
#about,
#shops {
    position: relative;
}

/* =========================================
   Header (ファーストビュー収容のためコンパクト化)
========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4%;
    position: absolute;
    /* sticky から absolute に変更してカルーセルの上に重ねる */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    /* 背景をすりガラス風に透過 */
    backdrop-filter: blur(8px);
    /* すりガラス風のぼかし効果 */
    -webkit-backdrop-filter: blur(8px);
    /* Safari対応 */
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.global-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.global-nav a {
    font-size: 0.9rem;
    font-weight: 700;
}

/* header { display: flex; justify-content: space-between; align-items: center; padding: 10px 4%; position: sticky; top: 0; background: rgba(255,255,255,0.95); z-index: 100; border-bottom: 1px solid #eee; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
.global-nav ul { display: flex; gap: 30px; list-style: none; }
.global-nav a { font-size: 0.9rem; font-weight: 700; } */

/* =========================================
   Hero Section & Infinite Marquee Carousel
========================================= */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-top: 0px; */
    padding-top: 72px;
    padding-bottom: 50px;
    position: relative;
}



/* カルーセルコンテナ */

.hero-carousel-container {
    width: 100%;
    max-width: none;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

/* .hero-carousel-container {
    width: 75%;
    max-width: 1300px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
} */

/* カルーセル縦幅の調整 */


.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    /* height: clamp(550px, 75vh, 800px); */
    height: clamp(550px,75vh, 850px);
    background: var(--color-bg-light);
    clip-path: none;
    border-radius: 0;
    overflow: hidden;
}

/* 流れるアニメーションの定義 (3枚分移動) */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* トラック幅：1枚100% × (オリジナル3枚 + クローン3枚) = 600% */
.carousel-track {
    display: flex;
    /* width: 600%; */
    width: max-content; /* ★重要：画像の数に応じた横幅になる */
    height: 100%;
    animation: marquee 45s linear infinite;
}

/* ホバー時にアニメーションを一時停止 */
.hero-carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* 1スライドで枠全体（100%）を占有 */
.carousel-slide {
    /* width: calc(100% / 6); */
    width: auto; /* ★100%指定を解除 */
    height: 100%;
    flex-shrink: 0; /* ★画面幅が狭くても画像を押しつぶさない */
}

/* 1枚の横長画像を黒枠なしで全面表示 */
.carousel-slide img {
    /* width: 100%; */
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ゴジラ画像のみ上基準で表示 */
.carousel-slide img.align-top {
   object-position: center;
}

/* 左下オーバーレイタグ */
.carousel-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 14px 24px 14px 36px;
    border-radius: 0 4px 0 0;
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    z-index: 10;
}

/* テキストエリア */
.hero-text {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

/* .btn { display: inline-block; padding: 14px 38px; background: var(--color-accent); color: #fff; font-weight: bold; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); } */

/* =========================================
   ボタンデザイン
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    /* 横の余白をコンパクトに調整 */
    white-space: nowrap;
    /* ★テキストの途中で絶対改行させない */
    background: var(--color-accent);
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border-radius: 4px;
    /* 角丸（シャープな角が好みなら 4px に変更） */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); */
    transition: all 0.3s ease;
}

/* ホバー時の挙動 */
.btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    filter: brightness(0.88);
}

/* 矢印（＞）の追加と中央揃え */
.btn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    flex-shrink: 0;
    /* 矢印がつぶれるのを防止 */
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* 黒ボタン用の基準スタイル */
.btn-x {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

/* 右側の矢印（＞）を白色に戻す */
.btn-x::after {
    border-top-color: #ffffff !important;
    border-right-color: #ffffff !important;
}

/* Xロゴ部分だけの白背景小枠 */
.x-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #dddddd;
    border-radius: 0;
    /* 四角（少し角丸）。丸アイコンにしたい場合は 50% に変更 */
    margin-right: 8px;
    flex-shrink: 0;
}

/* ホバー時の見た目（少し明るい黒に） */
.btn-x:hover {
    filter: brightness(1.25);
}


/* =========================================
   About Section
========================================= */
.about-inner {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-text {
    flex: 1;
    padding-left: 50px;
}

.about-text p.desc {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.about-visual {
    flex: 1;
    background: var(--color-bg-light);
    padding: 40px;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-grid .item-wide {
    grid-column: span 2;
    height: 200px;
    background: #ccc;
    overflow: hidden;
    border-radius: 4px;
}

.about-grid .item {
    height: 200px;
    background: #ccc;
    overflow: hidden;
    border-radius: 4px;
}

.about-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Shop Info Section
========================================= */
#shops {
    background: #fafafa;
}

.shop-card {
    display: flex;
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    width: 100%;
    position: relative;
    z-index: 2;
}

.shop-card.reverse {
    flex-direction: row-reverse;
}

.shop-info {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.shop-info > .btn {
    align-self: flex-start;
}

.shop-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 写真3枚 ＋ マップ上下配置 */
.shop-visual {
    flex: 1.2;
    padding: 30px;
    background: var(--color-bg-light);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shop-photos {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列のレイアウトにする */
    gap: 15px;
}

/* 1枚目の画像（メイン写真）の表示枠と切り抜き位置を調整 */
.shop-photos .photo-item:first-child {
    grid-column: span 2;
    height: 220px; 
}

.shop-photos .photo-item:first-child img {
    object-position: center top; /* 上部の看板が見切れないように上基準で配置 */
}


.photo-item {

    height: 150px;
    background: #ddd;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

/* 東京・日比谷店：上部の「TOHO entertainment STORE」看板を確実に見せる */
#tokyo .shop-photos .photo-item:first-child img {
    object-position: center 5%; /* 上端から少し余白を残して看板を綺麗に収める */
}

/* 大阪・NU茶屋町店：左上の「ゴジラストア看板」と右側の「ゴジラスタチュー」を収める */
#osaka .shop-photos .photo-item:first-child img {
    object-position: 70% top; /* やや右寄り・上基準にしてスタチューと看板のバランスを取る */
}

/* ホバー時に虫眼鏡マーク＆ズーム感のカーソル演出 */
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.photo-item::after {
    content: "🔍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    font-size: 1.2rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.photo-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.shop-map {
    width: 100%;
    flex: 1;
    min-height: 200px;
    border-radius: 4px;
    overflow: hidden;
}

.shop-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   Image Modal (店舗写真の拡大表示用)
========================================= */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    cursor: zoom-out;
}

.image-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.image-modal.is-open .modal-content {
    transform: scale(1);
}

.modal-caption {
    margin-top: 15px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.05em;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s, transform 0.2s;
    user-select: none;
}

.modal-close:hover {
    opacity: 0.7;
    transform: scale(1.1);
}


/* =========================================
   Footer Banners (PCで横一列・コンパクト表示)
========================================= */
.footer-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.footer-banners a {
    /* flex: 1; と max-width: 220px; を削除して内容に応じた幅にする */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* テキストリンクが途中で改行されないように追加 */
}
.footer-banners img {
    width: auto; /* 横幅を自動にして元のアスペクト比を維持 */
    height: 50px; /* 高さを50pxで統一 */
    /* object-fit: contain; は不要になるため削除 */
    display: block;
}

/* レスポンシブ調整（画面幅が狭くなった場合） */
@media (max-width: 900px) {
    .footer-banners {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-banners a {
        max-width: none; /* 幅の制限を解除し、自然な幅を保つ */
    }
}

/* スマホサイズ（480px以下） */
@media (max-width: 768px) {

    .carousel-tag {
        width: 100%;
        /* 横幅を100%いっぱいに広げる */
        text-align: center;
        /* テキストを中央揃えに */
        padding: 10px 15px;
        /* スマホ用にパディングを整える */
        font-size: 0.85rem;
        /* 文字サイズを少し調整 */
    }


    /* NEWSエリア全体の左右に余白を作る */
    .news-inner {
        padding: 0 20px; /* 左右に20pxのスペースを確保 */
    }

    /* ニュース項目の左側の余白を微調整 */
    .news-item {
        padding-left: 10px;
    }

    /* ▼ここを追加：フッターバナーを縦並びに変更 */
    .footer-banners {
        flex-direction: column;
        /* 横並びから縦並びに変更 */
        align-items: center;
        gap: 15px;
        /* バナー同士の上下の余白 */
        margin-bottom: 40px;
        padding: 0;
    }

    .footer-banners a {
        width: 100%;
        max-width: 280px;
        /* スマホ画面で適正な幅に拡大（お好みのサイズに調整可能） */
    }

    .footer-banners img {
        width: 100%;
        height: auto;
        /* 高さを自動にして画像の比率をきれいに維持 */
    }

}

/* =========================================
   Footer
========================================= */
footer {
    background: #111;
    color: #fff;
    padding: 60px 4% 30px;
    text-align: center;
}

.footer-logo img {
    height: 36px;
    width: auto;
    margin: 0 auto 15px;
    filter: brightness(0) invert(1);
}

.footer-message {
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    color: #aaa;
}

.footer-copy {
    font-size: 0.8rem;
    color: #666;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* =========================================
   Responsive (Laptop / Medium Screens: 769px - 1024px)
========================================= */
@media (max-width: 1024px) {
    .container {
        padding: 0 4%;
    }

    .about-inner {
        gap: 40px;
    }

    .about-text {
        padding-left: 30px;
    }

    .about-visual {
        padding: 30px;
    }

    .about-grid .item-wide,
    .about-grid .item {
        height: 160px;
    }

    .shop-info {
        padding: 40px 30px;
    }

    .shop-visual {
        padding: 25px;
    }


}

/* =========================================
   Responsive (SP: <= 768px)
========================================= */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .logo img {
        height: 34px;
    }

    #hero {
        /* スマホのヘッダー高さ（約64px）分、カルーセル全体を下にずらす */
        padding-top: 65px; 
    }
 

    .hero-carousel-container {
        width: 92%;
        margin-bottom: 25px;
    }

    .hero-carousel-wrapper {
        height: 450px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 10px 28px;
        font-size: 0.9rem;
    }



    .about-inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-text {
        padding: 0 20px;
    }

    .about-visual {
        width: 100%;
        padding: 20px;
    }

    .about-grid .item-wide,
    .about-grid .item {
        height: 140px;
    }

    .shop-card {
        flex-direction: column;
    }

    .shop-card.reverse {
        flex-direction: column;
    }

    .shop-info {
        padding: 30px 20px;
    }

    .shop-visual {
        padding: 20px;
        width: 100%;
        flex: none;
    }

    .shop-photos {
        flex-direction: column;
        gap: 10px;
    }

    .photo-item {
        width: 100%;
        height: 160px;
    }

    .shop-map {
        flex: none;
        height: 220px;
        min-height: auto;
    }

    /* モーダル閉じるボタン位置調整 */
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 2.2rem;
    }
}

/* =========================================
   News Section & List
========================================= */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.news-item:hover {
    background-color: var(--color-bg-light);
}

.news-item::after {
    content: "▶";
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-left: auto;
    padding-left: 10px;
    transition: transform 0.2s, color 0.2s;
}

.news-item:hover::after {
    transform: translateX(4px);
    color: var(--color-accent);
}

.news-date {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-gray);
    width: 120px;
    flex-shrink: 0;
}

.news-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

/* =========================================
   News Modal
========================================= */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.news-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.news-modal-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-modal.is-open .news-modal-content {
    transform: translateY(0);
}

.news-modal .modal-close {
    color: #000000;
    top: 15px;
    right: 20px;
}

.news-modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    padding-right: 30px;
}

.news-modal-date {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-gray);
    display: block;
    margin-bottom: 5px;
}

.news-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-modal-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.news-modal-body p {
    margin-bottom: 1em;
}

.news-modal-body p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ調整（SP表示） */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-right: 30px;
    }

    .news-item::after {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .news-item:hover::after {
        transform: translateY(-50%) translateX(2px);
    }

    .news-date {
        width: auto;
    }

    .news-modal-content {
        padding: 30px 20px;
    }
}

/* =========================================
   News Modal 内の画像レイアウト
========================================= */
.news-modal-body .news-modal-img {
    margin-bottom: 20px;
    text-align: center;
}

.news-modal-body .news-modal-img img {
    max-width: 100%;
    max-height: 400px; /* モーダルを突き破らないよう縦幅を制限 */
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}