@charset "utf-8";

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*ヘッダー設定
---------------------------------------------------------------------------*/
header{
	font-family: 'Kiwi Maru', serif;
}
header div.brand a.logo{
	position: relative;
	width: 100%;
	color: #555;
	padding: 0.3rem 0 0.3rem 0.8rem;
	box-sizing: border-box;
}
header div.brand a.logo::before{
	content: '';
	position: absolute;
	height: 100%;
	width: 0.5rem;
	left: 0;
	top: 0;
}
header div.brand a.logo span{
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
	letter-spacing: -0.05em;
}
header div.brand a.logo span.yuugengaisha{
	display: block;
	font-size: 1.5em;
}
header div.brand a.logo span.miyazakihokenjimusho{
	display: block;
	font-size: 2.5em;
}
header div.brand a.logo > span{
	width: 80%;
	width: -webkit-calc(100% - 3em);
	width: calc(100% - 3em);
	padding-left: 0.5em;
	box-sizing: border-box;
}
header div.brand a.logo img.logoMark {
	display: inline-block;
	width: 20%;
	width: -webkit-calc(1em + 2em);
	width: calc(1em + 2em);
	line-height: 1;
	vertical-align: middle;
}
header div.brand a.logo img.dairiten{
	position: absolute;
	height: 2em;
	top: 0.1rem;
	left: 10.5em;
	vertical-align: middle;
}
header div.brand a.logo::before {
	background-color: #41a0be;
}

/* --------------------- */
/* ▼c：PC専用のスタイル */
/* --------------------- */
@media (min-width: 1025px) {
/*ヘッダー設定
---------------------------------------------------------------------------*/
header{
	position: relative;
	background-color: #b6eaff;
	background-color: #c0f2ff;
	background-color: #ccefff;
}
header .brand,
#drawernav{
	display: inline-block;
	vertical-align: bottom;
}
header .brand{
	width: 40%;
}
header div.brand a.logo img.dairiten{
}
#drawernav{
	position: absolute;
	width: 60%;
	max-width: 900px;
	bottom: 0;
	right: 0;
}

#drawernav nav::after{
	background: #ccc;
	height: 4px;
	width: 100%;
	margin: 0 auto;
	display: block;
	border-radius: 0;
}
#dropmenu {
	position: relative;
	list-style-type: none;
	height: 3.5rem;
	margin: 0 auto;
	padding: 0;
	width: 95%;
	max-width: 1200px;
}
#dropmenu li{
	width: 20%;
	width: -webkit-calc(100% / 5);
	width: calc(100% / 5);
	display: inline-block;
	margin: 0;
	padding: 0 0 0 0.5rem;
	box-sizing: border-box;
	text-align: center;
	cursor: context-menu;
}
#dropmenu > li:nth-of-type(2){
	padding: 0 0 0 0;
}
#dropmenu > li.scroll-menu{
	display: none;
}
#dropmenu > li::after{
	content: '';
	height: 2px;
	width: 50%;
	margin: 0 auto;
	display: block;
	border-radius: 10px;
	transform: translatey(-.8em);
}
#dropmenu li a{
	display: block;
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-weight: 500;
	line-height: 3.5rem;
	text-decoration: none;
	position: relative;
	transition: 0.5s;
	border-radius: .6rem .6rem 0 0;
}
#dropmenu > li > a{
	background: #fff;
	color: #00262c;
	white-space: nowrap;
}
#dropmenu li.mega a{
	padding-right: 1em;
}
#dropmenu li.mega a::before{
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0rem 1rem 1rem 1rem;
	border-color: transparent transparent rgba(35,99,119,0.8) transparent;
	position: absolute;
	bottom: -2rem;
	left: 50%;
	transform: translateX(-50%);
	-webkit- transform: translateX(-50%);
	opacity: 0;
	z-index: 2;
}
#dropmenu li.mega > a::after{
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	top: 0;
	padding-left: 6%;
	line-height: 3.5rem;
	transition: 0.5s;
}
#dropmenu li.mega:hover a::after{
	transform: translate(-.5em,0.7rem);
}
#dropmenu li.mega:hover a{
	padding-right: 0;
}

