/* ブログ機能 */
h1.blog_name,
p.blog_name{
    font-size: 32px;
	font-weight: 600;
    text-align: center;
    color: #0d5083;
	line-height: 1.4;
    margin: auto;
    padding: 60px 0;
    background: url(/img/blogback2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom -80px;
	text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 8px #fff, 0 0 9px #fff;
}

@media screen and (min-width: 1201px){
	h1.blog_name,
	p.blog_name{
		margin-top: 25px;
		border: 10px solid #eaf7ff;
	}
}

@media screen and (max-width: 640px){
	h1.blog_name,
	p.blog_name{
		font-size: 24px;
		padding: 30px 0;
		background-position: center bottom -20px;
	}
}

.blog picture.thumbs {
    display: block;
    max-width: 600px;
    margin: 0 auto 20px;
}

.blog picture.thumbs img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

section.blog a.post{
	display: flex;
	position: relative;
    margin: 10px 0;
    padding: 20px 0;
	border-bottom: 1px solid #ccc;
	transition: 0.3s;
}

@media screen and (max-width: 640px){
	section.blog a.post{
		padding: 10px 0 0;
	}
}

section.blog a.post:last-child{
	border-bottom: none;
}

section.blog a.post:hover{
	background: #eaf7ff;
	transition: 0.3s;
}

section.blog a.post figure {
    width: 240px;
	overflow: hidden;
	z-index: 1;
}

@media screen and (max-width: 900px){
	section.blog a.post figure {
		width: 200px;
	}
}

@media screen and (max-width: 640px){
	section.blog a.post figure {
		width: 100px;
	}
}

section.blog a.post figure img {
    width: 100%;
	max-height: 150px;
    object-fit: cover;
	transition: 0.5s;
}

@media screen and (max-width: 640px){
	section.blog a.post figure img {
		min-height: 90px;
		border-radius: 5px;
	}
}

section.blog a.post:hover figure img{
	transform: scale(1.2,1.2);
    transition: 0.5s;
}

section.blog a.post .detail {
    position: relative;
    width: calc(100% - 240px);
    padding: 0 40px 0 20px;
	z-index: 1;
}

@media screen and (max-width: 900px){
	section.blog a.post .detail {
		width: calc(100% - 200px);
	}
}

@media screen and (max-width: 640px){
	section.blog a.post .detail {
		width: calc(100% - 100px);
		padding: 0 25px 0 10px;
	}
}

section.blog a.post .detail::after{
	content: "";
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    width: 20px;
    height: 20px;
    border-top: 3px solid #9fb7cf;
    border-right: 3px solid #9fb7cf;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
	transition: 0.3s;
}

@media screen and (max-width: 640px){
	section.blog a.post .detail::after{
		top: calc(50% - 6px);
		right: 5px;
		width: 12px;
		height: 12px;
	}
}

section.blog a.post:hover .detail::after{
	right: 5px;
	border-top: 3px solid #0d5083;
    border-right: 3px solid #0d5083;
	transition: 0.3s;
}

section.blog a.post .detail h2{
	font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #0d5083;
    margin: 0 0 12px;
    padding: 5px 130px 5px 0;
    border-bottom: 1px solid #9fb7cf;
}

@media screen and (max-width: 640px){
	section.blog a.post .detail h2{
		font-size: 14px;
		line-height: 20px;
		margin: 5px 0 0;
		padding: 0;
		border-bottom: none;
	}
}

section.blog a.post .detail p.time{
	position: absolute;
    right: 40px;
    top: 3px;
    font-size: 12px;
	font-weight: 600;
    line-height: 26px;
    background: #e0f3ec;
    padding: 2px 10px;
	margin: 0;
    border-radius: 5px;
}

@media screen and (max-width: 640px){
	section.blog a.post .detail p.time{
		position: unset;
		right: 0;
		top: 0;
		line-height: 16px;
		color: #666;
		background: unset;
		padding: 2px 0;
		border-bottom: 1px solid #9fb7cf;
		border-radius: unset;
	}
}

section.blog a.post .detail p.text{
	font-size: 14px;
	margin: 0;
}

@media screen and (max-width: 900px){
	section.blog a.post .detail p.text{
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}

@media screen and (max-width: 640px){
	section.blog a.post .detail p.text{
		display: none;
	}
}

/* 記事本文 */
.blog_single {
    display: flex;
    flex-wrap: wrap;
    background: #eaf7ff;
    border: 1px solid #9fb7cf;
    border-radius: 5px;
    overflow: hidden;
	padding: 0;
    margin: 20px auto;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}

@media screen and (max-width: 900px){
	.blog_single {
		display: block;
	}
}

@media screen and (max-width: 640px){
	.blog_single {
		background: none;
		border: none;
		box-shadow: none;
	}
}

.blog_single article{
	width: 100%;
    background: #fff;
    margin: 10px;
    padding: 40px 20px;
    border-radius: 5px;
}

@media screen and (max-width: 900px){
	.blog_single article{
		margin: 0;
	}
}

@media screen and (max-width: 640px){
	.blog_single article{
		padding: 5px;
	}
}

.blog_single article h1{
	font-size: 22px;
	font-weight: 600;
	color: #0d5083;
	margin: 0 0 10px;
}

@media screen and (max-width: 640px){
	.blog_single article h1{
		font-size: 16px;
		line-height: 1.5;
    	padding-bottom: 5px;
	}
}

.blog_single article .meta .time{
	display: block;
    width: 100%;
    font-size: 14px;
    text-align: right;
    margin-bottom: 1rem;
}

@media screen and (max-width: 640px){
	.blog_single article .meta .time{
		font-size: 12px;
	}
}

.blog_single article .meta .time::before {
    font-family: "Font Awesome 5 Free";
    content: '\f073';
    margin-right: 5px;
}

.blog_single article .meta img.thumbs{
	width: 100%;
    max-height: 360px;
	object-fit: cover;
	margin-bottom: 20px;
}

@media screen and (max-width: 640px){
	.blog_single article .meta img.thumbs{
		max-height: 200px;
	}
}

@media screen and (max-width: 640px){
	.blog_single article .box p{
		font-size: 14px;
	}
}

.blog_single article .box h2{
	font-size: 20px;
    font-weight: 600;
    color: #0d5083;
    padding: 5px;
    background: #eaf7ff;
    border-top: 2px solid #9fb7cf;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}

@media screen and (max-width: 640px){
	.blog_single article .box h2{
		font-size: 18px;
	}
}

.blog_single article .box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0d5083;
    padding: 5px 5px 5px 10px;
    border-left: 10px solid #9fb7cf;
}

@media screen and (max-width: 640px){
	.blog_single article .box h3 {
		font-size: 16px;
	}
}

.blog_single article .box h4 {
	display: inline-block;
    color: #0d5083;
    padding: 0.5rem 1rem;
    line-height: 1;
    border: 1px solid;
    border-radius: 100px;
}

@media screen and (max-width: 640px){
	.blog_single article .box h4 {
		font-size: 14px;
	}
}

.blog_single article blockquote {
	margin: 0 0 20px;
    padding: 10px;
    border: 1px solid #ccc;
}

.blog_single article blockquote p{
	font-size: 14px;
    color: #666;
	margin: 0;
}

@media screen and (max-width: 640px){
	.blog_single article blockquote p{
		font-size: 12px!important;
	}
}

.blog_single article a{
	color: #0d5083;
	transition: 0.3s;
}

.blog_single article a:hover{
	color: #0693e3;
	transition: 0.3s;
}

.blog_single article a.school_link{
	display: block;
    width: 100%;
    max-width: 500px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: auto;
    padding: 10px;
    color: #fff;
    background: #52a7dd;
    border: 1px solid #52a7dd;
}

.blog_single article a.school_link:hover{
	color: #52a7dd;
    background: #fff;
}

.blog_single .sidebar{
	width: 270px;
	background: #fff;
    margin: 10px 10px 10px 0;
    padding: 40px 20px;
    border-radius: 5px;
}

@media screen and (max-width: 900px){
	.blog_single .sidebar{
		width: 100%;
		margin: 10px 0 0;
	}
}

@media screen and (max-width: 640px){
	.blog_single .sidebar{
		padding: 5px;
	}
}

.blog_single .sidebar .box{
	margin-bottom: 20px;
}

.blog_single .sidebar .box h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #32ab7f;
    padding: 5px;
    border-radius: 5px;
}

.blog_single .sidebar .box ul li {
    border-bottom: 1px solid #ccc;
}

.blog_single .sidebar .box ul li:last-child {
	border-bottom: 0;
}

.blog_single .sidebar .box ul li a{
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	transition: 0.3s;
}

.blog_single .sidebar .box ul li a:hover{
	background: #efefef;
	transition: 0.3s;
}

.blog_single .sidebar .box ul li a img{
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 5px;
	transition: 0.3s;
}

@media screen and (max-width: 900px){
	.blog_single .sidebar .box ul li a img{
		width: 90px;
		height: 90px;
	}
}

.blog_single .sidebar .box ul li a:hover img{
	opacity: 0.8;
	transition: 0.3s;
}

.blog_single .sidebar .box ul li a .right{
	width: calc(100% - 60px);
	padding-left: 10px;
}

@media screen and (max-width: 900px){
	.blog_single .sidebar .box ul li a .right{
		width: calc(100% - 90px);
	}
}

.blog_single .sidebar .box ul li a .right p.time{
	font-size: 12px;
	margin: 0;
}

@media screen and (max-width: 900px){
	.blog_single .sidebar .box ul li a .right p.time{
		font-size: 14px;
	}
}

.blog_single .sidebar .box ul li a .right h3{
	display: -webkit-box;
	font-size: 12px;
	font-weight: 600;
	color: #0d5083;
	margin: 0;
	padding: 0;
	-webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 900px){
	.blog_single .sidebar .box ul li a .right h3{
		font-size: 14px;
	}
}

.blog_single article .box .pickup {
    position: relative;
    width: 100%;
    border: 1px solid #32ab7f;
	margin: 50px 0 20px;
    padding: 10px;
}

@media screen and (max-width: 640px){
	.blog_single article .box .pickup {
		font-size: 12px;
	}
}

.blog_single article .box .pickup span {
    position: absolute;
    top: -30px;
    left: -1px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #32ab7f;
    padding: 8px 10px;
    border-radius: 10px 10px 0 0;
}

.blog_single article .box ol {
    line-height: 2.0;
    position: relative;
    counter-reset: number;
    list-style: none;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #9fb7cf;
    border-radius: 10px;
}

@media screen and (max-width: 640px){
	.blog_single article .box ol {
		border-radius: 5px;
	}
}

.blog_single article .box ol li {
    position: relative;
    font-size: 14px;
    line-height: 14px;
    padding: 14px 10px 14px 40px;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 640px){
	.blog_single article .box ol li {
		padding: 10px 10px 10px 32px;
	}
}

.blog_single article .box ol li:last-child {
	margin-bottom: 0;
	border: none;
}

.blog_single article .box ol li:before {
    counter-increment: number;
    content: counter(number);
    width: 26px;
    height: 26px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    line-height: 16px;
    padding: 5px;
    margin: 8px 0;
    background: #0d5083;
    color: #fff;
    text-align: center;
    border-radius: 30px;
}

@media screen and (max-width: 640px){
	.blog_single article .box ol li:before {
		margin: 4px 0;
	}
}

.blog_single article ul:not(.ad_list_a) {
	list-style: disc;
	margin: 0 0 1.5em 30px;
}

.blog_single article ul li:not(:last-child) {
	margin: 0 0 1.5em;
}