/* CSS Document */

#attention .read {}

#contents .accordion>li {
    border: solid 1px #4694D1;
    border-radius: 0;
    padding: 10px;
}

#contents .accordion_h span {
    text-align: center;
    color: #4694D1;
}

#contents .accordion_content p {
    font-size: 1.4rem;
}

#contents .accordion_content em,
#contents .accordion_content em a {
    color: #b02b5a !important;
}

#contents .accordion_content h4 {
    margin: 1em 0 0 0;
    font-size: 1.4rem;
    color: #b02b5a;
}

#contents .accordion_content .btns {
    margin-bottom: 20px;
}

#contents a.tel {
    color: #b02b5a;
}

/* input */
input[type="text"],
textarea,
select {
    box-sizing: border-box;
    background: #fff;
    border: solid 1px #4694D1;
    border-radius: 2px;
    padding: 10px;
    font-size: 1.8rem;
    width: 100%;
}

input[type="text"].m,
textarea.m,
select.m {
    width: 50%;
}

input[type="text"].s,
.date select {
    width: 120px;
}

select {
    background: #fff url("../image/icon_select1.png") no-repeat right center/30px auto;
    padding-right: 40px;
}

select::-ms-expand {
    display: none;
}

textarea {
    height: 220px;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

label {
    cursor: pointer;
    font-size: 1.3rem;
}

input[type="radio"]+label::before {
    box-sizing: border-box;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../image/radio1.png") no-repeat center center/24px;
    margin-right: 8px;
    margin-top: -4px;
    vertical-align: middle;
    content: '';
}

input[type="radio"]:checked+label::before {
    background: url("../image/radio1_on.png") no-repeat center center/24px;
}

input[type="checkbox"]+label::before {
    box-sizing: border-box;
    display: inline-block;
    width: 22px;
    height: 22px;
    border: solid 1px #a1a1a1;
    background: #fff;
    margin-right: 8px;
    margin-top: -4px;
    vertical-align: middle;
    content: '';
}

input[type="checkbox"]:checked+label::before {
    background: #fff url("../image/radio_on.png") no-repeat center center/18px;
}

input[type="checkbox"].reservation,
input[type="checkbox"].underage {
    display: inline;
    visibility: hidden;
    position: absolute;
}

input[type="checkbox"].reservation~label::before,
input[type="checkbox"].underage~label::before {
    box-sizing: border-box;
    display: inline-block;
    width: 22px;
    height: 22px;
    border: solid 1px #a1a1a1;
    background: #fff;
    margin-right: 8px;
    margin-top: -4px;
    vertical-align: middle;
    content: '';
}

input[type="checkbox"].reservation:checked~label::before,
input[type="checkbox"].underage:checked~label::before {
    background: #fff url("../image/radio_on.png") no-repeat center center/18px;
}

input[type="submit"],
input[type="button"],
a.btn_top {
    box-sizing: border-box;
    display: inline-block;
    width: 385px;
    max-width: 100%;
    background: #4694D1 url("../image/icon_submit.png") no-repeat right center/36px auto;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-family: "Noto Sans SC", serif !important;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

input[type="submit"]:hover,
input[type="button"]:hover,
a.btn_top:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

input[type="button"].btn_back,
input[type="submit"].btn_back {
    margin-top: 20px;
    background: #fff url("../image/icon_button.png") no-repeat right center/36px auto;
    border: solid 1px #4694D1;
    color: #4694D1;
}

#contents .underage_box {
    border: solid 1px #4694D1;
    padding: 10px;
}

#contents .underage_box h3 {
    box-sizing: border-box;
    display: table;
    width: 100%;
    position: relative;
    padding: 10px 30px 10px 10px;
    font-size: 1.8rem;
    transition: opacity 0.15s ease-out;
    text-align: center;
}

#contents .underage_box h3 span {
    text-align: center;
    color: #4694D1;
}

#contents .underage_box>.inner>p:nth-of-type(1) {
    margin-top: 20px;
    padding-top: 20px;
    border-top: solid 1px #4694D1;
}

#contents .underage_box .checkbox {
    position: relative;
}


/**
 * #form
 */
#contents #form {
    margin-top: 40px;
}

#form .step {
    border-top: solid 1px #ddd;
    padding-top: 40px;
    margin: 0 -5px 40px -5px;
}

#form.confirm .step,
#form.compelte .step {
    border-top: none;
    padding-top: 0;
}

#form .step li {
    box-sizing: border-box;
    float: left;
    width: 33.33%;
    padding: 5px;
}

#form .step li span {
    box-sizing: border-box;
    display: block;
    position: relative;
    height: 50px;
    padding-top: 12px;
    background: #e7e6e3;
    text-align: center;
}

