@charset "UTF-8";

/*!
Theme Name: tcfh
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tcfh
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/



/* Galleries --------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption { display: block; }

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility --------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments --------------------------------------------- */
.alignleft {
	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}
.alignright {
	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}









:root{
	--text_color: #484544;
	--color1: #dce751;
	--color2: #acd059;
	--color3: #f9f6ef;
	--color4: #d6c293;
	--color5: #f9f5f4;
}

html{
	font-size: min(10px, 2vmin);
	scroll-behavior: smooth;
}

html[lang]{
	margin: 0 !important;
}
#wpadminbar{
	display: none;
}

body{
	padding: 0;
	margin: 0;
	font-family: "tot-shizukago-stdn", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.9;
	word-break: break-all;
	overflow-wrap: anywhere;
	overflow-x: hidden;
	color: #6e6e6e;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%; /* iPhoneだけ文字が大きくなる現象を防ぐ */
	/*font-feature-settings: "palt";*/ /* 文字詰め（フォントにカーニング情報が含まれる場合） */

	/* iPhoneで上下のバーを抜いた高さ */
	height: -webkit-fill-available;
	height: -moz-available;
}
html[lang="en"] body{
	overflow-wrap: break-word;
}

::-webkit-input-placeholder{ color: #bbb; }
:-moz-placeholder          { color: #bbb; }
:-ms-input-placeholder     { color: #bbb; }

html.pc .sp{ display: none !important; }
html.sp .pc{ display: none !important; }

img{
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
iframe{
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1, h2{
	font-family: "gotham", sans-serif;
	font-size: 7rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.045em;
	margin: 0;
}
h1{
	margin: min(100px, 10vmin) 0;
}
h2 small{
	display: block;
	font-size: 0.54em;
	font-weight: 600;
	margin-top: 0.8em;
}
@media(min-width: 501px){
	.max500{
		display: none;
	}
}
@media(max-width: 500px){
	.min500{
		display: none;
	}
	h2{
		font-size: 5rem;
	}
}

h3{
	font-family: "gotham", sans-serif;
	font-size: 6rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.01em;
}
h3 small{
	display: block;
	font-size: 0.466em;
	font-weight: 700;
	margin-top: 0.6em;
}
@media (max-width: 500px) {
	h3{
		font-size: 4.3rem;
	}
	h3 small{
		font-size: 0.54em;
	}	
}

h4{
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.9;
	letter-spacing: 0.01em;
}
@media (max-width: 500px) {
	h4{
		font-size: 2rem;
	}}

hr{
	border: 0;
	border-top: 1px solid #c9c9c9;
	margin: 50px 0;
}

p{
	/*text-align: left;*/
}

ib{
	display: inline-block;
}

a,
a:link,
a:visited{
	color: #666;
}
a:hover{

}
.link a:hover{
	filter: brightness(1.1);
}

@keyframes kara_a {
	0%   { opacity: 1; }
	50%  { opacity: 0; }
	100% { opacity: 1; }
}
a[href=""]{
/*	animation: kara_a 0.5s linear 0s infinite;*/
}

#page{
	min-height: 100vh;
}

.center_block{
	max-width: 94%;
	width: 1200px;
	margin: 0 auto;
}
@media (max-width: 500px) {
	.center_block.sp100{
		max-width: 100%;
	}
}

.site-header{
	display: flex;
	justify-content: space-between;
	position: absolute;
	/*position: fixed;*/
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	min-width: 870px;
}
.site-header .site-branding{
	display: flex;
	align-items: center;
	gap: 2.5rem;
	font-size: 1rem;
	min-width: 480px;
}
.site-header .nav_knob{
	display: none;
}
.site-header-bg{
	display: none;
	position: fixed;
	z-index: 900;
	width: 100%;
	background-color: #a1a1a1;
	backdrop-filter: blur(10px);
}
@media (max-width: 500px) {
	.site-header{
		position: fixed;
		min-width: 0;
	}
	.site-header .site-branding{
		min-width: 0;
		z-index: 1100;
	}
	.site-header .site-branding .header_img_1{
		width: 8.93vmin;
	}
	.site-header .site-branding .header_img_2{
		width: 64.2vmin;
	}
	.site-header .nav_knob{
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0 2vmin 0;
		z-index: 1100;
	}
	.site-header .nav_knob img{
		width: 7vmin;
	}
	.site-header .nav_knob .nav_close{
		display: none;
	}
	.site-header .nav_knob.open .nav_close{
		display: inline-block;
	}
	.site-header .nav_knob.open .nav_open{
		display: none;
	}
	.site-header-bg{
		display: block;
	}
}

#site-navigation{
	/*position: sticky;*/
	/*top: 0;*/
	/*z-index: 1100;*/
}
#site-navigation{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 500px;
	margin: 0 30px 0 0;
}
#site-navigation a{
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	padding: 2px;
}
#site-navigation a:hover{
	opacity: 0.7;
}
@media (max-width: 500px) {
	#site-navigation{
		display: flex;
		justify-content: flex-start;
		box-sizing: border-box;
		width: 100%;
		height: 100vh;
		padding-top: 15vmin;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		background-color: #a1a1a1;

		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s linear;
	}
	#site-navigation.open{
		opacity: 1;
		pointer-events: auto;
	}
	#site-navigation a{
		font-size: 3rem;
		width: 64%;
		padding: 1.1em 0;
		border-bottom: 1px solid #d9d9d9;
	}
	#site-navigation a:first-child{
		border-top: 1px solid #d9d9d9;
	}
}


