/* CSS Document */


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--base-color: #fff;					/*テンプレートの土台となる色（主に背景カラー）*/
	--base-inverse-color: #0056b9;		/*上のbase-colorの対となる色（主にテキストカラー）*/

	--primary-color: #81e8ed;			/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #0056b9;	/*上のprimary-colorの対となる色*/

	--space-large: 8vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}


 dl dt
{
	position: relative;
		border: 1px solid #e6e6e6;	/*枠線の幅、線種、varは色の指定で冒頭のbase-inverse-colorを読み込みます。*/
	
}

 dl dt .icon
{
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 999;
}

 dl dt .award
{
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 999;
}

 .sub_comment
{
	text-align: right;
	font-size: 14px;
	line-height: 160%;
}

/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{

 dl
{
	display: table;
	table-layout: fixed;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

 dl dt
{
	display: table-cell;
	width: 270px;
	margin: 0px;
	padding: 0px;
	vertical-align: top;
}


 dl dt a img
{
	width: 300px;
	height: 240px;
	object-fit: cover;

}

 dl dd
{
	display: table-cell;
	margin: 0px;
	padding: 0px;
	width: 40px;
}

 dl dd:last-child
{
	width:auto;
}

 dl dd:nth-child(8n)
{
	display: table-row;
	height: 10px;

}




}

/* タブレットレイアウト : 768 px ～ 959 px*/
@media screen and (max-width:959px)
{


}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{
 dl
{
	display: block;
}

 dl dt
{
	display: block;
	margin-bottom: 30px;
	padding: 20px;
}

 dl dt img
{
	height: auto;
	width: 100%;
}

 dl dt .icon
{
	position: absolute;
	left: 20px;
	top: 20px;
	z-index: 999;
}

 dl dt .award
{
	position: absolute;
	right: 30px;
	top: 30px;
	z-index: 999;
}


 dl dd
{
	display: none;
}

}



.page_comment
{
	margin-top: 4em;
	text-align: center;
}

.page_empty
{
	clear: both;
	text-align: center;
	margin-bottom: 3em;
}

#page
{
	clear: both;
	text-align: center;
	margin-bottom: 3em;
	color: #333333;
	padding-top: 30px;
	padding-bottom: 8px;

}
#page a,#page .page_off
{
	margin-right: 2px;
	margin-left: 2px;
}

.now_page
{
	display: inline-block;
	background-color: #0056b9;
	color: #FFF;
	text-decoration: none;
	border: 1px solid #0056b9;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	padding: 0px;
	height: 44px;
	width: 44px;
	line-height: 40px;
}

.page_off
{
	color: #999;
	display: inline-block;
	padding-top: 6px;
	padding-right: 12px;
	padding-bottom: 6px;
	padding-left: 12px;
	text-decoration: none;
}
#page a
{
	display: inline-block;
	padding: 0px;
	text-decoration: none;
	color: #0056b9;
	border: 1px solid #0056b9;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 44px;
	width: 44px;
	line-height: 40px;
}

#page a
{

}

#page  .page_top,
#page  .page_back,
#page  .page_last,
#page  .page_next
{
	display: inline-block;
	padding-top: 12px;
	padding-right: 18px;
	padding-bottom: 12px;
	padding-left: 18px;
	text-decoration: none;
	border: 1px solid #0056b9;
	border-radius: 30px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	height: auto;
	width: auto;
	line-height: 100%;
}



#page a:hover
{
	color: #fff !important;
	background-color: #0056b9;

}

#page a:before
{
	transform-origin: unset;
	transform: none;
	transition: none;
	position: static;
	background-color: transparent;
}


#page  .page_top:before,
#page  .page_back:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f100';
	font-weight: 600;
	padding-right: 4px;
	color: #0056b9;

}

#page  .page_back:before
{
	content: '\f104';
}

#page  .page_top:hover:before,
#page  .page_back:hover:before
{
	color: #fff;
}

#page  .page_last:after,
#page  .page_next:after
{
	font-family: "Font Awesome 5 Free";
	content: '\f101';
	font-weight: 600;
	padding-left: 4px;
	color: #0056b9;
}

#page  .page_last:hover:after,
#page  .page_next:hover:after
{
	color: #fff;
}


#page  .page_top,
#page  .page_back,
#page  .page_last,
#page  .page_next
{
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#page  .page_off:before,
#page  .page_off:before,
#page  .page_off:after,
#page  .page_off:after,
#page  .page_off:hover:before,
#page  .page_off:hover:before,
#page  .page_off:hover:after,
#page  .page_off:hover:after{
	color: #0056b9;
}


#page  .page_next:after
{
	content: '\f105';
}





article .link_navi
{
	text-align: center;
	width: 600px;
	margin-right: auto;
	margin-left: auto;
}


article .link_navi ul
{
	display: table;
	width: 100%;
	margin: 0px;
	padding: 0px;

}

article .link_navi li
{
	display: table-cell;
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	list-style-type: none;
}

article .link_navi li:first-child,
article .link_navi li:last-child 
{
	width: 110px;
}

article .link_navi li:first-child a,
article .link_navi li:last-child a
{
	color: var(--btn-color);
	font-size: 16px;
	display: inline-block;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	overflow: hidden;
	position: relative;
	z-index: 1;
	line-height: 40px;
	padding: 0px;
}

