@charset "UTF-8";

.loading{
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10011;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	opacity: 1;
	visibility: visible;
	transition: all 1s;
}
.loading.is-active{
	opacity: 0;
	visibility: hidden;
}
.loading-animation {
	width: 100%;
	transition: all 0.5s;
	opacity: 0;
	visibility: hidden;
}
.loading-animation.is-active {
	opacity: 1;
	visibility: visible;
}
.loading img {
	display: block;
	margin: 0 auto;
	width: 70vw;
	max-width: 350px;
	opacity: 1;
	transform: translateY(0);
	animation: loadingFadeUp 1.5s ease-in forwards;
	animation-delay: 0.5s; /* ← ロゴがしっかり見える時間 */
}

@keyframes loadingFadeUp {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	75% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-10vh);
	}
}

body{
	background: url(../img/bg.gif) center top;
}

header{
	position: fixed;
	left: 0;
	top: 0;
	z-index: 998;
	width: 100%;
	transition: .1s;
}
header:hover{
	background: var(--white90);
}
header #header{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: var(--size-42px) 0 var(--size-42px) var(--baseBoxpLR);
	line-height: normal;
}
header h1{
	width: 270px;
}
header h1 a{
	display: block;
}
header #header nav{
	display: flex;
	align-items: center;
}
header #header nav ul{
	display: flex;
	align-items: center;
}
header #header nav ul:first-child li{
	font-weight: 700;
}
header #header nav ul:first-child li a{
	display: inline-block;
	padding-right: 3em;
	padding-left: 3em;
}
header #header nav ul:first-child li a span{
	display: block;
	padding-bottom: 0.5em;
	border-bottom: solid 1px var(--black);
	transition: .1s;
}
header #header nav ul:first-child li a:hover span{
	border-bottom: solid 1px rgba(0, 0, 0, 0);
}
header #header nav ul:first-child li:first-child::after{
	content: "｜";
}
header #header nav ul:last-child{
	background: url(../img/btnBg.png) var(--black);
	background-size: cover;
	color: var(--white);
	border-radius: var(--rallr0);
	padding: var(--size-56px);
	margin-left: 3em;
}
header #header nav ul:last-child li:first-child::after{
	content: "｜";
}
header #header nav ul:last-child li:last-child::after{
	content: "" !important;
}
header #header nav ul:last-child li a{
	color: var(--white);
	padding-right: 2em;
	padding-left: 2em;
}

#base article{
	padding-top: var(--headerTop);
	margin-bottom: var(--size-126px);
}

#banner{
	display: flex;
	flex-wrap: wrap;
}
#banner p{
	width: calc(100% / 3 - var(--size-28px));
	border: var(--border);
	margin: 0 var(--size-14px);
}
#banner p a{
	display: block;
}

footer{
	color: var(--white);
	background: url(../img/footerBg.png) var(--black);
	background-size: cover;
	padding: var(--size-126px);
	margin-top: var(--size-84px);
}
footer a{
	color: var(--white);
}
footer > div:first-child ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom:  var(--size-126px)
}
footer > div:first-child ul:first-child li{
	padding-left: var(--size-42px);
}
footer > div:first-child ul:first-child li a{
	display: inline-block;
	padding-right: var(--size-42px);
}
footer > div:first-child ul:first-child li::after{
	content: "|"
}
footer > div:first-child ul:first-child li:last-child::after{
	content: ""
}
footer > div:first-child ul:last-child li{
	width: 40px;
	margin: 0 var(--size-14px);
}
footer > div:first-child ul:last-child li a{
	display: block;
}
footer > div:last-child{
	display: flex;
	justify-content: space-between;
	font-size: var(--font-1down);
}

h4 strong{
	font-size: var(--font-h4);
}

.under article h2{
	text-align: center;
	margin-bottom: var(--size-84px);
}
.under article h2 strong{
	display: block;
	font-size: var(--font-h2);
	line-height: normal;
}

.btnBox{
	display: flex;
	justify-content: center;
}
.btnBox a{
	display: block;
	color: var(--white);
	font-size: var(--font-1down);
	line-height: normal;
	background: var(--black);
	border-radius: var(--rall);
	padding: 1em 3em;
}

