@charset "UTF-8";
.activebtn{
	display:none;
  position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
	z-index:1000;
	top:15px;
	right:20px;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 50%;
}
#nav_circle{
    transition: all .4s;
	position:absolute;
	right:15px;
	top:17px;
	width:0;
	height:0;
	border-radius:50%;
	background-color:#fff;
}
#nav_circle.open{
	position:absolute;
	right:0;
	top:0;
	width:50px;
	height:50px;
	background-color:#fff;
}
#dental_nav{
	width:10px;
	position:absolute; 
	right:13px;
	top:15px;
}

.activebtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 0px;
    height: 3px;
    border-radius: 2px;
  background: #fff;
  }


.activebtn span:nth-of-type(1) {
  top:15px; 
    width: 100%;
}

.activebtn span:nth-of-type(2) {
  top:23px;
    width: 75%;
}

.activebtn span:nth-of-type(3) {
  top:31px;
    width: 50%;
}

.activebtn:hover span:nth-of-type(1) {
  top:15px; 
    width: 100%;
}

.activebtn:hover span:nth-of-type(2) {
  top:23px;
    width: 100%;
}

.activebtn:hover span:nth-of-type(3) {
  top:31px;
    width: 100%;
}
/*activeクラスが付与されると線が回転して×になる*/

.activebtn.open span:nth-of-type(1) {
    top: 18px;
    left: 0px;
    transform: translateY(6px) rotate(-135deg);
    width: 100%;
  background: #fff;
}

.activebtn.open span:nth-of-type(2) {
  opacity: 0;
    width: 100%;
  background: #fff;
}

.activebtn.open span:nth-of-type(3){
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
  background: #fff;
}

#gnav__cta{
	height:fit-content;
	margin:30px 15px;
}
#gnav__cta a{
	display:flex;
	justify-content: center;
	border:2px solid #000;
	color:#000;
	align-items: center;
	padding: 3px 5px;
	transition: all .3s;
}
#gnav__cta p{
	display:flex;
	align-items: center;
	font-size:15px;
	font-weight:400;
}
#gnav__cta p:before{
	content:url("image.php?id=016");
	width:20px;
	height:26px;
	margin-right:5px;
	filter:invert(100%) !important;
}
#gnav__cta img{
	margin:5px;
}
.gnav__inner:hover #gnav__cta a{
	filter:invert(100%) !important;
}
.gnav__inner:hover #gnav__cta a:hover{
	border:2px solid #fff;
	background-color:#fff;
	filter:invert(0%) !important;
}
@media screen and (max-width:1149px){
#sp_nav_black{
	width:100%;
	height:80px;
	position:fixed;
	top:0;
	left:0;
	z-index:9;
	background-color:#000;
}
#gnav__cta{
	width:100%;
	color:#fff;
	border:1px solid #fff;
}
#gnav__cta a{
	padding:15px 10px;
	filter: invert(100%) !important;
}
}
@media screen and (max-width:480px){
#sp_nav_black{
	height:70px;
}
}
@media screen and (min-width:1150px){
.gnav__inner{
	width:100%;
	display:flex;
	justify-content: right;
	align-items: center;
    position: fixed;
	z-index:10;
	color:#000;
	transition:background-color .3s;
}
.gnav__inner:hover{
	background-color:#000;
}
.gnav__inner:hover .gnav__item-flow{
	color:#fff !important;
}

#head_logo,#head_logo2{
  position:absolute;
  z-index:12;
  top:20px;
  left:50px;
  transition: all 0.3s;
}
#head_logo img,#head_logo2 img,#head_logo3 img{
	width:160px;
}
#head_logo{
  opacity: 1;
}
#head_logo2{ 
  opacity: 0;
}
#head_logo3{ 
  display: none;
}
#head_logo:hover,#head_logo2:hover{
  opacity: 0.8;
}
.gnav__inner:hover #head_logo{
	opacity: 0 !important;
}
.gnav__inner:hover #head_logo2{
	opacity: 1 !important;
}

.gnav__item .sub-menu{
	transition:background-color .3s;
	background-color:var(--mintgreen);
	color:#fff;
}
.gnav__item .sub-menu li:hover{
	background-color:var(--mintgreen);
}
.gnav__list{
	display:flex;
	flex-wrap:wrap;
}
.gnav__item{
	position:relative;
	height:100px;
	display:flex;
	align-items: center;
	font-weight:400;
}
.gnav__item-flow,.gnav__link-btn2{
	height:100%;
	display:flex;
	align-items: center;
	transition:background-color .3s ;
}
.gnav__item p{
	transition:color .3s;
}
.gnav__item p:hover{
	mix-blend-mode: normal;
	color: var(--rosepink);
}
.gnav__link-btn2:hover{
	mix-blend-mode: normal;
	color:var(--rosepink);
}
.gnav__item-flow p,.gnav__link-btn2 p{
	margin:15px 10px;
}
.gnav__item ul {
	width:200px;
    position:absolute;
	left:0;
	top:80px;
	transition:background-color .5s ;
	background-color:#ffffff20;
}
.gnav__item summary {
	/* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
	width:100%;
	display: flex;
	cursor:pointer;
  }
.gnav__item summary::-webkit-details-marker {
	/* Safariで表示されるデフォルトの三角形アイコンを消します */
	display: none;
  }
}
@media screen and (max-width:1149px){
.activebtn{
	display:block;
}
.gnav__item{
	width:fit-content;
	margin:0 20px ;
	padding:0;
}
.open #gNav{
    display:block;
    width: 70%;
    max-width:1000px;
    position: fixed;
}
#gNav.panelactive{
    position:fixed;
    z-index: 999;
  top: 0;
  width:100%;
    height: 100vh;
}

