/* フロント専用 基本設定
/* 編集画面には適用しなくてよい
/* google font はfunctions.phpで読み込み

/* ========================================================================== */
/*	0. Document Setup
/* ========================================================================== */

/* Basic Setting
----------------------------------------------------------------------------- */

.large{ font-size: 1.2em; }

.small{ font-size: 0.8em; }

b , strong{ font-weight: var(--boldFontWeight); }

/* Functional Setting
----------------------------------------------------------------------------- */

.front-hidden{ display: none;}

/*	CONTENT WIDTH SETTING
/* -------------------------------------------------------------------------- */

.content-width{ max-width: var(--contentWidth); margin-inline: auto; }

.maximum-width{ max-width: var(--maximumWidth); margin-inline: auto; }

.horizontal-margin{ width: calc(100% - 36px); margin-inline: auto; }

.sidebar-width-setting{ width: calc(100% - 36px); max-width: 136rem; margin-inline: auto; }

@media ( min-width: 700px ){

	.horizontal-margin{ width: calc(100% - 72px); }

	.sidebar-width-setting{ width: calc(100% - 3em); margin-inline: auto; }
}

/* admin-bar ---------------------------------------------------------- */

.admin-bar .screen-height{ min-height: calc(100vh - 32px); }

@media (max-width: 782px){
	.admin-bar .screen-height{ min-height: calc(100vh - 46px); }
}



/* ========================================================================== */
/*	THEME SETTING
/* ========================================================================== */

/*	Site Header
/* -------------------------------------------------------------------------- */
#site_header{
	top: 0;
	left: 0;
	width: 100%;
	height: var(--headerHeight);
	z-index: 5;
}

body.home #site_header{
	position: fixed;
	background-color: white;
	color: white;
	box-shadow: 0 1px 3px var(--themeColorLight);
}

body.home #site_header.fixed{
	position: fixed;
	z-index: 2;
	background-color: rgba(255,255,255,0.9);
	color: black;
}

body:not(.home) #site_header{
	position: fixed;
	background-color: rgba(255,255,255,0.9);
	color: black;
}

#site_header_inner{
	display: grid;
	column-gap: 2%;
	align-items: center;
	height: 100%;
	padding-inline: 18px;
	overflow: visible;
	grid-template-columns: 1fr 50px;
	grid-template-rows: 50px 25px;
}
@media(max-width: 749px){
	#site_header_inner .header-titles{
		grid-column: 1 / 2;
		grid-row: 1 / 2;
	}

	#primary_left > li{
		border: 1px solid var(--themeColor);
	}
	#nav_toggle_wrapper{
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
}
@media(min-width: 750px){
	#site_header_inner{
		grid-template-columns: 204px 1fr 50px;
		grid-template-rows: 1fr;
	}
}

@media(min-width: 1200px){
	#site_header_inner{
		padding-inline: 50px 18px;
		grid-template-columns: 210px 1fr;
	}
}

#site_header_inner .header-titles{
	height: 100%;
	padding: 5px;
	display: grid;
	place-content: center start;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

@media(min-width: 750px){

}

.custom-logo-link{
	display: block;
	position: relative;
	width: 200px;
}

@media(max-width: 750px){
	.custom-logo-link{
		width: 160px;
	}
}
#site_header_inner .header-titles .dt-logo{
	object-fit: contain;
	height: auto;
	width: 100%;
	transition: opacity 0.3s 0.2s ease;
}

/* Header Navigation
-----------------------*/
/* Header Navigation Wrapper*/
#header_navigation_wrapper{
	flex-grow: 1;
	height: 100%;
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	justify-content: center;
}

@media(min-width: 750px){
	#header_navigation_wrapper{
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
}
/* Primary Menu */
#primary_menu_wrapper{
	display: flex;
	justify-content: center;
	max-width: 1500px;
	gap: 1%;
	height: 25px;
	margin-inline: auto 0;
}

@media(min-width: 750px){
	#primary_menu_wrapper{
		justify-content: flex-end;
		height: 100%;
	}
}

#primary_menu{
	display: none;
}

@media(min-width: 1200px){
	#primary_menu{
		display: flex;
		max-width: 1000px;
		flex-grow: 1;
		justify-content: space-between;
		height: 100%;
		font-family: var(--gothicFont);
		font-weight: 700;
		font-size: clamp(16px,calc( 2.67vw - 16.1px ),24px);
	}

	#primary_menu .icon{
		display : block;
		width : 1.3rem;
		height : 0.7rem;
		transform : rotate(-45deg);
		pointer-events : none;
		top : calc(50% - 0.4rem);
		right : -0.5rem;
	}

	#primary_menu .icon::before , #primary_menu .icon::after{
		position : absolute;
		bottom : calc(50% - 0.1rem);
		left : 0;
		display : block;
		content : '';
		background-color : currentColor;
	}

	#primary_menu .icon::before{
		width : 0.2rem;
		height : 0.9rem;
	}

	#primary_menu .icon::after{
		width : 0.9rem;
		height : 0.2rem;
	}


	#primary_menu > li{
		position: relative;
		flex-grow: 1;
		display: flex;
		justify-content: center;
		column-gap: 5px;
		align-items: center;
		color: var(--themeColor);
	}

	#primary_menu a{
		transition: color 0.3s ease;
	}

	#primary_menu li:hover > a{
		color: var(--hoverColor);
	}
}

/* Primary Menu Sub Menu
------------------------------------------------------------------------ */

#primary_menu .sub-menu{
	list-style: none;
	font-size: var(--rfs18);
	position: absolute;
	z-index: 1;
	top: 100%;
	right: 0;
	left: 50%;
	width: 15em;
	padding: 0;
	transform: translateX(-50%);
	border-radius: 0 0 0.4rem 0.4rem;
	background: rgba(255,255,255,0.9);
}

#primary_menu ul::before{ right : 0; left : 0; height : 2rem; }

#primary_menu .sub-menu li{ display: none; }

#primary_menu .sub-menu li:hover a{ background-color: var(--themeColor); color: white; }

#primary_menu .sub-menu a{
	display : block;
	width : 100%;
	padding : 1rem 2rem;
	transition : background-color 0.15s linear;
	color : var(--bodyFontColor);
	border : none;
	background : transparent;
}

#primary_menu .sub-menu li.menu-item-has-children > a{ padding-right : 4.5rem; }

/* primary_left
------------------------------------------------------------------- */
#primary_left{
	list-style: none;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: 1fr;
	font-size: 12px;
	font-weight: 700;
}

@media(min-width: 750px){
	#primary_left{
		font-size: clamp(16px,calc( 0.67vw + 8.0px ),18px);

	}
}

#primary_left > li{

	padding-inline: 0.5em;
	transition: all 0.3s ease;
}

#primary_left > li a{
	height: 100%;
	display: grid;
	place-items: center;
}

#primary_left .entry{
	background-color: var(--themeColor);
	color: white;
}

#primary_left .official{
	color: var(--themeColor);
}

#primary_left > li:hover{
	color: var(--hoverColor);
}

/* Mobile Nav Toggle
   hamburger menu button
------------------------------------------------------------------- */
#nav_toggle_wrapper{
	width: 50px;
	height: 50px;
	display: block;
	z-index: 5;
	padding: 5px;
}


@media(min-width: 1200px){
	#nav_toggle_wrapper{
		display: none;
	}
}

#mobile_nav_toggle{
	display : flex;
	width : 100%;
	height:100%;
	flex-wrap: wrap;
	justify-content : center;
	align-content: center;
	gap: 5px;
	color: var(--themeColor);
	background-color: transparent;
	cursor: pointer;
	z-index: 100;
}