#pagination{
	display: flex;
	margin-top: var(--size-42px);
}
#pagination a,
#pagination span{
	display: block;
	padding: 0.5em 1.2em;
	border: var(--border-white);
	margin-right: 0.5em;
}
#pagination a{
	display: block;
	padding: 0.5em 1.2em;
	border: var(--border);
	background: var(--white);
}
#pagination a:hover{
	background: var(--black);
	color: var(--white);
}

/*--========== TOP --*/
#top #base{
	background: url("../img/top/topBg.png") center top var(--headerTop) no-repeat;
	background-size: 102vw;
}
@media screen and (min-width: 1550px) {
	#top #base{
		background-size: auto;
	}
}

#mv{
	width: 750px ;
	margin: 0 auto;
}
#mv p img{
	display: block;
}

#topTxt{
	position: relative;
	display: flex;
	align-items: center;
}
#topTxt > div:first-child{
	position: relative;
	z-index: 1;
	width: 65vw;
	padding: var(--size-126px) var(--size-210px) var(--size-126px) var(--size-168px);
	background: var(--white50);
	box-shadow: var(--shadow);
	border-radius: var(--r30l0);
}
@media screen and (min-width: 1550px) {
	#topTxt > div:first-child{
		padding-left: calc(52% - 600px);
	}
	#topTxt > div:first-child h3,
	#topTxt > div:first-child p{
		width: 600px;
	}
}
#topTxt > div:first-child h3{
	font-size: var(--font-h3);
	margin-bottom: var(--size-42px);
}
#topTxt div:last-child{
	position: absolute;
	z-index: 2;
	left: 60vw;
}
#topTxt div:last-child a{
	display: block;
	background: url(../img/btnBg.png) var(--black);
	background-size: cover;
	color: var(--white);
	border-radius: var(--r30);
	box-shadow: var(--shadow);
	padding: var(--size-70px) var(--size-126px);
}
#topTxt div:last-child a:first-child{
	margin-bottom: var(--size-56px);
}
#topTxt div:last-child a strong{
	display: block;
	font-size: var(--font-2up);
	text-align: center;
	line-height: normal;
	margin-bottom: 0.3em;
}
#topTxt div:last-child a span{
	display: block;
	font-size: var(--font-1down);
	text-align: center;
	line-height: normal;
}
@media screen and (max-width: 1550px) {
	#topTxt > div:first-child{
		padding: var(--size-126px) var(--size-210px) var(--size-126px) 10vw;
	}
}

#top #worksBox > div:first-child,
#top #informationBox > div:first-child{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--size-42px);
}
#top #worksBox > div:first-child a,
#top #informationBox > div:first-child a{
	display: block;
	color: var(--white);
	font-size: var(--font-1down);
	line-height: normal;
	background: url(../img/btnBg.png) var(--black);
	background-size: cover;
	border-radius: var(--rall);
	padding: 1em 3em;
}

#top #worksBox{
	margin-top: var(--size-126px);
	margin-bottom: var(--size-126px);
}

/*-- ========== works --*/
#worksBox > div:first-child{
	padding: 0 var(--ListBoxLR);
}
#worksBoxIn{
	display: flex;
	flex-wrap: wrap;
}
#worksBoxIn .worksCon{
	width: calc(50% - var(--size-28px));
	background: var(--white50);
	box-shadow: var(--shadow);
	border-radius: var(--r30);
	margin: 0 var(--size-14px);
	margin-bottom: var(--size-28px);
	line-height: var(--line-height1down);
}
#worksBoxIn .worksCon a{
	display: block;
	padding: var(--size-70px);
}
#worksBoxIn .worksCon dl,
#worksDetail dl{
	display: flex;
	padding-bottom: 0.8em;
}
#worksBoxIn .worksCon dl:nth-child(3){
	border-bottom: var(--borderDot1px);
	padding-bottom: 1.2em;
	margin-bottom: 1.5em;
}
#worksDetail {
	border-top: var(--borderDot1px);
	border-bottom: var(--borderDot1px);
	padding-top: 1.2em;
	padding-bottom: 0.4em;
	margin-bottom: 1.8em;
}

#worksBoxIn .worksCon dt,
#worksDetail dt{
	display: flex;
	justify-content: space-between;
	width: 7em;
	padding-right: 0.8em;
	line-height: var(--line-height1down);
}
#worksBoxIn .worksCon dt::after,
#worksDetail dt::after{
	content: "："
}
#worksBoxIn .worksCon dt strong,
#worksDetail dt strong{
	display: inline-block;
	padding-right: 0.5em;
}
#worksBoxIn .worksCon dd,
#worksDetail dd{
	width: calc(100% - 7em);
	line-height: var(--line-height1down);
}
#worksBoxIn .worksCon .worksTtl{
	font-size: var(--font-1up);
	font-weight: var(--font-bold);
}