#dropmenu li > div{
	z-index: 2;
	border-radius: 0 0 3px 3px;
	transition: 0.2s;
	width: 100%;
	min-width: 800px;
	position: absolute;
	right: 0;
	padding-top: 2rem;
	opacity: 0;
	display: none;
}
#dropmenu li div ul{
	background-color: rgba(35,99,119,0.8);
	border-radius: 3px;
	display: inline-block;
	width: 98%;
	position: absolute;
	padding: 0.5rem 0.5rem 1rem;
	padding-top: 1rem;
	padding-top: -webkit-calc(0.5rem + 3px);
	padding-top: calc(0.5rem + 3px);
	left: 0
}
#dropmenu li div ul li{
	opacity: 0;
	display: inline-block;
	width: 32%;
	width: -webkit-calc((100% / 3) - 1rem);
	width: calc((100% / 3) - 1rem);
	padding: 0.5rem 0.5rem 0 0.5rem;
}
#dropmenu li div ul li a{
	text-align: center;
	font-weight: normal;
	border-radius: 3px;
	height: 4.5rem;
	line-height: 4.5rem;
	background: rgba(255,255,255,0.9);
}
#dropmenu li div ul li a > span ,
#dropmenu li div ul li a > img{
	display: inline-block;
	line-height: 1;
}
#dropmenu li div ul li a > img{
	width: 30%;
	height: 3.5rem;
	padding: 0;
	margin: 0.5rem 0;
	object-fit:cover;
	object-position: center center;
	position: absolute;
	left: 1rem;
}
#dropmenu li div ul li a > span{
	padding: 0.5rem 2rem;
	box-sizing: border-box;
	text-align: left;
}
#dropmenu li div ul li a > img + span{
	margin-left: 30%;
	padding-left: 1.5rem;
}
#dropmenu li:hover > div ,
#dropmenu li.mega:hover > a::before{
	display: inline-block;
	-webkit-animation: megamenu-visible 0.5s ease 0.5s 1 forwards;
	animation: megamenu-visible 0.5s ease 0s 1 forwards;
}

#dropmenu li:hover > div ul{
}
#dropmenu li:hover div ul li{
	overflow: visible;
	-webkit-animation: megamenu-visible 0.5s ease 1s 1 forwards;
	animation: megamenu-visible 0.5s ease 0.2s 1 forwards;
}

@-webkit-keyframes megamenu-visible{
	100% {
		opacity: 1;
		}
}
@keyframes megamenu-visible{
	100% {
		opacity: 1;
	}
}

#dropmenu li::after{
	background: linear-gradient(currentColor 0 0) bottom /var(--d, 0) 4px no-repeat;
	transition:0.5s;
}
#dropmenu li:hover::after {
	--d: 100%;
}
#dropmenu li div ul li:hover > a{
	background-color: rgba(112,204,233,0.8);
	color: #fff;
	font-weight: 500;
}

#dropmenu > li.current > a{
	color: #fff;
	background-color: #41a0be;
}
#dropmenu > li.current::after{
	background: #fff;
}
#dropmenu > li.mega.current  li a{
	color: #fff;
	background-color: #41a0be;
}


#dropmenu li.button{
	display: none;
}
#drawernav ul li.drawer-brand{
	display: none;
}


.is-fixed {
}


nav.is-fixed #dropmenu > li{
	width: 14%;
	width: -webkit-calc(100% / 7);
	width: calc(100% / 7);
}
nav.is-fixed #dropmenu > li.scroll-menu{
	display: inline-block;
	}





#drawernav.navFixed{
	top: 0;
}
#drawernav.navFixed nav{
	position: fixed;
	left: 0;
	top: 0;
}
#drawernav.navFixed nav > ul,
#drawernav.navFixed nav > ul > li > a{
	background: #fff;
}
#drawernav.navFixed nav > ul{
	transform: translatey(0);
	display: inline-block;
	position: absolute;
	right: 0;
	height: auto;
	width: auto;
	max-width: unset;
	margin-right: 1rem;
	padding: 0 1rem;
	border: solid 4px #ccefff;
	border: solid 2px #333;
	border-top: #fff;
	border-radius: 0 0 1rem 1rem;
	text-align: right;
}
#drawernav.navFixed nav > ul > li::after {
	transform: translatey(-0.6rem);
}
#drawernav.navFixed nav > ul > li:not(.drawer-brand){
	width: auto;
}
#drawernav.navFixed nav > ul > li > a{
	padding: 0 1rem 0.5rem;
	line-height: 2;
	border-radius: unset;
}
#drawernav.navFixed nav > ul > li.mega > a{
	padding-right: 2rem;
}
#drawernav.navFixed nav > ul > li.mega > a::after{
	line-height: 2.2;
}
#drawernav.navFixed nav > ul > li.mega:hover > a::after{
	transform: translatey(0.2rem);
}
#drawernav.navFixed nav > ul > li.current > a {
	color: #41a0be;
	font-weight: 500;
}
#drawernav.navFixed nav > ul > li.current::after {
	background: #41a0be;
}
#drawernav.navDown nav > ul{
}
}
/* --------------------------------- */
/* ▼a：タブレット専用のスタイル */
/* --------------------------------- */
@media (max-width: 1024px) {
}
/* --------------------------------- */
/* ▼a：スマートフォン専用のスタイル */
/* --------------------------------- */
@media (max-width: 599px) {
header div.brand a.logo span.miyazakihokenjimusho {
	font-size: 2em;
}
header div.brand a.logo > span {
	padding-top: 2em;
}
header div.brand a.logo img.logoMark {
	padding-top: 2em;
}
header div.brand a.logo img.dairiten {
	left: 1em;
}
}
