/* CSS Document */

#header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 10;
  position: fixed;
  top: 20px;
  width: calc(100% - 60px);
  /* max-width: 84vw; */
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
}

#header h1{
  display: flex;
  justify-content: center;
  align-items: center;
	
}

#header h1 a{
	display: flex;
	justify-content: center;
	align-items: center;
}

#header h1 span{
	text-indent: -9999px;
	display: block;
	width: 240px;
	aspect-ratio:295/63;
	background: url("../img/logo-horizontal.png") center no-repeat;
	background-size: cover;
}

.pc-navi{
	display: flex;
    align-items: center;
}


.pc-navi #g-navi {
	height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pc-navi #g-navi .g-navi-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    border-radius: 30px 0;
    margin-right: 10px;
    color: #fff;
}

.g-navi-right .tel-box{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding-right: 20px;
  gap: 15px;
  font-size: 1.1rem;
  align-items: center;
  letter-spacing: 0.1rem;
  text-shadow: 0 0 3px #000;
}

.g-navi-right .tel-box a{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.g-navi-right .tel-box p{
  font-size: 70%;
  font-weight: 600;
  line-height: 1.5;
}

.g-navi-right .tel-box i{
  color:#13546e82;
  text-shadow: none;
}

.pc-navi #g-navi ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}


.pc-navi #g-navi ul li {
  margin: 0;
}


.pc-navi #g-navi ul li a {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  position: relative;
}

.pc-navi #g-navi ul li a::after {
  position: absolute;
  content: '';
  display: block;
  width: 6px;
  top: 53%;
  right: -5px;
  transform: translate(0, -50%);
  transition: all 300ms ease-in-out;
  color: #1456a04a;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: #13546e47;
}


#header #g-navi ul li a p::before {
	position: absolute;
	content: '';
	display: block;
	width:5px;
	height: 1px;
	border-bottom: 2px solid #fff;
	opacity: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	transition: all 300ms ease-in-out;
}


#header #g-navi ul li a:hover p::before {
	width: 100%;
	opacity: 1;
}

.pc-navi #g-navi ul li:last-child a::after {
	display: none;
}



.pc-navi #g-navi ul li a span {
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;    
  color: #fff;
  text-shadow: 1px 1px 4px #000;
}

.pc-navi #g-navi ul li a p {
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.02rem;
  position: relative;
  top: 2px;
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 0 3px #000;
}

.inquiry-box a{
	width: 160px;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	height: 60px;
}


.pc-navi .inquiry-box p {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 1.2rem;
  z-index: 1;
  position: relative;
}

.btn-gradient {
  padding:0;
  width: 150px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  height: 90px;
}


#header.HeightMin{
  border-radius: 0;
  position: fixed;
  z-index: 999;
  height: 70px;
  animation: DownAnime 0.5s forwards;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 4px #000;
  left: 0;
  width: 100%;
  top: 0;
  padding: 0 30px;
}

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


#header.HeightMin h1 a {
    margin-left: 0px;
}

#header.HeightMin .pc-navi #g-navi .g-navi-right  {
  box-shadow: inherit;
  background: none;
}

#header.HeightMin .pc-navi .g-navi-right .tel-box {
	display: none;	
}



#header.HeightMin .pc-navi #g-navi ul li a p {
  color: #102f51;
  text-shadow: none;
}

#header.HeightMin .up-g-navi{
	display: none;
}


#header.HeightMin .pc-navi #g-navi ul li a span {
	text-shadow: 0 0 0 rgba(0,0,0,0);
	color: #000;
}




#header.HeightMin .pc-navi #g-navi ul li a p::before {
	position: absolute;
	content: '';
	display: block;
	width:5px;
	height: 1px;
	border-bottom: 2px solid #00425b;
	opacity: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	transition: all 300ms ease-in-out;
}


#header.HeightMin .pc-navi #g-navi ul li a:hover p::before {
	width: 100%;
	opacity: 1;
}


.pc-navi .inquiry-box {
  display: flex!important;
  text-align: center;
  justify-content: center;
  align-items: center;
  transition: all 300ms ease-in-out;
  color:#fff!important;
  flex-direction: row!important;
  gap: 7px;
}

.pc-navi .inquiry-box i {
  font-size: 0.85rem;
  padding-right: 0;
  z-index: 1;
  position: relative;
}

.pc-navi .inquiry-box p{
  color: #fff !important;
  letter-spacing: 0;
  font-size: 1rem;
  z-index: 1;
  position: relative;
  line-height: 1.25;
}


