@charset "utf-8";

form#mail_form {
    background-color: #ebfadc;
    border-radius: 10px;
    padding: 40px 15px;
}
form#mail_form dl {
    width: 100%;
    margin: 0 auto;
}
form#mail_form dl dt {
    font-size: 16px;
    line-height: 100%;
    font-weight: bold;
    text-align: left;
    color: #222;
    padding: 25px 0 15px;
}
form#mail_form dl dt:first-of-type {
    padding: 0 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 {
    border-bottom: solid 1px #64b414;
    padding: 0 0 25px 0;
}

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: 13px;
    color: #ff4444;
}

/*必須エラーメッセージ*/
div.error {
    font-size: 13px;
    line-height: 150%;
    color: #F00;
}

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;
    background: #fff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom: 10px;
    accent-color: #fe93a2;
}
form#mail_form ul li input[type="radio"]:checked,
form#mail_form ul li input[type="checkbox"]:checked {
    /* accent-color: #4caf50;  */
}
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: 40px;
}
.contactAgree p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 10px;
}
.contactAgree a {
    color: #fa8796;
    border-bottom: solid 1px #fa8796;
    padding: 02px;
    transition: all 0.2s ease;
}
.contactAgree a:hover {
    color: #f67b8a;
    border-bottom: solid 1px #f67b8a;
}
.form_agree {
    margin-bottom: 25px;
    accent-color: #fe93a2;
}
/* 確認画面へボタン */
p#form_submit {
    width: 100%;
    margin: 0 auto;
}

p#form_submit input[type="button"] {
    font-size: 15px;
    line-height: 100%;
	width: 150px;
	height: 40px;
    border: 0;
    border-radius: 20px;
    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: #fa8796;
}
/* ここは同意ボタン押したときの色 */

p#form_submit input[type="button"].is-active:hover {
    cursor: pointer;
    background-color: #f67b8a;
}


/* ######## 768px以上 ######## */
@media screen and (min-width: 768px) {
form#mail_form {
    padding: 50px;
}
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;
}
p#form_submit input[type="button"] {
    font-size: 16px;
    width: 160px;
    height: 50px;
    border-radius: 25px;
}
form#mail_form dl dt .form_sml {
    font-size: 14px;
}
}

/* 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 {
}
table.formTable {
	width: 100%;
	margin: 15px auto 25px;
	border-collapse: collapse;
}
table.formTable tr {
    border-top: solid 1px #64b414;
}
table.formTable tr:last-of-type {
    border-bottom: solid 1px #64b414;
} 
table.formTable th, table.formTable td {
	display: block;
}
table.formTable th {
    font-size: 16px;
    line-height: 100%;
    font-weight: bold;
    text-align: left;
    color: #64b414;
    padding: 15px 0 10px;
}
table.formTable td {
    font-size: 17px;
    padding: 0 0 15px;
}
form input[type="submit"], form input[type="button"] {
	font-size: 15px;
	height: 40px;
	display: inline-block;
	border: 0;
	border-radius: 40px;
	cursor: pointer;
    transition: all 0.2s ease;
}
form input[type="submit"] {
    width: 120px;
    color: #fff;
	background: #fa8796;
}
form input[type="button"] {
    width: 120px;
	color: #222;
	background: #ddd;
}
table.formTable a {
	color: #222;  
}
p.error_messe{
	margin: 5px 0;
	color: #F00;
}

.submit_flex {
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media screen and (min-width: 768px) {
.form_check {
    padding: 50px;
}
table.formTable {
	margin: 15px auto 40px;
}

table.formTable th, table.formTable td {
    font-size: 16px;
}
form input[type="submit"] {
	width: 200px;
	height: 50px;
}
form input[type="reset"], form input[type="button"] {
	width: 150px;
	height: 50px;
}
}
@media screen and (min-width: 1000px) {
.form_check {
    padding: 60px;
}
form input[type="submit"]:hover {
	background: #f67b8a;
}
form input[type="button"]:hover {
    background: #e6e6e6;
}
}


/* 送信完了thanks.html */
.thanks_box {
    background-color: #ebfadc;
    border-radius: 10px;
    padding: 15px;
}
@media screen and (min-width: 768px) {
.thanks_box {
    padding: 20px;
}
}
@media screen and (min-width: 1000px) {
.thanks_box {
    padding: 25px;
}
}
/* トップページに戻るボタン */
a.pg_back {
    width: 100%;
    max-width: 280px;
    height: 50px;
    color: #fff;
    background-color: #fa8796;
    border-radius: 25px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}
a.pg_back:after {
    font-family: "FontAwesome";
    content: "\f138";
    margin-top: 2px;
    margin-left: 7px;
    transition: all 0.2s ease;
}
@media screen and (min-width: 768px){
a.pg_back {
    width: 350px;
}
}
@media screen and (min-width: 1000px){
a.pg_back:hover {
    background-color: #f67b8a;
}
a.pg_back:hover:after {
    transform: translateX(5px);
}
}
