@charset "UTF-8";
/* CSS Document */

*{
margin:0;
padding:0;
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

a:link, a:visited, a:hover, a:active {
  text-decoration:none;	
}

body {
}

#wrapper{
    width:100%;
    overflow-x: hidden !important;
    }

.head{
	background:url("../compe21/nenga2021_an.png")center no-repeat;
	background-size:cover;
	position:relative;
	width:auto;
	height:920px;
	}

.contents{
	width:100%; 
	background-color:#FFFFFF;
	margin:0 auto;
	}

.contents_2{
	width:100%; 
	background-color:#effff8;
	margin:0 auto;
	padding:20px 0 5px 0; 
	}

img{
	width:100%;
	height:auto;
	}
	
.hagaki{
    max-width: 280px;
    height: auto;
    margin: 20px auto;
    }

.box{
	max-width:900px; 
	margin:20px auto;
	padding:5px 20px 20px 20px;
	background-color:#ffffff;
	position:relative;
}

.box_2{
	max-width:900px; 
	margin:20px auto 20px auto;
	padding:5px 20px 20px 20px;
	background-color:#ffffff;
/*	position:relative;*/
	border:solid 3px #35b597;
	border-radius:20px;
	}

.titletext_2{
	text-align:center;
	padding-bottom:20px; 
	}

.title{
	font-size:1.7rem;
	font-weight:bold;
	padding:0.5em;
	margin-top:20px;
	color:#35b597;
	text-align:center;
}

.title_2{
	max-width:600px; 
	font-size:1.2rem;
	font-weight:bold;
	margin:50px auto 10px auto;
	padding:0.2em; 
	color:#ffffff;
	background:#19DD8B;
	}

.title_3{
	font-size:1rem;
	font-weight:bold;
	color:#FF5878;
	line-height:2rem;
    margin-top: 50px;
	}

.word{
	font-size:1rem;
	padding:0.5em;
	color:#603813;
	line-height:2rem;
	text-align:center;
	}
			
.word_2{
    font-size:1rem;
    font-weight:bold;
	padding:0.5em;
    color: #603813;
    line-height:1.8rem;
	text-align:center;
    }



@media screen and (max-width:1024px){
	
	.head{
	width:100%;	
	height:60vh;
	}
	
	.box_2{
	max-width:750px; 
	margin:20px auto;
	padding:20px;
	}
		
}




@media screen and (max-width: 768px) {
		
	.head{
	width:100%;	
	height:50vh;
	}
	
	.contents{
	padding:0 0 5px 0;
	}
	
	.box{ 	
	margin:10px 5px;
	}
	
	.box_2{
	max-width:300px;
	margin:20px auto;
	padding:5px 20px 20px 20px;
	}
	
	.title{
	font-size:1.5rem;
	font-weight:bold;
	padding:0.3em;
}
	
	.title_3{
	text-align:center;
	}
			
	.word{
	padding:0.2em;
	text-align:left;	
	}
	
}




@media screen and (orientation: landscape) {
	
	.head{
	width:100%;	
	height:100vh;
	}
	
	.box_2{
	max-width:600px; 
	margin:20px auto;
	padding:20px;
	}
		
}




