/* FORM */
* {
    box-sizing: border-box;
}

body {
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
    padding: 0;
}

header {
    max-width: 880px;
    margin: 0 auto;
}

.bnrLine {
    max-width: 880px;
    margin: 0 auto;
}

.bnrLine p {
    background: #01b901;
    color: #ffffff;
    padding: 10px 10px 0;
    font-size: 18px;
}

.main {
    max-width: 880px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #b9b9b9;
    border: 1px solid #ccc;
}

h1 {
    color: #202c5c;
    font-size: 2.3rem;
    text-align: center;
}

.title {
    font-size: 1.3rem;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid #F4F4F5;
}
.inputbox{
    display: none;
    color: #363636;
}
.inputbox.active{
    display: block;
}
.title_member{
    font-size: 20px;
    font-weight: bold;
    border-left: 5px solid #69869f;
    padding-left: .5rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}
dl {
    width: 100%;
    padding: 1rem 0;
    margin: 0;
    font-size: 1rem;
    color: #363636;
    border-bottom: 1px solid #F4F4F5;
}

dl dt {
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 600;
}

dl dd {
    text-align: left;
    padding: 1em;
    margin: 0;
}

.btn_terms {
    text-align: center;
    margin-bottom: 24px;
    margin-top: 24px;
}

.btn_terms a {
    display: inline-block;
    text-decoration: underline;
    color: #939393;
}

.required {
    background: #f35657;
    color: #ffffff;
    font-size: .8rem;
    padding: 1px 1rem;
    border-radius: 5px;
    margin-left: .5rem;
}

.required:before {
    content: '必須';
}

.option:before {
    content: '任意';
}

.option {
    background: #A7A7A7;
    color: #ffffff;
    font-size: .8rem;
    padding: 1px 1rem;
    border-radius: 5px;
    margin-left: .5rem;
    display: inline-block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    font-size: 18px;
    color: #2B2B2B;
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    height: auto;
    border: 2px solid #E5E5E5;
    width: 100%;
}

dl dd textarea {
    background: #ffffff;
    border: 2px solid #E5E5E5;
    border-radius: 5px;
    font-size: 18px;
    color: #2B2B2B;
    padding: 20px;
    width: 100%;
}
input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="tel"]:disabled,
input[type="number"]:disabled,
dl dd textarea:disabled {
    padding: 10px 0;
    border: none;
}
.btnSend {
    margin: 0 auto;
    display: block;
    text-align: center;
    margin-bottom: 1em;
}

#btnInquiry {
    font-size: 1rem;
    color: #ffffff;
    /*background: #4BA514;
    box-shadow: 0px 4px #387e0d;*/
    padding: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;    
    letter-spacing: 0.2rem;
    margin: 0 auto;
    background: #4BA514;
    opacity: .3;
}
#btnInquiry.active {    
    box-shadow: 0px 4px #387e0d;
    opacity: 1;
}
dl{
    position: relative;
}
ol {
    list-style: none;
    display: flex;
    margin: 10px 0 0;
    padding: 0;
    flex-flow: wrap;
}

.inline-radio {
    display: flex;
    flex-flow: column;
    border-radius: 3px;
    overflow: visible;
    border: 1px solid #f4f4f4;
    position: relative;
}

.inline-radio>li {
    position: relative;
    flex: 1;
    background: #f4f4f4;
}
.inline-radio>li .formError,
.block-radio>li .formError,
.block-checkbox>li .formError{
    left: 735px !important;
}
@media screen and (max-width: 768px) {
    dl .formError,
    .inline-radio>li .formError,
    .block-radio>li .formError,
    .block-checkbox>li .formError{
        left: auto !important;
        right: 15px;
    }
    .block-radio>li .formError,
    .inline-radio>li .formError,
    .block-checkbox>li .formError{
        right: 0;
        margin-top: -34px !important;
    }
    .required,
    .option{
        display: block;
        width: 60px;
        margin-left: 0;
    }
}


.inline-radio li input {
    width: 100%;
    height: 52px;
    opacity: 0;
    display: inline-block;
    position: absolute;
}

