:root {
	--header-height: 4rem;
}
/* header.is-scroll {
  background-color: var(--header-bg);
  box-shadow: 0 0 8px rgba(0, 0, 0, .1);
} */

header.is-scroll {
	box-shadow: 0px 0px 7px 0px var(--header-text);
}
header .l-header-wapper {
  position: relative;
  top: 0;
  width: 100%;
  min-width: 375px;
  overflow-x: hidden;
  z-index: 999;
  overflow: hidden;
  transition: all .2s;
	height: var(--header-height);
}
header .l-header-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: var(--header-bg);
	opacity: .8;
	z-index: 0;
}
header.is-scroll .l-header-bg {
	opacity: 1;
}
.l-header-container {
	position: relative;
  margin: 0 auto;
	padding-top: 0;
  max-width: 1200px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-self: auto;
	width: 100%;
}

.l-header-container > .p-title {
	-webkit-box-ordinal-group:1;
	-ms-flex-order:1;
	-webkit-order:1;
	order:1;
	width: 30%;
	height: auto;
}
.l-header-container > .l-menu-container {
	-webkit-box-ordinal-group:3;
	-ms-flex-order:3;
	-webkit-order:3;
	order:3;
}
.l-header-container > .l-gmenu-sub-wrapper {
	display: flex;
	justify-content: flex-end;
}

.l-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* height: var(--header-height); */
}

/* gmenu title */
.l-header-container .p-title {
	display: flex;
	align-items: flex-start;
	height: var(--header-height);
}
.l-header-container .p-title .p-image {
	height: var(--header-height);
	padding: 10px 10px 10px 0;
	display: flex;
	height: var(--header-height);
	padding: 10px;
	box-sizing: border-box;
	font-size: var(--fsize-lg);
	font-weight: 900;
	justify-content: center;
	align-items: center;
}
.l-header-container .p-title .p-image img {
	object-fit: contain;
	object-position: left;
	width: 100%;
	height: 100%;
}
.l-header-container .p-title .p-image .p-figure,
.l-header-container .p-title .p-image > a {
	width: 100%;
	height: 100%;
}

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

}
.l-gmenu-sub-container {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
.l-gmenu-sub-container > li {
	height: 100%;
	padding: 0 10px;
	font-size: var(--fsize-md);
	font-weight: 600;
}
/*h-tel-box*/
.l-gmenu-tel-container {

}
.l-gmenu-tel-container .tel-box-upper p {
  font-size: var(--fsize-xs);
  color: var(--header-text);
  margin: 0;
  line-height: 1;
  text-align: center;
}
.l-gmenu-tel-container .tel-box-lower {
  margin: 4px 0 0;
  font-size: 0;
}
.l-gmenu-tel-container .tel-box-lower dt {
	display: inline-block;
	vertical-align: middle;
	padding: 5px;
	background: var(--menu-bg);
	color: var(--menu-text);
	font-size: var(--fsize-xs);
	line-height: 1;
	text-align: center;
}
.l-gmenu-tel-container .tel-box-lower dd {
	display: inline-block;
	vertical-align: middle;
	font-size: var(--fsize-xl);
	color: var(--menu-bg);
	margin: 0;
	line-height: 1;
	padding-left: 9px;
}
@media screen and (max-width: 767px) {
	.l-gmenu-tel-container .tel-box-upper p {
		font-size: 1.4rem;
	}
	.l-gmenu-tel-container .tel-box-lower dt {
		font-size: 1.8rem;
	}
	.l-gmenu-tel-container .tel-box-lower dd {
		width: auto;
		font-size: 3.2rem;
	}
}



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

}
.l-gmenu-cta-container {
	display: flex;
	padding: 0;
	margin: 0 0 0 var(--size-xs);
	align-items: center;
	list-style: none;
	height: calc(var(--header-height) / 2);
}
.l-gmenu-cta-container > li {
	margin-left: 10px;
	font-size: var(--fsize-md);
}
.p-gmenu-sub-item {
	height: 100%;
	display: flex;
	align-items: center;
	color: var(--header-text);
}


@media only screen and (max-width: 1023px) {
	header {
		background: transparent !important;
	}
	header::before {
		background-color: #FFF;
    opacity: .98;
		z-index: 0;
	}
	header.is-active::before {
		opacity: .9;
		height: 500vh;
		z-index: 1;
	}
	header.is-scroll .l-header-wapper,
	.l-header-wapper {
		padding-top: 0;
	}

	header.is-active .l-header-container {
		background-color: #32918C;
		box-shadow: none;
		opacity: .7;
	}
  .l-header-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: transparent;
  }
}
@media only screen and (max-width: 600px) {
  header {
    min-width: initial;
  }
}


/* menu btn */
.l-menu-container {
  text-align: center;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}
@media only screen and (min-width: 1024px) {
  .l-menu-container {
    display: none
  }
}
.l-menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  cursor: pointer;
  border: 0;
  margin: auto;
}
.p-menu-icon {
  display: inline-block;
  margin: 0;
  font-size: calc(var(--header-height) - 20px);
	color: var(--header-text);
  height: calc(var(--header-height));
  width: calc(var(--header-height));
  padding: 10px;
}
.p-menu-def-icon {
}
.p-menu-active-icon {
  display: none;
}
body.is-gmenu-active .l-menu-button .p-menu-def-icon {
  display: none
}
body.is-gmenu-active .l-menu-button .p-menu-active-icon {
  display: inline-block
}


/* gmenu title */
.l-header-logo-container {
	background-color: #FFF;
}
.l-header-container .p-title {
	display: flex;
	align-items: flex-start;
	height: var(--header-height);
}
.l-header-container .p-title .p-logo {
	height: var(--header-height);
	padding: 10px 10px 10px 0;
	display: flex;
	height: var(--header-height);
	box-sizing: border-box;
	font-size: var(--fsize-lg);
	font-weight: 900;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}
.l-header-container .p-title .p-logo img {
	object-fit: contain;
	object-position: left;
	width: 100%;
	height: 100%;
}
.l-header-container .p-title .p-logo .p-text {
	padding: 0 1rem;
	font-size: 1.5rem;
}
