@charset "utf-8";
/*メイン画像エリア*/
#main_area{position:relative;width:100%;max-height: 350px;height: 17vw; background: #eeefea;}
#main_area img{
	position: absolute;
	bottom:0;
	right:3%;
	max-width:46%;
	min-width: 36%;
}
#main_area p{
	white-space: nowrap;
	position: absolute;
	top:50%;
	left:15%;
	transform: translateY(-50%);
	font-size:min(2.0vw,36px);
	font-size:max(2.0vw,23px);
	letter-spacing: 0.5vw;
	font-weight: 500;
	color:#000;
}
#main_area p span{
	display: block;
	font-size:min(0.9vw,17px);
	font-size:max(0.9vw,14px);
	letter-spacing: 0.1vw;
	font-weight: bold;
	color:#0075c1;
}

/*各ページコンテンツ*/
.topicslist,.entry {max-width: 1200px;width: 100%;margin: 0 auto;}
.topicslist li{
	border-bottom:1px solid #0075c1;
	padding-bottom:30px;
	margin-bottom: 30px;
}
.topicslist h3{
	font-size:20px;
	color:#000;
	padding-bottom:10px;
}
.topicslist date,.topicslist p{color:#4d4d4d;}
.topicslist date{display: block; text-align: right;}

#pager{display:flex; justify-content: center;align-items: center;}
#pager li:not(.prev):not(.next){
	font-size: 18px;
	margin: 1% 1.2%;
	font-weight: 500;
}
#pager li a{
	color: #0075c1;
}
#pager li span,#pager li:not(.prev):not(.next) a:hover{
	border-bottom:2px solid #0075c1;
	color:#0075c1;
}
#pager .prev,#pager .next{margin: 1% 1.5%;}
#pager .next img{transform: rotate(180deg);}

a.btn{
	display: inline-block;
	width:200px;
	border-radius: 20px;
	text-align: center;
	color:#FFF !important;
	background-color: #0075c1;
	font-weight: 300;
	padding:5px 0;
}
a.btn:hover{
	opacity: 1.0!important;
	transform: scale(1.05);
}
/*記事詳細*/
.entry{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 h3{margin-bottom:2rem;font-size: 20px;background:#0075c1; 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;
}
.entry h4:after {
    bottom: 0;
    background: repeating-linear-gradient(-45deg, transparent 0 2px, #9fd9f6 2px 4px);
    content: '';
    left: 0;
    height: 5px;
    position: absolute;
    width: 100%;
}

.entry ol li:not(:last-child),.entry ul li:not(:last-child){margin-bottom: 10px;}
.entry ul{background:#e6f2f5;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:#0075c1;border-radius: 50%;margin-right: 10px;}	

.entry ol {
	border:1px solid #cfcfcf;
	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 #0075c1;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #0075c1;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 1.5px;
  left: 0;
}
.entry a{text-decoration:underline; color:#0075c1;}
.entry a:hover{text-decoration:none;}

/*----------------------------------------------------------*/
/* レスポンシブ
------------------------------------------------------------*/
/* 1280px以下から
------------------------------------------------------------*/
@media only screen and (max-width:1280px){
	body {min-width: 1230px!important;}
	#main_area{height: 230px;}
}
/* 768px以下から
------------------------------------------------------------*/
@media only screen and (max-width:768px){
	body {min-width: 718px!important;}
	#main_area{max-height: 160px;height: 26vw;}
	.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{max-height: 250px;height:50vw;background-color:#FFF; }
	#main_area img{
		position: absolute;
		top:0;
		left:50%;
		transform: translateX(-50%);
		max-width: 430px;
		width:100%;
	}
	#main_area p{
		top:inherit;
		bottom:5%;
		left:50%;
		transform: translateX(-50%);
		width:60%;
		text-align: center;
		background:#FFFFFF;
		padding:15px 25px;
		border-radius: 10px;
		box-shadow: 0px 0px 15px -5px #777777;
		z-index:99;
	}
	.topicslist{margin:0;width:100%;}
	.topicslist li{
		padding:15px;
	}
	.entry{padding:10px;border-radius: 10px;}
	.entry h3::before{
		display: block;
		width:30px;
		height: 30px;

	}
	.entry ol,.entry ul {
		padding:10px;
	}
}


