﻿/* フロント専用 基本設定
/* 編集画面には適用しなくてよい
/* 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; overflow: hidden;}

.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;
	background-color: rgba(255,255,255,0.7);
	position: fixed;
	color: black;
	backdrop-filter: blur(30px);
}

body.home.modal-active #site_header,
body.modal-active #site_header{
	background-color: transparent;
	z-index: 5;
}

#site_header_inner{
	display: flex;
	gap: 2%;
	align-items: center;
	height: 100%;
	margin-left: 260px;
	margin-right: 36px;
}

#site_header_inner .header-titles{
	height: 100%;
	padding: 5px;
	display: grid;
	place-items: center;
	position: absolute;
	left: 18px;
}

@media(min-width: 700px){
	#site_header_inner .header-titles{
		left: 36px;
	}
}

.custom-logo-link{
	display: block;
	position: relative;
	max-width: 194px;
}

#site_header_inner .header-titles .dt-logo{
	object-fit: contain;
	height: 100%;
	width: auto;
	transition: opacity 0.3s 0.2s ease;
	margin-bottom: 15px;
}

/* Header Navigation
-----------------------*/
/* Header Navigation Wrapper*/
#header_navigation_wrapper{
	flex-grow: 1;
	font-size: var(--fontSize18);
	height: 100%;
}
/* Primary Menu */
#primary_menu_wrapper{
	display: none;
}

@media(min-width: 1150px){
	#primary_menu_wrapper{
		display: flex;
		justify-content: flex-end;
		max-width: 1180px;
		gap: 3%;
		height: 100%;
		margin-inline: auto 0;
		font-size: clamp(16px,calc( 1.60vw - 2.4px ),20px);
		font-weight: 700;
	}

	#primary_menu,#additional_menu{
		display: flex;
		max-width: 1162px;
		flex-grow: 1;
		justify-content: space-between;
		align-items: center;
		height: 100%;
		font-family: var(--gothicFont);
	}
	#additional_menu{
		flex-grow: 0;
		column-gap: 1em;
		font-size: 0.8em;
	}

	#primary_menu > li{
		flex-grow: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: relative;
		height: 3em;
		transition: all 0.3s ease;
	}

	@media(hover: hover){
		#primary_menu > li:hover > a{
			opacity: 0.5;
		}
	}

	#primary_menu a{
		transition: color 0.3s ease;
	}
}

[class*="additional"]{
	color: white;
	flex-grow: 0;
	position: relative;
	height: 3.44em;
	border-radius: 1.72em;
	width: 16.25em;
	padding-inline: 2em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	transition: opacity 0.3s ease;
}

@media(hover: hover){
	[class*="additiona"]:hover{
		opacity: 0.7;
	}
}

.additional1{
	background: linear-gradient(to right,#DD5500,#FFD340);
}

.additional2{
	background: linear-gradient(to right,#2DB0C9,#34DDAD);
}

[class*="additional"]::after{
	content: "";
	display: inline-block;
	width: 1em;
	height: 0.625em;
	background-image: url(../../../../images/common/right_arrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

/* 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: 10em;
	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; }


/* Mobile Nav Toggle
   hamburger menu button
------------------------------------------------------------------- */
#nav_toggle_wrapper{
	width: 30px;
	height: 40px;
	display: block;
	z-index: 5;
	margin-right: 0;
}

@media(min-width: 1150px){
	#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: black;
	background-color: transparent;
	cursor: pointer;
	z-index: 100;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 11px;
	font-weight: 900;
	text-align-last: justify;
}

body.modal-active #mobile_nav_toggle{
	background-color: transparent;
}

#mobile_nav_toggle svg{
	width : 30px;
	height : 11px;
	display: block;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease;
	z-index: 1;
}

@media(min-width: 700px){
	#mobile_nav_toggle svg{
		width : 50px;
		height : 11px;
	}
}

