@charset "utf-8";

#nb_wrap{
    width: 100%;
	text-align: center;
    margin: 0 auto;
	color: #000000;
    display: block;
    letter-spacing: 1px;
	line-height: 1.4;
    position: relative;
    font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

#nb_wrap hr{
    border: none;
    border-top: 1px solid #e2e2e2;
}

*:focus {
outline: none;
}
#nb_wrap ul{
    margin: 0;
    padding: 0;
}
#nb_wrap li{
    list-style: none;
}
#nb_wrap a {
    text-decoration: none;
}
#nb_wrap a:link{
    opacity: 1;
}
#nb_wrap a:hover{
    text-decoration: none;
}
#nb_wrap img {
    border: none;
    width: 100%;
    vertical-align: bottom;
    line-height: inherit;
}
#nb_wrap .title{
    font-size: 40px;
	font-weight: 600;
	margin: 5% 0;
}
#nb_contents{
    max-width: 1000px;
    display:block;
    position: relative;
    text-align: center;
	margin: 0 auto;
}
#nb_contents .nb_box{
    width: 100%;
    position: relative;
    text-align: center;
	display: flex;
	flex-wrap: wrap;
}
#nb_contents .nb_box .sub_title{
	text-align: left;
	font-size: 30px;
	font-weight: 600;
}
#nb_contents .nb_box .sub_title span.ruby{
	display: block;
	font-size: 50%;
	border-top: 4px solid #cf0a2c;
	padding: 5px 0;
}
#nb_contents .nb_box .txt{
	text-align: left;
	font-size: 16px;
	margin: 5% 0 3%;
	font-weight: 600;
}
#nb_contents table{
	width: 100%;
	margin: 5% auto 0;
}
#nb_contents table caption{
	font-size: 22px;
	padding-bottom: 5px; 
}
#nb_contents table tr{
	text-align: center;
}
#nb_contents table tr:hover{
	background: #585858;
	color: #ffffff;
}
#nb_contents table tr th{
	background: #e2e2e2;
	padding: 10px 0;
	font-size: 18px;
	font-weight: 600;
}
#nb_contents table tr td{
	padding: 5px 0;
	text-align: center;
	border-bottom: 1px solid #ffffff;
}
#nb_contents table tr td:hover{
	background: #cf0a2c;
	color: #ffffff;
}

.nb_section{
	margin: 10% 0;
}

.strong{
    font-size: 105%;
    font-weight: bold;
}

.small{
    font-size: 70%;
}

.clear {
	clear: both;
}
.pc{
	display: block;
}
.sp{
	display: none;
}

/************************************************************
               スライダー
************************************************************/
.slide_box{ 
	width: 100%;
	margin: 10% auto 0; 
}

.slider {
	width: 100%; 
	margin: auto; 
	display: flex;  
	gap: 15px; 
	overflow-x: scroll; 
	scrollbar-color: #333333 #e3e3e3;
    scrollbar-width: auto;
}
.slider_img {
	width: 316px;
	min-width: 350px;
	margin: 1px;
}

.slider_img:nth-child(1) {
	margin: 1px 1px 1px 0;
}

.slider_img img { 
	width: 100%; 
}

.slider_img .txt{ 
	font-size: 15px;
	font-weight: 600; 
	text-align: left;
	margin: 5% 0;
}

.slider_img .txt span{ 
	font-weight: normal; 
	display: block;
	font-size: 80%;
	margin-top: 2%;
}

/************************************************************
 sp
************************************************************/

@media only screen and (max-width:768px){
	#nb_wrap {
        width:100%;
	}
	
    #nb_contents {
      width: 95%;
    }
	
    #nb_wrap .title {
        font-size: 30px;
		margin: 10% 0;
    }
	
    #nb_contents .nb_box .sub_title {
        font-size: 23px;
		margin-left: 3px;
    }
	
    #nb_contents .nb_box .txt {
        font-size: 13px;
    }	
	
    #nb_contents table caption {
        font-size: 15px;
    }
	
    #nb_contents table tr th {
        font-size: 12px;
    }
	
    #nb_contents table tr td {
        font-size: 12px;
    }	

    .pc {
		display:none;
	}
	.sp {
		display:block;
		width: 100%;
	}

}

