/* ----------------------

	お知らせ用　css

---------------------- */


/* iframe {
	border:none;
	width:100%;
	height:100%;
	padding:0;
	margin:0;
} */


/* -------------------------------
　トップページ　top-umekomi.php用
------------------------------- */
#news {
	background: var(--color-yellow);
	position: relative;
}
#news::before {
	content: '';
	position: absolute;
	top: 0;
	background:url(../images/flag.png);
	width: 100%;
	height: 15px;
}

/* お知らせ　リスト */
.news_list {
    max-width: 1100px;   
	margin: 40px 0 20px;
}
.news_list tr {
    width: 100%;
    border-top: 1px dashed var(--color-brown);
	border-bottom: 1px dashed var(--color-brown);
}

.news_list th, .news_list td a, .news_list td {
	font-size: 1.8rem;
	color: var(--color-brown);
	font-family: 'Kiwi Maru', serif;
	letter-spacing: 0.04em;
	line-height: 1.6;
}
.news_list th, .news_list td {
    text-align: left;
	font-weight: normal;
}
.news_list th {
    width: 1%;
    white-space: nowrap;
	padding: 17px 0 17px 22px; /* 1つのリスト内の余白 */
}
.news_list td {
	padding: 17px 0 17px 35px;/* 1つのリスト内の余白 */
}
.news_list td a {
	border-bottom: 1px solid var(--color-brown);
}
.news_list td a:hover {
	border-bottom: none;
}

@media screen and (max-width:1200px) {

	#news::before {
		content: '';
		background: none;
	}

}

@media screen and (max-width:768px) {

	.news_list table {
		width: 100%;
	}
	.news_list th, .news_list td a {
		font-size: 1.5rem;
	}
	.news_list th {
		padding-top:15px;
		padding-bottom: 0; 
	}
	.news_list td {
		padding-top: 5px;
		padding-bottom: 15px;
	}
	.news_list th, .news_list td {
		display: block;
		padding-left: 15px;
	}

}




/* -------------------------------
   一覧ページ news.php
------------------------------- */
.p16 th, .p16 td a, .p16 td {
	font-size: 1.6rem!important;
}
@media screen and (max-width: 568px) {
	.p16 th, .p16 td a, .p16 td {
		font-size: 1.5rem!important;
	}
}

.pager{
	text-align: center;
    padding: 10px 0;
	clear:both;
}
/*ページャーボタン*/
.pager a{
	font-size: 1.4rem;
    color: var(--color-brown);
    border: 1px solid var(--color-brown)!important;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    transition: all 0.15s ease-in-out 0s;
    margin: 5px !important;
}

/*現在のページのボタン*/
.pager a.current{
    background: var(--color-brown);
    border: 1px solid var(--color-brown);;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 12px;
    padding: 3px 7px 2px;
	margin:0 1px;
    text-decoration: none;
}

.pager a:hover{
    background:var(--color-brown);;
    color: #fff;
}

.overPagerPattern{
	padding:0 2px ;	
}




/* -------------------------------
   詳細ページ news-detail.php 
------------------------------- */
.text_default span, .text_default div {
	font-size: 1.6rem!important;
	font-weight: 500!important;
    color: var(--color-brown)!important;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* 太文字 */
b.text_default b {
    font-weight: bold!important;
	font-size: 1.6rem!important;
    color: var(--color-brown)!important;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* リンク */
.text_default a {
	color: var(--color-green)!important;
	display: inline-block!important;
    line-height: 1!important;
    border-bottom: 1px solid var(--color-green)!important;
}
.text_default a:hover {
	border-bottom: none!important;
	opacity: 1!important;
}

/* 投稿タイトル */
#news-detail_only h2 {
	font-size: 3.6rem!important;

	font-weight: 700!important;
    color: var(--color-brown)!important;
    letter-spacing: 0.04em!important;
	text-align: left!important;
	line-height: 1.2!important;

    margin: 0!important;
    border: none!important;
	padding: 0!important;
    text-shadow: none!important;
    background: none!important;
	height: auto;
}

/* タイトル下の日付 */
#up_ymd {
	color: var(--color-brown)!important;
    text-align: left!important;
    font-size: 1.5rem!important;
	margin: 0!important;
	padding-top: 15px;
}

#detail {
	margin: 60px 0;
}

/* リスト */
#news-detail_only li, #news-detail_only li a {
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--color-brown);
	font-family: 'Zen Maru Gothic', sans-serif;
	line-height: 1.6;
	position: relative;
	margin-left: 22px;
	vertical-align: middle;
}
/* オレンジ丸のリスト */
#news-detail_only li::before {
	content: '';
	width: 16px;
	height: 16px;
	background: var(--color-orange);
    border-radius: 50px;
    position: absolute;
    top: 5px; /*1.6remのline-height: 1.6;の余白5px分 */
	left: -22px;
}
ol {list-style-type: decimal!important;}
ol li::before {content:none!important;}


/* ボタン */
.btn_back {
	margin-top: 40px;
	text-align: center!important;
}
.btn_back_inner {
  display: inline-block;
  position:relative;
  
  background-color: var(--color-green);
  border-radius: 5px;
  min-width: 318px;
}
.btn_back_inner::before {
	position: absolute;
	top:25%;
	left: 33px;
	content:'';
	width: 25px;
	height: 25px;
	margin: auto;
	background-image: url(../images/arrow.png);
	transform: scaleX(-1);
}
.btn_back .btn_back_inner a {
	display: inline-block!important;
	position:relative;
	
	font-size: 2.4rem;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	letter-spacing: 0.06em;
	line-height: 1.3!important;
	color: #ffffff!important;
	border-bottom: none!important;

	padding: 9px 45px 9px 65px;
}

/* 画像の上下余白 */
.detailUpfile {
    margin: 0!important;
    text-align: left!important;
}
.detailUpfile img {
	max-width: 100%;
    height: auto;
    display: block!important;
	margin: 20px auto!important;
}


@media screen and (max-width: 568px) {

	.text_default span, .text_default b, .text_default div {
		font-size: 1.5rem!important;
	}

	#detail {
		margin: 45px 0;
	}

	#news-detail_only h2 {
		font-size: 2.2rem!important;
		margin: 40px 0;
	}

	#news-detail_only li, #news-detail_only li a {
		font-size: 1.5rem;
	}

	.btn_back .btn_back_inner a {
		font-size: 1.6rem;
		padding: 15px 32px;
	}
	.btn_back_inner::before {
		top:25%;
	}
}


@media screen and (max-width: 430px) {
	.btn_back_inner {
		display: block;
		width: 100%;
		min-width: auto;
	}
}
