/* フロント専用 基本設定
/* 編集画面には適用しなくてよい
/* 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: 55px;
	z-index: 5;
	position: fixed;
	background-color: white;
	color: black;
	transition: height 0.3s ease;
}

@media(min-width: 1000px){
	#site_header{
		height: 100px;
	}
	#site_header.compact{
		height:  70px;
	}

}

#site_header_inner{
	display: flex;
	column-gap: 30px;
	align-items: center;
	height: 100%;
}

#site_header_inner .header-titles{
	height: 100%;
	padding: 5px;
	display: grid;
	place-items: center;
}

.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;
}

body.modal-active #site_header_inner .header-titles .dt-logo{
	opacity: 0;
}

/* Header Navigation
-----------------------*/
/* Header Navigation Wrapper*/
#header_navigation_wrapper{
	flex-grow: 1;
	font-size: var(--rfs18);
	height: 100%;
	max-width: calc(50% + 383px);
}

@media(min-width: 1920px){
	#header_navigation_wrapper{
		max-width: 1300px;
	}
}

/* Primary Menu */
#primary_menu_wrapper{
	display: flex;
	justify-content: flex-end;
	max-width: 1180px;
	gap: 2%;
	height: 100%;
	margin-inline: auto 0;
}

#primary_menu{
	display: none;
}

@media(min-width: 1000px){
	#primary_menu{
		display: flex;
		max-width: 851px;
		flex-grow: 1;
		justify-content: space-between;
		height: 100%;
		font-family: var(--gothicFont);
		font-weight: 400;
		font-size: var(--rfs16);
	}

	#primary_menu > li{
		flex-grow: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
	}

	#primary_menu a{
		transition: color 0.3s ease;
	}

	#primary_menu li:hover > a{
		color: var(--themeColor);
	}
}
/* Primary Menu Sub Menu
------------------------------------------------------------------------ */

#primary_menu .sub-menu{
	list-style: none;
	font-size: var(--rfs16);
	position: absolute;
	z-index: 1;
	top: 100%;
	right: 0;
	left: 50%;
	width: 11em;
	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 1rem 1rem 1em;
	transition : background-color 0.15s linear;
	color : var(--bodyFontColor);
	border : none;
	background : transparent;
}


/* Mobile Nav Toggle
   hamburger menu button
------------------------------------------------------------------- */
#nav_toggle_wrapper{
	width: 50px;
	height: 50px;
	display: block;
	z-index: 5;
	padding: 5px;
	margin-right: 18px;
}


@media(min-width: 1000px){
	#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;
}

#mobile_nav_toggle svg{
	width : 30px;
	height : 17.3px;
	display: block;
	position: relative;
	overflow: hidden;
	transition: all 0.5s ease;
	z-index: 1;
}

@media(min-width: 700px){
	#mobile_nav_toggle svg{
		width : 40px;
		height : 26px;
	}
}
.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{
	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; 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 : 55px;
	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: 20px 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 1fr;
	grid-template-rows: auto;
	color: white;
	font-size: var(--rfs16);
	line-height: 1.7;
	margin-bottom: var(--variableSpaceS);
	max-width: 32em;
	margin-inline: auto;
}

@media(min-width: 500px){
	.modal-menu{
		font-size: var(--rfs18);
	}
}

@media(min-width: 1000px){
	.modal-menu{
		display: none;
	}
}

.modal-menu > li > a{
	display: block;
	background-color: var(--themeColor);
	text-align: left;
	padding: 10px 5px 10px 1em;
	margin-block-end: 10px;
	font-weight: 600;
}

.modal-menu li:hover > a{
	color: #FFD050;
}

.modal-menu a[tabindex="-1"]{
	pointer-events: none;
}

.modal-menu a:not([tabindex="-1"]){
	display: flex;
}

.modal-menu a::before{
	content: "〉";
	width: 1em;
	height: 1em;
	display: inline-block;
}

.modal-menu .sub-menu{
	list-style-type: none;
	padding-left: 1em;
}

@media(min-width: 400px){
	.modal-menu .sub-menu{
		padding-left: 1.5em;
	}
}

.modal-menu .li-biz-info{
	grid-column: 1 / 3;
	grid-row: 1 / 10;
}

.modal-menu .li-biz-info > a{
	text-align: center;
}

