
    .sponly{
        display: none !important; 
    }
    .pconly{
        display: block !important;
    }
    section{
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
    /* fv */
    #fv{
        background-color: white;
    }
    #fv img, footer{
        width: 100%; 
        margin: 0 auto;
    }
    #sponsors .bnr_img{
        max-width: 550px; 
        margin: 0 auto;
    }
    /* 戻るボタン */
    .resetflex{
        display: flex;
        justify-content: space-between;
        width: 90%;
        margin: 30px auto 0 auto; 
    }
    .resetflex .reset-step,
    .resetflex .next-step{
        background-color: #22215b;
        color: white;
        width: 30%;
        height: 30px;
        border-radius: 8px;
        padding: 0%;
        font-size: 20px;
        font-family: "Hiragino Sans";
        text-align: center;
        margin-top: 12px;
    }
    .resetflex .reset-step{
        background-color: #b3b3b3;
    }
    #step1 .resetflex{
        justify-content: end;
    }
    #step6 .resetflex{
        margin: 0px auto 0 auto;
    }
    /* 個人情報の取扱・サービス運営規約 */
    .modal-content {
        max-height: calc(100vh - 10.5rem);
    }

    .modal-body {
        overflow-y: auto;
    }

    .modal-dialog {
        max-width: 600px !important;
    }
    #step6 .stepform__step_formarea table tr th,
    #step6 .stepform__step_formarea table tr td{
        color: #22215B;
        font-size: 17px;
        font-weight: 500;
        font-family: monospace;
    }
    #step6 .stepform__step_formarea table tr td{
        color: #6D6C92;
    }
    /* チェックボックス */
    .custom-control-input {
        position: inherit !important;
        z-index: 1 !important;
        opacity: 1 !important;
    }
    label input[type="checkbox"] + span{
        padding-left: 3px;
    }
    label input[type="checkbox"] + span::before,
    label input[type="checkbox"] + span::after{
        top: 3px;
    }


    label input[type="checkbox"]:checked + span::after {
        border: 2px solid #22215B;
        border-width: 0 2px 2px 0;
    }
    .yoyaku label input[type="checkbox"] + span::before,
    .yoyaku label input[type="checkbox"] + span::after{
        top: -2px;
    }
    input[type="checkbox"] {
        width: 25px;
        height: 25px;
        background-color: #EEE;
        position: inherit;
        opacity: 1;
        margin-right: 8px;
    }

    input[type="checkbox"]:checked {
        background-color: #22215B;
    }

    .checkbox {
        text-align: center;
        font-size: 14px;
        margin-bottom: 15px;
    }
    .checkbox a {
        color: #007bff;
    }
    .checkbox label{
        margin-left: 10px;
    }
    #step6 .stepform__step_agreement{
        font-size: 14px;
        font-weight: 500;
        color: #1B1464;
        margin-bottom: 0;
        margin-top: 20px;
    }
    #step6 .stepform__step_agreement p{
        text-align: center;
    }
