@charset "UTF-8";

nav .sp_show {
    display: none;
}

header {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

nav .logo {
	float: left;
	max-width: 194px;
	width: 100%;
	height: auto;
	margin-top: 5px;
}

nav .contents_wrap {
    width: 95%;
    margin: auto;
}

.nav_btn a {
	display: block;
	margin-top: -2px;
	width: 238px;
	font-size: 16px;
	text-align: center;
	font-weight: bold;
	line-height: 48px;
	border-radius: 4px;
	position: relative;
	transition: none;
	-webkit-transition: none;
}

.nav_btn a:link,
.nav_btn a:visited {
	text-decoration: none;
	color: #fff;
}

.nav_btn a span:before {
	font-family: FontAwesome;
	font-weight: 900;
	content: "\f1d8";
	padding-right: 10px;
}

.nav_btn a span:after {
	font-family: FontAwesome;
	font-weight: 900;
	content: "\f107";
	padding-left: 8px;
}

nav .nav_btn a {
	box-shadow: 0 6px 0 0 #cf721d;
}

.nav_btn a:link,
.nav_btn a:visited {
	background-color: #fd9127;
}

.nav_btn a:hover {
	background-color: #ff9100;
}

.nav_btn a:active {
	top: 3px;
	box-shadow: 0 3px 0 0 #cf721d;
}

nav ul.menu {
    display: flex;
    justify-content: right;
    align-items: center;
}

nav ul.menu li {
    margin-right: 36px;
    font-weight: bold;
}

nav ul.menu li:last-child {
    margin-right: 0px;
}

nav ul.menu li a {
    text-decoration: none;
    color: #333;
}

@media screen and (min-width: 1221px) and (max-width: 1430px) {
	
	nav .sp-menu span.sp_none {
        display: block;
    }
	nav ul.menu li {
    margin-right: 24px;
	}

	nav ul.menu li a {
		font-size: 12px;
	}

	.nav_btn a {
		font-size: 14px;
	}

	.nav_btn a {
		width: 200px;
	}
}

@media screen and (max-width: 1220px) {
	
    nav ul.menu.sp_none {
        display: none;
    }

	nav .sp-menu span.sp_none {
        display: block;
    }

	nav .sp_show {
        display: flex;
    }

	nav .nav_btn {
		margin-right: 16px;
    }

    nav .nav_btn a, nav p a {
		margin-top: 0;
		width: 46px;
		height: 42px;
		border-radius: 6px;
	}

	.menu-list {
		position: relative;
	}

	.sp-menu {
		position: absolute;
		top: 2px;
		right: 0;
		display: flex;
		justify-content: right;
		align-items: center;
	}

	.tb {
        display: inline-block !important;
    }

	.hamburger {
        height: 1.8rem;
        width: 2.1rem;
    }

	.hamburger {
    position: relative;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 3;
    cursor: pointer;
    text-align: center;
    width: 3.0rem;
	}

	.hamburger span {
		display: block;
		position: absolute;
		width: 2.5rem;
		height: 0.2rem;
		background: #333;
		transition: .3s;
		border-radius: 1rem;
	}

	.hamburger span {
        width: 3.1rem;
    }

	.hamburger span:nth-child(2) {
        top: .9rem;
    }

	.hamburger span:nth-child(3) {
        top: 1.8rem;
    }

	.hamburger.active {
		top: 12px;
	}

	.hamburger.active span:nth-child(1) {
		top: .8rem;
		transform: rotate(-45deg);
	}

	.hamburger.active span:nth-child(2) {
		width: 0;
	}

	.hamburger.active span:nth-child(3) {
		top: .8rem;
		transform: rotate(45deg);
	}

	div.globalMenuSp {
        position: fixed;
        top: 0;
        left: 0;
        transition: .3s;
        width: 100%;
        height: 0;
        font-size: 1rem;
        background: #fff;
        color: #333;
        margin-top: 0;
        overflow: hidden;
        padding: 0rem 4rem;
        display: flex;
        flex-direction: column;
    }

    div.globalMenuSp ul li a {
        padding: 2.5rem 0;
        border-bottom: #e7e7e7 solid 1px;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 16px;
		text-decoration: none;
		color: #333;
    }

    div.globalMenuSp ul li:nth-last-of-type(1) a {
        border-bottom: none
    }

    div.globalMenuSp.active {
        height: calc(100vh - 75px);
        padding: 5rem 4rem 3rem;
    }

}



@media screen and (max-width: 768px) {
	main {
		padding-top: 60px;
	}

	/*header*/
	nav {
		height: 60px;
		padding: 7px 0;
	}

	nav .logo {
		float: left;
		width: 40%;
	}
	/*
	nav .logo img {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		-webkit- transform: translateY(-50%);
		width: 40%;
		max-width: 194px;
	}
	*/

	nav .sp-menu span.sp_none {
        display: none;
    }

	nav .nav_btn {
        display: flex;
        justify-content: flex-end;
    }

	nav .nav_btn a, nav p a {
		margin-top: 0;
		width: 46px;
		height: 42px;
		border-radius: 6px;
	}

    nav .nav_btn a:link,
    nav .nav_btn a:visited {
		background: url(/images/nav_ic01_sp.png) no-repeat top 50% center / 35px;
		background-color: #fd9127;
		box-shadow: 0 4px 0 0 #b70039;
	}

	nav .nav_btn a:hover {
		background: url(/images/nav_ic01_sp.png) no-repeat top 50% center / 35px;
		background-color: #cf721d;
	}

	nav .nav_btn a:active {
		top: 2px;
		box-shadow: 0 2px 0 0 #b70039;
	}
}