@charset "utf-8";

/*===========================================================*/
/*機能編  4-2-7 背景色が伸びる（斜め） */
/*===========================================================*/

#vwagLogoTop {

    width: 40%;
    height: 23%;

}



/*========= ローディング画面のためのCSS ===============*/
#splash {
    /*fixedで全面に固定*/
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999;
	background:#f776c7;
	text-align:center;
	color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg{
    width:300px;
}



/*========= SVG操作手書き風にするためのCSS ===============*/

#mask .st0{
    fill:none;
    stroke:#fff;
    stroke-width:90;/*線の太さを指定する*/
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-miterlimit:10;
    stroke-dasharray: 1500; /* 線の間隔を指定する */
    stroke-dashoffset:1500; /* 線の位置を指定する */
}





/*=============== SVGアニメーション内の指定 =================*/

/*アニメーション前の指定*/
#mask path {
		fill-opacity: 0;/*最初は透過0で見えない状態*/
		transition: fill-opacity .5s;/*カラーがつく際のアニメーション0.5秒で変化*/
		fill: none;/*塗りがない状態*/
		stroke: #333;/*線の色*/
	}

/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path{
	  fill: #333;/*塗りの色*/
	  fill-opacity: 1;/*透過1で見える状態*/
	  stroke: none;/*線の色なし*/
	}








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

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
	display:block;
}

body.appear .splashbg{
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 50%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: translateX(-300%) skewX(-45deg);
    background-color: #000;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:translateX(-300%) skewX(-45deg);
	}
	100% {
		transform-origin:left;
		transform:translateX(500%) skewX(-45deg);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
    position: relative;
	opacity: 0;/*はじめは透過0に*/
        justify-content: center;
    align-items: center;
    text-align: center;
}

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

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





article {
background-color: #222;
padding-left: 25px;
}

articleTopic {
background-color: #ffffff;
}




/* ------ News ------ */

#news {
	margin-top: 0px;
        text-align: center;
	
}

#news h1 a {
	display: block;
	position: relative;
	z-index: 2;
	padding: 8px 15px;
	font-size: 100%;
	color: #fff;
	text-decoration: none;
}
#news h1 a:link,
#news h1 a:visited {
	background-color: #8bd5d4;
}
#news h1 a:hover,
#news h1 a:active {
	background-color: #a1e3e2;
}

#news h1 a:before {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -8px;
	left: 30px;
	border-left: solid 8px transparent;
	border-right: solid 8px transparent;
}
#news h1 a:after {


	font-family: 'icomoon';
	font-size: 11px;
	display: block;
	position: absolute;
	width: 10px;
	line-height: 10px;
	top: 50%;
	margin-top: -5px;
	transition-duration: 0.3s;
}
#news h1 a:link:before,
#news h1 a:visited:before {
	border-top: solid 8px #8bd5d4;
}
#news h1 a:hover:before,
#news h1 a:active:before {
	border-top: solid 8px #a1e3e2;
}
#news h1 a:link:after,
#news h1 a:visited:after {
	right: 6px;
}
#news h1 a:hover:after,
#news h1 a:active:after {
	right: 3px;
}

#news dl a {
	position: relative;
	display: block;
	padding: 15px 20px 15px 0;
	text-decoration: none;
	border-top: solid 1px #eee;
}
#news dl a:first-child {
	border-top: none;
}
#news dl a:link,
#news dl a:visited {
	
}
#news dl a:hover,
#news dl a:active {
	background-color: #f5f5f5;
}
#news dl a:after {
	
	font-family: 'icomoon';
	font-size: 11px;
	display: block;
	position: absolute;
	width: 10px;
	line-height: 10px;
	top: 50%;
	margin-top: -5px;
	transition-duration: 0.3s;
}
#news dl a:link:after,
#news dl a:visited:after {
	right: 6px;
}
#news dl a:hover:after,
#news dl a:active:after {
	right: 3px;
}

#news dt  {
	margin-bottom: 3px;
	color: #000;
	font-size: 76%;
	font-weight: bold;
}

#news dd  {
	color: #666;
	font-size: 76%;
}


#bannerArea{

position: relative;
    max-width: 900px;
    margin: 0px;
    z-index: 1;
    margin-top: -354px;

}







/* ------ Column ------ */

.row {
	max-width: 930px;
	margin: 0 auto;
}
.row:after {
	content: "";
	display: block;
	clear: both;
}



#rowUnder {
	position: relative;
    max-width: 400px;
    margin: 0 auto;
    top: -350px;
}


