@charset "UTF-8";

#wrap {
    width:100%;
    min-height:100%;
    height:auto !important;
    height:100%;
    display:block;
    clear:both;
    overflow:hidden;
    padding:0px;
    margin:0px;
}
#contents {
    display:block;
    clear:both;
    overflow:hidden;
    word-wrap:break-word;
    width:100%;
    padding:0;
    margin:65px auto 0px;
}
@media screen and (min-width: 834.1px) and (max-width: 1023.9px){
#contents {margin:90px auto 0px;}
}
@media print, screen and (min-width: 1024px){
#contents {margin:60px auto 0px;}
}

@media only screen and ( max-width : 1023.9px ){ 
#main {
    width:100%;
    height: 100%;
    display:block;
    clear:both;
    overflow:hidden;
    word-wrap:break-word;
    margin:0px auto 0;
    padding:0 0 0em;
}
#sidebar {display:none;}
}

@media print, screen and (min-width: 1024px){
#main {
    width:75%;
    height: 100%;
    display:block;
    clear:both;
    overflow:hidden;
    word-wrap:break-word;
    margin:0 auto 0;
    padding:0 0 0em;
    float:left;
}
#sidebar {
    display: block;
    position: fixed;
    top: 125px;
    right: 0;
    width: 25%;
    height: calc(100vh - 125px); /* 表示画面の高さ - topの値 */
  /*  background: var(--color-a);*/
    color: #fff;
    margin: 0 auto;
    padding: 5px;
    overflow-y: auto; /* ←ここがポイント */
    z-index: 1; /* z-index: -1 だとクリックできなくなるので注意 */
}
}

.z2{z-index: 2; position: sticky;}

section{width:100%; margin:0 auto; padding:2.5em 0 1em; display:block; overflow:hidden;}
#main > section{padding-top:1em;}

/*================================================================================================
 inner
 ================================================================================================*/
@media only screen and (max-width:834px){
.inner, .inners, .innerss{width:90%; margin: 0 auto; display: block; overflow: hidden; clear: both;}
}
@media print, screen and (min-width:834.1px){
.inner{width:90%; max-width:1024px; margin: 0 auto; display: block; overflow: hidden; clear: both;}
.inners{width:70%; max-width:834px; margin: 0 auto; display: block; overflow: hidden; clear: both;}
.innerss{width:70%; max-width:540px; margin: 0 auto; display: block; overflow: hidden; clear: both;}
}
main + section, h1 + section, h2 + section, h3 + section, h4 + section, h5 + section, h6 + section,
.breadcrumb + section, section..mainbox{padding-top:0 !important; margin-top:0 !important;}

/*================================================
 *　header
 ================================================*/
.h_push em, .h_push span, .h_push small, .h_pushs em, .h_pushs span, .h_pushs small, .h_pusht em, .h_tell{font-weight: bold !important;}
#header {
    position:relative;
    width: 100%;
    height: 80px;
    text-align: right;
    background: #fff;
    z-index: 3;
}
.h_logo {
    position: absolute;
}
.h_logo img {
    height: 70px;
    width: auto;
    margin: 5px;
}

