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

*{
margin:0;
padding:0;
font-family: 'Noto Sans JP', sans-serif;     
/*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;	
}



html{
    scroll-behavior: smooth;
}

body {
}

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


.head{

    background:url("../compe27/nenga2027endst.png")center no-repeat;
    background-size: 100%;
	background-size:cover;
	position: relative;
    text-align: center;
    min-height: 100vh;

	}

.titleimg{
    width:100%;
    max-width: 804px;
    display: inline-block;
    margin-top: 2rem;
    }

.contents{
	background-color:#FFFFFF;
    padding: 50px 0; 
	}

ackground-color:#fafafa;
	}

img{
	width:100%;
	height:auto;
	}


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

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

.word{
	font-size:1rem;
	padding:0.5em;
	color:#000000;
	line-height:2rem;
	text-align:center;
	}

.red{
	color:#FF5878;
	font-weight:bold;
	}

.white{
	color:white;
	}

.sikaku{
	font-size:0.8rem;
	color:#cdac27;
	padding-right:5px;
	}	

.p1{
    font-size:1rem;
}

.bold{
    font-size: 1.1rem;
    font-weight:900;
}

.bold2{
    font-size: 1.3rem;
    font-weight:bold;
    line-height: 2.5em;
}



/*-------------フッター-------------*/
.footer{
    padding: 20px;
    background-color:#cdac27; 
    }

.copyright {
  font-size: 10px;
  text-align: center;
  color: #ffffff;
    }
	


    
@media screen and (min-width: 600px) and (max-width:1024px) {
    
    .head{
    background-position: 50%;
    }
    
    .titleimg{
    width:100%;
/*    max-width: 820px;*/
    max-width: 800px;    
    }
        
	.contents{
	padding:0 0 5px 0;
	}
	
	.box{
    max-width: 900px;    
	margin:10px 5px;
	}

	.title{
	font-size:1.3rem;
	font-weight:bold;
	padding:0.3em;
    }

	.word{
	padding:0.2em;
	text-align:left;	
	}

}


@media (max-width: 599px) and (orientation: portrait) {
   
    
   .head{
    background-position: 50%; 
    min-height: 83vh; 
    }
    
    .titleimg{
    width:100%;
    max-width: 420px;
    }
    
    .title{
	font-size:1.4rem;
	font-weight:bold;
	padding:0.5em;
	margin-top:10px;
	color:#bda106;
	text-align:center;
    }
    
    .title_r{
	font-size:1rem;
    }
    
    .word{
	font-size:1rem;
	padding:0.5em;
	color:#000000;
	line-height:2rem;
	text-align:left;
	}
    
    .brsp{
    display: none;    
    }
    
}
    

    

@media screen and (max-width: 1024px) and (orientation: landscape){
    
    .titleimg{
    width:100%;
    max-width: 500px;
    margin-top: 1rem;    
    }
    
}


    
@media screen and (min-width: 1000px) and (max-height: 700px){
    
    
    
}

    
    