@charset "utf-8";

body, html {
 background: #fff;
 font-size: 16px;
 font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
 color: #333;
	line-height: 180%;
	overflow-x: hidden;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

a { color: #006699!important;}
a:hover { color: #66cccc!important;}
h1,h2,h3,h4 { color: #000;}

/* ヘッダー */

header {
	position: relative;
	z-index: 2;
}

header h1 {}
header h1:hover { opacity: 0.85;}

@-webkit-keyframes modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}

#design:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}

@-webkit-keyframes modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}

#printing:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}

@-webkit-keyframes modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}

#web:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}

@-webkit-keyframes modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}
@keyframes  modify{
      0% { padding-top: 90px; margin-top: -90px; }
    100% { padding-top: 0; margin-top: 0; }
}

#n3books:target {
    -webkit-animation: modify 0.1s;
    animation: modify 0.1s;
}



/* グローバルメニュー */

header .line {	height: 4.875rem;}
.header-inner {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0px 0px 5px 0px rgba( 102, 102, 102, 0.75 );
 border-radius: 0px 0px 10px 10px ;
}

header h1 {
	padding-top: 1.25rem;
	float: left;
	width: 250px;
}

header h1 img {
	margin: 0 auto;
}

header nav {
	display: inline-block;
	float: left;
}

.top-nav li {
	line-height: 4.5rem;
	font-size: 0.875rem;
}

.top-nav li a {
	font-family: 'Noto Sans Japanese';
	color: #000!important;
	padding: 0 14px;
}

.top-nav li a:hover {
	color: #e64d32!important;
	transition: 0.3s;
}

.header-telno {
	padding-left: 0;
	margin-top: 0.625rem;
	list-style: none;
	font-family: 'Noto Sans Japanese';
	display: grid;
    row-gap: 8px;
}

.header-telno li {
	/* font-size: 1.125rem; */
	font-size: 1.0rem;
	font-weight: bold;
	line-height: 150%;
}

.tel-nobe, .tel-miya {
	padding-left: 1.875rem;
	background: url(../img/header/icon_tel.png) left center no-repeat;
}

.tel-nobe:before {
	content:'延岡：';
	font-weight: normal;
	font-size:0.8125rem;
	vertical-align: bottom;
}

.tel-miya:before {
	content:'宮崎：';
	font-weight: normal;
	font-size:0.8125rem;
	vertical-align: bottom;
}

.header-contact {
	background: url(../img/header/icon_contact.png) left center no-repeat;
	padding-left: 2.5rem;
	line-height: 470%;
}

.header-contact a {
	color: #000!important;
	font-family: 'Noto Sans Japanese';
	line-height: 120%;
}

.header-contact a:hover {
	color: #e64d32!important;
	transition: 0.3s;
}


@media screen and (max-width: 1117px) {
	.header-inner {
		margin-left: 1.25rem;
		margin-right: 1.25rem;
	}

	header h1 {
	 padding-top: 0.75rem;
	 padding-bottom: 0.75rem;
	 margin-left: 0.375rem;
 }

	.top-nav {
		background: #fff;
		width: 100%;
		margin-left: 1.25rem;
		margin-right: 1.25rem;
	}
}

@media screen and (max-width: 1117px) {
	header .line {	height: 3.750rem;}
	.show-menu {
		box-shadow: 0px 0px 5px 3px rgba( 102, 102, 102, 0.75 );
		border-radius: 5px;
		padding-top: 1.375rem!important;
		padding-bottom: 1.375rem!important;
	}
	.top-nav li { line-height: 1.0rem;}	
	.top-nav li a {
		padding-top: 1.0rem;
		padding-bottom: 1.0rem;
	}	
	.show-menu dl {	display: inline-block;}
	.show-menu dl dt {
		width: 38px;
		height: 38px;
		float: left;
		 margin-right: 10px;
	}
	.show-menu dl dt img {}
	.show-menu dl dd {
		float: left;
		padding-top: 8px;
	}
	.header-contact {
  background: none;
 }
}

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

/* フッター */

footer {
	position: relative;
	z-index: 1;
	background: #000;
	color: #fff!important;
}

footer ul {
	list-style: none;
	padding-left: 0;
}
footer ul li {	margin-bottom: 0.6875rem;}

.footer-link {
	padding-top: 3.25rem;
	padding-bottom: 3.0rem;
	background: #4c4948 url(../img/footer/bg_shadow.png) top repeat-x;
	font-size: 0.750rem!important;
}