#mobile_nav_toggle svg{
	width : 50px;
	height : 38px;
	display: block;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease;
	z-index: 1;
}

@media(min-width: 750px){
	#mobile_nav_toggle svg{
		width : 50px;
		height : 38px;
	}
}
.button-text{
	font-size : var(--rfs14);
	font-weight : var(--mediumFontWeight);
	width : 100%;
	text-align: center;
	white-space : nowrap;
	word-break : break-all;
	transform-origin: bottom center;
}

svg rect#u1, svg rect#l1 ,svg rect#m1,svg rect#m2,.button-text{
	transform-origin: center;
	transition: all 0.3s linear;
}
#mobile_nav_toggle .toggle-icon > svg {
    display: block;
}

#mobile_nav_toggle.active{
	align-content: center;
	padding: 0;
}

#mobile_nav_toggle.active svg{
	width: 50px;
	height: 38px;
	transform: rotate(180deg);
}

#mobile_nav_toggle.active rect#m1{
	transform: rotate(30deg);
}
#mobile_nav_toggle.active rect#m2{
	transform: rotate(-30deg);
}
#mobile_nav_toggle.active rect#u1{
	transform: scale(0);
}
#mobile_nav_toggle.active rect#l1{
	transform: scale(0);
}

#mobile_nav_toggle.active .button-text{
	opacity: 0;
	font-size: 0;
}
@media (min-width: 500px){
	#mobile_nav_toggle{
		top : 5px;
		left : calc(100vw - 78px);
	}
}
#scroll-down-arrow{ position: absolute; display: block; width: 50px; height: 120px; top: calc(100svh - 130px); left: 5%; right: auto;}

body:not(.home) #scroll-down-arrow{ display: none; }

#scroll-down-arrow img{ position: absolute; top: 0; left: 0;  }




/*	Menu Modal
/* -------------------------------------------------------------------------- */
body.fixed{
	overflow: hidden;
	margin-right: var(--sbw);
}

#menu_modal{
	position : fixed;
	z-index : 4;
	top : 0;
	right : 100%;
	bottom : 0;
	left : -100%;
	display : none;
	overflow-x : hidden;
	overflow-y : auto;
	transition : opacity 0.05s ease-in, left 0s 0.25s, right 0s 0.25s;
	opacity : 1;
}

.admin-bar #menu_modal{ top : 32px; }

@media (max-width: 782px){
	.admin-bar #menu_modal{ top : 46px; }
}

#menu_modal.show-modal{ display : flex; }

#menu_modal.active{ right : 0; left : 0; transition : opacity 0.05s ease-out; opacity : 1; }

.menu-modal-inner{
	display: block;
	overflow : auto;
	justify-content : stretch;
	width : 100%;
	padding: 100px 1em 50px;
	transition : transform 0.2s ease-in, opacity 0.2s ease-in;
	transform : translateX(150rem);
	opacity : 1;
	background : rgba(0,0,0,0.5);
	font-size: var(--rfs20);
}

#menu_modal.active .menu-modal-inner{
	transition-timing-function : ease-out;
	transform : translateX(0);
	opacity : 1;
	backdrop-filter: blur(10px);
}

@media ( min-width: 600px ){
	.menu-modal-inner{
		padding: var(--headerHeight) 0 40px;
	}
}

/*
modal-top
*/
.modal-top{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 3%;
	max-width: 15em;
	margin-inline: auto;
	margin-bottom: var(--variableSpaceS);
	color: white;
}

@media(min-width: 500px){
	.modal-top{
		max-width: 30em;
	}
}

.modal-top > li{
	flex-basis: 6em;
	text-align: center;
}
/*
modal-menu
*/

.modal-menu{
	width : 100%;
	list-style-type: none;
	display: grid;
	column-gap: 10px;
	row-gap: 20px;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	color: white;
	font-size: clamp(14px,calc( 2.22vw + 2.9px ),14px);
	line-height: 1.7;
	margin-bottom: var(--variableSpaceS);
	max-width: 32em;
	margin-inline: auto;
}

@media(min-width: 500px){
	.modal-menu{
		font-size: var(--rfs18);
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 1200px){
	.modal-menu{
		display: none;
	}
}


.modal-menu > li > a::before{
	position: absolute;
	left: 0.5em;
}

.modal-menu > li > a{
	display: block;
	background-color: var(--themeColor);
	text-align: left;
	padding: 15px 5px;
	font-weight: 600;
}

.modal-menu li:hover > a{
	color: #FFD050;
}

.modal-menu a{
	display: block;
	padding-left: 1em;
	position: relative;
}

.modal-menu a::before{
	content: "〉";
	width: 1em;
	height: 1em;
	display: block;
	position: absolute;
	left: 0;
}

.modal-menu > li > a{
	padding-left: 1.5em;
	position: relative;
	margin-bottom: 0.5em;
}

.modal-menu .sub-menu{
	list-style-type: none;
	padding-left: 1em;
}

/*	Page Header
/* -------------------------------------------------------------------------- */
body.home #page_header{
	position : relative;
	z-index : 3;
	height: auto;
	background-color: white;
	overflow: hidden;
    aspect-ratio: 1920 / 1080;
    margin-top: var(--headerHeight);
}
@media(min-width: 1200px){
    body.home #page_header{
        margin-top: 0;
    }
}

body:not(.home) #page_header{
	position : relative;
	z-index: 1;
	height:44vw;
	min-height: 250px;
    margin-top: var(--headerHeight);
}
body:not(.home) #page_header.small-header{
	height: 29.3vw;
}
@media(min-width: 1200px){
    body:not(.home) #page_header{
		height: 600px;
		aspect-ratio: auto;
    }
	body:not(.home) #page_header.small-header{
		height: 400px;
	}
}
body:not(.home) #page_header > div{
	width: 100%;
	height: 100%;
	display : flex;
	flex-wrap: wrap;
	align-items : center;
	justify-content : center;
	background-color: transparent;
}

body.single-staff_interview #page_header > div{
	align-items: flex-start;
}

@media(min-width: 500px){
	body:not(.home) #page_header > div{
		align-items : center;
	}
}

.title-wrap{
	max-width: 1520px;
	margin-inline: auto;
	text-align: center;
	position: absolute;
}

body.single-staff_interview .title-left .title-wrap{
	text-align: left;
}

body.single-staff_interview .title-right .title-wrap{
	text-align: right;
}

h1.page-title{
	display: inline-block;
	font-family: var(--minchoFont);
	font-size: var(--rfs40);
	text-align: center;
	color: var(--themeColor);
}

body.recruitment h1.page-title .eng,
body.tax-recruitment_type h1.page-title .eng{
	color: white;
}

body.recruitment h1.page-title .jp,
body.tax-recruitment_type h1.page-title .jp{
	color: #008590;
}

body.entry-form h1.page-title .eng{
	color: white;
}

body.entry-form h1.page-title .jp{
	color: #E9FF72;
}

h1.page-title .parent{
	font-size: var(--rfs24);
	padding-bottom: 1em;
	border-bottom: 1px solid white;
}
h1.page-title .parent-title{
	font-weight: 700;
}

h1.page-title .parent-slug{
	font-weight: 400;
	text-transform: uppercase;
	font-family: var(--englishFont);
	letter-spacing: 0.3em;
}

h1.page-title .jp{
	font-size: var(--rfs36);
	font-weight: 700;
}

