@charset "UTF-8";

/* メインメニュー　PC用
----------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1024px) {
div.panel{
	display:block;
	margin-top: 38px;
}
a#menu{
	display:none;
}
#mainNav ul,
#mainNav li,
#mainNav span,
#mainNav a {
	margin: 0;
	padding: 0;
	position: relative;
}
.mainNav-box {
	display: block;
	z-index: 300;
	width: 100%;
	text-align: center;
	padding: 0;
	background: #fff;
}
#mainNav:after,
#mainNav ul:after {
  	content: '';
	display: block;
	clear: both;
}
#mainNav ul {
	list-style: none;
}
#mainNav ul li a {
	display: block;
    color: #ec6828;
	line-height: 35px;
    padding: 0 10px;
}
#mainNav ul li {
	font-size: 15px;
	text-align: center;
}
#mainNav ul li:hover a {
	color: #fff;
	background: #ec6828;
}
#mainNav ul li:hover span span {
	color: #fff;
}
#mainNav ul li:hover:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 50%;
	bottom: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #ec6828;
	margin-left: -5px;
	top:53px;
}
#mainNav ul li ul li:hover:after {
	border-left: none;
	border-right: none;
	border-bottom: none;
}
#mainNav ul li.active:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 50%;
	bottom: 0;
}
#mainNav .has-sub {
	z-index: 1000;
}
#mainNav .has-sub:hover ul {
	display: block;
}
#mainNav .has-sub ul {
	display: none;
	position: absolute;
	top: 100%;
	left: -1px;
	border-right: none;
}
#mainNav .has-sub ul li {
    border-top: none;
    border-left: none;
}
#mainNav .has-sub ul li:last-child {
	border-right: none;
}
#mainNav .has-sub ul li a{
	filter: none;
	display: block;
	width: 170px;
	color: #fff;
    font-size: 14px;
    line-height: 120%;
	text-align: left;
	margin-left: 1px;
	padding: 5px 4px 5px 10px;
    border-left: none;
    border-bottom: 1px dotted rgba(255,255,255,0.30);
    background: blue;
	transition: all 0.5s;
    *z-index: 10;
}
#mainNav .has-sub ul li:last-child a{
	border-bottom: none;
}
#mainNav .has-sub ul li a:hover {
	background: #ec6828;
	border-top: none;
}
#mainNav .has-sub ul li :last-child a {
	border-right: none;
}
#mainNav .has-sub .has-sub:hover > ul {
	display: block;
}
#mainNav .has-sub .has-sub ul {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
}
#mainNav .has-sub .sub-menu .sub-menu a:hover {
	background: red;
}
#mainNav .has-sub .has-sub:before {
	font-family: "FontAwesome";
	content: "\f054";
	color: #475f00;
	position: absolute;
	margin-top: 8px;
	right: 10px;
	z-index: 10;
}

}



/* メインメニュー　Mobile用
----------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1023px) {
#mainNav, .mean-container .mean-bar:nth-child(2) {
	display: none !important;
}
.mean-container .mean-bar {
	width: 100%;
	padding: 4px 0;
	min-height: 42px;
	z-index: 999999;
	background: #3976b5;
}
.mean-container .mean-bar:before{
	content: "MENU";
	font-size: 130%;
	color: #fff;
	margin: 8px 45px -40px 15px !important;
	float: right;
}
.mean-container a.meanmenu-reveal {
	width: 22px;
	height: 22px;
	padding: 13px 13px 11px 13px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	text-indent: -9999em;
	line-height: 22px;
	font-size: 1px;
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}
.mean-container a.meanmenu-reveal span {
	display: block;
	background: #fff;
	height: 3px;
	margin-top: 3px;
}
.mean-container .mean-nav {
	float: left;
	width: 100%;
	margin-top: 44px;
}
.mean-container .mean-nav ul {
	padding: 0;
	margin: 0;
	width: 100%;
	list-style-type: none;
}
.mean-container .mean-nav ul li span span{
	display: none;
}
.mean-container .mean-nav ul li {
	position: relative;
	float: left;
	width: 100%;
}
.mean-container .mean-nav ul li a {
	display: block;
	float: left;
	width: 90%;
	padding: 12px 5% 13px;
	margin: 0;
	text-align: left;
	color: #fff;
	border-top: 1px solid rgba(255,255,255,0.3);
	text-decoration: none;
	text-transform: uppercase;
}
.mean-container .mean-nav ul li li a {
	width: 80%;
	padding: 12px 10%;
	border-top: 1px solid rgba(255,255,255,0.25);
	opacity: 0.75;
	filter: alpha(opacity=75);
	text-shadow: none !important;
	visibility: visible;
}
.mean-container .mean-nav ul li.mean-last a {
	border-bottom: none;
	margin-bottom: 0;
}
.mean-container .mean-nav ul li li li a {
	width: 70%;
	padding: 1em 15%;
}
.mean-container .mean-nav ul li li li li a {
	width: 60%;
	padding: 1em 20%;
}
.mean-container .mean-nav ul li li li li li a {
	width: 50%;
	padding: 1em 25%;
}
.mean-container .mean-nav ul li a:hover {
	background: rgba(255,255,255,0.2);
}
.mean-container .mean-nav ul li a.mean-expand {
	margin-top: 1px;
	width: 26px;
	height: 26px;
	padding: 12px !important;
	text-align: center;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	font-weight: 700;
	background: rgba(0,0,0,0.2);
	border: none !important;
	border-left: 1px solid rgba(255,255,255,0.3) !important;
}
.mean-container .mean-nav ul li a.mean-expand:hover {
	background: rgba(255,255,255,0.3);
}
.mean-container .mean-push {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	clear: both;
}
.mean-nav .wrapper {
	width: 100%;
	padding: 0;
	margin: 0;
}
.mean-container .mean-bar, .mean-container .mean-bar * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.mean-remove {
	display: none !important;
}
.hideAnchor {
    margin-top:0 !important;
    padding-bottom:0 !important;
}
}




/* max-width: 519px
----------------------------------------------------------------------------------------------------------*/

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

