@charset "utf-8";

/* --------------------------------- 
------------------------------------
formAgreement
------------------------------------
------------------------------------*/
#formAgreement {
    width: 90%;
    margin: 30px 5% 10px;
}
#formAgreement h4 {
    margin: 20px auto 0;
    font-weight: bold;
    font-size: 120%;
    color: #000;
}
#formAgreement ol li {
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 5px;
    padding-left: 1em;
    text-indent: -1em;
}
#formAgreement ul li {
    padding-left: 1em;
    text-indent: -1em;
}
#formAgreement .inner {
    height: 250px;
    padding: 20px 20px 0;
    overflow-y: scroll;
    border: 1px solid #BBB;
    text-align: left;
    background: #ffffff;
    margin: 0 0 20px;
}
#formAgreement .inner_title {
    text-align: center;
    font-weight: bold;
    font-size: 110%;
    margin:10px 0 10px;
}
#formAgreement .inner_right {
    text-align: right;
    font-size: 90%;
    margin: 0 0 8px;
}
#formAgreement .inner div.content-title {
    font-style: normal;
    font-weight: bold;
    line-height: 2em;
    margin: 30px 0 10px;
}
#formAgreement .inner table {
    width:100%;
}
#formAgreement .inner table,
#formAgreement .inner td,
#formAgreement .inner th {
    border: 1px solid #595959;
    border-collapse: collapse;
    padding: 5px;
    text-align:left;
    vertical-align: text-top;
}
#formAgreement .inner table td:first-child {
    width:18%;
}
#formAgreement .inner table th {
    background: #ccc;
}
#formAgreement .privacy-check{
    margin: 20px auto 0;
    font-weight: bold;
}
#formAgreement .inner a,
#formAgreement .privacy-check a{
    color: #337ab7!important;
}
#formAgreement .mgn-t-10 {
    margin-top: 10px!important;
}
#formAgreement .mgn-b-15 {
    margin-bottom: 15px!important;
}
#formAgreement .mgn-b-10 {
    margin-bottom: 10px!important;
}
#formAgreement .mgn-l-5 {
    margin-left: 5px!important;
}
#formAgreement .text-left {
    text-align: left;
}
#formAgreement .contents-box-surrounded{
    margin: 10px 0 10px 20px;
}
#formAgreement .contents-box-surrounded ul li {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 1em;
    text-indent: -1em;
}

@media screen and (max-width: 768px) {
    .agreement_header {
        width: 94%;
        margin: 10px 3% 14px;
    }
    .reception_selection #formAgreement {
        display: none;
    }
    #formAgreement {
        width: 94%;
        margin: 10px 3%;
    }
    #formAgreement h4 {
        margin: 20px auto 0;
        font-weight: bold;
        font-size: 120%;
        color: #000;
    }
    #formAgreement ol li {
        list-style-type: decimal;
        list-style-position: inside;
        margin-bottom: 5px;
        padding-left: 1em;
        text-indent: -1em;
    }
    #formAgreement ul li {
        padding-left: 1em;
        text-indent: -1em;
    }
    #formAgreement .inner {
        height: 200px;
        padding: 20px 20px 0;
        overflow-y: scroll;
        border: 1px solid #BBB;
        text-align: left;
        background: #ffffff;
        margin: 0 0 20px;
        overflow-y: scroll;
    }
    #formAgreement .inner::-webkit-scrollbar {
        width: 10px;
    }
    #formAgreement .inner::-webkit-scrollbar-track {
        margin: 0 2px;
        background: #ccc;
        border-radius: 5px;
    }
    #formAgreement .inner::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: #666;
    }

    #formAgreement .inner_title {
        text-align: center;
        font-weight: bold;
        font-size: 110%;
        margin:10px 0 10px;
    }
    #formAgreement .inner_right {
        text-align: right;
        font-size: 90%;
        margin: 0 0 8px;
    }
    #formAgreement .inner div.content-title {
        font-style: normal;
        font-weight: bold;
        line-height: 2em;
        margin: 30px 0 10px;
    }
    #formAgreement .inner table {
        width:100%;
    }
    #formAgreement .inner table,
    #formAgreement .inner td,
    #formAgreement .inner th {
        border: 1px solid #595959;
        border-collapse: collapse;
        padding: 5px;
        text-align:left;
        vertical-align: text-top;
    }
    #formAgreement .inner table td:first-child {
        width:18%;
    }
    #formAgreement .inner table th {
        background: #ccc;
    }
    #formAgreement .privacy-check{
        margin: 20px auto 0;
        font-weight: bold;
    }
    #formAgreement .inner a,
    #formAgreement .privacy-check a{
        color: #337ab7!important;
    }
    #formAgreement .mgn-t-10 {
        margin-top: 10px!important;
    }
    #formAgreement .mgn-b-15 {
        margin-bottom: 15px!important;
    }
    #formAgreement .mgn-b-10 {
        margin-bottom: 10px!important;
    }
    #formAgreement .mgn-l-5 {
        margin-left: 5px!important;
    }
    #formAgreement .text-left {
        text-align: left;
    }
    #formAgreement .contents-box-surrounded{
        margin: 10px 0 10px 10px;
    }
    #formAgreement .contents-box-surrounded ul li {
        list-style-type: disc;
        list-style-position: inside;
        padding-left: 1em;
        padding-right: 1em;
        text-indent: -1em;
    }
}
@media only screen and (max-width: 374px) {
    .buy_button .form_agreement_td span {
        font-size: 10px;
    }
    .buy_button .form_agreement_td a:link {
        font-size: 12px;
        padding: 10px 6px;
    }
}
