
body{
    font-size: 94%;
}
/* CSS Document */

.main_visual{
    min-height: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-content: center;
    background: url("../image/main_news_bg.png") center no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
}
.main_visual h2{
    font-size: 320%;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}
.main_visual p{
    font-size: 120%;
}
.main_content{
    max-width: 960px;
    margin: auto;
}
.main_text{
    text-align: center;
    background: url("../image/bg_01.png")no-repeat center;
}
.main_text p{
    font-size: 147%;
    line-height: 50px;
    padding: 30px 0;
    margin-top: 80px;
}
dl {
    padding: 0 60px;
    margin-bottom: 70px;
}
.new_icon {
    position: absolute;
    font-size: 92%;
    color: #fff;
    background: #F8794B;
    padding: 0 5px;
    top: 2px;
    margin-left: 4.2em;
}

.det_new_icon {
    font-size: 92%;
    color: #fff;
    background: #F8794B;
    padding: 0 5px;
	margin-left: 1em;
}
dt {
    float: left;
    color: #28a860;
    font-family: 'Roboto', sans-serif;
    font-size: 87%;
	position: relative;
}
dd {
    margin-left: 25%;
    margin-bottom: 50px;
}
dd a:hover{
	opacity: 1;
	text-decoration: underline;
}
.page_nav {
    padding: 0 5%;
}
.page_nav ul {
    display: flex;
    justify-content: center;
}
.page_nav ul li {
    position: relative;
    background: #ececec;
    width: auto;
    max-width: 50px;
    text-align: center;
    margin: 0 1.5px;
}
.page_nav ul li.prev,.page_nav ul li.next {
    max-width: none;
}
.page_nav ul li a{
    display: block;
    padding: 14px 20px;
}
.page_nav ul li.prev a{
    padding-left: 40px;
    
}
.prev a::before{
    content: "\03c";
    position: absolute;
    left: 20px;
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    color: #28a860;
}
.page_nav ul li.next a{
    padding-right: 40px;
    
}
.next a::after{
    content: "\03e";
    position: absolute;
    right: 20px;
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
    color: #28a860;
}
.page_nav ul li.current a,.page_nav ul li a:hover{
    background: #28a860;
    color: #fff;
    opacity: 1;
}
.prev:hover a::before,.next:hover a::after{
    color: #fff;

}
/* ==========================
ページネイション
============================= */
.wp-pagenavi {
    text-align: center;
    overflow: hidden;
    margin: 50px 0;
}

.wp-pagenavi a,.wp-pagenavi .current{
    display: inline-block;
    margin: 4px 5px;
    color: #28a860;
    line-height: 1;
    text-decoration: none;
    background: #ccc;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.wp-pagenavi .current, .wp-pagenavi span:hover {
    color: #fff;
    background:#28a860;
}
.main_content{
	width: 90%;
    max-width: 960px;
    margin: auto;
}
time {
    font-size: 120%;
	font-weight: bold;
}
.detail h1 {
    font-size: 146%;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a860;
}
.detail .detail_contents h1{
	border: inherit;
	padding-bottom: inherit;
}
.detail_contents strong{
	font-weight: bold;
}
.detail_contents em{
	font-style: italic;
}
.detail_contents {
    line-height: 2;
    margin-top: 30px;
}
.detail_contents ul{
	list-style-type: disc;
	padding-left: 1.5em;
}
.detail_contents ol{
	list-style-type: decimal;
	padding-left: 1.5em;
}
.detail_contents a{
	text-decoration: underline;
}
.detail_contents h1 { font-size:150%; }
.detail_contents h2 { font-size:140%; }
.detail_contents h3 { font-size:130%;}
.detail_contents h4 { font-size:120%; }
.detail_contents h5 { font-size:110%; }
.detail_contents h6 { font-size:100%; }
.detail_contents ul.detail_img_list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	margin-top: 30px;
	padding-left: 0em;
}
.detail_img_list li {
    width: 49%;
    margin-top: 2%;
}
.detail_list li {
    margin-top: 10px;
	text-indent: -1em;
	padding-left: 1em;
}
.back_btn {
    text-align: center;
    margin-top: 100px;
}
p.mt20 a {
    text-decoration: underline;
}
@media screen and ( max-width: 767px ){
.main_text {
    padding: 0 5%;
    background-size: contain;
}
dt {
    float: none;
}
dd {
    margin-left: 1em;
    margin-top: 1em;
}
dl {
    padding: 0 5%;
}
.page_nav ul li a {
    display: block;
    padding: 14px 2vw;
}
.new_icon {
    margin-left: 1em;
}
}
@media screen and ( max-width: 525px ){
.link_box ul li{
    width: 90%;
    max-height: 330px;
}
.link_box ul li.greeting {
    background: url("../image/img_01.png") no-repeat center -30px;
}
.link_title,.link_sub{
    text-shadow:2px 2px 5px #000000;
}
}