@charset "UTF-8";
/* CSS Document */

.table-form {
    border-collapse: collapse;
    width: 100%;
    margin-top: 2em;
}
.table-form th {
    border-collapse: collapse;
    color: #0068B4;
    font-weight: 900;
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #CCC;
    letter-spacing: 0.05em;
}
.table-form td {
    border-collapse: collapse;
    padding: 15px;
    border-bottom: 1px solid #CCC;
}
.table-form td input[type=text]{
    background: #EEE;
    padding: 5px 10px;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0;
}
.table-form td .w100{
    width: 100%;
    background: #EEE;
    padding: 5px 10px;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0;
}

.need:after {
    content: "※必須";
    background: #FEEDEE;
    border-radius: 5px;
    color: #EB4800;
    line-height: 1;
    padding: 5px 10px;
    margin-left: 10px;
    font-size: 75%;
    font-weight: 700;
}
select {
    border: 1px solid #CCC;
    border-radius: 5px;
    padding: 7px 10px;
    width: 300px;
    font-size: 90%;
}

.btn-form {
    display: flex;
    justify-content: space-around;
    margin: 2em 0;
}
.btn-form input {
    display: block;
}
.btn-form input[type=submit] {
    background: #0068B4;
    text-align: center;
    width: 48%;
    color: #FFF;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: 700;
}
.btn-form input[type=submit]:hover {
    background: #E7F4FF;
    color: #0068B4;
}
.btn-form input[type=reset] {
    background: #EEE;
    text-align: center;
    width: 48%;
    padding: 1em;
    box-sizing: border-box;
    border-radius: 8px;
}
.btn-form input[type=reset]:hover {
    background: #999;
    color: #FFF;
    font-weight: 700;
}


.tel-box {
    border: 1px solid #0068B4;
    padding: 1em;
    color: #0068B4;
    margin: 2em 0 100px;
    text-align: center;
}
.tel-box:before {
    content: "お問い合わせ先";
    display: block;
    background: #0068B4;
    color: #FFF;
    text-align: center;
    padding: 10px;
    margin-bottom: 1em;
    font-weight: 700;
}
.tel-box .tel {
    font-size: 165%;
    font-weight: 900;
}

@media screen and (max-width: 580px) {
    .table-form th {
        text-align: left;
        padding-bottom: 0;
        border-bottom: none;
    }
    .table-form td {
        padding-top: 0;
    }
}