@media only screen and (min-width: 769px) {
    #contact label input[type="checkbox"] + span::before,
    #contact label input[type="checkbox"] + span::after{
        top: 6px;
    }
}
@-moz-document url-prefix() {
.yoyaku label input[type="checkbox"] + span::before,
.yoyaku label input[type="checkbox"] + span::after{
	top: -1px;
}
}
    /* footer */
    .wrapper{
        /* position: relative; */
    }
    footer{
    margin: 0 auto;
    background: #1b1464;
    padding: 0px 10px;
    /* position: absolute; */
    bottom: 0;
    max-width: 470px !important;
    }
    footer img{
    display: block;
    width: 60%;
    margin: auto;
    max-width: 250px;
    }
    footer ul{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    color: white;
    margin-top: 20px;
    font-size: 14px;
    }
    footer ul a{
    color: white !important;
    }
    footer p{
    color: white;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0 !important;
    }
    .iframe_step_form .stepform h2{
        background-color: #1B1464;
        border-radius: 45px 45px 0 0;
        margin-bottom: 0;
        color: white;
        padding: 1%;
    }

    .iframe_step_form .stepform h2 div{
        font-family: monospace;
        color: white;
        font-size: 18px;
        font-weight: 550;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 27px;
    }
    .iframe_step_form .stepform .stepform__step_formarea table{
        width: 80%;
        margin: 0 auto;
    }
    /* .iframe_step_form .stepform .stepform__step_graph_send_img{
        padding: 0 5%;
    } */
    .iframe_step_form h2 img{
        width: 70%;
        margin: 30px 15% 0px;
    }
    .iframe_step_form .stepform .stepform__step_title{
        font-family: monospace;
        background-color: #22215B;
        display: flex;
        justify-content: center;
        color: white;
        font-size: 20px;
        font-weight: 550;
        padding-top: 4%;
        margin-bottom: 5%;
    }
    .iframe_step_form .stepform .stepform__step_title02{
        border-radius: 8px 8px 0 0;
    }
    .iframe_step_form{
        max-width: 550px !important; 
    }
    .iframe_step_form .stepform .stepform__step_title .stepform__step_number{
        font-family: 'Helvetica';
        font-size: 26px;
    }
    .iframe_step_form .wpcf7-step{
        background-color: white;
        padding-bottom: 5%;
        border-radius: 8px; 
        box-shadow: 0px 2px 12px #c0c8c1;
    }
    .wpcf7-step .flex-step{
        display: flex;
        justify-content: space-evenly;
        align-items: middle;
        width: 85%;
        margin: 0 auto;
        gap: 5%;
    }
    span.wpcf7-list-item{
        width: 0%; 
        font-size: 8px;
        border: solid 1.5px #1B1464; 
        border-radius: 10px;
        margin: 0%;
        text-align: center;
        line-height: 8px;
    }
    input[type="radio"]:checked{
        background-color: #1B1464;
    }
    .flex-step .step-child{
        padding-top: 20px;
        width: 30%;
    }
    input[type="text"],
    input[type="tel"],
    input[type="email"]{
        padding: 12px 5px;
        padding-left: 16px;
        line-height: 18px; 
        /* height: 20px; */
        margin-top: 5px;
        border-radius: 10px;
        width: 90%;
        margin-right: 5%;
        margin-left: 5%; 
        font-size: 18px;
    }
    /* .wpcf7-form-control {
        display: flex;
        width: 80%;
        margin: 0 auto;
        gap: 5%;
    } */
    span.wpcf7-list-item:hover{
        color: white;
        background-color: #1B1464;
    }
    span.wpcf7-list-item label{
        margin-bottom: 0;
        width: 100%;
        height: 100%;
        padding: 15px 10px;
    }
    /* ラジオボタン　選択されたときに色を付ける */
    .wpcf7-radio .wpcf7-list-item {
        display: block;
        /* padding: 10px; */
        border: 1px solid #1b1464;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .wpcf7-radio .wpcf7-list-item.selected {
        background-color: #1B1464; /* 選択されたときの背景色 */
        color: white; /* テキストカラーも変更 */
    }
    
    .wpcf7-radio .wpcf7-list-item input[type="radio"] {
        display: none; /* ラジオボタンを非表示にする */
    }
    
    span.wpcf7-list-item label.selected{
        background-color: #1B1464; 
    }
    input[type=radio]{
        /* display: none; */
    }
    select,
    input[type="text"],
    input[type="tel"],
    input[type="email"]{
        border: solid 1px #3F397C;
    }
    .wpcf7-select{
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
        padding: 12px 5px;
        border-radius: 10px;
    }
    /* 確認画面 */
    .stepform__step_formarea table tbody tr{
        line-height: 40px;
    }
    /* 入力項目が満たしていないときにカーソルをnot-allowにする */
    button[disabled] {
        cursor: not-allowed;
        background-color: #ffffff;
    }    
    /* 伸びるパーセンテージ */
    .stepform__step_graph .stepform__step_graph_graph{
        width: 80%;
        margin: 10px auto;
    }

    .stepform .stepform__step_graph .bar_graph01 span{
        margin-left: 15%;
    }
    .stepform .stepform__step_graph .bar_graph01 {
        background: linear-gradient(
            90deg, 
            #dec26b 0%, #e5bc2b 50%, 
            lightgray 50%, lightgray 100%
        );
        background-size: 200% 100%; /* 背景のサイズを2倍に設定 */
        background-position: 100% 0%; /* 初期状態は右に配置 */
        height: 30px;
        line-height: 30px;
        color: #fff;
        border-radius: 15px;
        width: 100%;
        animation: expandBar 2s ease-in-out forwards; /* アニメーションを追加 */
    }

    @keyframes expandBar {
        from {
            background-position: 100% 0%; /* 開始時は右に配置 */
        }
        to {
            background-position: 75% 0%; /* 終了時に左から右に配置 */
        }
    }

    .stepform .stepform__step_graph .bar_graph02 span{
        margin-left: 30%;
    }

        .stepform .stepform__step_graph .bar_graph02 {
        background: linear-gradient(
            90deg, 
            #dec26b 0%, #e5bc2b 50%, 
            lightgray 50%, lightgray 100%
        );
        background-size: 200% 100%; 
        background-position: 100% 0%; 
        height: 30px;
        line-height: 30px;
        color: #fff;
        border-radius: 15px;
        width: 100%;
        animation: expandBar02 2s ease-in-out forwards;
    }

    @keyframes expandBar02 {
        from {
            background-position: 80% 0%; 
        }
        to {
            background-position: 60% 0%; 
        }
    }


    .stepform .stepform__step_graph .bar_graph03 span{
        margin-left: 40%;
    }
    
            .stepform .stepform__step_graph .bar_graph03 {
        background: linear-gradient(
            90deg, 
            #dec26b 0%, #e5bc2b 50%, 
            lightgray 50%, lightgray 100%
        );
        background-size: 200% 100%; 
        background-position: 100% 0%; 
        height: 30px;
        line-height: 30px;
        color: #fff;
        border-radius: 15px;
        width: 100%;
        animation: expandBar03 2s ease-in-out forwards; 
    }

    @keyframes expandBar03 {
        from {
            background-position: 75% 0%;
        }
        to {
            background-position: 50% 0%; 
        }
    }


    .stepform .stepform__step_graph .bar_graph04 span{
        margin-left: 65%;
    }
        
                .stepform .stepform__step_graph .bar_graph04 {
        background: linear-gradient(
            90deg, 
            #dec26b 0%, #e5bc2b 50%, 
            lightgray 50%, lightgray 100%
        );
        background-size: 200% 100%;
        background-position: 100% 0%; 
        height: 30px;
        line-height: 30px;
        color: #fff;
        border-radius: 15px;
        width: 100%;
        animation: expandBar04 2s ease-in-out forwards; 
    }

    @keyframes expandBar04 {
        from {
            background-position: 50% 0%; 
        }
        to {
            background-position: 25% 0%; 
        }
    }

    .stepform .stepform__step_graph .bar_graph05 span{
        margin-left: 90%;
    }
        
                .stepform .stepform__step_graph .bar_graph05 {
        background: linear-gradient(
            90deg, 
            #dec26b 0%, #e5bc2b 50%, 
            lightgray 50%, lightgray 100%
        );
        background-size: 200% 100%;
        background-position: 100% 0%; 
        height: 30px;
        line-height: 30px;
        color: #fff;
        border-radius: 15px;
        width: 100%;
        animation: expandBar05 2s ease-in-out forwards;
    }

    @keyframes expandBar05 {
        from {
            background-position: 20% 0%;
        }
        to {
            background-position: 0% 0%;
        }
    }
    @media screen and (max-width: 768px){
        .sponly{
            display: block !important; 
        }
        .pconly{
            display: none !important;
        }
        .wrapper{
            width: 100%;
        }
        section{
            width: 100%;
        }
        #fv img,
        #sponsors .bnr_img{
            max-width: 100% !important; 
            position: relative;
        }
        #fv{
            height: fit-content;
        }
        .iframe_step_form .stepform .stepform__step_title{
            padding-top: 5%;
        }
        footer{
            width: 100%;
            max-width: 550px;
            margin: 50px auto 0;
            background: #1b1464;
            padding: 0px 10px;
            bottom: -120px;
        }
        .iframe_step_form{
            height: 550px; 
        }
        .iframe_step_form .wpcf7-step{
            width: 90%;
            margin: 0% 5% 5% 5%;
            position: absolute;
        }
        .flex-step .step-child{
            font-size: 15px;
        }
        .wpcf7-step .flex-step{
            width: 95%;
            margin: 0 auto;
            gap: 0%;
        }
        .iframe_step_form .stepform .stepform__step_formarea table{
            font-size: 14px;
        }
        .stepform .stepform__step_graph .bar_graph01 span{
            margin-left: 10%;
        }
        .stepform .stepform__step_graph .bar_graph02 span{
            margin-left: 25%;
        }
        .stepform .stepform__step_graph .bar_graph03 span{
            margin-left: 35%;
        }
        .stepform .stepform__step_graph .bar_graph04 span{
            margin-left: 60%;
        }
        .stepform .stepform__step_graph .bar_graph05 span{
            margin-left: 85%;
        }
        .wpcf7-form-control{
            width: 90%;
            margin: 0 5%;
        }
    }
    #header .header-flex{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin: 2% 5%;
    }
    #header .header-flex a{
        width: 40%;
        display: inline-block;
    }
    #header .header-flex a img{
        object-fit: contain;
        width: 100%;
    }
    #header .header-flex .sotsu{
        background-color: #22215B;
        border-radius: 8px;
        width: 30%;
    }
    #header .header-flex .sotsu img{
        width: 80%;
        margin: 5% 10% 2%;
        object-fit: contain;
    }
    .form .questionnaire-container input[type="submit"] {
        background: #ff8500;
        border: 0;
        border-radius: 100px !important;
        box-shadow: 0 0px 0 !important;
        color: #fff;
        font-size: 0px !important;
        margin: 10px auto 0;
        width: 100% !important;
        height: 40px;
    }

    .form .submit-container input[type="submit"] {
        /* background: #ff8500; */
        border: 0;
        border-radius: 40px;
        color: #fff;
        font-size: 0px !important;
        margin: 10px auto 0;
        width: 100% !important;
        height: 5vw !important;
        background-image: url(https://talk.dshu.jp/wp-content/uploads/2024/04/pc_cta-1.png);
        background-repeat: no-repeat !important;
        background-color: white !important;
        background-position: center !important;
        background-size: contain;
    }
    input[type="submit"]{
        background-color: #1B1464;
        color: white;
        width: 90%;
        margin: 0 5%;
        font-size: 20px;
        padding: 8px;
        border-radius: 8px;
        text-align: center;
    }
    .iframe_step_form .stepform .stepform__step_graph_send_img{
        /* margin-top: -30px; */
    }
    #step6 .resetflex .reset-step{
        margin-top: 12px;
    }
    .wpcf7 .wpcf7-submit:disabled,
    button.wpcf7-submit{
        display: none;
    }
    @media only screen and (max-width: 768px) {
        .form .submit-container input[type="submit"] {

            width: 100% !important;
        }
    }

    .form .questionnaire-container input[type="submit"] {
        /* background: #ff8500; */
        border: 0;
        border-radius: 40px;
        /* box-shadow: 0 7px 0 #f65000; */
        color: #fff;
        font-size: 0px !important;
        margin: 10px auto 0;
        /*        width: 120px !important;
        height: 40px !important;*/
        width: 100% !important;
        background-repeat: no-repeat !important;
        background-color: white !important;
        background-position: center !important;
        /* height: 50px !important; */
    }

    .imgbtn:hover {
        opacity: 0.8 !important;
    }

    .form .submit-container input[type="submit"]:hover {
        /* background: none!important;  */
        background-image: url(https://talk.dshu.jp/wp-content/uploads/2024/04/pc_cta-1.png) !important;
        background-size: contain;
        background-color: white !important;
        background-repeat: no-repeat;
        background-position: center;
        width: 100% !important;
    }

    .form .submit-container input[type="submit"]:last-child {
        margin: 0 0 0 0 !important;
    }

@media screen and (min-width: 470px){
    body{
        width: 470px !important;
        margin: 0 auto !important;
    }
    .iframe_step_form .stepform .stepform__step_title{
        font-size: 28px;
    }
    /* .iframe_step_form .stepform .stepform__step_graph_send_img{
        padding: 0 4%;
    } */
    #step6 .stepform__step_agreement a{
        color: #0074CF;
    }
    #sstep6 .wpcf7-form-control{
        width: 90%;
        margin: 0 5%;
    }
}
.wpcf7 form{
    position: relative;
}
.wpcf7 form .wpcf7-response-output{
    position: absolute;
    background-color: #fff;
    bottom: 0;
}