/* ============================================
   BLEISURE SERIES - Stylesheet
   ============================================ */

/* ============================================
   Reset and Base Styles
   ============================================ */
/* ============================================
   CMS組み込み用：ラッパー要素にスタイルを適用
   ============================================ */
.bleisure-wrapper {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 50px 0;
}

img {
    transition: opacity 0.3s ease;
}

img[src=""] {
    opacity: 0;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.5rem 1.5rem;
    gap: 3rem;
    box-sizing: border-box;
    overflow: hidden;
}

.logo {
    z-index: 2;
}

.logo img {
    width: 125px;
    height: auto;
}

.hero-content {
    z-index: 2;
    color: #333333;
}

.main-title {
    font-family: 'Steelfish', sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #333333;
}

.hero-subtitle {
    font-weight: 800;
    font-size: 25px;
    line-height: 1.44;
    letter-spacing: 0.1em;
    text-align: center;
    color: #333333;
}

/* ============================================
   Video Section
   ============================================ */
.hero .hero-image {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    height: auto;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:focus {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid #FFFFFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* ============================================
   Lead Text Section
   ============================================ */
.lead-text {
    padding: 1rem 0.5rem 3rem;
    background: #FFFFFF;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lead-content {
    max-width: 360px;
    margin: 0 auto;
    padding: 10px;
}

/* ============================================
   Feature Section
   ============================================ */
.feature-section {
    padding: 3rem 0.5rem;
    background: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.feature-video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 4px;
}

.feature-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.feature-video-play:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.feature-video-play.show {
    display: flex;
}

.feature-description-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.feature-main-text {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 0.06em;
    text-align: justify;
    color: #333333;
    max-width: 360px;
    margin: 0 auto;
    padding: 10px;
}

.feature-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .feature-carousel-wrapper {
        padding: 0 0.5rem;
    }
    
    .feature-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .feature-carousel-nav {
        width: 32px;
        height: 32px;
    }
    
    .feature-carousel-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .feature-carousel-prev {
        left: 0;
    }
    
    .feature-carousel-next {
        right: 0;
    }
    
    /* Hide play button on mobile for feature video */
    .feature-video-play {
        display: none !important;
    }
    
    /* Hide play button on mobile for modal videos */
    .modal-video-play {
        display: none !important;
    }
    
    /* Hero image full width on mobile - ignore parent constraints */
    .hero {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible;
        max-width: 100% !important;
    }
    
    .hero-image {
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative;
        left: 0;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        aspect-ratio: unset;
        height: auto;
    }
    
    .hero-image img,
    .hero-image picture {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

.feature-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.feature-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}

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

.feature-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.feature-carousel-nav:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.feature-carousel-nav svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.feature-carousel-prev {
    left: 0;
}

.feature-carousel-next {
    right: 0;
}

.feature-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.feature-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.feature-carousel-indicator.active {
    background: #333;
    width: 24px;
    border-radius: 4px;
}

.feature-image {
    width: 100%;
    height: auto;
    min-height: 309px;
    overflow: hidden;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.feature-content {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.feature-title {
    font-weight: 800;
    font-size: 16px;
    line-height: 2.14;
    letter-spacing: 0.06em;
    color: #333333;
    margin: 10px 0;
}

.feature-description {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 0.06em;
    color: #333333;
    margin: 0;
}

.feature-description strong {
    display: block;
    margin: 8px 0;
    font-size: 13px;
}

.feature-note {
    display: block;
    font-size: 10px;
    color: #999999;
    margin-top: 8px;
    line-height: 1.5;
}

.feature-carousel-footer {
    text-align: center;
    font-size: 12px;
    color: #333333;
    margin: 2rem 0.5rem 0;
    line-height: 1.67;
}

.lead-content p {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 0.06em;
    text-align: justify;
    color: #333333;
}

.br-pc {
    display: none;
}

.overview-attention {
    color: #ff4a4a;
    font-size: 10px;
    display: block;
    margin: 40px auto;
    text-align: left;
    max-width: 360px;
}

/* ============================================
   Brand Icon Section
   ============================================ */
.brand-icon {
    display: flex;
    justify-content: center;
    padding: 2rem 0.5rem;
    background: #FFFFFF;
}

.brand-icon img {
    width: 180px;
    object-fit: contain;
}

/* ============================================
   Series Lineup Section
   ============================================ */
.series-lineup {
    padding: 3rem 0.5rem;
    background: #FFFFFF;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.series-image {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.series-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.section-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.06em;
    text-align: center;
    color: #000000;
    margin-bottom: 1.5rem;
}

.line {
    width: 96px;
    height: 2px;
    background: #000000;
    margin: 0 auto 2rem;
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}

.product-group-backpack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 4px;
    width: 100%;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-group-backpack .product-images-block {
    align-self: center;
}

.product-group-backpack .product-caption-block {
    align-self: flex-start;
    width: 100%;
}

.product-group-backpack .product-title {
    text-align: center;
    align-self: center;
    width: 100%;
}

.product-group-backpack .product-button-block {
    align-self: center;
    width: 100%;
}

.product-images-block {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.product-group-backpack .product-caption-block,
.product-group-backpack .product-button-block {
    max-width: 900px;
    margin: 0 auto;
}

.product-image-item {
    width: calc(33.333% - 1rem);
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-caption-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    text-align: center;
    min-height: calc(14px * 1.4 * 2 + 4px + 58px);
    align-items: flex-start;
}

.product-button-block {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 42px;
    align-items: flex-start;
}

.product-group-backpack .product-button {
    width: 100%;
    max-width: 100%;
}

.product-group-backpack:hover .product-button {
    background: #FFFFFF;
    color: #231815;
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px #231815 inset;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 4px;
    width: calc((100% - 2rem) / 3);
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.product-card .product-title {
    width: 100%;
    align-self: flex-start;
}

.product-card .product-description {
    width: 100%;
    align-self: flex-start;
}

.product-card .product-button {
    align-self: center;
    width: 100%;
}

.product-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

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

.product-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #333333;
    text-align: center;
    min-height: calc(14px * 1.4 * 2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-description {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: 0.04em;
    color: #333333;
    text-align: left;
    height: 58px;
    display: flex;
    align-items: center;
}

.product-button {
    width: 100%;
    padding: 10px;
    background: #231815;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-button:focus {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.product-card:hover .product-button {
    background: #FFFFFF;
    color: #231815;
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px #231815 inset;
}

/* ============================================
   Modal Base
   ============================================ */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.is-open .modal-backdrop {
    opacity: 1;
}

.modal.is-closing .modal-backdrop {
    opacity: 0;
}

.modal-dialog {
    position: relative !important;
    background: #fff;
    border-radius: 12px;
    width: 430px;
    min-height: 400px;
    max-width: 98vw;
    max-height: 98vh;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: auto;
}

.modal-dialog::-webkit-scrollbar {
    display: none;
}

.modal.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal.is-open .modal-dialog {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal.is-closing .modal-dialog {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-scroll-area {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 10px;
    flex-shrink: 0;
}

/* ============================================
   Modal Content
   ============================================ */
.modal-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 比較表用：動画と同じスタイルで表示 */
.modal-image.is-comparison {
    position: relative;
}

.modal-image.is-comparison img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    cursor: pointer;
}

/* 比較表表示時のスクロール可能コンテナを作成 */
.modal-content.has-comparison {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content.has-comparison::-webkit-scrollbar {
    display: none;
}

.modal-content.has-comparison .comparison-scroll-area {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.modal-content.has-comparison .comparison-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-content.has-comparison .comparison-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content.has-comparison .comparison-scroll-area::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.modal-content.has-comparison .comparison-scroll-area::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content.has-comparison .comparison-scroll-area .modal-video-container,
.modal-content.has-comparison .comparison-scroll-area .modal-title-container,
.modal-content.has-comparison .comparison-scroll-area .modal-description {
    position: relative;
}

/* 拡大可能の案内オーバーレイ */
.modal-image.is-comparison::after {
    content: 'クリックで拡大';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    pointer-events: none;
    opacity: 1;
    z-index: 5;
}

.modal-image.is-comparison img.zoomed {
    cursor: grab;
}

.modal-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.modal-image img,
.modal-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-image img.fade-out {
    opacity: 0;
    transform: scale(1.05);
}

.modal-image img.fade-in {
    opacity: 1;
    transform: scale(1);
}

.replay-button,
.modal-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.replay-button:hover,
.modal-video-play:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.replay-button.show,
.modal-video-play.show {
    display: flex;
}

.replay-icon {
    width: 0;
    height: 0;
    border-left: 20px solid #FFFFFF;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.modal-title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    max-width: 600px;
    width: 100%;
    gap: 15px;
}

.modal-title-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-align: center;
    color: #333333;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:10px auto;
}

.modal-title-text.slide-out {
    opacity: 0;
    transform: translateY(-10px);
}

.modal-title-text.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.modal-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 0.06em;
    text-align: justify;
    color: #333333;
    margin: 15px auto 40px;
    max-width: 300px;
    min-height: 75px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.modal-description a {
    color: #333333;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-description a:hover {
    color: #000000;
}


.modal-description.slide-out {
    opacity: 0;
    transform: translateY(10px);
}

.modal-description.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.modal-close-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    margin: 10px auto 10px;
    justify-content: center;
}

.close-icon {
    width: 18px;
    height: 18px;
    background-image: url('images/modal-close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover .close-icon {
    transform: rotate(180deg);
}

.close-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 2.31;
    color: #000000;
}

.modal-cta-button {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    margin: 1px auto 10px;
    padding: 10px;
    background: #121212 !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.modal-cta-button:hover {
    background: #FFFFFF !important;
    color: #121212 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px #121212 inset;
}

.modal-cta-button,
.modal-cta-button * {
    color: #FFFFFF !important;
}

.modal-cta-button:hover,
.modal-cta-button:hover * {
    color: #121212 !important;
}

/* ============================================
   Modal Tabs Navigation
   ============================================ */
.modal-tabs-container {
    position: relative;
    background: #FFFFFF;
    padding: 15px 0 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 20;
}

.modal-tabs-nav {
    position: absolute;
    top: 0;
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 25;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-tabs-container .modal-tabs-nav {
    top: calc(15px + 14.4px + 12px + 24px);
    transform: translateY(-50%);
}

.modal-tabs-nav:hover:not(:disabled) {
    background: #F5F5F5;
    border-color: #231815;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-tabs-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-tabs-nav svg {
    width: 18px;
    height: 18px;
    color: #333333;
}

.modal-tabs-nav-left {
    left: 8px;
}

.modal-tabs-nav-right {
    right: 8px;
}

.modal-tabs-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-align: center;
    color: #333333;
    margin: 0 0 12px 0;
    flex-shrink: 0;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 0 20px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    transform: translateZ(0);
    will-change: scroll-position;
    position: relative;
    min-height: 48px;
}

.modal-tabs:active {
    cursor: grabbing;
}

.modal-tabs::-webkit-scrollbar {
    display: none;
}

.modal-tab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #FFFFFF;
    color: #333333;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-break: break-word;
    min-width: 100px;
    max-width: 140px;
    min-height: 48px;
}

.modal-tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.modal-tab:hover {
    background: #F5F5F5;
    border-color: #231815;
}

.modal-tab:hover .modal-tab-icon {
    stroke-width: 2.5;
}

.modal-tab.active {
    background: #121212;
    color: #FFFFFF;
    border-color: #121212;
    font-weight: 700;
}

.modal-tab.active .modal-tab-icon {
    stroke-width: 2.5;
}

/* ============================================
   Fabric Section
   ============================================ */
.fabric-section {
    padding: 3rem 0.5rem;
    background: #FFFFFF;
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.fabric-section .section-title {
    color: #000000;
    margin-bottom: 2rem;
}

.fabric-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 calc(50% - 160px) 20px calc(50% - 160px);
}

.fabric-container::-webkit-scrollbar {
    display: none;
}

.fabric-container.active {
    cursor: grabbing;
    user-select: none;
}

.fabric-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: center;
}

.fabric-image {
    width: 100%;
    height: 309px;
    overflow: hidden;
    border-radius: 8px;
}

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

.fabric-content {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fabric-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 2.14;
    letter-spacing: 0.06em;
    color: #333333;
}

.fabric-description {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: 0.06em;
    color: #000000;
    text-align: justify;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.lead-text,
.brand-icon,
.hero-image,
.feature-section,
.series-lineup,
.fabric-section {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   Responsive Design - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    /* Modal adjustments */
    .modal-dialog {
        width: 900px;
        min-height: 500px;
        max-width: 90vw;
        max-height: 90vh;
        height: auto;
    }
    
    .modal-content {
        min-height: 0;
    }
    
    .modal-scroll-area {
        flex: 1 1 auto;
        max-height: none;
    }
    
    .modal-video-container {
        margin: 40px auto 0;
        max-width: 700px;
        aspect-ratio: 16 / 9;
    }
    
    .modal-video-container.is-comparison {
        max-width: 100%;
    }
    
    .modal-title-container {
        max-width: 700px;
    }
    
    .modal-title-text {
        font-size: 28px;
    }
    
    .modal-title-text br {
        display: none;
    }
    
    .modal-description {
        margin: 20px auto 40px;
        max-width: 500px;
        width: auto;
        min-height: auto;
    }
    
    .modal-cta-button {
        max-width: 300px;
        font-size: 12px;
        padding: 12px;
    }
    
    .modal-tabs-container {
        padding: 10px 0;
    }
    
    .modal-tabs-title {
        font-size: 14px;
        margin: 0 0 15px 0;
    }
    
    .modal-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        max-width: 100%;
        padding: 0 60px;
        flex-wrap: nowrap;
    }
    
    .modal-tab {
        padding: 10px 14px;
        font-size: 11px;
        gap: 10px;
        min-width: 110px;
        max-width: 160px;
        min-height: 52px;
    }
    
    .modal-tab-icon {
        width: 22px;
        height: 22px;
    }
    
    .modal-tabs-nav {
        width: 36px;
        height: 36px;
    }
    
    .modal-tabs-container .modal-tabs-nav {
        top: calc(20px + 16.8px + 15px + 26px);
    }
    
    .modal-tabs-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-tabs-nav-left {
        left: 12px;
    }
    
    .modal-tabs-nav-right {
        right: 12px;
    }
    
    /* Products grid adjustments */
    .products-grid {
        width: 100%;
        justify-content: center;
    }
    
    .product-group-backpack {
        width: 100%;
        max-width: 100%;
    }
    
    .product-images-block {
        gap: 12px;
        justify-content: center;
        max-width: 900px;
    }
    
    .product-image-item {
        width: calc(33.333% - 1rem);
    }
    
    .product-card {
        width: calc((100% - 2rem) / 3);
    }
    
    .product-group-backpack .product-caption-block,
    .product-group-backpack .product-button-block {
        max-width: 900px;
        margin: 0 auto;
    }
    
    /* Fabric section adjustments */
    .fabric-container {
        flex-direction: row;
        max-width: 800px;
        gap: 2rem;
        overflow-x: visible;
        padding: 0;
    }
    
    .fabric-item {
        flex: 1;
        scroll-snap-align: none;
    }
    
    .feature-item {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    @media (min-width: 1024px) {
        .feature-item {
            flex: 0 0 calc((100% - 30px) / 2);
            min-width: calc((100% - 30px) / 2);
        }
        
        .feature-image {
            min-height: 350px;
        }
    }
}

/* ============================================
   Responsive Design - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .modal-title-text br {
        display: none;
    }
    
    .hero {
        height: auto;
        margin-bottom: 0;
        padding-bottom: 1rem;
    }
    
    .lead-text {
        padding-top: 0.5rem;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 2rem;
    }
    
    .product-title {
        font-size: 17px;
        min-height: calc(17px * 1.4 * 2);
    }
    
    .lead-content {
        max-width: 800px;
        margin-top: 8px;
    }
    
    .lead-content p {
        font-size: 14px;
        text-align: center;
    }
    
    .feature-main-text {
        max-width: 800px;
        font-size: 14px;
        text-align: center;
        margin: 60px auto;
    line-height: 1.8;
    }
    
    .br-pc {
        display: block;
    }
    
    /* Products grid adjustments */
    .products-grid {
        width: 100%;
        justify-content: center;
    }
    
    .product-group-backpack {
        width: 100%;
        max-width: 100%;
    }
    
    .product-images-block {
        gap: 16px;
        justify-content: center;
        max-width: 900px;
    }
    
    .product-image-item {
        width: calc(33.333% - 1rem);
    }
    
    .product-group-backpack .product-caption-block {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    
    .product-group-backpack .product-button-block {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .product-group-backpack .product-button {
        width: 100%;
        max-width: 100%;
    }
    
    .product-card {
        width: calc((100% - 3rem) / 3);
    }
    
    /* Hide description for product cards (BACKPACK以外) on PC */
    .product-card .product-description {
        display: none;
    }
    
    .products-grid {
        gap: 1.5rem;
        justify-content: flex-start;
    }
}

/* ============================================
   Responsive Design - Mobile (Max 393px)
   ============================================ */
@media (max-width: 393px) {
    .main-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

/* ============================================
   Responsive Design - Mobile Modal (Max 767px)
   ============================================ */
@media (max-width: 767px) {
    .modal-dialog {
        width: 95%;
        max-width: 95%;
    }
    
    .product-card .product-description {
        display: none;
    }
    
    .product-title {
        font-size: 12px;
        min-height: calc(12px * 1.4 * 2);
    }
    
    .product-button {
        font-size: 9px;
        padding: 8px;
    }
    
    .products-grid {
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .product-card {
        width: calc((100% - 2rem) / 3);
    }
}

/* ============================================
   Scene Section
   ============================================ */
.scene-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    box-sizing: border-box;
}

.scene-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.scene-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
}

.scene-carousel-track {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    position: relative;
}

.scene-carousel-track-clone {
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}

@keyframes sceneSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scene-slide-distance, -100%));
    }
}

.scene-item {
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    width: auto;
}

.scene-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.scene-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.scene-carousel-nav:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scene-carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scene-carousel-nav svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.scene-carousel-prev {
    left: 0;
}

.scene-carousel-next {
    right: 0;
}

/* ============================================
   Scene Progress Bar
   ============================================ */
.scene-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.scene-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #333;
    animation: sceneProgress 100s linear infinite;
}

@keyframes sceneProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .scene-item {
        flex: 0 0 auto;
        width: auto;
        height: 300px;
    }
    
    .scene-carousel-nav {
        width: 32px;
        height: 32px;
    }
    
    .scene-carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .scene-item {
        flex: 0 0 auto;
        width: auto;
        height: 350px;
    }
    
    .scene-carousel-nav {
        width: 32px;
        height: 32px;
    }
    
    .scene-carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   Scene Lightbox
   ============================================ */
.scene-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s 0.5s;
}

.scene-lightbox.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s;
}

.scene-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scene-lightbox.active .scene-lightbox-backdrop {
    opacity: 1;
}

.scene-lightbox-content {
    position: relative;
    z-index: 10001;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85) translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scene-lightbox.active .scene-lightbox-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.scene-lightbox:not(.active) .scene-lightbox-backdrop {
    opacity: 0;
}

.scene-lightbox:not(.active) .scene-lightbox-content {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
}

.scene-lightbox-main {
    margin-bottom: 0;
}

.scene-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scene-lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 90%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: 10002;
    overflow: hidden;
}

