﻿@charset "utf-8";

.content #main h1.entry-title{
	margin-bottom: 0;
}
.newsList dl dd:first-child{
	font-weight: bold;
}
.newsList dl dd:last-child{
	font-size: 1.2rem;
}
.newsBox{
	border-bottom: 1px dotted #ccc;
	padding: 30px 0;
}
.newsCat{
	background: #f4ba1d;
	padding: 3px 4px;
	color: #fff;
	margin-left: 10px;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 3px;
}
.newsCat a{
	color: #fff;
}
.entry-content{
	margin-top: 30px;
    overflow-wrap: break-word;
}
.entry-content .wp-block-columns {
    display: flex;
    margin: 1% auto 5%;
}
.entry-content h2 {
    font-size: 1.5em;
}
.entry-content h3 {
    font-size: 1.2em;
}
.entry-content h4 {
    font-size: 1.5em;
    line-height: 2;
    background-color: #EEAF1A;
    color: #FFF;
    padding: 0 0.2em;
}
.entry-content .wp-block-columns h4 {
    padding: 0 4%;
    font-size: 2em;
    line-height: 1.5;
    background-color: inherit;
}

.entry-content p {
    padding: 0 0 5%;
}
.entry-content .wp-block-columns p {
    padding: 0 4%;
}
blockquote.wp-block-quote {

    background-color: #fafbfc;
    border: 1px solid #ccc;
    margin: 1em 0 5em;
    padding: 1.5em;
    position: relative;
}
blockquote.wp-block-quote::before, blockquote.wp-block-quote::after {
    color: #C8C8C8;
    font-family: serif;
    position: absolute;
    font-size: 300%;
}
blockquote.wp-block-quote::before {
    content: "“";
    line-height: 1.1;
    left: 10px;
    top: 0;
}
blockquote.wp-block-quote::after {
    content: "”";
    line-height: 0;
    right: 10px;
    bottom: 0px;
}
.pager {
	border-top: 1px dotted #ccc;
	padding: 15px 0 0;
	margin-top: 150px;
	width: 100%;
	overflow: hidden;
	position: relative;
}
.pager:after {
	content: "";
	display: block;
	clear: both;
}
.prev {
	float: left;
	display: inline-block;
	position: relative;
	z-index: 10;
}
.next {
	float: right;
	display: inline-block;
	position: relative;
	z-index: 10;
}
.backtoTop {
	display: block;
	text-align: center;
	width: 100%;
	position: absolute;
}

/*Pagenation*/
.pagenation {
    margin-top: 30px;
    clear: both;
    text-align: center;
}
.pagenation:after, .pagenation ul:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.pagenation ul {
    margin: 0;
    display: inline-block;
}
.pagenation li {
    float: left;
    list-style: none outside none;
    margin-left: 6px;
    padding: 5px 10px;
    background-color: #ccc;
    color: #FFFFFF;
    border-radius: 3px;
}
.pagenation li:first-child {
    margin-left: 0;
}
.pagenation li.active {
    background-color: #000;
}
.pagenation li a {
    color: #fff;
    display: block;
    text-decoration: none;
}

@media screen and (max-width:640px) {
	.newsBox{
		padding: 15px 0;
	}
	.newsList dl dd:first-child{
	font-weight: bold;
	font-size: 1.2rem;
	}
	.newsList dl dd:last-child{
		font-size: 1rem;
	}
	.entry-content .wp-block-columns {
    display: block;
    width: 90%;
    margin: 0 auto;
	}
	.wp-block-column {
    text-align: center;
    margin-bottom: 5%;
	}
	.entry-content .wp-block-columns h4 {
    font-size: 1.4em;
}
}