#form .step li.act span {
    background: #4694D1;
    color: #fff;
}

#form .step li span::before {
    box-sizing: border-box;
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: -10px;
    background: #fff;
    border: solid 25px rgba(0, 0, 0, 0);
    border-left: solid 25px #e7e6e3;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
    -webkit-transform-origin: right center;
    transform-origin: right center;
    content: '';
}

#form .step li.act span::before {
    border-left: solid 25px #4694D1;
}

#form .step li:last-child span::before {
    display: none;
}

#form h2.require::after {
    display: inline-block;
    padding: 4px 5px 3px 5px;
    margin-left: 12px;
    background: #b02b5a;
    line-height: 1;
    font-size: 1.4rem;
    font-family: "Noto Sans SC", serif !important;
    color: #fff;
    content: '必填';
}

#form p.error {
    margin-top: 0.2em;
    font-size: 2rem;
    color: #b02b5a;
}

#form form>div {
    margin: 40px 0;
}

#form .radio>span {
    vertical-align: top;
    display: inline-block;
    margin-left: 50px;
}

#form .radio>span:first-child {
    margin-left: 0;
}

#form .radio p {
    margin-left: 32px;
}

#form .note {
    font-size: 1.4rem;
}

#form .date,
#form .tell {
    display: table;
}

#form .noVali {
    display: initial;
}

#form .date h5,
#form .pref {
    display: table-cell;
}

#form .pref {
    padding-left: 8px;
}

#form .date .dateBox,
#form .tell .dateBox,
#form .pref .prefBox {
    display: table-cell;
    width: 120px;
    padding-left: 15px;
}

#form .time,
#form .time select {
    width: 172px;
}

#form .date .dateBox:first-child,
#form .tell .dateBox:first-child,
#form .pref .prefBox:first-child {
    padding-left: 0;
}

#form .tell .hyphen {
    display: table-cell;
    padding-left: 15px;
}

#form .date select {
    margin-left: 10px;
}

#form .date select:first-child {
    margin-left: 0;
}

#form .day .date {
    margin: 1em 0;
}

#form .day .date h5 {
    display: inline-block;
    font-size: 2rem;
}

#form .date.require::after {
    display: inline-block;
    padding: 4px 5px 3px 5px;
    margin-left: 12px;
    background: #b02b5a;
    line-height: 1;
    font-size: 1.4rem;
    font-family: "Noto Sans SC", serif !important;
    color: #fff;
    content: '必須';
}

#form .policy {
    background: #e7e6e3;
    padding: 30px;
}

#form .policy h2 a {
    padding-right: 25px;
    */ background: url("../image/icon_blank.png") no-repeat right center/17px auto;
}

#form .policy h2 {
    margin-bottom: 1em;
    text-align: center;
    font-size: 2rem;
    color: #4694D1;
}

#form .policy .checkbox {
    margin-top: 1em;
    text-align: center;
}

#form .submit {
    text-align: center;
}

#form .ssl {
    position: relative;
    padding: 15px 0 30px 90px;
    line-height: 1.8;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

#form .ssl img {
    position: absolute;
    top: 0;
    left: 0;
}

#form form.secom {
    position: relative;
    float: none;
    margin-left: 0;
    z-index: 100;
}

#form form.secom input {
    position: absolute;
    top: 0;
    left: 0;
}

/* .box */
#form .icon_box {
    position: relative;
    display: inline-block;
}

#form .radio {
    position: relative;
}

#form .box .arrow {
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -1.4em;
    left: 2px;
    border: solid 10px rgba(0, 0, 0, 0);
    border-bottom: solid 13px #e7e6e3;
}

@media only screen and (max-width: 767px) {
    #form .box .arrow {
        left: 2px !important;
    }
}

#form .box {
    position: relative;
    background: #e7e6e3;
    padding: 30px;
    margin-top: 1.5em;
}

#form .box h3 {
    margin-bottom: 1em;
    font-size: 2rem;
    color: #4694D1;
}

#form .box h4 {
    margin-bottom: 0.3em;
    font-size: 2rem;
}

#form .box li {
    box-sizing: border-box;
    float: left;
    width: 50%;
}

#form .box li:nth-child(odd) {
    padding-right: 13px;
}

#form .box li:nth-child(even) {
    padding-left: 13px;
}

#form .box li:nth-child(n + 3) {
    margin-top: 2em;
}

#form .box li .date select {
    width: 30.8%;
    margin-left: 2%;
}

#form .box li .date select:first-child {
    margin-left: 0;
}

#form .box li .btn_blank {
    width: 100%;
    padding: 11px 10px;
    font-size: 1.8rem;
}

#form .box li .note {
    margin-top: 0.5em;
}

#form .box li.lastTime {
    width: 100%;
}

