/* Theme Name: ihinseiri-rac1122.com */

/*-----------------------------
header 001
-----------------------------*/
@keyframes flowAnimation {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

header#header {
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0;
	right: 0;
	z-index: 999;
	transition: top 0.5s;
}

header.show {
	top: 0;
}
.header {
	background: rgba(139,161,185,.0);
	transition: transform 0.3s ease-out, background-color 0.3s ease-out;
	height: 120px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.header #logo {
}
.header #logo img {
	height: 30px;
	width: auto;
	padding-left: 50px;
}
.header a {
    color: var(--white-color);
    overflow: visible;
    font-weight: 400;
	text-shadow: 0 0 10px var(--black-color);
}
main {
	padding-top: 0px;
}
#menu {
	padding-right: 50px;
}
#menu button {
	display: none;
}
#menu ul {
	display: flex;
	align-items: center;
}
#menu li {
	display: block;
	margin: 0 0 0 50px;
	font-size: 100%;
	line-height: 26px;
}
#menu a {
	display: block;
	text-decoration: none;
	font-size: 1.1rem;
}
#menu a:hover {
	text-decoration: underline;
	color: var(--color3);
}
#menu li:last-of-type a {
	background: var(--color3);
	padding: 12px 20px;
	border-radius: 50px;
	color: var(--color1);
	font-size: 16px;
	display: flex;
	align-items: center;
	text-shadow: 0 0 0 var(--black-color);
}
#menu li:last-of-type a::before {
	content:'';
	background-image: url("../images/icon_mail.svg");
	display: inline-block;
	width: 24px;
	height: 19px;
	margin-right: 10px;
}
#menu li:last-of-type a:hover {
	background: var(--color1);
	color: var(--white-color);
}
#menu li:last-of-type a:hover::before {
	background-image: url("../images/icon_mail2.svg");
}
header.scroll-nav .header,
.page header .header{
	height: 70px;
	box-shadow: 0 0 15px rgba(0,0,0,.2);
}
.page header .header {
	background: var(--color2);
}
header.scroll-nav .header,
.page header.scroll-nav .header{
	background: rgba(139,161,185,1);
}
header.scroll-nav .header #logo {
	background: none;
}
header.scroll-nav .header #logo img,
.page header .header #logo img{
	height: 24px;
}
header.scroll-nav .header a,
.page header .header a{
    color: var(--white-color);
	text-shadow: none;
}
header.scroll-nav #menu li:last-of-type a,
.page #menu li:last-of-type a{
    padding: 8px 15px;
}
.page .header #logo {
	background: none;
}
@media screen and (max-width: 1100px){
	#menu li {
    	margin: 0 0 0 25px;
	}
	#menu li:last-of-type a {
		font-size: 14px;
		padding: 12px 12px;
	}
	header.scroll-nav #menu li:last-of-type a, .page #menu li:last-of-type a {
    	padding: 8px 12px;
	}
	#menu {
    	padding-right: 30px;
	}
	#menu a {
		font-size: 1rem;
	}
	.header {
    	height: 100px;
	}
	.header #logo img {
    	height: 24px;
    	padding-left: 30px;
	}
}

@media screen and (max-width: 768px){
	.header {
    	height: 60px;
	}
	header.scroll-nav .header,
	.page header .header{
		height: 60px;
	}
	header.scroll-nav .header #logo img,
	.page header .header #logo img{
		height: 22px;
	}
	.header #logo img {
    	height: 22px;
    	padding-left: 20px;
	}
	#menu {
		width: 60px;
		height: 60px;
		background: var(--color1);
	}
	#menu button{
		display: block !important;
		border: 0;
		border-radius: 0;
		width: 60px;
		height: 60px;
		background: url(../images/img14.png) center no-repeat;
		outline: none;
	}
	#header.menu-active #menu button{
		background-image: url(../images/img15.png);
	}
	#menu ul{
		z-index: 2000;
		max-width: 280px;
		width: 100%;
		position: fixed;
		flex-flow: column;
		top: 60px;
		left: 100%;
		right: -100%;
		bottom: 0;
		margin: 0 !important;
		display: block;
		padding: 0;
		transition: 0.3s ease all;
		background: var(--color1);
	}
	#header.menu-active #menu ul{
		left: unset;
		right: 0px;
	}
	#menu li{
		margin: 0 !important;
		border-bottom: 1px solid var(--white-color);
		width: 100%
	}
	#menu li:last-of-type {
		border-bottom: none;
	}
	#menu a{
		padding: 17px 15px;
		background: url(../images/img16.png) right 15px center no-repeat;
		background-color: var(--color1);
		color: var(--white-color);
		text-shadow: none;
	}
	#menu li:last-of-type a {
		padding: 20px;
		font-size: 18px;
		text-align: center;
		width: 90%;
    	margin: 30px auto 0;
		display: block;
	}
	#menu li:last-of-type a::before {
	}
}
