

main{
	overflow: visible;
}

body{
    width: 100%;
}


#up_ymd span{
    color: #fff;
    display: inline;
    width: fit-content;
    padding: 1px 5px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    margin-top: 10px;
    margin-bottom: 5px;
    background: #003c93;
    border-radius: 2px;
    border: 1px solid #003c93;
	font-family: "Noto Sans JP", serif;
}

#category span {
    border: 1px solid #898989;
    padding: 1px 5px;
    font-weight: 400;
    font-size: 0.8rem;
    font-family: "Noto Sans JP", serif;
}


.sub-top-logo {
    z-index: 2;
    width: 240px;
    padding: 0;
    margin-left: 30px;
    position: fixed;
    top: 0;
}

.contents {
	margin: 100px auto 0;
	max-width: 1100px;
	padding:0 20px;
}

.contents h2{
	display: block;
    text-align: left;
    font-size: 35px;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    margin: 0 auto 10px;
    line-height: 45px;
    margin-top: 10px;
    color: #003c93;
    border-bottom: 1px solid #003c93;
    padding-bottom: 10px;
	
}

.news-item-info-detail{
	display: flex;
    flex-direction: row;
    align-items: center;
}

#up_ymd{
	display: inline;
	padding: 1px 5px;
	color: #49270d;
	font-weight: 600;
	letter-spacing: 1px;
}

#detail{
	margin: 10px auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-top: 30px;
}

.detailText{
	font-family: "Noto Sans JP", serif!important;
	color: #000;
    font-size: 1.1rem;
    letter-spacing: 0.02rem;
    line-height: 1.6;
    margin: 5px 0;
}

.news-btn{
	display: flex;
	justify-content: flex-end;
	margin-bottom: 30px;
}

.detailText a{
	color:  blue;
	text-decoration: underline;
}

.detailText a:hover{
	opacity: 0.75;
}



.detailText font span{
	color:#000!important;
	font-size: 1.1rem!important;
}


.backORcloseBtn.press  a{
    box-shadow: 0 4px 0 #0668C1;
}

.backORcloseBtn.press a:hover {
  transform: translateY(4px);
  box-shadow: none;
}

.btn-txt{
	font-size: 1.2rem;
	font-weight: 600;
}

#news-item .button-link button a {
	background: #003c93!important;
}

#news-item .button-link button a:hover {
	background: #0bc0ff!important;
}


@media(max-width: 1200px){
	

	.contents {
		padding: 50px 5vw 0;
		margin: 0px auto;
		border-bottom: none;
	}
	
	.contents h2 {
		font-size: 30px;
		letter-spacing: 1px;
		line-height: 42px;
	}
	
	.main-box {
		padding: 20px 0 0;
	}

	
	.backORcloseBtn {
		display: flex;
		justify-content: flex-end;
		border-bottom: 1px solid #fff;
	}
	
	
	.detailText font span {
		font-size: 1rem !important;
	}
	
	
}


@media(max-width: 1000px){
	
	
	
	.contents h2{
		font-size: 24px;
		line-height: 1.6;
	}
	
	.contents h2::after {
        width: 30px;
		bottom: 0;
    }
	
	
	
	#detail {
		margin: auto;
		display: flex;
	}

	
	.detailUpfile {
		margin:20px 0 0;
		width: 100%;
	}
	
	.detailUpfile img{
		width: 100%;
	}
	
	.detailText {
 	   font-size: 1.1rem;
 		line-height: 1.6;
		margin: 20px 0 0;
	}

}


@media(max-width: 800px){
	
	.contents {
		padding: 50px 20px 0;
	}

	.detailText font span {
		font-size: 0.95rem !important;
	}
}


@media(max-width: 600px){
	
	#detail {
		margin: 0 auto;
	}
	
	.contents {
		padding: 30px 20px 0;
	}
	
	
    .oshirase .sub-fv p {
        font-size: 2.5rem;
	}
	
	.detailText {
		font-size: 0.95rem;
		margin: 0;
    }
	
	.contents h2 {
        font-size: 1.35rem;
        line-height: 1.5;
		letter-spacing: 0.02rem;
	}

}
	