#mobile_nav_toggle .close{ display: none;}
#mobile_nav_toggle.active .close{display: inline-block;}
#mobile_nav_toggle.active .open{ display: none;}


svg rect#u1, svg rect#l1 ,svg rect#m1,svg rect#m2,.button-text{
	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: 30px;
	height: 11px;
	transform: rotate(180deg);
}

#mobile_nav_toggle.active rect#m1{
	transform: rotate(17deg) scale(1.065);
	transform-origin: right;
}
#mobile_nav_toggle.active rect#m2{
	transform: rotate(-17deg) scale(1.065);
	transform-origin: left;
}
#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; bottom: 50px; 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 : auto; transition : opacity 0.05s ease-out; opacity : 1; }

.menu-modal-inner{
	display: block;
	overflow : auto;
	justify-content : stretch;
	width : 100%;
	padding: 60px 0 50px;
	transition : transform 0.2s ease-in, opacity 0.2s ease-in;
	transform : translateX(150rem);
	opacity : 1;
	background : white;
	font-size: var(--fontSize20);
}

#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-menu
*/

#modal_main{
	width : calc(100vw - var(--sbw));
	max-width: 400px;
	list-style-type: none;
	display: grid;
	column-gap: 10px;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.7;
	margin-bottom: var(--variableSpaceS);
	margin-inline: auto;
	padding-inline: 1em;
}

#modal_main > li{
	border-bottom: 1px solid #CECECE;
}

@media(min-width: 500px){
	#modal_main{
		font-size: var(--fontSize18);
	}
}

@media(min-width: 1150px){
	#modal_main{
		display: none;
	}
}

#modal_main > li > a{
	display: block;
	color: var(--themeColor);
	text-align: left;
	padding: 10px 5px;
}

#modal_main li:hover > a{
	color: #FFD050;
}

#modal_main a[tabindex="-1"]{
	pointer-events: none;
}

#modal_main a:not([tabindex="-1"]){
	display: flex;
}

#modal_main .sub-menu{
	list-style-type: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	font-size: var(--rfs16);
	font-weight: 700;
	margin-block-end: 10px;
}

@media(min-width: 400px){
	#modal_main .sub-menu{
		padding-left: 10px;
	}
}

/*	modal add
/* -------------------------------------------------------------------------- */
#modal_add{
	font-size: 16px;
	font-weight: 700;
	display: grid;
	place-items: center;
	row-gap: 20px;
}


/*	Page Header
/* -------------------------------------------------------------------------- */
body.home #page_header{
	position : relative;
	z-index : 3;
	height: auto;
	background-color: white;
	overflow: hidden;
	display: flex;
	justify-content: center;
	margin-top: var(--headerHeight);
}

@media(min-width: 700px){
	body.home #page_header{
		margin-top: 0;
	}
}

body:not(.home) #page_header{
	position : relative;
	z-index: 1;
	display : flex;
	flex-wrap: wrap;
	align-items : center;
	justify-content : center;
	background-color: var(--bodyBgColor);
	height:600px;
}

body:not(.home) #page_header.small-header{
	height: 400px;
}

@media(min-width: 1000px){
	body:not(.home) #page_header{
		height: 540px;
	}
	body:not(.home) #page_header.small-header{
	height: 500px;
}
}

.title-wrap{
	text-align: center;
	position: absolute;
}

h1.page-title{
	display: grid;
	row-gap: var(--rfs50);
	text-align: left;
	color: white;
}

h1.page-title .jp{
	font-size: var(--rfs60);
	font-weight: 700;
}

h1.page-title .eng{
	text-transform: lowercase;
	font-size: var(--fontSize30);
	font-family: var(--gothicFont);
	font-weight: 900;
}
h1.page-title .eng::first-letter {
  text-transform: capitalize;  /* 先頭文字だけ大文字化 */
}

.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(--fontSize100);
	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: 1000px){
	.featured-media{
		height: 540px;
	}
}

