@charset "utf-8";
/* CSS Document */
input {
    -webkit-appearance: textfield;
    background-color: white;
    -webkit-rtl-ordering: logical;
    cursor: text;
    padding: 5px !important;
    border-width: 2px;
    border-style: inset;
    border-color: initial;
    border-image: initial;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;
}
input:not([type]), input[type="email" i], input[type="number" i], input[type="password" i], input[type="tel" i], input[type="url" i], input[type="text" i] {
    padding: 5px 5px;
	max-width: 100%;
}
input[type="email"] {
    width: 100%;
}
section.container{width: 1000px;}
.contact tr{
	    background-color: #F1F0EB;
	border: none;
}
.content-format table{
	margin-bottom: 0;
	border: none;
}
.contact tr:nth-child(even){
	background: #fff;
}
.contact td {
	
    padding: 15px 20px;
    border: none;
    font-size: 1.125em;
}
.contact th{
    width: 35%;
    padding: 1.125em;
    border: none;
    vertical-align: top;
	background: inherit;
}

.contact table th, .contact table td {
    font-size: 18px;
    padding: 20px;
	font-weight: normal!important;
}
.contact .content .contact table th {
    width: 30%;
}
.contact .content .contact table td {
    width: 70%;
    padding-right: 40px;
}


.contact .content .contact table th span {
    display: inline-block;
    font-size: 12px;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    padding: 1px 5px;
    margin-right: 10px;
}
.contact table th .required{
	background: #F32808;
	font-size: 12px;
    color: #fff;
    text-align: center;
	padding:  0 2px;
	margin-right: 10px;
}
.contact table th .non_required {
    background: #000000;
	font-size: 12px;
    color: #fff;
    text-align: center;
	padding: 0 2px;
	margin-right: 10px;
}
.mwform-checkbox-field label, .mwform-radio-field label{
	align-content: 2px 8px 2px 5px;
	border-radius: 4px;
	border: solid 1px #BBBBBB;
}
.mwform-checkbox-field input, .mwform-radio-field input{
	border-radius: 10px;
}

 .radio {
        display: none; /* まず、＜input＞タグの表示を消します*/
    }
    label {
        position: relative;/* ＜label＞を位置の指標になる指示を書きます*/
        display: inline-block;
        padding: 3px 3px 3px 25px;
        cursor: pointer;
    }
    .radio+span::before,/* ＜span＞タグの疑似要素を作ります*/
    span::after {
        position: absolute;
        content: '';
        top: 50%;
        border-radius: 100%;
        -webkit-transition: all .2s;
        transition: all .2s;
		background: #fff;
    }
    .radio+span::before {
        left: 5px;
        width: 14px;
        height: 14px;
        margin-top: -8px;
        background: #f3f3f3;/* ラジオボタンの元の色の指定*/
        border: 1px solid #ccc;
    }
    .radio+span:hover::before {
        background: #fff;/* ラジオボタンのマウスオーバーしたときの色の指定*/
    }
    .radio+span::after {
        opacity: 0;
        left: 8px;
        width: 8px;
        height: 8px;
        margin-top: -5px;
        background: #666;/* ラジオボタンのチェックした時の色の指定*/
        -webkit-transform: scale(2);
        transform: scale(2);
    }

    .radio:checked + span::before {/* ラジオボタンがチェックされたときの隣接しているタグへの指示を書きます*/
        background:#EED1D7; 
        border: 1px solid #3498db;/* ラジオボタンのチェックした時の枠の線の指定*/
    }
   .radio:checked + span::before + .mwform-radio-field label {
    background-color: #F5D3DA;
}
    .radio:checked + span::after {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
.contact .link input{
    display: block;
	width: 300px;
	height: 60px;
    max-width: 400px;
    margin: 0 auto;
    background-color: #F66280;
    border-radius: 4px;
    padding: 12px;
    color: #fff;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
	border: none;
	font-size: 18px;
	
}
.contact .submit_btn{text-align: center;}
.contact button,.contact input[type="button"],.contact input[type="reset"],.contact input[type="submit"] {
    background-color: #294566;
    border-width: 1px;
    border-color: #294566;
    border-style: solid;
    width: 400px;
    height: 60px;
    color: #FFFFFF;
    font-size: 18px;
	text-align: center;
	margin: 40px auto 100px auto;
	text-align: center;
}
.contact input[type="submit"] {
	cursor: pointer;
}

/*フォーム以外の設定*/
.contact p {font-size:18px; line-height: 2.0;}
.contact p span{font-size:14px; line-height: 2.0;}
.contact .col-md-6{
	width: 1000px;
	margin: 0 auto;
	 flex: none;
    max-width: 100%;
	;
}
.contact h2.page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 56px;
}
.g-recaptcha{
	background-color: #F1F0EB;
	margin: 0 0 40px;
	padding: 15px 0 15px
}

