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

main{
	padding-top: 1rem;
}

section{
	margin-bottom: 2.3rem;
}

h1{
	padding: 5px;
	color: #fff;
	background: #009844;
	font-weight: 700;
	font-size: 3rem;
	position: relative;
	height: 80px;
	display: flex;
	align-items: center;
	letter-spacing: 4px;
	justify-content: center;
}

h1:before{
	content: "";
	width: 15%;
	height: 60px;
	border-width: 1px 0 1px 1px;
	border-style: solid;
	border-color: #fff;
	left:10px;
	top:10px;
	position: absolute;
	margin-right: 10px;
}

h1:after{
	content: "";
	width: 15%;
	height: 60px;
	border-width: 1px 1px 1px 0px;
	border-style: solid;
	border-color: #fff;
	right:10px;
	top:10px;
	position: absolute;
	margin-left: 10px;
}

h2{
	background: #e60012;
	padding: 11px 0;
	font-size: 2.3rem;
	color: #fff;
	font-weight: 700;
	text-align: center;
	letter-spacing: 4px;
	margin-bottom: 1rem;
	position: relative;
}

h2:before{
	content: "";
    width: 0;
    height: 100%;
    border-style: solid;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 64px solid #000000;
    border-right: 0;
	position: absolute;
	top: 0;
	left: 0;
}

/*目次ボタン===================================*/
.kb-index ul{
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap:16px 10px;
}

.kb-index ul li{
	width: 31%;
	color: #009844;
	font-weight: 600;
	font-size: 1.2rem;
	border: 2.5px solid #009844;
	background: #fff;
	text-align: center;
	border-radius: 10px;
}

.kb-index ul a{
	display: flex;
	flex-direction: column;
	gap:3px;
	align-items: center;
	width: 100%;
	position: relative;
	padding: 12px 10px 12px;
}

/*やじるし*/
.kb-index ul a:after{
	content: '';
  width: 12px;
  height: 12px;
  border: 0;
  border-bottom: solid 2px #009844;
  border-right: solid 2px #009844;
  transform: rotate(45deg);
}

.kb-index a:hover{
	opacity: 1;
}

.kb-index li:hover{
	color: #fff;
	background: #009844;
}

.kb-index ul a:hover::after{
	border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
}

/*のぼり一覧===========*/
/*ｈ2下の説明*/
	.exp{
		margin-bottom: 1rem;
	}

/*画像６枚の列と1枚の列*/
.nobori-ul, .nobori-ul1{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap:20px 10px;
	text-align: center;
	margin:0 10px;
}

/*画像２枚のみの列の調整*/
.nobori-ul2{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap:20px 10px;
	text-align: center;
	margin:0 10px;
}

.nobori-ul2:after{
	content: "";
    display: block;
    width: 66%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}

/*画像３枚のみの列の調整*/
.nobori-ul3{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap:20px 10px;
	text-align: center;
	margin:0 10px;
}

.nobori-ul3:after{
	content: "";
    display: block;
    width: 49%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}

/*画像4枚のみの列の調整*/
.nobori-ul4{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap:20px 0;
	text-align: center;
	margin:0 10px;
}

.nobori-ul4:after{
	content: "";
    display: block;
    width: 32%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}

/*ポール先端が丸いのぼり*/
.p-maru{
	width:14%;
}

.p-maru img{
	width: 90%;
}

/*ポール先端が四角いのぼり*/
.p-shikaku{
	width: 14%;
}

.p-shikaku img{
	width:81%;
}


.p-maru .kikaku{
	margin:8% 3% 5% 10%;
	border: 1px solid;
	border-radius:5px;
	padding:5px;
	height: 32px;
	width:90%;
}

.p-shikaku .kikaku{
	margin:9% auto 5% auto;
	border: 1px solid;
	border-radius:5px;
	padding:5px;
	height: 32px;
	width:90%;
}

.nobori-ul2 ul, .nobori-ul3 ul, .nobori-ul4 ul{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}


