/* ========================================
	DEBUG
======================================== */
.debug{
	display: block;
	position: fixed;
	bottom:0;left: 0;
	background-color: #1D7644;
	width: 10px; height: 10px;
	z-index: 99999;
	
	display: none;
}

@media screen and (max-width: 1400px) {
	.debug{
		background-color: blue;
	}
}
@media screen and (max-width: 1024px) {
	.debug{
		background-color: yellow;
	}
}
@media screen and (max-width: 767px) {
	.debug{
		background-color: red;
	}
}
/* SP横の特殊対応 */
@media (orientation: landscape) and (max-width: 767px) {
	.debug{
		background-color: pink;
	}
}



.splash{
	display: none;
}

/*==============================================================
	L1 splash
==============================================================*/


/*==============================================================
	L1 HEADER
==============================================================*/
main{
	padding-top: 120px;
}
.page-top main{
	padding-top: 0;
}
@media screen and (max-width: 767px) {
	main{
		padding-top: 17vw;
	}
	.page-top main{
		padding-top: 17vw;
	}
}


.globalheader {
    box-sizing: border-box;
    z-index: 10;
    width: 100%;
    height: 120px;
    top: 0;
	position: absolute;
	z-index: 20;
}



.globalheader.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    animation: header-slide-down 0.4s ease forwards;
    border-bottom: 1px solid #ddd;
    /* height: 99px; */
}

/* .globalheader.is-fixed .headernav__inner,
.globalheader.is-fixed .headernav__left,
.globalheader.is-fixed .headernav__right{
	height: 99px;
} */


.globalheader.is-leaving {
    animation: header-slide-up 0.25s ease forwards;
}