.modal-menu .li-biz-info > .sub-menu{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto;
}

	.modal-menu .li-carlife{
		grid-column: 1 / 2;
		grid-row: 1 / 9;
	}

	.modal-menu .li-home-energy{
		grid-column: 2 / 3;
		grid-row: 1 / 9;
	}
/*	Page Header
/* -------------------------------------------------------------------------- */
body.home #page_header{
	position : relative;
	z-index : 3;
	height: auto;
	background-color: white;
	overflow: hidden;
}

body.home #page_header.transparent{
	opacity: 0;
	z-index: 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: 620px;
	}
	body:not(.home) #page_header.small-header{
	height: 500px;
}
}

.title-wrap{
	text-align: center;
	position: absolute;
}

h1.page-title{
	display: inline-block;
	max-width: 800px;
	font-family: var(--minchoFont);
	font-size: var(--rfs40);
	text-align: center;
	color: white;
}

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: var(--rfs60);
	font-family: var(--englishFont);
	letter-spacing: 0.2em;
	padding-left: 0.2em;
}

.search h1.page-title{ overflow : hidden; max-width : 95vw; word-break : keep-all; }

/* Parallax bg
------------------------------------------------------------------------------ */
#parallax_bg{
	position: fixed;
	top: 0;
	z-index: 0;
	width: 100%;
	height: 100vh;
	background-image: url(/images/common/parallax_bg.jpg);
	background-size: cover;
}

/* parallax window
------------------------------------------------------------------------------ */
.parallax-window{
	height: 55svh;
	width: 100%;
}

/* Featured Media
------------------------------------------------------------------------------*/
.featured-media{
	width: 100%;
	position: relative;
	height: 100%;
}

@media(min-width: 1000px){
	.featured-media{
		height: 620px;
	}
}

.featured-media-inner{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.featured-media img{
	position: fixed;
	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.kaiseimaru .featured-media img{
		object-position: left 70%;
	}
}



/* billboard
----------------------------------------------------------------------------- */
#billboard{
	display: grid;
	place-items: center;
	aspect-ratio: 800 / 1000;
	background-size: auto 110%;
	background-position: 20% bottom;
	min-width: 100vw;
	transition: opacity 2s cubic-bezier(0.37, 0, 0.63, 1);
	color: white;
	font-family: var(--minchoFont);
	position: relative;
	font-size: clamp( 18px, calc( 4.79vw + 6.7px ) , 30px );
}

@media(min-width: 800px){
	#billboard{
		aspect-ratio: 1920/1080;
		height: 100vh;
		background-size: cover;
		background-position: 80% bottom;
	}
}

@media(min-width:1937px){
	#billboard{
		max-height: none;
	}
}

#billboard_title{
	transform: translateY(-50%);
	width: 80%;
    margin-inline: auto;
    max-width: 850px;
}

/*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
============================================================================= */


/*	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(--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(--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(--rfs16);
	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 : var(--variableSpaceS) 0 0;
	position : relative;
	background-color : var(--themeColor);
	color: var(--footerTextColor);
	font-size : clamp(12px,calc( 0.56vw + 10.2px ),18px);
	z-index: 2;
	font-size: var(--rfs18);
}

.footer-grid{
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 20px;
	row-gap: 20px;
}

.footer-grid.btm-line{
	border-block-end: 1px solid white;
	padding-block-end: 20px;
	margin-block-end: 20px;
}

@media(min-width: 800px){
	.footer-grid{
		grid-template-columns: 1fr 500px;
	}
}

.footer-grid > *{
	margin-block-start: 0!important;
}

#menu-footer{
	display: grid;
	grid-template-columns: auto auto auto;
	list-style-type: none;
	column-gap: 1em;
	row-gap: 1em;
	font-size: var(--rfs14);
}

@media(min-width: 375px){
	#menu-footer{
		font-size: var(--rfs18);
	}
}

@media(min-width: 500px){
	#menu-footer{
	column-gap: 2em;
	}
}

#menu-footer li{
	transition: opacity 0.3s ease;
}

@media(hover: hover){
	#menu-footer li:hover{
		opacity: 0.2;
	}
}

#menu-footer li[class*='col-1']{
	grid-column: 1 / 2;
}

#menu-footer li[class*='col-2']{
	grid-column: 2 / 3;
}

#menu-footer li[class*='col-3']{
	grid-column: 3 / 4;
}

#menu-footer li[class*='row-1']{
	grid-row: 1 / 2;
}

#menu-footer li[class*='row-2']{
	grid-row: 2 / 3;
}

#menu-footer li[class*='row-3']{
	grid-row: 3 / 4;
}

#menu-footer li[class*='row-4']{
	grid-row: 4 / 5;
}

.footer-buttons{
	display: grid!important;
	grid-template-columns: 1!important;
	row-gap: 20px!important;
	width: 18.5em!important;
	margin-inline: auto;
}

@media(min-width: 800px){
	.footer-buttons{
		margin-inline: 0!important;
	}
}

.footer-buttons a{
	display: block;
	position: relative;
	transition: opacity 0.3s ease;
}

.footer-buttons a:after{
	content: "〉";
	color: var(--themeColor);
	width: 1em;
	height: 1em;
	position: absolute;
	right: 1em;
	top: 50%;
	transform: translateY(-50%);
}

.footer-buttons a:hover{
	opacity: 0.7;
}
/* ページトップに戻る
----------------------------------------------------------------------------- */

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 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;}

