@charset "utf-8";

form#mail_form {
    background-color: #ffffdc;
    padding: 40px 15px;
}

form#mail_form dl {
    width: 100%;
    margin: 0 auto;
    /* overflow: visible; */
}

form#mail_form dl dt {
    font-size: 16px;
    line-height: 100%;
    font-weight: bold;
    text-align: left;
    color: #4b4b4b;
    /* width: auto; */
    /* clear: both;
    float: none; */
    border-top: solid 1px #ccc;
    padding: 20px 0 15px;
}

form#mail_form dl dt p {
    font-size: 12px;
    line-height: 100%;
    color: #fff;
    padding: 7px;
    margin-right: 10px;
    display: inline-block;
    border-radius: 5px;
    box-sizing: border-box;
}

form#mail_form dl p.form_must {
    background-color: #ff4444;
}

form#mail_form dl p.form_optional {
    background-color: #6a6a6a;
}

form#mail_form dl dd {
    /* width: auto;
float: none;
border-top: none; */
    padding: 0 0 20px 0;
}

form#mail_form dl dd:last-child {
    /* border-bottom: solid 1px #ccc;
    margin-bottom: 20px; */
}

form#mail_form dl dd li {
    font-size: 16px;
}

form#mail_form dl dd ul.tour li {
/*     margin-bottom: 10px; */
}

form#mail_form dl dd ul.tour li input {
/*     margin-left: 10px; */
}
form#mail_form dl dd ul.tour li:last-child {
    margin-bottom: 0;
}

form#mail_form dl dt .form_sml {
    font-size: 14px;
    color: #ff4444;
}

/* form#mail_form dl dd p.error_mes {
    font-size: 14px;
    line-height: 100%;
    color: #ff0000;
    margin-top: 10px;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
} */

form#mail_form dl dd .two_box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
form#mail_form dl dd .two_box input:first-child {
    margin-right: 10px;
}

.date_time_preferred {
    margin-top: 15px;
    margin-bottom: 5px;
}
.tour .date_time_preferred:first-child {
    margin-top: 0px;
}

form#mail_form input[type="name"] {
    font-size: 16px;
    width: 100%;
    max-width: 295px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
}

form#mail_form input[type="text"] {
    font-size: 16px;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
}

form#mail_form input[type="tel"] {
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    height: 40px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
}
form#mail_form input[type="date"], 
form#mail_form #timelist, 
form#mail_form input[type="time"], 
form#mail_form input[type="datetime-local"] {
    font-size: 16px;
    width: 100%;
    max-width: 295px;
    height: 40px;
    margin-right: 10px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
    appearance: none;
}
form#mail_form input[type="date"]::-webkit-date-and-time-value, 
form#mail_form #timelist::-webkit-date-and-time-value, 
form#mail_form input[type="time"]::-webkit-date-and-time-value, 
form#mail_form input[type="datetime-local"]::-webkit-date-and-time-value {
    text-align: left;
}
form#mail_form input[type="mail"],
form#mail_form input[type="address"] {
    font-size: 16px;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
}

form#mail_form input[type="post_code"] {
    font-size: 16px;
    width: 100%;
    max-width: 200px;
    padding: 10px;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
}

form#mail_form input[type="name"]:focus,
form#mail_form input[type="text"]:focus,
form#mail_form input[type="mail"]:focus,
form#mail_form input[type="address"]:focus,
form#mail_form input[type="post_code"]:focus,
form#mail_form textarea:focus {
    box-shadow: 0 0 5px #333;
    border: 1px solid #ff7d00;
    background: #fff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom: 10px;
}

form#mail_form ul li:last-child input[type="radio"],
form#mail_form ul li:last-child input[type="checkbox"] {
    margin-top: 0;
}

form#mail_form select {
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border-radius: 5px;
}

form#mail_form textarea {
    font-size: 16px;
    line-height: 140%;
    background: #fff;
    width: 100%;
    height: 150px;
    padding: 10px;
    display: block;
    border: solid 1px #ccc;
    box-sizing: border-box;
    border-radius: 5px;
    resize: vertical;
}

/* 同意するボタン */
.contactAgree {
    text-align: center;
    padding-top: 50px;
    border-top: solid 1px #ccc;
}

