@charset "UTF-8";


/* 保険 */

.insurance {
    padding-block: 80px;
    /* background-color: #f7f7f7; */
    text-align: center; 
}

/* 横並びのコンテナ */
.insurance-content-flex {
    display: flex;
    justify-content: space-between; /* 左右に広げる */
    align-items: center; /* 垂直方向中央寄せ */
    margin: 0 auto 50px auto;
}

/* --- スライドショー部分 (.insurance-slider) --- */
.insurance-slider {
    /* Flexアイテムとして幅を設定 */
    width: 65%; 
    height: auto; 
    margin: 0; /* マージンをリセット */
    overflow: hidden;
}

/* --- 保険イラスト部分 --- */
.insurance > img[src*="insurance-img.svg"] {
    /* Flexアイテムとして幅を設定 */
    width: 100%;
    height: auto;
    margin: 0; /* マージンをリセット */
    display: block;
}

.insurance-slider {
    width: 650%;
    height: 400px; 
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;

}
.slider-caption {
    position: absolute;
    top: 65%;
    left: 25%;
    transform: translate(-50%, -50%); /* 中央寄せ */
    z-index: 3; /* 画像より手前に配置 */
    
    /* テキストのデザイン */
    font-size: 3rem; /* 大きめのフォントサイズ */
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    
    /* 文字の袋文字 (アウトライン) */
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #656567; /* 濃い青 */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    
    padding: 10px 20px;
    background-color: rgba(108, 184, 131, 0.7); /* 半透明の黄色背景 */
    border-radius: 10px;
}
.slider-caption-text{
    position: absolute;
    bottom: -20%;
    right: 35%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #656567; /* 濃い青 */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    
    padding: 10px 20px;
    background-color: rgba(108, 184, 131, 0.7); /* 半透明の黄色背景 */
    border-radius: 10px;
}

.insurance-question{
    background-color: rgba(176, 215, 255, 0.6);
    padding: 20px;
    margin-bottom: 50px;
}

.insurance-question p{
    text-align: left;
    font-weight: 700;
}

.insurance-answer dl dt{
    background-color: rgba(108, 184, 131, 0.8);
    color: #fff;
    width: 100%;
    padding-block: 20px;
    font-size: 1.5rem;
    margin-bottom: 20px;

}
.support dd{
    display: flex;
    flex-direction: column;
    
}
.support span{
    color: rgba(108, 184, 131);
    margin-top: 20px;
}

.insurance-answer dl dd{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.insurance-answer dl dd img{
    width: 35px;
    margin-right: 5px;
    margin-left: 150px;
}

.onestop-item{
    text-align: center;
}

.onestop-item ul{
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
}

.orange-bar{
    color: #FFF;
    width: 400px;
    padding: 10px;
    border-radius: 50vw;
    margin: 30px auto 15px auto;
    background-color: rgba(240,132,44,0.6);
}
.bottom-space{
    margin-bottom: 20px;
}
.contact-btn-img{
    width: 150px;
    transform: rotate(90deg);
    margin-bottom: 50px;
}


/* コーティング・ラッピング共通 */
.page-top-video-container {
    width: 80%;           /* 70%だと少し小さいので調整 */
    max-width: 1000px;    /* 最大幅を決めて巨大化を防ぐ */
    margin: 60px auto 0;
    aspect-ratio: 16 / 9; /* 横長（16:9）に固定 */
    overflow: hidden;
    border-radius: 12px;  /* 角を少し丸く */
    background: #000;
}

.page-top-video {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* 枠いっぱいに綺麗に収める */
}

@media screen and (max-width: 768px) {
    /* --- 1. スライダー周りの巨大な数値をリセット --- */
    .insurance-slider {
        width: 100% !important; /* 650% を 100% に修正 */
        height: 250px;         /* 高さをスマホ用に抑える */
        margin-bottom: 10px;
    }

    .insurance-content-flex {
        flex-direction: column; /* 縦に並べる */
        margin-bottom: 20px;
    }

    /* 「自動車保険」の緑ラベル */
    .slider-caption {
        position: relative; /* absoluteを解除 */
        top: auto;
        left: auto;
        transform: none;
        font-size: 1.5rem;   /* 3remから半分に */
        width: fit-content;
        margin: 10px auto;
        padding: 5px 15px;
    }

    .slider-caption-text {
        position: relative;
        bottom: auto;
        right: auto;
        transform: none;
        font-size: 1.1rem;
        width: fit-content;
        margin: 0 auto 20px;
        padding: 5px 15px;
    }
    .insurance-question p{
        font-size: 0.6rem;
        padding-bottom: 10px;
    }

    /* --- 2. メリット一覧の余白リセット --- */
    .insurance-answer dl dd img {
        margin-left: 0;
        margin-right: 10px;
        margin-top: 3px;
        width: 20px;
        height: auto;
        flex-shrink: 0;
    }
    
    .insurance-answer dl dd {
        display: flex;
        align-items: flex-start;
        font-size: 0.9rem;
        padding-inline: 10px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    .onestop-service h3{
        font-size: 1rem;
    }

    /* --- 3. ワンストップサービス（比較部分） --- */
    .onestop-item ul {
        flex-direction: column; /* 縦並びに */
        gap: 30px;
    }

    .orange-bar {
        width: 90%; /* 400px固定を解除 */
        font-size: 1rem;
        margin: 10px auto;
    }

    /* イラストを縦から横に戻す（必要に応じて） */
    .contact-btn-img {
        width: 100px;
        transform: rotate(0deg); /* 90度回転を戻す */
        margin-bottom: 20px;
    }

    /* --- 4. ビデオコンテナの調整 --- */
    .page-top-video-container {
        width: 95% !important; /* スマホでは画面いっぱいに近く */
        margin: 95px auto 10px;
        aspect-ratio: 16 / 9;   /* スマホでも高さを抑える */
        border-radius: 8px;
    }
    .insurance-answer dl dt{
        font-size: 1.2rem;
    }


}