
.sub-fv-title-box::before{
	content: 'TOPICS';
}


body{
    width: 100%;
}


#up_ymd span{
    color: #000;
    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: #fff;
    border-radius: 2px;
    border: 1px solid #333;
}

#category span {
    padding: 1px 5px;
    font-weight: 400;
    font-size: 0.8rem;
    border: 1px solid #000;
    background: #000;
    color: #fff;
}


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

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

.contents h2{
	width: 100%;
	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: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
	
}

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

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

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

.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;
}

.backORcloseBtn a{
	color: #49270d;
    display: flex;
    font-weight: 500;
    padding: 10px 0;
    text-align: right;
    margin: 20px 0 0;
    cursor: pointer;
    transition: .3scubic-bezier(0.45, 0, 0.55, 1);
    letter-spacing: 1px;
    font-size: 1.1rem;
    flex-direction: row-reverse;
    gap: 20px;
	width: auto;
}

.backORcloseBtn a:hover{ 
	color:#516f39;
}

.button-back-wrap{
    margin-top: 20px;
}

.btn-arrow {
    transform: rotate(-270deg);
}


@keyframes animate1 {

	0% {
		transform: translateX(5px) rotate(-270deg);
	}

	50% {
		transform: translateX(0px) rotate(-270deg);
	}	

	100% {
		transform: translateX(5px) rotate(-270deg);
	}
}




.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;
}


.backORcloseBtn{
	display: flex;
    justify-content: flex-end;
}


.button-back a{
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.button-back a{
	border-bottom: 1px solid #333;
}

.button-back .material-symbols-outlined {
	font-size: 0.85rem;
	position: relative;
	top:1px;
}

.button-back a:hover p{
	transition: 0.3s ease-in-out;
}

.button-back a:hover p{
	letter-spacing: 2px;
}



@media(max-width: 1200px){
	

	.contents {
		padding: 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;
		padding-bottom: 50px;
	}
	
	
	.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: 20px auto;
		display: flex;
	}

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

}


@media(max-width: 800px){

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


@media(max-width: 600px){
	
	#detail {
		margin: 0 auto;
	}
	
	.contents {
		padding: 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;
	}

}
	