.contactAgree p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
}

.contactAgree a {
    text-decoration: underline;
    color: #ff7d00;
}

/* 確認画面へボタン */
p#form_submit {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 0;
}

p#form_submit input[type="button"] {
    font-size: 16px;
    line-height: 100%;
    width: 160px;
    height: 50px;
    border: 0;
    border-radius: 25px;
    transition: all 0.2s ease;
}

p#form_submit input[type="button"].is-inactive {
    color: #555;
    background: #ddd;
}

p#form_submit input[type="button"].is-active {
    color: #fff;
    background: #ff7d00;
}

p#form_submit input[type="button"]:hover {
    cursor: pointer;
    opacity: 0.9;
}


/* ######## 768px以上 ######## */
@media screen and (min-width: 768px) {
form#mail_form {
    padding: 50px;
    margin-top: 30px;
}

form#mail_form textarea {
    width: 90%;
}

.post_code_search p {
    font-size: 15px;
    padding: 8px 15px;
    margin-left: 20px;
}

form#mail_form input[type="post_code"] {
    max-width: 195px;
}
}

table.formTable td:last-child {
    border-bottom: solid 1px #ccc;
}
/* ######## 1000px以上 ######## */
@media screen and (min-width: 1000px) {
form#mail_form {
    padding: 60px;
}

form#mail_form dl {
    overflow: hidden;
}

/* form#mail_form dl dt {
    width: 32%;
    float: left;
    text-align: right;
    padding: 30px 0;
}
 */
/* 1列目の職種などが決まっているとき */
/* form#mail_form dl dt:nth-of-type(n+2) {
    display: flex;
    align-items: center;
    justify-content: space-between;
} */

/* 1列目が決まっていないとき */
/* form#mail_form dl dt {
    display: flex;
    align-items: center;
    justify-content: space-between;
} */

form#mail_form dl dt p {
    font-size: 13px;
    padding: 8px;
}

/* form#mail_form dl dd {
    width: 64%;
    float: right;
    border-top: 1px solid #ccc;
    padding: 30px 0 30px 4%;
} */

form#mail_form dl dd:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

form#mail_form dl dd p.choice_occupation {
    font-size: 17px;
    margin: 0px;
}

form#mail_form dl dd p.error_mes {
    font-size: 15px;
    margin-top: 15px;
}

form#mail_form select {
    font-size: 16px;
}

form#mail_form textarea {
    font-size: 16px;
}
}


/* 確認画面 */
.form_check {
    background-color: #ffffdc;
    padding: 40px 15px;
}
table.formTable {
	width: 100%;
	margin: 15px auto 25px;
	border-collapse: collapse;
}
table.formTable th, table.formTable td {
	font-size: 16px;
	text-align: left;
	border: solid 1px #ccc;
	width: auto;
	display: block;
}
table.formTable th {
	font-weight: bold;
	background: #ffebc8;
    padding: 7px 10px;
	border-bottom: 0;
}
table.formTable td {
	background: #fff;
    padding: 10px;
	border-bottom: 0;
}
table.formTable td:last-child {
    border-bottom: solid 1px #ccc;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	font-size:15px;
	width:150px;
	height:40px;
	color:#fff;
	background:#ff7d00;
	display:inline-block;
	border:0;
	border-radius:40px;
	cursor:pointer;
}
table.formTable a {
	color: #222;  
}
p.error_messe{
	margin:5px 0;
	color:red;
}
@media screen and (min-width: 768px) {
form#mail_form {
    padding: 50px;
    margin-top: 30px;
}
table.formTable {
	margin: 15px auto 40px;
}
table.formTable th, table.formTable td {
	display: table-cell;
	border: solid 1px #ccc;
	padding: 10px 15px;
}
table.formTable th {
	width:30%;
	text-align: right;
}
table.formTable th:last-child {
    border-bottom: solid 1px #ccc;
}
table.formTable td {
	width:70%;
}
table.formTable td:last-child {
    border-bottom: solid 1px #ccc;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	font-size:16px;
	width:200px;
	height:50px;
}
}
@media screen and (min-width: 1000px) {
form#mail_form {
    padding: 60px;
}
}