@charset "utf-8";


/*===========================================================*/
/* ■ SPLASH 背景色が伸びる（下から上） */
/*===========================================================*/


/* ● MainConents  SPLASH */

	/*========= ローディング画面のためのCSS ===============*/
	#splash {
		position: fixed;
		width: 100%;
		height: 100%;
		background-color: #FFF;
		z-index: 9999999;
		text-align:center;
		color:#fff;
			background-image:
				url("../images/bg/brline01.svg"),
				url("../images/bg/brline02.svg");
			background-size:
				contain,
				contain;
			background-position:
				center top 65%,
				center top 75%;
			background-repeat:
				no-repeat,
				no-repeat;
	}
	#splash-cont {
		margin:17.5% auto 0 auto;
		width:100%;
	}
	#splash-cont img{
		display:block;
		margin:0 auto 0 auto;
		zoom:1.5;
		width: 495px;
		height: 99px;
	        filter: drop-shadow(2px 2px 2px rgba(160, 160, 160, 0.8));
	}

	@media only screen and (min-width: 993px) and (max-width: 1400px) {	/*◇ PC-S */

	}
	@media only screen and (max-width:992px) {	/* SP Layout ◇ */

		#splash {
			position: fixed;
			width: 100%;
			height: 100%;
			background-color: #FFF;
			z-index: 9999999;
			background-image:
				url("../images/bg/brline01.svg"),
				url("../images/bg/brline02.svg");
			background-size:
				contain,
				contain;
			background-position:
				center top 65%,
				center top 75%;
			background-repeat:
				no-repeat,
				no-repeat;
		}
		#splash-cont {
			margin:50% auto 0 auto;
			width:100%;
		}
		#splash-cont img{
			display:block;
			margin:0 auto 0 auto;
			zoom:0.7;
			zoom:0.5;
		        filter: drop-shadow(1px 1px 1px rgba(160, 160, 160, 0.8));
		}
	}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

	.splashbg{
		display: none;
	}

	body.appear .splashbg{
		display: block;
		position:fixed;
		z-index: 999;
		width: 100%;
		height: 100vh;
		top: 0;
		left: 0;
		transform: scaleY(0);
		background:linear-gradient( 45deg,#111111 0%,#221815 100% );	/* 伸びる背景色の設定 smm2-base-black */
			animation-name:PageAnime;
			animation-duration:1.2s;
			animation-timing-function:ease-in-out;
			animation-fill-mode:forwards;
	}
	@keyframes PageAnime{
		0% {
			transform-origin:bottom;
			transform:scaleY(0);
		}
		50% {
			transform-origin:bottom;
			transform:scaleY(1);
		}
		50.001% {
			transform-origin:top;
		}
		100% {
			transform-origin:top;
			transform:scaleY(0);
		}
	}

	/*画面遷移の後現れるコンテンツ設定*/

	#wrapper{
/*		opacity: 0;*/	/*はじめは透過0に*/
	}

	/*bodyにappearクラスがついたら出現*/
	body.appear #wrapper{
		animation-name:PageAnimeAppear;
		animation-duration:1s;
		animation-delay: 0.8s;
		animation-fill-mode:forwards;
		opacity: 0;
	}
	@keyframes PageAnimeAppear{
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}

/*===========================================================*/
/* ■ 追従メニューの現在地ハイライト	*/
/*===========================================================*/

/*========= ● 現在地表示のためのCSS   → hfmenu.css  ===============*/

/*===========================================================*/
/* ■ スクロールをするとエリアの高さに合わせて線が伸びる	*/
/*===========================================================*/

	.scrollgress {
		z-index:99;	/* 他のposition指定しているエリアより前に出すためz-indexの数字を大きく */
					/* バーの高さ、色指定 → script/ui/script.js */
	}

/*===========================================================*/
/* 下線が伸びて背景に変わる*/
/*===========================================================*/

	.btnlinestretches3 {
		/*線の基点とするためrelativeを指定*/
		position:relative;
		/*ボタンの形状*/  
		color:#333;
		padding: 5px 30px;
		display:inline-block;
		text-decoration: none;
		outline: none;
	}
	/*テキストの設定*/
	.btnlinestretches3 span {
		/*テキストを前面に出すためz-indexの値を高く設定*/
		position:relative;
		z-index: 2;
	}
	.btnlinestretches3:hover span {
		color: #fff;
	}
	/*線の設定*/
	.btnlinestretches3::after {
		content:'';
		/*絶対配置で線の位置を決める*/
		position:absolute;
		z-index:1;
		bottom:0;
		left:0;
		/*線の形状*/
		background:#333;
		width:100%;
		height:3px;
		/*アニメーションの指定*/
		transition:all 0.3s ease-in-out;
	}
	/*線が伸びて背景に*/
	.btnlinestretches3:hover::after {
		height:100%;
	}

/*===========================================================*/
/*  ページの指定の高さを超えたら右から出現	*/
/*===========================================================*/

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#221815;		/* ◆smm2-base-black */
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	letter-spacing:1.5px;
	font-size:0.6rem;
	font-weight:bold;
	font-family: "futura light bt";
	font-display: swap;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0;
	bottom:0;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

/*===========================================================*/
/*機能編  9-2-2 任意の場所をクリックすると隠れていた内容が開き、先に開いていた内容が閉じる*/
/*===========================================================*/

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

@media screen and (max-width:768px) {
.title {
    font-size:0.9rem;
}
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
	margin:0 3% 3% 3%;
    padding: 3%;
}


/*===========================================================*/
/* ■ ニュースティッカー						*/
/*===========================================================*/

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
    padding:10px 0;
}