.site-footer{
	position: sticky;
	top: 100vh;
	font-weight: 600;
	color: #fff;
	background-color: #6e6e6e;
	padding: 50px 0 200px;
}
.site-footer .footer1{
	text-align: center;
	margin: 0 0 40px;
}
.site-footer .footer2{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 10px;
	max-width: 650px;
	margin: 0 auto;
}
.site-footer .footer2 a{
	text-decoration: none;
	color: #fff;
}
@media (max-width: 500px) {
	.site-footer{
		padding: 5vmin 0 10vmin;
	}
	.site-footer .footer1{
		font-size: 2.4rem;
		margin: 0 0 5vmin;
	}
	.site-footer .footer2{
		flex-direction: column;
	}
}

.gototop{
	position: fixed;
	right: 8px;
	bottom: 85px;
	z-index: 1000;
}

.anchor_target{
	position: relative;
	top: -100px;
}

.hover_kakudai{
	transition: 0.2s ease-out;
}
.hover_kakudai:hover{
	transform: scale(1.1);
}

table.type1{
	border-collapse: collapse;
	border-top: 1px solid #d8d8d8;
	width: 100%;
}
table.type1 :is(th, td){
	text-align: left;
	font-size: 2.2rem;
	font-weight: 500;
	border-bottom: 1px solid #d8d8d8;
	padding: 0.93em 1.4em;
	background-clip: padding-box; /* Firefox対策。border が表示されるようにする。 */
}
table.type1 th{
	white-space: nowrap;
	background-color: #fff7ed;
}
html[lang="en"] table.type1 th{
	white-space: normal;
}
table.type1 td{
	background-color: #fff;
	width: 750px;
}
@media (max-width: 500px) {
	table.type1 :is(th, td){
		font-size: 1.6rem;
		padding: 0.93em 1.3em;
	}
}





/* トップ *************************************************************************** */

.page-template-top{
}

.page-template-top .main_image{
	position: relative;
	z-index: 1000;
	background-image: url(img/top/1.webp);
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	height: 100vh;
}
@media (max-width: 500px) {
	.page-template-top .main_image{
	height: 125vw;
	}
}

.page-template-top .news{
	margin: 0 0 min(400px,50vmin);
}
.page-template-top .news h2{
	margin: 2em 0 0.5em;
}
.page-template-top .news .list{
	border-top: 1px solid #d9d9d9;
}
.page-template-top .news .list .row{
	padding: 10px;
	border-bottom: 1px solid #d9d9d9;
}
.page-template-top .news .list .row .date{
	font-family: "gotham", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	color: #ff9100;
}
.page-template-top .news .list .row .title{
	font-weight: 500;
}

