/* CSS Document */

#news
{
	background: url(images/news_img_01.png) no-repeat left center,
	url(images/news_img_02.png) no-repeat left bottom,
	url(images/news_img_03.png) no-repeat right bottom;
}



#news table
{
	width: 100%;
	margin-bottom: 60px;
}

#news table th
{
	color: #000;
	width: 200px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #f7f7f7;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
}

#news table td
{
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #f7f7f7;
	text-align: left;
	vertical-align: top;
	position: relative;
	padding-right: 40px;
}


#news table td:after
{
	font-family: "Font Awesome 6 Free";
	content: '\f061';
	font-weight: 900;
	margin-left: 10px;
	color: var(--point-color);
	position: absolute;
	right: 10px;
	height: 1em;
	margin-top: auto;
	margin-bottom: auto;
	top: 0px;
	bottom: 0px;
	font-size: 20px;
	line-height: 1;
}

#news table th .icon
{
	color: #FFF;
	background-color: #3f9d33;
	display: inline-block;
	font-size: 14px;
	line-height: 110%;
	padding-top: 8px;
	padding-right: 20px;
	padding-bottom: 8px;
	padding-left: 20px;
	margin-left: 20px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	position: relative;
}

#news table th .icon:after
{
	content: "";
	position: absolute;
	height: 0px;
	width: 0px;
	right: 0px;
	bottom: 0px;
	border-top-width: 16px;
	border-right-width: 16px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: transparent;
	border-right-color: #b8cc30;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-bottom-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;  
	-moz-border-radius-bottomright: 4px;  

}

#news .bg_news
{
	display: none;
	padding-top: 30px;
}

#news .bg_news img
{
	width:auto;
	height:auto;
}


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


#news .body
{
	width: 1200px;
margin: 0 auto;
}




}

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


#news .body
{
	width: auto;
	background: rgba(255, 255, 255, 0.8);
	padding-bottom: 30px;

}

#news .bg_news
{
	display: block;
}




}

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


{

article #h1_area
{
	margin-bottom: 30px;
}

article #h1_area h1
{
	text-align: center;
	padding-right: 0px;
	padding-left: 0px;
}




#news .tab
{
	padding-left: 0px;
	padding-right: 0px;
}

#news .tab ul
{
	display: grid;
	column-gap: 4px; /* 横のスペース */
	margin-bottom: -2px;
}


#news .tab ul li a
{
	padding-top: 10px;
	padding-right: 4px;
	padding-bottom: 10px;
	padding-left: 4px;
}


#news .news_main table th
{

	width: auto;
	display:block;
	padding-top: 10px;
	padding-bottom: 0px;
}

#news .news_main table td
{
	width: auto;
	display:block;
	padding-top: 0px;
	padding-bottom: 10px;
}



#news table
{
	width: 100%;
	margin-bottom: 60px;
}


#news table th .icon
{
	margin-left: 10px;
}

#news
{
}


#news .body
{
	width: auto;
		margin-right: 20px;
	margin-left: 20px;
}

#news .bg_news
{
	display: block;
}



}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{
#news table th
{
	display: block;
	width: auto;
	padding-bottom: 0px;
	border-bottom-style: none;
}

#news table td
{
	display: block;
	padding-top: 0px;
}

}




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



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

    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 {

    }
}


/* =========================================
   【強制修正】news事ページだけ中央幅に戻す
   （style.cssの指定を上書き）
========================================= */
@media screen and (max-width:767px) {

  body.page-news-detail #news .inner,
  body.page-news-detail #news .body {
    max-width: 1200px !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px;
    padding-right: 15px;
  }

}

/* ================================
   news事ページ：スマホ横100%問題 修正
================================ */
@media screen and (max-width: 767px) {

  body.page-news-detail section {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-news-detail section > .inner {
    padding-left: 10px;
    padding-right: 10px;
  }

}