/*-------- ベースレイアウト --------*/
.inner {
	width: 100%;
}
#toppage section, #content, #footer {
	width: 100%;
	padding: 20px 7% 50px;
	margin-bottom: -30px;
}
#toppage section.mb100 {
	margin-bottom: 30px !important;
}
#footer section {
    display: inline-block;
	padding: 20px 0 50px;
}
.flex-box .item2, .flex-box .item3, .flex-box .item4 {
	flex-basis: 100%;
}
.flex-box .item5, .flex-box .item6 {
	flex-basis: 48%;
}

/*-------- イメージ --------*/
img {
	max-width: 100%;
	height: auto;
}
.aligncenter, .alignnone {
	max-width: 100%;
	height: auto;
}
.alignright, .alignright {
	width: 100%;
	height: auto;
}

/*-------- ヘッダ --------*/
header{
    position: relative;
}
header .inner{
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	text-align: center;
	padding: 0 3%;
}
.header-copy {
	font-size: 90%;
    text-align: center !important;
	padding-top: 5px;
}
header .logo {
	width: 280px;
	margin: 20px auto 10px;
}
header .logo a.header-banner{
	width: 70%;
	margin: 10px auto 5px;
}
.head-title {
    height: 200px;
	padding-top: 80px;
	background-position: center;
}
.head-title h1 {
	width: 100%;
    font-size: 160%;
    text-align: center;
    padding-left: 0;
}
#breadcrumb {
	margin-bottom: 40px;
}
#breadcrumb ul {
	width: 90%;
}
#header-img {
    height: 400px;
	margin: 0px auto -30px;
    background: url(images/top-header.jpg) no-repeat center -50px;
    -moz-background-size: cover;
	background-size: cover;
    overflow: hidden !important;
}
#toppage h1 {
    font-size: 260%;
    margin-top: 20px !important;
}
#toppage h1 span {
    display: block;
    margin-top: -10px;
}