#form .box li.lastTime .date select {
    width: 15%;
}

.confirm form>div {
    border-bottom: solid 1px #dcdcdc;
    padding-bottom: 0.5em;
    font-size: 2rem;
}

.confirm form>div.submit {
    border: none;
}

#contents .confirm h2.sec_h {
    margin-bottom: 0.5em;
}

#contents .complete {
    margin: 40px 0;
}

#contents .complete em a {
    color: #b02b5a !important;
}


/* .formError */
.formError {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: 0.2em !important;
    font-size: 2rem;
    color: #b02b5a;
}

.reservation+.formError,
.underage+.formError {
    position: absolute !important;
    top: 22px !important;
}

.underage+.formError {
    top: 30px !important;
}

@media only screen and (max-width: 767px) {
    .reservation+.formError {
        position: relative !important;
        top: 0 !important;
    }
}

.has-error {
    background: #ffe6e6;
}

.has-error input[type=text],
.has-error textarea {
    border-color: #d10000;
}

/* .invalid */

.invalid {
    background-color: #CCC !important;
}

.invalid {
    box-shadow: none !important;
    ;
    transform: initial !important;
    ;
}


@media only screen and (max-width: 767px) {
    #head {
        height: 48vw;
    }

    input[type="text"].m,
    textarea.m,
    select.m {
        width: 100%;
    }

    #form .date select {
        width: 31.3%;
        margin-left: 2%;
    }

    #form .date h5+select {
        margin-left: 0;
    }

    input[type="text"].s {
        width: 30%;
    }

    #contents #form {
        margin-top: 40px;
    }

    #form .step {
        margin: 0 -2px 40px -2px;
    }

    #form .step li {
        padding: 2px;
    }

    #form .radio>span {
        display: block;
        margin: 0;
    }

    #form .day .date h5 {
        display: block;
        margin-bottom: 0.5em;
    }

    #form .policy {
        padding: 20px;
    }

    #form .policy .checkbox {
        text-align: left;
    }

    #form .ssl {
        padding: 0 0 0 90px;
    }

    #form .box {
        padding: 20px;
    }

    #form .box li {
        float: none;
        width: 100%;
    }

    #form .box li:nth-child(odd) {
        padding-right: 0;
    }

    #form .box li:nth-child(even) {
        padding-left: 0;
    }

    #form .box li+li,
    #form .box li:nth-child(n + 3) {
        margin-top: 1em;
    }

    #form .box li.lastTime .date select {
        width: 33%;
        margin-top: 2%;
    }

    #form .box li.lastTime .date select:nth-child(1),
    #form .box li.lastTime .date select:nth-child(2) {
        width: 26%;
        margin-top: 0;
    }

    #form .box li.lastTime .date select:nth-child(2) {
        margin-right: 40%;
    }

    #form .box li.lastTime .date select:nth-child(3) {
        margin-left: 0;
    }
}

@media only screen and (min-width: 768px) {
    #contents a.tel {
        pointer-events: none;
    }
}

@media only screen and (max-width: 414px) {
    #form .date select {
        width: 30.3%;
    }

    input[type="text"].s {
        width: 30.5%;
    }
}

@media only screen and (max-width: 374px) {
    #form .date select {
        width: 30%;
    }

    input[type="text"].s {
        width: 30%;
    }
}

@media only screen and (max-width: 767px) {

    #form .date,
    #form .tell,
    #form .pref {
        width: 100%;
    }

    #form .date h5,
    #form .pref {
        display: block;
        padding-left: 0;
    }

    #form .date .dateBox,
    #form .pref .prefBox {
        width: 30%;
        padding-left: 2%;
    }

    #form .pref .prefBox,
    #form .pref .time {
        display: inline-block;
        width: 40%;
        vertical-align: top;
    }

    #form .pref .time {
        width: 60%;
        margin-top: 0.5em;
        padding-left: 0;
    }

    #form .tell .dateBox {
        width: 30%;
        padding-left: 0;
    }

    #form .tell .hyphen {
        width: 5%;
        text-align: center;
        padding-left: 0;
    }

    #form .date .dateBox select,
    #form .tell .dateBox input,
    #form .pref .prefBox select {
        width: 100%;
    }

    #form .date.lasttime .dateBox {
        width: 25%;
    }

    #contents .underage_box label {
        font-size: 1.6rem;
    }
}


table tr select,
table tr input {
    display: inline-block;
    width: 76px !important;
}

table tr th {
    position: relative;
}

table tr th .hissu {
    position: absolute;
    display: block;
    width: 52px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    font-size: 1.4rem;
    background: #b02b5a;
    color: #fff;
    right: 12%;
    top: 0;
}

.formError {
    color: #b02b5a;
    display: none;
}