article .link_navi li:first-child a span,
article .link_navi li:last-child a span
{
	display: inline-block;
	padding-top: 6px;
	padding-bottom: 6px;
	position: relative;
}



article .link_navi li:first-child a:before
{
	font-family: "Font Awesome 6 Free";
	content: '\f104';
	font-weight: 900;
	margin-right: 20px;
	display: inline-block;
	line-height: 40px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 40px;
	width: 40px;
}



article .link_navi li:last-child a:after
{
	font-family: "Font Awesome 6 Free";
	content: '\f105';
	font-weight: 900;
	margin-left: 20px;
	display: inline-block;
	line-height: 40px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	height: 40px;
	width: 40px;
}




article .link_navi li:first-child a:after,
article .link_navi li:last-child a:before
{
	background: var(--btn-color);
	position: absolute;
	top: 0;
	right: 0;
	font-family: "Font Awesome 6 Free";
	content: '\f105';
	font-weight: 900;
	display: inline-block;
	line-height: 40px;
	height: 40px;
	width: 40px;
	font-size: 14px;
	border: 1px solid var(--btn-color);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform .3s;
	z-index: -1;
	margin-top: auto;
	margin-bottom: auto;
	bottom: 0px;
}

article .link_navi li:first-child a:after
{
	right: 0;
}


article .link_navi li:first-child a:after
{
	right: auto;
	left: 0;
}




article .link_navi li:first-child a:hover,
article .link_navi li:last-child a:hover
{
	color: var(--btn-color) !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;

}

article .link_navi li:first-child a:hover:before,
article .link_navi li:last-child a:hover:after
{
	color:#FFF !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;
}


article .link_navi li:first-child a:hover:after,
article .link_navi li:last-child a:hover:before
{
	transform-origin: center top;
	transform: scale(1, 1);
}

article .link_navi li:first-child a:hover span:after,
article .link_navi li:last-child a:hover span:before
{
  transform-origin: left top;
  transform: scale(1, 1);
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{

.now_page
{


}
#page a
{

}
}

@media (max-width: 1199px) 
{

}

/* タブレットレイアウト : 768 px ～ 959 px*/
@media screen and (min-width:768px) and (max-width:1199px)
{




}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{


#page
{
	position: relative;
	padding-top: 80px;
	_zoom:1;
	overflow:hidden;

}

#page a
{
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}


#page .page_top,
#page .page_back,
#page .page_next,
#page .page_last
{
	width: 25%;
	position: absolute;
	left: 0px;
	top: 0px;
	height: auto;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	background-color: #0056b9;
	color: #fff;
	border: 1px solid #0056b9;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}


#page  .page_top:before,
#page  .page_back:before,
#page  .page_last:after,
#page  .page_next:after
{
	color: #fff;
}


.page_off
{
	color: #999999 !important;
	display: inline-block;
	border: 1px solid #f8f8f8 !important;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	text-decoration: none;
	background-color: #f8f8f8 !important;
}


#page .page_top
{
	border-right-style: none;
}


#page .page_back
{
	left: 25%;
}

#page .page_next
{
	left: auto;
	right: 25%;
}

#page .page_last
{
	left: auto;
	right: 0px;
}

#page .page_no
{
	text-align: left;

}


#page .page_no a,
#page .now_page
{
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	width: 19.6%;
	display: inline-block;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 1em;
	margin-left: 0px;
	float: left;
	border-right-style: none;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

#page .page_no a:nth-child(5n),
#page .page_no a:last-child
{
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #0056b9;
}



.return a 
{
	display: inline-block;
	color: #fff;
	width: auto;
	margin-left: auto;
	margin-right: auto;
	transition: .3s;
	font-weight: normal;
	background-color: #333;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	font-size: 14px;
}



}


/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

article .link_navi
{
	text-align: center;
	width: auto;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	padding-top: 100px;
	display: flow-root;
}


article .link_navi ul
{
	width: auto;
	display: flow-root;
}

article .link_navi li
{
	display: block;
	margin: 0px;
	padding: 0px;
}

article .link_navi li:nth-child(2)
{
	text-align: center;
	display: block;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
}

article .link_navi li:first-child,
article .link_navi li:last-child 
{
	width: 40%;
}

article .link_navi li:first-child
{
	float: left;
}

article .link_navi li:last-child
{
	float: right;
}

}

/* =========================================
   ブログカード全体（白背景＋角丸＋影）
========================================= */
.blog-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;

    display: flex;
    flex-direction: column; /* スマホは縦並び */
    gap: 1.5rem;
}

/* =========================================
   画像エリア：縦にズラッと並べる
========================================= */
.blog-card-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-card-images figure {
    margin: 0;
}

.blog-card-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* 画像も少し角丸（サイトに合わせる） */
}

/* =========================================
   テキストエリア
========================================= */
.blog-card-text h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.blog-card-text p {
    line-height: 1.8;
	color: #000;
}


.blog-card-text .date {	
	color: #000;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: normal;
  text-align: left;
}

/* =========================================
   PC：画像と文章を横並び
========================================= */
@media screen and (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }

    .blog-card-images,
    .blog-card-text {
    }
}
