.ikeji_container{
    max-width: 680px;
    margin: 0 auto;
}

.cart_fixed{
    position: fixed;
    background: #fff;
    right: 0;
    bottom: 0;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 25px;
    box-sizing: border-box;
    z-index: 1000;
    max-width: 300px;
    @media (width <=980px){
        display: none;
    }
}

.price-amount{
    font-size: 20px;
}

.selection-panel-content select{
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 1px solid #ccc;
margin: 0 5px;
}


.modal-submit-add-cart{
    height: 40px;
    width: 100%;
    background: #333;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04rem;
    padding: 0 20px;
    margin: 10px 0;
}

.ec-blockTopBtn{
    display: none!important;
}

/* セクション全体のスタイリング */
.problem-section {
    background-color: #fbfbfb;
    padding: 60px 20px;
    text-align: center;
}
.ikeji_container video,
.ikeji_containern img{
    vertical-align: bottom;
}

.section-sub-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-title span {
    color: #f0b429; /* ゴールド系のアクセント */
}

/* カードリストのグリッド配置 */
.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* 各カードのスタイル */
.problem-list li {
    background: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

.problem-list li:hover {
    transform: translateY(-5px);
}

/* Case.xx のラベル自動生成 */
.problem-list li::before {
    content: "Case." attr(data-case);
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #f0b429;
    margin-bottom: 12px;
}

.problem-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.problem-text span {
    background: linear-gradient(transparent 70%, #fff3d4 70%); /* テキスト強調のマーカー */
}

/* 解決へのブリッジメッセージ */
.problem-solution-bridge {
    margin-top: 50px;
    font-size: 20px;
    font-weight: bold;
    color: #003366; /* 信頼感のあるネイビー */
}

.problem-solution-bridge span {
    font-size: 24px;
    border-bottom: 2px solid #003366;
}

/* スマホ対応：1列にする */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    .problem-list {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ③ VIDEO SECTION
============================================= */
.video-section {
    padding: 60px 20px;
    background-color: #001f3f; /* 信頼のネイビー背景 */
    text-align: center;
    color: #fff;
}

.video-section .label {
    display: inline-block;
    background: #f0b429;
    color: #333;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.video-section .heading {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: bold;
}

.video-section .desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.video-wrap {
    max-width: 800px;
    margin: 0 auto;
    border: 4px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-wrap video {
    width: 100%;
    display: block;
}

.video-caption {
    margin-top: 15px;
    font-size: 13px;
    color: #ccc;
}



/* サイクル図 */
.three-cycle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.cycle-item {
    flex: 1;
}

.cycle-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 32px;
    background: #f8f9fa;
    border: 2px solid #eee;
}

.cycle-circle--1 { border-color: #003366; background: #e6f0ff; }
.cycle-circle--2 { border-color: #f0b429; background: #fff9e6; }
.cycle-circle--3 { border-color: #28a745; background: #e9f7ef; }

.cycle-label {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.cycle-arrow {
    font-size: 24px;
    color: #ccc;
    padding: 0 10px;
    padding-bottom: 30px;
}

/* 理由カード */
.three-card {
    background: #fdfdfd;
    border-left: 5px solid #003366;
    padding: 25px;
    text-align: left;
    margin-bottom: 20px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.card-icon {
    font-size: 24px;
    margin-right: 10px;
}

.three-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* =============================================
   SPEC TABLE (商品仕様)
============================================= */
.spec-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
    font-size: 15px;
    border-top: 2px solid #333;
}

.spec-table th {
    width: 30%;
    background: #f8f9fa;
    color: #333;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.spec-table td {
    width: 70%;
    padding: 16px;
    border-bottom: 1px solid #eee;
    color: #555;
    line-height: 1.6;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .heading-lg { font-size: 22px; }
    
    .three-cycle {
        flex-direction: column;
        gap: 20px;
    }
    
    .cycle-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .spec-table th, .spec-table td {
        padding: 12px;
        font-size: 14px;
    }
    
    .spec-table th {
        width: 35%;
    }
}


/* 追従ボタン */
.sp-fixed-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 20px 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none; /* デフォルト非表示、JSやメディアクエリで制御 */
}

@media (max-width: 980px) {
    .sp-fixed-checkout { 
        display: block; 
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* 選択パネル本体 */
.selection-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    visibility: hidden;
    transition: all 0.3s;
}

.selection-panel.is-active {
    visibility: visible;
}

.selection-panel-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.3s;
}

.selection-panel.is-active .selection-panel-overlay {
    opacity: 1;
}

.selection-panel-content {
    position: absolute;
    bottom: -100%; /* 最初は画面の下に隠す */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 30px 20px 20px;
    border-radius: 20px 20px 0 0;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.selection-panel.is-active .selection-panel-content {
    bottom: 0;
}

.panel-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
}

/* フォーム内の装飾 */
.ec-select label { display: block; font-weight: bold; margin-bottom: 5px; }
.purchase_actions{display: flex; flex-wrap: wrap; align-items: flex-end; gap:10px;}
.ec-select select { width: 100%; height: 45px; border-radius: 8px; border: 1px solid #ccc; }
.quantity_selector { width: 80px; }
.add_cart_large_btn { 
    height: 40px;
    background: #333;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.04rem;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.shipping-benefit-tag {
    padding: 12px;
    background-color: #fff9f9; /* ほんのり赤みがかった背景 */
    border: 2px dashed #b22222; /* 旅館肌屋のブランドカラーに合わせたエンジ色の破線 */
    border-radius: 8px;
}

.shipping-benefit-inner {
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.badge-free {
    background-color: #b22222; /* エンジ色 */
    color: #fff;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.benefit-text {
    margin: 0;
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    text-align: left;
}

.benefit-text strong {
    color: #b22222;
    font-size: 13px;
    text-decoration: underline;
}

/* スマホ用の調整 */
@media screen and (max-width: 768px) {
    .shipping-benefit-inner {
        flex-direction: column;
        gap: 5px;
    }
    .benefit-text {
        text-align: center;
        font-size: 0.85rem;
    }
}

.product-price-area {
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
}

.normal-price {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.sale-price {
    font-size: 20px; /* 大きく目立たせる */
    font-weight: bold;
    color: #b22222; /* 旅館肌屋のブランドカラー */
    margin: 10px 0 0;
    line-height: 1;
}

.price-label {
    font-size: 1rem;
    color: #333;
}

.unit-price-note {
    font-size: 11px;
    color: #666;
}

  .quantity_input {
        width: 70px;
        height: 45px;
        border: 1px solid #ccc;
        text-align: center;
    }