.logotext {
    position: absolute;
    top:11px;
    bottom: 0;
    line-height:1.6;
    left:90px; 
    text-shadow: 2px 2px 1px #ffffff, -2px 2px 1px #ffffff, 2px -2px 1px #ffffff, -2px -2px 1px #ffffff, 2px 0px 1px #ffffff, 0px 2px 1px #ffffff, -2px 0px 1px #ffffff, 0px -2px 1px #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans JP', "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.logotextb{font-size:22px; font-weight:bold; text-align:left; display:block;}
.logotexts{font-size:20px; font-weight:bold; text-align:left; display:block; margin-bottom: -0.4em;}
.logotext a{ color: var(--color-c);} 

.h_pushs {
    position: absolute;
    right: 0;
    top: 0;
    height: 80px;
    color: #fff;
    text-align: center;
    width: 135px;
    z-index:3;
}
.h_pushs a {
    display: block;
    background: var(--color-a);
    font-size: 20px;
    height: 80px;
    letter-spacing: .1em;
    border: solid 1px var(--color-a);
	text-decoration: none;
}
.h_pushs em{
    color:#fff;
    line-height: 1;
    display: block;
    margin: 10px auto 0;
}
.h_pushs span {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.h_pushs small {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.h_push {
    position: absolute;
    right: 236px;
    top: 0;
    height: 80px;
    color: #fff;
    text-align: center;
    width: 135px;
    z-index:3;
}
.h_push a {
    display: block;
    background: #00B900;
    font-size: 20px;
    height: 80px;
    letter-spacing: .1em;
    border: solid 1px #00B900;
	text-decoration: none;
}
.h_push em{
    color:#fff;
    line-height: 1;
    display: block;
    margin: 10px auto 0;
}
.h_push span {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.h_push small {
    display: block;
    padding-top: 0;
    height: 20px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.h_pusht{display:none;}
.h_tell{
    position: absolute;
    top: 0;
    right: 135px;
    height: 80px;
    line-height: 24px;
    padding: 14px 15px 0;
    font-size: 24px;
    text-align: center;
    color: #333;
    background: #eee;
    z-index:3;
}
.h_tell small{font-size:14px; line-height:16px;}




@media screen and (max-width:1279.9px) {
#header {position:fixed; top:0;}
.h_text {display:none;}
.h_pushs {right: 100px;}
.h_push, .h_tell {right: 236px;}
.nav-pc{display:none;}
.nav-mb {
	position: relative;
        width: 100px;
        height: 100%;
        background:var(--color-c);
        display: block;
        float: right;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 40px;
    vertical-align: middle;
    margin-right: 30px;
    margin-top: 30px;
    float: right;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 22px;/*長さ*/
  border-radius: 3px;
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#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-a);
  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: 18px;
  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";*/
  content: "■";
  font-weight: 900;
  color: var(--color-a);
  margin-right: 10px;
}

	nav#g-menu ul ul {
		border-top: 1px dotted #999; margin-bottom:0 !important; padding-left:0 !important;
	}
	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: #333;
  margin-right: 10px;
  margin-left: 1em;
}
}

/*================================================
 *  TB　MB
 ================================================*/
@media screen and (max-width:834px){
#header, .h_pushs a, .h_push a {height:60px;}
.h_logo img {height:50px; margin:5px;}
.logotext{left:65px; top:9px;}
.logotexts{font-size:18px;}
.logotextb{font-size:16px;}
.h_pushs {width: 70px; height:60px; right: 56px;}
.h_push {width: 70px; height:60px; right: 128px;}
.h_tell {
        height: 60px;
        top: 0;
        right: 128px;
        line-height: 20px;
        padding: 9px 15px 0;
}
.h_pushs em, .h_push em {margin: 5px auto 0; padding-left: 3px; padding-top: 1px;}
.h_pushs span, .h_push span{line-height: 1.2;}
.h_pushs small, .h_push small {display:none;}
.nav-mb {width: 70px; height: 100%; top: 0; right:0;}
#nav-open {
    width: 70px;
    height: 100%;
    vertical-align: middle;
    margin-right: unset;
    margin-top: unset;
}
#nav-open span{top:27px; right:18px; width: 18px;}
#nav-open span:before{bottom:8px; width: 18px;}
#nav-open span:after{bottom:-8px; width: 18px;}
}

@media screen and (max-width: 540px){
.h_tell {display: none;}
}

@media screen and (max-width: 540px){
.h_pushs span, .h_push span {display: none;}
.h_pushs, .h_push {width: 35px; height: 35px; top: 12px; letter-spacing:0;}
.h_pushs a, .h_push a, .h_pusht a {height:35px;}
.h_pushs{right:56px;}
.h_push{right:106px;}

.h_pusht {
    display:block;
    position: absolute;
    right: 106px;
    top: 12px;
    height: 35px;
    color: #fff;
    text-align: center;
    width: 35px;
    z-index:3;
}
.h_pusht a {
    display: block;
    background: #00B900;
    font-size: 20px;
    height: 35px;
    letter-spacing: .1em;
    border: solid 1px #00B900;
}
.h_pusht em{
    color:#fff;
    line-height: 1;
    display: block;
    margin: 5px auto 0;
    padding-left: 3px;
    padding-top: 1px;
}

.nav-mb {width: 35px; height: 35px; top: 12px; right:5px;}
#nav-open {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-right: unset;
    margin-top: unset;
}
#nav-open span{top:17px; right:8px; width: 18px;}
#nav-open span:before{bottom:8px; width: 18px;}
#nav-open span:after{bottom:-8px; width: 18px;}
}
@media screen and (max-width: 360px){
.h_push, .h_pusht {display: none;}
}

/*================================================
 *  PC
 ================================================*/
@media print, screen and (min-width:1280px) {
.nav-pc{display:block;}
.nav-mb {display:none;}
.h_pushs, .h_push, .h_tell {position: fixed;}
.h_pushs {width: 135px; right: 0px;}
.h_push {width: 135px; right: 136px;}
.h_pusht {right: 160px;}
#g-menu {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    background:#ffffff;
    box-shadow: 0px 2px 12px rgb(0 0 0 / 30%);
    -webkit-transition: padding 0.3s ease-in-out;
    text-align: center;
}
.h_text {position:absolute; right:280px; top:0.7em; color: var(--color-c); font-weight:bold;}
.h_text span {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.9em;
    letter-spacing: .05em;
}
.h_text 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;
}

  nav#g-menu ul {
    position: relative;
    display: inline-flex;
    float: unset;
    margin: 0 auto;
    height: 40px;
    text-align: center;
  }
  nav#g-menu li {
    position: relative;
    margin-right: 1em;
  }
  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: center;
    line-height: 40px;
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: bold;
    color:var(--color-d);
    text-decoration: unset;
  }
  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: 12px 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: var(--color-f);
  }
  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 {
    opacity: 0.8;
  }
  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-c);
		border-bottom:5px solid var(--color-c);
		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-c);
		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-c);
	}
	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-d);
		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-d);
	}
	nav#g-menu ul li ul li ul li a:hover {
		background:var(--color-c);
	}