/*-------- ホーム --------*/
#toppage h1 {
    font-size: 150%;
    line-height: 1.6em;
    margin-top: 150px;
    margin-left: 30px;
}
#toppage h2 {
    font-size: 160%;
	margin-bottom: 20px;
}
.social {
    display: block;
}
.contact-box {
    position: initial;
    padding: 10px;
    margin: 20px 10px;
}
.contact-box img {
    position: initial;
    width: 200px;
    text-align: center;
    margin: 0 auto 10px!important;
}
.service-box {
    padding: 20px 7% 0 !important;
    margin-bottom: 50px !important;
}
.service-box .item3 {
    margin-bottom: 50px;
}
.profile p {
    overflow: initial;
}
.wpcf7 p{
	font-size: 90%;
}
.box2 li {
    display: block;
}
.contact-box a br {
    display: initial;
}
.top-slider-box {
	background: none;
	padding-top: 0;
	padding-bottom: 0;
}
.news a {
    display: block;
    margin-top: 10px;
}
.regulation {
    padding: 15px;
}

/*-------- 固定ページ --------*/
h2.title{
	font-size: 140%;
}
h3.title{
	font-size: 130%;
}
div.mb80{
	margin-bottom: 50px !important;
}
.profile-text {
    overflow: initial;
}
.table1 td img {
    float: none;
}
.table1 {
    margin: 0;
}
.table1 th{
    margin-bottom: -15px;
}
.table1 th, .table1 td {
    width: 100%;
    display: block;
    border-top: none;
}
.table1 tr:first-child th {
    border-top: 1px solid #ddd;
}
.social-box {
    width: 90% !important;
    margin: 0 5% 20px;
    display: flex !important;
}
.wp_social_bookmarking_light div{
    width: 30% !important;
}
.wp_social_bookmarking_light .rss img {
    margin-left: 0 !important;
}
.table1 .address br {
    display: initial;
} 
.contact-note br {
    display: none;
}
.voice {
    margin-bottom: 0 !important;
}

/*-------- 投稿ページ --------*/
h2.post-title {
	font-size: 140%;
}
.pagenav a{
	font-size: 85%;
}
.prev a{
	padding: 6px 5px 5px;
}
.pagenav .list a{
	padding: 6px 5px 5px;
}
.next a{
	padding: 6px 15px 5px;
}

/*-------- 投稿一覧 --------*/
.post-list{
	margin-bottom: 20px;
	padding-bottom: 20px;
}
h3.post-list-title a{
	font-size: 120%;
}
div.blog-info{
	flex-shrink: 1;
}
.image-orver, .image-orver a .cover {
	height: 100px;
	width: 100px;
}

/*-------- サイドバー --------*/



/*-------- フッダ --------*/
#footer{
    font-size: 90%;
	padding-top: 50px;
}
#footer div[class^="item"] {
	margin-bottom: 50px;
}
#footer div[class^="item"]:last-child {
	margin-bottom: 20px;
}
.footer-under {
	padding: 12px 0 5px;
    margin-top: 20px;
}
.footer-under .inner {
	display: block;
	line-height: 1.2em;
	padding: 0px 10px;
}
.copyright {
	text-align: center;
	padding-bottom: 10px;
	margin-top: 0px;
}
#page-top{
    right:10px;
    bottom:30px;
	width: 35px;
	height: 35px;
}
#page-top a{
	width: 35px;
	height: 35px;
}
#page-top a:before{
	margin-left: 5px;
	font: 160%/1.3em FontAwesome;
}
#footer .address br {
    display: initial;
}
.copyright br {
	display: initial;
}
   
/*-------- その他 --------*/


}



