@charset "UTF-8";

/* ペアジュエリー限定ページ - SP対応完全版CSS */

/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラー設定 */
    --primary-color: #5b5b5b;
    --secondary-color: #f3f3f3;
    --text-color: #1c1c1c;
    --text-light: #5b5b5b;
    --text-muted: #9f9f9f;
    --border-color: #ff8b8b;
    --background-light: #fcfafa;

    /* --- 基本方針に合わせたフォント定義 --- */
    --font-family-base: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
    --font-family-en-title: "Minion Pro", "Minion Medium", Georgia, serif;
    --font-family-ja-title: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}

body {
    font-family: var(--font-family-base); /* 修正: 定義名に合わせる */
    color: var(--text-color);
    line-height: 1.6;
}

/* タイトルや見出しへの適用例 */
.main-title-en {
    font-family: var(--font-family-en-title);
}
.main-title-ja {
    font-family: var(--font-family-ja-title);
}

/* 英数字フォント指定 (基本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 {

    margin: 0 auto;

    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: 1280px;
    margin: 50px auto 5px;
    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: 1536px;
    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 {
    /* 💡 変更点: アイテム名は Yu Gothic を適用 */
    font-family: var(--font-family-base); 
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 10px;
}

/* 💡 変更点: 価格も方針に基づき Yu Gothic で統一 */
.product-price {
    font-family: var(--font-family-base); 
    font-size: 20px;
    /* 視認性を考慮し、太字はなし */
    font-weight: 500; 
    color: var(--text-light);
    margin-bottom: 5px;
}

/* 💡 変更点: 商品説明文も Yu Gothic を使用 */
.product-description {
    font-family: var(--font-family-base);
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 10px;
}

.view-product-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    /* 💡 変更点: UI要素なので Yu Gothic で統一 */
    font-family: var(--font-family-base);
    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;
}
/* 英語タイトル/見出し [cite: 21, 28] */
h1, 
.hero-subtitle, 
.section-title, 
.fair-title,
.case-item h3.product-name {
    font-family: var(--font-family-en-title);
    font-weight: normal;
}
/* 英語タイトル/見出し [cite: 21, 28] */
h1, 
.hero-subtitle, 
.section-title, 
.fair-title,
.case-item h3.product-name {
    font-family: var(--font-family-en-title);
    font-weight: normal;
}


/* 限定ケースセクション */
.case-section {
    margin: 50px 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; は削除済み */

    color: #6e6e6e
}

.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-bottom: 60px;
}

.sky-blue-bg {
    background-color: #fcfafa;
}

.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: 15px;
    margin-bottom: 5px;
}

.product-info-grid .product-price {
    /* 価格 (グリッド内) も Helvetica Light / 太字なし */
    font-size: 14px;
    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: 25px;
        margin-bottom: 15px;
        text-align: left;
        line-height: normal;
    }

    .products-grid {
        padding: 0;
    }
    
    .products-section {
        padding: 1px 5px;
    }

    .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: 25px; 
        margin-bottom: 10%;
    }

    .case-item .product-price {
        /* 「ペア限定ケース」をSPで14pxに固定 (日本語: 明朝体) */
        font-family: var(--font-family-ja);
        font-size: 14px; 

    }
    
    /* 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: 5px;
        margin-top: 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%;
    }
    
}
/* --- 商品セクションのレイアウト --- */
.product-item {
    width: 100%;
}

.product-layout {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    gap: 30px;
    align-items: center;
}

/* 💡 PCの時のスタイル（ここが重要） */
@media (min-width: 768px) {
    .product-layout {
        flex-direction: row; /* PCでは横並び */
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1200px; /* コンテンツ幅を制限 */
        margin: 0 auto;
        padding-bottom: 50px;
    }

    .product-box {
        flex: 1; /* 左側：スライダーの幅 */
        width: 50%;
        max-width: 500px;
    }

    .product-info {
        flex: 1; /* 右側：テキストの幅 */
        padding-top: 20px;

    }
}

.product-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Noble of Water セクションの背景色 */
#noble {
    background-color: #fcfafa;
    margin-bottom: 0;     /* セクション間の隙間をなくす場合 */
    padding: 3% 0 0;
}

/* Timeless セクションの背景色 */
#timeless {
    background-color: #f9f1ea;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 0;
}

/* フェードインアニメーションとの兼ね合い */
.products-section {
    width: 100%;
    overflow: hidden; /* 背景色がはみ出さないように */
}

.product-link.btn {
    display: inline-block;
    position: relative;
    background: transparent;
    color: #5b5b5b;                 /* 既存のprimaryに寄せる */
    border: 1px solid #d8cfcf;      /* 少し薄めにして上品に */
    padding: 10px 48px 10px 20px;
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: all .3s ease;
}

/* 矢印パーツ */
.product-link.btn::before,
.product-link.btn::after {
  content: "";
  position: absolute;
  display: block;
  right: 15px;
  top: 50%;
  transition: all .3s;
}

.product-link.btn::before {
    width: 18px;
    height: 1px;                 /* ←細くするのがポイント */
    background: currentColor;
    transform: translateY(-50%);
}

.product-link.btn::after {
  opacity: 0;
  width: 0;
  height: 0;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.product-link.btn:hover {
    background: #5b5b5b;
    color: #fff;
}
.product-link.btn:hover::before {
    width: 14px;
}

.product-link.btn:hover::after {
    opacity: 1;
    width: 7px;
    height: 7px;
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* セクション配置 */
.back-to-top-section {
  text-align: center;
  margin-top: 40px;   /* ← 上余白しっかり */
  padding-bottom: 40px;
}

/* ボタン本体 */
.back-to-top-btn {
  position: relative;
  display: inline-block;
  padding: 12px 22px 12px 42px;

  font-size: 13px;
  letter-spacing: 0.08em;

  color: #5b5b5b;
  border: 1px solid #d8cfcf;
  background: transparent;

  transition: all 0.3s ease;
}

/* 丸＋矢印共通 */
.back-to-top-btn::before,
.back-to-top-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

/* 丸 */
.back-to-top-btn::before {
  left: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #5b5b5b;
}

/* 上向き矢印 */
.back-to-top-btn::after {
  left: 20px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: translateY(-30%) rotate(45deg);
}

/* hover */
.back-to-top-btn:hover {
  background: #5b5b5b;
  color: #fff;
}

.back-to-top-btn:hover::before {
  background: #fff;
}

.back-to-top-btn:hover::after {
  border-color: #5b5b5b;
}