h1.page-title .eng{
	text-transform: uppercase;
	font-size: clamp(50px,calc( 15.56vw + 0.2px ),203px);
    font-weight: 700;
	font-family: var(--marugoFont);
    text-transform: capitalize;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 0.3em;
}

.small-header h1.page-title .eng{
	font-size: clamp(50px , calc( 6.82vw + 28.2px ) , 110px);
}

body.works h1.page-title .eng{
    font-size: clamp(50px,calc( 15.56vw + 0.2px ),261px);
}

body.career-development h1.page-title .eng,
body.search-results h1.page-title .eng{
    display: grid;
    font-size: clamp(50px,calc( 15.56vw + 0.2px ),191px);
	line-height: 1;
	margin-bottom: 0.1em;
}

body.career-development h1.page-title .eng span:last-child,
body.search-results h1.page-title .eng span:last-child{
    font-size: 0.73em;
}
.search h1.page-title{ overflow : hidden; max-width : 95vw; word-break : keep-all; }

/* Parallax bg
------------------------------------------------------------------------------ */
#parallax_bg{
	position: fixed;
	z-index: 0;
	width: 100%;
	height: 100vh;
}

#parallax_bg img{
	object-fit: cover;
	height: 100%;
	width: 100%;
}
/* parallax window
------------------------------------------------------------------------------ */
.parallax-window{
	height: 55svh;
	width: 100%;
	display: grid;
	place-items: center;
}

.parallax-window div{
	font-family: var(--englishFont);
	font-size: var(--rfs100);
	font-weight: 300;
	color: white;
	text-align: center;
	letter-spacing: 0.4em;
}
/* Featured Media
------------------------------------------------------------------------------*/
.featured-media{
	width: 100%;
	position: relative;
	height: 100%;
}

@media(min-width: 1200px){
	.featured-media{
		height: 600px;
	}
}

.featured-media-inner{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.featured-media img{
	position: relative;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.title-left .featured-media img{
	object-position: 70% 100%;
}

.title-right .featured-media img{
	object-position: 30% 100%;
}
@media(min-width: 1200px){
	.featured-media img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}



/* billboard
----------------------------------------------------------------------------- */
#billboard{
    width: 100%;
    height: 100%;
	aspect-ratio: 1920/1080;
	background-size: contain;
	background-position: bottom;
}

@media(min-width: 1000px){
	#billboard{
		margin-top: 0;
	}
}

@media(min-width:1937px){
	#billboard{
		max-height: none;
	}
}
/*breadcramb
------------------------------------------------------------------------------ */
.breadcramb{
	width: 100%;
	text-align: left;
	font-weight: var(--lightFontWeight);
	margin-top: 5px;
}
/* ========================================================================== */
/*	2．MAIN
/* ========================================================================== */
#site_content{
	position: relative;
	z-index: 1;
}
/* page.php
============================================================================= */

body:not(.home):not(.single-interview) #site_content{ position: relative;}

/*	index.php post_type_archive / blog / monthly_archive
----------------------------------------------------------------------------- */

.two-columns{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

@media(min-width: 1000px){
	.two-columns{
		flex-direction: row-reverse;
	}
}

.two-columns #main-column{
	flex-basis: 100%;
	background-color: white;
	padding-top: var(--variableSpaceS);
	padding-inline: 18px;
}

.two-columns #archive-sidebar{
	flex-basis: 100%;
	padding-top: var(--variableSpaceS);
	padding-inline: 18px;
}

@media(min-width: 700px){
	.two-columns #main-column{
		padding-inline: 36px;
	}

	.two-columns #archive-sidebar{
		padding-inline: 36px;
	}
}



@media(min-width: 1000px){

	.two-columns #main-column{
		flex-basis: 60.5%;
	}

	.two-columns #archive-sidebar{
		flex-basis: 39.5%;
		padding: 0;
		position: relative;
	}


}

/* #main-column
----------------------------------------------------------------------------- */
#main-column > article{
	width: 100%;
	margin-right: 0;
	margin-left: auto;
	padding-bottom: var(--variableSpaceS);
	padding-bottom: var(--variableSpaceS);
}

#main-column > article.hentry{
	border-bottom: 1px solid var(--themeBlue);
}

@media(min-width: 1409px){
	#main-column > article{
		width: calc(100% + 36px - (100vw - var(--sbw) - 1320px) / 2);
	}
}

/* entry-header
----------------------------------------------------------------------------- */

.entry-header{ padding: 0; background-color: inherit; }

h2.entry-title{
	margin: 0 0 0.5em;
	width: 100%;
	font-size: var(--rfs30);
}

.entry-title a{ text-decoration: none; color: inherit; }

.post-date{
	font-size: var(--rfs18);
	font-weight: var(--regularFontWeight);
	margin-bottom: 1em;
}

.post-cat{
	color: var(--themeColor);
}

/* pagenation
----------------------------------------------------------------------------- */

.nav-links{ text-align: center; }

span.page-numbers:not(.prev):not(.next){
	background-color: var(--themeColor);
	color: white;
	margin: 5px;
	display: inline-block;
	width: 1.5em;
	padding: 3px;
 }

a.page-numbers{ transition: var(--easeOutExpo);}

a.page-numbers:not(.prev):not(.next){
	border: 1px solid var(--themeColor);
	margin: 5px;
	display: inline-block;
	width: 1.5em;
	padding: 3px;
	background-color: #C6E9FF;
	color: var(--themeColor);
	border: 1px solid #C6E9FF;
}

@media(hover: hover){
	a.page-numbers:not(.prev):not(.next):hover{
		background-color: var(--themeColor);
		color: white;
	}
}

a.page-numbers.next,a.page-numbers.prev{ color: var(--themeColor); transition: var(--easeOutExpo);}

@media(hover: hover){
	a.page-numbers.next:hover,a.page-numbers.prev:hover{ color: var(--textOrangeDark); }
}

a.page-numbers.prev .arrow{ display: inline-block; transform: rotate(30deg);}

a.page-numbers.next .arrow{ display: inline-block; transform: rotate(-30deg);}

.page-numbers.current{ position: relative;}


/* #archive-sidebar
----------------------------------------------------------------------------- */
#archive-sidebar h2{
	font-size: var(--rfs20);
	font-family: inherit;
	font-weight: var(--midiumFontWeight);
	display: block;
	width: 100%;
	max-width: 350px;
	line-height: 1;
	padding: 0.59em 0;
	text-align: center;	;
	color: black;
	background-color: var(--themeColorLight);
	margin-bottom: 0.5em;
}
#archive-sidebar ul{
	margin: 0 10px;
	font-weight: var(--regularFontWeight);
	line-height: 1.5;
}

#archive-sidebar ul.cat-list li:last-child{
	margin-top: 1em;
}

#archive-sidebar ul.mark-arrow li::before{
	color: var(--themeColor);
}

#archive-sidebar select{
	font-size: var(--rfsS);
	margin: 0 10px;
	padding: 0.5em;
	width: calc(100% - 20px);
	background-color: white;
	border: 1px solid #ccc;
}
.sidebar-block-wrap{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 15px;
	max-width: 100%;
	margin: 0;
	padding-inline: 0;
}

@media(min-width: 1000px){
	.sidebar-block-wrap{
		max-width: 458px;
		margin: 0;
		justify-content: flex-start;
		padding: 36px;
	}
	.two-columns .sidebar-block-wrap.fixed{
		position: fixed;
		top: var(--headerHeight);
		right: 0;
		margin-right: calc(39.5% - 458px);
	}
}

.sidebar-block{ flex-basis: 233px; flex-grow: 1; max-width: 350px; }