/*丸の拡大*/
.extension-bg{
    opacity:1;
    position: fixed;
    z-index:5;
    width: 100%;
    height: 0px;
    background: linear-gradient(-45deg, #00a8d4,  #1dbda1);
    right:0px;
    top:0px;
    transition: all .6s;
}
.extension-bg.extension-active{
    height: 100vh;
}

.gnav__list{
    width:350px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#gNav.panelactive #g-nav-list{
     display: block;
}
.gnav__inner{
	width:100%;
	height:100%;
    position: absolute;
	display:flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content: center;
}

#head_logo,#head_logo2{
	opacity: 0 !important;
	display:none;
}
#head_logo3{
	display:block;
	position:fixed;
  z-index:12;
	top:10px;
  	left:30px;
}
#head_logo2{
  opacity: 1 !important;
}
/*ナビゲーション*/
#gNav .gnav__list,#gNav #gnav_prof_list {
    display:none;
}
#gnav_prof_list{
	width:370px;
	padding:15px 0;
}
#gnav_prof_list p{
	margin:0 auto;
	color:#fff;
	font-size:0.8rem;
}
.gnav__item{
    width:100%;
	overflow: hidden;
}

.gnav__item-flow,.gnav__link-btn2{
    width:100%;
	height:100%;
    display:flex;
    flex-wrap:wrap;
    align-items: center;
    transition: all .6s;
}
.gnav__item-flow img{
	margin-left:30px;
}
.gnav__item details li a{
	width:100%;
}
.gnav__item-flow-f:hover,.gnav__item-flow:hover,.gnav__link-btn2:hover{
    background-color:hsla(0, 0%, 0%, 0.5);
	mix-blend-mode: darken;
}
.gnav__item p{
    margin:10px 0px 10px 10px;
    color:#fff;
    font-weight: 500;
    line-height: 24px;
}

#gNav.panelactive ul {
	height: auto !important;
    display:flex;
	flex-wrap: wrap;
	align-items: center;
	/*justify-content:center;*/
	padding-right:10px;
}
	#gNav.panelactive #gnav_prof_list{
		display:flex;
		align-items: center;
		justify-content: center;
	}
	
#gNav.panelactive .gnav__list li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;
animation-fill-mode:forwards;
opacity:0;
}

.gnav__item summary {
	/* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
	width:100%;
	display: flex;
	cursor:pointer;
  }
.gnav__item summary::-webkit-details-marker {
	/* Safariで表示されるデフォルトの三角形アイコンを消します */
	display: none;
  }
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

@media screen and (max-width:480px){
.activebtn{
	width:30px;
	height:30px;
  top:10px;
  right:20px;
}
#head_logo3 img{
	width:130px;
}
}
@media screen and (max-width:718px){
#gnav_prof_list p{
	font-size:0.6rem;
}
}
@media screen and (max-width:1149px){
	#gNav{
		padding: 0;
	}
	.gnav__item{
		display: block;
		border-bottom: 1px solid #fff;
	}
	.gnav__item ul{
	flex-wrap:wrap;
	background-color:inherit;
	padding:10px;
}
	.gnav__item ul a{
		width:100%;
}
	.gnav__item ul li{
		width:100%;
		padding:0;
		border-bottom:none;
		text-align:center;
}
	#gNav li ul,
	#gNav li ul ul{
  	position: relative;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
}
/*矢印の位置と向き*/
.gnav__arrow::before{
	top:50px;
	border-top: 2px solid #fff;
    border-right:2px solid #fff;
}
}
.scroll_bar{
   overflow-y: scroll;
}
.scroll_bar::-webkit-scrollbar{
   width: 10px;
}
.scroll_bar::-webkit-scrollbar-track{
   background-color: var(--white);
	border-radius:10px;
}
.scroll_bar::-webkit-scrollbar-thumb{
   background-color: var(--gray);
	border-radius:10px;
}
@media screen and (max-width:480px){
.scroll_bar::-webkit-scrollbar{
   width: 5px;
}
.scroll_bar::-webkit-scrollbar-track{
   background-color: var(--white);
	border-radius:5px;
}
.scroll_bar::-webkit-scrollbar-thumb{
   background-color: var(--gray);
	border-radius:5px;
}
}