@media (min-width:1441px){
    .template2-container{
        margin: auto;
    }
     .thumbnail-container {
        position: relative;
        width: 100%;
        height: 550px;
        overflow: hidden;
    }

    .thumbnail-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block;
    }
    .header-title{
        padding-top: 117px;
        text-align: center;
    }
    .header-title h1{
        font-size: 26px;
    }
    .line-border{
        margin: 25px auto 60px;
        border-bottom: 3px solid #000000;
        width: 6%;
    }
    .dynamic-content{
         width: 1440px;
         margin: 0 auto;
        padding: 0 140px 60px;
    }
    .static-images{
        padding: 20px 100px 60px;
    }
    .static-images img{
        width:100%;
    }
    .ul-padding-top{
        margin-top: -10px;
        margin-left: -10px;
        margin-bottom: 20px;
    }
    .align-ul{
        margin-top:-15px;
        margin-left:10px;
    }
    ol li::marker {
        font-weight: bold;
    }
    .login-btn{
        display: flex;
        justify-content: center;
    }
    .login-btn button{
        background-color: #B85151;
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        font-size: 20px;
        width: 30%;
        padding: 10px;
    }
    /*WITHDRAWAL PAGE*/
    .cancel-header{
        margin: 60px 0 50px;
    }
    .cancel-header h1, .cancellation-content h3,
    .consent-content h3, .final-content h3{
        margin-bottom: 20px;
    }
    .cancellation-content{
        padding: 30px 70px;
        background-color: #CFF2FF;
        border: 1px solid #3C91FF;
        margin-bottom: 50px;
    }
    .consent-content, .final-content{
        padding: 30px 70px;
        border: 1px solid #000000;
        margin-bottom: 50px;
    }
    .consent-content div{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .consent-content label{
        width: 100%;
        font-weight: bold;
        padding: 2px;
        background-color: #CFF2FF;
    }
    .consent-content ul{
        list-style: none;
        padding-left: 0;
    }
    .consent-content ul li{
        font-weight: bold;
        padding-left: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .consent-content ul li::before{
        content: "";
        display: inline-block;
        width: 30px;
        height: 30px;
        background: url("http://wordpress.cybertech.co.jp/wp-content/uploads/2025/08/kkrn_icon_check_3.png") no-repeat center center;
        background-size: contain; 
        flex-shrink: 0;
    }
    .final-content p, .radio-btn label{
        font-weight: bold;
    }
    .radio-btn{
        display: flex;   
        padding-top: 10px;
    }
    .radio-yes, .radio-no{
        gap: 5px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .confirm-btn {
        display: flex;
        position: relative;
        margin-top: 120px;
    }
    .confirm-btn button:first-child {
        position: absolute;
        left: 0;
    }
    .confirm-btn button:last-child {
        margin: 0 auto;
    }
    .confirm_no{
        width: 15%;
        background-color: transparent;
        font-weight: bold;
        color: #000000;
        font-size: 26px;
        padding: 20px 0;
        border: 1px solid #000000;
        border-radius: 10px;
        cursor: pointer;
    }
    .confirm_yes {
        width: 25%;
        background-color: #0a89b8;
        font-weight: bold;
        color: white;
        font-size: 26px;
        padding: 20px 0;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }
}
@media (max-width:1440px){
    .template2-container{
        margin: auto;
    }
    .thumbnail-container {
        position: relative;
        width: 100%;
        height: 550px;
        overflow: hidden;
    }

    .thumbnail-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block;
    }
    .header-title{
        padding-top: 117px;
        text-align: center;
    }
    .header-title h1{
        font-size: 26px;
    }
    .line-border{
        margin: 25px auto 60px;
        border-bottom: 3px solid #000000;
        width: 6%;
    }
    .dynamic-content{
        padding: 0 140px 60px;
    }
    .static-images{
        padding: 20px 100px 60px;
    }
    .static-images img{
        width:100%;
    }
     .ul-padding-top{
        margin-top: -10px;
        margin-left: -10px;
        margin-bottom: 20px;
    }
    .align-ul{
        margin-top:-15px;
        margin-left:10px;
    }
    ol li::marker {
        font-weight: bold;
    }
    .login-btn{
        display: flex;
        justify-content: center;
    }
    .login-btn button{
        background-color: #B85151;
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        font-size: 20px;
        width: 30%;
        padding: 10px;
    }
    /*WITHDRAWAL PAGE*/
    .cancel-header{
        margin: 60px 0 50px;
    }
    .cancel-header h1, .cancellation-content h3,
    .consent-content h3, .final-content h3{
        margin-bottom: 20px;
    }
    .cancellation-content{
        padding: 30px 70px;
        background-color: #CFF2FF;
        border: 1px solid #3C91FF;
        margin-bottom: 50px;
    }
    .consent-content, .final-content{
        padding: 30px 70px;
        border: 1px solid #000000;
        margin-bottom: 50px;
    }
    .consent-content div{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .consent-content label{
        width: 100%;
        font-weight: bold;
        padding: 2px;
        background-color: #CFF2FF;
    }
    .consent-content ul{
        list-style: none;
        padding-left: 0;
    }
    .consent-content ul li{
        font-weight: bold;
        padding-left: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .consent-content ul li::before{
        content: "";
        display: inline-block;
        width: 30px;
        height: 30px;
        background: url("http://wordpress.cybertech.co.jp/wp-content/uploads/2025/08/kkrn_icon_check_3.png") no-repeat center center;
        background-size: contain; 
        flex-shrink: 0;
    }
    .final-content p, .radio-btn label{
        font-weight: bold;
    }
    .radio-btn{
        display: flex;   
        padding-top: 10px;
    }
    .radio-yes, .radio-no{
        gap: 5px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .confirm-btn {
        display: flex;
        position: relative;
        margin-top: 120px;
    }
    .confirm-btn button:first-child {
        position: absolute;
        left: 0;
    }
    .confirm-btn button:last-child {
        margin: 0 auto;
    }
    .confirm_no{
        width: 15%;
        background-color: transparent;
        font-weight: bold;
        color: #000000;
        font-size: 26px;
        padding: 20px 0;
        border: 1px solid #000000;
        border-radius: 10px;
        cursor: pointer;
    }
    .confirm_yes {
        width: 25%;
        background-color: #0a89b8;
        font-weight: bold;
        color: white;
        font-size: 26px;
        padding: 20px 0;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }
}
@media (min-width: 769px) and (max-width: 1439px) {
    .thumbnail-container {
        position: relative;
        width: 100%;
        height: clamp(15.625rem, -5.8955rem + 44.7761vw, 34.375rem);
        overflow: hidden;
    }
    .thumbnail-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block;
    }
    .header-title{
        padding-top: clamp(3.75rem, -0.3328rem + 8.4948vw, 7.3125rem);
    }
    .header-title h1{
        font-size: clamp(1.25rem, 0.8202rem + 0.8942vw, 1.625rem);
    }
    .dynamic-content{
        padding: 0 clamp(3.125rem, -3.3215rem + 13.4128vw, 8.75rem) clamp(3.125rem, 2.4087rem + 1.4903vw, 3.75rem);
    }
    .static-images{
        padding: 20px clamp(3.125rem, -0.4564rem + 7.4516vw, 6.25rem) 60px;
    }
    .dynamic-content p, .dynamic-content ol li, .dynamic-content ul li{
        font-size: clamp(0.875rem, 0.7317rem + 0.2981vw, 1rem);
    }
}
@media (min-width: 320px) and (max-width: 768px) {
    .thumbnail-container {
        position: relative;
        width: 100%;
        height: clamp(6.25rem, -0.4464rem + 33.4821vw, 15.625rem);
        overflow: hidden;
    }
    .thumbnail-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block;
    }
    .header-title{
        padding-top:clamp(2.5rem, 1.0674rem + 2.9806vw, 3.75rem);
    }
    .header-title h1{
        font-size: 18px;
    }
    .dynamic-content{
        padding: 0 clamp(1.875rem, 0.4424rem + 2.9806vw, 3.125rem) clamp(1.875rem, 0.4424rem + 2.9806vw, 3.125rem);
    }
    .dynamic-content p{
       font-size: clamp(0.625rem, 0.3385rem + 0.5961vw, 0.875rem);
    }
    .static-images{
        padding: 40px clamp(2.5rem, 1.7837rem + 1.4903vw, 3.125rem) ;
    }
    .login-btn{
        padding-top: 20px;
        border-top: 2px solid #D9D9D9;
    }
    .login-btn button{
       font-size: clamp(0.875rem, 0.7317rem + 0.2981vw, 1rem);
        width: 60%;
        padding: 10px;
    }
    .dynamic-content ul li, .dynamic-content ol li{
        font-size: clamp(0.625rem, 0.3385rem + 0.5961vw, 0.875rem);
    }
    /*WITHDRAWAL PAGE*/
    .cancel-header{
        margin: 50px 0 30px;
    }
    .cancellation-content{
        padding: 20px;
        background-color: #CFF2FF;
        border: 1px solid #3C91FF;
        margin-bottom: 30px;
    }
    .consent-content, .final-content{
        padding: 20px;
        border: 1px solid #000000;
        margin-bottom: 30px;
    }
    .cancellation-content h3, .consent-content h3, .final-content h3{
        font-size: clamp(1.25rem, 0.8929rem + 1.7857vw, 1.75rem);
    }
    .consent-content label, .radio-yes label, .radio-no label{
        font-size: clamp(0.625rem, 0.3571rem + 1.3393vw, 1rem);
    }
    .confirm-btn {
        flex-direction: column;  
        position: static;
        gap: 5px;
        padding-top: 40px;
        margin: 0 auto;
    }
    .confirm-btn button:first-child,
    .confirm-btn button:last-child {
        position: static;
        margin: 0 auto;
        width: 60%;
    }
    .confirm_yes, .confirm_no {
        padding: 10px 0;
    }
}