@charset "utf-8";
/* CSS Document */

/*==============================*/
/* お問い合わせ */
/*==============================*/
.red{ color: red;}

.form_wrap{
	margin: 88px auto 72px auto;
	max-width: 880px;
	width: 100%;
}
@media (max-width: 600px) {
	.form_wrap{
		padding: 0 24px;
		margin: 40px auto 56px auto;
	}
}

/*-- default
------------------------- */
table{
    width: 100%;
    margin-bottom: 0px;
    box-sizing: border-box;
}
table, td, th {
    border: none;
    border-collapse: collapse;
	font-size: 0.95em;
}
td, th{ padding: 0px; }
th { background: none; }


/*-- 上書き設定
------------------------- */
.form table tr:nth-child(odd){
	background-color: #fffbf0;
	background-image: url("https://www.transparenttextures.com/patterns/debut-light.png");
}

.form table th{ width: 30%; }
.form table td{ width: 65%; }
.form table th, .form table td{ padding: 15px 10px 12px 10px; }

div.form h3{
	font-size: 25px;
	font-weight: 500;
	letter-spacing: -0.04em;
}

span.red{ color: #FF3B3B; }

div.red_txt ul{
	padding: 20px;
	margin-bottom: 30px;
	border: 1px solid #f9b1cc;
	background: #fdf6f9;
}

/*-- ボタン
------------------------- */
.btn_box{
	display: flex; display: -webkit-flex; /* Safari */
	justify-content: center; -webkit-justify-content: center; /* Safari */
	align-items: center; -webkit-align-items: center; /* Safari */
}
.btn_box p:not(:last-child){ margin-right: 20px;}

section.form .btn_box p.contact_btn input[type="submit"],
section.form .btn_box p.contact_btn a{
	display: block;
	padding: 9px 0 11px 0;
	background: #1E68B2;
	color:#fff;
	width: 180px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
}

section.form .btn_box p.buck_btn a,
section.form .btn_box p.buck_btn input[type="submit"]{
	display: block;
	padding: 9px 0 11px 0;
	color:#fff;
	width: 160px;
	text-align: center;
	background: #949494; 
	border-radius: 5px;
}
@media (max-width: 600px) {
	.btn_box{
		justify-content: space-between; -webkit-justify-content: space-between; /* Safari */
	}
	.btn_box p:not(:last-child){ margin-right: 0px;}
	.btn_box > *{ width: calc(50% - 4px);}
	section.form .btn_box p.contact_btn input[type="submit"],
	section.form .btn_box p.contact_btn a{ width: 100%;}

	section.form .btn_box p.buck_btn a,
	section.form .btn_box p.buck_btn input[type="submit"]{ width: 100%;}
}

/*==============================*/
/* フォーム設定 */
/*==============================*/
@media (min-width: 600px) {
    .form input[type="text"],
    .form input[type="email"],
    .form input[type="tel"],
    .form input[type="radio"],
    .form select,
    .form textarea{
        height: 40px;
        padding: 0 5px;
        border-radius: 3px;
        border: 1px solid #ccc;
        color: #444;
        position: relative;
        top: -1px;
    }
	.form input[type="text"]{min-width: 30%;}
    .form input[name="item_mail_1"],
	.form input[name="item_mail_2"],
	.form input[name="item_subject"]{min-width: 60%;}
    .form textarea{min-width: 80%;}
	
    .form textarea,.form input[type="radio"]{ height: auto; }
    .form select{ padding-right: 30px; }
    .form input[type="radio"]{ margin-right: 5px; position: relative; top: 2px;}
}
@media (max-width: 600px) {
    .form input[type="text"],
    .form input[type="email"],
    .form input[type="tel"],
    .form input[type="radio"],
    .form select,
    .form textarea{
        width: 100%;
        height: 40px;
        padding: 0 5px;
        margin-bottom: 10px;
        border-radius: 3px;
        border: 1px solid #ccc;
        color: #444;
        position: relative;
        top: 0px;
    }
    .form textarea{ height: auto; }
    .form input[type="radio"]{ width: auto; height: auto; position: relative; top: 2px; }
    .form select{ padding-right: 30px; }
    .form input[type="radio"]{ margin-right: 5px; }
}

