@charset "UTF-8";
#contentsec{margin-top: 1em;}
/*================================================
 *　header
 ================================================*/
#header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #fff;
    height: 80px;
    text-align: right;
    z-index: 99;
border-bottom: 1px groove #ccc;
}
.h_logo {
    margin-top: 10px;
    margin-left: 10px;
    position: absolute;
}
.h_logo img {
    height: 60px;
    width: auto;
}

.h_mail {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    color: #fff;
    text-align: center;
    width: 135px;
}
.h_mail a {
    display: block;
    background: var(--color-a);
    font-size: 20px;
    height: 100%;
    letter-spacing: .1em;
    border: solid 1px var(--color-a);
}
.h_mail em{
    color:#fff;
    line-height: 1;
    display: block;
	font-size: 30px;
    margin: 16px auto 0;
}
.h_mail span {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.h_mail small {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/*================================================
 *  PC以下 #menu-main_menu{display:none;}
 ================================================*/
@media screen and (max-width:1299.9px) {
.h_tell {
    position: absolute;
    right:236px;
    top: 0;
    height: 100%;
    color: #fff;
    text-align: center;
    width: 135px;
}
.h_tell a {
    display: block;
    background: var(--color-e);
    font-size: 20px;
    height: 100%;
    letter-spacing: .1em;
    border: solid 1px var(--color-e);
}
.h_tell em{
    color:#fff;
    line-height: 1;
    display: block;
    margin: 10px auto 0;
}
.h_tell span {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.h_tell small {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.h_mail {right: 80px;}
.pc_tell {display:none;}

#nav-drawer {position: relative;}
.nav-unshown {display:none;}

#nav-open {
    position: fixed;
    top: 0px;
    right: 0px;
    display: flex;
    height: 80px;
    width: 80px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--color-c);
}
#nav-open span,
#nav-open span:before,
#nav-open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
#nav-open span:before {
    bottom: 8px;
}
#nav-open span:after {
    top: 8px;
}
#menu-btn-check:checked ~ #nav-open span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ #nav-open span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ #nav-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  right: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
 /* max-width: 330px;最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
.hamburger-top {
  position: relative;
  background-color: var(--color-c);
  text-align: center;
  padding: 15px 15px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 5px;
  color: #fff;
}
.humburger-top .cancel{
    display: inline-block;
    padding: 10px 3px;
}
.cancel {
  display: inline-block;
  position: absolute;
  cursor: pointer;
  top: 20px;
  right: 30px;
  width: 5px;
  height: 30px;
  background: #fff;
  transform: rotate(45deg);
  z-index: 99;
}
.cancel:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 31px;
  height: 5px;
  margin-top: -3px;
  background: #fff;
}
nav#g-menu {
	width:100%;
	background:#fff;
	box-shadow:0 1px 2px #d0d8dc;
	zoom:1;
}
nav#g-menu:after {
	content:'';
	display:block;
	clear:both;
}
	nav#g-menu ul.gmenu {
		margin:0;
		padding:0;
		}

	nav#g-menu .inner > ul.gmenu {
		z-index:2;
		overflow:auto;
		position:fixed;
		top:60px;
		right:0;
		width:100%;
		height:88%;
		height:-webkit-calc(100% - 53px);
		height:calc(100% - 53px);
	}
	nav#g-menu li {
		position:relative;
		width:100%;
		float:none;
		margin:0;
		text-align:left;
		list-style:none;
		border-bottom:1px solid #999;
		background:#fff;
	}
	nav#g-menu li:first-child {
		border-top:0;
	}
	nav#g-menu li:last-child {
		border-bottom:0;
	}
	nav#g-menu li a {
		display:block;
		padding:10px 20px;
		color:#333;
		text-decoration:none;
		background:#fff;
	}
	nav#g-menu li a:hover {
		color:#111;
		background:#efede9;
	}
nav#g-menu li a:before {
  font-family: "Font Awesome 6 Free";
  content: "\f0a4";
  font-weight: 900;
  color: var(--color-a);
  margin-right: 10px;
}

	nav#g-menu ul ul {
		border-top: 1px dotted #999;
	}
	nav#g-menu li li a {
		box-sizing:border-box;
		width:100%;
		padding:10px 10px 10px 30px;
		text-align:left;
	}

	nav#g-menu li li li a {
		padding:10px 30px 10px 70px;
	}

nav#g-menu li li a:before{
  font-family: "Font Awesome 6 Free";
  content: "\f0da";
  font-weight: 900;
  color: var(--color-a);
  margin-right: 10px;
  margin-left: 1em;
}
}

/*================================================
 *  TB以下　.logo_mark{display:none;}
 ================================================*/
@media screen and (max-width:768px){
#header {height:60px;}
#contents { margin-top:60px;}
.h_logo{ margin-left:6px;}
.h_logo img {height: 40px;}
.h_mail {width: 70px; right: 60px;}
.h_tell {width: 70px; right: 130px;}
.h_mail em, .h_tell em{margin: 5px auto 0; font-size:20px;}
.h_mail span, .h_tell span{line-height: 1.2; font-size:12px;}
.h_mail small, .h_tell small {display:none;}
#nav-open {
    width: 60px;
    height: 60px;
}
}
@media screen and (max-width: 359.9px){
.h_tell {display: none;}
}

