
   body{
    max-width: 470px !important;
    margin: 0 auto !important;
   }
   img{
    display: block;
    width: 100%;
   }
   .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{
        margin: 0 auto;
    }

    /* 戻るボタン */
    .resetflex{
        display: flex;
        justify-content: space-evenly;
        margin: 30px 10px 0 10px; 
    }
    .resetflex .reset-step,
    .resetflex .next-step{
        background-color: #DFC167;
        color: white;
        width: 30%;
        height: 30px;
        border-radius: 10px;
        padding: 1%;
        font-size: 18px;
        font-family: "Hiragino Sans";
        text-align: center;
    }
    /* 個人情報の取扱・サービス運営規約 */
    .modal-content {
        max-height: calc(100vh - 10.5rem);
    }

    .modal-body {
        overflow-y: auto;
    }

    .modal-dialog {
        max-width: 600px !important;
    }
    /* チェックボックス */
    
    .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 #068acc;
        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: #2196F3;
    }

    .checkbox {
        text-align: center;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .checkbox a {
        color: #007bff;
    }
@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 */
    footer{
    max-width: 1000px !important;
    margin: 0 auto;
    background: #1b1464;
    padding:10px 10px;
    }
    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: 0;
    }
    .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: 'Arial', sans-serif;
        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 10%;
    }
    .iframe_step_form .stepform .stepform__step_title{
        font-family: 'Arial', sans-serif;
        /* background-color: linear-gradient( #78CAEC, #A1E1E2); */
        background-position: top;
        background-image: url(https://event.meetscompany.xyz/wp-content/uploads/2024/08/stepbg-q.png);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        color: black;
        font-size: 20px;
        font-weight: 550;
        padding-top: 4%;
        padding-bottom: 4%;
        margin-bottom: 5%;
        /* border-radius: 45px 45px 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 .stepform .stepform__step_title p{
        line-height: 1;
        margin-bottom: 0;
    }
    .iframe_step_form .wpcf7-step{
        background-color: white;
        padding-bottom: 5%;
        border-radius: 45px; 
        box-shadow: 0px 8px 20px #e4e4e4;
    }
    .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: 80%; 
        font-size: 18px;
        border: solid 1.5px #1B1464; 
        border-radius: 10px;
        margin: 1.5% 10%;
        text-align: center;
        line-height: 30px;
    }
    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: 20px 5px;
        line-height: 18px; 
        /* height: 20px; */
        margin-top: 5px;
        border-radius: 10px;
        width: 90%;
    }
    /* .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; */
    }
    input[type="text"],
    input[type="tel"],
    input[type="email"]{
        border: solid 1px #3F397C;
    }
    /* 確認画面 */
    .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: 25% 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: 10px 10px;
        }
        .iframe_step_form{
            height: 550px; 
        }
        .iframe_step_form .wpcf7-step{
            width: 90%;
            margin: -10% 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: 100%;
        }
    }

    .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;
    }

    @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;
    }