@charset "utf-8";

/*メイン画像エリア*/
#main_area{position:relative;background:#fef1e6;}
#main_area::after{display: block;content:"";width:100%;height:110px;background:url("../images/innermainbg.webp") bottom center/cover no-repeat;}
#main_area img{
	width:100%;
	height: auto;
	object-fit:contain;
	border-radius: 0 0 30px 30px;
}
.inner{position:relative;margin-left:calc(280px + 2.6vw);max-width:1560px;padding:40px 2.6vw;}
#main_area p.copy{
	border:2px solid #FFF;
	background: url("../images/innercopybg.webp")#f7a26c right bottom no-repeat;
	border-radius: 12px;
	width:380px;
	height:145px;
	position: absolute;
	top:-100%;
	left:50%;
	transform: translateX(-50%);
	white-space: nowrap;
}
#main_area p span{position:absolute;top:30%; left:50%; transform: translateX(-50%);font-size:max(1.25vw,22px);color:#FFF;}
/*記事一覧*/
.topicslist li{border-top:1px dotted #cccccc;}
.topicslist li:first-child{border-top:1px solid #cccccc;}
.topicslist li:last-child{border-bottom:1px solid #cccccc;}
.topicslist li a{
	position: relative;
	display:flex;
	align-items: center;
	padding:30px 0;
}

.topicslist li a::after{
	position: absolute;
	top:50%;
	right:0;
	transform: translateY(-50%);
	content: ">";
	}
.topicslist time {
	width:180px;
	text-align:center;
	margin-right:2em;
	color:#4d4d4d;
}
.topicslist p{width:calc(100% - 180px);color:#1e0000;margin-right:2em;}
.topicslist li a:hover p{color:#e3823c !important;}

#pager{display:flex; justify-content: center;align-items: center;}
#pager li:not(.prev):not(.next){
	font-size: 18px;
	margin:0 1%;
}
#pager li:not(.prev):not(.next) a,#pager li span{
	display:block;
	width:40px;
	height:40px;
	padding:5px;
	text-align: center;
	border:1px solid #e3823c;
	border-radius: 50%;
	color:#e3823c;
}
#pager li:not(.prev):not(.next) a{background:#e3823c;color:#FFF;}
#pager .next img{transform: rotate(180deg);}
#pager li a.entrynav{width:200px !important; border-radius: 5px !important;}

/*記事詳細*/
.h2{width:85%;max-width:800px;margin:0 auto 60px;overflow-wrap: break-word;}
.entry{max-width:1200px; margin:auto;border:1px solid #808080;padding:30px;border-radius: 30px;}
.entry time{text-align:right;display: inherit;}
.entry p,.entry ol ,.entry ul {margin-bottom:2em;}
.entry h2{margin-bottom:2rem;border-left:5px solid #e3823c; padding:8px 10px;}
.entry h3{margin-bottom:2rem;font-size: 20px;background:#e3823c; color:#FFF; padding:8px 10px;border-radius: 10px;}

.entry h4{
    border: none;
    display: block;
    font-size: 18px;
    padding: 0.5rem;
    position: relative;
	margin-bottom: 2rem;
	border-bottom: 1px solid #e3823c;
	color:#e3823c
}
.entry ol li:not(:last-child),.entry ul li:not(:last-child){margin-bottom: 10px;}
.entry ul{background:#fef1e6;padding:20px; border-radius: 10px;}
.entry ul li{padding-left:1em;text-indent: -1em;}
.entry ul li::before{content: "";display:inline-block; width:7px;height: 7px;background:#e3823c;border-radius: 50%;margin-right: 10px;}	

.entry ol {
	background:#fef1e6;
	border-radius: 10px;
	padding:20px 20px 20px 15px;
	counter-reset: my-counter;
	list-style: none;
}
.entry ol li {
  line-height: 1.5;
  padding-left: 30px;
  position: relative;
}
.entry ol li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  border: 1px solid #e3823c;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #e3823c;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 1.5px;
  left: 0;
}
.entry a{text-decoration:underline; color:#e3823c;}
.entry a:hover{text-decoration:none;}

/* レスポンシブ
------------------------------------------------------------*/
@media screen and (max-width: 1700px) {
	.bg_line::after{display: block;content:"";width:100%;height:137px;background:url("../images/bg_line.webp") bottom center/contain no-repeat;}
	#main_area::after{display: block;content:"";width:100%;height:110px;background:url("../images/innermainbg.webp") bottom center/contain no-repeat;}
}
@media screen and (max-width: 1180px) {
	.inner{margin-left:0;padding:40px 2.6vw;}
	#main_area::after{height:70px;}
	.bg_line::after{height:90px;}
}
/* 768px以下から
------------------------------------------------------------*/
@media only screen and (max-width:768px){
	body {min-width: 768px!important;}
	/*記事一覧*/
	.topicslist{margin:0;width:100%;}
	.topicslist li a{flex-wrap:wrap;padding:0;}
	.topicslist li{padding:15px;}
	.topicslist span{padding:5px 10px;width:120px;margin-right:1em;}
	.topicslist p{margin-top:1em;}

	/*記事詳細*/
	.tientry span{font-size:18px;}
	.entry time{font-size:14px;}
	.entry h3,.entry h4{font-size:18px;}
	.entry h3::before{width:25px;height: 25px;}
}
/* 500px以下から
------------------------------------------------------------*/
@media only screen and (max-width:500px){
    body {min-width: inherit!important;width: 100%;}
	#main_area::after{display: block;content:"";width:100%;height:60px;background:url("../images/innermainbgSP.webp") bottom center/contain no-repeat;}
	#main_area p.copy{
		width:85%;
		height:130px;
	}
	#main_area img{border-radius: 0 0 20px 20px;}
	/*記事一覧*/
	.topicslist time {
		width:auto;
		display:block;
	}
	.topicslist p{width:100%;}
	/*記事詳細*/
	.entry{padding:10px;border-radius: 10px;}
	.entry h3::before{
		display: block;
		width:30px;
		height: 30px;
	}
	.entry ol,.entry ul {
		padding:10px;
	}
}