/*================================================
 *  PC以上
 ================================================*/
@media print, screen and (min-width:1300px) {
.pc_tell {
    position: absolute;
    right: 9.5em;
    top: 0.7em;
    color: var(--color-a);
}
.pc_tell span {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.9em;
    letter-spacing: .05em;
}
.pc_tell small {
    font-size: 0.9em;
    font-weight: bold;
    border-left: solid 2px var(--color-a);
    line-height: 1;
    display: inline-block;
    padding-left: 1em;
    margin-left: 1em;
}
.h_tell{display:none;}
#g-menu {
    position: absolute;
    bottom: 0;
    right: 135px;
}
#nav-drawer {display:none;}
  nav#g-menu ul {
    position: relative;
    display: flex;
    float: right;
    margin-right: 1.5em;
    height: 40px;
  }
  nav#g-menu li {
    position: relative;
    margin-right: 1.5em;
  }
  nav#g-menu li:last-child {
    margin-right: 0;
  }
  nav#g-menu li i {
    font-size: 16px;
    margin-left: 5px;
  }
  nav#g-menu li a {
    position: relative;
    display: block;
    text-align: left;
    line-height: 40px;
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: bold;
  }
  nav#g-menu li.menu-item-has-children > a:after {line-height:1; font-family: "Font Awesome 6 Free"; content: "\f107"; font-weight:600; list-style-type:none; padding-left: 5px; font-size: 14px;}
  nav#g-menu .sub-menu {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -100px;
    width: 250px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  nav#g-menu .sub-menu a {
    display: block;
    border-bottom: none;
    padding: 20px;
    line-height: 1.2em;
  }
  nav#g-menu .sub-menu a:hover:after {
    content: none;
  }
  nav#g-menu .sub-menu li {
    display: block;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background: #e4e4e4;
  }
  nav#g-menu .sub-menu li:last-child {
    border-bottom: none;
  }
  nav#g-menu ul > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  nav#g-menu .current-menu-item a, nav#g-menu .current-menu-parent a {
    color: var(--color-a);
  }
  nav#g-menu ul > li:hover a {
    color: var(--color-b);
  }
  nav#g-menu li:hover ul.sub-menu {
    top: 40px;
    visibility: visible;
    opacity: 1;
    z-index: 9999;
  }
  nav#g-menu li ul li:after {
    content: none;
  }
 nav#g-menu li:hover ul.sub-menu a {
    color: var(--color-a);
  }
  nav#g-menu .sub-menu li a:hover {
    background: #efecec;
  }