/*	Single.php
============================================================================= */

/* SINGLE PAGINATION
----------------------------------------------------------------------------- */

.pagination-single{
	font-size: var(--rfs20);
	margin-top: 5rem;
}

.pagination-single-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pagination-single hr:first-child{
	margin: 0 0 2.8rem 0;
}

.pagination-single hr:last-child{
	margin: 2.8rem 0 0.8rem 0;
}

.pagination-single-inner > *{
	font-weight: var(--boldFontWeight);
	display: flex;
	align-items: baseline;
	text-decoration: none;
	letter-spacing: -0.0275em;
	width: 7.5em;
	color: var(--themeColor);
	font-size: var(--rfs18);
	line-height: 30px;
}

.pagination-single a.previous-post .arrow{
	margin-right: 1rem;
}

.pagination-single a.next-post .arrow{
	margin-left: 1rem;
}

.pagination-single a.return-list{
	width: 6em;
	background-color: var(--textblueLight);
	padding: 0.5em;
	font-size: var(--rfs20);
	color: black;
}

.pagination-single a .dashicons{
	width: 1em;
	height: 1em;
	font-size: 30px;

}

@media(hover: hover){
	.pagination-single a:focus .title , .pagination-single a:hover .title{
		text-decoration: underline;
	}
}

@media ( min-width: 700px ){

	.pagination-single{
		font-size: var(--rfs24);
		margin-top: 8rem;
	}

	.pagination-single.only-next .pagination-single-inner{
		justify-content: flex-end;
	}

	.pagination-single hr:first-child{
		margin: 0 0 4rem 0;
	}

	.pagination-single hr:last-child{
		margin: 4rem 0 0.8rem 0;
	}

	.pagination-single .next-post{
		text-align: right;
	}
}


/*	search.php
============================================================================= */

/* Search Results
----------------------------------------------------------------------------- */

.no-search-results-form{
	padding-top: 5rem;
}

@media ( min-width: 700px ){

	.no-search-results-form{
		padding-top: 8rem;
	}
}

/* Search Form
----------------------------------------------------------------------------- */

.search-form{ display: flex; align-items: stretch; flex-wrap: nowrap; margin: 0 0 -0.8rem -0.8rem; }

.search-form .search-field , .search-form .search-submit{ margin: 0 0 0.8rem 0.8rem; }

.search-form label{ font-size: inherit; display: flex; align-items: stretch; width: 100%; max-width: 300px; margin: 0; }

.search-form .search-field{ width: 100%; }

.search-form .search-submit{ flex-shrink: 0; }

@media(hover: hover){
	.search-form .search-submit:focus , .search-form .search-submit:hover{ text-decoration: none; }
}
/*	Error 404
============================================================================= */


.error404 #site_content{
	padding-top: 4rem;
}

.error404-content{
	text-align: center;
}

.error404 #site_content .search-form{
	justify-content: center;
	margin-top: 3rem;
}
@media (min-width: 700px){

	.error404 #site_content{
		padding-top: 8rem;
	}
}

/* ========================================================================== */
/*  Site Map
============================================================================= */
ul#site_map li{
	list-style-type: none;
}

ul#site_map > li{
	margin-bottom: 40px;
}

ul#site_map li a{
	display: flex;
	flex-wrap: wrap;
	place-content: center;
	font-weight: 700;
	text-align: center;
	color: white;
	padding-block: 0.5em;
	background: linear-gradient(to right bottom , #67BBE5 , #0089CE );
	margin-bottom: 15px;
}

ul#site_map .sub-menu{
	padding-inline: 1em;
	margin-bottom: 40px;
}

ul#site_map > li .sub-menu a{
	background: #9DDEFF;
	color: var(--themeColor);
}

ul#site_map > li > .sub-menu > li > a[tabindex="-1"]{
	background: #E3F6FF;
	color: var(--themeColor);
}

/* ========================================================================== */
/*	3．FOOTER
/* ========================================================================== */


/*	Site Footer
----------------------------------------------------------------------------- */

#site_footer{
	padding : 0;
	position : relative;
	background-color : white;
	color: var(--themeColor);
	font-size : clamp(12px,calc( 0.56vw + 10.2px ),18px);
	z-index: 2;
}

body.blog #site_footer{
	z-index: 2;
}

.footer-wrap{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	row-gap: 2em;
	max-width: 1300px;
	font-size: 14px;
}

@media(min-width: 375px){
	.footer-wrap{
		font-size: clamp(16px,calc( 0.60vw + 9.4px ),20px);
	}
}

@media(min-width: 650px){
	.footer-wrap{
		grid-template-columns: 256px 1fr;
		column-gap: 4%;
	}
}

.footer-left,.footer-center{
	margin-block-start: var(--variableSpaceS)!important;
}

.footer-left{
	width: 256px;
	margin-inline: auto;
}

.footer-left img{
	margin-inline: auto!important;
	width: 100%;
}
/* フッターナビゲーション
----------------------------------------------------------------------------- */
#menu-main-2{
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.5em;
	row-gap: 2em;
	color: var(--themeColor);
	font-size: inherit;
	justify-content: flex-start;
}

@media(min-width: 1100px){
	#menu-main-2{
		column-gap: calc((100% - 41.5em) / 4);
	}
}

#menu-main-2 li{
	flex-shrink: 0;
	flex-grow: 0;
}

/* home */
#menu-main-2 .menu-item-26{
	flex-basis: 7em;
}

#menu-main-2 .menu-item-27{
	flex-basis: 11em;
}

#menu-main-2 .menu-item-33{
	flex-basis: 9.5em;
}

#menu-main-2 .menu-item-34{
	flex-basis: 6em;
}

#menu-main-2 .menu-item-35{
	flex-basis: 8em;
}



#menu-main-2 > li >a{
	font-size: 1.2em;
	font-weight: 700;
}

#menu-main-2 .sub-menu{
	list-style: none;
}

#menu-main-2 .sub-menu > li{
	border-bottom: 1px solid var(--themeColor);
	padding-block: 0.3em;
}

#menu-main-2 .sub-menu > li:last-child{
	border: none;
}

#menu-main-2 .sub-menu > li a{
	font-size: inherit;
}

/* ページトップに戻る
----------------------------------------------------------------------------- */

a.to-the-top{
	position : fixed;
	z-index: 2;
	right : 10px;
	bottom : 1rem;
	transform : translateX(135%);
	transition: transform 0.3s ease;
	color: var(--themeBlue);
}

a.to-the-top svg{
	width: 40px;
	height: 30px;
}
a.to-the-top > *{
	pointer-events : none;
}

.to-the-top-long{
	display : none;
}

/* COPYRIGHTS
----------------------------------------------------------------------------- */
#copyrights{
	text-align: center;
	letter-spacing: 0.3em;
	font-weight: 500;
    height: calc(var(--rfs18) * 3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}


svg#svg_library + div{
	position: relative;
	z-index: 5;
}
/* google reCAPTCHA
----------------------------------------------------------------------------- */



/*=========================================================================== */
/* Google Map embed
============================================================================= */

.ggmap{
	position: relative;	overflow: hidden; max-width: 100%; height: 300px;text-align: center; }

.ggmap iframe , .ggmap object , .ggmap embed{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; }



/*=========================================================================== */
/* Contents Setting
============================================================================= */
/*common setting
-----------------------------------------------------------------------------*/
.bg-white{
	position: relative;
	z-index: 1;
	background-color: white;
	overflow: hidden;
}

.bg-gray{
	background-color: var(--themeGray);
}