*/
}


@media print, screen and (min-width:1366px) {
  nav#g-menu li { margin-right: 1.5em; }
}





/*================================================
 *  footmenu
 ================================================*/
footer{background-color:var(--color-d); font-size:0.9em; width: 100%;}
.footmenu { 
    width: 100%;
    margin: 0 auto;
    display: block;
    clear: both;
    overflow: hidden;
    border-top: 1px groove rgb(255 255 255 / 50%);
    background: var(--color-a);
}
.footmenu .menu{
    padding-left: 0;
    list-style-type: none;
    margin: 0;
    width: 100%;
    height: 100%;
}
.footmenu li{
	position: relative;
	display: inline-block;
	background-color: var(--color-a);
        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: 3px;
	content: '';
	margin-top: -0.4em;
	border: 0.4em solid transparent;
	border-top-width: 0.4em;
	border-bottom-width: 0.4em;
	border-left-color: #fff;
	transition: all 1.5s;
}
.footmenu li a{color:#fff; font-weight:400; text-decoration:none; display:block; line-height:3em; height:100%; border-bottom:2px groove rgb(255 255 255 / 50%);}
.footmenu li:hover {background-color:var(--color-b); opacity:0.6; color:var(--color-b);}
.footmenu li:hover a{color:#fff;}
.footmenu li:hover::after {border-left-color:#fff;}
.footmenu li:nth-child(2n){border-left:none;}
@media only screen and (min-width: 360px) and (max-width: 833.9px)
{
.footmenu ul li{width:50%; float:left;}
.footmenu ul li:nth-child(1n){border-right: 1px groove rgb(255 255 255 / 50%);}
}
@media print, screen and (min-width: 834px)
{
.footmenu{background-color: var(--color-d);}
.footmenu ul li{width:auto; padding-left:0.8em; padding-right:1.2em; float:left; margin-top:1px; background-color: var(--color-d);}
.footmenu ul li:nth-child(1n){border-right: none;}
.footmenu li::after {right: -1px; margin-top: -0.3em;}
.footmenu li a{border: none;}
/*.footmenu, .footmenu li{background-color:var(--color-f);}
.footmenu li:hover {background-color:var(--color-f);}*/
}
.copyright{background-color:var(--color-d); color:#fff; text-align: center; padding-bottom: 20px; padding-top: 0; clear:both;}
.copyright a {color: #fff;}
.copyright a:hover {color: #fff;}