@charset "utf-8";

/* ==========================================================================
   0. リセット・ベース設定
   ========================================================================== */
.layoutRole_main {
    padding-top: 0;
}

.newsLayout .newsInner p {
    margin: 0;
}

.newsLp .newsLayout .newsInner .slick-slider {
    margin-bottom: 0 !important;
}

.newsLp .newsLayout .newsInner .slick-slider img {
    max-width: 240px;
    margin: 0 auto;
}

@media only screen and (min-width: 781px) {

    .layoutRole_main {
        padding-top: 40px;
    }

}

/* ==========================================================================
   1. 共通レイアウト（ベース構造）
   ========================================================================== */
.fp-section {
    box-sizing: border-box;
    margin-bottom: 80px;
    padding: 0 20px;
}

.fp-kv {
    margin-bottom: 40px;
}

.fp-kv img {
    width: 100%;
    height: auto;
    display: block;
}

.fp-section_title,
.fp-section_title_sub {
    margin-bottom: 30px;
    text-align: center;
}

.fp-section_title img,
.fp-section_title_sub img {
    max-width: 100%;
    height: auto;
}

/* 標準レイアウト（スマホ：縦並び / PC：横並び） */
.fp-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fp-layout_img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.fp-layout_img img {
    width: 100%;
    height: auto;
    display: block;
}

.fp-layout_body {
    width: 100%;
}

/* ★スマホでもPCでも「常に横並び」を維持するレイアウト */
.fp-layout.-row {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.fp-layout.-row .fp-layout_img {
    width: 45%;
    margin: 0;
    max-width: none;
}

.fp-layout.-row .fp-layout_body {
    width: 55%;
    padding: 0;
}

/* ==========================================================================
   2. タイポグラフィ・テキスト共通
   ========================================================================== */
.fp-section {
    color: #4b4b4b;
    font-size: 1.2rem;
    line-height: 1.75;
}

.fp-lead {
    font-size: 1.6rem;
    line-height: 1.75;
    margin-bottom: 15px;
}

.fp-section .fp-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding: 0 20px;
}

.fp-section .fp-subtext {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* ユーティリティ・修飾クラス */
.-center { text-align: center !important; }
.-brown { color: #96755F; font-weight: bold; }
.sp-only { display: none !important; }

/* ==========================================================================
   3. コンポーネント（ボタン・リスト・ボックス）
   ========================================================================== */
.fp-point-box {
    position: relative;
    z-index: 10;
    margin-top: 50px;
    background: #FFF9E8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px 15px 15px;
    box-sizing: border-box;
}

.fp-point-box::before {
    content: "Point";
    position: absolute;
    z-index: -10;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 70px;
    background: #FFF9E8;
    border-radius: 70px 70px 0 0;
    color: #B28F46;
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 1.8rem;
    text-align: center;
    line-height: 50px;
}

/* 商品リスト */
.fp-product-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 10px;
}

.fp-product-item {
    width: calc(50% - 10px);
    box-sizing: border-box;
    text-align: center;
}

.fp-product-item_img img {
    width: 100%;
    height: auto;
    display: block;
}

.fp-product-item_info {
    font-size: 1.4rem;
    color: #B78344;
    margin-top: 12px;
}

.fp-product-item_sub {
    font-size: 1.1rem;
    color: #666666;
    display: block;
    margin-top: 4px;
}

/* ボタン */
.fp-btn-wrap {
    margin-top: 24px;
    text-align: center;
}

.fp-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 270px;
    height: 42px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: #003447;
    border: 1px solid #CCD6DA;
    background: #ffffff url(../../img_2021/common/ico_link02.svg) right 20px center no-repeat;
    background-size: 4px 11px;
    text-decoration: none !important;
    transition: opacity 0.3s;
    box-sizing: border-box;
}

.fp-btn:hover {
    opacity: 0.8;
}

/* ==========================================================================
   4. セクション別固有スタイル
   ========================================================================== */
.fp-border-box {
    border: 2px solid #F7D2C7;
    border-radius: 12px;
    padding: 25px 15px;
}