.hoverType-1{
	transition: opacity 0.3s ease;
}

@media(hover: hover){
	.hoverType-1:hover{
		opacity: 0.2;
	}
	.
}



/* 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



/*flex-setting

/*contents-link-button*/

.contents-link-button{
	width: 15em;
	height: 3em;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
	padding: 0 0.5em;
	transition: var(--easeOutExpo);
	font-weight: 500;
	color: white;
	background-color: var(--themeColor);
	margin-inline: auto;
	position: relative;
}

.contents-link-button::after{
	content: "〉";
	position: absolute;
	right: 2em;

}

.contents-link-button.light{
	color: var(--themeColor);
	background-color: var(--themeColorLight);
}

#join_us{
	position: relative;
	background-color: var(--themeColor);
}

#join_us h2{
	color: white;
	font-size: var(--rfs36);
	margin-block-end: 1em;
	text-align: center;
	font-weight: 900;
}

.col3-wrap{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 2%;
	row-gap: 20px;
	color: white;
}
/*=========================================================================== */
/* top page
============================================================================= */
#kazufumi_spirits{
	position: relative;
	background-image: url(/images/top/kazufumi_spirits_bg.jpg);
	background-size: cover;
	background-position: center;
	position: relative;
	padding-bottom: 15%;
	font-weight: 300;
}

@media(min-width: 1920px){
	#kazufumi_spirits {
		padding-block-end: 288px;
	}
}

#kazufumi_spirits > div{
	display: grid;
	place-items: center;
	text-align: center;
}


#kazufumi_spirits .bottom-text{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin-inline: auto;
}

#kazufumi_spirits h2{
	font-family: var(--minchoFont);
	font-size: var(--rfs60);
	font-weight: 600;
	margin-block-end: 1em;
}

#kazufumi_spirits h3{
	font-family: var(--minchoFont);
	font-size: clamp(18px ,calc( 2.06vw + 11.4px ),40px);
	font-weight: 600;
	margin-block-end: 1em;
}

#kazufumi_spirits p{
	font-size: clamp(16px,calc( 0.75vw + 13.6px ),40px);
	letter-spacing: -0.01em;
}


.flex-half{
	display: flex;
	flex-wrap: wrap;
}

.flex-half.rev{
	flex-direction: row-reverse;
}

.flex-half > *{
	flex-basis: 100%;
}

@media(min-width: 800px){
	.flex-half > *{
		flex-basis: 50%;
	}
}

#challenge{
	position: relative;
	background-color: var(--themeColor);

}

#team{
	position: relative;
	background-color: var(--themeGrayLight);
}

.flex-half img{
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-height: 750px;
	object-position: center;
}

.flex-half .text{
	padding: 2em;
}

.flex-half .text > div{
	max-width: 500px;
	display: grid;
	grid-template-columns: 1fr;
	place-content: center;
	height: 100%;
	row-gap: 20px;
}

.flex-half .right.text{
	color: white;
}

.flex-half .left.text{
	color: var(--themeColor);
}

.flex-half .inner-left{
	margin-inline: auto 0;
}
/*=========================================================================== */
/* プライバシーポリシー
============================================================================= */
#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(--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(--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;
}

.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;
}