@media(max-width: 1200px){
	
  #header {
    top: 20px;
    width: calc(100% - 40px);
  }
  
  #header h1 span {
    width: 200px;
    background-size: contain;
  }
	
	
	.g-navi-right .tel-box {
    	padding-right: 15px;
		font-size: 1rem;
	}
	
	.pc-navi #g-navi ul li a {
    	padding: 0px 15px;
	}
	
	.pc-navi #g-navi .up-g-navi li {
		margin: 0 5px !important;
	}
	
	
	.pc-navi #g-navi .up-g-navi {
		margin-bottom: 5px;
	}

	.pc-navi #g-navi ul li a span {
		font-size: 10px;
		line-height: 1;
	}
	
	.pc-navi #g-navi ul li a p {
		font-size: 0.95rem;
	}
  
  .pc-navi .inquiry-box p {
    font-size: 0.9rem;
  }
  
  .g-navi-right .tel-box p {
    line-height: 1.15;
  }
}



/*　s--navi */

@media(min-width:1025px){
	.sp-navi{
		display:none;
	}
}


@media(max-width:1024px){
	
	
	
	#header {
		align-items: center;
		padding: 0;
		box-shadow: none;
		z-index: 10;
   
	}
	
	#header h1 {
		display: block;
		background: none;
		text-align: left;
		z-index: 99;
		width: 100%;
	}
  
  #header h1 a {
    justify-content: flex-start;
  }
	
	.pc-navi{
		display: none;
	}
	
	
	@keyframes DownAnime{
	  from {
		opacity: 1;
		transform: translateY(0);
	  }
	  to {
		opacity: 1;
		transform: translateY(0);
	  }
	}

	
	/*ハンバーガーメニュー*/
	
	.sp-navi .toggle_btn{
		display: block;
		z-index: 100;
	}
	
	
	#sp-navi {
    display: block;
    position: fixed;
    color: #fff;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 20;
    opacity: 0;
    transition: ease-in-out 0.5s;
    top: -100vh;
    height: 100vh;
    background: #fff;
    max-height: fit-content;
    width: calc(100% + 40px);
    padding: 80px 20px 0;
    left: 50%;
    transform: translate(-50%, -20px);
	}

	#sp-navi .sp-nav-menu a {
    color: #1a416d;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    width: 100%;
    opacity: 0.9;
    position: relative;
    background: rgba(20, 86, 160, 0.04);
    border-left: 6px solid #1456a08f;
    border-radius: 5px;
	}
	
	#sp-navi .sp-nav-menu a::before {
		position: absolute;
    display: block;
    content: '';
    width: 5px;
    aspect-ratio: 1 / 1;
    border-top: 1px solid #00425b;
    border-right: 1px solid #00425b;
    transform: rotate(45deg) translateY(-50%);
    right: 20px;
    top: 50%;
	}
	
	#sp-navi a p{
		letter-spacing: 1px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
		justify-content: center;
		flex-wrap: wrap;
		position: relative;
	}	
	
	.sp-nav-menu p{
		padding-left: 15px;
	}
	
	.sp-nav-menu a p::before{
		position: absolute;
		content: '';
		display: block;
		width: 10px;
		background: url("../img/decorate/title-dec.png");
		background-size: 100% 100%;
		aspect-ratio:35/50;
		left: 0;
	}
	
	.sp-menu-btn ul{
		display: flex;
		flex-direction: row!important;
		gap:10px;
	}
	
	
	.sp-menu-btn p,
	.sp-menu-btn span{
		color: #fff;
        font-size: 14px;
        letter-spacing: 2px;
        padding-right: 0;
    }

	.sp-menu-btn p {
		display: flex;
		flex-direction: row;
		gap:5px;
	}
	
	.sp-menu-btn p span {
		padding-right: 0!important;
    color: #fff!important;
	}
	
	.open #sp-navi {
    opacity: 1;
    top: 0;
    height: 100vh;
    background: #fff;
    max-height: fit-content;
    width: calc(100% + 40px);
    padding: 90px 20px 0;
    left: 50%;
    transform: translate(-50%, -20px);
  }

	.sp-nav-menu {
		padding: 0;
		margin: 10px auto 0;
		display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
	}

	#sp-navi ul.nav-menu {
	  margin-bottom: 60px;
	  border-top: solid 1px #fff;
	}

	#sp-navi ul.nav-menu li {
	  position: relative;
	  margin: 0;
	  padding: 20px 0;
	  border-bottom: solid 1px #fff;
	}

	#sp-navi ul.nav-sns li {
	  padding: 5px 0;
	}

	.toggle_btn {
		display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    transition: all .5s;
    cursor: pointer;
    z-index: 20;
    margin-right: 1px;
    border-radius: 15px 0;
		background-image: linear-gradient(-73deg, #416287, #3AADE0, #1456A0);
	}
	
	.toggle_btn span {
    display: block;
    position: absolute;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    transition: all .3s;
    transform: translateX(-50%);
		box-shadow: 0 0 3px #333;
	}
	

	.toggle_btn span:nth-child(1) {
		top: 16px;
	}

	.toggle_btn span:nth-child(2) {
		top: 50%;
		transform: translate(-50%,-50%);
	}

	.toggle_btn span:nth-child(3) {
		bottom: 16px;
	}

	.open .toggle_btn span {
    background-color: #fff;
		background: #fff;
	}
	

	.open .toggle_btn span:nth-child(1) {
		-webkit-transform: translateY(10px) rotate(-315deg);
		height: 1.5px;
		left: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
		top: 50%;		
	}

	.open .toggle_btn span:nth-child(2) {
	  opacity: 0;
	}

	.open .toggle_btn span:nth-child(3) {
		-webkit-transform: translateY(-10px) rotate(315deg);
		height: 1.5px;
		left: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
		top: 50%;
	}

	#mask {
	  display: none;
	  transition: all .5s;
	}

	.open #mask {
	  display: block;
	  position: fixed;
	  top: -20px;
	  left: 50%;
	  width: calc(100% + 40px);
	  height: calc(100vh + 20px);
	  background: #000;
	  opacity: .6;
	  z-index: 10;
	  cursor: pointer;
    transform: translateX(-50%);
	}
  
	
	
	.sp-menu-info{
		text-align: left;
		margin-top:20px;
		margin: 20px auto 0;
	}
	
	.sp-menu-info .sp-menu-btn{
    margin: 10px 0;
  }
	
	.sp-menu-btn ul,
	.sp-menu-btn ul li,
	.sp-menu-btn ul li a{
		width: 100%;
	}
	
	.sp-menu-info .sp-menu-btn a{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding: 20px 5px 16px 5px;
		transition: all 500ms ease-in-out;
		color: #fff;
	}
	
	
	.sp-menu-info a:hover{
		opacity: 0.8;
	}
	
	
	.sp-menu-logo{
		width: 300px;
		margin: auto;
	}
	
	.sp-detail-info p{
		font-size: 13px;
    line-height: 18px;
    padding-bottom: 8px;
	}
	
	.sp-detail-info a i{
		font-size:8px;
		position: relative;
		top:-2px;
		left:2px;
	}
	
	.sp-detail-info{
    color: #fff;
    padding: 20px 0;
    text-align: center;
    background: url(../img/bk/silver.jpg) no-repeat;
    background-size: 100% 100%;
    width: calc(100vw - 40px);
    margin: auto;
  }
	
	.ft-map,
	.ft-map iframe{
		width: 100%;
		height: 450px;
	}
	
	.menu-sp-copy{
    color: #777;
    text-align: center;
    padding: 5px 10px;
    background: #e8eef7;
    width: calc(100% + 40px);
    transform: translateX(-50%);
    left: 50%;
    position: relative;
	}
	
	.sp-detail-info dl{
		margin-top: 10px;
	}
	
	.sp-detail-info dl dt{
		font-size: 1.15rem;
	}
	
	.sp-menu-group-link{
		gap: 10px;
		padding: 20px 20px 0!important;
	}
	
	.sp-menu-group-link p{
		color: #000;
    font-size: 1rem !important;
    text-align: center !important;
    margin: auto;
    justify-content: center !important;
	}
	
	.sp-menu-info dl dd{
		color: #333;
		text-align: left;
	}
  
  #header.HeightMin {
    padding: 0 20px;
  }
  
  #header.HeightMin .sp-navi .toggle_btn {
    right: 20px;
    top: 10px;
  }
  
  #header.HeightMin .sp-nav-menu{
    margin-top: 10px;
  }
  
  #header.HeightMin .sp-nav-menu, 
  #header.HeightMin .sp-menu-info{ 
    padding: 0 20px;
  }
	
   #sp-navi li {
    max-width: calc(100vw - 40px);
    margin: auto;
    width: 100%;
  }
}



@media(max-width:600px){


	#sp-navi{
		width: 100%;
		max-height: 720px;
	}
	
	.sp-menu-btn p span {
    font-size: 1rem !important;
    letter-spacing: 1px !important;
  }
	
	#sp-navi {
    padding: 70px 0 0;
	}
	
	.sp-detail-info dl dd {
		font-size: 0.9rem;
		letter-spacing: 0.08rem;
	}
	
	.sp-menu-group-link {
    grid-template-columns: repeat(1, 1fr)!important;
  }

	.sp-menu-info .sp-menu-btn a {
		flex-direction: column;
		align-content: center;
	}
	
  .open #sp-navi {
    padding-bottom: 60px;
  }
  
 

}


@media(max-width:400px){

	.sp-menu-btn-inquiry p{	
    position: relative;
    top: -2px;
		letter-spacing: 4px!important;
	}
}

/*　s--navi ↑↑↑↑  /////////////////　*/