@media screen and (max-width:768px) {
	.row{
		margin-right: 0;
    margin-left: 0;}
	.col-md-6{
	padding-right: 0;
    padding-left: 0;
	}
	.contact table th, .contact table td{
		display: block;
		width: auto;
		padding: 10px;
	}
	.contact.contact .tel{
		font-size: 25px;
	}
	.contact.contact .tel img{
		width: 26px;
		height: 17px;
	}
input:not([type]), input[type="email" i], input[type="number" i], input[type="password" i], input[type="tel" i], input[type="url" i], input[type="text" i] {
    padding: 5px 5px;
    max-width: auto;
	    width: 280px;
}
section.contact_form table input[type="text"], section.contact_form table input[type="tel"], section.contact_form table input[type="email"] {
    max-width: auto;
		width: 100%;

}
	textarea{max-width: 300px;max-width: auto;
		width: 100%;}
section.container{width: 100%;}
section.contact_form table th, section.contact_form table td
	{width: 340px;
    max-width: 360px;}
	
.contact button, .contact input[type="button"], .contact input[type="reset"], .contact input[type="submit"] {
    width: 260px;
	max-width: 300px;                 
    height: 60px;
    color: #FFFFFF;
    font-size: 18px;
    text-align: center;
    margin: 20px auto 100px auto;
    text-align: center;
}
section.contact_form table th {
    display: block;
    width: 100%;
    padding-bottom: 0;
}
	.contact .content section.contact_form table td{
display: block;
    width: 100%;
    padding: 10px 20px 20px;}
}

/* CF7 確認画面 */
.contact .js-cf7-confirm {
	display: none;
}
.contact .js-cf7-confirm-value {
	white-space: pre-wrap;
	word-break: break-all;
}
.contact .cf7-email-error {
	color: #F32808;
	font-size: 14px;
	display: block;
	margin-top: 8px;
}
.contact input[type="button"]:disabled {
	background-color: #ccc;
	border-color: #ccc;
	cursor: not-allowed;
}
.contact .js-cf7-confirm .submit_btn {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.contact .js-cf7-confirm input[type="button"],
.contact .js-cf7-confirm input[type="submit"] {
	width: 280px;
	margin: 20px 0 80px;
}
.wpcf7 form.sent .js-cf7-input,
.wpcf7 form.sent .js-cf7-confirm,
.wpcf7 form.sent .contact .page-title {
	display: none !important;
}
.wpcf7 form.sent .wpcf7-response-output {
	margin: 40px auto 100px;
	padding: 24px 20px;
	border: none;
	background: #F1F0EB;
	color: #333;
	font-size: 18px;
	line-height: 2;
	text-align: center;
}

@media screen and (max-width:768px) {
	.contact .js-cf7-confirm input[type="button"],
	.contact .js-cf7-confirm input[type="submit"] {
		width: 260px;
		max-width: 300px;
		margin: 10px auto 40px;
	}
}