#worksSingleBox h4{
	font-size: var(--font-info-ttl);
	line-height: var(--line-height1down);
	margin-bottom: var(--size-28px);
}
#worksSingleBox .worksTxt{
	margin-bottom: var(--size-84px);
}
#worksSingleBox .worksTxt p{
	margin-bottom: 1em;
}
#worksSingleBox .worksTxt p:last-child{
	margin-bottom: 0;
}

#worksImgList{
	margin-bottom: var(--size-42px);
}
#worksImgList li{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 600px;
	height: 600px;
	margin: 0 var(--ListBoxLR);
}
#worksImgList li img{
	width: auto;
	height: auto;
	max-width: 600px;
	max-height: 600px;
}

/*-- ========== information --*/
#top #informationBox{
	margin-top: var(--size-126px);
}
#informationBox .infoCon{
	background: var(--white50);
	box-shadow: var(--shadow);
	border-radius: var(--rall);
	margin-bottom: var(--size-28px);
	line-height: var(--line-height1down);
}
#informationBox .infoCon a{
	display: block;
	padding: var(--size-42px) var(--size-70px);
}
#informationBox .infoCon .day{
	margin-top: 0.5em;
}

#informationSingleBox h4{
	font-size: var(--font-info-ttl);
	line-height: var(--line-height1down);
	margin-bottom: var(--size-28px);
}
#informationSingleBox .infoTxt{
	margin-bottom: var(--size-84px);
}

/*-- ========== company --*/
#company #overview dl{
	display: flex;
	border-bottom: var(--borderDot1px-gray);
}
#company #overview dt{
	width: 10em;
	padding: var(--size-28px);
	font-weight: var(--font-bold);
	text-align: right;
}
#company #overview dd{
	width: calc(100% - 10em);
	padding: var(--size-28px);
	line-height: var(--line-height1down);
}

@media screen and (max-width: 1500px) {/* 1500px */

	header h1{
		max-width: 18vw;
	}

}



@media screen and (max-width: 1366px) {/* iPad pro　landscape */



/*--========== TOP --*/
	#topTxt > div:first-child{
		width: 75vw;
		padding: var(--size-126px) var(--size-210px) var(--size-126px) var(--size-112px);
		background: var(--white50);
		box-shadow: var(--shadow);
		border-radius: var(--r30l0);
	}
	#topTxt div:last-child{
		left: inherit;
		right: var(--baseBoxpLR);
	}

}



@media screen and (max-width: 1194px) {/* iPad pro 11　landscape */



/*--========== TOP --*/
	#mv{
		width: 75vw;
	}

}



@media screen and (max-width: 1024px) {/* iPad pro　portrait */

	header #header{
		padding: var(--size-42px) 0 var(--size-42px) 0;
	}
	header h1{
		width: 100%;
		max-width: inherit;
		margin-bottom: var(--size-28px);
	}
	header h1 a{
		width: 25vw;
		margin: 0 auto;
	}
	header #header nav{
		width: 100%;
		justify-content: space-between;
	}
	header #header nav ul{
		justify-content: center;
		width: 50%;
	}

	footer > div:first-child ul:last-child li{
		width: 4vw;
	}



}



