.header .menu-lists .main-navi .dropdown .dropdown-item{
	position: absolute;
	left: 0;
	top: 80px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	width: 100%;
	background-color: #fff;
	padding: 10px 20px 20px 20px;
	opacity: 0;
	transition: 0.35s cubic-bezier(0.4, 0, 0, 1);
	visibility: hidden;
	box-sizing: border-box;
}

.header.fixed .menu-lists .main-navi .dropdown .dropdown-item{
	top: 54px;
}

@media screen and (min-width:925px) {
	.header .menu-lists .main-navi .dropdown:hover .dropdown-item,
	.header .menu-lists .main-navi .dropdown .dropdown-item:hover,
	.header .menu-lists .main-navi .dropdown:focus-within .dropdown-item {
		opacity: 1;
		transition: 0.35s cubic-bezier(0.4, 0, 0, 1);
		visibility: visible;
	}
}


.header .menu-lists .main-navi .dropdown .dropdown-item li {
	width: 220px;
	margin: 0;
	border-bottom: 1px solid #EBEBEB;
	position: relative;
}

.header .menu-lists .main-navi .dropdown .dropdown-item li::after {
	content: "";
    background-image: url(/img/header-link-arrow.svg);
    background-size: cover;
	background-repeat: no-repeat;
	display: block;
	width: 9.24px;
    height: 4.96px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%) rotate(90deg);
	transition: 0.3s;
}

.header .menu-lists .main-navi .dropdown .dropdown-item li:hover::after {
	right: -5px;
	transition: 0.3s;
}

.header .menu-lists .main-navi .dropdown .dropdown-item li a {
	text-align: left;
	padding: 12px 0;
	transition: 0.3s;
	margin-top: 0;
}

.header .menu-lists .main-navi .dropdown .dropdown-item li a:hover {
	color: #50464499;
	transition: 0.3s;
}

.header .menu-lists .main-navi .dropdown .dropdown-item li a small {
	font-size: 12px;
}

@media screen and (max-width:1023px) {
	.header .menu-lists .main-navi .dropdown .dropdown-item{
		justify-content: left;
	}
}

