* {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    list-style: none;
}

ul {
    padding: 0;
}
.tu {
    text-decoration: underline;
}
.fb {
    font-weight: bold;
    font-size: 24px;
}
.red {
    color: red;
}
a.red:hover  {
    color: red;
}
.big {
    font-size: 18px;
}
.medium {
    font-size: 14px;
}
.small {
    font-size: 12px;
}
.bold {
    font-weight :bold;
}
.indent {
    text-indent:1em;
}
header a{
    color: #333333;
    text-decoration: none;
}


section {
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}
.head2 h2 {
    font-size: 24px;
    color: red;
    font-weight: bold;
    margin: 0 0 24px 0;
}
section#hero {
    background-image: url(image/top_background2.png);
    height: 100vh;
    width: 100%;
}

section#intro {
    background-image: url(image/background2.jpg); 
    height: 100%;
}
/* .wrap {
    margin: 0 0 80px 0;
} */
.head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px;
}
.head img {
    width: auto;
    max-height: 50px;
}
.article {
    background: #fff;
    padding: 36px;
    border-radius: 24px;
    font-size: 18px;
}
.prize {
    margin-top: 60px;
}
.prize-money img {
    width: 100%;
}
section#outline {
    background-image: url(image/background3.png);
}

.item-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.item {
    margin: 0 auto;
    width: 48%;
    border-radius: 24px;
    background: #fff;
    padding: 36px;
    margin: 0 0 48px 0;
    /* height: 360px; */
}
.item .head2 {
    text-align: center;
}
.item-group {
margin: 0 0 24px 0;
}

section#schedule{
    background: url(image/background4.png);
}
.schedule-group {
    margin: 0 0 60px 0;
}
.head3 {
    text-align: center;
}
.head3 .title {
    width: 429px;
    height: 100px
    margin: 24px 0;
}
.head3 .date {
    width: 80%;
    margin: 0 0 60px 0;
}
/* .head3 h3, .head3 p {
    color: #fff;
}
.head3 h3{
    align-items: center; 
    display: flex; 
    justify-content: center; 
}
.head3 h3::before,
.head3 h3::after {
    background-color: #fff;
    content: "";
    height: 2px; 
    width: 60px; 
}
.head3 h3::before {
    margin-right: 15px; 
}
.head3 h3::after {
    margin-left: 15px; 
} */
section#sponser {
    background: url(image/background5.png);
}
.sponser .article {
    text-align: center;
    padding: 60px;
}
.sponser .article a{
    text-decoration: none;
    color: #231815;
}
.sponser .article a:hover{
    text-decoration: none;
}
.sponser .article img{
    width: 60%;
}
.sponser p {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}
section#movie {
    background: url(image/background6.png);
}
.youtube img{
    width: 100%;
}
section#contact {
    background: url(image/background6_1.png);
}
.contact-detail{
    text-align: center;
    font-weight:bold;
}
header{
    z-index: 20;
    position: fixed;
}
.logo img{
    margin: 16px;
    width: 48px;
}
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -20%;
	width:20%;
    height: 100vh;/*ナビの高さ*/
	background:#9e0000;
    /*動き*/
	transition: all 0.6s;
    line-height: 60px;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 20%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding: 0;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	/* letter-spacing: 0.1em; */
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	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;
    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%;
}
footer {
    background-color: #231815;
    color: #fff;
    padding: 48px 0;
}
footer a ,footer p{
    color: #fff;
    text-align: center;
}
footer a:hover {
    color: #fff;
    text-decoration: none;
}
#f-nav ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}
#f-nav ul li {
    padding: 20px;
}
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.youtube-logo,
.twitter-logo{
    text-align: center;
    margin: 0 20px;
}
.youtube-logo img,
.twitter-logo img{
    width: 48px;
    margin: 12px 0;
}
p.copyright {
    margin: 0;

}
.nav-detail p{
    margin: 0 12px;
}
section#twitter {
    background: url(image/background5_1.png);
}


@media (max-width: 480px) {
    #g-nav {
        width: 60%;
        right : -60%;
    }
    #g-nav.panelactive #g-nav-list {
        width: 60%;
    }
    section#hero {
        height: 80vh;
    }
    section {
        padding: 60px 0;
    }
    .item {
        width: 100%;
    }
    .sponser .article img {
        width: 100%;
    }
    .head3 .title {
        margin: 8px 0;
    }
    .head3 .date {
        margin: 12px;
    }
    .article {
        padding: 24px;
    }
    #f-nav ul li {
        padding: 20px 0;
        width: 30%;
        text-align: center;
    }
 }
 