#rowUnder:after {
	content: "";
	display: block;
	clear: both;
}



#rowUnder2 {
	position: relative;
    max-width: 300px;
    margin: 0 auto;
    top: 15px;
}


#rowUnder3 {
	position: relative;
    max-width: 70px;
    margin: 0 auto;
    top: 15px;
}



/* 各カラムを横並びにし、左マージンを設定 */
.col {
	float: left;
	margin-left: 0.225806%;
}

/* 左端のカラムの左マージンを削除 */
.col:first-child,
.col.left {margin-left: 0;}

/* カラムの左右を入れ替えるための設定 */
.col.right {
	float: none;
	margin-left: 0.225806%;
}

/* 各カラムの幅を％で設定 */
.one-second {width: 48.3870967741%;}
.one-third {width: 19.182796%;}
.two-third {width: 100%;}



article {
background-color: #222;
padding-left: 25px;
}

articleTopic {
background-color: #ffffff;
}





/*===========================================================*/
/*機能編  5-1-24 クリックしたら円形背景が拡大（中央から） */
/*===========================================================*/

/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:5;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
	animation: bgchange 40s ease infinite;/*変化の時間を変更したい場合は40sの部分を好きな時間に変更*/
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
    top:calc(50% - 50px);/*50%から円の半径を引いた値*/
    left:calc(50% - 50px);/*50%から円の半径を引いた値*/
    transition: all .6s;/*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/*リストのレイアウト設定*/
#g-nav li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

@media screen and (max-width:768px) {
#g-nav li a{
	padding:5px 10px;
}    
}

/*==================================================
　機能編 5-2-8 3本線が横方向に回転して×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
    top:2vh;
    right:2vw;
    z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;
}

/*ボタン内側*/
.openbtn .openbtn-area{
    transitiontransition
	width:50px;
	height:50px;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #333;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn.active .openbtn-area{
	transform: rotate(360deg);
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*==================================================
機能編 　9-1-3	マウスが動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown3{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:10px;
	left:50%;
    /*マウスの動き1.6秒かけて動く永遠にループ*/
	animation:mousemove 1.6s ease-in-out infinite;
}

/*下からの距離が変化して上から下に動く*/
@keyframes mousemove{
      0%{bottom:10px;}
      50%{bottom:5px;}
     100%{bottom:10px;}
 }

/*Scrollテキストの描写*/
.scrolldown3 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	bottom:45px;
    /*テキストの形状*/
	color: #000;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/*マウスの中の線描写 */
.scrolldown3 span::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top:10px;
	left:17px;
    /*線の形状*/
	width: 1px;
	height: 15px;
	background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: mousepathmove 1.4s linear infinite;
	opacity:0;
}

/*上からの距離・不透明度・高さが変化して上から下に流れる*/
@keyframes mousepathmove{
	0%{
		height:0;
		top:10px;
		opacity: 0;
	}
	50%{
		height:15px;
		opacity: 1;
	}
	100%{
		height:0;
		top:30px;
		opacity: 0;
	}
}

/*マウスの描写 */
.scrolldown3:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-10px;
    /*マウスの形状*/
	width:25px;
	height:37px;
	border-radius: 10px;
	border:1px solid #000;
}


/*マウスの中の丸の描写*/
.scrolldown3:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:26px;
	left:0;
    /*丸の形状*/
	width:5px;
	height: 5px;
	border-radius: 50%;
	border:1px solid #000;
}

/*==================================================
機能編 　7-1-9	くるっと回転（手前に回転）
===================================*/

/*== ボタン共通設定 */
.btn02 {
    /*背景の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    margin: 8vh 0 0 0;
    width:100%;
    max-width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    outline: none;
}

/*ボタン内側の設定*/
.btn02 span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    /* 重なりを3Dで表示 */
    transform-style: preserve-3d;
    /* アニメーションの設定 数字が少なくなるほど早く回転 */
    transition: 0.5s;
}


.btn03 {
    position: relative;
    display: inline-block;
    margin: 3vh 0 0 0;
    width: 100%;
    max-width: 250px;
    height: 120px;
    line-height: 37px;
    text-align: center;
    outline: none;
}

/*ボタン内側の設定*/
.btn03 span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    /* 重なりを3Dで表示 */
    transform-style: preserve-3d;
    /* アニメーションの設定 数字が少なくなるほど早く回転 */
    transition: 0.5s;
}




/*== 手前に */

/* 回転前 */
.rotatefront span:nth-child(1) {
    color: #000;
    transform: rotateX(0deg);/*はじめは回転なし*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}

/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(1) {
    transform: rotateX(-90deg);/* X軸に-90度回転 */
}

