@charset "UTF-8";
/*
CSS Document
Version: 1.3
Last Update: 2022-06-20
Author: nagaoka design office
*/

/* ==================

    メールフォーム

================== */
/* General Style */
#Inquiries {
    padding: 30px 0 0;
    width: 100%;
    margin: 0 auto;
    /* background-color: #fff7e8; */
}
/* Phone Button */
.telme-box {
    margin: 0 auto;
    width: 100%;
}
a.phone-button {
    display: block;
    width: 100%;
    padding: 0.75em 0;
    text-align: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    border-radius: 6px;
    background-color: #007e69;
}
.telme-box p {
    text-align: center;
}
p.error_messe {
	margin: 5px 0;
	color: red;
}
/* 自動生成 */
#wrapper.formwindow {
	min-height: 100vh;
}
section.formcontent {
	display: block;
	width: 90%;
	max-width: 900px;
	margin: 50px auto;
	text-align: center;
	padding: 24px;
	border-radius: 6px;
	background-color: whitesmoke;
}
/* Form */
#formWrap {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    color: #333;
    line-height: 1.25em;
    font-size: 16px;
}
#formWrap > h3 {
    margin: 0 auto 1em;
    text-align: center;
}
#formWrap > p {
    text-align: center;
}
#formWrap .notice {
    padding: 0.5em 1em;
    font-size: 14px;
    color: #555;
    line-height: 1.4em;
	text-align: justify;
}
table.formTable {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
}
table.formTable td, table.formTable th {
    border: 1px solid #ccc;
    padding: 12px;
}
table.formTable th {
    width: 30%;
    font-weight: 300;
    background: #222;
    color: #fff;
    text-align: center;
    border-right: 5px solid #909090;
}
table.formTable td {
    text-align: left;
}
table.formTable th.require {
    border-right: 5px solid #ff9090;
}
input[type="radio"], input[type="checkbox"] {
    color: #222;
    background-color: #eee;
    margin: 4px 2px 4px 0px;
    border: 1px solid #999;
}
input[type="radio"][disabled], input[type="checkbox"][disabled] {
    opacity: .5;
    cursor: not-allowed; /* 禁止カーソル */
}
input[type="radio"][disabled] + label, input[type="checkbox"][disabled] + label {
    opacity: .5;
    cursor: not-allowed; /* 禁止カーソル */
}
select {
    margin: 6px;
    padding: 6px;
    background-color: #eee;
    border: 1px solid #999;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    margin: 6px;
    padding: 2px 4px;
    background: #ddd;
    border: 1px solid #ccc;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    background: #ffc;
}
textarea {
    width: 90%;
    height: 6em;
}
input[type="email"] {
    width: 25em;
}
input[name="郵便番号"] {
    width: 8em;
    display: inline-block;
}
input[type="button"] {
    -webkit-appearance: none;
    position: relative;
    display: block;
    top: 0px;
    margin: 10px auto;
    color: #fff;
    font-weight: 700;
    line-height: 1em;
    background: #999;
    padding: 10px 2em;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, .2);
}
input[type="button"]:hover {
    background: #888;
    cursor: pointer;
}
input[type="button"]:active {
    top: 2px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2);
}
.form-submit {
    width: auto;
    text-align: center;
	margin: 20px auto;
}
.form-submit input[type="submit"] {
    -webkit-appearance: none;
    position: relative;
    display: block;
    top: 0px;
    margin: 10px auto;
    color: #fff;
    font-weight: 700;
    line-height: 1em;
    background: #393;
    padding: 10px 2em;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, .2);
}
.form-submit input[type="submit"]:hover {
    background: #4a4;
    cursor: pointer;
}
.form-submit input[type="submit"]:active {
    top: 2px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2);
}

/* for Small-Tablet and SmartPhone */
@media screen and (max-width: 768px) {
	section.formcontent {
		padding: 12px 0;
	}
    #formWrap {
        width: 90%;
        margin: 0 auto;
    }
    table.formTable th, table.formTable td {
        width: auto;
        display: block;
    }
    table.formTable th {
        border-bottom: 0;
        border-right: 1px solid #ccc;
        border-top: 5px solid #909090;
    }
    table.formTable th.require {
        border-right: 1px solid #ccc;
        border-top: 5px solid #ff9090;
    }
    input[type="text"], input[type="email"], input[type="tel"], textarea {
        margin: 2px 2%;
        width: 96%;
        padding: 4px;
        font-size: 16px;
        display: block;
    }
    input[type="submit"], input[type="reset"], input[type="button"] {
        display: block;
        width: 100%;
        height: 40px;
    }
}