@charset "utf-8";

/* --- ページ全体のCSS --- */

.fs-c-heading--page {
	border-bottom:none;
}

#head-banner{
	width:100%;
	max-width:740px;
	margin:0 auto 30px;
}

/* --- 商品リンクの共通基本スタイル --- */


.js-feature-item{
	margin:20px auto;
}

.scene-introduction {
	width:60vw;
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

@media screen and (max-width: 767px) {
	.scene-introduction {
	width:100vw;
	}
}

.scene-introduction h2 {
	font-size: 24px;
    color: #333;
    margin-bottom: 1em;
    margin-top: 50px;
    padding-left: 10px;
    letter-spacing: 0.05em;
    border-left: 5px solid darkgrey;
}

.scene-introduction h3 {
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid darkgrey;
    width: fit-content;
    margin: 40px auto 1em 5px;
}

.scene-introduction p {
    margin: 0 10px;
    font-size: 1.8rem;
    line-height: 2;
    text-align: justify;
}

.scene-introduction img {
    display: block;        /* 画像をブロック要素にして中央配置を可能にする */
    height: auto;          /* 縦横比を崩さないように自動調整 */
    object-fit: cover;     /* 万が一比率が変わっても綺麗に収まるように保護 */
    
    /* 📱 スマートフォン用の指定 */
    width: 95%;            /* 横幅を95%に指定 */
    margin: 1.5rem auto;   /* 上下に1.5文字分の余白、左右は自動（中央表示） */
}

/* 💻 PC（画面幅 768px 以上）用の指定 */
@media screen and (min-width: 768px) {
    .scene-introduction img {
        width: 80%;        /* 横幅を80%に指定 */
        margin: 1.5rem auto; /* 上下に1.5文字分の余白、左右は自動（中央表示） */
    }
}


.lead-sentence{
	border: 2px solid;
    border-color: gold;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 60px;
}

.scene-introduction strong {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fbe6a2d1 60%);
}

.feature-text-link{
	font-size:18px;
	font-weight:400;
	width:fit-content;
	margin:15px auto;
	display:block;
	text-decoration: underline;
    color: #0000ee;
}

.feature-catch-copy {
    background-color: #e7e7e7;
    padding: 12px 15px 5px;
    margin: 20px auto -20px;
    font-weight: bold;
    color: #222;
    font-size: 1.05em;
    line-height: 1.5;
    width: fit-content;
    position: relative;
    z-index: 9;
}


/* 番号付きの箇条書き */
.scene-introduction ol{
    list-style: decimal;
    margin: 15px auto 15px 50px;
    font-size: 1.2em;
}


.scene-introduction .scene-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}
.scene-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 40px auto;
    max-width: 200px;
}
.loading-text {
    color: #999;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.product-list-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.product-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 🔔 【重要】二重表記用の新規共通スタイル */
.price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.price-box .normal-price {
    font-size: 16px;
    color: #888;
    margin: 0;
}
.price-box .special-price {
    color: #b81c22;
    font-weight: bold;
    margin: 0;
}
.price-box .special-price span.label {
    font-size: 16px;
    font-weight: normal;
    color: #333;	
    margin-right: 3px;
}

/* ==========================================
    💻 PC表示用のスタイル（サイドバナー対応）
   ========================================== */
@media screen and (min-width: 1300px) {
    /* コラム文章の左余白を確保して右側にバナーを固定する領域を作る */
    .scene-introduction {
        margin-left: calc(50% - 500px);
        /* margin-right: 320px; */
    }
    /* 📌 PC右側固定ライトバナー本体 */
    .pc-sidebar-banner {
        display: block;
	    position: fixed;
	    top: clamp(140px,20vh,250px);
	    left: 50%;
	    margin-left: clamp(460px,30vw,560px);
	    width: 14vw;
	    max-width:240px;
	    max-height: calc(75vh - 30px);
	    overflow-y: auto;
	    background: #fafafa;
	    border: 1px solid #e0e0e0;
	    border-radius: 6px;
	    padding: 15px;
        box-sizing: border-box;
        z-index: 99;
        /* 👇 フワッと消えるための設定を追記 */
        transition: opacity 0.3s ease, visibility 0.3s ease; 
        opacity: 1;
        visibility: visible;
    }
    /* 👇 【新規追加】フッター到達時に適用される非表示スタイル */
    .pc-sidebar-banner.is-hidden {
        opacity: 0;
        visibility: hidden;
    }
	/* 📌 サイドバナー用タイトルのデザイン */
    .pc-sidebar-banner .sb-title {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        margin: 0 0 15px 0;
        padding-bottom: 8px;
        border-bottom: 1px solid #333; /* スッキリとした下線で区切り */
        letter-spacing: 0.05em;
        color: #333;
    }

    /* 縦2列一覧のグリッド構造（flexで代用） */
    .pc-sidebar-grid {
        display: block;
        font-size: 0;
    }
    .pc-sidebar-item {
        display: inline-block;
        vertical-align: top;
        width: 47%;
        margin-right: 6%;
        margin-bottom: 15px;
        font-size: 12px;
        text-align: center;
        text-decoration: none;
        color: inherit;
        background: #fff;
        padding: 5px;
        box-sizing: border-box;
        border-radius: 4px;
        transition: box-shadow 0.2s;
    }
    .pc-sidebar-item:nth-child(2n) {
        margin-right: 0;
    }
    .pc-sidebar-item:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }
    .pc-sidebar-item img {
        width: 100%;
        object-fit: contain;
        margin-bottom: 5px;
    }
    .pc-sidebar-item .sb-price {
        color: #b81c22;
        font-weight: bold;
        margin: 0;
        font-size: clamp(13px,1vw,16px);
    }
}

