/* フロントページカスタムスタイル */

/* セクション基本スタイル */
.section {
    padding: 4rem 0;
}

/* 通常のアニメーション */
.animate {
    opacity: 0;
    will-change: transform, opacity;
}

.animate.fade-up { transform: translateY(30px); }
.animate.fade-down { transform: translateY(-30px); }
.animate.fade-left { transform: translateX(30px); }
.animate.fade-right { transform: translateX(-30px); }
.animate.zoom-in { transform: scale(0.95); }
.animate.zoom-out { transform: scale(1.05); }

/* スクロール連動アニメーション */
.scroll-animate {
    will-change: transform, opacity;
}

/* スクロール量に応じた移動 */
.scroll-move-up { opacity: 1; }     /* 上に移動 */
.scroll-move-down { opacity: 1; }   /* 下に移動 */
.scroll-move-left { opacity: 1; }   /* 左に移動 */
.scroll-move-right { opacity: 1; }  /* 右に移動 */

/* スクロール量に応じた回転 */
.scroll-rotate { opacity: 1; }      /* 回転 */
.scroll-rotate-x { opacity: 1; }    /* X軸回転 */
.scroll-rotate-y { opacity: 1; }    /* Y軸回転 */

/* スクロール量に応じたスケール */
.scroll-scale { opacity: 1; }       /* 拡大縮小 */

/* スクロール量に応じた透明度 */
.scroll-fade { opacity: 1; }        /* フェード */

/* スクロール位置に応じた表示切替 */
.scroll-toggle { opacity: 1; }      /* 表示非表示の切り替え */

/* パララックス効果 */
.scroll-parallax { opacity: 1; }    /* パララックス */

/* スクロール位置に応じたステップアニメーション */
.scroll-step { opacity: 1; }        /* ステップアニメーション */

/* モバイルメニュー */
.mobile-menu {
    transform: translateX(100%);
    opacity: 0;
}

/* Back to Topボタン */
#back-to-top {
    visibility: visible;
    cursor: pointer;
}

/* レイアウト調整 */
@media screen and (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 300px;
        background: white;
        z-index: 50;
    }
}

/* Heroセクションのスタイル */
.parallax-bg {
    height: auto; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 0; 
    overflow: hidden; 
    display: flex; 
    justify-content: center;
    background: linear-gradient(to bottom, #E6DED3, #d8cfc2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

@media (max-width: 767px) {
    .parallax-bg {
        background: linear-gradient(to bottom, #E6DED3, #d8cfc2);
    }
}

/* PCとタブレット表示用のスタイル */
@media (min-width: 768px) {
    .pc-layout {
        display: table !important;
        width: 100%;
    }
    .pc-layout-cell {
        display: table-cell !important;
        width: 50%;
        vertical-align: top;
        padding: 10px;
    }
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

/* スクロールに応じて背景色が変化するスタイル */
.scroll-color-change {
    background-color: #b8c1c4;
}

/* Visitor Countセクションのスタイル */
.visitor-count-section {
    background-color: black;
    color: white;
    padding: 0.5rem 0;
}

.visitor-count-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.visitor-count-label {
    background-color: white;
    color: black;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    white-space: nowrap;
    font-size: 0.75rem;
    min-width: 100px;
    text-align: center;
}

.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.scrolling-content {
    display: inline-block;
    padding-right: 2em; /* 繰り返しテキストの間隔 */
    animation: scroll-left 10s linear infinite;
    font-weight: bold;
    font-size: 0.875rem;
}

/* ホバー時に一時停止 */
.scrolling-text:hover .scrolling-content {
    animation-play-state: paused;
}

@media (min-width: 768px) {
    .visitor-count-label {
        padding: 0.5rem 2rem;
        font-size: 1rem;
        min-width: 120px;
    }
    
    .scrolling-content {
        font-size: 1.5rem;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Movieセクションのスタイル */
.movie-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 2rem 0;
}

.movie-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.movie-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.movie-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button svg {
    width: 30px;
    height: 30px;
    fill: #000;
    margin-left: 5px; /* 再生ボタンを少し右にオフセット */
}

.movie-overlay:hover .play-button {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .movie-section {
        margin: 1rem 0;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button svg {
        width: 20px;
        height: 20px;
    }
}

/* スマートフォン表示用のスタイル */
@media (max-width: 767px) {
    .movie-full-width {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    .movie-full-width img {
        border-radius: 0;
     
    }
}

/* Stats & Newsセクションのスタイル */
/* スクロールバーのスタイリング */
.overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}

.overflow-y-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Menuセクションのスタイル */
.menu-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid white;
    padding: 1rem;
    color: #e5e7eb;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* アンダーラインを無しにする */
#menu a {
    text-decoration: none;
}

#menu p {
    text-decoration: none;
}

.menu-circle:hover {
    border-color: #d1d5db;
    background-color: rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.menu-title {
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.menu-subtitle {
    font-size: 0.625rem;
    line-height: 0.75rem;
    color: white;
}

@media (min-width: 768px) {
    .menu-circle {
        padding: 1.5rem;
    }
    .icon-wrapper {
        margin-bottom: 0.75rem;
    }
    .menu-title {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .menu-subtitle {
        font-size: 0.75rem;
        line-height: 1rem;
    }
}

/* Technicalセクションのスタイル */
.technical-subtitle {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Video Introductionセクションのスタイル */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Testimonialsセクションのスタイル */
.testimonials-swiper {
    padding: 20px 0;
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonials-swiper .swiper-button-prev:after,
.testimonials-swiper .swiper-button-next:after {
    font-size: 24px;
    color: #000;
}

.testimonials-swiper .swiper-slide {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.testimonials-swiper .swiper-slide-active {
    opacity: 1;
}

/* New Storesセクションのスタイル */
/* カテゴリー別の色設定 */
.bg-opening-100 { background-color: #fee2e2; }
.text-opening-800 { color: #991b1b; }

.bg-event-100 { background-color: #dbeafe; }
.text-event-800 { color: #1e40af; }

.bg-media-100 { background-color: #d1fae5; }
.text-media-800 { color: #065f46; }

.bg-other-100 { background-color: #e5e7eb; }
.text-other-800 { color: #1f2937; }