.bg-blue{
	background-color: var(--themeColor);
}

.rounded{
	border-radius: 5vw;
}

@media(min-width: 1000px){
	.rounded{
		border-radius: 50px;
	}
}

.orange{ color: #FF7F00;}

/* history list
----------------------------------------------------------------------------*/

.history-list{
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em 2em;
	font-family: var(--gothicFont);
}

.history-list .separator{
	flex-basis: 100%;
	height: 1px;
	border-bottom: 1px solid #9DDEFF;
	margin: 0.2em 0;
}

.history-list .left{
	flex-basis: 100%;
}

.history-list .right{
	flex-basis: 100%;
}

.history-list figure{
	display: inline-block;
}

@media(min-width: 600px){

	.history-list .left{
		flex-basis: 8em;
	}

	#profile .history-list .left{
		flex-basis: 32%;
		max-width: 20em;
		min-width: 7em;
	}

	.history-list .right{
		flex-basis: calc(100% - 10em);
	}

	#profile .history-list .left{
		text-align: center
	}

	#history .history-list .left{
		flex-basis: 10em;
		text-align: right;
	}

	#profile .history-list .left span{
		display: inline-block;
		width: 5em;
		text-align:justify;
		text-align-last:justify;
	}

	#histry .history-list .left span{
		display: inline-block;
		width: 8em;
	}

	#profile .history-list .right{
		flex-basis: calc(68% - 2em );
		padding-left: 0;
	}

	#history .history-list .right{
		flex-basis: calc(100% - 12em);
	}
}

/* pourin
-----------------------------------------------------------------------------*/
[class^="flex-pourin"]{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 20px 0;
}

[class^="flex-pourin"].rev{
	flex-direction: column-reverse;
}

[class^="flex-pourin"] figure{ max-width: 100%; margin: 0 auto 20px;}

[class^="flex-pourin"]::after{ content: "";clear: both;display: block;}

@media(min-width: 700px){

	[class^="flex-pourin"]{	display: block;}

	.flex-pourin-right figure{ float: left; width: 40%; max-width: 400px; margin: 0 6% 20px 0!important;}

	.flex-pourin-left figure{ float: right; width: 40%; max-width: 400px; margin: 0 0 20px 6%!important;}

	[class^="flex-pourin"]::after{
		content: "";
		clear: both;
	}
}
/* headline

/* rounded rectangle
-------------------------------------------------------------------*/
.rounded-rectangle{
	display: flex;
	width: 100%;
	height: 2.67em;
	justify-content: center;
	align-items: center;
	line-height: 1;
	border-radius: 1.4em;
	margin-bottom: 1em;
}

/* Drop cap
----------------------------------------------------------------- */
.dropcap{
	font-size: clamp(20px,calc( 3.76vw + 8.0px ),70px);/*320-1650*/
	font-weight: bold;
	color: var(--themeColor);
	max-width: 1550px;
	margin-inline: auto;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.dropcap h2{
	font-size: inherit;
	line-height: 1.1;
}
.dropcap h2:first-letter{
	font-size: 3.71em;
}

/*=========================================================================== */
/* プライバシーポリシー
============================================================================= */
#privacy_policy{ counter-reset: number 0;}

#privacy_policy > section{
	background-color: white;
	padding: var(--variableSpaceS);
}

#privacy_policy > section > section{
	padding-left: 1em;
}

#privacy_policy h2{
	display: block;
	font-size: var(--rfs30);
	font-weight: 700;
	margin-bottom: 0.8em;
}

#privacy_policy h3{
	font-weight: 700;
	margin-bottom: 0.8em;
}

#privacy_policy ul{
	margin-left: 1em;
	margin-bottom: 1em;
	line-height: 1.7;
}

#privacy_policy li{
	margin-bottom: 0.5em;
}

#privacy_policy .contact{
	line-height: 1.7;
}
/*=========================================================================== */
/* お問い合わせ エントリーフォーム
============================================================================= */
.contact-address{
	font-size: clamp(16px,calc( 5.00vw + 0.0px ),30px);
	background-color: white;
	padding: 1em;
	color: var(--themeColor);
}

.contact-address p{
	margin-bottom: 0;
	line-height: 1.3;
}
/*----------------------------------------------------------------------------- */
/* Contact Form
------------------------------------------------------------------------------*/

.wpcf7 {
	width: 100%!important;
	font-family: var(--gothicFont);
}

.wpcf7-form{ position: relative;}

.wpcf7 dl {
	display: flex;
	flex-wrap: wrap;
	margin: 2rem 1rem 4rem 1rem;
}
.wpcf7 dt {
	flex-basis: 100%;
	font-weight: var(--regularFontWeight);
}
.wpcf7 dd{
	flex-basis: 100%;
	margin: 0;
	font-weight: var(--regularFontWeight);
}

.wpcf7 select{
	padding: 0.5em;
	font-size: var(--rfs18);
	width: 100%;
}

.wpcf7 input:not([type='checkbox']),.wpcf7 textarea {
	padding: 1rem 1rem;
	box-sizing: border-box;
	width: 100%;
	font-size: var(--rfs18);
	font-family: var(--gothicFont);
	font-weight: var(--regularFontWeight);
}
.wpcf7 input[type="radio"]{display: inline-block; width: 1em;}

.wpcf7 input.p-postal-code{ width: 13em;}

.wpcf7 input[type="submit"]{
	border: none;
	color: white;
	font-size: var(--rfs24);
	width: 100%;
	max-width: 22em;
	height: 4.2em;
	background-color: var(--themeColor);
	cursor: pointer;
	border: 1px solid var(--themeColor);
	transition: var(--easeOutExpo)-in-out;
}

.wpcf7 input[type="submit"]:disabled{
	pointer-events: none
}

.wpcf7 input[type="submit"]:hover{
	background-color: white;
	color: var(--themeColor);
}

.wpcf7 input[type="number"] {
	display: inline-block;
	width: 9rem;
	padding: 1rem 0.3rem 1rem 1.8rem;
}
.wpcf7 .required {
	width: 1em;
	height: 1.66em;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: var(--accentColor);
	font-size: 1em;
	border-radius: 5px;
    transform: scale(0.8);
}
.wpcf7 .error {
	display: inline-block;
	        animation: blink 1s ease 5;

	-webkit-animation: blink 1s ease 5;
}
.wpcf7 textarea{
	box-sizing: border-box;
}

@keyframes blink {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.wpcf7 .left-top > div,
.wpcf7 .right-bottom > div {
	padding-right: 1em;
}
.wpcf7 .left-top > div {
	width: 100%;
	padding: 0.5rem 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 0.5em;
}

.wpcf7 .left-top .item-name{ line-height: 1; width: auto;}

.wpcf7-spinner{
	display: block;
	margin: auto;
}

@media (min-width: 750px){
	.wpcf7 dt {
		flex-basis: 11em;
	}
	.wpcf7 dd{
		flex-basis: calc(100% - 11em);
	}
}

.wpcf7-turnstile > div {
  text-align: center;
  margin-top: 1em;
}
/* プライバシーポリシー
----------------------------------------------------------------------------- */
#policy_wrap h2{
	font-size: var(--rfs40);
	font-family: var(--minchoFont);
	font-weight: 600;
	margin-bottom: 0.8em;
}

/* page_bg section_bg
----------------------------------------------------------------------------- */
#section_bg{
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 100%;
    background-color: #f0f0f0;
}

.sec-bg{
    background-color: #CBE7F8;
}