@media screen and (max-width: 768px) {/* TB */

	header{
		position: relative;
		top: inherit;
		z-index: 998;
		width: 100%;
		transition: inherit;
	}
	header #header{
		padding: 0;
	}
	header #header h1{
		padding: var(--size-42px) 0;
		margin-bottom: 0;
	}
	header #header nav{
		position: fixed;
		left: 0;
		bottom: 0;
		background: var(--white);
		font-size: var(--font-2down);
	}
	header #header nav ul:first-child li{
		width: 50%;
		text-align: center;
	}
	header #header nav ul:first-child li a{
		padding-right: 0;
		padding-left: 0;
	}
	header #header nav ul:first-child li a span{
		display: block;
		padding-bottom: 0;
		border-bottom: none;
		transition: inherit;
	}
	header #header nav ul:first-child li a:hover span{
		border-bottom: none;
	}
	header #header nav ul:first-child li:first-child::after{
		content: "";
	}
	header #header nav ul:last-child{
		border-radius: 0;
		padding: var(--size-70px) 0;
		margin-left: 0;
	}
	header #header nav ul:last-child li{
		width: 50%;
		text-align: center;
	}
	header #header nav ul:last-child li:first-child::after{
		content: "";
	}
	header #header nav ul:last-child li a{
		padding-right: 0;
		padding-left: 0;
	}

	#base article{
		padding-top: 0;
	}

	#banner p{
		width: 65vw;
		margin: var(--size-14px) auto;
	}

	footer{
		padding-bottom: 30vw;
	}
	footer > div:first-child ul:first-child li{
		width: calc(100% / 3);
		text-align: center;
		margin-bottom: var(--size-28px);
		padding-left: 0;
	}
	footer > div:first-child ul:first-child li a{
		padding: 0;
	}
	footer > div:first-child ul:first-child li::after{
		content: ""
	}

	#pagination{
		flex-wrap: wrap;
	}
	#pagination a.prev,
	#pagination a.next{
		width: 100%;
		text-align: center;
	}
	#pagination a,
	#pagination span{
		margin-bottom: 0.5em;
	}


/*--========== TOP --*/
	#topTxt{
		justify-content: center;
	}
	#topTxt > div:first-child{
		width: 88vw;
		padding: var(--size-126px) var(--size-98px) calc(var(--size-210px) + var(--size-98px));
		border-radius: var(--r30);
	}
	#topTxt div:last-child{
		display: flex;
		justify-content: center;
		right: inherit;
		bottom: -2em;
		width: 100%;
	}
	#topTxt div:last-child a{
		width: 40vw;
		padding: var(--size-70px) var(--size-28px);
		margin: 0 var(--size-14px);
	}
	#topTxt div:last-child a:first-child{
		margin-bottom: 0;
	}
	#topTxt div:last-child a strong{
		font-size: var(--font-1up);
	}
	#topTxt div:last-child a span{
		font-size: var(--font-2down);
	}

/*-- ========== works --*/
	#worksBox{
		margin-top: calc(var(--size-210px) + var(--size-56px));
		margin-bottom: var(--size-210px);
	}
	#worksBoxIn .worksCon{
		width: calc(100% - var(--size-28px));
		margin-bottom: var(--size-28px);
	}
	#worksBoxIn .worksCon a{
		padding: var(--size-140px) var(--size-98px);
	}
#worksImgList li{
	width: 78vw;
	height: 78vw;
}
#worksImgList li img{
	max-width: 78vw;
	max-height: 78vw;
}

/*-- ========== information --*/
	#informationBox {
		margin-top: var(--size-210px);
		margin-bottom: var(--size-210px);
	}
	#informationBox .infoCon a {
		padding: var(--size-98px) var(--size-182px);
	}

/*-- ========== company --*/
	#company #overview dt{
		width: 7.5em;
	}
	#company #overview dd{
		width: calc(100% - 7.5em);
	}


}



@media screen and (max-width: 759px) {/* SP */

	header h1 a {
		width: 40vw;
	}
	header #header nav ul:last-child{
		padding: var(--size-42px) 0;
	}

	footer > div:first-child ul:first-child li{
		width: 100%;
		padding-bottom: var(--size-28px);
		margin-bottom: var(--size-28px);
		border-bottom: var(--border-gray);
	}

/*--========== TOP --*/
	#top #base{
		background: url("../img/top/topBg.png") center top 21vw no-repeat;
		background-size: 102vw;
	}
	#topTxt > div:first-child{
		padding: var(--size-84px) var(--size-56px) var(--size-196px);
	}
	#topTxt div:last-child a{
		padding: var(--size-42px) var(--size-14px);
	}

	#worksBox > div:first-child h4 strong,
	#informationBox > div:first-child h4 strong{
		display: block;
	}

	#worksBox{
		margin-top: var(--size-168px);
		margin-bottom: var(--size-126px);
	}
	#worksBoxIn .worksCon a{
		padding: var(--size-84px) var(--size-56px);
	}

/*-- ========== information --*/
	#informationBox {
		margin-top: var(--size-126px);
		margin-bottom: var(--size-126px);
	}
	#informationBox .infoCon{
		border-radius: var(--r30);
	}
	#informationBox .infoCon a {
		padding: var(--size-56px) var(--size-56px);
	}


}
