@charset "UTF-8";

/* mailform
   ----------------------------------------------------------------- */
div#mfp_hidden {
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 0px;
	margin: 0px;
}
   table.inquiry {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: #808080;
    margin: auto;
}
table.inquiry th:last-of-type {
    padding-top: 23px;
    vertical-align: top;
    color: #231815;
    width: 250px;
    padding-right: 50px;
    text-align: right;
}
table.inquiry tr {
	border-bottom: 1px solid #e2e1e0;
}
table.inquiry th {
    width: 260px;
    padding-right: 40px;
    font-weight: normal;
    font-size: 15px;
    text-align: right;
    font-weight: bold;
}
table.inquiry th, table.inquiry td {
	padding: 1rem 0 1rem 2rem;
}
table.inquiry th span.required {
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: 1rem;
    background-color: #076baf;
	color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 20px;
    vertical-align: top;
    border-radius: 10px;
}
table.inquiry td {
    text-align: left;
}
span.required {
    position: absolute;
}
table.inquiry td input[type="text"], table.inquiry td input[type="name"], table.inquiry td input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    font-size: 16px;
    color: #231815;
    background-color: #e2e1e0;
}
table.inquiry td textarea {
    box-sizing: border-box;
    width: 100% !important;
    height: 200px !important;
    padding: 5px;
    font-size: 16px;
    color: #231815;
    background-color: #e2e1e0;
}
textarea {
    overflow: auto;
}
.mfp_buttons {
    display: flex !important;
    justify-content: center;
    flex-flow: row-reverse;
}
button {
    background: #076baf;
    color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
    border: none;
	border-radius: 30px;
	letter-spacing: 3px;
	padding: 16px 28px;
	margin: 20px auto;
    width: 100%;
	max-width: 300px;
	min-width: 220px;
	display: inline-block;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

@media (max-width:750px) {
    .contact__item {
        width: 100%;
    }
    table.inquiry th:last-of-type {
        padding: 0;
        width: auto;
        text-align: left;
    }
    table.inquiry tbody {
        display: block;
    }
    table.inquiry tr {
        display: block;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    table.inquiry th {
        display: block;
    }
    table.inquiry td {
        font-size: 14px;
        display: block;
        padding: 1rem 0 0.5rem;
    }
}

/* 確認画面
   ----------------------------------------------------------------- */
div#mfp_overlay {
    display: contents;
    border: 1px solid #231815;
    background-color: #fff;
    z-index: 2;
    width: 50% !important;
    height: 300px;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    padding: 2rem;
    text-align: center;
}
table#mfp_confirm_table {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: left;
}
h4 {
    font-weight: bold;
    line-height: 2rem;
}
th#th_mfp_element_0 {
    width: 300px;
}
.mfp_buttons {
    margin-top: 1rem;
}
button::after {
    position: relative;
    content: "\f054";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    top: 0;
    right: auto;
    left: 5rem;
    bottom: 0;
}

@media (max-width:750px) {
    div#mfp_overlay {
        width: 80% !important;
        height: auto;
        padding: 1rem;
    }
    tr {
        display: block;
        line-height: 2rem;
    }
    th, td {
        display: block;
    }
    th {
        width: 100%;
    }
    table.inquiry th span.required {
        margin-top: 0.25rem;
    }
    .mfp_buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    button {
        margin: 0;
    }
}