/* 2022/01/25 hedaerのブレイクポイントを768pxに変更 */
/* 2024/05/30 hedaerのブレイクポイントを925pxに変更 */
@media screen and (min-width: 925px) {
	.header {
		width: 100%;
		min-height: 80px;
		background-color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 20;
		transition: all 0.2s ease-out;
	}

	.header.fixed {
		position: fixed;
		min-height: 54px;
		top: 29px;
		z-index: 20;
	}

	.header .sp-menu-nav {
		width: 100%;
		position: relative;
	}

	.header .hakaruai-logo {
		width: 30%;
		max-width: 160px;
		position: absolute;
		top: 33px;
		left: 0;
	}

	.header .headerlogo {
		width: 100%;
		padding: 4px 0 0 10px;
		line-height: 0;
		text-align: center;
	}

	.header .headerlogo [data-ruby] {
		width: 100%;
		max-width: 235px;
		height: 25px;
		display: inline-block;
		color: #454647;
		font-size: 0.5rem;
		position: relative;
	}

	.header .headerlogo [data-ruby]:after {
		content: attr(data-ruby);
		position: absolute;
		top: -5px;
		left: 0;
		right: 0;
		margin: auto;
		text-align: center;
	}

	.header .headerlogo ruby rt {
		display: none;
	}

	.header .headerlogo a {
		display: flex;
		width: 100%;
		max-width: 235px;
	}

	.header .headerlogo ruby img {
		width: 100%;
		position: absolute;
		top: -20px;
		left: 0;
		right: 0;
	}

	.fifthbadge {
		display: block;
		max-width: 50px;
	}

	.fifthbadge img {
		width: 100%;
	}

	.header .menu-lists {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		flex-wrap: wrap;
		right: 0;
		height: 79px;
	}

	.header.fixed .menu-lists {
		height: 54px;
	}

	.header .menu-lists .main-navi {
		height: 100%;
	}

	.header.fixed .menu-lists .main-navi {
		margin-right: 150px;
	}

	.header .menu-lists li {
		display: inline-block;
		height: 100%;
	}

	.header .menu-lists li a.no-click:active {
		cursor: default;
		pointer-events: none;
	}

	.header .menu-lists li .phoneNumber,
	.header .menu-lists li>a,
	.header .menu-lists li>span {
		display: block;
		text-align: center;
		padding: 15px 10px;
		box-sizing: border-box;
		color: #454646;
		font-size: 0.88rem;
		font-weight: 700;
		cursor: pointer;
	}

	.header .menu-lists li>a{
		padding: 10px 10px 10px 10px;
		margin-top: 30px;
	}

	.header .menu-lists .sub-navi {
		margin-top: 0;
		position: absolute;
		top: 10px;
		right: 180px;
		display: flex;
		column-gap: 10px;
	}

	.header.fixed .menu-lists .sub-navi {
        top: 4px;
	}

	.header .menu-lists li[class^="sp-up"] a, 
	.header .menu-lists li[class^="sp-up"] .phoneNumber {
		height: auto;
		font-weight: 400;
		font-size: 0.688rem;
		padding: 4.5px 8px 4.91px 8px;
		margin-top: 0;
	}

	.sp-up1 {
		right: 370px;
	}

	.sp-up2 {
		right: 270px;
	}

	.sp-up3 {
		right: 183px;
	}

	.menu-lists .end:before {
		content: '';
		width: 1px;
		height: 18px;
		background-color: #DBDBDB;
		position: absolute;
		top: 5px;
		right: 260px;
	}

	.header.fixed .menu-lists .end:before {
		right: 252px;
	}

	.header .menu-lists .sub-navi .nav-phone .phoneNumber {
		padding-top: 2px;
	}

	.header .menu-lists .sub-navi .nav-phone span {
		font-weight: bold;
		font-size: 14px;
	}

	.header .menu-lists li.contact,
	.header .menu-lists li.request {
		box-sizing: border-box;
		margin: 0;
		margin-right: 0;
		height: 80px;
	}

	.header .menu-lists li.contact a,
	.header .menu-lists li.request a {
		color: #fff;
		padding: 0;
		width: 90px;
		height: 80px;
		line-height: 76px;
		font-size: 0.688rem;
		display: grid;
		place-content: center;
		margin-top: 0;
	}

	.header .menu-lists li.contact a {
		background: #181818;
		background: -moz-linear-gradient(top, #181818 0%, #303030 78%, #303030 100%);
		background: -webkit-linear-gradient(top, #181818 0%, #303030 78%, #303030 100%);
		background: linear-gradient(to bottom, #181818 0%, #303030 78%, #303030 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#181818', endColorstr='#303030', GradientType=0);

	}

	.header .menu-lists li.request a {
		background: rgb(31, 140, 166);
		background: -moz-linear-gradient(left, rgba(31, 140, 166, 1) 0%, rgba(65, 177, 183, 1) 77%, rgba(65, 177, 183, 1) 100%);
		background: -webkit-linear-gradient(left, rgba(31, 140, 166, 1) 0%, rgba(65, 177, 183, 1) 77%, rgba(65, 177, 183, 1) 100%);
		background: linear-gradient(to right, rgba(31, 140, 166, 1) 0%, rgba(65, 177, 183, 1) 77%, rgba(65, 177, 183, 1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1f8ca6', endColorstr='#41b1b7', GradientType=1);
	}

	.header.fixed .hakaruai-logo {
		top: 2px;
	}

	.header.fixed .headerlogo {
		width: 100%;
		padding: 0 0 0 10px;
		line-height: 0;
	}

	.header.fixed .headerlogo ruby:after {
		display: none;
	}

	.header.fixed .headerlogo ruby img {
		width: 260px;
		height: 54px;
		position: absolute;
		left: 0;
		right: 0;
		top: -5px;
	}

	.header.fixed .headerlogo .fifthbadge {
		padding-top: 10px;
	}

	.header.fixed .menu-lists li {
		margin-top: 0;
	}

	.header.fixed .menu-lists li[class^="sp-up"] {
		top: 3px;
		margin-top: 0;
	}

	.header.fixed .menu-lists li.sp-up3 {
		margin-right: 16px;
	}

	.header.fixed .menu-lists .sp-up1 {
		right: 270px;
	}

	.header.fixed .menu-lists .sp-up2 {
		right: 183px;
	}

	.header.fixed .login {
		display: none;
	}

	.header .menu-lists li.end {
		margin-right: 14.4px!important;
	}

	.header.fixed .menu-lists li.contact,
	.header.fixed .menu-lists li.request {
		height: 54px;
		margin-top: 0;
		margin-right: 0;
	}

	.header.fixed .menu-lists li.contact a,
	.header.fixed .menu-lists li.request a {
		height: 54px;
		line-height: 5;
		padding: 0;
		margin-top: 0;
	}

	.header .menu-lists li a:hover {
		color: #3d92ad;
		text-decoration: none;
	}

	.header .menu-lists li.contact a:hover {
		background: linear-gradient(to right, rgba(71, 71, 71, 1) 0%, rgba(89, 89, 89, 1) 78%, rgba(89, 89, 89, 1) 100%);
		color: #fff;
	}

	.header .menu-lists li.request a:hover{
		background: linear-gradient(to right, rgba(66, 177, 183, 1) 0%, rgba(106, 193, 198, 1) 77%, rgba(106, 193, 198, 1) 100%);
		color: #fff;
	}

	.header .menu-lists li a.blank::after {
		display: inline-block;
		height: 11px;
	}
}

/*1024px以上のヘッダースタイル*/
@media screen and (min-width:64em) {
	.header .menu-lists li {
		margin-right: 14.2px;
	}

	.header .menu-lists .sub-navi {
		display: flex;
		column-gap: 10px;
	}

	.header .menu-lists li[class^="sp-up"] {
		margin-right: 0;
		margin-top: 0;
	}

	.header .menu-lists li>a,
	.header .menu-lists li>span {
		font-size: 0.875rem;
	}

	.header .hakaruai-logo {
		max-width: 334px;
		padding: 0 0 0 5px;
		top: 27px;
	}

	.header .headerlogo ruby {
		height: 35px;
	}

	.header .headerlogo ruby img {
		width: 100%;
		position: absolute;
		top: -25px;
		left: 0;
		right: 0;
	}

	.fifthbadge {
		display: block;
		max-width: 75px;
	}

	.fifthbadge img {
		width: 100%;
	}

	.sp-up1 {
		right: 610px;
	}

	.sp-up2 {
		right: 370px;
	}

	.sp-up3 {
		right: 283px;
	}

	.sp-up4 {
		right: 180px;
	}


	.header.fixed .menu-lists .main-navi{
		right: 146px;
	}

	.header.fixed .menu-lists .sub-navi{
        right: 330px;
		top: 4px;
	}

	.header.fixed .menu-lists .sub-navi .nav-phone {
		position:absolute;
		right: -145px;
		top: 2px;
	}

	.header.fixed .menu-lists li.nav-phone .phoneNumber {
		display: flex;
		flex-wrap: wrap;
		width: 130px;
		justify-content: center;
		align-items: center;
		font-size: 10px;
		gap: 1px;
	}

	.header.fixed .menu-lists li[class^="sp-up"] {
		top: 0px;
		position: static;
		margin-right: 0;
	}

	.header.fixed .menu-lists li {
		margin-right: 16px;
	}

	.header.fixed .menu-lists li:last-of-type {
		margin-right: 0!important;
	}

	.header.fixed .menu-lists li a {
		padding: 0;
		margin-top: 25px;
	}

	.header.fixed .menu-lists li[class^="sp-up"] a,
	.header.fixed .menu-lists li[class^="sp-up"] .phoneNumber{
		padding: 0;
		margin-top: 0;
	}

	.header.fixed .menu-lists .end{
		margin-right: 0;
	}

	.header.fixed .menu-lists .end:before{
		right: 133px;
		height: 44px;
		top: -2px;
	}

	.header.fixed .hakaruai-logo {
		max-width: 240px;
		height: 52px;
	}

	.header.fixed .headerlogo ruby img {
		position: absolute;
		left: 0;
		right: 0;
		top: -3px;
	}

	.header.fixed .fifthbadge {
		max-width: 60px;
		padding-top: 10px;
	}
}

@media screen and (max-width:82.500em) {
	.header .menu-lists li>span {
		padding: 15px 6px;
	}
}

@media screen and (max-width: 1023px) and (min-width: 925px) {

	.header .menu-lists .main-navi li:last-child {
		margin-right: 12px;
	}

	.header.fixed .menu-lists li {
		margin-right: 16px;
	}
	.header.fixed .menu-lists li>a, 
	.header.fixed .menu-lists li .phoneNumber {
        padding: 7px 0 0 0;
	}

	.header .menu-lists li[class^="sp-up"] {
		margin-top: 0;
		margin-right: 0;
	}

	.header.fixed .menu-lists li a {
		padding-top: 0;
	}

	.header .menu-lists li[class^="sp-up"] a {
		padding-top: 5px;
	}

	.menu-lists .login:before{
		right: 75px;
	}

	.header.fixed .menu-lists li.contact a,
	.header.fixed .menu-lists li.register a,
	.header.fixed .menu-lists li.request a {
		padding-top: 0;
	}

    .header.fixed .menu-lists .main-navi {
        margin-right: 0;
    }

}


@media screen and (max-width: 924px) {
	/* spのスタイル */
	.header .gmologo {
		display: none;
	}

	.header {
		width: 100%;
		position: relative;
	}

	.header .sp-menu-nav {
		background: rgba(255, 255, 255, .9);
		width: 100%;
	}

	.header .hakaruai-logo {
		max-width: 100%;
	}

	.header .sp-menu-head {
		width: 100%;
		box-sizing: border-box;
		background: #fff;
		position: fixed;
		top: 29px;
		left: 0;
		z-index: 100;
		height: 50px;
		padding: 0 1rem 3px;
		display: flex;
		justify-content: flex-end;
		align-items: stretch;
	}

	.header .sp-menu-head .headerlogo {
		width: 60%;
		text-align: center;
		margin-right: calc((47%/2) - 30px);
	}

	.header .sp-menu-head .headerlogo a {
		height: 50px;
	}

	.header .sp-menu-head .headerlogo ruby rt,
	.header .sp-menu-head .headerlogo ruby:after {
		display: none;
	}

	.header .sp-menu-head .headerlogo ruby img {
		width: 260px;
		height: 50px;
		object-fit: cover;
		object-position: center;
	}

	.fifthbadge {
		display: flex;
		flex-direction: column;
		justify-content: center;
		max-width: 60px;
	}

	.fifthbadge img {
		width: 100%;
	}

	.header .sp-menu-head #sp-menubtn {
		display: block;
		position: relative;
		width: 23px;
		height: 25px;
		display: inline-block;
		z-index: 100;
		top: .9rem;
	}

	.header .sp-menu-head #sp-menubtn:after {
		width: 100%;
		display: block;
		content: '';
		height: 3px;
		background: #535557;
		box-shadow: 0 8px 0 #535557, 0 16px 0 #535557;
	}

	.header .sp-menu-head #sp-menubtn.active:after {
		background: #535557;
		box-shadow: 0 8px 0 #535557, 0 16px 0 #535557;
	}

	.header .menu-lists {
		width: 100%;
		background: rgba(255, 255, 255, .9);
		display: none;
		transition: all 0.3s ease-out;
		position: fixed;
		top: 79px;
		left: 0;
		z-index: 100;
		background-color: #fff;
	}

	.header .menu-lists.is-active {
		display: block;
	}

	.header .menu-lists>li,
	.header .menu-lists .main-navi>li,
	.header .menu-lists .main-navi .sub-navi>li {
		background-color: #fff;
	}

	.header .menu-lists li.border-none{
		border-top: none!important;
	}

	.header .menu-lists>li{
		background-color: #fff;
	}

	.header .menu-lists .main-navi .dropdown > a{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.header .menu-lists .main-navi .dropdown > a::after{
		content: "";
		background-image: url(/img/header-link-arrow.svg) ;
		background-repeat: no-repeat;
		background-size: contain;
		width: 14px;
		height: 7.93px;
		transform: rotate(180deg);
		transition: 0.3s;
	}

	.header .menu-lists .main-navi .dropdown > a.active::after{
		transform: rotate(0deg);
	}

	.header .menu-lists .main-navi li .dropdown li::after{
		width: 10.5px;
		height: 6px;
		right: 10px;
	}

	/* .header .menu-lists>li,  */
	.header .menu-lists ul:is(.main-navi, .sub-navi)>li,
	.header .menu-lists ul li:is(.contact, .request){
		border-top: 1px solid #b6bcc1;
	}

	.header .menu-lists .sub-navi>li.nav-phone {
		display: none;
	}

	.header .menu-lists li>a,
	.header .menu-lists li>span {
		display: block;
		font-size: 1rem;
		padding: 13px 20.57px 13px 16px;
		color: #454646;
	}

	.header .menu-lists li>span {
		color: #979797;
	}

	.header .menu-lists .main-navi .dropdown{
		border-bottom: 1px solid #b6bcc1;
	}

	.header .menu-lists .main-navi .dropdown:has(.active){
		border-bottom: none;
	}

	.header .menu-lists .main-navi .dropdown .dropdown-item{
		opacity: 1;
		position: unset;
		display: none;
		width: 100%;
		padding: 0;
		background-color: #F5F5F5;
		visibility: visible;
	}

	.header .menu-lists .main-navi .dropdown a.active .dropdown-item{
		display: block;
	}

	.header .menu-lists .main-navi .dropdown .dropdown-item li{
		width: 100%;
	}

	.header .menu-lists .main-navi .dropdown .dropdown-item li a{
		padding: 10px 38px 10px 24px;
	}

	.header .menu-lists .main-navi .dropdown .dropdown-item li::after{
		right: 19px;
	}

	.header .menu-lists .main-navi .dropdown .dropdown-item li:hover::after{
		right: 14px;
	}

	.header .menu-lists li a:hover {
		color: #3d92ad;
		text-decoration: none;
	}

	#overlay.is-show {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.7);
		z-index: 80;
		width: 100%;
		height: 100vh;
	}
}

@media screen and (max-width: 768px) {
	.header .sp-menu-head {
		top: 0;
	}

	.header .menu-lists {
		top: 50px;
	}
}