.scene-lightbox-thumbnails-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.scene-lightbox-thumbnails-track::-webkit-scrollbar {
    height: 6px;
}

.scene-lightbox-thumbnails-track::-webkit-scrollbar-track {
    background: transparent;
}

.scene-lightbox-thumbnails-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.scene-lightbox-thumbnails-track::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.scene-lightbox-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: auto;
}

.scene-lightbox-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.scene-lightbox-thumbnail.active {
    border-color: #333;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scene-lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scene-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scene-lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.scene-lightbox-close svg {
    width: 20px;
    height: 20px;
    color: #333;
}

@media (max-width: 767px) {
    .scene-lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .scene-lightbox-content {
        max-width: 95%;
        padding: 50px 10px 10px;
    }
    
    .scene-lightbox-image {
        max-height: 60vh;
    }
    
    .scene-lightbox-thumbnails {
        width: calc(100% - 20px);
        bottom: 10px;
        padding: 10px 15px;
    }
    
    .scene-lightbox-thumbnail {
        width: 60px;
        height: 60px;
    }
}


.hero-video-container {
    width: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* PC: 最大50vh */
@media (min-width: 768px) {
    .hero-video-container {
        max-height: 70vh;
    }
    
    .hero-video {
        height: 70vh;
        max-height: 70vh;
        width:auto;
    }
}

/* SP: 100vh */
@media (max-width: 767px) {
    .hero-video-container {
        height: 90vh;
    }
    
    .hero-video {
        height: 90vh;
        width:auto;
    }
}