@keyframes header-slide-down {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes header-slide-up {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

/* .globalheader {
    transition: transform 0.4s ease;
}

.globalheader.is-fixed {
    position: sticky;
    top: 0;
    left: 0;
	background-color: red;
}

.globalheader.is-fixed.is-hidden {
    transform: translateY(-100%);
} */


@media screen and (max-width: 767px) {
	.page-top .globalheader{
		/* position: relative; */
	}
}

.headernav__inner{
	box-sizing: border-box;
	height: 120px;
}

.headernav__left{
	display: flex;
	justify-content: start;
	align-items: center;
	height: 120px;
	position: absolute;
	top: 0; left: 60px;
	z-index: 1;
}
.headernav__logo{
	height: 50px;
	width: 265px;
	aspect-ratio: 50 / 265 ;
	display: block;
}
.headernav__logo img{
	height: 100%;
	width: 100%;
	object-fit: contain;
}
.page-top .headernav__logo img{
	content: url(../img/common/logo.png);
}

.page-top .globalheader.is-fixed .headernav__logo img{
	content: url(../img/common/logo-black.png);
}

@media screen and (max-width: 767px) {
	.page-top .headernav__logo img{
		content: url(../img/common/logo-black.png);
	}
}


.headernav__right{
	/* width: 100%; */
	height: 120px;
	position: relative;
	display: flex;
	justify-content: end;
	align-items: center;
	flex: 1;
}


.headernav__right nav{
	display: flex;
	justify-content: end;
	align-items: center;
}

.headernav__right nav>ul{
	display: flex;
	justify-content: end;
	align-items: center;
	column-gap: 30px;
}
.headernav__right nav>ul li{
	position: relative;
}
.headernav__right nav>ul>li>a{
	margin: 0;
	line-height: 0;
	color: #282d69;
}

.page-top .headernav__right nav>ul>li>a{
	color: #fff;
}
.page-top .globalheader.is-fixed .headernav__right nav>ul>li>a{
	color: var(--color-main);
}

.headernav__right nav>ul>li>a::after{
	content: "／";
	margin-left: 1em;
}
.headernav__right nav>ul>li:last-child>a::after{
	content: "";
	margin-left: 0;
}



.headernav__right--pc{
	display: block;
}

.headernav__right--sp{
	display: none;
}



@media screen and (min-width: 768px) and (max-width: 1024px) {
	.headernav__left{
		top: 0; left: 15px;
	}
	.headernav__right{
	}

	.headernav__right nav>ul{
		column-gap: 10px;
	}
	.headernav__right nav>ul>li>a::after{
		margin-left: 0.7em;
	}
}


@media screen and (max-width: 767px) {
	header.globalheader{
		height: 17vw;
	}

	.headernav__inner{
		height: 17vw;
		background-color: #fff;
	}

	.headernav__left{
		height: 17vw;
		top: 0; left: 4vw;
	}
	.headernav__logo{
		width: 57vw;
		height: 11vw;
	}
	
	.headernav__right{
		display: none;
	}
	.headernav__right a{
		display: none;
	}

	.headernav__right--pc{
		display: none;
	}

	.headernav__right--sp{
		display: block;
	}
}


/*==============================================================
	SP MENU
==============================================================*/
/* BUTTON */
.btn_menu{
	display: none;
}
@media screen and (max-width: 767px) {
	.btn_menu{
		display: block;
		position: relative;
		/* position: fixed; */
		position: absolute;
		z-index: 9999;
		border: 0;
		padding: 0;
		cursor: pointer;
		text-align: center;
		background: transparent;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		background-color: transparent;
		box-sizing: border-box;
		top: 0;
		right: 0;
		width: 17vw;
		height: 17vw;
		background-color: var(--color-main);
		border-radius: 0 0 0 3vw;
	}

	.btn_menu_bar_wrap{
		display: block;
		width: 8vw;
		height: 8vw;
		position: relative;
		transition: background 0.2s linear;
	}

	.btn_menu_bar {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		background: #fff;
		width: 8vw;
		margin: 3.6vw 4.5vw;
		height: 1px;
		transition: background .25s ease;
	}


	.btn_menu_bar:before, .btn_menu_bar:after {
		display: block;
		content: "";
		background: #fff;
		/* margin: -2vw 0; */
		width: 8vw;
		height: 1px;
		transition: transform .25s ease;
	}


	.btn_menu_bar:before {
		transform: translateY(-2.8vw);
	}
	.btn_menu_bar:after {
		transform: translateY(2.7vw);
	}

	/* .btn_spnav_label {
		position: absolute;
		left: 0;right: 0;
		bottom: 0vw;
		display: block;
		font-size: 2vw;
		font-weight: 500;
		white-space: nowrap;
		font-weight: bold;
		color: #34589c;
	}
	.btn_menu .btn_spnav_label::after{
		content: "MENU";
	} */

	/* ACTIVE */
	.btn_menu.menu_active{
	}
	.btn_menu.menu_active .btn_menu_bar {
		background: transparent;
	}
	.btn_menu.menu_active .btn_menu_bar:before,.btn_menu.menu_active .btn_menu_bar:after {
		background: #fff;
	}
	.btn_menu.menu_active .btn_menu_bar:before {
		transform: translateX(-1vw) translateY(-0.0vw) rotate(36deg);
		width: 10vw;
	}
	.btn_menu.menu_active .btn_menu_bar:after {
		transform: translateX(-1vw) translateY(-0.3vw) rotate(-36deg);
		width: 10vw;
	}
	/* .btn_menu.menu_active .btn_spnav_label{
		color: #fff;
	}
	.btn_menu.menu_active .btn_spnav_label::after{
		content: "CLOSE";
	} */
}

/* MENU SP */
	.spmenu{
		display: none;
	}

@media screen and (max-width: 767px) {
	body.overflow_hidden{
		overflow: hidden;
	}
	
	.spmenu{
		display: block;
		height: 100%;
		z-index: 9990;
		box-sizing: border-box;
		position: fixed;
		top: 0;
		transition: 0.33s ease;
		transition-property: transform opacity;
		visibility:hidden;
		opacity: 0;
		overflow: hidden;
		/* モーダル背景なし */
		width: 100%;
		right: 0;
	}
	
    .globalheader.is-fixed {
        transform: none;
		animation: header-slide-down-sp 0.4s ease forwards;
    }
	@keyframes header-slide-down-sp {
		from {
			top: -17vw;
		}
		to {
			top: 0;
		}
	}


	.spmenu .spmenu__menu_inner{
		width: 100%;
		height: 100%;
		height: 100vh;
		height: 100dvh;
		box-sizing: border-box;
		transition: 0.33s ease;
		transition-property: transform opacity;
		opacity: 0;
		/* transform: translateY(-100dvh); */
		position: absolute;
		right: 0;
		overflow: auto;
		padding: 3vw 4vw;
		background-color: #fff;

		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: start;
	}

	.spmenu.menu_active{
		visibility:visible;
		opacity: 1;
	}

	.spmenu.menu_active .spmenu__menu_inner{
		transform: translateX(0);
		opacity: 1;
	}

	.spmenu .menu_delay{
		opacity: 0;
		transition: .3s ease;
		transform: translateY(-8px);
	}
	.spmenu.menu_active .menu_delay{
		opacity: 1;
		transition-delay: .2s; 
		transform: translateY(0);
	}

	.spmenu__logo{
		width: 100%;
	}

	.spmenu__logo a{
		display: block;
		width: 57vw;
		height: 11vw;
	}
	.spmenu__logo img{
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	

	.spmenu__menunav{
		width: 100%;
	}


	.spmenu__menunav>ul>li {
		text-align: center;
		margin-bottom: 4vw;
	}
	.spmenu__menunav>ul>li a{
		font-size: 6vw;
		font-weight: var(--font-medium);
		color: var(--color-main);
	}

	.spmenu__info{
		width: 100%;
		padding-bottom: 10vw;
	}

	.spmenu__info p{
		margin-bottom: 0.3em;
		font-weight: var(--font-medium);
	}
	.spmenu__info address{
		font-size: 0.88em;
	}
}



/* SP横の特殊対応 */
@media (orientation: landscape) and (max-width: 767px) {
}


/* ====================
	footer
==================== */

.g-footer{
	box-sizing: border-box;
	width: 100%;
	background-color: #f6f6f6;
}

/* .footer_gototop a{
	z-index: 2;
	position: fixed;
	top:unset;
	right: 60px;
	bottom: 60px;
	height: 120px;
	width: 120px;
	background-position: center;
	background-size: 100%;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
	opacity: 0;
	transition: opacity 0.3s linear;
	background: url(../img/common/icon-gototop.svg) no-repeat;
} */



.g-footer__inner{
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	padding: 0 50px;
	margin: 0 auto;
	padding-top: 80px;
	padding-bottom: 50px;

	display: flex;
	justify-content: space-between;
	align-items: start;
	flex-wrap: wrap;
	column-gap: 80px;
	row-gap: 80px;
}
.g-footer__logo{
	width: 268px;
	height: 182px;
	aspect-ratio: 268 / 182;
}
.g-footer__logo a{
	display: block;
	margin: 0 auto;
	margin-bottom: 20px;
}
.g-footer__logo a img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.g-footer__logo p{
	display: inline-block;
	margin: 0 auto;
}

.g-footer__right{
	flex: 1;
}


.g-footer__nav{
	margin-bottom: 40px;
}
.g-footer__nav>ul{
	display: flex;
	justify-content: start;
	align-items: center;
	column-gap: 30px;
}
.g-footer__nav>ul>li>a{
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--color-text);
}

.g-footer__nav>ul>li>a::after{
	content: "／";
	margin-left: 1em;
}
.g-footer__nav>ul>li:last-child>a::after{
	content: "";
	margin-left: 0;
}

.g-footer__info p{
	margin-bottom: 0.3em;
	font-weight: var(--font-medium);
}

.g-footer__bottom{
	width: 100%;
	text-align: center;
}




@media screen and (min-width: 768px) and (max-width: 1024px) {
	.g-footer__inner{
		box-sizing: border-box;
		width: 100%;
		max-width: unset;
		column-gap: 80px;
		row-gap: 40px;
	}
	.g-footer__logo{
		margin: 0 auto;
	}

	
	.g-footer__right{
		width: 100%;
		flex: auto;
	}
	.g-footer__nav>ul{
		column-gap: 30px;
		justify-content: center;
	}

}

@media screen and (max-width: 767px) {
	.g-footer__inner{
		box-sizing: border-box;
		width: 100%;
		max-width: unset;
		padding: 0 4vw;
		padding-top: 15vw;
		padding-bottom: 10vw;

		flex-direction: column;
		justify-content: start;
		align-items: center;
		column-gap: 0;
		row-gap: 10vw;
	}
	.g-footer__logo{
		width: 50vw;
		height: 34vw;
	}
	.g-footer__logo a{
		margin-bottom: 0;
	}

	.g-footer__nav{
		margin-bottom: 16vw;
	}
	.g-footer__nav>ul{
		display: flex;
		justify-content: start;
		align-items: center;
		flex-direction: column;
		column-gap: 0;
		row-gap: 2vw;
	}
	.g-footer__nav>ul>li>a{
		font-size: 1.25rem;
	}

	.g-footer__nav>ul>li>a::after{
		content: "";
		margin-left: 0;
		display: none;
	}

	.g-footer__info p{
	}
	.g-footer__info address{
		font-size: 0.88em;
	}

}