/* min-width: 520px／max-width: 1023px
----------------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 520px) and (max-width: 1023px) {
	
/*-------- ベースレイアウト --------*/
.inner {
	width: 100%;
}
#toppage section, #content, #footer {
	width: 100%;
	padding: 20px 7% 50px;
	margin-bottom: -30px;
}
#footer section {
    display: inline-block;
	padding: 0 0 50px;
}
#toppage section.mb100 {
	margin-bottom: 30px !important;
}
.flex-box .item2, .flex-box .item3, .flex-box .item4 {
	flex-basis: 48%;
}
.flex-box .item5, .flex-box .item6 {
	flex-basis: 31%;
}

/*-------- イメージ --------*/


/*-------- ヘッダ --------*/
header{
    position: relative;
}
header .inner{
    display: block;
	width: 100%;
	padding: 0 0 0 3%;
	text-align: center;
}
header .logo {
	width: 280px;
	margin: 20px auto 10px !important;
}
.head-title {
    height: 200px;
	padding-top: 80px;
	background-position: center;
}
.head-title h1 {
	width: 100%;
    font-size: 180%;
    text-align: center;
    padding-left: 0;
}
.header-banner{
	float: none;
	width: 50%;
	display: block;
	margin: 0;
}
#breadcrumb {
	margin-bottom: 40px;
}
#breadcrumb ul {
	width: 90%;
}
.header-sns {
    margin-right: 1rem;
	display: block;
    text-align: right;
}
#header-img {
    height: 300px;
	margin: 0px auto;
    background: url(images/top-header.jpg) no-repeat center -50px;
    -moz-background-size: cover;
	background-size: cover;
    overflow: hidden !important;
}
#toppage h1 {
    font-size: 150%;
    line-height: 1.6em;
    margin-left: 30px;
    margin-top: 20px !important;
}
#toppage h1 span {
    display: block;
    margin-top: -10px;
}

/*-------- ホーム --------*/
h2.top-title {
	font-size: 160%;
}
.contact-box {
    padding: 20px 20px 20px 100px;
}
.service-box {
    margin-bottom: 50px !important;
}
.service-box .item3 {
    margin-bottom: 50px;
}
.top-slider-box {
	background: none;
	padding-top: 0;
	padding-bottom: 0;
}
.news a {
    display: block;
    margin-top: 10px;
}
    
/*-------- 固定ページ --------*/
.social-box {
    display: block;
    width: 90%;
    margin: 0 5%;
}


/*-------- 投稿ページ --------*/


/*-------- 投稿一覧 --------*/


/*-------- サイドバー --------*/


/*-------- フッダ --------*/
#footer{
	padding-top: 50px;
}
#footer div[class^="item"]:last-child {
	margin-bottom: 20px;
}
.footer-under {
	padding: 12px 0 5px;
    margin-top: 20px;
}
.footer-under .inner {
	display: block;
	line-height: 1.2em;
	padding: 0px 10px;
}
.copyright {
	text-align: center;
	padding-bottom: 10px;
	margin-top: 0px;
}
#page-top{
    right:10px;
    bottom:30px;
	width: 35px;
	height: 35px;
}
#page-top a{
	width: 35px;
	height: 35px;
}
#page-top a:before{
	margin-left: 5px;
	font: 160%/1.3em FontAwesome;
}

/*-------- その他 --------*/


}


@media screen and (min-width: 520px) and (max-width: 799px) {
#footer div[class^="item"] {
	flex-basis: 100%;
	margin-bottom: 50px;
}
}

@media screen and (min-width: 800px) and (max-width: 1023px) {
#footer div[class^="item"] {
	flex-basis: 48%;
	margin-bottom: 50px;
}
#footer div[class^="item"]:nth-child(3) {
	flex-basis: 100%;
	margin-bottom: 50px;
}
#tab-widget-box{
	width: 48%;
	margin-bottom: 40px;
}
}


