.remains-contents{
    border: 4px solid var(--site-primary);
    margin: 60px 0 0;
}
.remains-contents h3{
    font-size: clamp(28px, 2.5vw, 40px);
    padding: 8px 0 12px;
}
.remains{
    border-bottom: 4px solid var(--site-primary);
    padding: 60px 50px;
}
.remains:last-child{
    border-bottom: none;
}
.remains .intro{
    gap: 1.5vw;
    margin-bottom: 74px;
}
.method02 .intro,
.method05 .intro{
    margin-bottom: 40px;
}
.method01 .intro .txt{
    background:url(../img/remains/bg01.png)no-repeat;
    background-size: contain;
    background-position: right top;
}
.method02 .intro .txt{
    background:url(../img/remains/bg02.png)no-repeat;
    background-size: contain;
    background-position: left top;
}
.method03 .intro .txt{
    background:url(../img/remains/bg03.png)no-repeat;
    background-size: contain;
    background-position: right top;
}
.method04 .intro .txt{
    background:url(../img/remains/bg04.png)no-repeat;
    background-size: contain;
    background-position: left top;
}
.method05 .intro .txt{
    background:url(../img/remains/bg05.png)no-repeat;
    background-size: contain;
    background-position: right top;
}
.method06 .intro .txt{
    background:url(../img/remains/bg06.png)no-repeat;
    background-size: contain;
    background-position: right top;
}

.remains .intro .md_radius_photo,
.remains .intro .txt{
    width: 48%;
}
.remains .intro .txt h4{
    font-size: clamp(24px, 1.8vw, 36px);
    margin-bottom: 20px;
    
}
.sub-contents{
    position: relative;
    padding: 50px 50px 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}
.sub-contents h4{
    display: inline-block;
    padding:15px 60px;
    border-radius: 50px;
    font-size: clamp(20px, 1.8vw, 30px);
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}
.sub-contents div{
    gap: 1.5vw;
}
.sub-contents ul,
.sub-contents .sub-txt{
    width:60%;
}
.sub-contents ul li{
    font-size: clamp(16px, 1.5vw, 24px);
    border-bottom: 2px dotted #c4c4c4;
    position: relative;
    padding: 12px 0 15px 50px;
}
.sub-contents ul li:last-child{
    border: none;
}
.sub-contents ul li::before{
    content: '';
    background: url(../img/remains/check.png)no-repeat;
    background-size: contain;
    width: 34px;
    height: 34px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.sub-contents img{
    width: 35%;
}
.sub-table{
    margin-bottom: 40px;
}
.sub-table table{
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 30px;
}
.sub-table table th{
    background: #ecd6c6;
    font-size: clamp(16px, 1.5vw, 20px);
    text-align: center;
    padding: 10px 0;
    border: 1px solid #ccc;
    width: 50%;
}
.sub-table table td{
    border: 1px solid #ccc;
    font-size: clamp(18px, 1.5vw, 25px);
    width: 50%;
    text-align: center;
}
.sub-table table td span{
    font-size: clamp(12px, 1.2vw, 16px);
}
.plan-btn h5{
    font-size: clamp(22px, 2.2vw, 32px);
    border-bottom: 1px solid #ff8f8f;
}
.plan-btn h5::before{
    content: '■';
    color: #ff8f8f;
    font-size: clamp(18px, 1.5vw, 24px);
    margin-right: 5px;
    vertical-align: text-bottom;
}
.plan-btn .links{
    margin: 50px 0 20px;
    gap:1.5vw;
}
.plan-btn .links a{
    margin-top: 0;
}

.annotation_txt{
    font-size: 15px;
    color: #939393;
}

.sub-contents .sub-txt p{
    margin-top: 10px;
}
.sub-contents .sub-txt .btn_border{
    margin:35px 0 0;
}
.sub-contents .sub-txt .btn_border a{
    margin-left: 0;
}


@media only screen and (max-width: 1024px) {
    .remains{
        padding: 30px;
    }
    .sub-contents{
        padding: 30px 20px 30px;
    }
    .plan-btn .links{
        margin: 30px 0;
    }
}
@media only screen and (max-width: 960px) {

}

@media only screen and (max-width: 568px) {
    .remains-contents{
        margin: 20px -5.7vw 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .remains{
        padding: 20px;
    }
    .remains .intro .md_radius_photo,
    .remains .intro .txt{
        width: 100%;
    }
    .remains .intro{
        flex-direction: column;
        gap: 4vw;
        margin-bottom: 54px;
    }
    .remains .intro .txt h4{
        text-align: center;
        font-size: 22px;
    }
    .method01 .intro .txt{
        background-size: 70%;
        background-position: right bottom;
    }
    .method02 .intro .txt{
        background-size: 70%;
        background-position: left bottom;
    }
    .method03 .intro .txt{
        background-size: 70%;
        background-position: right bottom;
    }
    .method04 .intro .txt{
        background-size: 70%;
        background-position: left bottom;
    }
    .method05 .intro .txt{
        background-size: 70%;
        background-position: right bottom;
    }
    .method06 .intro .txt{
        background-size: 70%;
        background-position: left bottom;
    }
    .method02 .intro, .method05 .intro {
        margin-bottom: 20px;
    }
    .sub-contents h4{
        font-size: 20px;
        padding: 10px 30px;
        top:-25px;
    }
    .sub-contents div{
        gap: 4vw;
        flex-direction: column;
    }
    .sub-contents{
        padding: 40px 20px 20px;
        margin-bottom: 20px;
    }
    .sub-contents ul,
    .sub-contents img,
    .sub-contents .sub-txt{
        width: 100%;
    }
    .sub-contents ul li{
        padding:10px 0 12px 30px;
        font-size: 17px;
    }
    .sub-contents ul li::before{
        width: 23px;
        height: 23px;
    }
    .sub-contents .sub-txt .btn_border a{
        margin: 10px auto 0;
    }
    .sub-contents .sub-txt .btn_border{
        margin: 0 auto;
    }
    .sub-table{
        margin-bottom: 20px;
      }
    .sub-table table th{
        font-size: 15px;
    }
    .sub-table table td{
        font-size: 18px;
    }
    .sub-table table td span{
        font-size: 11px;
    }
    .method06 .sub-contents{
        padding: 50px 20px 20px;
    }
    .method06 .sub-contents h4{
        line-height: 1.4;
        top: -40px;
    }

    .plan-btn h5{
        font-size: 21px;
        text-indent: -1em;
        padding-left: 1em;
    }
    .plan-btn .links{
        margin: 20px 0;
        gap: 4vw;
    }
    .annotation_txt{
        font-size: 11px;
    }
}