@charset "UTF-8";



/* ラッピングページ */

.about-wrapping{
    padding-top: 50px;
    font-weight: 700;
    text-align: center;
    line-height: 2;
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    flex-wrap: wrap;
    margin-bottom: 100px;
}
.point-line{
    display: block;
    width: fit-content;
    background: linear-gradient(transparent 60%, #ffff7f 60%);
}
.about-wrapping-text p{
    padding: 10px;
}
.about-wrapping-text span,
.full-wrapping li span,
.point-wrapping li span,
.ppf li span{
    color: #a62b2b;
    
}
.about-wrapping img{
    margin-inline: 10px;
}

.about-wrapping img
,.full-wrapping img
,.point-wrapping img
,.ppf img
{
    width: 400px;
    height: 180px;
    object-fit: cover;
    /* object-position: 50% 80%; */
}
.about-wrapping ul
,.full-wrapping ul
,.point-wrapping ul
,.ppf ul
{
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-block: 50px;
    margin-block: 30px;
    background: linear-gradient(45deg, rgb(255, 184, 52) 0%, rgb(255, 251, 131) 50%, rgb(211, 242, 254) 50%, rgb(78, 153, 182) 100%);
}
.about-wrapping li
,.full-wrapping li
,.point-wrapping li
,.ppf li{
    width: 40%;
    margin: 0 auto;
    /* display: flex;
    align-items: center; */
}
.about-wrapping p
,.full-wrapping p
,.point-wrapping p
,.ppf p{
    padding-bottom: 10px;
}
.full-wrapping,
.point-wrapping,
.ppf,
.custom-style{
    font-weight: 700;
}
.w-bg{
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
    padding: 10px 20px;
}

.wrapping-title{
    background-color: #fff86e;
    padding: 15px;
    font-size: 1.75em;
    margin-bottom: 30px;
}

.ppf{
    margin-bottom: 50px;
}
.ppf p{
    margin: 0 auto;
}

/* 下矢印 */
.arrow {
    position: relative;
    display: block;
    width: 1px;
    height: 150px;
    margin-left: 31.1px;
    border-radius: 9999px;
    background-color: #333333;
    margin: 0 auto 50px auto;

}

.arrow::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 0.5px);
    width: 1px;
    height: 45px;
    border-radius: 9999px;
    background-color: #333333;
    transform: rotate(-45deg);
    transform-origin: 50% calc(100% - 0.5px);
}

.custom-style{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.custom-style .insurance-slider{
    width: 50%;
}
.custom-style .insurance-slider img{
    object-fit: contain;
}
.insurance-slider{
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}
.custom-style p{
    line-height: 3;
}


@media screen and (max-width: 768px) {
    /* --- 1. リストの順番入れ替え (画像→文章→画像→文章) --- */
    .full-wrapping ul, .point-wrapping ul, .ppf ul {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .full-wrapping li:nth-child(1), .point-wrapping li:nth-child(1), .ppf li:nth-child(1) { order: 1; }
    .full-wrapping li:nth-child(2), .point-wrapping li:nth-child(2), .ppf li:nth-child(2) { order: 2; }
    .full-wrapping li:nth-child(4), .point-wrapping li:nth-child(4), .ppf li:nth-child(4) { order: 3; }
    .full-wrapping li:nth-child(3), .point-wrapping li:nth-child(3), .ppf li:nth-child(3) { order: 4; }

    .full-wrapping li, .point-wrapping li, .ppf li {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* --- 2. スライダーのサイズ修正（ここが重要！） --- */
    .custom-style .insurance-slider {
        width: 100% !important; 
        height: auto !important; /* PC版の高さ指定(400pxなど)を強制解除 */
        margin: 0 auto 20px;
    }

    .custom-style .slide-item img {
        width: 100%;
        height: 450px;         /* ★スマホで大きく見せたい高さを指定 */
        object-fit: cover;     /* 画像を枠いっぱいに綺麗に収める */
        border-radius: 10px;
    }

    /* --- 3. レイアウトの微調整 --- */
    .about-wrapping, .custom-style {
        flex-direction: column-reverse !important;
    }

    .about-wrapping-text, .custom-style > div {
        width: 100% !important;
        padding: 10px;
        text-align: left;
    }

    .wrapping-title {
        font-size: 1.4rem;
        text-align: center;
    }
}