.page-template-top .news .more_area{
	display: flex;
	justify-content: flex-end;
	margin: 20px 0 0;
}
.page-template-top .news .more_area a{
	text-decoration: none;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	background-color: #000;
	border-radius: 0.3em;
	padding: 0.8em 1em;
}
.page-template-top .news .more_area a:hover{
	opacity: 0.7;
}
@media (max-width: 500px) {
	.page-template-top .news{
		margin-left: 5vmin;
	}
	.page-template-top .news h2{
		font-size: 4.1rem;
	}
}

.page-template-top .company_overview_head{
	background-image: url(img/top/2.webp);
	background-size: cover;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 530px;
	padding: 70px 0 0;
	min-width: 1050px;
}
@media (max-width: 500px) {
	.page-template-top .company_overview_head{
		background-image: url(img/top/sp/2.webp);
		height: 50rem;
		padding: 1rem 0 0;
		min-width: 0;
	}
}

.page-template-top .h2_section{
	margin: 0 0 min(300px,52vmin);
}
.page-template-top .h3_section{
	margin: min(400px,52vmin) 0 0;
}

.page-template-top .h3_box{
	margin: 0 0 min(60px,13vmin);
}
.page-template-top .h3_box .center_block{
	max-width: calc(75% + 100px);
}
@media (max-width: 500px) {
	.page-template-top .h3_box .center_block{
		max-width: 94%;
	}
}

.page-template-top #philosophy{
}
.page-template-top #philosophy .h3_box{
	color: #fff;
	background: linear-gradient(32deg, rgba(15, 171, 255, 1) 0%, rgba(46, 119, 243, 1) 100%);
	min-width: 790px;
}
.page-template-top #philosophy .h3_box .center_block{
	background: url('img/top/3.webp');
	background-position: 99% 100%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 695px;
	padding: 55px 310px 0 0;
}
.page-template-top .h3_box h3{
	word-break: keep-all;
	margin: 0 0 1.6em;
}
.page-template-top #philosophy .h3_box p{
	font-weight: 500;
	line-height: 2.1;
}
@media (max-width: 500px) {
	.page-template-top #philosophy .h3_box{
		min-width: 0px;
	}
	.page-template-top #philosophy .h3_box .center_block{
		padding: 8vmin 0 0 0;
		height: 155vmin;
		background-size: 40vmin;
		background-position: 50% 100%;
	}
}

.page-template-top #greeting{
}
.page-template-top #greeting .h3_box{
	color: #fff;
	background: url('img/top/4_1.webp'), url('img/top/4.webp');
	background-size: auto, cover;
	background-position: 95% 100%, 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 500px;
	min-width: 870px;
	padding: 55px 0 0 0;
}
.page-template-top #greeting .h3_box .text_a{
	text-align: right;
	padding: 0 420px 0 0;
}
.page-template-top #greeting .h3_box p{
	display: inline-block;
	text-align: left;
	font-size: 2.3rem;
	font-weight: 500;
	line-height: 1.9;
}
.page-template-top #greeting .h3_box .img4_n{
	margin: 30px 0 0;
}
.page-template-top #greeting .text_b{
	line-height: 2.1;
}
@media (max-width: 500px) {
	.page-template-top #greeting .h3_box{
		background-size: 68vmin, cover;
		background-position: 150% 100%, 50%;
		height: 77vmin;
		min-width: 0;
	}
	.page-template-top #greeting .h3_box .text_a{
		text-align: left;
		padding: 0 0px 0 0;
	}
	.page-template-top #greeting .h3_box p{
		font-size: 1.6rem;
	}
	.page-template-top #greeting .h3_box .img4_n{
		width: 22vmin;
		margin: 3vmin 0 0;
	}
}

.page-template-top #company_information{
}
.page-template-top #company_information .h3_box{
	color: #fff;
	background-image: url('img/top/5.webp');
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 500px;
	padding: 55px 0 0 0;
}
@media (min-width: 831px) {
	.max830{
		display: none;
	}
}
@media (max-width: 830px) {
	.min830{
		display: none;
	}

	.page-template-top #company_information .h3_box h3{
		line-height: 1.65;
	}
	.page-template-top #company_information .h3_box h3 small{
		margin-top: 0.9em;
	}
}
@media (max-width: 500px) {
	.page-template-top #company_information .h3_box{
		background-image: url('img/top/sp/5.webp');
		height: 67vmin;
		padding: 7vmin 0 0 0;
	}
}

