/* CSS Document */




/*============================================================================

	header

============================================================================*/
#header{
	position: absolute;
	width:100%;
	min-width:1360px;
	height: 150px;
	background: url("../images/bg_02.png") center top no-repeat , #FFF;
	background-size: 1920px 11px;
    z-index: 999;
}
@media screen and (max-width:640px) {
    #header{
        min-width:400px;
        height: 160px;
		overflow: hidden;
    }
}

header .inner{
	position: relative;
}



/*------------------------------ h1見出しテキスト ------------------------------*/
header h1{
	position: relative;
	top: 30px;
	padding-left: 5%;
	font-size: 11px;
	color: #959595;
}

/*------------------------------ ロゴ ------------------------------*/
#header_logo{
	position:relative;
	padding-left: 5%;
	top:47px;
}
#header_logo img{
	width:auto;
	height: 47px;
}



/*============================================================================

	nav

============================================================================*/
nav {
	position: absolute;
	top: 65px;
	right: 3%;
}
nav ul{
}
nav li {
	position:relative;
	display: inline-block;
	margin-left: 20px;
	text-align: center;
	font-size: 13px;
}
nav li a span{
	position:relative;
	display: block;
	font-family: "Quicksand", sans-serif;
	font-size: 11px;
	color: #ed906b; /*オレンジ*/
}
/*span：色変更*/
nav li:nth-of-type(2) a span ,nav li:nth-of-type(6) a span { color: #efa0a8;} /*ピンク*/
nav li:nth-of-type(3) a span ,nav li:nth-of-type(7) a span { color: #5eb2ce;} /*青*/
nav li:nth-of-type(4n) a span { color: #8ecd84;} /*緑*/
/*hover時：色変更*/
nav li a:hover{	color: #ed906b; /*オレンジ*/}
nav li:nth-of-type(2) a:hover ,nav li:nth-of-type(6) a:hover { color: #efa0a8;} /*ピンク*/
nav li:nth-of-type(3) a:hover ,nav li:nth-of-type(7) a:hover { color: #5eb2ce;} /*青*/
nav li:nth-of-type(4n) a:hover { color: #8ecd84;} /*緑*/


/*------------------------------ ホバーのボーダー ------------------------------*/
nav li a span::before{
    position: absolute;
	left: 0;
	right:0;
	top: -22px;
	width:100%;
	height: 9px;
	margin:auto;
	background: url("../images/icon_04.png") no-repeat top center;
	background-size: 9px 9px;
	transition: 0.15s  ease-out;
	content: "";
	z-index: 1;
	opacity: 0;
}
nav li a:hover span::before{
	opacity: 1;
}



/*------------------------------ PC＊スクロール後設定 ------------------------------*/
#header.HeightMin{
	position: fixed;
	height:85px;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from { 	opacity: 0;	transform: translateY(-170px);  }
  to {  	opacity: 1;	transform: translateY(0);  }
}

/*----- 見出し：削除 ------*/
#header.HeightMin h1{ display: none;}

/*----- ロゴ：位置調整 ------*/
#header.HeightMin #header_logo{ top: 25px;}

/*----- nav：span削除・位置調整 -----*/
#header.HeightMin nav { top: 28px;}
#header.HeightMin nav span { display: none;}








/*============================================================================

	▼▽▼▽▼▽▼▽▼▽ここからSP用▼▽▼▽▼▽▼▽▼▽

============================================================================*/
@media screen and (max-width:640px) {
	
	
	
	


/*============================================================================

	header

============================================================================*/
header {
	display:none;
}

/*------------------------------ h1 ------------------------------*/
.ham_nav h1{
	position:relative;
	top: 0;
	width:100%;
	box-sizing: border-box;
	font-size: 10px;
	color: #000;
	line-height: 25px;
	height: 25px;
	background: #f7f7f7;
	text-align: center;
	letter-spacing: 0;
}


/*------------------------------ ロゴ ------------------------------*/
#sp_header_logo {
	position: absolute;
	width:50%;
	max-width: 250px;
	padding-top: 15px;
	margin-left: 4%;
}
#sp_header_logo img {
	position: relative;
	z-index: 999;
}



/*============================================================================

	navi

============================================================================*/
nav{
	display:none;
}
.ham_nav {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:85px;
	background: #FFF;
	box-sizing: border-box;
	border-bottom: 1px solid #eee;
	z-index: 9998;
}
.ham_nav dl{
}
.ham_nav dl dt {
	cursor:pointer;
}
.ham_nav dl dd {
	position: absolute;
	right: -100%;
	width: 100%;
	height: 1000px;
	background: rgba(161,208,216,.5);
	transition: all 0.5s ease-in-out;
	z-index: 9999;
}
.ham_nav dl dd.active {
	right: 0%;
}
.ham_nav ul{
	position: absolute;
	right: -100%;
	width: 85%;
	min-width: 300px;
	height: 1000px;
	padding-top: 70px;
	background: #f7f7f7;
	transition: all 0.5s ease-in-out;
	z-index: 99999;
}
.ham_nav ul.active {
	right: 0%;
}
.ham_nav ul li {
	position: relative;
	line-height:3.0;
}
.ham_nav ul li::before {
	position: absolute;
	content: "";
	background: url("../images/icon05.svg") no-repeat;
	background-size: 10px auto;
	width: 10px;
	height: 20px;
	top: 50%;
    margin-top: -6px;
	left: 35px;
}
.ham_nav ul li a {
	color:#222;
    font-size: 15px;
	padding-left: 55px;
}
	
/*------------------------------ btn　お問い合わせ ------------------------------*/
.ham_nav li:last-of-type a {
	position: relative;
	display: block;
	width: 80%;
	height: 60px;
	margin: 30px auto 0;
	padding: 0;
	background: #dda7af;
	color: #FFF;
	text-align: center;
	line-height: 55px;
	box-sizing: border-box;
	border: 1px solid #dda7af;
	border-radius: 50px;
	transition: ease .2s;
}

.ham_nav li:last-of-type a span {
	position: relative;
	z-index: 3;
}
.ham_nav li:last-of-type a i {
	display: inline-block;
	width: 15px;
	line-height: 1;
	margin-right: 10px;
}
.ham_nav ul li:last-of-type::before {
	display: none;
}
	
	

/*------------------------------ ハンバーガー ------------------------------*/
.ham_nav dt a {
    position: absolute;
    display: block;
    top:35px;
    right: 10px;
    width: 42px;
    height:42px;
    z-index: 9999999;
}
.ham_nav dt a span {
    position: absolute;
    display: block;
    left: 15px;
    width: 18px;
    height: 1px;
    background: #333;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}
.ham_nav dt a span:first-child {
    top: 15px;
	width: 24px;
    left: 9px;
}
.ham_nav dt a span:nth-child(2) {
    top: 50%;
}
.ham_nav dt a span:last-child {
    bottom: 14px;
	transition-delay: .15s;
}
.ham_nav dt a.active span:first-child {
	top: 13px;
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}
.ham_nav dt a.active span:nth-child(2) {
	left: -40px;
    opacity: 0;
}
.ham_nav dt a.active span:last-child {
	width: 24px;
	bottom: 12px;
    left: 9px;
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}
.ham_nav dt:hover a span {
    width: 24px;
    left: 9px;
}

	


/*============================================================================

	▲△▲△▲△▲△▲△ここまでSP用▲△▲△▲△▲△▲△

============================================================================*/
}