/* wide100%
	nav#g-menu {
		background:var(--color-a);
		border-bottom:5px solid var(--color-a);
		box-shadow:0 1px 3px #999;
		z-index:3;
	}
	nav#g-menu ul {
		margin:0;
		padding:0;
	}
	nav#g-menu ul li {
		position:relative;
		margin:0;
		padding:0;
		list-style:none;
	}
	nav#g-menu ul li a {
		display:block;
		margin:0;
		padding:16px 0;
		background:var(--color-a);
		color:#fff;
		font-size:14px;
		font-weight:bold;
		line-height:1;
		text-decoration:none;
	}
	nav#g-menu ul li:hover > a {
		color:#fff;
		background:var(--color-b);
	}
	nav#g-menu ul.gmenu > li {
		position:relative;
		width:17%;
		float:left;
		margin:0;
		padding:0;
		text-align:center;
		list-style:none;
	}
	nav#g-menu ul.gmenu > li:first-child {
		width:15%;
	}
	nav#g-menu ul.gmenu > li.menu-item-has-children a {
		padding-right:20px;
	}
	nav#g-menu ul.gmenu > li.menu-item-has-children > a:after {
		position:absolute;
		content:"";
		top:20px;
		width:0;
		height:0;
		margin-left:10px;
		border:5px solid transparent;
		border-top-color:#fff;
	}
	nav#g-menu ul li ul {
		position:absolute;
		z-index:3;
		top:100%;
		left:0;
		width:100%;
		margin:0;
		padding:0;
	}
	nav#g-menu ul li ul li {
		overflow:hidden;
		width:150%;
		height:0;
		color:#fff;
		transition:.2s;
	}
	nav#g-menu ul li ul li a {
		padding:13px 15px;
		text-align:left;
		background:var(--color-b);
		font-weight:normal;
	}
	nav#g-menu ul li:hover > ul > li {
		overflow:visible;
		height:40px;
		border-bottom:1px solid #8c0e0e;
	}
	nav#g-menu ul li:hover ul li:last-child {
		border-bottom:none;
	}
	nav#g-menu ul.gmenu > li:last-child > ul {
		left:-50%;
	}
	nav#g-menu ul li ul li ul:before {
		position:absolute;
		content:"";
		top:13px;
		left:-20px;
		width:0;
		height:0;
		border:5px solid transparent;
		border-left-color:#fff;
	}
	nav#g-menu ul.gmenu > li:last-child ul li ul:before {
		position:absolute;
		content:"";
		top:13px;
		left:200%;
		margin-left:-20px;
		border:5px solid transparent;
		border-right-color:#fff;
	}
	nav#g-menu ul li ul li ul {
		top:0;
		left:100%;
	}
	nav#g-menu ul li ul li ul li {
		width:100%;
	}
	nav#g-menu ul li ul li:hover > ul > li {
		border-bottom:1px solid #6d0c0c;
	}
	nav#g-menu ul.gmenu > li:last-child > ul li ul {
		left:-100%;
	}
	nav#g-menu ul li ul li ul li a {
		background:var(--color-a);
	}
	nav#g-menu ul li ul li ul li a:hover {
		background:var(--color-b);
	}
*/
}

/*================================================
 *  footmenu
 ================================================*/