/* 回転後 */
.rotatefront span:nth-child(2) {
    background: #000;
    color: #fff;
    transform: rotateX(90deg);/*はじめはX軸に90度回転*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}

/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(2) {
    transform: rotateX(0deg);/* X軸に0度回転 */
}


/*==================================================
印象編 4 最低限おぼえておきたい動き
===================================*/

/*==================================================
4-7 にゅーん（滑らかに変形して出現）
===================================*/

/* smooth */
.smooth{
	animation-name: smoothAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
  　transform-origin: left;
	opacity:0;
}

@keyframes smoothAnime{
  from {
  transform: translate3d(0, 100%, 0) skewY(12deg);
  opacity:0;
  }

  to {
  transform: translate3d(0, 0, 0) skewY(0);
  opacity:1;
  }
}

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


/*==================================================
　印象編　8-16 テキストが滑らかに出現
===================================*/

span.smoothTextLogo {
	overflow: hidden;
	display: block;
        Width:250px;
}



span.smoothText {
	overflow: hidden;
	display: block;
       
}

span.smoothTextTrigger{
	transition: .8s ease-in-out;
	transform: translate3d(0,100%,0) skewY(12deg);
	transform-origin: left;
	display: block;
}
span.smoothTextTrigger.smoothTextAppear{
    transform: translate3d(0,0,0) skewY(0);
}

/*==================================================
    印象編　5-1　背景色が時間変化
===================================*/
/*========= body背景色の変化CSS ===============*/

body {
	animation: bgchange 40s ease infinite;/*変化の時間を変更したい場合は40sの部分を好きな時間に変更*/
}

@keyframes bgchange{
      0%   {background:#ffeb00;}/*変化させたい色*/
      20%  {background:#a2ff00;}/*変化させたい色*/
      30%  {background:#18da0b;}/*変化させたい色*/
      40%  {background:#33ffd6;}/*変化させたい色*/
      50%  {background:#00b9ff;}/*変化させたい色*/
      60% {background:#f600ff;}/*変化させたい色*/
      70% {background:#c475ff;}/*変化させたい色*/
      80% {background:#fc3ec1;}/*変化させたい色*/
      90% {background:#ff0053;}/*変化させたい色*/
      95% {background:#ff8a00;}/*変化させたい色*/
      100% {background:#eaff00;}/*変化させたい色*/
      
 }

/*==================================================
   印象編　5-14　波線（1つ）
===================================*/

#waveCanvas{
    position: absolute;
	left:0;
    width: 100%;
    z-index: 1;

top:-24px;
}


/*==================================================
　印象編　5-17　粒子が集まってタイポグラフィーを形成する
===================================*/

#particle{
    position: absolute;
    left:0;
    top:0;
    width:100%;
	height: 150vh;
	vertical-align: bottom;/*canvasタグ下に余白が生まれるのを防ぐ*/
    z-index: 2;
}

@media screen and (max-width:768px) {
#particle{
    width:170%;
	height:170vh;
    left:-35%;
    top:-35vh;
    }    
}



#vwagLogo{
    position: absolute;
    left:0;
    top:0;
    width:100%;
	height: 150vh;
	vertical-align: bottom;/*canvasタグ下に余白が生まれるのを防ぐ*/
    z-index: 2;
}

@media screen and (max-width:768px) {
#vwagLogo{
    width:170%;
	height:170vh;
    left:-35%;
    top:-35vh;
    }    
}

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

#bannerArea{

position: relative;
    max-width: 900px;
    margin: 0px;
    z-index: 1;
    margin-top: -354px;

}

}

/*==================================================
　印象編　6-5　スクロールすると紙芝居風に展開
===================================*/

.fixed{
    position: -webkit-sticky;/*Safari*/
    position: sticky;
	top:0;/*Header高さ分で止まるようにする*/
}

@media screen and (max-width:768px) {
  .fixed{
    position: relative!important;/*JSでボタンをクリックした際にposition:sticky;に戻す記述を上書きするため!importantをつける*/
    }
}

/*==================================================
　印象編　9-4-1　SVG アニメーション
===================================*/

.service-img svg{
	width:100%;/*SVGのサイズ*/
}

/*アニメーション前の指定*/
.service-img svg path {
		fill-opacity: 0;/*最初は透過0で見えない状態*/
		transition: fill-opacity .5s;/*カラーがつく際のアニメーション0.5秒で変化*/
		fill: none;/*塗りがない状態*/
		stroke: #000;/*線の色*/
	}

/*アニメーション後に.doneというクラス名がで付与された時の指定*/
.service-img svg.done path{
	  fill: #000;/*塗りの色*/
	  fill-opacity: 1;/*透過1で見える状態*/
	  stroke: none;/*線の色なし*/
	}
    
    
    img {
    width: 200px;
    height: 200px;
  }

  .wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 340px;
    margin-bottom: 100px;
  }

  .slide {
    display: flex;
    -webkit-animation: slide 20s infinite linear 1s both;
    animation: slide 20s infinite linear 1s both;
  }

  @-webkit-keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  @keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
 
  .slider:hover .slide {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }

  .item {
    transition: all 0.2s;
    margin-right: 20px;
  }

  .item:hover {
    transform: translateY(-20px);
    border-radius: 10px;
    box-shadow: 0 3px 10px 0 #333;
    opacity: 1;
    cursor: pointer;
  }
  
  
  
  
  
  
  
  
  
  
  
  
/* デスクトップ／タブレット用表示では、右寄せで配置 */
#gnav {
	float: right;
	width: 100%;
}

/* ナビゲーションの各項目は、横並びに配置 */
#gnav li {
	float: left;
	width: 50%;
}

#gnav a {
	display: block;
	position: relative;
	z-index: 2000;
	height: 30px;
	padding-top: 50px;
	font-size: 76%;
	text-decoration: none;
	color: #fff;
	text-align: center;
}
/* 疑似要素にアイコンフォントを指定 */
#gnav a:before {
	display: block;
	position: absolute;
	width: 100%;
	top: 15px;
	text-align: center;
	font-family: 'icomoon';
 	font-size: 22px;
	color: #fff;
}
/* 疑似要素にborderを使った三角マークを記述 */
#gnav a:after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	bottom: -10px;
	left: 50%;
	margin-left: -10px;
	border-left: solid 10px transparent;
	border-right: solid 10px transparent;
}
  
  
  
  
  
  
  
  /* ------ Column ------ */

