:root {
	--menu-height: 3rem;
}

.l-gmenu-wrapper {
  position: relative;
  top: 0;
  width: 100%;
  min-width: 375px;
  overflow-x: hidden;
  z-index: 3;
  overflow: hidden;
  transition: all .2s;
  height: 4rem;
}


.l-gmenu-navi-wrapper > .l-gmenu-main-wrapper {
	position: relative;
  margin: 0 auto;
	padding-top: 0;
  max-width: 1200px;
	z-index: 1;
}


/* gmenu main */
.l-gmenu-main-wrapper {

}
.l-gmenu-main-container {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	margin: 0;
	height: 100%;
}
.l-gmenu-main-container > li {
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	font-size: .9rem;
	font-weight: 400;
}
.l-gmenu-main-container > li a {
	display: flex;
	height: 100%;
	width: calc(100% - 1px);
	justify-content: center;
	align-items: center;
	color: var(--menu-text);
	text-decoration: none;
}
.l-gmenu-main-container > li::before,
.l-gmenu-main-container > li:nth-last-child(1)::after {
	content: "";
	width: 1px;
	height: 40%;
	background-color: var(--base-textColor);
}










.sub-menu {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
.sub-menu .search-form {
	margin-left: 1rem;
}



@media only screen and (max-width: 1023px) {
	header.is-active .main-menu {
		margin-top: 0;
	}

  .navi-wrapper {
  	display: none;
  	width: 100%;
  }
  .l-header.is-active .navi-wrapper {
  	display: block;
  }
  .global-navi {
		display: flex;
  	width: 100%;
  	flex-direction: column-reverse;
  }
  .l-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    background: transparent;
  }
  .l-header.is-active .navi-wrapper {
    overflow: auto;
    background: #32AFA7;
  }
  body.is-nav-active {
		/* overflow: hidden;
		width: 100vw;
		height: 150vh; */
	}
	header.is-nav-active .sub-menu > .p-nav-sub > li > a:before {
		display: none;
	}
}

.p-site-title {
  margin: 0;
  justify-self: stretch;
  /* background: #FFF; */
	display: flex;
	align-items: center;
  height: 100%;
}
.p-site-title > span {
	font-size: .85rem;
	margin-left: 1rem;
	display: inline-block;
	line-height: 1.2rem;
	padding: .2rem .5rem;
	background-color: var(--header-sub-bg);
	color: var(--header-sub-text);
}

.p-site-title__link {
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  align-self: center;
  filter: var(--logo-filter);
}
.p-site-title__link > img {
	    height: 100%;
	    width: auto;
	    object-fit: contain;
}
.p-site-title__link span {
  display: block;
  font-size: 0.8rem;
  color: var(--header-text);
}
.p-site-title__link span.p-site-subtitle__link {
  font-size: 0.6rem;
}

@media only screen and (min-width: 1024px) {
}
@media only screen and (max-width: 1023px) {
    .p-site-title {
    	padding: 10px;
    	height: 72px;
    }
  .p-site-title__link {
    margin: 0;
    padding: 0;
  }
}

header .icon.image{
	height: 14px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	margin-bottom: 2px;
}
header .icon.image img{
	max-width: 100%;
	max-height: 100%;
	width: auto;
}

