/* CSS Document */

* {
   box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Sawarabi Gothic', sans-serif;
	font-size: 20px;
	
  	background: url("img/shida_L.png") repeat-y top left, url(img/shida_R.png) repeat-y top right #3A2914;
	
}

@media (max-width: 999px) {
  body {
    font-size: 30px;
  }
}

@media (min-width: 1000px) {
  body {
    font-size: 20px;
  }
}
	
.mainBox{
	width: 1280px;
	height: 1788px;
	margin: auto;
	background-color: aliceblue;
	text-align: center;
	padding-top: 90px;
}
	
.logo {
	position: relative;
	top: -700px
}

.counter{
	font-size: 16px;
	font-weight: bold;
	position: relative;
	top: -716px;
	left:26px;
	text-align: left;
  display: flex; /* フレックスボックスを使う */
  align-items: center; /* 垂直方向の中央揃え */
}
	
.btn {
	position: relative;
	top: -700px;
	padding-top: 50px;
	font-family: 'Sawarabi Gothic', sans-serif;
}
		
header {
   padding: 30px 4% 10px;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: #000000;
   display: flex;
   align-items: center;
	z-index: 10;
}
h1 {
	margin: 0;
	padding: 0;
	font-weight: 100;
	font-size: 42px;
	font-family: 'Dela Gothic One', cursive;
	color: white;
	padding-bottom: 0;
}

	
h2{
	font-size: 70px;
	font-weight: 100;
	font-family: 'Dela Gothic One', cursive;
	margin-bottom: 10px;
}
	
a {	
   text-decoration: none;
	color: white;
	font-weight: 100;
}
	
h2 a{
	color: black;
}

	
nav {
   margin: 24px 0 0 auto;
}
ul {
   list-style: none;
   margin: 0;
   display: flex;
}
li {
   margin: 0 0 0 15px;
   font-size: 14px;
}

.snsIcon{
	
}
	
.snsTitle{
	padding-top: 10px;
	font-size: 28px;
	font-family: 'Sawarabi Gothic', cursive;
		font-weight: 100;
	color:#0095F9 ;
}

.snsTitle a{
	color:#0095F9 ;
}

.snsText{
	text-align: left;
	font-size: 20px;
	padding-left: 20px;
	color: black;
}

.snsText a
{
	color: black;
}
	


	
.main_imgBox {
	height: 720px;
    overflow: hidden;
    position: relative; 
	z-index: 0;
	background: #000;
}
	
.main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 720px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 72s 0s infinite;
    animation: anime 72s 0s infinite;
}
	
 .main_img:nth-of-type(2) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

    .main_img:nth-of-type(3) {
      -webkit-animation-delay: 24s;
      animation-delay: 24s; }

    .main_img:nth-of-type(4) {
      -webkit-animation-delay: 36s;
      animation-delay: 36s; }

    .main_img:nth-of-type(5) {
      -webkit-animation-delay: 48s;
      animation-delay: 48s; }

    .main_img:nth-of-type(6) {
      -webkit-animation-delay: 60s;
      animation-delay: 60s; }
	
@keyframes anime {
  0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        transform: scale(1.2) ;
         z-index:9;
    }
    100% { opacity: 0 }
}

.knowledge {
	padding-top:14px;
	background-color: #F5F5DC;
	color: black;
	font-size: 16px;
	font-weight: 100;
}

.knowledgeCaptionDiv {
	display: grid;
	grid-template-rows: 40px;
	grid-template-columns: 170px 1fr;
}

.knowledgeCaption {
	padding-top:14px;
	background-color: beige;
	color: black;
	font-size: 16px;
	font-weight: bold;
	text-align: right;
}

.yureru-s {
    animation: yureru-s 2s infinite;
}
@keyframes yureru-s {
    0% {
        transform: translate(2px, 0px);
    }
    5% {
        transform: translate(-2px, 0px);
    }
    10% {
        transform: translate(2px, 0px);
    }
    15% {
        transform: translate(-2px, 0px);
    }
    20% {
        transform: translate(2px, 0px);
    }
    25% {
        transform: translate(-2px, 0px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}


.arrow_box{
    position:relative;
    border-radius:10px;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    background-color: rgba(220,255,255,0.7);
}
.arrow_box:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(0, 153, 255, 0);
    border-top-width:20px;
    border-bottom-width:0px;
    border-left-width:60px;
    border-right-width:22px;
    margin-top: -10px;
    border-left-color:rgba(220,255,255,0.7);
    left:100%;
    top:87%;
}

@media (max-width: 1000px) {
	h1 {
		font-size: 54px;
	}

	.knowledge {
		font-size: 32px;
	}

	.knowledgeCaption {
		font-size: 32px;
	}
	
	.counter{
		font-size: 32px;
	}

	.menu-btn {
		background-color: white;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 24px;
		cursor: pointer;
		margin-left: auto;
	}
	
	.menu-btn span {
		background-color: black;
		display: block;
		width: 24px;
		height: 2px;
		background-color: #333;
	}
	
	.knowledgeCaptionDiv {
		display: grid;
		grid-template-rows: 60px;
		grid-template-columns: 300px 1fr;
		padding-top: 10px;
	}	

  .pc-nav {
    display: none;
  }
  .menu-btn {
    display: block;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    background-color: #333;
    height: 3px;
    width: 25px;
    margin-bottom: 5px;
  }
  .menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .break {
    display: block;
  }
}

