header
{
	width: 100%;
	position: fixed;
	z-index: 9999;
	top: 0px;
	left: 0;
	transition: 0.4s;
	padding: 0px;
	min-height: 120px;
	background: rgba(255, 255, 255, 0.8);
}

.bg_set
{
	background: rgba(255, 255, 255, 0.8);
}


.navi_fix
{
	position: fixed;
	top: 0px;
	z-index: 9999;
	width: 100%;
}

.navi_fix
{
	position: fixed;
	top: 0px;
	z-index: 9999;
	width: 100%;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	background: rgba(0, 75, 159, 0.6);
	transition-duration: .4s;
}

.navi_fix a
{
	color: #fff;
}




header .title
{
	float: left;
	padding-top: 0px;
	margin-right: 0px;
	padding-left: 0px;
}

header .title h1
{
	margin: 0px;
	padding: 0px;
	display: block;
	text-align: left;
}

header .title h1 a
{
	display: block;
	padding-top: 0px;
	padding-bottom: 0px;
	text-align: left;
}



header  .sp_menu
{

	display: none;
}

nav
{
	padding-top: 25px;
	padding-bottom: 0px;
	color: #FFF;
	position: relative;
	transition-duration: .4s;
}

nav ul
{
	display: table;
	width: auto;
	padding: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

nav ul li
{
	display: table-cell;
	margin: 0px;
	vertical-align: middle;
	text-align: center;
	padding-right: 0px;
	padding-left: 0px;
	position: relative;
	padding-right: 10px;
	padding-left: 10px;
}




nav ul li a
{
	color: #000;
	font-size: 16px;
	line-height: 100%;
	font-weight: normal;
	display: block;
	padding-top: 14px;
	padding-bottom: 14px;
	padding-right: 0px;
	padding-left: 0px;

	position: relative;
	overflow: hidden;
	transition-duration: .4s;
	z-index: 2;
}

nav ul li:last-child
{
	padding-right: 0px;
	padding-left: 20px
}

nav ul li:last-child a
{
	background: #f3d72a;
	padding-right: 30px;
	padding-left: 30px;
}

nav ul li a:after
{
  background: #f3d72a;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 6px;
  margin: auto;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}

nav ul li a:hover
{
	color: #000 !important;
	-moz-transition-duration: 0.6s;
	-webkit-transition-duration: 0.6s;
	-o-transition-duration: 0.6s;
	-ms-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

nav ul li a:hover:after
{
	opacity: 1;
	transform-origin: center top;
	transform: scale(1, 1);
}


nav ul li:last-child a:hover
{
	color: #fff !important;
}

nav ul li:last-child a:after
{
  background: #ff701e;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}


nav ul li:last-child a:hover:after
{
  transform: scale(1, 1);
}


nav ul .select,
#sp_navi ul .select
{
	background-color: transparent;
}





#sp_navi
{
	display: none;
}


.slide-down
{
	animation-name: slideDown;
	animation-timing-function: ease-in;
	animation-iteration-count: 1;
	animation-delay: 0s;
	transform-origin: 50% 50% 0px;
	animation-duration: .3s;
	top: 0px;
}

@keyframes slideDown 
{
  0% 
  {
    top: -180px;
  }
  100% 
  {
    top: 0px;
  }
}

.slide-up 
{
  animation-name: slideUp;
  animation-timing-function: ease-in;
  animation-iteration-count: 1;
  animation-delay: 0s;
  transform-origin: 50% 50%  0px;
  animation-duration: .3s;
  top: -180px;
}
@keyframes slideUp 
{
  0% 
  {
    top: 0px;
  }
  100% 
  {
    top: -180px;
  }
}




#sp_navi
{
	color: #333;
	background-color: rgba(255, 255, 255, 0.9);
	position: fixed;
	z-index: 1000;
	left: 0px;
	width: 100%;
	height: 100%;
	display: none;
	padding-bottom: 10em;
	padding-top: 70px;
	top: 0px;
}



#sp_navi .sp_navi_body
{
	width: 100%;
	height: 100%;
	padding-top: 30px;
	display: block;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

#sp_navi h3
{
	color: #FFF;
	background-color: #702218;
	padding-top: 8px;
	padding-bottom: 8px;
}


#sp_navi p
{
	display: block;
	text-align: left;
	padding-top: 10px;
}

#sp_navi p img
{
	height:60px;
	width:auto;
}


#sp_navi .sp_navi_body
{
	background-color: transparent;
	position: static;
	top: auto;
}

#sp_navi .sp_navi_body > ul
{
	display: block;
	width: auto;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 2em;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 8%;
	padding-bottom: 0px;
	padding-left: 8%;
}

#sp_navi .sp_navi_body > ul > li
{
	display: block;
	width: auto;
	padding-left: 0px;
	list-style-type: none;
	text-align: left;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
}


#sp_navi .sp_navi_body > ul > li > a
{
	font-weight: bold;
	color: #33726a !important;
	text-align: center !important;
	position: relative;
	text-decoration: none;
	display: block;
	padding-top: 1em;
	padding-right: 10px;
	padding-bottom: 1em;
	width: auto;
	padding-left: 10px;
	font-size: 18px;
	line-height: 100%;
	border: 1px solid #33726a;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;

}

#sp_navi .sp_navi_body > ul > li > a:before
{
}



#sp_navi .sp_navi_body > ul > li > a small
{
	margin-left: 10px;
}


#sp_navi .sp_navi_body > ul > li > a span,
#sp_navi .sp_navi_body > ul > li > a:hover span
{
	background-image: none;
	margin: 0px;
	padding: 0px;
}


#sp_navi .sp_navi_body > ul > li > a:hover
{
	background-color: transparent;
}


#sp_navi .contact
{
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 30px;
	padding-left: 30px;
}

#sp_navi .contact a
{
	font-size: 18px;
	color: #FFF;
	background-color: #a7928a;
	display: inline-block;
	padding-top: 0px;
	padding-right: 40px;
	padding-bottom: 0px;
	padding-left: 40px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	line-height: 60px;
	height: 60px;
	letter-spacing: 0.1em;
}

#sp_navi .contact a:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f0e0';
	font-weight: normal;
	margin-right: 10px;
	font-size: 22px;
	line-height: 100%;
}


#sp_navi dl
{
	display: table;
	table-layout: fixed;
	width: 96%;
	padding: 0px;
	margin-top: 1em;
	margin-right: auto;
	margin-bottom: 2em;
	margin-left: auto;
}

#sp_navi dt
{
	display: table-cell;
	width: 32%;
	margin: 0px;
	vertical-align: middle;
	text-align: center;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;

}

#sp_navi dl dt a
{
	font-weight: bold;
	display: block;
	line-height: 120%;
	text-align: center;
	font-weight: bold;
	color: #db8270;
	padding-top: 25px;
	padding-bottom: 25px;

	border: 1px solid #6f645e;
	background-color: #FFF;
	padding-top: 30px;
	padding-right: 0px;
	padding-bottom: 30px;
	padding-left: 0px;
	display: block;


	border-radius: 50px;
	-webkit-border-radius: 60px;
	-moz-border-radius: 50px;
}

#sp_navi dl dt a:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f015';
	font-weight: 900;
	font-size: 30px;
	color: #9e0000;
	display: block;
	margin-bottom: 20px;
}

#sp_navi dd
{
	display: table-cell;
	margin: 0px;
	padding: 0px;
}

#sp_navi dd:nth-child(6n)
{
	display: table-row;
	height: 10px;
}




#sp_navi .sub_menu
{
	display: block;
}

#sp_navi .sp_box
{
	_zoom: 1;
	overflow: hidden;
	margin-bottom: 1em;	
}







#sp_navi .sp_navi_body .sub_menu
{
	padding-top: 0em;
	padding-right: 1%;
	padding-bottom: 100px;
	padding-left: 1em;
	text-align: center;
}

#sp_navi .sp_navi_body .sub_menu p
{
	text-align: center;
}

#sp_navi .sp_navi_body .sub_menu a
{
	font-weight: bold;
	color: #333;
	text-decoration: none;
	padding-right: 2px;
	padding-left: 2px;
	font-size: 16px;
	line-height: 120%;
}


#sp_navi .sp_navi_body .close_btn
{
	text-align: center;
	margin-bottom: 6em;
	padding-top: 0em;
}

#sp_navi .sp_navi_body .close_btn span
{
	display: inline-block;
	width: auto;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	-ms-background-size: auto 100%;
	-o-background-size: auto 100%;
	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	color: #333;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}

#sp_navi .sp_navi_body .close_btn span:before
{
	font-family: "Font Awesome 5 Free";
	content: '\f00d';
	font-weight: 900;
	margin-right: 10px;
}


#tab 
{

}

#tab ul
{
	text-align: center;
	padding-top: 0px;
	padding-right: 30px;
	padding-bottom: 0px;
	padding-left: 30px;
}

#tab ul li
{
	display: inline-block;
	padding-right: 10px;
	padding-left: 10px;
	list-style-type: none;
}

#tab ul li a
{
	color: #333;
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{

header
{

	height: 110px;
	min-height: 110px;

}

header .body
{
	width:auto;
	min-width: 1200px;
}

header .title
{
	padding-top: 20px;
	padding-left: 30px;

}



header nav
{
	float: right;
}





}

/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (min-width:768px) and (max-width:1199px)
{

header .title
{
	width: 20%;
}

header .title img
{
	width: auto;
	height:auto;
}

nav ul li
{
	padding-right: 10px;
	padding-left: 10px;
}




}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{


.bg_set
{
	background-color: #9370db;
}




header .sp_menu 
{
	display: block;
	margin: 0px;
	padding: 10px;
	float: right;
	position: absolute;
	top: 10px;
	right: 10px;
}

header .sp_menu img
{
	width:40px
}


header .head_comment,
nav
{
	display: none;
}

.head_posi
{
	top: -120px;
}


header
{
	width: 100%;
	position: fixed;
	z-index: 9999;
	top: 0px;
	left: 0;
	transition: 0.4s;
	padding: 0px !important;
	min-height: inherit;
	height: 60px;
	background-color: #FFF;
}

header .body
{
	margin: 0px;
	padding: 0px;
}


header .title
{
	margin: 0px;
	padding-top:10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
}

header .title h1
{
	padding-top: 0px;
}

header .title h1 a
{
	display: block;
	padding-top: 0px;
	padding-bottom: 0px;
}

header .title h1 img
{
	width:auto;
	height: 40px;
}


header dl
{
	width: 80px;
	margin: 0px;
	padding: 0px;
}


header .head_contact
{
	display: none;
}


header .sp_menu 
{
	margin: 0px;
	padding: 0px;
}



}