body.recruitment #section_bg .sec-bg:first-child,
body.tax-recruitment_type #section_bg .sec-bg{
	background-color: var(--accentColorLight);
}

body.entry-form #section_bg .sec-bg:first-child{
	background-color: var(--themeColor);
}

#page_bg{
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 100%;
    background-repeat: repeat-y;
    background-size: 100% auto;
}
body.home #page_bg{
    background-image: url(/images/home/bg_home.svg);
}

body.works #page_bg{
	background-image: url(/images/works/bg_works.svg);
}
body.interview #page_bg{
	background-image: url(/images/interview/bg_interview.svg);
}

body.career-development #page_bg{
	background-image: url(/images/career-development/bg_career.svg);
}

body.recruitment #page_bg,body.tax-recruitment_type #page_bg{
	background-image: url(/images/recruitment/bg_recruitment.svg);
}

body.single-staff_interview #page_bg{
	background-image: url(/images/interview/bg_interview.svg);
}

body.contact #page_bg,body.entry-form #page_bg,body.about-us #page_bg,
body.privacy-policy #page_bg {
	background-image: url(/images/contact/bg_contact.svg);
}
/*=========================================================================== */
/* ホーム
============================================================================= */


.content-wrapper{
	background-color: #f0f0f0;
}

#primary_content{
	padding-block: 15% 20%;
	position: relative;
}

#primary_content::after{
	content: "";
	position: absolute;
	z-index: 0;
	left: auto;
	right: 2%;
	bottom: 2%;
	width: 60%;
	background-image: url(/images/home/helmet.png);
	aspect-ratio: 1 / 0.74;
	background-size: contain;
	background-repeat: no-repeat;
}

@media(min-width: 1000px){
	#primary_content::after{
		width: 40%;
	}
}

#primary_content .grid-wrapper{
	position:relative;
	z-index: 1;
	width: auto;
	max-width: 1500px;
	margin-inline: 6%;
	display: grid;
	row-gap: 20px;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}

#primary_content .grid-wrapper h2{
	font-family: var(--marugoFont);
	color: var(--accentColor);
	font-size: clamp(68px,calc( 13.82vw + 23.8px ),162px);
	font-weight: 700;
	line-height: 1;
	margin-bottom: var(--rfs20);
	text-align: center;
}

#primary_content .grid-wrapper p{
	font-size: var(--rfs24);
}

@media(min-width: 600px){
	#primary_content .grid-wrapper{
		display: block;
	}
	#primary_content .grid-wrapper h2{
		text-align: right;
	}
	#primary_content .grid-wrapper figure{
		float: left;
		width: 44%;
		margin: 0 5% 20px 0;
	}
}

@media(min-width: 1000px){
	#primary_content .grid-wrapper{
		display: grid;
		grid-template-columns: 44% 51%;
		grid-template-rows: auto auto;
		column-gap: 5%;
	}
	#primary_content .grid-wrapper h2{
		font-size: 162px;
		grid-column: 1 / 3;
		grid-row: 1 / 2;
		text-align: right;
	}
	#primary_content .grid-wrapper figure{
		width: 100%;
		grid-column: 1 / 2;
		grid-row: 2/ 3;
	}
	#primary_content .grid-wrapper > div{
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}

}
@media(min-width: 1500px){
	#primary_content h2{
		grid-column: 2/ 3;
		grid-row: 1 / 2;
		text-align: left;
	}

	#primary_content .grid-wrapper figure{
		width: 100%;
		grid-column: 1 / 2;
		grid-row: 1/ 3;
	}
	#primary_content .grid-wrapper > div{
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
}

#points{
	position: relative;
}

#points .section-header{
	width: calc(100% - 20px);
	max-width: 1587px;
	margin-inline: auto;
	font-size: clamp(50px,calc( 15.56vw + 0.2px ),261px);
	position: relative;
	margin-bottom: var(--variableSpaceS);
}

#points .section-header::after{
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 1.2em;
	aspect-ratio: 1 / 1.044;
	background-image: url(/images/home/points.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
@media(min-width: 375px){
	#points .section-header{
		width: calc(100% - 36px);
	}

	#points .section-header::after{
		right: 3%;
	}
}
#points .section-header h2{
	font-size: inherit;
	font-family: var(--marugoFont);
	color: var(--themeColor);
	font-weight: 700;
	text-align: center;
}

#points .section-header h2 + div{
	font-size: clamp(17px,0.23em,60px);
	font-family: var(--gothicFont);
	font-weight: 700;
	color: var(--themeColor);
	text-align: center;
}

.points-wrap{
	max-width: 1113px;
	margin-inline: auto;
	position: relative;
}

.point{
	display: block;
	background-color: white;
	font-size: var(--rfs18);
	margin-bottom: var(--variableSpaceS);
}

@media(min-width: 650px){
	.point{
		display: grid;
		grid-template-columns: 33% 1fr;
		grid-template-rows: auto auto;
	}
}

.point figure{
	grid-column: 1 / 2;
	grid-row: 2 / 3;
}

.point .header{
	grid-column: 1 / 3;
	grid-row: 1 / 2;
	padding: 2em 2em 0;
}

.point .content{
	grid-column: 2 / 3;
	grid-row: 2 / 3;
	padding: 1em 2em;
}

@media(min-width: 650px){
	.point .content{
		padding: 0 2em 0;
	}
}

.point h3{
	font-size: clamp(20px,calc( 3.01vw + 10.4px ),42px);
	font-weight: 700;
	color: var(--themeColor);
	margin-bottom: 0.5em;
}

.point h4{
	font-size: 1.5em;
	font-weight: 700;
	color: #6E6E6E;
	margin-bottom: 0.5em;
}

@media(min-width: 1050px){
	.point figure{
		grid-column: 1 / 2;
		grid-row: 1 / 3;
	}
	.point .header{
		grid-column: 2 / 3;
		grid-row: 1 / 2;
	}
	.point .content{
		grid-column: 2 / 3;
		grid-row: 2 / 3;
	}
	.point h3{
		font-size: clamp(35px,calc( 4.61vw - 13.4px ),42px);
	}
}


#data{
	padding-block: 5% 15%;
}

#data > *{
	position: relative;
}

#data .section-header{
	width: calc(100% - 20px);
	max-width: 1360px;
	margin-inline: auto;
	font-size: clamp(50px,calc( 15.56vw + 0.2px ),261px);
	position: relative;
	margin-bottom: var(--variableSpaceS);
	z-index: 1;
}

#data .section-header::after{
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 1.067em;
	aspect-ratio: 1 / 1.082;
	background-image: url(/images/home/data_title.svg);
	background-size: contain;
	background-repeat: no-repeat;
}
@media(min-width: 375px){
	#data .section-header{
		width: calc(100% - 36px);
	}

	#data .section-header::after{
		right: 3%;
	}
}
#data .section-header h2{
	font-size: inherit;
	font-family: var(--marugoFont);
	color: var(--themeColor);
	font-weight: 700;
	text-align: center;
}

#data .section-header h2 + div{
	font-size: clamp(16px,0.23em,50px);
	font-family: var(--gothicFont);
	font-weight: 700;
	color: var(--themeColor);
	text-align: center;
}

#interview_launcher{
	position: relative;
	overflow: visible;
	background-image: url(/images/home/bg_interview.png);
	background-repeat: no-repeat;
	background-position: center 20%;
	background-size: contain;
	padding-block: 11% 5%;
}

#interview_launcher > *{
	position: relative;
	z-index: 1;
}