/*他のジャンルののぼりへとぶボタン*/
.nobori-others-btn{
	background-image: linear-gradient(0deg, #007c40, #00af44);
	padding: 18px;
	font-size: 2.7rem;
	color: #fff;
	font-weight: 700;
	display: block;
	border-radius: 15px;
	text-align: center;
	box-shadow: 5px 5px 3px rgba(0, 0, 0, .2);
    transition: .2s;
	margin-bottom: 2rem;
	text-shadow: 3px 3px 1px #006430;
}

.nobori-others-btn:hover{
	box-shadow: unset;
  transform: translate(4px,4px);
}

.nobori-others-btn br{
	display: none;
}

.modoru{
	margin-top: 5rem;
}

@media screen and (max-width: 760px){
	/*他のジャンルののぼりへとぶボタン*/
.nobori-others-btn{
	font-size: 2.2rem;
}
	
/*のぼり一覧
=================*/
	
/*ポール先端が丸いのぼり*/
.p-maru{
	width:22%;
}

/*ポール先端が四角いのぼり*/
.p-shikaku{
	width: 22%;
}
	
/*ulのそれぞれの最後の余白調整*/
	
/*画像1枚の列*/
.nobori-ul:after{
	content: "";
    display: block;
    width: 50%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}
	
.nobori-ul1:after{
	content: "";
    display: block;
    width: 22%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}
	
.nobori-ul2:after{
    width: 48%;  /* .boxに指定したwidthと同じ幅を指定する */
  
}	

.nobori-ul3:after{
    width: 22%;  /* .boxに指定したwidthと同じ幅を指定する */
  
}
	
}

@media screen and (max-width: 650px){
	h1{
	font-size: 2.5rem;
	letter-spacing: 4px;
}

h1:before{
	width: 8%;
}

h1:after{
	width: 8%;
}
	
/*h2*/
	h2{
	font-size: 2rem;
	color: #fff;
	font-weight: 700;
	text-align: center;
	letter-spacing: initial;
}

h2:before{
    height: 100%;
    border-top: 29px solid transparent;
    border-bottom: 29px solid transparent;
    border-left: 46px solid #000000;
}
	
/*目次ボタン*/
	.kb-index ul li{
	width: 48%;
	color: #009844;
	font-weight: 600;
	font-size: 1.2rem;
	border: 2.5px solid #009844;
	background: #fff;
	text-align: center;
	border-radius: 10px;
	
}


/*他のジャンルののぼりへとぶボタン*/
.nobori-others-btn{
	font-size: 1.8rem;
}
	


}

@media screen and (max-width: 535px){
/*他のジャンルののぼりへとぶボタン*/
	.nobori-others-btn{
	    font-size: 1.8rem;
		padding: 1rem;
}
	
	.nobori-others-btn br{
		display: block;
	}
	
	h1{
	font-size: 2.2rem;
	letter-spacing: 3px;
}

h1:before{
	width: 8%;
}

h1:after{
	width: 8%;
}
	
/*のぼり一覧
=================*/
	
/*ポール先端が丸いのぼり*/
.p-maru{
	width:31%;
}

/*ポール先端が四角いのぼり*/
.p-shikaku{
	width: 31%;
}
	
/*のぼり一覧*/
.nobori-ul2:after{
  width: 31%;  /* .boxに指定したwidthと同じ幅を指定する */
  
}
	
	}

@media screen and (max-width: 430px){

h2{
	font-size: 1.6rem;
	color: #fff;
	font-weight: 700;
	text-align: center;
	letter-spacing: initial;
}

h2:before{
    height: 100%;
    border-top: 25.9px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 46px solid #000000;
}
	
/*目次ボタン*/
	.kb-index ul li{
	width: 48%;
	color: #009844;
	font-weight: 600;
	font-size: 1.05rem;
	border: 2.5px solid #009844;
	background: #fff;
	text-align: center;
	border-radius: 10px;
}
	
.kb-index ul a{
	display: flex;
	flex-direction: column;
	gap:3px;
	align-items: center;
	width: 100%;
	position: relative;
	padding: 12px 2px 12px;
}

}