/* 横幅が中途半端なPC・タブレットサイズ時はサイドバナーを非表示に */
@media screen and (max-width: 1299px) {
    .pc-sidebar-banner { display: none !important; }
}

/* 通常のPC表示（コラム内カード用） */
@media screen and (min-width: 768px) {
    .sp-bottom-list-wrapper { display: none !important; } /* スマホ用最下部一覧は非表示 */
    
    .product-card-inner {
        display: flex;
        align-items: center;
        padding: 30px;
    }
    .product-img-wrapper {
        width: 40%;
        padding-right: 30px;
        box-sizing: border-box;
        text-align: center;
    }
    .product-img-wrapper img {
        max-width: 100%;
        max-height: 300px;
        object-fit: contain;
    }
    .product-info-wrapper {
        width: 60%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .product-info-wrapper h3 {
        font-size: 22px;
        color: #333;
        line-height: 1.5;
        margin: 0;
        font-weight: normal;
        text-align: left;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
    .price-box { text-align: right; }
    .price-box .special-price { font-size: 24px; }
    .btn-view {
        align-self: flex-end; 
        background: #333;
        color: #fff;
        text-align: center;
        padding: 12px 45px;
        font-size: 18px; 
        border-radius: 2px;
        transition: background 0.2s;
    }
    .product-card-link:hover .btn-view { background: #555; }
}

/* ==========================================
    📱 スマホ表示用のスタイル（最下部一覧対応）
   ========================================== */
@media screen and (max-width: 767px) {
    .pc-sidebar-banner { display: none !important; }

    /* コラム内カードの縦積み */
    .product-card-inner {
        padding: 20px;
        display: flex;
        flex-direction: column !important;
        align-items: center;
    }
    .product-img-wrapper {
        width: 100% !important;
        text-align: center;
        margin-bottom: 20px;
    }
    .product-img-wrapper img {
        max-width: 100%;
        max-height: 250px;
        object-fit: contain;
        margin: auto;
    }
    .product-info-wrapper {
        width: 100% !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .product-info-wrapper h3 {
        font-size: 18px;
        color: #333;
        line-height: 1.5;
        margin: 0;
        font-weight: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .price-box { text-align: center; }
    .price-box .special-price { font-size: 22px; }
    .btn-view {
        display: block;
        background: #333;
        color: #fff;
        text-align: center;
        padding: 14px 0;
        font-size: 18px;
        border-radius: 2px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 📱 【新規】スマホ用最下部コンパクト商品一覧のデザイン */
    .sp-bottom-list-wrapper {
        display: block;
        max-width: 800px;
        margin: 50px auto 20px;
        padding: 20px 15px;
        background: #fdfdfd;
        border-top: 2px solid #333;
    }
    .sp-bottom-title {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
        letter-spacing: 0.05em;
    }
    .sp-compact-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 12px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }
    /* 横並びのテーブルレイアウト構造 */
    .sp-compact-inner {
        display: table;
        width: 100%;
    }
    .sp-compact-img {
        display: table-cell;
        width: 70px;
        vertical-align: middle;
        text-align: center;
    }
    .sp-compact-img img {
        max-width: 60px;
        max-height: 70px;
        object-fit: contain;
    }
    .sp-compact-info {
        display: table-cell;
        vertical-align: middle;
        padding-left: 12px;
    }
    .sp-compact-info h4 {
        font-size: 13px;
        margin: 0 0 6px 0;
        font-weight: normal;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .sp-compact-price {
        font-size: 14px;
        color: #b81c22;
        font-weight: bold;
        margin: 0;
        text-align: right;
    }
}


/* --- 一覧に戻るボタンのスタイル --- */
.back-to-list-wrapper {
    margin: 60px auto 20px;
    text-align: center;
    width: 100%;
}

.back-to-list-wrapper a:visited {
        color: #fff;
}

.btn-back-to-list {
    display: inline-block;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 16px 40px;
    border: 1px solid #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 80%;
    max-width: 380px;
}

/* マウスオーバー（ホバー）時のアクション */
.btn-back-to-list:hover {
    background-color: #fff;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 📱 スマホ表示用（画面幅 767px 以下）の調整 */
@media screen and (max-width: 767px) {
    .back-to-list-wrapper {
        margin: 40px auto 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .btn-back-to-list {
        width: 100%;
        font-size: 15px;
        padding: 16px 20px;
    }
}


/* ポイント表示用の追加スタイル */
.point-box {
    display: inline-flex;
    align-items: center;
    background-color: #f8f6f0;
    border: 1px solid #e3ddc8;
    border-left: 5px solid #b81c22;
    padding: 10px 20px;
    margin: 5px 0 25px 0;
    border-radius: 2px;
    width: fit-content;
    max-width: 100%;
}
.point-box .point-label {
    font-weight: bold;
    color: #b81c22;
    margin-right: 15px;
    font-size: 15px;
    white-space: nowrap;
}
.point-box .point-text {
    color: #333;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.4;
}

/* スマホ表示時の微調整 */
@media screen and (max-width: 767px) {
    .point-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    .point-box .point-label {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 13px;
    }
    .point-box .point-text {
        font-size: 14px;
    }
}
