/* CONTACT */
.formBox{
}

.contactTable {
    margin: 10% 0;
    padding: 5% 7%;
    background: #fafafa;
    border: 1px solid #dadada;
}

.contactTable p{
    margin-bottom: 0;
}

.contactTable,
.contactTable tbody,
.contactTable thead,
.contactTable tr,
.contactTable th,
.contactTable td {
    display: block;
    width: 100%;
    text-align: left;
}

.contactTable tbody {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.contactTable tr {
    padding: 15px 0;
}

.contactTable tr.flex {
    width: 48%;
}

.contactTable tr.mobile {
    width: 55%;
}

.contactTable tr.zip {
    width: 30%;
}

.contactTable tr.zip td {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}

.contactTable th,
.contactTable td {
    margin-bottom: 10px;
    font-weight: normal;
}

.contactTable th {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
}

.contactTable th.label::after {
    content: "";
    display: inline-block;
    padding: 0.3rem 1rem;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    margin-left: 10px;
}

.contactTable th.optional::after {
    content: "任 意";
    background: #000;
}

.contactTable th.must::after {
    content: "必 須";
    background: red;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    border: 1px solid #dadada;
    box-shadow: inset 0 0 3px #fafafa;
    border-radius: 5px;
    background: #fff;
    outline-color: #dadada;
    outline-width: 1px;
    padding: 0.7rem 0.5rem;
    font-size: 14px;
}

select {
    padding: 0.7rem 0.5rem;
    font-size: 14px;
    outline-color: #dadada;
    outline-width: 1px;
    background: #fff;
    border: 1px solid #dadada;
    box-shadow: inset 0 0 3px #fafafa;
    border-radius: 5px;
}

textarea {
    padding: 0.7rem 0.5rem;
    font-size: 14px;
    width: 100%;
    outline-color: #dadada;
    outline-width: 1px;
    background: #fff;
    border: 1px solid #dadada;
    box-shadow: inset 0 0 3px #fafafa;
    border-radius: 5px;
}

#result{
    text-align: center;
    font-size: 20px;
}

.errMsg {
    white-space: nowrap;
    color: red;
    font-size: 12px;
    grid-row: bold;
    padding: 0;
}

button{
    font-weight: 500;
	font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 820px) {}

@media screen and (max-width: 640px) {
    .contactTable tbody {
        display: block;
    }

    .contactTable tr.flex {
        width: 100%;
    }

    .contactTable tr.mobile {
        width: 100%;
    }
}