html,body {
    font-family: "游ゴシック","ヒラギノ角ゴ ProN","メイリオ","MS Pゴシック",sans-serif;
    background: #fff;
    margin: 0;
    height: 100%;
    display:flex;
    flex-direction: column;
    min-height: 100vh;
}

/*全体のレイアウト設定*/
#wrapper{
        max-width:1600px;
        background:#fff;
        margin:0 auto;
}

#step1-wrapper,
#step2-wrapper,
#step3-wrapper,
#step4-wrapper,
#schedule-wrapper {
        max-width: 700px;
        background: #fff;
        margin: 0 auto;
        flex: 1;
}

#logoarea {
    background: #e60012;
    padding: 10px 0;
}

.h1{
    color:#fff;
    text-align:center;
    margin:0;
}

.h1 a{
    color:#fff;
    text-decoration:none;
}

.h1 a:hover{
    color:#fff;
    text-decoration:none;
}

a:hover{
    opacity:0.8;
}

.site-description{
    color:#fff;
    text-align:center;
    margin:0;
}

#stepstatus{
    width:100%;
    margin:0 auto;
    background:#f5f5f5;
}

#stepstatus-container {
    max-width:700px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin-top:0;
    margin-left:auto;
    margin-right:auto;
}

#stepstatus-container li{
    width:100%;
    text-align:center;
    padding:10px 0;
}

li.active {
    color: #fff !important;
    background: #2196f3 !important;
    font-weight: bold;
}

.linkbutton {
    width: 200px;
    margin: auto;
    text-align: center;
    border-radius: 3px;
    background: #3b5998;
    padding: 10px 0;
}

.linkbutton a {
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}

.header-title {
    font-size: 24px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.header-title span {
    font-size:20px;
    color:#FFF;
    background: #e9500c;
    padding:10px;
    margin-right:10px;
}

#footer {
    width: 100%;
    background: #e60012;
    padding: 30px 0;
    margin-top:auto;
}

#footer-inner p{
    color:#fff;
    max-width:700px;
    text-align:center;
    margin:0 auto;
}

#msg{
    color:#FF0000;
    font-weight:bold;
    text-align:center;
}

ul.location_name {
    display: flex;
    flex-wrap: nowrap;
    font-size: 15px;
    list-style-type: none;
    justify-content: center;
    padding-left: 0;
    border-radius: 5px;
    overflow: hidden;
}

ul.location_name li {
    width: 100%;
    background: #ccc;
    color: #666;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
}

.active_cal {
    display: block;
}

.nonactive_cal{
    display:none;
}

/*---STEP1のCSS---*/

.step1-section{
    margin-top:20px;
}

.wrap-stepsection{
    margin-bottom:40px;
    background:#fff;
}

.h2-step{
    font-size:14px;
    border-bottom:3px solid #3b5998;
    padding-bottom:5px;
}

.survey-flow{
    font-size:16px;
    text-align:center;
    border:2px solid #FF0000;
    background:#eee;
    padding:5px;
}

.survey-flow-content{
    background:#eee;
    padding:20px;
}

.topics{
    max-width:650px;
    margin:20px auto;
}

.topics p.topics-caution{
    font-weight:bold;
    color:#FF0000;
}
    
.examlist-wrap ul{
    text-align:center;
    list-style-type:none;
    padding:0;
    margin:0;
}
    
.payment-list li{
    padding:5px 0;
}

.calendar-topmessage{
    text-align:left;
    font-size:18px;
    margin:30px 0
}

.calendar-message{
    text-align:center;
    font-size:18px;
}

.examlist-wrap{
    border:2px solid #d5d5d5;
    margin-top:30px;
}

.examlist{
    font-weight:bold;
    color:#ff0000;
}

.link_btn {
    text-align:center;
    border-radius: 5px;
    font-size: 16px;
    background: #0457ac;
    color: #fff;
    padding: 20px;
    text-decoration: none;
    display:block;
}

.attention_area {
    background: #FCFCFC;
    border: 1px solid #CCC;
    padding-left: 10px;
    padding-right: 10px;
    margin:30px 0;
}

.attention_area h2 {
    font-size: 16px;
    text-align: center;
}

.attention_area ol{
    padding-left:0;
}

.step-section{
    margin-bottom:50px;
}

#location_map_wrap h3 span {
    border-left: 10px solid #0457ac;
    padding-left: 5px;
}

dl.location_information {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #CCC;
}

    dl.location_information dt {
        width: 30%;
        background: #F5F5F5;
        display: flex;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #CCC;
    }

    dl.location_information dd {
        width: 70%;
        margin-left: 0;
        display: flex;
        align-items: center;
        padding: 10px;
    }

    dl.location_information dt,
    dl.location_information dd {
        box-sizing: border-box;
        border-bottom: 1px solid #CCC;
    }

        dl.location_information dt:last-of-type,
        dl.location_information dd:last-of-type {
            border-bottom: none;
        }


        dl.location_information dd ul {
            padding-left: 20px;
        }

.gm-style .place-card-medium {
    display: none;
}