.page-template-top #group_company{
}
.page-template-top #group_company .h3_box{
	color: #fff;
	background: url('img/top/6.webp');
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: 500px;
	padding: 55px 0 0 0;
	min-width: 540px;
}
.page-template-top #group_company h4{
	font-size: 3.6rem;
	margin: 2.2em 0;
}
.page-template-top #group_company .link{
	text-align: center;
	margin: 100px 0 0;
}
@media (max-width: 500px) {
	.page-template-top #group_company .h3_box{
		background-image: url(img/top/sp/6.webp);
		padding: 7vmin 0 0 0;
		height: 67vmin;
		min-width: 0;
	}
	.page-template-top #group_company h3 small{
		margin-top: 1.3em;
	}
	.page-template-top #group_company h4{
		font-size: 2.6rem;
		margin: 2.2em 0 1.7em;
	}
}

.page-template-top #recruit{
}
.page-template-top #recruit .recruit_head{
	background-image: url(img/top/7.webp);
	background-size: cover;
	background-position: 35% 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
	height: min(644px, 80vmin);
	padding: 12rem 0 0 0;
	text-align: right;
	color: #fff;
	margin: 0 0 min(100px,13vmin);
}
@media (max-width: 500px) {
	.page-template-top #recruit .recruit_head{
		padding: 5.6rem 0 0 0;
	}
}
.page-template-top #recruit .link{
	text-align: center;
	margin: min(100px,12vmin) 0 0;
}

@keyframes anim_namagoe_row {
	0%   { background-position-x: 0; }
	100% { background-position-x: 1380px; }
}
.namagoe_row{
	text-align: center;
	background-image: url(img/top/7_2.webp);
	height: 270px;
	margin: 150px 0 0;
	animation: anim_namagoe_row 40s linear 0s infinite;
}
.namagoe_row .img_n{
	margin: -70px 0 0;
}

.namagoe_row2{
	background-color: #02c2c7;
	padding: 50px 0;
}
.namagoe_row2 a:hover{
	opacity: 0.9;
}
.namagoe_row2 .center_block{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}
@media (max-width: 750px) {
	.namagoe_row2 .center_block{
		flex-direction: column;
		gap: 2.5rem;
	}
}
@media (max-width: 500px) {
	@keyframes anim_namagoe_row {
		0%   { background-position-x: 0; }
		100% { background-position-x: 201vmin; }
	}
	.namagoe_row{
		background-size: 201vmin;
		height: 39vmin;
		animation: anim_namagoe_row 20s linear 0s infinite;
	}
	.namagoe_row .img_n{
		width: 60vmin;
		margin: -9vmin 0 0;
	}
	.namagoe_row2{
		padding: 5vmin 0 10vmin;
	}
	.page-template-top .img7_4{
		width: 40vmin;
	}
	.page-template-top .img7_5{
		width: 60vmin;
	}
}




/* NEWS *************************************************************************** */

:is(.blog, .single) .site-header{
	position: static;
	background-color: #6e6e6e;
}

:is(.blog, .single) .site-header-bg{
	display: none;
}

:is(.blog, .single) article{
	padding: 70px 0 100px;
	border-bottom: 1px solid #aaa;
}
:is(.blog, .single) article .date{
	font-family: "gotham", sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	color: #ff9100;
}
:is(.blog, .single) article .title{
	font-size: 2rem;
	margin: 20px 0;
}
:is(.blog, .single) article .content{
	/*font-size: 1.6rem;*/
	line-height: 2.1;
}
:is(.blog, .single) .pagination{
	text-align: center;
	margin: 50px 0 200px;
}
:is(.blog, .single) .pagination h2{
	display: none;
}
:is(.blog, .single) .pagination .nav-links > div{
	display: inline-block;
	margin: 0 50px;
}

ul.page-numbers{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	list-style: none;
}
:is(a,span).page-numbers{
	user-select: none;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	line-height: 1;
	min-width: 2em;
	padding: 0.5em 0;
	border: 1px solid #aaa;
	border-radius: 0.3em;
}
span.page-numbers.current{
	color: #fff;
	background-color: #aaa;
}
a.page-numbers:is(.prev, .next),
span.page-numbers.dots{
	border: 0;
}