.row {
	max-width: 600px;
	margin: 0 auto;
}
.row:after {
	content: "";
	display: block;
	clear: both;
}
  
  

@media screen and (max-width:768px) {
#rowUnder {
	max-width: 77%;
    margin: 0px auto;
    position: relative;
    top: -330px;
    z-index: 2;
}
#rowUnder:after {
	content: "";
	display: block;
	clear: both;
}
  
}


@media screen and (max-width:768px) {
#rowUnder2 {
	max-width: 300px;
    margin: 0px auto;
    position: relative;
    top: 15px;
    z-index: 2;
}
  
}

@media screen and (max-width:768px) {
#rowUnder3 {
	position: relative;
    max-width: 70px;
    margin: 0 auto;
    top: 15px;
}


}




#main{

top: 72px;
    position: relative;
} 

@main{

top: 72px;
    position: relative;

} 
  
  
  
  	/* ------ Mainvisual ------ */

	#mainvisual-button {
		padding: 15px 0;
        transform: translate3d(0,0,0) 
	}




.row {
	max-width: 930px;
	margin: 0 auto;
}
.row:after {
	content: "";
	display: block;
	clear: both;
}





/* ------ Mainvisual ------ */

#mainvisual {
	width: 100%;
	background-color: #222;
        Z-INDEX: 3;
        transform: translate3d(0,0,0) 
}

#mainvisual ul {
	position: relative;
    transform: translate3d(0,0,0) 
}

#mainvisual ul li {
	display: none;
	position: absolute;			/* 背面の画像にはposition: absoluteを指定 */
	z-index: 1;				/* 背面の画像のz-indexを1に指定 */
	width: 100%;
	top: 0;					/* 背面の画像をtop: 0に移動し、画像を重ねる */
}
#mainvisual ul li:first-child {
	display: block;
	position: relative;			/* 前面の画像にはposition: relativeを指定 */
	z-index: 1000;				/* 前面の画像のz-indexを1000に指定 */
}

#mainvisual-button {
	width: 100%;
	padding: 20px 0 20px;

}

#mainvisual-button ul {
	text-align: center;
	line-height: 10px;

}

#mainvisual-button li {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 8px;
	overflow: hidden;
	vertical-align: top;
}

#mainvisual-button li a {
	display: block;
	width: 10px;
	height: 20px;
}

#mainvisual-button li a:link,
#mainvisual-button li a:visited{
	margin-top: 0;
}

#mainvisual-button li a:hover,
#mainvisual-button li a:active,
#mainvisual-button li a.current {
	margin-top: -10px;
}