/*---STEP2のCSS---*/

.h2-calendar{
    text-align: center;
    font-size: 20px;
}

.h2{
        font-size:18px;
        border-left:8px solid #3498db;
        padding:5px 10px;  
}

.tablewrap{
    margin-bottom:30px;
}

.inputform{
    width:700px;
    border-collapse:collapse;
    margin:10px auto;
}

.displayon{
    display:block;   
}

.displayoff{
    display:none;    
}

#check_discount{
    color:#333;
    font-weight:normal;
}

#workplace_name,
#ticketlabel{
    margin-bottom:0;
    color:#000;
    font-weight:bold;
}

.discount_txt{
    font-size:14px;
    margin-bottom:0;
    color:#ff0000;
    font-weight:bold;
}

.require-comment{
    font-weight:bold;
    color:#ff0000;
    margin-bottom:0;
}

.agreement-area{
    max-width:700px;
    margin:20px auto;
}

.agreement-area ul{
    font-size:16px;
    padding-left:0;
    list-style-position: inside;
}


.agreement-area ul li{
    padding:10px 0;
}

.agreement-comment{
    font-size:15px;
    text-align:center;
}

.agreement-check{
    text-align:center;
    border:1px solid #CCC;
    background:#FCFCFC;
    padding:10px 0;
}

.required{
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    padding: 1px 2px;
    margin-right: 5px;
    float: right;
}

.required-left{
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    padding: 1px 2px;
}

.tablenotice {
    display: block;
    border: 3px solid #d5d5d5;
    padding: 5px;
    margin-bottom: 10px
}

.location_address {
    background: #f7f5e7 !important;
    border: 1px solid #ccc;
    padding:5px 10px;
}

.examform_stepbutton {
    color:#FFF;
    text-align: center;
    background: #e9500c;
    padding: 10px;
    display: block;
}

.location_map {
    width: 100%;
    height: 300px;
}

.place-card,
.place-card-large,
.gm-style {
    display: none;
}

ul.location_name {
    display: flex;
    flex-wrap: nowrap;
    font-size: 15px;
    list-style-type: none;
    justify-content: center;
    padding-left: 0;
    border-radius: 5px;
    overflow: hidden;
}

ul.location_name li {
    width: 100%;
    background: #ccc;
    color: #666;
    padding: 10px 0;
    text-align: center;
    cursor: pointer;
}

.active_cal {
    display: block;
}

.nonactive_cal {
    display: none;
}

.google-maps {
    position: relative;
    overflow-y: hidden;
    width: 100%;
    padding-top: 75%;
}

.google-maps iframe {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: calc(100% + (150px * 2));
}

.display_on_table{
    display:table-row;
}


/*---スマートフォン横向き・タブレット縦向き用レイアウト---*/

@media screen and (max-width: 840px) {

    #step1-wrapper,
    #step2-wrapper,
    #step3-wrapper {
        max-width: 568px;
        background: #fff;
        padding: 0 20px;
        margin: 0 auto;
    }

    .h2 {
        font-size: 13px;
        border-left: 8px solid #3498db;
        padding: 2px 5px;
    }

    .topics {
        text-align: center;
        max-width: 550px;
        margin: 20px auto;
        padding: 0 15px;
    }

    .topics dl {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        font-size: 16px;
        text-align: left;
        padding-left: 0;
    }

    .topics dt {
        width: 20%;
    }

    .topics dd {
        width: 80%;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .tablewrap {
        width: 100%;
        margin-bottom: 20px;
    }

    .inputform th {
        text-align: left;
        font-size: 14px;
        border: 1px solid #CCC;
        background: #f5f5f5;
        padding: 10px;
        display: block;
    }

    .inputform td {
        font-size: 14px;
        border: 1px solid #d5d5d5;
        padding: 10px;
        display: block;
    }

    .inputform {
        width: 100%;
        border-collapse: collapse;
        margin: 10px auto;
    }

    .inputname-mb {
        width: 100px;
        margin-right: 15px;
    }

    #footer-inner p {
        color: #fff;
        text-align: center;
        font-size: 15px;
    }

    .formbtn {
        width: 250px;
        display: block;
        text-align: center;
        border-radius: 5px;
        font-size: 16px;
        background: #3b5998;
        color: #fff;
        padding: 20px;
        text-decoration: none;
        margin: 0 auto;
    }
}

/*--パソコン用画面レイアウト--*/
@media screen and (min-width: 841px) {

    .h2-step {
        font-size: 16px;
        border-bottom: 3px solid #3b5998;
        padding-bottom: 5px;
    }

    .topics {
        text-align: center;
        max-width: 670px;
        margin: 20px auto;
        padding: 0 15px;
    }

        .topics dl {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            font-size: 16px;
            text-align: left;
            padding-left: 0;
        }

        .topics dt {
            width: 20%;
        }

        .topics dd {
            width: 80%;
            margin-left: 0;
            margin-bottom: 15px;
        }

    .formbtn {
        width: 300px;
        display: block;
        text-align: center;
        border-radius: 5px;
        font-size: 16px;
        background: #3b5998;
        color: #fff;
        padding: 20px;
        text-decoration: none;
        margin: 0 auto;
    }

    .inputform th {
        width: 220px;
        text-align: left;
        font-size: 14px;
        border: 1px solid #CCC;
        background: #f5f5f5;
        padding: 10px;
    }

    .inputform td {
        width: 480px;
        font-size: 14px;
        border: 1px solid #d5d5d5;
        padding: 10px;
    }

    #stepstatus-container li {
        width: 30%;
        font-size: 15px;
        display: inline-block;
        background: #f5f5f5;
        padding: 10px 0;
    }

    textarea {
        width: 470px;
        height: 200px;
        margin: auto;
    }
}

