@charset "utf-8";
/* CSS Document */

    body {
        font-family: "游ゴシック Medium", "Yu Gothic Medium", YuGothic, "Hiragino Sans", "Meiryo", sans-serif;
        margin: 0;
        padding: 0;
        background: #f4f3f0;
        color: #333333;
        font-size: 17px;
        line-height: 1.9;
    }

    /* ヘッダー */
    .custom-lp-header {
        background: #ffffff;
        border-bottom: 1px solid #e0e0e0;
        padding: 15px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1100px;
        margin: 20px auto 0 auto;
        border-radius: 4px 4px 0 0;
        box-sizing: border-box;
    }
    .header-brand {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        letter-spacing: 0.05em;
        text-decoration: none;
    }
    .header-brand span {
        font-size: 13px;
        color: #777;
        margin-left: 8px;
        font-weight: normal;
    }

    #third_containts {
        width: 100%;
        box-sizing: border-box;
        padding: 0 15px 40px 15px;
    }

    .width_wrap {
        max-width: 1100px; 
        margin: 0 auto;
        background: #ffffff;
        padding: 40px 50px;
        box-sizing: border-box;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        border-radius: 0 0 4px 4px;
    }

    /* メイン見出し */
    .osechi-main-title {
        font-size: 25px;
        text-align: center;
        margin: 30px 0 20px 0;
        letter-spacing: 0.05em;
        color: #1a1a1a;
        font-weight: bold;
        position: relative;
    }
    .osechi-main-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 3px;
        background: #b59b5d;
        margin: 12px auto 0 auto;
    }

    .intro-text {
        font-size: 18px;
        line-height: 2.0;
        color: #444444;
        margin-bottom: 40px;
        text-align: justify;
    }

    /* PC用とスマホ用の表示切り替えクラス */
    .pc-only { display: flex; }
    .sp-only { display: none; }

    /* 商品ごとのブロック（PCは横並び） */
    .rankbox_ly {
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 50px;
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 40px;
    }

    .leftbox {
        flex: 1;
        min-width: 280px;
        text-align: center;
    }
    .leftbox img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* メイン画像エリア */
    .main-image-wrap img {
        width: 100%;
        max-height: 380px;
        object-fit: contain;
        background: #faf9f6;
        padding: 5px;
        box-sizing: border-box;
    }

    /* サムネイルエリア */
    .sub-images {
        display: flex;
        gap: 6px;
        margin-top: 10px;
        justify-content: center;
    }
    .sub-images img {
        width: 23%;
        height: 65px;
        object-fit: cover;
        border-radius: 3px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        cursor: pointer;
        opacity: 0.6;
        transition: all 0.2s ease;
        border: 2px solid transparent;
    }
    .sub-images img:hover {
        opacity: 0.9;
    }
    .sub-images img.active-thumb {
        opacity: 1;
        border-color: #b59b5d;
    }

    .rightbox {
        flex: 1.5;
        min-width: 280px;
    }

    .rightbox h4 {
        font-size: 15px;
        color: #777777;
        margin: 0 0 5px 0;
        letter-spacing: 0.05em;
    }
    .rightbox h4.item-title {
        font-size: 23px; 
        color: #1a1a1a;
        margin: 0 0 15px 0;
        font-weight: bold;
        line-height: 1.4;
    }

    /* こだわりポイントバッジ */
    .highlight-badges {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .badge-item {
        background: #faf6ee;
        border: 1px solid #b59b5d;
        color: #8c7333;
        font-size: 13px;
        padding: 5px 12px;
        border-radius: 3px;
        font-weight: bold;
        letter-spacing: 0.03em;
    }

    /* お品書きラベル */
    .section-label {
        font-weight: bold;
        color: #1a1a1a;
        border-left: 3px solid #b59b5d;
        padding-left: 10px;
        margin-bottom: 8px;
        font-size: 16px;
        background: linear-gradient(to right, #faf6ee, #ffffff);
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .item-desc {
        font-size: 17px; 
        color: #333;
        margin-bottom: 25px;
        line-height: 1.9;
    }

    /* スペック表（dl） */
    dl {
        width: 100%;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        padding: 15px 20px;
        box-sizing: border-box;
        background-color: #faf9f6;
        margin-top: 0;
        margin-bottom: 25px;
    }
    .spec-row {
        display: flex;
        align-items: flex-start;
        border-top: 1px dashed #d0d0d0;
        padding: 12px 0;
    }
    .spec-row:first-child {
        border-top: none;
    }
    dl dt {
        width: 130px;
        flex-shrink: 0;
        font-size: 15px; 
        color: #444;
        font-weight: bold;
        margin: 0;
        padding: 0;
    }
    dl dt span.spec-label {
        display: inline-block;
        border-left: 4px solid #b59b5d;
        padding-left: 8px;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }
    dl dd {
        flex-grow: 1;
        margin: 0;
        padding: 0 0 0 15px;
        font-size: 16px; 
        color: #222;
        word-break: break-all;
    }

    /* ショッピングモールボタンエリア */
    .shop-buttons-title {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin-bottom: 12px;
        text-align: center;
        letter-spacing: 0.05em;
    }
    .shop-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 15px;
    }
    .btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 12px 10px;
        min-height: 56px;
        color: #fff !important;         
        text-decoration: none !important; 
        font-weight: bold;
        border-radius: 4px;
        font-size: 16px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
        box-sizing: border-box;
    }
    .btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    }
    .btn-single {
        padding: 16px 10px; 
    }

    .btn-base { background-color: #34495e; }        
    .btn-rakuten { background-color: #bf0000; }    
    .btn-yahoo { background-color: #d90429; }      
    .btn-amazon { background-color: #e88d00; color: #fff !important; } 

    /* お問い合わせエリア */
    .contact-box {
        text-align: center;
        margin-top: 50px;
        padding: 30px;
        background: #faf9f6;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
    }

    /* スマホ表示時の切り替え (768px以下) */
    @media screen and (max-width: 768px) {
        .custom-lp-header {
            padding: 12px 15px;
            margin: 10px auto 0 auto;
        }
        .header-brand {
            font-size: 14px;
        }
        .header-brand span {
            display: block;
            margin-left: 0;
            font-size: 12px;
        }
        .width_wrap {
            padding: 20px 15px;
        }
        
        /* PC用を非表示にし、スマホ用を表示して縦並びにする */
        .pc-only { display: none; }
        .sp-only { display: block; }

        .rankbox_ly {
            margin-bottom: 50px;
            border-bottom: 1px solid #e5e5e5;
            padding-bottom: 40px;
        }
        .shop-buttons {
            grid-template-columns: 1fr;
        }
        .spec-row {
            flex-direction: column;
            padding: 10px 0;
        }
        dl dt {
            width: 100%;
            margin-bottom: 4px;
        }
        dl dd {
            padding-left: 0;
        }
    }
    
    /* トップに戻るボタン */
    .page-top-btn {
        position: fixed;
        bottom: 30px;
        right: 20px; 
        z-index: 999;
        background-color: #ffffff;
        color: #b59b5d;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border: 2px solid #b59b5d;
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
    }

    .page-top-btn.is-show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .page-top-btn:hover {
        background-color: #b59b5d;
        color: #ffffff;
        text-decoration: none;
    }

    .page-top-arrow {
        font-size: 13px;
        line-height: 1;
        margin-bottom: 2px;
    }

    .page-top-text {
        font-size: 9px;
        font-weight: bold;
        letter-spacing: 1px;
        line-height: 1;
    }

    html {
        scroll-behavior: smooth;
    }