.footer-link ul {
	padding-left: 2.375rem;
	padding-top: 0.75rem;
	padding-bottom: 0.25rem;
	border-left: #333 solid 1px;
}
.footer-link ul ul {
	border-left: none;
	padding-left: 0;
}

.footer-link ul ul li {	padding-left: 0.75rem;}
.footer-link ul ul li:before {
	content: '-';
	margin-right: 4px;
	vertical-align: top;
}


.footer-linklist a {
	color: #fff!important;
 position: relative;
 display: inline-block;
 text-decoration: none;
}

.footer-linklist a::after {
  position: absolute;
  bottom: 1px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.footer-linklist a:hover::after {
  transform: scale(1, 1);
}

.sm-menu-inner {
	display: block;
	border:#fff solid 1px;
	border-radius: 3px;
	line-height: 120%;
	text-align: center;
	font-size: 0.875rem!important;
}
.sm-menu-inner {
	display: block;
	margin-left: 0.25rem;
	margin-right: 0.25rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	color: #fff!important;
	background: url(../img/footer/arrow-white-bottom.png) right 1.25rem center no-repeat;
}

.sm-menu-inner.on {
	display: block;
	margin-left: 0.25rem;
	margin-right: 0.25rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	color: #fff!important;
	background: url(../img/footer/arrow-white-top.png) right 1.25rem center no-repeat;
}

.sm-menu-inner:hover {
	background: #000 url(../img/footer/arrow-white-bottom.png) right 1.25rem center no-repeat;
	transition: 0.3s;
	cursor: pointer;
}

.sm-menu-inner.on:hover {
	background: #000 url(../img/footer/arrow-white-top.png) right 1.25rem center no-repeat;
	transition: 0.3s;
	cursor: pointer;
}

#pagetop {
 position: fixed;
 right: 20px;
 bottom: 20px;
 z-index: 11;
}

@media screen and (max-width: 480px) {
 #pagetop { bottom: 87px;}
}

.footer-inner {
	padding-top: 4.25rem;
	padding-bottom: 3.875rem;
	font-size: 0.750rem!important;
	line-height: 180%;
}
.footer-rogo { margin-bottom: 1.0rem;}

.copyright {
	font-size: 0.688rem!important;
	color: #aaabab;
	text-align: right;
}

.bottom-telphone {
	position: fixed;
	bottom:0;
	width: 100%;
	display: block;
	overflow: hidden;
	background: url(../img/footer/bg-telphone.png) center center repeat-x;
}

.bottom-telphone dl {
	display: inline-block;
	background: url(../img/header/icon_tel.png) left center no-repeat;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 2.0rem;
	font-family: 'Noto Sans Japanese';
	line-height: 160%;
}

.bottom-telphone dl:hover {
	animation: rumble 0.3s linear infinite;
}

