@charset "utf-8";
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
nav ul ul{
	display: block;
}
nav ul li{
	position: relative;
}
nav ul li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:20px 15px;
	transition:all .3s;
	font-size: 1.4rem;
}
nav ul li li a{
	padding:10px 35px;
}

@media screen and (max-width:1200px) {
nav ul li a{
	padding:20px;
}
nav ul li li a{
	padding:10px 20px;
}
}
nav ul li a:hover{
	color:#fff;	
}
/*SP*/
@media screen and (max-width:960px){
nav{
	padding: 0;
}

nav ul{
	display: block;
}
}


#header{
	position: fixed;
	height: 70px;
	width:100%;
    z-index: 999;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 40px 30px;
	background: #fff;
	z-index: 200;
	top: 0;
}

#header.UpMove{
	position: fixed;
	width:100%;
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

#header.DownMove{
	position: fixed;
	width:100%;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

@media screen and (max-width:960px) {
#header,
#header.UpMove,
#header.DownMove{
    animation:none;
	height: auto;
    padding: 10px;
    display: block;
}
    
}


/*==================================================
クリックしたらナビが上から下に出現
===================================*/
@media screen and (max-width:960px) {
#g-nav{
	position:fixed;
	z-index: 999;
	top:-120%;
	left:0;
	width:100%;
	height: 100vh;
	background:rgba(0,0,0,0.8);
	transition: all 0.4s;
}
#g-nav.panelactive{
    top: 0;
}
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    width: 90%;
    margin:100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px 0 18px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
}
}

/*==================================================
　ハンバーガー
===================================*/

.g-nav-openbtn{
  display: none;
}
 
@media screen and (max-width:960px) {
.g-nav-openbtn{
	display: block;
	position:fixed;
	z-index: 9999;
	top:5px;
	right: 5px;
	cursor: pointer;
	width: 50px;
	height:50px;
}

.g-nav-openbtn .openbtn-area{
  transition: all .4s;
}
.g-nav-openbtn span{
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 2px;
	background: #333;
	width: 45%;
}

.g-nav-openbtn span:nth-of-type(1) {
	top:15px;	
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
  background: #fff;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
  background: #fff;
}
}

/*==================================================
　ホバーアクション
===================================*/
.nav01 li a{
	position: relative;
	line-height: 1.4;
}

.nav01 li a:hover{
	color:#333;
}

.nav01 li a::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 25%;
  width: 50%;
  height: 1px;
  background:#333;
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: left top;
}

.nav01 li:nth-last-child(1) a::after,
.nav01 li:nth-last-child(2) a::after {
	display: none;
}
.nav01 li:nth-last-child(2) a {
	padding:15px 25px;
	background: #000;
	color: #fff;
	border-radius: 6px;
	margin: 0 15px;
}
.nav01 li:nth-last-child(2) a span {
	position: relative;
	padding-left: 20px;
	display: inline-block;
}
.nav01 li:nth-last-child(2) a span:before {
	position: absolute;
  background: url(../img/icon_mail.svg) no-repeat;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 20px;
  height: 14px;
  display: inline-block;
  background-size: contain;
  z-index: 100;
}
.nav01 li:nth-last-child(1) a {
	padding:15px 25px;
	background: #07b53b;
	color: #fff;
	border-radius: 6px;
}
.nav01 li:nth-last-child(1) a span {
	position: relative;
	padding-left: 20px;
	display: inline-block;
}
.nav01 li:nth-last-child(1) a span:before {
	position: absolute;
  background: url(../img/icon_line.svg) no-repeat;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  z-index: 100;
}

.nav01 li a:hover::after {
    transform: scale(1, 1);
}
@media screen and (max-width:960px) {
.nav01 li a::after {
    display: none;
}

.nav01 li:nth-last-child(2) a {
	padding:18px 15px !important;
	margin: 15px 0;
}
.nav01 li:nth-last-child(1) a {
	padding:15px 15px !important;
}
}



/* SPビュー　固定CTA */
.cta {
	display: none;
}
@media screen and (max-width:960px) {
.cta {
	position: fixed;
	justify-content: center;
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
	padding:10px;
	background: rgba(255,255,255, .8);
	z-index: 100;
	width: 100%;
}
.cta a.btn {
	background: #143F8D;
	padding: 10px;
	display: block;
  text-align: center;
}
.cta a.btn2 {
		background: #066FAA;
}
.cta a.btn span {
	position: relative;
	padding-right: 20px;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
	padding-left: 30px;
}
.cta a.btn1 span:before {
	position: absolute;
	background: url(../img/icon_chat.svg) no-repeat;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	content: "";
	width: 18px;
	height: 18px;
	display: inline-block;
	background-size: contain;
	z-index: 100;
}
.cta a.btn2 span:before {
	position: absolute;
	background: url(../img/icon_document.svg) no-repeat;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	content: "";
	width: 18px;
	height: 18px;
	display: inline-block;
	background-size: contain;
	z-index: 100;
}

}


@media screen and (max-width:340px) {

.cta a.btn {
padding: 10px 25px 10px 15px;
}
}