@charset "utf-8";

/*============================
保険制度
============================*/
/*セット*/

#insurance .box:not(:last-child) {
    margin-bottom: 30px;
}

#insurance .box {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 30px;
}

#insurance .box .photo {
    width: 200px;
    background: #d3e9ed;
    border-radius: 10px;
}

#insurance .box .photo img {
    width: 100%;
}

#insurance .box .text {
    width: 520px;
}

#insurance .box h3 {
    font-size: 18px;
    color: #00bbd5;
    border-left: none;
    border-bottom: none;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

#insurance .box .detail {
    background: #f8f5ea;
    padding: 30px;
    border-radius: 10px;
}

#insurance .box .detail p {
    margin-bottom: 20px;
    position: relative;
	font-weight: bold;
}

#insurance .box .detail p::before {
    content: "CASE | 1";
    background: #00bbd5;
    color: #fff;
    padding: 2px 5px;
    font-size: 12px;
    margin-right: 10px;
	border-radius: 3px;
	font-weight: normal;
}

#insurance table.info tr {
    background: #fff;
    border-radius: 10px;
}

#insurance table.info th {
    border-radius: 10px 0 0 10px;
}

/*写真＋保険*/
#insurance .box .flex:first-of-type {
    margin-bottom: 30px;
}

/*関連リンク*/
#insurance .box .flex.btn {
    justify-content: flex-start;
    grid-gap: 30px;
}

#insurance .box .flex.btn a {
    width: 365px;
    padding: 17px 0 17px 20px;
    display: block;
    border-radius: 30px;
    background: #00bbd5;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

#insurance .box .flex.btn a::before {
    content: "\f08e";
    font-weight: 900;
    padding-right: 10px;
}

@media only screen and (max-width: 768px) {

    #insurance .box .photo {
        width: 100%;
        margin-bottom: 15px;
    }

    #insurance .box .photo img {
        object-fit: contain;
        max-height: 140px;
    }

    #insurance .box .text {
        width: 100%;
    }

    #insurance .box .detail {
        padding: 20px;
    }

    #insurance .box .detail p {
        margin-bottom: 15px;
    }

    table.info td {
        padding-right: 10px;
    }

    /*関連リンク*/
    #insurance .box .flex.btn {
        grid-gap: 20px;
    }

    #insurance .box .flex.btn a {
        width: 100%;
        padding: 15px;
        display: inline-block;
        font-size: 15px;
    }
}