@keyframes rumble{
	0%	{transform:rotate(0deg)	translate(0,0);}
	12.5%	{transform:rotate(0.4deg)	translate(1px,-1px);}
	25%	{transform:rotate(0.8deg)	translate(0px,1px);}
	37.5%	{transform:rotate(0.4deg)	translate(-1px,0);}
	50%	{transform:rotate(0deg)	translate(0,0);}
	62.5%	{transform:rotate(-0.4deg)	translate(1px,0);}
	75%	{transform:rotate(-0.8deg)	translate(0,1px);}
	87.5%	{transform:rotate(-0.4deg)	translate(-1px,-1px);}
	100%	{transform:rotate(0deg)	translate(0,0);}
}
.bottom-telphone a dl { color: #fff!important;}
.bottom-telphone a {
	display: block;
	text-align: center;
}

.bottom-telphone dl dt {
	font-weight: normal;
	font-size: 0.8125rem;
	text-align: left;
}

.bottom-telphone dl dd {
	font-weight: bold;
	font-size: 1.125rem;
}

@media screen and (max-width: 1117px) {
	footer { padding-bottom: 67.2px;}
	.footer-link ul {
  padding-left: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
  border-left: none;
		margin-bottom: 10px;
 }
	.footer-link-inner { display: none;}
}


@media screen and (max-width: 480px) {
	.footer-link {
  padding-top: 1.25rem;
  padding-bottom: 0.3125rem;
 }
	.footer-inner {
		padding-top: 1.25rem;
		padding-bottom: 1.875rem;
		margin-left: 0.25rem;
		margin-right: 0.25rem;
	}
}

/* リンクアイコン */

.section-inner a[target="_blank"]:after {
	content: url(../img/common/icon_blank.png);
	margin-left: 5px;
	vertical-align: middle;
}

.section-inner a[href$=".pdf"]:after {
	content: url(../img/common/icon_pdf.png);
	margin-left: 5px;
	vertical-align: middle;
}

.section-inner a[href$=".doc"]:after, .section-inner a[href$=".docx"]:after {
	content: url(../img/common/icon_word.png);
	margin-left: 5px;
	vertical-align: middle;
}

.section-inner a[href$=".xls"]:after, .section-inner a[href$=".xlsx"]:after {
	content: url(../img/common/icon_excel.png);
	margin-left: 5px;
	vertical-align: middle;
}

.section-inner.poster a[target="_blank"]:after {
 display: none;
}

.section-inner.poster a[href$=".pdf"]:after {
 display: none;
}


/* リンクアイコン相殺 */

.archive-list .section-inner a[target="_blank"]:after {
	content: url(../img/common/icon_blank.png);
	margin-left: 5px;
	vertical-align: middle;
}

.section-inner a.noicon[href$=".pdf"]:after {
	display: none;
}

/* コンテンツ共通 */

.page-title {
	padding-top: 4.875rem;
	height: 19.75rem;
}

.page-title-inner {
	display: table-cell;
	width: 9999px;
	height: 14.875rem;
	vertical-align: middle;
}

.page-title h1 {
	text-align: center;
	font-size: 2.125rem;
 font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	color: #000;
	line-height: 140%;
}

.pankslist {
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	font-size: 0.6875rem;
	line-height: 120%;
}

.pankslist ul {
	display: block;
	overflow: hidden;
	list-style: none;
	padding-left: 0;
}
.pankslist ul li {
	float: left;
}

.pankslist ul li:last-child {
	padding: 1px 8px;
	background: #e6e6e6;
	border-radius: 3px;
	color: #010000;
}

.pankslist ul li a {
	text-decoration: underline;
	color: #666!important;
}

.pankslist ul li a:hover {	text-decoration: none;}
.pankslist ul li a:after {
	display: inline-block;
	content:"\e606";
	margin-left: 0.5625rem;
	margin-right: 0.5625rem;
	text-decoration: none;
 font-family: "sli";
	font-size: 0.375rem;
	color: #e85c44;
	vertical-align: middle;
}

.section-inner {
	padding-bottom: 5.0rem;
}

.post-titlebox {
	position: relative;
	overflow: hidden;
}

.contents-box {}

.contents-box h2 {
 margin: 1.5rem 0 1.0rem 0;
	font-size: 1.625rem;
	color: #000;
	line-height: 140%;
}

.news .contents-box h2 {
 margin: 2.0rem 0 1.0rem 0;
	padding-right: 4.0em;
	font-size: 1.625rem;
	color: #000;
	line-height: 140%;
}

.post-day {
	display: inline-block;
	float: right;
	line-height: 120%;
}

.post-day-inner {
	position: absolute;
	top: 1.0rem;
	right: 0;
	display: inline-block;
	border-bottom: #666 dotted 1px;
	font-size: 0.875rem;
	color: #666;
	font-weight: normal;
}

.post-day-inner:before {
	content: url(../img/common/icon_postday.png);
	vertical-align: middle;
	margin-right: 0.5rem;
}

.contents-box h3 {
	margin-top: 2.0rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: #ddddde solid 1px;
	font-size: 1.375rem;
	color: #000;
	line-height: 120%;
}

.contents-box h4 {
	margin-top: 2.0rem;
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	font-weight: bold;
	color: #000;
	line-height: 120%;
}

.contents-box p {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	margin-bottom: 1.250rem;
}

.contents-box ul, .contents-box ol {
	margin-left: 1.25rem;
	margin-right: 1.25rem;
	margin-bottom: 1.25rem;
}
.contents-box ul li, .contents-box ol li { margin-bottom: 1.0rem;}
.contents-box ul {
	display: block;
	list-style: none;
	padding-left: 0;
	clear: both;
	overflow: hidden;
}

.contents-box ul li {
	padding-left: 1.125rem;
	background: url(../img/common/icon_section_list.png) top 6px left no-repeat;
}

.contents-box ul ul {	margin-top: 1.0rem;}
.contents-box ul ul li {	background: url(../img/common/icon_list_gray.png) top 6px left no-repeat;}

.contents-box .float-list li {
	margin-right: 1.25rem;
	float: left;
}

.contents-box table {
	border: none;
	background: #f8f8f8;
	margin-bottom: 1.0rem;
	margin-left: 1.25rem;
	margin-right: 1.25rem;
}

.contents-box table th, .contents-box table td { border: #fff solid 1px;}
.contents-box table thead th {
	background: #063b96;
	font-weight: normal;
	text-align: center;
	color: #fff;
}
.contents-box table tbody th {
	background: #fcf1ef;
	font-weight: normal;
}

.back-link {
	margin-top: 1.25rem;
	border: #e64d32 solid 1px;
	border-radius: 3px;
	line-height: 120%;
}

.back-link a {
	display: block;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	background: url(../img/common/icon_backlink.png) left 1.0rem center no-repeat;
	text-align: center;
	color: #000!important;
}

.back-link a:hover {
	background: #e64d32 url(../img/common/icon_backlink.png) left 1.0rem center no-repeat;
	transition: 0.4s;
	color:#fff!important;
}

@media screen and (max-width: 1117px) {
 .contents-box table th, .contents-box table td {
		display: list-item;
		list-style: none;
		font-size:0.875rem;
	}
}

@media screen and (max-width: 480px) {
	.section-inner {
		padding-top: 1.25rem;
		padding-left: 0.6125rem;
		padding-right: 0.6125rem;
		padding-bottom: 2.50rem;
	}
	
	.page-title {
		padding-top: 3.625rem;
 	height: 10.875rem;
	}

	.page-title-inner {
	 height: 7.4375rem;
 }

 .page-title h1 {
		font-size: 1.75rem;
		line-height: 120%;
	}
	.pankslist {	padding-top: 0;}
	
	.post-day {
	 position: static;
		display: inline-block;
		text-align: right;
		float: none;
 }

	.contents-box h2 {
	 padding-right: 0!important;
	 font-size: 1.50rem;
 }
	
	.contents-box h3 { font-size: 1.125rem;}
	.contents-box h4 { font-size: 1.0rem;}
	.contents-box p {
		padding-left: 0;
  padding-right: 0;
		font-size: 0.875rem;
	}
	.contents-box ul, .contents-box ol {
		margin-left: 0.6125rem;
 	margin-right: 0.6125rem;
		font-size: 0.875rem;
	}
 .contents-box table {
		margin-left: 0;
		margin-right: 0;
	}
}


/* ページャー */

.wp-pagenavi {
 margin-top: 2.25rem;
 text-align: center;
	font-size: 0.875rem;
}

.wp-pagenavi a, .current {
 display: inline-block;
 border-radius: 50%;
 width: 36px;
 height: 36px;
 margin-right: 2.5px;
 margin-left: 2.5px;
 line-height: 36px;
	color: #333!important;
}

.current {
 background: #e64d32;
 border: #e64d32 solid 1px;
	color: #fff!important;
}

.wp-pagenavi a:hover {
 border: #e64d32 solid 1px;
	color: #333!important;
	transition: 0.5s;
}


/* 固定ページ共通 */

.cont-footer {
	display: block;
	overflow: hidden;
	margin-top: 3.0rem;
	margin-left: -0.625rem;
	margin-right: -0.625rem;
}

.cont-footer ul {
	list-style: none;
	padding-left: 0;
 margin-left: 0;
 margin-right: 0;
 margin-bottom: 0;
	overflow: hidden;
}

.cont-footer ul li {
	width: 50%;
	float: left;
	background: none;
	padding-left: 0;
}

.cont-footer ul li a {
	display: block;
	border: #e64d32 solid 1px;
	border-radius: 3px;
	margin-left: 0.625rem;
	margin-right: 0.625rem;
	padding-top: 1.0rem;
	padding-bottom: 1.0rem;
	background: url(../img/common/icon_nextlink.png) right 1.0rem center no-repeat;
	text-align: center;
	color: #000!important;
}

.cont-footer ul li a:hover {
	background: #e64d32 url(../img/common/icon_nextlink.png) right 1.0rem center no-repeat;
	color: #fff!important;
	transition: 0.4s;
}

@media screen and (max-width: 480px) {
 .cont-footer ul li {
	 width: 100%;
	 float: none;
 }
}

/* youtubeレスポンシブ */

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
	margin-bottom: 1.25rem;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}