@charset "utf-8";

/*========= 上部固定させるためのCSS ===============*/

#header{
	display: flex;
    justify-content: space-between;
  border-radius: 3em;
  margin: 2rem 2rem 0;
  position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
    top:0;/*位置指定*/
    left:0;/*位置指定*/
	  height: 48px;/*高さ指定*/
  width: 98%;/*横幅指定*/
}

#header nav{
display: flex;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
    background: #fff;
    color: #333;
    text-align: center;
    padding: 1.4rem;
    width: 100%;
    border-radius: 3em;
    margin: 0 2rem 0 0;
box-shadow: 0px 16px 16px -8px rgb(0 0 0 / 12%);
}



#header .cvbtn{
	border-radius: 3em;
	z-index: 999;
	box-shadow: 0px 16px 16px -8px rgb(0 0 0 / 12%);
}
#header .cvbtn_close{
    color: #666;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0;
    background: #E9E9E9;
    width: 140px;
    height: 48px;
    text-align: center;
    overflow: hidden;
    transition: .3s;
    border: 2px solid #E9E9E9;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    text-decoration: none;
    box-shadow: 0px 16px 16px -8px rgb(0 0 0 / 12%);
}
/*
#header .cvbtn a{
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0;
    background: #00838C;
    width: 140px;
    height: 48px;
    text-align: center;
    overflow: hidden;
    transition: .3s;
    border: 2px solid #00838C;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3em;
    text-decoration: none;
	box-shadow: 0px 16px 16px -8px rgb(0 0 0 / 12%);
}
#header .cvbtn a:hover{
	background: #fff;
	color: #00838C;
}
*/
#header nav img{
	padding: 0 0 0 2rem;
}
#header nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}

#header nav ul li a{
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0 2rem;
  transition:all 0.3s;
}

#header nav ul li.current a,
#header nav ul li a:hover{
  color:#00838C; 
}


@media screen and (max-width:768px) {
#header nav{
	display: none;
}
	
#header {
	display: flex;
    justify-content: space-between;
    border-radius: 3em;
    margin: 2rem 2rem 0;
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    height: 48px;
    width: 98%;
}
#header .cvbtn,#header .cvbtn_close {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}
#header .cvbtn a,#header .cvbtn_close {
    width: 60vw;
    height: 60px;
}
}