footer{background-color:#e4e4e4; font-size:0.9em; width: 100%;}
.footmenu { 
    width: 100%;
    margin: 0 auto;
    display: block;
    clear: both;
    overflow: hidden;
    border-top:1px groove rgba(112, 111, 111, 0.5);
}
.footmenu .menu{
    padding-left: 0;
    list-style-type: none;
    margin: 0;
    width: 100%;
    height: 100%;
}
.footmenu li{
	position: relative;
	display: inline-block;
	background-color: #e4e4e4;
        text-align: center;
	text-decoration: none;
	transition: all 1.5s;
        width:100%;
        height:100%;
        float:left;
        margin:0;
}
.footmenu li::after {
	position: absolute;
	top: 50%;
	right: 0.1em;
	content: '';
	margin-top: -0.32em;
	border: 0.4em solid transparent;
	border-top-width: 0.4em;
	border-bottom-width: 0.4em;
	border-left-color: var(--color-a);
	transition: all 1.5s;
}
.footmenu li a{color:var(--color-a); font-weight:400; text-decoration:none; display:block; line-height:3em; height:100%; border-bottom:2px solid rgba(112, 111, 111, 0.5);}
.footmenu li:hover {background-color:#efede9; opacity:0.6; color:var(--color-b);}
.footmenu li:hover a{color:var(--color-b);}
.footmenu li:hover::after {border-left-color:var(--color-b);}
.footmenu li:nth-child(2n){border-left:none;}
@media only screen and (min-width: 768px) and (max-width: 1299.9px)
{
.footmenu ul li{width:50%; float:left;}
.footmenu ul li:nth-child(1n){border-right: 1px groove rgba(112, 111, 111, 0.5);}
}
@media print, screen and (min-width: 1300px)
{
.footmenu ul li{width:auto; padding-left:0.8em; padding-right:1.2em; float:left; margin-top:1px;}
.footmenu ul li:nth-child(1n){border-right: none;}
.footmenu li a{border: none;}
.footmenu, .footmenu li{background-color:#e4e4e4;}
.footmenu li:hover {background-color:#e4e4e4;}
}
.copyright{text-align: center; padding-bottom: 0.5em; padding-top: 1em; clear:both;}
.copyright a {color: var(--color-a);}
.copyright a:hover {color: var(--color-b);}

footer a{color:#444 !important;}

/*================================================
 *  サイドメニュー
 ================================================*/
@media only screen and (max-width: 1299.9px)
#sidebar{display:none;}
}
#sidebar{background: #e4e4e4;}
ul.sidemenu {overflow: auto;}
.sidemenu li, .widget li{
	margin:0;
	padding:0;
	list-style:none;
}
.sidemenu li a:before, .widget li a:before{
	content:"■";
	color:var(--color-c);
	padding-right: 0.5em;
	padding-left: 0.8em;
}
.sidemenu li a, .widget li a {
	display:block;
	color:#555;
	border-bottom:1px solid #111;
	text-decoration:none;
	padding:10px 0.2em 10px 1.5em;
	text-indent: -1.5em;
}
.sidemenu li a:hover, .widget li a:hover{
	background:#eee;
}
.sidemenu ul li.menu-item-has-children > a:before{
	content:"■";
	color:var(--color-c);
}
.sidemenu ul.sub-menu {margin-bottom:0; padding-left:0.6em;}
.sidemenu ul.sub-menu li{margin:0; padding: 0; text-indent: 1em;}
.sidemenu ul.sub-menu li a:before{
	content: "\025b6";
	color:var(--color-d);
}
#sidebar img{width:100%; max-width:320px; margin-left:-webkit-calc(50vw - 160px); margin-left:calc(50vw - 160px); margin-right:-webkit-calc(50vw - 160px); margin-right:calc(50vw -160px); margin-top:0.8em; margin-bottom:0.8em;}
@media only screen and (min-width: 768px) and (max-width: 1149.9px)
{
.sidemenu li, .widget li{width:50%; float:left;}
.sidemenu li:nth-child(1n), .widget li:nth-child(1n){border-right: 1px groove rgba(112, 111, 111, 0.5);}
.sidemenu ul.sub-menu li{width: 100%; border-right: unset;}
#sidebar img{width:40%; margin:1em 5% 0.8em; float:left; max-width:unset;}
}
@media print, screen and (min-width: 1150px)
{
.sidemenu li, .widget li{border:none; margin-top:1px;}
.sidemenu li:nth-child(1n), .widget li li:nth-child(1n){border-right: none;}
#sidebar img{width:40%; margin:1em 5% 0.8em; float:left; max-width:unset;}
}
@media print, screen and (min-width: 1150px)
{
#sidebar img{width:100%; margin:0.2em 0; max-width:unset;}
}
@media screen and (min-width: 1150px){
.side-fixed {
    position: fixed !important;
    top: 80px;
    width: 250px;
    margin: 0;
    z-index: 2;
}
}

#Sidefixed div.widget_text div.textwidget {
    margin:0 auto;
}