header .common-menu {
  display: flex;
  justify-content: center;
}
header .main-menu .common-menu {
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
header .common-menu li {
  line-height: 1;
}
header .common-menu li a {
  color: var(--header-text);
  position: relative;
  /* white-space: pre-wrap; */
}
header .common-menu.top-menu li a {
  border-left: 1px solid #a3a3a3;
  padding-bottom: 0;
}
header .common-menu.top-menu li:first-child a {
  border-left: none;
}
header .top-menu .common-menu li {
  border-left: 1px solid #a3a3a3;
}
header .top-menu .common-menu li:first-child {
  border-left: none;
}
header .common-menu.top-menu li:nth-last-child(1) a {
  padding-right: 0;
}
header .common-menu li a.active {
  color: #00BFB3;
}
header .common-menu.top-menu li a.active {
  color: #000;
}

header .common-menu > li > a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: var(--header-text);
  height: 5px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
@media print, (min-width: 768px) {
  header .common-menu li:hover > a,
  header .common-menu li a:hover,
  header .common-menu li a:focus,
  header .common-menu li a:active,
  header .common-menu li a.active {
  }
  header .common-menu.top-menu li a:hover,
  header .common-menu.top-menu li a.active {
  }
  header .common-menu li:hover > a:before,
  header .common-menu li > a:hover:before,
  header .common-menu li > a:focus:before,
  header .common-menu li > a:active:before,
  header .common-menu li > a.active:before {
    left: 0px;
    right: 0px;
  }
}

header .main-menu > .common-menu > li {
  padding: 0 0 15px 5px;
  margin: 0 0 -15px;
}
header  .main-menu > .common-menu > li > a {
	padding: 5px;
	padding-bottom: 10px;
}


header .common-menu li > a:before{
	display: none;
}
header  .main-menu > .common-menu > li:hover > a,
header  .main-menu > .common-menu > li > a:hover {
	background: var(--header-text);
	color: var(--header-bg);
	opacity: 1;
}
header  .sub-menu > .p-nav-sub > li {
  padding: 0 0 15px 5px;
  margin: 0 0 -15px;
}
header  .sub-menu > .p-nav-sub > li > a {
	padding: 5px;
}
header  .sub-menu > .p-nav-sub > li > a::before{
	display: none;
}
header  .sub-menu > .p-nav-sub > li > a:hover {
	background: var(--header-text);
	color: var(--header-bg);
	opacity: 1;
}
header .main-menu > .common-menu > li.search:hover > a,
header .main-menu > .common-menu > li.search > a:hover {
	background: var(--header-bg);
	color: var(--header-text);
}

header .common-menu.top-menu li a:before {
  display: none;
}
header .common-menu.top-menu li a:hover {
  text-decoration: underline;
}
header .main-menu > .common-menu > li:nth-child(1) {
	padding-left: 0;
}
header .main-menu > .common-menu > li:nth-last-child(1) {
  border-right: 0;
}
header .main-menu {
  margin-top: 10px;
  width: 100%;
  padding: 0;
}
header .main-menu > .common-menu > li .child-wrap {
  visibility: hidden;
  height: 0;
  position: fixed;
  left: 0;
  top: calc(5.37rem - 5px);
  z-index: 1001;
  margin: 0;
  width: 100%;
  text-align: left;
  opacity: 0;
  overflow: hidden;
  background: #FFF;
  margin-top: 0;
  box-shadow: 0 5px 15px -5px #999;
}
header.is-scroll .main-menu > .common-menu > li .child-wrap {
	top: 82px;
}
@media only screen and (max-width: 1023px) {
	header .main-menu > .common-menu > li .child-wrap {
		display: none;
	}
	header .main-menu > .common-menu > li,
	header .main-menu > .common-menu > li:nth-child(1) {
		padding: 5px;
		margin: 0;
	}
	header  .sub-menu > .p-nav-sub > li {
		padding: 5px;
		margin: 0;
	}
}
header .main-menu > .common-menu > li:hover .child-wrap,
header .main-menu > .common-menu > li .child-wrap.viewtest {
  visibility: visible;
  height: auto;
  opacity: 1;
  transition: all .3s!important;
}
header .main-menu > .common-menu .child-menu-title {
  width: 1200px;
  margin: auto;
  text-align: center;
  color: #FFF;
  padding: 30px 0 10px;
}
header .main-menu > .common-menu .child-inner {
  width: 1200px;
  margin: auto;
  max-width: 100%;
  min-height: 200px;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
}
header .main-menu > .common-menu .child-inner .search-form {
	display: flex;
	justify-content: center;
	align-items: center;
}
header .main-menu > .common-menu .parent-block {
  display: flex;
  width: 230px;
  box-sizing: border-box;
  position: relative;
  font-size: 0;
  padding: 30px 20px 30px 8px;
  text-align: center;
  line-height: 1;
  background: #97999B;
  max-height: none;
  height: auto;
  align-items: center;
}
header .main-menu > .common-menu .parent-block > a {
  color: #fff;
  text-align: center;
  display: block;
}
header .main-menu > .common-menu .parent-block > a:last-child {
  margin-bottom: 0;
}
header .main-menu > .common-menu .parent-block > a .parent-block-txt {
  background: #fff;
  text-align: center;
  margin-bottom: 0;
  padding: 5px 10px;
  display: inline-block;
  width: 100%;
  border-top: 1px solid #E1E1E1;
}
header .main-menu > .common-menu .parent-block img {
  width: 100%;
  max-width: 100%;
}

header .main-menu > .common-menu .parent-info {
	display: flex;
	align-items: center;
	color: #fff;
	width: 200px;
	min-height: 200px;
	font-size: 120%;
	padding: 2rem;
	padding-right: 1rem;
	padding-left: 0;
	position: relative;
}
header .main-menu > .common-menu .parent-info::after {
	content: "";
	position: absolute;
	top: 10%;
	right: 0;
	background-color: #ccc;
	height: 80%;
	width: 1px;
}
header .global-navi .main-menu > .common-menu .child-wrap .parent-info a {
	color: #333;
}

header .main-menu > .common-menu .child-list {
  zoom: 1;
  display: flex;
  justify-content: space-between;
  vertical-align: top;
  padding: 20px 0 0 20px;
  box-sizing: border-box;
  width: 100%;
}
header .global-navi .main-menu > .common-menu .child-wrap.image .child-list {
	padding: 20px 0 20px 0;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list {
	padding: 3rem;
	padding-left: 0;
	padding-right: 0;
}
header .main-menu > .common-menu .child-list:after {
  content: "";
  display: block;
  clear: both;
}
header .main-menu > .common-menu .child-list .child-list-line {
  display: flex;
  align-items: center;
  padding: 0 10px 0 10px;
  width: 100%;
  min-height: 200px;
}
header .main-menu > .common-menu .child-list .child-list-line > ul > li {
  margin-bottom: 0;
  min-width: 30%;
  display: inline-block;
}
header .main-menu > .common-menu .child-list .child-list-line > ul > li:last-child {
  /* margin-bottom: 0; */
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul {
	display: flex;
	justify-content: space-between;
	align-items: self-start;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li {
	min-width: auto;
	float: none;
	align-self: self-start;
	max-width: 25%;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > a {
	font-size: 120%;
}

header .global-navi .main-menu > .common-menu .child-wrap.image .child-list .child-list-line > ul {
	display: flex;
	justify-content: space-between;
}
header .global-navi .main-menu > .common-menu .child-wrap.image .child-list .child-list-line > ul > li {
	min-width: auto;
}

header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > ul {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--menu-border);
	padding-top: 1.5rem;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > ul > li {
	float: none;
	margin: 0;
	align-self: flex-start;
}
header .global-navi .main-menu > .common-menu .child-wrap a {
	color: #333;
	position: relative;
}
header .global-navi .main-menu > .common-menu .child-wrap a:hover {
	color: var(--menu-bg);
	opacity: 1;
}
header .global-navi .main-menu > .common-menu .child-wrap a span::after {
	content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 7px;
  background: var(--menu-bg);
  height: 2px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
header .global-navi .main-menu > .common-menu .child-wrap a:hover span::after {
	left: 20px;
	right: 0;
}

header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > ul > li span {
	line-height: 1.3;
	padding-left: 20px;
	display: inline-block;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > ul > li i {
	color: var(--menu-bg);
	/* padding-right: 10px; */
	position: absolute;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-list-line > ul > li > ul > li a:hover * {
}


header .main-menu > .common-menu .child-list li {
  /* float: left; */
}
header .main-menu > .common-menu .child-list li:last-child a {
  border-right: none;
}
header .main-menu > .common-menu .child-list a {
  padding: 0 !important;
  display: block;
  position: relative;
}
header .main-menu > .common-menu .child-list a {
  display: block;
  position: relative;
  padding: 0 0 10px 0 !important;
}
header .main-menu > .common-menu .child-list .child-ttl {
  line-height: 1.2;
  position: relative;
  margin-bottom: 5px;
  color: #333;
}
header .main-menu > .common-menu .child-list .parent .child-ttl {
	font-weight: bold;
}
header .main-menu > .common-menu .child-list a:hover .child-ttl {
	color: var(--em-primary-bg);
}
header .main-menu > .common-menu .child-list .child-ttl span {
  display: inline-block;
  color: var(--menu-bg);
}
header .main-menu > .common-menu .child-list .child-ttl i {
  margin-left: 14px;
}
header .main-menu > .common-menu .child-list .child-ttl img  {
	margin-bottom: 5px;
}
header .main-menu > .common-menu .child-list .child-ttl:before {
  content: "ï”";
  display: inline-block;
  width: 8px;
	height: 11px;
	font-family: "Font Awesome 5 Free";
}
header .global-navi .main-menu > .common-menu .child-wrap.image .child-list .child-ttl:before {
	display: none;
}
header .global-navi .main-menu > .common-menu .child-wrap.tree .child-list .child-ttl:before {
	display: none;
}
header .main-menu > .common-menu .child-list .btn {
  margin-bottom: 20px;
}
header .main-menu > .common-menu .child-list .btn .child-ttl {
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .main-menu > .common-menu .child-list .btn .child-ttl:hover {
  opacity: 0.8;
}
header .main-menu > .common-menu .child-list .btn-contact .child-ttl {
  background-color: #fe9025;
}
header .main-menu > .common-menu .child-list .btn-contact .child-ttl:after {
  position: absolute;
  content: " ";
  right: 20px;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 0;
  height: 0;
  border-left: 5px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
header .main-menu > .common-menu .child-list .child-ttl.bold {
  margin-bottom: 10px;
}
header .main-menu > .common-menu .child-list .child-ttl.bold:before {
  content: none;
}
header .main-menu > .common-menu .child-list .child-ttl.bold span {
  margin-left: 0;
}

@media only screen and (min-width: 992px) {
  header .main-menu {
    display: block !important;
  }
}

header .sub-menu > .p-nav-sub > li > a {
	position: relative;
}
header .sub-menu > .p-nav-sub > li > a:before{
	content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: -5px;
  background: var(--em-primary-text);
  height: 5px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
header .sub-menu > .p-nav-sub > li:hover > a,
header .sub-menu > .p-nav-sub > li a:hover,
header .sub-menu > .p-nav-sub > li a:focus,
header .sub-menu > .p-nav-sub > li a:active,
header .sub-menu > .p-nav-sub > li a.active {
}
header .sub-menu > .p-nav-sub > li:hover > a:before,
header .sub-menu > .p-nav-sub > li > a:hover:before,
header .sub-menu > .p-nav-sub > li > a:focus:before,
header .sub-menu > .p-nav-sub > li > a:active:before,
header .sub-menu > .p-nav-sub > li > a.active:before {
	left: 0px;
	right: 0px;
}

.cta-menu {margin-right: 0;margin-bottom: 5px;}

.cta-menu .p-nav-cta .p-nav-cta__link {
	padding: 1rem;
	color: var(--em-primary-bg);
	background-color: var(--em-primary-text);
	background-image: var(--em-primary-gradation);
	background-blend-mode: multiply;
	border: 1px solid var(--em-primary-border);
	display: flex;
	min-width: 150px;
	min-height: 60px;
	justify-content: center;
	align-items: center;
}
@media only screen and (max-width: 1200px) {
	.cta-menu .p-nav-cta .p-nav-cta__link {
		min-width: 100px;
	}
}

.p-nav-sub li:not(:last-child),
.p-nav-site li:not(:last-child),
.p-nav-cta li:not(:last-child) {
  align-self: flex-end;
}
.p-nav-sub li:last-child,
.p-nav-site li:last-child,
.p-nav-cta li:last-child {
  align-self: flex-end;
}
header .main-menu > .common-menu > li.search .child-inner .search-form {
	padding: 2rem 1rem;
}
header .main-menu > .common-menu > li.search .child-inner .search-form input {
	width: 30vw;
	padding: .5rem;
}
header .main-menu > .common-menu > li.search .child-inner .search-form .input-group-text {
	color: var(--menu-text);
	font-size: 1.5rem;
	padding-left: 1rem;
}

@media only screen and (min-width: 1024px) {
	.p-nav-sub,
	.p-nav-site,
  .p-nav-cta {
    display: flex;
    justify-content: flex-end;
    margin: 0;
 }
	.p-nav-sub li,
	.p-nav-site li,
  .p-nav-cta li {
    margin: 0 0 0 15px;
 }
	.p-nav-sub li:last-child,
	.p-nav-site li:last-child
  .p-nav-cta li:last-child {
  }
}

@media only screen and (max-width: 1023px) {
	header .sub-menu .p-nav-sub,
	header .main-menu .p-nav-site,
	.p-nav-cta {
		display: none;
	}

	header.is-active .sub-menu .p-nav-sub,
	header.is-active .main-menu .p-nav-site,
	header.is-active .p-nav-cta {
    display: block;
    margin: 0;
    border-top: 1px solid #ddd;
    width: 100%;
    text-align: center
	}
	header.is-active .sub-menu .p-nav-sub {
		border-top: 0px solid;
	}
  .is-active .p-nav-sub li,
  .is-active .main-menu > .common-menu > li,
  .is-active .p-nav-cta li {
    margin: 0;
    border-bottom: 1px solid #ddd
  }
  .p-tel--header {
    padding: 1.2rem 0;
    display: block;
  }
  .cta-menu {
  	margin-top: 10px;
  	width: 100%;
  	display: none;
	}
	header.is-active {
		height: 500vh;
		position: absolute;
		/* overflow: scroll; */
		z-index: 9999;
	}
	header.is-active .cta-menu {
  	display: block;
  	margin: 0;
  	background-color: #32918c;
 }
	header.is-active .cta-menu .p-nav-cta {
		display: flex;
		padding: 1rem;
		border: 0;
		justify-content: space-evenly;
	}
	header.is-active .cta-menu .p-nav-cta li .p-nav-cta__link {
		height: 60px;
		padding: .7rem;
	}
	header.is-active .search {
		position: absolute;
    top: 0;
	}
	header.is-active .p-site-title {
		opacity: 0;
	}
	header.is-active .search .p-nav-site__link {
		display: none;
	}
	header.is-active .main-menu > .common-menu > li.search {
		width: calc(100vw - 100px);
		height: 72px;
		z-index: 999;
		border: 0;
	}
	header.is-active .main-menu > .common-menu > li.search .child-wrap{
		display: block;
		visibility: visible;
		top: 0;
		height: auto;
		position: relative;
		overflow: auto;
		opacity: 1;
		background: none;
	}
	header.is-active .main-menu > .common-menu > li.search .parent-info {
		display: none;
	}
	header.is-active .main-menu > .common-menu > li.search .child-inner {
		min-height: auto;
		width: auto;
	}
	header.is-active .main-menu > .common-menu > li.search .child-inner .search-form {
		padding: 0 !important;
	}
	header.is-active .main-menu > .common-menu > li.search .child-inner .search-form input {
    width: calc(96vw - 180px);
    border: 0;
    background: rgba(255,255,255,80%);
 }
	header.is-active .main-menu > .common-menu > li.search .child-inner .search-form .search-input-container {
		height: 72px;
		padding-left: 4vw;
	}
}

@media only screen and (max-width: 599px) {
	.is-active .p-nav-sub,
	.is-active .p-nav-site,
  .is-active .p-nav-cta {
    margin: 1rem 0 0
  }
}

.p-nav-sub__link,
.p-nav-site__link,
.p-nav-cta__link {
  text-decoration: none;
  color: var(--header-text);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  font-size: 12px;
  padding-bottom: 0px;
}
.p-nav-site__link {
  padding-bottom: 0;
}

.p-nav-sub__link:hover,
.p-nav-site__link:hover
.p-nav-cta__link:hover {
}

@media only screen and (max-width: 1023px) {
  .is-active .p-nav-sub__link,
  .is-active .p-nav-site__link,
  .is-active .p-nav-cta__link {
    display: block;
    padding: 1.25rem;
    color: var(--menu-text);
    text-align: left;
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 599px) {
	.is-active .p-nav-sub__link,
	.is-active .p-nav-site__link,
  .is-active .p-nav-cta__link {
    display: block;
  }
}


.p-menu {
  height: 72px;
  width: 72px;
  text-align: center;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}

@media only screen and (min-width: 1024px) {
  .p-menu {
    display: none
  }
}

.p-menu__button {
  background: none;
  cursor: pointer;
  border: 0;
  margin: 0;
  padding: 0;
}

.p-menu__icon {
  display: inline-block;
  margin: 0;
  font-size: 40px;
}

.is-active .p-menu__icon {
  display: none
}

.p-menu--active__icon {
  display: none;
  margin: 0;
  font-size: 40px;
}

.is-active .p-menu--active__icon {
  display: inline-block
}