@media screen and (max-width: 480px) {

    #step1-wrapper, #step2-wrapper, #step3-wrapper {
        max-width: 414px;
        background: #fff;
        padding: 0 15px;
        margin: 0 auto;
    }

    .h1 {
        color: #fff;
        text-align: center;
        font-size: 20px;
        margin: 0;
    }

    .h2 {
        font-size: 14px;
        border-left: 8px solid #3498db;
        padding: 2px 5px;
    }

    .header-title span {
        border-left: 0;
        padding-left: 0;
    }

    .topics {
        max-width: 100%;
        padding: 0 15px;
        margin: 20px auto;
    }

        .topics h2 {
            font-size: 16px;
            background: #3b5998;
            color: #FFF;
        }

        .topics dl {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            font-size: 14px;
            text-align: left;
        }

        .topics dt {
            width: 30%;
        }

        .topics dd {
            width: 70%;
            margin-left: 0;
            margin-bottom: 15px;
        }

        .topics p {
            font-size: 12px;
        }

        .topics p.topics-caution {
            font-size: 10px;
        }

    .formbtn {
        width: 250px;
        display: block;
        text-align: center;
        border-radius: 5px;
        font-size: 16px;
        background: #3b5998;
        color: #fff;
        padding: 20px;
        text-decoration: none;
        margin: 0 auto;
    }

    .header-title {
        background: #e9500c;
        color: #FFF;
        text-align: center;
        font-size: 16px;
        padding: 10px;
    }

    #stepstatus-container li {
        font-size: 13px;
    }

    .calendar-topmessage {
        text-align: center;
        font-size: 14px;
        margin: 30px 0
    }


    .fc-center h2 {
        font-size: 18px;
    }


    #gcaldate {
        font-size: 14px;
    }

    .step1-section iframe {
        width: 100% !important;
        height: 300px !important;
    }

    /*--STEP2・3共通--*/
    .tablewrap {
        width: 100%;
        margin-bottom: 20px;
    }

    .inputform {
        width: 100%;
        border-collapse: collapse;
        margin: 10px auto;
    }

        .inputform th {
            text-align: left;
            font-size: 14px;
            border: 1px solid #CCC;
            background: #f5f5f5;
            padding: 10px;
            display: block;
        }

        .inputform td {
            font-size: 14px;
            border: 1px solid #d5d5d5;
            padding: 10px;
            display: block;
        }

        .inputform input {
            padding: 10px 0;
        }

    .inputname-mb {
        width: 70px;
        margin-right: 15px;
    }

    .th_discount {
        height: 100px;
    }

    .formparts-postcode {
        width: 100px;
    }

    .displayon {
        display: block;
    }

    .displayoff {
        display: none;
    }

    #check_discount {
        color: #333;
        font-weight: normal;
    }

    #workplace_name,
    #ticketlabel {
        margin-bottom: 0;
        color: #000;
        font-weight: bold;
    }

    .discount_txt {
        font-size: 14px;
        margin-bottom: 0;
        color: #ff0000;
        font-weight: bold;
    }

    .require-comment {
        font-weight: bold;
        color: #ff0000;
        margin-bottom: 0;
    }

    .agreement-area {
        max-width: 700px;
        margin: 20px auto;
    }

        .agreement-area ul {
            font-size: 14px;
            padding-left: 0;
            list-style-position: inside;
        }


            .agreement-area ul li {
                padding: 10px 0;
            }

    .agreement-comment {
        font-size: 15px;
        text-align: center;
    }

    .agreement-check {
        text-align: center;
        border: 1px solid #CCC;
        background: #FCFCFC;
        padding: 10px 0;
    }

    .required {
        font-size: 12px;
        background: #ff0000;
        color: #fff;
        padding: 1px 2px;
        /*float:right;*/
    }

    .required-left {
        font-size: 12px;
        background: #ff0000;
        color: #fff;
        padding: 1px 2px;
    }

    #footer {
        margin-top: 20px;
    }

    #footer-inner p {
        color: #fff;
        text-align: center;
        font-size: 10px;
    }

    textarea {
        width: 260px;
        height: 200px;
        margin: auto;
        display: block;
    }

    ul.location_name {
        display: flex;
        flex-wrap: nowrap;
        font-size: 14px;
        list-style-type: none;
        justify-content: center;
        padding-left: 0;
        border-radius: 5px;
        overflow: hidden;
    }
}