/* IMPORT CSS */
@import url("grid.css");
@import url("width.css");
@import url("table.css");
@import url("font.css");
@import url("space.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
.background {
	background-color: #00984B;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
	flex-direction: row;
	padding: 1rem 0 0 0;
}
.telbox {
	margin-left: auto;
	padding: 1rem 0 0 0;
}
.menu {
	background-color: #00984B;
}
nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	list-style: none;
	margin-bottom: 0;
}
nav li {
	flex: 1 0 auto;
	margin-bottom: 0;
	font-size: 2.5rem;
	font-weight: 500;
}
nav li a {
	text-decoration: none;
	text-align: center;
	color: #fff;
}
nav a:hover {
	background-color: #007a3c;    
	color: #fff;
}
nav a {
	padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
	display: none !important;
}

#navi {
	display: block !important;
}
}
@media screen and (max-width: 768px){
.head {
	flex-direction: column;
	text-align: left;
	margin-bottom: 20px;
}

.telbox {
}

.head #open,#close  {
	position: absolute;
	top: 20px;
	right: 12px;
	}
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
	display: block;
	width: 50px;
	border: none;
	position: absolute;
	top: 20px;
	right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
	display: none;
}
}

/*メイン画像
-------------------------------------*/
.main_img img {
	width: 100vw;
}

/*Infrastructure画像
-------------------------------------*/
.infrastructure_img {
	width: 100%;
}

.infrastructure_img img {
	display: block;
	margin: 2.5rem auto 0;
}
/*メインコンテンツ
-------------------------------------*/
main {
	margin: 2.5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
	background-color: #00984B;
	padding: 0.7rem 0 1rem 1rem;
	color: #fff;
	font-size: 3rem;
	font-weight: 500;
}

.news dl{
	position: relative;
	width: 100%;
}

.news dl dt.styleA,
.news dl dt.styleB{
	position: absolute;
	padding: 0.3rem 0 0.1rem 0.6rem;
	font-size: 2rem;
	font-weight: 500;
}

.news dl dt.styleA{
	border-left: #58D3C7 solid 0.6rem;
}

.news dl dt.styleB{
	border-left: #E73528 solid 0.6rem;
}

.news dl dd{
	width: 100%;
	font-size: 2rem;
	min-height: 4.3rem;
	padding: 0.3rem 0 0 10.5rem;
	margin: 0 0 0.7rem 0;
	border-bottom : 2px dotted #999999;
}

.news dl dd a {
	display: inline;
	color: #0000FF;
	text-decoration-line: none;
}
.news dl dd a:hover { 
	color: #E73528;
}

.news dl dd span.date{
	font-size: 1.5rem;
	text-align: right;
}

/*広告情報
-------------------------------------*/

.banner img{
	margin: 0 0 2rem 0;
}

/*サブページ
-------------------------------------*/



/*フッター
-------------------------------------*/
footer {
	background-color: #00984B;
	padding: 5rem 0;
	color: #fff;
}
footer h5.footerA {
	border-bottom: 2px solid #fff;
}

footer ul li{
	list-style: none;
}

footer ul li:before {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block;
	position: relative;
	top: 0.7rem;
	left: -0.5rem;
	background-image: url("../img/footer_ul_li_img.png");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: top;
}


footer ul ul{
	  margin: 0 0 0 1.5rem;
	  font-size: 90%; }

footer a{
	color: #FFFFFF;
}

footer a:hover {
	color: #E73528;
}
/*コピーライト
-------------------------------------*/
.copyright {
	text-align: center;
	padding: 1rem 0;
	background-color: #fff;
}
.copyright a {
	color: #000;
	text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
	position: fixed;
	bottom: 15px;
	right: 15px;
}
#pagetop a {
	display: block;
	background: #00592D;
	color: #fff;
	width: 5rem;
	padding: 0.5rem 0.5rem;
	text-align: center;
}
#pagetop a:hover {
	background: #00E673;
}
/*-------------------------
__PanArea
-------------------------*/
div#PanArea ul{
	font-size: 1.5rem;
}

div#PanArea ul li{
	display: inline;
}

div#PanArea a{
	padding: 0 15px 0 0;
	background: url(../img/PanArea.gif) no-repeat right center;
}

/************************************
** Twitterボックス
************************************/
.p-twitter-box{
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	margin:0 auto 3rem;
	width:100%;
}
.p-twitter-box .p-twitter-title{
	color: #fff;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 0 1em 0;
	font-size: 3rem;
}
.p-twitter-box .twitter-tweet{
	margin:0 !important;
}
.p-twitter-box p{
	display:none;
}

/* ブルー */
.p-twitter-box .p-twitter-blue{
	background: #1da1f2;
}