/*日付*/
.slider time{
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider time {
        display:block;
		padding-bottom:10px;
    }
}


/*===========================================================*/
/* ■BASIC  animation ■ 																    */
/*===========================================================*/

	/* ■ シャッ（左から）*/
	.bgextend {
		animation-name:bgextendAnimeBase;
		animation-duration:1s;
		animation-fill-mode:forwards;
		position: relative;
		overflow: hidden;/*　はみ出た色要素を隠す　*/
		opacity:0;
	}
	@keyframes bgextendAnimeBase {
		from {
			opacity:0;
		}
		to {
			opacity:1; 
		}
	}

	/*中の要素*/
	.bgappear {
		animation-name:bgextendAnimeSecond;
		animation-duration:1s;
		animation-delay: 0.6s;
		animation-fill-mode:forwards;
		opacity: 0;
	}
	@keyframes bgextendAnimeSecond {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}

	.bgLRextend::before{
		animation-name:bgLRextendAnime;
		animation-duration:1s;
		animation-fill-mode:forwards;
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #eb6100;		/*◎ 伸びる背景色の設定 */
		background-color: #2843B6;		/* plumsa-blue01 */		/*◆ 伸びる背景色の設定 HISAYA-blue01 */
		background-color: #BDC3C7;		/*◆ 伸びる背景色の設定 SILVER */
	}
	@keyframes bgLRextendAnime{
		0% {
			transform-origin:left;
			transform:scaleX(0);
		}
		50% {
			transform-origin:left;
			transform:scaleX(1);
		}
		50.001% {
			transform-origin:right;
		}
		100% {
			transform-origin:right;
			transform:scaleX(0);
		}
	}
	/* 4-1 ふわっ（下から） */
	.fadeUp{
		animation-name: fadeUpAnime;
		animation-duration:0.5s;
		animation-fill-mode:forwards;
		opacity:0;
	}

	@keyframes fadeUpAnime{
		  from {
			opacity: 0;
			transform: translateY(100px);
		  }
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	/* 4-2　パタッ（左へ） */
	.flipLeft {
		animation-name: flipLeftAnime;
		animation-duration:0.5s;
		animation-fill-mode:forwards;
		perspective-origin: left center;
		opacity:0;
	}
	@keyframes flipLeftAnime{
		from {
			transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
			opacity: 0;
		}
		  to {
			transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
			opacity: 1;
		}
	}

	/* スマホ表示用。flipLeftTriggerを指定している親要素に指定しないとうまく動かない*/
	#vision,.service-area {
		transform:  translate3d(0, 0, 0);
	}

	/* ●スクロールをしたら出現する要素にはじめに透過0を指定　*/
	.bgLRextendTrigger,.bgappearTrigger,.fadeUpTrigger,.flipLeftTrigger {
	 	opacity: 0;
	}


/*===========================================================*/
/* 印象編　6-6　スクロールすると下のエリアがヘッダーにかぶさる*/
/*===========================================================*/

#top-main{
	width:100%;
	height: 100vh;
	position: relative;
} 

#top-main:before{
	content: '';
	position:fixed;
	top:10vh;
	left:5%;
	z-index:-1;
	width:90%;
	height: 80vh;
	/*背景画像設定*/
	background:url("../images/fview/main.jpg") no-repeat center;
	background-size:cover;
}

@media screen and (max-width:768px) {
#top-main:before{
    background-position: top center;
    background-size:auto 90%;
    }
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
}

/* ■ TEXT Effect　animation  */

/*========= 1文字ずつ出現させるためのCSS   ●script/ui/text.js =============*/
.eachTextAnime {
	color:transparent;
}
.eachTextAnime span{
	opacity: 0;
	font-family: "Futura Bold font";
	font-display: swap;
	color: #555;
}
.eachTextAnime02 {
	color:transparent;
}
.eachTextAnime02 span{
	opacity: 0;
  	font-family:'Marcellus', serif,"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	font-display: swap;
	color:#FFF;
}
.eachTextAnime.appeartext span{
	animation:text_anime_on 1s ease-out forwards; 
	color: #333;
}
.eachTextAnime02.appeartext02 span{
	animation:text_anime_on 0.5s ease-out forwards; 
	color:#FFF;
}

@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

/*========= テキストがバラバラに出現 ●script/ui/text.js =====================*/

.TextRandomAnime span{
	opacity: 0;
}
.TextRandomAnime.appearRandomtext span{ 
	animation:text_randomanime_on .5s ease-out forwards;
}

@keyframes text_randomanime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

.TextRandomAnime.appearRandomtext span:nth-child(2n) {
	animation-delay: 0.7s;/* spanのついた2の倍数の文字列の変化を0.7秒遅らせる*/
}
.TextRandomAnime.appearRandomtext span:nth-child(3n+1) {
	animation-delay: 0.35s;/* spanのついた3の倍数＋1の文字列の変化を0.35秒遅らせる*/
}

/*======================================================*/
/* ■ 波打つ（1 つ 重なりあり）													      */
/*======================================================*/

	#waveCanvas{
	/*	position: absolute;
		bottom: 0;
		left:0;	*/
		margin:0 auto -30px auto;
		width: 100%;
		height:150px;
		z-index: -1;
	}

/*==================================================
	複数の画像を一覧で見せる
===================================*/
.gallery{
	columns: 4;/*段組みの数*/
	padding:0 15px;	/* ギャラリー左右に余白をつける */
	padding:15px;
}

.gallery li {
	margin-bottom: 20px;/*各画像下に余白をつける*/
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/}

@media only screen and (max-width: 600px) {
	.gallery {
		columns: 2;
	}
}
