@charset "UTF-8";
#nav_logo{
    position:fixed;
    z-index:4;
    top:20px;
    left:20px;
}
#nav_logo img{
    width:150px;
}
#main_cta{
    position:fixed;
    z-index:4;
    top:45px;
    right:120px;
}
#main_cta_a{
    border:2px solid var(--crmwhite);
    border-radius:30px;
    padding:8px 13px;
    margin-right:10px;
    font-size:12px;
    font-weight:900;
    transition: all .3s;
}
#main_cta_a:hover{
    background-color:var(--crmwhite);
    color:var(--black);
}
#main_cta_b{
    color:var(--crmwhite);
    background-color: var(--orange);
    border-radius:30px;
    padding:10px 15px;
    font-size:12px;
    font-weight:900;
transition: all .3s;
}
#main_cta_b:hover{
    background-color:var(--crmwhite);
    color:var(--orange);
}
#sns_icon{
    width:30px;
    position:fixed;
    z-index:4;
    top:120px;
    right:40px;
    text-align: center;
}
#sns_icon a{
    display:block;
    height:30px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 3px var(--black));
}
#sns_icon a:hover{
    opacity:0.5;
    transition:.3s;
}
.activebtn{
  position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
	z-index:1000;
	top:30px;
	right:30px;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 50%;
	mix-blend-mode: exclusion;
}
@media screen and (max-width:768px){
#main_cta{
    display:none;
}
/*
#main_cta{
    width:36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    top: 300px;
    right: 0px;
}
#main_cta a{
    writing-mode: vertical-rl;
    text-orientation: upright;
}
#main_cta_a{
    padding:10px 10px;
    margin-bottom:15px;
    border-radius:5px;
}
#main_cta_b{
    padding:12px 12px;
    border-radius:5px;
}*/
#nav_logo{
    position:fixed;
    z-index:4;
    top:15px;
    left:15px;
}
#nav_logo img{
    width:100px;
}
#sns_icon{
    width:25px;
    top:80px;
    right:23px;
}
.activebtn{
  position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
	z-index:1000;
	top:10px;
	right:20px;
  cursor: pointer;
    width: 30px;
    height:30px;
  border-radius: 50%;
	mix-blend-mode: exclusion;
}
}
.act-mix-ex{
	mix-blend-mode: normal !important;
}
#nav_circle{
    transition: all .4s;
	position:absolute;
	right:15px;
	top:17px;
	width:0;
	height:0;
	border-radius:50%;
	background-color:var(--crmwhite);
}
#nav_circle.open{
	position:absolute;
	right:0;
	top:0;
	width:50px;
	height:50px;
	background-color:var(--crmwhite);
}
#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: var(--crmwhite);
  }


.activebtn span:nth-of-type(1) {
  top:15px; 
    width: 100%;
}

.activebtn span:nth-of-type(2) {
  top:23px;
    width: 20%;
}

.activebtn span:nth-of-type(3) {
  top:31px;
    width: 45%;
}

.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: var(--crmwhite);
}

.activebtn.open span:nth-of-type(2) {
  opacity: 0;
    width: 100%;
  background: var(--crmwhite);
}

.activebtn.open span:nth-of-type(3){
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(135deg);
    width: 100%;
  background: var(--crmwhite);
}



.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: #251f1e;
    right:0px;
    top:0px;
    transition: all .6s;
}
.extension-bg:after{
    content: "";
    opacity: 1;
    width: 20%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(image.php?id=050);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100vh;
	}
@media screen and (max-width:768px){
	.extension-bg:after{
		display:none;
		}
}
.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;
	z-index:-1;
	display:flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content: center;
	
	}
/*ナビゲーション*/
#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:var(--crmwhite);
	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;
}
.gnav__item-flow img{
	margin-left:30px;
}
.gnav__item details li a{
	width:100%;
	padding-left:50px;
}
.gnav__item-flow-f:hover,.gnav__item-flow:hover,.gnav__link-btn2:hover{
    background-color:hsla(0,0%,32%,0.50);
}
.gnav__item p, .gnav__item summary{
    margin:10px 5px 10px 10px;
    color:var(--crmwhite);
    font-weight: 500;
    text-align: center;
    line-height: 24px;
}

#gNav.panelactive ul {
    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;
  }
  .gnav__item summary:after {
	content: "+";
	color:var(--crmwhite);
	display: flex;
	align-items: center;
	margin-left: auto;
    margin-right: 10px;
}
.gnav__item details[open] summary:after,
.gnav__item  summary details[open] summary:after {
	content: "−";
}

@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}