/* Loading背景画面設定　*/
#splash {
/*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background:#333;
  text-align:center;
  color:#fff;
}
/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width:260px;
}
/* fadeUpをするアイコンの動き */
.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);
  }
}
#fixed_items {
    display: flex;
    justify-content: space-around;
}
small {
    writing-mode: vertical-rl;
    position: fixed;
    left: 20px;
    top: 45%;
}
/*========= ボタンのためのCSS ===============*/
#openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 0;
	cursor: pointer;
    width: 50px;
    height:50px;
}	
/*×に変化*/	
#openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 20px;
    height: 3px;
    border-radius: 2px;
	background-color: #000;
  	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;
}
#openbtn.active span:nth-of-type(1) {
    top: 18px;
    right: 20px;
    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;
    right: 20px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
/*========= ナビゲーションのためのCSS ===============*/
#g_nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    left: -120%;
	width:70%;
    height: 100vh;/*ナビの高さ*/
	background:#333;
    /*動き*/
	transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g_nav.panelactive{
    left: 0;
}
/*ナビゲーション*/
#g_nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
/*リストのレイアウト設定*/
#g_nav li{
	list-style: none;
    text-align: center; 
}
#g_nav li img {
    width: 20vw;
}
#g_nav li a{
	color: #f6f8f9;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
#sns_icon {
    position: fixed;
    right: 20px;
    top: 45%;
}
#sns_icon li {
    margin: 0 0 15px 0;
}
#sns_icon img {
    width: 30px;
}
#header {
    position: relative;/*背景を設定するdivの基点とするためrelativeをかける*/
    width: 100%;
    height: 100vh;
    overflow: hidden;/*はみ出しているところを隠す*/
}
#header_title {
    position: fixed;
	text-align: right;
    top: 50%;
	left: 70%;
	transform: translate(-50%, -50%);
	z-index: -1;/*#header-imgよりも手前に配置*/
}
#header_title h1 {
    color: #f6f8f9;
    font-size: 40px;
}
#header_title p {
    color: #f6f8f9;
}
#header_img {
    position: fixed;/*背景を固定するためfixedをかける*/
    z-index: -2;
    top: 0;/*topの位置がJSで変化*/
	/*以下画面で背景画像を表示させるための指定*/
    width: 100%;
    height: 100vh;
    background-image: url(images/graphic/main_visual_02.jpg);
    background-size: cover;
    transform-origin: center;/*変化する基点を中心からに設定*/
}
#back {
    background-color: #f0f0f0;
    z-index: 0;
}
#tab {
    display: flex;
    justify-content: center;
}
#tab li {
    padding: 3vw 20px 0;
}
#tab a {
    font-size: 32px;
}
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
}
/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
#grid_container {
    padding-bottom: 6vw;
}
#grid_container ul {
    display: grid;
    grid-template-columns: 25vw 25vw 25vw;
    gap: 4vw 4vw;
    justify-content: center;
    padding: 0;
}
#item_content img {
    width: 25vw;
    box-shadow: 0 15px 15px 0 rgba(19, 19, 19, 0.5);
}
@media (max-width: 1000px) {
    #grid_container ul {
    display: block;
    margin: 0 auto; 
}
    #item_content {
        justify-content: center;
        padding: 0 20px;
    }
    #item_content img {
        width: 70vw;
    }
}