.inline-radio label {
    /*position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
    border-bottom: 1px solid #e4e4e4;
    padding-left: 1rem;
}
.inline-radio li label:hover{
    cursor: pointer;
}

.inline-radio li:last-child label {
    border-right: 0;
}

.inline-radio input:checked+label {
    background: #018fb9;
    font-weight: 500;
    color: #fff;
}

.block-radio {
    display: flex;
    flex-flow: column;
    border-radius: 5px;
    overflow: visible;
}

.block-radio>li {
    position: relative;
    flex: 1;
    background: #f4f4f4;
}

.block-radio li input {
    width: 100%;
    height: 40px;
    opacity: 0;
}

.block-radio label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: none;
    border-bottom: 1px solid #e4e4e4;
    padding-left: 1rem;
}

.block-radio li:last-child label {
    border-bottom: 0;
}

.block-radio input:checked+label {
    background: #018fb9;
    font-weight: 500;
    color: #fff;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

.block-checkbox {
    display: flex;
    flex-flow: column;
    position: relative;
}

.block-checkbox>li{
    position: relative;
    flex: 1;
    background: #f4f4f4;
    

}
.block-checkbox>li:not(:last-child){
    border-bottom: 1px solid #ccc;
}

.block-checkbox li input[type="checkbox"] {
    display: inline-block;
    position: absolute;
}

.block-checkbox li input {
    width: 100%;
    height: 40px;
    opacity: 0;
}

.block-checkbox label {
    display: block;
    position: relative;
    padding: 1rem;
    padding-left: 35px;
    margin-bottom: 20px;
    font: 16px/20px 'Open Sans', Arial, sans-serif;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.block-checkbox input[type="checkbox"]+label:last-child {
    margin-bottom: 0;
}

.block-checkbox input[type="checkbox"]+label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #8b8b8b;
    background: #fff;
    position: absolute;
    left: 8px;
    top: 15px;
    opacity: 1;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

.block-checkbox input[type="checkbox"]:checked+label {
    background: #018fb9;
    color: #fff;
}

.block-checkbox input[type="checkbox"]:checked+label:before {
    width: 10px;
    left: 13px;
    top: 9px;
    border-radius: 0;
    opacity: 1;
    border-color: #fff;
    border-width: 2px;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background: transparent;
}
.person{
    padding: 1rem;
}
.desc{
    width: 100%;
    padding: 1rem 0;
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: flex-end;
    
}

.buttons .btn {
    padding: .3rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    color: #ffffff;
    background: #202c5c;
    border: none;
    margin-top: 1rem;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;    
}
.buttons .btn.clear {
    background: #69869f;
    min-width: auto; 
}
.person .input{
    width: 150px;
}

.notice{
    padding-top: 20px;
}
@media screen and (max-width: 768px) {
    .entry_box>p{
        padding: 0 20px 30px;
    }
    .person .input{
        margin: 0 auto;
    }
    .person .input + .buttons{
        justify-content: center;
    }
    .person .buttons .btn{
        height: 42px;
    }
    .person .buttons .submitPerson{
        margin-left: 0;
    }
    .notice{
        padding: 20px 20px 70px;
    }
}
.btnCancel a{
    font-size: 14px;
    color: #ffffff;
    background: #5e5f5e;
    padding: .5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.2rem;
    margin: 30px 0 0;
    text-decoration: none;
}
.thanks{
    padding: 30px;
}
.tel{
    padding: 30px 0;
    text-align: center;
}
.confirm .btnSend{
    margin-top: 3rem;
}
.date,
.date .input{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
}
.date .input input{
    width: 40%;
}
.date .input span{
    margin: 0 1rem;
}
.date .desc{
    width: 100%;
}
.btnDownload{
    margin: 0 auto;
}
.btnDownload button{
    font-size: 1rem;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.2rem;
    margin: 2rem auto 0;
    background: #4BA514;
}
.btnDownload button::before{
    content:"";
    display: block;
    width: 26px;
    height: 26px;
    background: url(../img/icon_download.svg) no-repeat 0 0;
    margin-right: 1rem;
}
.btnDownload button:hover{
    opacity: .8;
}
@media screen and (min-width: 769px) {
    .person{
        display: flex;
        justify-content: center;
        flex-flow: wrap;
    }
    .buttons .btn{
        margin-top: 0;
    }
    .main {
        padding: 30px;
    }
    dl dt {
        width: 100%;
        font-size: 18px;
        padding-top: 20px;
    }

    dl dd {
        width: 100%;
        padding: 5px;
    }

    .purchace_box.inquiry .btnSend {
        margin-top: 50px;
    }

    #btnInquiry {
        width: 400px;
        height: 70px;
    }
    /*.block-radio{
        flex-flow: wrap;
    }
    .block-radio>li{
        flex:auto;
        width: 50%;
        max-width: 50%;
        border-right: 1px solid #e4e4e4;
    }
    .block-radio>li:last-child{
        border-right: none;
    }*/
    .inline-radio {
        flex-flow: wrap;
    }

    .inline-radio label {
        justify-content: center;
        padding-left: 0;
    }

    .inline-radio label {
        border-bottom: none;
        border-right: 1px solid #e4e4e4;
    }

    .option {
        margin-left: .5rem;
        display: inline-block;
    }
}