.featured-media-inner{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.featured-media img{
	object-fit: cover;
	object-position: bottom;
	width: 100%;
	height: 100%;
}

@media(min-width: 1000px){
	.featured-media img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

body.company-profile .featured-media img{
	object-position: 90% 10%;
}


	body.kaiseimaru .featured-media img{
		object-position: left 70%;
	}
}




/* billboard Youtube Movie
----------------------------------------------------------------------------- */

#billboard{
	position: relative;
	width: 150vw;
	height: 84vw;
	aspect-ratio: 16 / 9;
	background-color: white;
}

@media(min-width: 800px){
	#billboard{
		width: 1251px;
		height: 703px;
	}

}
@media(min-width: 1251px){
	#billboard{
		width: 100%;
		height: auto;
	}
}

#billboard::after{
	content: "";
	width: 100%;
	aspect-ratio: 1920 / 220;
	position: absolute;
	left: 0;
	bottom: -1%;
	background-image: url(/images/top/billboard_bottom.png);
	background-size: contain;
	background-repeat: repeat-x;
}

#billboard #movieContainer{
	aspect-ratio: 16 / 9;
	position: absolute;
    width: 100%;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
	pointer-events: none;
}

#billboard iframe{
	width: 100%;
	height: 100%;
    aspect-ratio: 16 / 9;
    position: absolute;
    top: -50%;

    transform: translateY(calc(50% - 50px)) scale(1.05);
}


/*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(--fontSize30);
}

.entry-title a{ text-decoration: none; color: inherit; }

.post-date{
	font-size: var(--fontSize18);
	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(--footerBgColor);
	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(--fontSize20);
	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(--fontSizeS);
	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(--fontSizeM);
	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(--fontSize18);
	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(--fontSize20);
	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(--fontSizeL);
		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 : var(--variableSpaceS) 0 0;
	position : relative;
	background-color : white;
	color: var(--footerTextColor);
	font-size : clamp(12px,calc( 0.56vw + 10.2px ),18px);
	z-index: 2;
}

#site_footer .footer-inner{
	display: grid;
	grid-template-columns: 1fr;
	place-items: center;
}

@media(min-width: 900px){
	#site_footer .footer-inner{
		grid-template-columns: auto auto;
		justify-content: space-between;
		place-items: unset;
	}

}

#site_footer .company-type{
	font-size: var(--rfs20);
	font-weight: 400;
	text-align: center;
}

#site_footer .company-name{
	font-size: var(--rfs24);
	font-weight: 900;
	text-align: center;
}

#site_footer .company-address{
	font-size: var(--rfs18);
	font-weight: 500;
}

@media(min-width: 500px){
	#site_footer .company-type{
		font-size: var(--rfs24);
		font-weight: 700;
		text-align: left;
	}

	#site_footer .company-name{
		font-size: var(--rfs24);
		font-weight: 900;
		text-align: left;
	}

	#site_footer .company-address{
		font-size: var(--rfs24);
		font-weight: 700;
	}
}

#footer_add {
    font-size: var(--rfs20);
    font-weight: 700;
    display: grid;
    row-gap: 20px;
	place-items: center;
}

@media(min-width: 900px){
	#footer_add {
		place-items: unset;
	}
}

#footer_add .additional1{ order: 2}

#footer_add .additional1{ order: 1}

#footer_main{
	list-style-type: none;
	display: grid;
	font-size: 16px;
	font-weight: 700;
	grid-template-columns: 1fr 1fr;
	column-gap: 1.8em;
	row-gap: 20px;
	text-align: left;
}

#footer_main > li{
	color: var(--themeColor);
	font-size: var(--rfs24);
	font-weight: 700;
}

@media(min-width: 500px){
	#footer_main > li{
		font-size: var(--rfs30);
	}
}

#footer_main .sub-menu{
	list-style-type: none;
	font-size: var(--rfs20);
	color: black;
	margin-block-start: 1em;
}

#footer_main .sub-menu > li{
	margin-bottom: 1em;
}

/* ページトップに戻る
----------------------------------------------------------------------------- */

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(--fontSize18) * 3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/*=========================================================================== */
/* Google Map embed
============================================================================= */

