/* ==========================================================================
   PRIMA! トップページ 固有スタイル
   ========================================================================== */

/* ==========================================================================
   1. MVカルーセルセクション
   ========================================================================== */
   .hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    z-index: 1;
}

/* カルーセルコントロール */
.carousel-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-prev svg path,
.carousel-next svg path {
    stroke: #fff;
}

/* コレクション名 */
.carousel-collection-name {
    text-align: center;
    min-width: 200px;
}

.collection-name {
    font-family: var(--font-headline);
    font-size: 24px;
    letter-spacing: 3px;
    color: #fff;
    display: block;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 一時停止/再生ボタン */
.carousel-pause {
    position: absolute;
    bottom: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-pause:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-pause.playing svg rect {
    display: block;
}

.carousel-pause.paused svg rect {
    display: none;
}

.carousel-pause.paused svg {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
}

/* ==========================================================================
   2. ブランド概要セクション
   ========================================================================== */
.brand-intro {
    padding: 120px 0;
    background-color: var(--color-white);
}

.brand-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.brand-tagline {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tagline-jp {
    font-family: var(--font-body);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--color-black);
    line-height: 1.4;
}

.tagline-en {
    font-family: var(--font-headline);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.08em;
    color: #666;
}

.brand-description-jp {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    color: var(--color-black);
}

.brand-description-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.05em;
    color: #333;
    margin-bottom: 50px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-headline);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--color-black);
    text-decoration: none;
    border: 1px solid var(--color-black);
    padding: 15px 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    transition: left 0.4s ease;
    z-index: -1;
}

.learn-more-btn:hover::before {
    left: 0;
}

.learn-more-btn:hover {
    color: var(--color-white);
}

.learn-more-btn:hover svg path {
    stroke: var(--color-white);
}

.learn-more-btn svg {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover svg {
    transform: translateX(5px);
}

/* ==========================================================================
   3. ナビゲーションセクション
   ========================================================================== */
.site-navigation {
    padding: 100px 0 120px;
    background-color: #fafafa;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.nav-card {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    background-color: var(--color-white);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.nav-card-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.nav-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nav-card:hover .nav-card-image img {
    transform: scale(1.08);
}

.nav-card-content {
    padding: 30px;
    text-align: center;
}

.nav-card-title {
    font-family: var(--font-headline);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--color-black);
}

.nav-card-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #666;
}

/* オンラインショップCTA */
.shop-cta {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #e0e0e0;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-headline);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--color-white);
    background-color: var(--color-black);
    text-decoration: none;
    padding: 20px 60px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: left 0.4s ease;
    z-index: 0;
}

.shop-btn:hover::before {
    left: 0;
}

.shop-btn span,
.shop-btn svg {
    position: relative;
    z-index: 1;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.shop-btn svg {
    transition: transform 0.3s ease;
}

.shop-btn:hover svg {
    transform: translateX(5px);
}

.shop-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.05em;
    color: #666;
    margin-top: 15px;
}

/* ==========================================================================
   4. アニメーション効果
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. レスポンシブスタイル
   ========================================================================== */

/* 大型デスクトップ向け (1200px以上) */
@media screen and (min-width: 1200px) {
    .brand-intro {
        padding: 140px 0;
    }
    
    .tagline-jp {
        font-size: 42px;
    }
}

/* 中型デスクトップ・タブレット向け (1200px以下) */
@media screen and (max-width: 1200px) {
    .nav-grid {
        gap: 20px;
    }
    
    .nav-card-image {
        height: 350px;
    }
}

/* タブレット・小型デスクトップ向け (991px以下) */
@media screen and (max-width: 991px) {
    .brand-intro {
        padding: 100px 0;
    }
    
    .tagline-jp {
        font-size: 32px;
    }
    
    .tagline-en {
        font-size: 18px;
    }
    
    .brand-description-text {
        font-size: 14px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto 60px;
    }
    
    .nav-card-image {
        height: 400px;
    }
    
    .site-navigation {
        padding: 80px 0 100px;
    }
}

/* タブレット・モバイル向け (767px以下) */
@media screen and (max-width: 767px) {
    .hero-carousel {
        height: 100vh;
    }
    
    .carousel-controls {
        bottom: 60px;
        gap: 30px;
    }
    
    .carousel-prev,
    .carousel-next {
        padding: 5px;
    }
    
    .carousel-prev svg,
    .carousel-next svg {
        width: 30px;
        height: 30px;
    }
    
    .collection-name {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .carousel-pause {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .brand-intro {
        padding: 80px 0;
    }
    
    .brand-intro-content {
        padding: 0 20px;
    }
    
    .tagline-jp {
        font-size: 28px;
    }
    
    .tagline-en {
        font-size: 16px;
    }
    
    .brand-description-jp {
        font-size: 16px;
    }
    
    .brand-description-text {
        font-size: 14px;
        line-height: 1.9;
    }
    
    .learn-more-btn {
        padding: 12px 30px;
        font-size: 13px;
    }
    
    .nav-card-image {
        height: 300px;
    }
    
    .nav-card-content {
        padding: 25px;
    }
    
    .nav-card-title {
        font-size: 20px;
    }
    
    .shop-btn {
        font-size: 16px;
        padding: 18px 50px;
    }
    
    .site-navigation {
        padding: 60px 0 80px;
    }
}

/* スマートフォン向け (576px以下) */
@media screen and (max-width: 576px) {
    .carousel-controls {
        bottom: 40px;
        gap: 20px;
    }
    
    .carousel-collection-name {
        min-width: 150px;
    }
    
    .collection-name {
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .brand-intro {
        padding: 60px 0;
    }
    
    .tagline-jp {
        font-size: 24px;
        letter-spacing: 0.08em;
    }
    
    .tagline-en {
        font-size: 14px;
    }
    
    .brand-description-jp {
        font-size: 15px;
    }
    
    .brand-description-text {
        font-size: 13px;
        margin-bottom: 40px;
    }
    
    .nav-grid {
        max-width: 100%;
    }
    
    .nav-card-image {
        height: 250px;
    }
    
    .nav-card-content {
        padding: 20px;
    }
    
    .nav-card-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    
    .nav-card-subtitle {
        font-size: 12px;
    }
    
    .shop-cta {
        padding-top: 40px;
    }
    
    .shop-btn {
        font-size: 15px;
        padding: 16px 40px;
        letter-spacing: 2px;
    }
    
    .site-navigation {
        padding: 50px 0 60px;
    }
}

/* 極小デバイス向け (375px以下) */
@media screen and (max-width: 375px) {
    .carousel-controls {
        gap: 15px;
    }
    
    .collection-name {
        font-size: 14px;
    }
    
    .tagline-jp {
        font-size: 22px;
    }
    
    .brand-description-text br {
        display: none;
    }
    
    .nav-card-image {
        height: 220px;
    }
    
    .shop-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}

/* 横向き表示の調整 */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .hero-carousel {
        height: 100vh;
    }
    
    .carousel-controls {
        bottom: 30px;
    }
}

/* ==========================================================================
   6. アクセシビリティ対応
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .carousel-item,
    .nav-card,
    .learn-more-btn,
    .shop-btn {
        transition: none;
    }
    
    @keyframes fadeInUp {
        from, to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* フォーカス表示の改善 */
.carousel-prev:focus,
.carousel-next:focus,
.carousel-pause:focus,
.learn-more-btn:focus,
.shop-btn:focus,
.nav-card:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
}