#interview_launcher::before{
	content: "";
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 70%;
	background-color: white;
	z-index: 0;

}
@media(min-width: 550px){
	#interview_launcher{
		background-position: center 30%;
	}
	#interview_launcher::before{
		height: 60%;
	}
}
@media(min-width: 900px){
	#interview_launcher{
		background-position: bottom;
		background-size: cover;
	}
	#interview_launcher::before{
		height: 0;
	}
}

#interview_launcher .section-header{
	width: 95%;
	max-width: 960px;
	border-radius: 0 3.6vw 3.6vw 0;
	background-color: white;
	font-size: clamp(50px,calc( 12.21vw + 10.9px ),133px);
	padding: 0.5em;
	text-align: right;
}

#interview_launcher .section-header > div{
	display: inline-block;
	text-align: left;
}

#interview_launcher h2{
	font-size: inherit;
	color: var(--accentColor);
	line-height: 1;
}

#interview_launcher h2 + div{
	font-size: 0.37em;
	color: #5CB7EF;
	line-height: 1;
}

.interview-launcher{
	max-width: 1382px;
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 2.5%;
	row-gap: 20px;
}

.interview-launcher > a{
	flex-basis: 48.75%;
}

@media(min-width: 550px){
	.interview-launcher > a{
		flex-basis: 31.66%;
	}
}

@media(min-width: 900px){
	.interview-launcher{
		flex-wrap: nowrap;
	}
	.interview-launcher > a{
		flex-basis: 18%;
	}
}

.interview-launcher .attr{
	font-size: clamp(13px,calc( 4.37vw - 1.0px ),23px);
	color: white;
	border-radius: 0.54em;
	text-align: center;
	padding: 1em;
}

@media(min-width: 550px){
	.interview-launcher .attr{
		font-size: clamp(14px,calc( 2.57vw - 0.1px ),23px);
	}
}

@media(min-width: 900px){
	.interview-launcher .attr{
		font-size: clamp(14px,calc( 1.58vw - 0.2px ),23px);
	}
}

.interview-launcher a:nth-child(odd) .attr{
	background-color: #00ACE0;
}

.interview-launcher a:nth-child(even) .attr{
	background-color: #FF7C7C;
}


.interview-launcher .initial{
	font-size: 2.6em;
	font-weight: bold;
	color: #DAFF0F;
	margin-bottom: 0.2em;
}

#shortcut_area{
	position: relative;
}

#shortcut_area .grid-wrapper{
	position: relative;
	max-width: 1369px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 4.7% 3.75vw;
}

/*=========================================================================== */
/* works こうかき建設の仕事
============================================================================= */
#road .dropcap h2:first-letter{
	color: #656565;
}

#road header figure{
	width: 10.2em;
	max-width: 35%;
	aspect-ratio: 1 / 0.59;
}

#river .dropcap h2:first-letter{
	color: #00ACE0;
}

#river header figure{
	width: 6.79em;
	max-width: 35%;
	aspect-ratio: 1 / 0.92;
}

.result-link a{
	display: block;
	width: 12em;
	padding: 0.5em 1em;
	border: 4px solid var(--themeColor);
	color: var(--themeColor);
	background-color: white;
	margin-inline: auto;
}

#management h2{
	font-size: var(--rfs50);
	font-weight: 700;
	color: var(--themeColor);
}

#management h3{
	color: var(--themeColor);
	font-size: var(--rfs36);
	font-weight: 500;
	margin-bottom: ;
}

#management .rfs36{
	color: var(--themeColor);
	line-height: 1.1;
	font-weight: 500;
}

#management #what_is{
	display: grid;
	grid-template-columns: 1fr 29%;
	grid-template-rows: auto auto;
	place-items: center start;
	column-gap: 20px;
	row-gap: 20px;
}

#management #what_is p{
	grid-column: 1 / 3;
	grid-row: 2 / 3;
}

#management #appeal h2{
	margin-block-end: 0.5em;
}

#management #appeal div{
	display: grid;
	grid-template-columns: 1fr 29%;
}

#management #appeal figure img{
	transform: translateY(-2em);
	margin-bottom: -2em;
}

#management #main_duties{
	display: grid;
	grid-template-columns: 1fr 29%;
}

#management #main_duties h2{
	margin-bottom: 0.5em;
}

#management #main_duties li{
	font-size: var(--rfs36);
	color: var(--themeColor);
}

#management #main_duties p{
	font-size: var(--rfs20);
	color: black;
}

#management #main_duties figure{
	display: grid;
	place-content: end;
}


/*=========================================================================== */
/* about-us 会社概要
============================================================================= */
body.about-us .section-header{
	font-size: clamp(20px,calc( 9.43vw - 0.2px ),80px);
	color: var(--accentColor);
}

body.about-us #history .section-header{
	color: var(--themeColor);
}

body.about-us .section-header h2{
	font-size: inherit;
	font-family: var(--marugoFont);
	color: inherit;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	margin-bottom: 0.3em;
}

body.about-us .section-header h2 + div{
	font-size: clamp(17px,0.5em,40px);
	font-family: var(--gothicFont);
	font-weight: 700;
	color: inherit;
	text-align: center;
}

body.about-us table{
	width: 100%;
}

body.about-us table tr{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	text-align: left;
	padding: 0.7em 0.5em;
    border-bottom: 1px solid #aaa;
}

@media(min-width: 800px){
	body.about-us table tr{
		grid-template-columns: 7em 1fr;
	}
}

body.about-us table th{
	font-weight: 700;
}

body.about-us table ol{
	margin-left: 1em;
}

body.about table ul{
	list-style: none;
}

/*=========================================================================== */
/* career-development 成長支援
============================================================================= */
body.career-development #primary{
	position: relative;
	aspect-ratio: 1920 / 200;
}

body.career-development #primary figure{
	position: absolute;
	top: auto;
	bottom: 0;
	left: 8%;
	width: 16%;
}

.development{
	background-color: white;
	padding: var(--variableSpaceS);
	display: grid;
	column-gap: 30px;
	row-gap: 30px;
}

.development h2{
	color: #5A9100;
	font-weight: 500;
	font-size: var(--rfs40);
	place-items: center start ;
}
#training{
	margin-top: var(--variableSpaceM);
}

#training,#qualification,#benefits{
	grid-template-columns: 1fr 15.7%;
	grid-template-rows: auto auto;
}

#training h2 , #qualification h2,#benefits h2{
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	display: grid;
}

#training figure , #qualification figure , #benefits figure{
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

#training p , #qualification p {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
}

#benefits .grid-wrapper{
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 0.5em;
	grid-column: 1 / 3;
	grid-row: 2 / 3;
}

#benefits .grid-wrapper > div:nth-child(even){
	margin-bottom: 1em;
}

@media(min-width: 500px){
	#benefits .grid-wrapper{
		grid-template-columns: 9em 1fr;
	}
}

@media(min-width: 900px){
	#benefits .grid-wrapper{
		grid-column: 1 / 2;
	}
}

.bold{ font-weight: 700;}

body.career-development #data .section-header h2,
body.career-development #data .section-header h2 + div{
	color: var(--accentColor);
}


/*=========================================================================== */
/* recruitment 採用情報
============================================================================= */

#flow .section-header{
	font-size: clamp(50px,calc( 15.56vw + 0.2px ),191px);
	color: var(--accentColor);
}
#flow .section-header h2{
	font-size: inherit;
	font-family: var(--marugoFont);
	color: inherit;
	font-weight: 700;
	text-align: center;
}

#flow .section-header h2 + div{
	font-size: clamp(17px,0.23em,60px);
	font-family: var(--gothicFont);
	font-weight: 700;
	color: inherit;
	text-align: center;
}