.ggmap{
	position: relative;	overflow: hidden; max-width: 100%; height: 282px;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;
	}

	.history-list .right{
		flex-basis: calc(100% - 10em);
	}
}

/* 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*/
.section-header .sub-title{
    font-size: var(--rfs30);
    font-weight: 900;
    color: var(--themeColor);
	margin-bottom: var(--variableSpaceS);
}

.section-header h2{ font-size: var(--rfs60); font-weight: 700;}

body:not(.home) h2{
	font-size: var(--rfs60);
	font-weight: 700;
	margin-bottom: var(--variableSpaceS);
}

body:not(.home) h2.tc{ color: var(--themeColor);}



/*grid-setting
----------------------------------------------------------------- */
.grid-type-1{
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 30px;
}

.grid-type-1.rev{
	grid-template-columns: 1fr;
}

.grid-type-1.rev .text-block{
	order: 1;
}

.grid-type-1.rev .image-block{
	order: 2;
}
@media(min-width: 900px){
	.grid-type-1{
		grid-template-columns: 1fr 38.1%;
		column-gap: 6%;
	}

	.grid-type-1.rev{
		grid-template-columns: 38.1% 1fr;
	}

	.grid-type-1.rev .text-block{
		order: 2;
	}

	.grid-type-1.rev .image-block{
		order: 1;
	}

}

section [class*="additional"]{
	margin-inline: auto;
}
/*=========================================================================== */
/* top page
============================================================================= */
#home_message header{ text-align: center;}

body.home section{
	background-color: white;
}

#home_launcher{ position: relative;}

#home_launcher::after{
	content: "";
	width: 100%;
	aspect-ratio: 1920 / 150;
	position: absolute;
	bottom: 0;
	background-image: url(../../../../images/home/launcher_bottom.png);
}

#contents_launcher{
	display: grid;
	grid-template-columns: 1fr;
	row-gap: var(--rfs30);
}
#contents_launcher > div{
	box-shadow: 2px 2px 6px  rgba(54,209,255,0.1);
	background-color: white;
}

#contents_launcher a{
	display: flex;
	justify-content: space-between;
	padding-block: 1.5em;
	font-weight: 700;
}

#contents_launcher svg{ width: 1em; height: 1em; color: var(--themeColor); margin: 0;}



/*=========================================================================== */
/* 会社概要
============================================================================= */
.profile-row{ border-top: 1px solid #BCBCBC; padding-block: 1.5em; font-weight: 500;}

.profile-row.bb{ border-bottom: 1px solid #BCBCBC;}

.profile-row .item-name{
	color: var(--themeColor);
}

.profile-row .additional2{
	margin-left: 0;
	font-size: var(--rfs16);
	margin-block: 1.5em 0;
}

#profile_bottom{
	aspect-ratio: 1920 / 420;
	width: 100%;
	min-height: 200px;
}

#profile_bottom img{
	object-fit: cover;
	object-position: right center;
	height: 100%;
}
/*=========================================================================== */
/* プライバシーポリシー
============================================================================= */
#privacy_policy{ counter-reset: number 0;}

#privacy_policy h2{
	display: flex;
	gap: 0.5em;
	align-items: center;
	margin-bottom: 0.8em;
}

#privacy_policy h2::before{
	counter-increment: number 1;
	content: counter(number)".";
	width: 1em;
	height: 1em;
	display: block;
}

/*=========================================================================== */
/* お問い合わせ
============================================================================= */

/*----------------------------------------------------------------------------- */
/* 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(--fontSizeR);
	width: 100%;
}

.wpcf7 input:not([type='checkbox']),.wpcf7 textarea {
	padding: 1rem 1rem;
	box-sizing: border-box;
	width: 100%;
	font-size: var(--fontSizeR);
	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(--fontSize24);
	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(--themeColor);
	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;
}