@charset "UTF-8";
/*
 * style.css
 *
 *  version --- 1.0
 *  updated --- 2017/11/30
 */

.wp-pagenavi a, .wp-pagenavi span{
	border: unset!important;
}

.top_wrap .categ_span + .categ_span{
	margin-left: 5px;
}

/*contact*/
#wpcf7cpcnf table{
    width: 100%;
		display: flex;
		flex-direction: column;
		gap: 2.2rem 0;
}
#wpcf7cpcnf table th,
#wpcf7cpcnf table td{
    font-size: 1.8rem;
    font-weight: 500;
    padding: 2.2rem 0;
}
#wpcf7cpcnf table th{
    vertical-align: middle;
    text-align: left;
    width: 18.8rem;
}
#wpcf7cpcnf table th.ver_top{
	vertical-align: top;
}
span.required{
    color: #FF0000;
}

#wpcf7cpcnf table td{
    height: 7.4rem;
    border-radius: 0;
    border: 0;
    padding: 0 3.2rem;
    font-size: 1.8rem;
    font-weight: 500;
    /*border: 1px solid #707070;*/
    background: #fff;
    color: #000;
}

#wpcf7cpcnf .wpcf7cp-btns{
	display: flex;
	justify-content: center;
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    width: 19.4rem;
    height: 5.2rem;
    border-radius: 7rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    border: 0;
    box-shadow: none;
    position: relative;
    z-index: 1; /* 擬似要素が前に出るよう調整 */
    background-color: #126D7B; /* 背景色だけに */
    transition: opacity .5s;

    padding: 0 2.6rem;
    text-align: left;
}

/* 矢印を右端に追加 */
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn::after,
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.5rem;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	background: url(../img/common/arrow_bg_transparent.svg) no-repeat center center;
	background-size: contain;
	pointer-events: none; /* クリックなどの干渉を防ぐ */
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn{
	text-align: right;
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn::after{
transform: translateY(-50%) scaleX(-1); 
right: unset;
left: 1.5rem;
}
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn:hover,#wpcf7cpcnf .wpcf7cp-cfm-submit-btn:hover{
	opacity: .7;
}
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn .disabled{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: .5;
    pointer-events: none;
}

.contact_thanks h2{
	text-align: center;
	font-size: 3.2rem;
	color: #174948;
	margin-bottom: 2.5rem;
	font-weight: 700;
}

.contact_thanks p{
	text-align: center;
}

.news_detail_cont p+p {
	margin-top: 4rem;
}

.news_wrap a{
	color: #cf2e2e;
}

.side_list li a,.news_detail_btn a{
 color: #fff;
}


@media screen and (max-width: 767px) {
	/*contact*/
	#wpcf7cpcnf{
	width: 100%;
	}
	#wpcf7cpcnf table th,
	#wpcf7cpcnf table td{
	font-size: 1.4rem;
	font-weight: 500;
	padding: 0 0 2.5rem;
	display: block;
	}
	#wpcf7cpcnf table th{
	vertical-align: middle;
	text-align: left;
	padding: 1.1rem 0 1rem;
	}
	#wpcf7cpcnf table th.ver_top{
	vertical-align: top;
	}
	span.required{
	color: #FF0000;
	}

	#wpcf7cpcnf table td{
	width: 100%;
	height: 7.4rem;
	border-radius: 0;
	border: 0;
	padding: 0 3rem;
	font-size: 1.4rem;
	font-weight: 500;
/*border: 1px solid #707070;*/
	background: #fff;
	color: #000;
	display: flex;
	align-items: center;
	}

#wpcf7cpcnf .wpcf7cp-btns{
	margin-top: 2rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	grid-gap: 2rem;
	}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn,
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn {
    width: 19.4rem;
    height: 5.2rem;
    border-radius: 7rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    border: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    background-color: #126D7B; /* 背景色だけ本体で設定 */
    transition: opacity .5s;
    padding: 0 2.6rem;
    text-align: left;
			margin: 0 0 0 0;
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn::after,
#wpcf7cpcnf .wpcf7cp-cfm-submit-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform-origin: center center;
    width: 2.5rem;
    height: 2.5rem;
    background: url(../img/common/arrow_bg_transparent.svg) no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
}
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn{
	text-align: right;
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn .disabled{
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: .5;
	pointer-events: none;
	}
	
}