@charset "utf-8";


/* ============================================================
   1. 全局基础（html / body / 重置）
   适用于所有页面
   ============================================================ */

html {
    scroll-behavior: auto;
}

section[id], div[id] {
    scroll-margin-top: 80px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Mincho ProN", "serif";
    background-color: #fff;
    color: #333;
    line-height: 1.8;
}


/* ============================================================
   2. ナビゲーション（顶部固定导航）
   HTML: <nav class="nav-container">
   适用于所有页面
   ============================================================ */

.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container img {
    width: auto;
    height: 40px;
    max-width: 160px;
    object-fit: contain;
    object-position: left center;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: #777;
    transform: translateY(-1px);
    text-decoration: underline;
}


/* --- 下拉菜单 --- */

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 5px 0;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li {
    margin-left: 0;
}

.dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: #777;
}


/* --- ドロップダウン内の楽天アイコン --- */

.dropdown-icon {
    display: inline-block;
    height: 14px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 2px;
    object-fit: contain;
}

.dropdown-rakuten a {
    color: #B8944F !important;
}

.dropdown-rakuten a:hover {
    background-color: #fdfaf3 !important;
    color: #8d6e35 !important;
}


/* --- Nav 右側：楽天ショップ入口 --- */

.nav-rakuten {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-left: 20px;
    background: linear-gradient(135deg, #fdfaf3 0%, #fff 100%);
    border: 1px solid #C8A96E;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-rakuten:hover {
    background: linear-gradient(135deg, #C8A96E 0%, #B8944F 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(200, 169, 110, 0.35);
}

.nav-rakuten-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}


.nav-rakuten-text {
    font-size: 11px;
    line-height: 1.3;
    color: #B8944F;
    letter-spacing: 0.05em;
    font-weight: 600;
    white-space: nowrap;
}

.nav-rakuten:hover .nav-rakuten-text {
    color: #fff;
}


/* ============================================================
   3. ページヘッダー（标题区）
   HTML: <div class="page-header">
   适用于子页面（privacy.html / flow.html 等）
   ============================================================ */

.page-header {
    padding: 180px 8% 100px;
    background: linear-gradient(to right, #f0ebe3 0%, #fff 40%);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #C8A96E, #E8D5A8);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.header-sub {
    font-size: 13px;
    color: #666;
    letter-spacing: 0.6em;
    margin-bottom: 25px;
}

.header-title {
    font-size: 60px;
    font-weight: 300;
    color: #222;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-jp {
    font-size: 23px;
    color: #666;
    letter-spacing: 0.3em;
}


/* ============================================================
   4. パンくず导航（面包屑）
   HTML: <p class="breadcrumb">
   ============================================================ */

.breadcrumb {
    padding: 12px 8%;
    font-size: 14px;
    color: #555;
    letter-spacing: 0.2em;
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.breadcrumb a {
    color: #555;
    text-decoration: underline;
}

.breadcrumb a:hover {
    color: #B8944F;
}


/* ============================================================
   5. 共通章节标题
   HTML: <div class="section-label"> + <h2 class="section-main-title">
   ============================================================ */

.section-label {
    font-size: 11px;
    color: #555;
    letter-spacing: 0.4em;
    margin-bottom: 30px;
    text-align: center;
}

.section-main-title {
    font-size: 2.4rem;
    font-weight: 200;
    line-height: 1.6;
    margin-bottom: 60px;
    letter-spacing: 0.25em;
    text-align: center;
}


/* ============================================================
   6. 画像ホバー切替（共用効果）
   HTML: 各种图片容器（.detail-card-img / .img-box 等）
   适用于所有产品页轮播
   ============================================================ */

.detail-card-img,
.detail-intro-img,
.subcat-card-img,
.img-box {
    position: relative;
}

.img-default {
    transition: opacity 0.4s ease;
}

.img-hover-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.detail-card-img:hover .img-default,
.detail-intro-img:hover .img-default,
.subcat-card-img:hover .img-default,
.img-box:hover .img-default,
.slide-item:hover .img-default {
    opacity: 0;
}

.detail-card-img:hover .img-hover-img,
.detail-intro-img:hover .img-hover-img,
.subcat-card-img:hover .img-hover-img,
.img-box:hover .img-hover-img,
.slide-item:hover .img-hover-img {
    opacity: 1;
}


/* ============================================================
   7. 商品ページ：Q&A + お問い合わせ誘導バナー
   HTML: <section class="product-qa-cta">
   位于商品详情页底部（footer 之前）
   ============================================================ */

.product-qa-cta {
    background: linear-gradient(135deg, #f5f0e8 0%, #fff 60%);
    padding: 60px 8%;
    border-top: 1px solid #ede8df;
    border-bottom: 1px solid #ede8df;
}

.pqc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pqc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #e8e0d4;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.pqc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(200, 169, 110, 0.18);
    border-color: #C8A96E;
}

.pqc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C8A96E;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.pqc-card--contact .pqc-icon {
    background: #333;
    font-size: 20px;
}

.pqc-text {
    flex: 1;
}

.pqc-en {
    display: block;
    font-size: 10px;
    color: #B8944F;
    letter-spacing: 0.4em;
    margin-bottom: 6px;
}

.pqc-card--contact .pqc-en {
    color: #777;
}

.pqc-title {
    font-size: 17px;
    font-weight: 500;
    color: #222;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin-bottom: 4px;
}

.pqc-sub {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
}

.pqc-arrow {
    flex-shrink: 0;
    font-size: 22px;
    color: #C8A96E;
    transition: transform 0.3s ease;
}

.pqc-card--contact .pqc-arrow {
    color: #333;
}

.pqc-card:hover .pqc-arrow {
    transform: translateX(6px);
}


/* ============================================================
   8. フッター（页脚）
   HTML: <footer>
   ============================================================ */

footer {
    background-color: #fff;
    padding: 100px 8% 60px;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-group h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
}

.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-group li {
    margin-bottom: 15px;
}

.footer-group a {
    text-decoration: none;
    color: #666;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-group a:hover {
    color: #333;
}

.footer-info {
    border-top: 1px solid #f5f5f5;
    padding-top: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

address {
    font-size: 13px;
    font-style: normal;
    color: #666;
    margin-bottom: 20px;
}

small {
    font-size: 10px;
    color: #777;
    letter-spacing: 0.1em;
}


/* ============================================================
   9. トップへ戻るボタン（返回顶部）
   HTML: <a href="#" class="back-to-top">
   ============================================================ */

.back-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    background-color: #fff;
    color: #C8A96E;
    border: 1.5px solid #C8A96E;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(200,169,110,0.18);
    letter-spacing: 0;
}

.back-to-top:hover {
    background-color: #C8A96E;
    color: #fff;
    border-color: #C8A96E;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}


/* ============================================================
   モバイル対応（@media screen and max-width: 767px）
   按 HTML 顺序排列
   ============================================================ */

@media screen and (max-width: 767px) {

    /* --- 1. body 全体下移（防止固定 nav 遮挡内容） --- */
    body {
        padding-top: 220px;
    }

    /* --- 2. ナビゲーション --- */
    .nav-container {
        flex-direction: column;
        padding: 10px 0;
    }

    .menu {
        width: 90%;
        margin: 5px auto;
        padding: 0 5px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .menu li {
        width: calc((100% - 12px) / 3);
        margin: 4px 0;
        text-align: center;
    }

    .menu a {
        font-size: 11px;
    }

    .nav-container img {
        height: 32px;
        max-width: 130px;
    }

    .nav-rakuten {
        margin: 8px auto 0;
        padding: 6px 16px;
    }

    .nav-rakuten-text {
        font-size: 10px;
    }

    /* --- 3. ページヘッダー（スマホ用余白・文字サイズ調整） --- */
    .page-header {
        padding: 50px 6% 50px;
    }

    .header-sub {
        font-size: 11px;
        letter-spacing: 0.35em;
        margin-bottom: 14px;
    }

    .header-title {
        font-size: 32px;
        letter-spacing: 0.12em;
        margin-bottom: 10px;
    }

    .header-jp {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    .breadcrumb {
        padding: 10px 5%;
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    /* --- 7. 商品ページ Q&A CTA --- */
    .product-qa-cta {
        padding: 40px 5%;
    }

    .pqc-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pqc-card {
        padding: 20px 22px;
        gap: 16px;
    }

    .pqc-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .pqc-title {
        font-size: 15px;
    }

    .pqc-sub {
        font-size: 11px;
    }

    /* --- 8. フッター（スマホ2列グリッド化で横はみ出し防止） --- */
    footer {
        padding: 60px 6% 45px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
        margin-bottom: 45px;
    }

    .footer-group h4 {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .footer-group li {
        margin-bottom: 10px;
    }

    .footer-group a {
        font-size: 12px;
        line-height: 1.5;
        display: inline-block;
    }

    .footer-info {
        padding-top: 30px;
    }

    .back-to-top {
        right: 18px;
        bottom: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

.qa-inline-link {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    background-color: #C8A96E;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.qa-inline-link:hover {
    background-color: #B8944F;
}