#flow_chart{
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 30px;
	margin-bottom: 1em;
}

#flow_chart .row{
	background-color: white;
	padding: 2em;
}

#flow_chart .row > div{
	display: flex;
	align-items: center;
	column-gap: 1em;
	font-size: 1.3em;
}

#flow_chart #flow_second.row > div{
	margin-bottom: 1em;
}

#flow_chart .row > div span{
	display: grid;
	place-items: center;
	font-size: 2em;
	font-weight: 700;
	width: 1.5em;
	height: 1.5em;
	color: #656565;
	border: 1px solid currentColor;
	border-radius: 0.75em;
	background-color: #B8D900;
	flex-shrink: 0;

}

#flow_chart dl{
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 1em;
}

@media(min-width: 600px){
	#flow_chart dl{
		grid-template-columns: 10em 1fr;
	}
}

#flow_chart dt{
	color: var(--themeColor);
	font-weight: 700;
}

#flow_chart dt span{
	display: block;
	font-size: 0.8em;
	font-weight: 400;
}

#flow a{
	color: var(--themeColor);
	text-decoration: underline;
}
#job_description .section-header{
	font-size: clamp(50px,calc( 15.56vw + 0.2px ),131px);
	color: var(--accentColor);
}
#job_description .section-header h2{
	font-size: inherit;
	font-family: var(--marugoFont);
	color: inherit;
	font-weight: 700;
	text-align: center;
	line-height: 1;
	margin-bottom: 0.3em;
}

#job_description .section-header h2 + div{
	font-size: clamp(17px,0.23em,60px);
	font-family: var(--gothicFont);
	font-weight: 700;
	color: inherit;
	text-align: center;
}


[class^="rct-launcher"]{
	display: grid;
	grid-template-columns: 29.5% 29.5% 29.5%;
	grid-template-rows: auto;
	column-gap: 5.3vw;
	row-gap: 30px;
	max-width: 1400px;
	margin-inline: auto;
}

.rct-launcher-1{
	grid-template-columns: 1fr;
}

.rct-launcher-2{
	grid-template-columns: 49% 49%;
	column-gap: 2%;
}

.rct-launcher-3{
	grid-template-columns: 49% 49%;
	column-gap: 2%;
}

@media(min-width: 700px){
	.rct-launcher-3{
		grid-template-columns: 29.5% 29.5% 29.5%;
		column-gap: 5.75%;
	}
}

.rct-launcher-4{
	grid-template-columns: 49% 49%;
	column-gap: 2%;
}

@media(min-width: 1150px){
	.rct-launcher-4{
		grid-template-columns: 24% 24% 24% 24%;
		column-gap: 1.33%;
}
}

[class^="rct-launcher"] a{
	display: block;
	border: 0.45em solid var(--themeColor);
	padding: 0.5em;
	width: 100%;
	max-width: 412px;
	margin-inline: auto
}

.jpn-attr{
	font-size: clamp(17px , calc( 1.22vw + 13.1px ) , 30px);
	font-weight: 700;
	color: var(--themeColor);
	text-align: center;
}

.eng-attr{
	font-size: var(--rfs20);
	color: var(--themeColor);
	text-align: center;
}

.single-job_description .page-content{
	padding-top: var(--variableSpaceM);
}

/*=========================================================================== */
/* job_description 募集要項
============================================================================= */
body.tax-recruitment_type h2,
body.single-job_description h2{
	text-align: center;
	font-size: var(--rfs40);
	font-weight: 700;
	color: #008590;
	margin-bottom: var(--variableSpaceS);
}

body.tax-recruitment_type h3,
body.single-job_description h3{
	text-align: center;
	font-size: var(--rfs30);
	font-weight: 700;
	color: #008590;
	margin-bottom: var(--variableSpaceS);
}

.description-table{
	display: grid;
	grid-template-columns: 11em 1fr;
}
.description-table div{
	padding: 1em;
	border-bottom: 4px solid #008590;
	display: grid;
	place-items: center start;
}

.description-table div:nth-child(odd){
	font-weight: 700;
}

.entry-form-button{
	display: grid;
	width: 12em;
	margin-inline: auto;
	font-size: var(--rfs30);
	color: white;
	background-color: #008590;
	grid-template-columns: 1fr;
	place-items: center;
	margin-bottom: var(--variableSpaceM);
	text-align: center;
	padding: 1em 0.5em;
}

.entry-form-button p{
	margin: 0;
}
/*=========================================================================== */
/* interview スタッフインタビュー
============================================================================= */

body.interview #primary{
	position: relative;
}

body.interview #primary figure{
	position: absolute;
	top: auto;
	bottom: 0;
	right: 8%;
	width: 18%;
}

body.interview #interview_launcher{
	background: none;
}

body.interview #section_bg .sec-bg:nth-child(3){
	padding-block: 15% 5%;
	mask-image: url(/images/interview/mask_interview.png);
	mask-position: top;
	mask-size: contain;
	mask-repeat: no-repeat;
}

body.interview #interview_launcher::before{
	content: none;
}

/*=========================================================================== */
/* staff_interview シングル スタッフインタビュー
============================================================================= */
.single-staff_interview h1.page-title > div{
	color: white;
	padding: 0.5em;
	font-size: clamp(14px,calc( 2.84vw + 4.9px ),39px);
}

.single-staff_interview .initial{
	font-size: 2.8em;
	font-weight: 700;
	color: #DAFF0F;
}

.single-staff_interview .department{
	font-size: 1.1em;
	font-weight: 700;
}

.single-staff_interview .page-content{
	padding-top: var(--variableSpaceM);
}

.single-staff_interview section{
	max-width: 1600px;
	margin-right: 0;
	margin-left: 36px;
}

@media(min-width: 1636px){
	.single-staff_interview section{
		margin-left: auto;
	}
}

.single-staff_interview section h2{
	width: calc(100% - 36px);
	color: #00ACE0;
	font-size: clamp(18px,calc( 1.67vw + 12.7px ),40px);
	font-weight: 700;
	margin-bottom: 0.5em;
	display: block;
	padding-left: 2em;
	position: relative;
}

.single-staff_interview section h2::before{
	content: "";
	width: 1.9em;
	height: 0.625em;
	border-bottom: 0.125em solid #00ACE0;
	display: inline-block;
	vertical-align: top;
	position: absolute;
	left: 0;
}

.single-staff_interview section p{
	width: calc(100% - 36px);
	max-width: 900px;
}

.single-staff_interview section p span{
	font-weight: 700;
	font-size: 1.3em;
	color: #656565;
}

.single-staff_interview section::after{
	content: "";
	clear: both;
}

.single-staff_interview section > div > figure.work{
	width: 40%;
	max-width: 700px;
	float: right;
	padding-left: 3.1%;
}

.single-staff_interview section > div > figure.message img{
	margin-left: 0;
}

.single-staff_interview #interview_launcher{
	padding-top: 15%;
	background-image: url(/images/interview/bg_single_interview.png);
	background-position: center 5%;
}

@media(min-width: 550px){
	.single-staff_interview #interview_launcher{
		background-position: center 10%;
	}
}

.single-staff_interview #interview_launcher::before{
	background-color: #CBEBFF;
	height: 75%;
}
@media(min-width: 550px){
	.single-staff_interview #interview_launcher::before{
		background-color: #CBEBFF;
		height: 60%;
	}
}

@media(min-width: 900px){
	.single-staff_interview #interview_launcher::before{
		background-color: #CBEBFF;
		height: 30%;
	}
}
