@charset "UTF-8";

/* ペアジュエリー限定ページ - SP対応完全版CSS */

/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #02235F;
    --secondary-color: #f3f3f3;
    --text-color: #1c1c1c;
    --text-light: #000;
    --text-muted: #9f9f9f;
    --border-color: #e2e8f0;
    --background-light: #f7fafc;
    
    /* 💡 変更点: フォントファミリーを更新 */
    --font-family-ja: "ヒラギノ明朝 W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "ＭＳ Ｐ明朝", "MS PMincho", serif;
    --font-family-en: 'Minion Medium', 'Minion Pro', Georgia, serif;
}

body {
    /* 💡 変更点: 日本語フォントを適用 */
    font-family: var(--font-family-ja);
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
}

/* 英数字フォント指定 (基本Minion Medium) */
h1, h2, h3, h4, h5, h6,
.hero-subtitle,
.cta-button,
.view-product-btn {
    font-family: var(--font-family-en);
}

/* 💡 価格のフォントと太さの固定 */
.product-price {
    font-family: 'Helvetica Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* パンくずリスト */
.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 12px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li + li::before {
    content: ">";
    padding: 0 8px;
    color: var(--text-muted);
}


/* ヒーローセクション */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: auto;
    display: block;
}

/* テキストセクション */
.text-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.hero-subtitle {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* 💡 調整点: 日本語の説明文はメインの日本語フォント（明朝体）を使用 */
.hero-description {
    font-family: var(--font-family-ja); 
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
}

.main-area {
    width: 100%;
    margin: 0 auto 100px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* プロダクトセクション */
.products-section {
    padding: 0 20px;
}

.product-item {
    margin-bottom: 80px;
    transition: all 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.product-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 限定ケースのホバー効果の無効化 */
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

.product-item.case-item:hover {
    transform: none; 
    box-shadow: none;
    cursor: default;
}


.product-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-layout.reverse {
    flex-direction: row-reverse;
}

.product-main-visual,
.product-info {
    flex: 1;
}

.product-main-visual {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 0 20px;
}

.product-name {
    /* 💡 日本語なので日本語フォント（明朝体）を適用 */
    font-family: var(--font-family-ja); 
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* 💡 価格のスタイル (Helvetica Light / 太字なし) */
.product-price {
    font-family: 'Helvetica Light', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-size: 20px;
    /* font-weight: bold; は削除済み */
    color: var(--text-light);
    margin-bottom: 25px;
}

/* 💡 調整点: 商品説明文はメインの日本語フォント（明朝体）を使用 */
.product-description {
    font-family: var(--font-family-ja);
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.view-product-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    /* 💡 英数字フォントはすでに適用済み */
    font-family: var(--font-family-en);
    font-size: 14px;
    font-weight: bold;
    padding: 12px 30px;
    letter-spacing: 0.1em;
    border: 1px solid var(--primary-color);
    transition: background 0.3s ease;
}

.view-product-btn:hover {
    background: #fff;
    color: var(--primary-color);
    opacity: 1;
}

/* 限定ケースセクション */
.case-section {
    margin: 100px auto;
}

.case-item {
    padding: 40px;
    background-color: var(--background-light);
    box-shadow: none; 
    transform: none;
    cursor: default;
}

.case-item .product-name {
    /* Special Case (英字) はMinion Medium */
    font-family: var(--font-family-en);
    font-size: 28px;
    margin-bottom: 5px;
}

.case-item .product-price {
    /* ペア限定ケース (日本語) は明朝体 */
    font-family: var(--font-family-ja);
    font-size: 22px;
    /* font-weight: bold; は削除済み */
    margin-bottom: 30px;
    color: var(--text-color);
}

.case-item .small-text {
    font-family: var(--font-family-ja);
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.case-fair-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.fair-title {
    /* Pair Jewelry Fair (英字) はMinion Medium */
    font-family: var(--font-family-en);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fair-description {
    /* 日本語の説明文は明朝体 */
    font-family: var(--font-family-ja);
    font-size: 13px;
    line-height: 1.7;
}

/* ペアジュエリーグリッドセクション */
.pair-jewelry-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sky-blue-bg {
    background-color: #d9e2e4;
}

.pair-jewelry-header {
    margin: 0 auto 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    padding: 0 20px;
}

.product-grid-item {
    margin-bottom: 0;
}

.product-grid-item .product-main-visual {
    margin-bottom: 10px;
}

.product-info-grid {
    padding: 0;
    text-align: center;
}

.product-info-grid .product-name {
    /* ペアネックレスなど (日本語) は明朝体 */
    font-family: var(--font-family-ja); 
    font-size: 16px;
    margin-bottom: 5px;
}

.product-info-grid .product-price {
    /* 価格 (グリッド内) も Helvetica Light / 太字なし */
    font-size: 18px;
    margin-bottom: 15px;
}


/* ==================================== */
/* モーダル (Modal) スタイル - 改善版 */
/* ==================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow-y: auto; 
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    position: relative;
    background: #fff;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* アニメーション用 */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin: 50px 0; 
}

.modal-overlay.active .modal-content-wrapper {
    opacity: 1;
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
    z-index: 10;
}

.modal-close-btn .icon-close::before {
    content: '×'; 
    font-family: Arial, sans-serif;
    font-weight: 300;
}

.modal-carousel-area {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

#modal-dynamic-content {
    /* JSで中身が更新されるコンテナ */
}

.carousel-wrapper {
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-item {
    flex-shrink: 0;
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ナビゲーションボタン */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    z-index: 5;
    opacity: 0.8;
    transition: opacity 0.2s;
    width: 40px;
    height: 40px;
    line-height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.modal-nav-btn:hover {
    opacity: 1;
}

.prev-btn {
    left: 10px;
}
.prev-btn::before { content: '‹'; }

.next-btn {
    right: 10px;
}
.next-btn::before { content: '›'; }

.modal-product-name {
    font-family: var(--font-family-ja);
    font-size: 20px;
    text-align: center;
    margin: 20px 0 15px;
    color: var(--primary-color);
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: var(--primary-color);
}

.modal-link-btn {
    display: block;
    width: 80%;
    margin: 20px auto 0;
    text-align: center;
}


/* ==================================== */
/* SP (768px以下) 対応スタイル */
/* ==================================== */
@media (max-width: 768px) {
    
    .sp {
        display: inline; 
    }
    
    .breadcrumbs {
        padding: 10px;
    }

    .main-area {
        padding-top: 20px;
    }
    
    .text-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .hero-subtitle {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .products-grid {
        padding: 0;
    }
    
    .products-section {
        padding: 1px 15px 20px;
    }

    .product-item {
        margin-bottom: 30px;
    }

    .product-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-layout.reverse {
        flex-direction: column; 
    }

    .product-main-visual {
        width: 100%;
    }
    
    .product-info {
        padding: 0 10px;
    }

    .product-name {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 17px;
    }

    .holiday-limited-section .view-product-btn {
        padding: 12px 24px;
        width: auto;
    }

    .view-product-btn {
        font-size: 13px;
        padding: 12px 0;
        width: 100%;
    }

    .case-section {
        margin: 0 auto;
    }
    
    /* SP専用：限定ケースのフォントサイズ調整 */
    .case-item h3.product-name {
        /* 「Special Case」をSPで16pxに固定 (英字: Minion Medium) */
        font-size: 18px; 
    }

    .case-item .product-price {
        /* 「ペア限定ケース」をSPで14pxに固定 (日本語: 明朝体) */
        font-family: var(--font-family-ja);
        font-size: 14px; 
        margin-bottom: 20px;
    }
    
    /* SP専用：限定ケースのフェア情報 */
    .case-item .fair-title {
        /* Pair Jewelry Fair (英字: Minion Medium) */
        font-family: var(--font-family-en);
        font-size: 18px;
    }
    
    .case-item .fair-description {
        /* 日本語の説明文は明朝体 */
        font-family: var(--font-family-ja);
        font-size: 12px;
    }

    .case-item .small-text {
        font-family: var(--font-family-ja);
        font-size: 10px;
    }


    /* Pair JewelryセクションのSPタイトル */
    .pair-jewelry-header .section-title {
        /* Pair jewelry (英字: Minion Medium) */
        font-size: 24px;
        margin-bottom: 15px;
    }

    .pair-jewelry-header .section-caption {
        /* 日本語の説明文は明朝体 */
        font-family: var(--font-family-ja);
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* モーダルSP対応 */
    .modal-content-wrapper {
        padding: 20px 15px;
        width: 95%;
    }
    
    .modal-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
        padding: 5px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .modal-product-name {
        font-size: 16px;
    }
}









.swiper-pagination-bullet-active {
    background-color: #333;
}

.product-box {
    flex: 1;
}

@media (max-width: 768px) {
    .swiper {
        width: 100%;
    }
    
}