#main {
}
#main .section {
/*    max-width: 500px;*/
}

#select-vc .radio-box {
    margin-top: 30px;
}
#select-vc label {
    display: block;
    margin: 20px 0 20px 0;
    padding: 0 0 0 0.5em;
    font-size: 120%;
    line-height: 1em;
    cursor: pointer;
}
#select-vc input {
    line-height: 1em;
    vertical-align: 0;
}

#schedule table {
    table-layout: fixed;
    width: 100%;
/*    border: solid 1px #333;*/
}
#schedule table caption {
    text-align: left;
    line-height: 1.2em;
}
#schedule table tbody {
}
#schedule table tr.block-cell {
}
#schedule table tr.block-cell td {
    border: none;
    padding: 0;
}
#schedule table tr.block-cell .prev,
#schedule table tr.block-cell .next {
    margin: 5px 0;
    line-height: 1;
    padding: 5px 7px;
    background-color: #eee;
    border: solid 1px #666;
    border-radius: 6px;
    font-size: 100%;
    cursor: pointer;
}
#schedule table tr.block-cell .prev {
    float: left;
}
#schedule table tr.block-cell .next {
    float: right;
}
#schedule table tr.block-cell::after {
    clear: both;
}
#schedule table th,
#schedule table td {
    border: solid 1px #333;
    padding: 2px 5px;
}
#schedule table th {
    font-weight: normal;
}
#schedule table th.date {
    line-height: 1.2em;
    text-align: center;
}
@media screen and (min-width: 500px) {
    #schedule table th.date br {
        display: none;
    }
}
#schedule table th.time {
/*    table-layout: fixed;*/
    max-width: 4em;
    white-space: nowrap;
    text-align: left;
}
#schedule table td {
    text-align: center;
}
#schedule table .null-cell {
    border: none;
}
#schedule table .rsv_status0::after {
    content: "×";
}
#schedule table .rsv_status1::after {
    content: "△";
}
#schedule table .rsv_status2::after {
    content: "◯";
}

#form .input-item {
    margin: 15px 0 10px;
}
#form select,
#form option,
#form input,
#form textarea,
#form button {
    font-family: inherit;
    font-size: 1em;
    line-height: 1.4em;
    margin: 0 0 10px;
}
#form fieldset {
    margin: 10px 0 15px;
    border: solid 1px #333;
    border-radius: 5px;
}
#form fieldset.no-box {
    border: none;
}
#form select {
    width: 100%;
    height: 2.5em;
    border: solid 1px #666;
    border-radius: 3px;
    background: #eee;
    font-weight: normal;
}
#form optgroup {
    color: inherit;
}
#form option {
    background: none;
}
#form legend {
    padding: 0 5px;
    font-weight: bold;
}
#form label {
    display: block;
    margin: 0;
    font-weight: bold;
}
#form label.inline_label {
    display: inline-block;
    padding-right: 1em;
}
#form .line-break label {
    display: block;
}
#form input[type="text"],
#form input[type="tel"],
#form input[type="number"],
#form input[type="password"],
#form input[type="date"],
#form input[type="month"],
#form input[type="week"],
#form input[type="time"],
#form input[type="email"],
#form textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 5px;
    border: solid #999;
    border-width: 2px 1px 1px 2px;
    border-radius: 3px;
}
#form input[type="checkbox"],
#form input[type="radio"] {
    margin: 0 5px 0 0;
    line-height: inherit;
}
#form .date-input {
    display: inline-block;
    width: auto;
}
#form .date-input label {
    display: inline;
}
#form .date-input.to {
    margin-top: 3px;
    text-align: right;
}
#form input.year {
    width: 5em !important;
    text-align: left;
}
#form input.month,
#form input.day {
    width: 3em !important;
    text-align: left;
}
#form .birth input.year {
    width: 4em;
    text-align: center;
}
#form .birth input.month,
#form .birth input.day {
    width: 2em;
    text-align: center;
}
#form .buttons {
    margin: 20px 0;
}
input[type="button"],
input[type="submit"] {
    width: 100%;
    height: 3em;
    font-size: inherit;
    line-height: 2em;
    background: #ddd;
    border: solid 2px #999;
    border-radius: 5px;
    margin: 0 0;
    padding: 0 15px;
}
#form .margin-after {
    margin-bottom: 10px !important;
}
#form .must:before {
    content: "必須";
    margin: 0 3px 0 0;
    padding: 2px;
    background: #f30;
    border-radius: 0.3em;
    font-size: 60%;
    color: #fff;
}

#form .time-select {
    display: none;
}
#form #option-date_timezone-box {
    display: none;
}
#form .prefer_date {
    height: 130px;
}
#form .description {
    margin: 0;
    line-height: 1.3;
    font-size: 90%;
}
#form .description p {
    margin: 0 0 10px 0;
}
#form .description ul {
    margin: 0 0 0 0.5em;
}
#form .description ul li {
    display: inline;
    margin: 0;
    padding: 0 0.5em 0 0;
    line-height: 1.2;
    word-break: keep-all;
}

#conf-container {
    position: fixed;
    z-index: 3;
    display: none;
    background: rgba(63,63,63,0.5);
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}
#conf-box {
    position: relative;
    right: 0px;
    margin: 15px;
    padding: 15px;
    border: none;
    background: #fff;
}
#conf-box h2 {
    font-size: 120%;
    margin: 15px 0;
    text-align: center;
}
/*
#conf-box table {
    height: calc(100vh - 200px);
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: none;
}
#conf-box table::-webkit-scrollbar {
    display:none;
}
#conf-box table tbody {
    height: auto;
}
*/
#conf-box table {
    border: none;
}
#conf-box tbody {
    display: block;
}
#conf-box table tr {
}
#conf-box table th,
#conf-box table td {
    display: block;
    width: auto;
    border: none;
    line-height: 1.2em;
}
#conf-box table th {
    width: auto;
    margin: 10px 0 0px;
    text-align: left;
}

@media screen and (min-width: 500px) {
    #conf-box table tr {
        display: table-row;
    }
    #conf-box table th,
    #conf-box table td {
        display: table-cell;
        border: none;
        padding-left: 1em;
        line-height: 1.6em;
    }
    #conf-box table th {
        width: auto;
        max-width: 12em;
        margin: 0;
        text-align: right;
    }
}
#conf-box .buttons {
    width: 100%;
    height: auto;
    margin: 25px 0;
}
#conf-box .buttons .box1 {
    width: auto;
    margin: 10px 0;
    text-align: center;
}
#conf-box .buttons .box2 {
    width: auto;
    margin: 10px 0;
    text-align: center;
}
#conf-box .buttons .button {
    display: block;
    width: 100%;
    font-size: inherit;
    line-height: 2em;
    text-align: center;
}
@media screen and (min-width: 500px) {
    #conf-box .buttons .box1 {
        width:50%;
        float: left;
    }
    #conf-box .buttons .box2 {
        width:50%;
        float: right;
    }
    #conf-box .buttons .button {
        display: inline-block;
        width: 80%;
    }
}