.prev_next{
	display: flex;
	justify-content: space-between;
	gap: 30px;
}
ul.page-numbers ~ .prev_next{
	display: none;
}





/* お問合せ *************************************************************************** */

.page-template-top #contact{
	font-weight: 500;
}

.page-template-top #contact h1{
	background-image: url(img/contact/1_bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

.page-template-top #contact p{
}

div.wpcf7 .wpcf7-form .ajax-loader{
	display: none;
}

.page-template-top #contact .privacy_policy_area{
	text-align: center;
	margin: 60px 0 40px;
	scroll-margin: 300px;
}
.page-template-top #contact .submit_area{
	position: relative;
	text-align: center;
}

.wpcf7-submit,
.wpcf7cp-cfm-edit-btn{
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	font-size: 1.6rem;
	font-weight: 700;	
	color: #fff;
	background-color: #ff9100;
	border-radius: 0.8rem;
	border: 0;
	padding: 1.5rem 4rem;
}
.wpcf7-submit:hover,
.wpcf7cp-cfm-edit-btn:hover{
	opacity: 0.8;
}

.wpcf7-spinner{
	position: absolute;
	top: calc(50% - 12px);
}

.thanks_url{
	display: none;
}


input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="search"],
textarea,
select{
	font-size: 1.6rem;
	font-weight: 400;
	box-sizing: border-box;
	border: 1px solid #cdcdcd;
	border-radius: 4px;
	outline: 0;
	padding: 1rem;
	margin: 0;
	width: 100%;
	-webkit-appearance: none; /* iPhone の入力欄へのエフェクトを消す */
}

select{
	letter-spacing: 0.15em;
	padding: 1rem 5rem 1rem 1rem;
	width: auto;
	color: #fff;
	background: #b8b8b8 url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
}

input[name="yubin"]{
	width: 23rem;
}

table.type_cf7{
	border-collapse: collapse;
	width: 100%;
}
table.type_cf7 :is(th, td){
	text-align: left;
	font-weight: 500;
	padding: 1.5rem 0px;
}
table.type_cf7 th{
	white-space: nowrap;
	padding: 0 20px 0 0;
}
table.type_cf7 th.hissu::after{
	content: '必須';
	display: inline-block;
	font-size: 1.3rem;
	line-height: 1;
	color: #fff;
	background-color: #ff5100;
	padding: 0.5em 0.8em;
	border-radius: 0.4em;
	margin-left: 1.6em;
}
html[lang="en"] table.type_cf7 th{
	white-space: normal;
}
table.type_cf7 td{
	background-color: #fff;
	width: 750px;
}

#wpcf7cpcnf table th{
	text-align: left;
	padding-right: 20px;
}

.wpcf7-not-valid-tip{
	position: absolute;
	margin-top: -5px;
}
.privacy_policy_area .wpcf7-not-valid-tip{
	position: static;
}

.wpcf7cp-btns{
	text-align: center;
}

@media (max-width: 630px) {
	#contact h2{
		margin-bottom: 10vmin;
	}
	#contact h2 small{
		margin: 0;
	}

	table.type_cf7,
	table.type_cf7 tbody,
	table.type_cf7 tr,
	table.type_cf7 th,
	table.type_cf7 td{
		display: block;
	}
	table.type_cf7 th{
		padding: 6vmin 0 2vmin;
	}
	table.type_cf7 td{
		padding: 0;
		width: 100%;
	}
}



/* 404 *************************************************************************** */

.error-404{
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	padding: 100px 0 0;
	height: calc(100vh - 750px);
}

.error404 .site-header{
	position: static;
	background-color: #6e6e6e;
}

.error404 .site-header-bg{
	display: none;
}







.page-template-thanks h2{
	margin: min(100px, 10vmin) 0 min(70px, 7vmin);
}
.page-template-thanks h2 small{
	margin: 0;
}

.page-template-thanks .site-header{
	position: static;
	background-color: #6e6e6e;
}

.page-template-thanks .site-header-bg{
	display: none;
}