.fp-section.-chain-bg {
    background: url('/img_2021/news/l/fm-necklace/fmn6_bg_sp.webp') no-repeat center center;
    background-size: cover;
    padding: 40px 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* 汎用的な価格・仕様ボックス */
.fp-spec-price {
    border: 1px solid #F7D2C7;
    background: rgba(255, 255, 255, 0.8);
    max-width: 300px;
    padding: 15px;
    margin: 0 auto 20px auto;
    text-align: center;
    box-sizing: border-box;
}

/* 【応用】直前に特定の要素（テキストや見出しなど）が来たときの微調整 */
.fp-text + .fp-spec-price,
.fp-section_title + .fp-spec-price,
h4 + .fp-spec-price {
    margin-top: 24px; /* 見出しや文章のすぐ下に来る場合は少しスッキリさせる */
}

/* 【応用】直後に注釈（.fp-subtext）などが続く場合の微調整 */
.fp-spec-price + .fp-subtext {
    margin-top: 16px; /* ボックスのすぐ下の注釈との間隔を整える */
}

.fp-spec-price_title {
    color: #C58A7E;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.fp-spec-price_text {
    font-size: 1.2rem;
    margin: 0;
}

/* 手前の要素がある場合に上部マージンを確保するブロック */
.fp-row-block {
    margin-top: 40px;
}

/* ご注文方法グリッド */
.fp-order-method {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.fp-order-box {
    background: #FFF9E8;
    padding: 24px 20px;
    box-shadow: 0 4px 15px rgba(177, 140, 70, 0.15);
    display: flex;
    flex-direction: column;
}

.fp-order-box_title {
    font-size: 1.6rem;
    color: #B18C46;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.fp-order-box > .fp-text {
    padding: 0;
    margin-bottom: 15px;
}

/* 常に横並びパターンの付随テキスト調整 */
.fp-text.-row-desc {
    padding: 0;
    margin: 20px 0 0 0;
    line-height: 1.75;
}

.fp-layout.-row .fp-link {
    color: #96755F;
    text-decoration: underline;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* ==========================================================================
   5. PC表示（レスポンシブ / 781px以上）
   ========================================================================== */
@media only screen and (max-width: 780px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
}

@media only screen and (min-width: 781px) {
    .newsLayout .newsInner p {
        margin: 0 0 20px !important;
    }

    .fp-kv {
        margin-bottom: 80px;
    }

    .fp-section {
        margin-bottom: 80px;
    }

    .fp-section:nth-of-type(4) {
        margin-bottom: 40px;
    }

    .fp-section_title img {
        max-width: 480px !important;
        margin: 0 auto;
        display: block;
    }

    .fp-section_title_sub img {
        max-width: 400px !important;
        margin: 0 auto;
        display: block;
    }

    /* 通常レイアウトの横並び化 */
    .fp-layout {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .fp-layout_img,
    .fp-layout_body {
        width: 50%;
        max-width: 430px;
    }

    .fp-layout.-reverse {
        flex-direction: row-reverse;
    }

    .fp-layout .fp-text,
    .fp-layout .fp-subtext {
        text-align: left !important;
        padding: 0;
        margin-bottom: 0;
    }

    /* 商品リストPC */
    .fp-product-item {
        width: calc(20% - 10px);
    }

    /* チェーン背景セクションPC */
    .fp-section.-chain-bg {
        padding: 60px 40px;
        max-width: 720px;
    }

    /* 「常に横並び」パターンのPC時サイズ・マージン調整 */
    .fp-row-block {
        margin-top: 60px;
    }

    .fp-layout.-row {
        max-width: 860px;
        margin: 40px auto 20px auto;
        gap: 50px;
    }

    .fp-layout.-row .fp-layout_img {
        width: 35%;
        max-width: 280px;
        margin: 0 auto;
    }

    .fp-layout.-row .fp-layout_body {
        width: 55%;
    }

    .fp-layout.-row .fp-lead {
        font-size: 1.7rem;
        text-align: left;
    }

    .fp-layout.-row .fp-text,
    .fp-text.-row-desc {
        font-size: 1.4rem;
        line-height: 1.9;
        text-align: left !important;
    }

    .fp-text.-row-desc {
        max-width: 860px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* 注文方法3カラムPC */
    .fp-order-method {
        flex-direction: row;
        gap: 20px;
    }

    .fp-order-box {
        flex: 1;
        padding: 30px;
    }

    .fp-order-box .fp-text {
        flex-grow: 1;
        text-align: left;
    }

    .fp-order-box .fp-btn-group {
        flex-direction: column;
        justify-content: flex-end;
    }
}
/* ==========================================================================
   6. エレガント・アニメーション（スクロール連動）
   ========================================================================== */

.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(10px);
    opacity: 0;
}

.scroll_up.on {
    animation-name: fadeUpAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}