@charset "utf-8";
/* CSS Document */

/*チェックボックス非表示*/
.nav-toggle {
    display: none;
}

/*アイコンをクリックしたら*/
.nav-toggle:checked ~ .btn-burger .icon {
    background: transparent;
}
.nav-toggle:checked ~ .btn-burger .icon:before {
    transform: rotate(-45deg);
    top: 0;
}
.nav-toggle:checked ~ .btn-burger .icon:after {
    transform: rotate(45deg);
    top: 0;
}
.icon{
	display: block;
	width: 80%;
	text-align: center;
	margin: 10px auto;
	border: solid 1px white;
	border-radius: 3px;
	font-size: 0.75em;

}
.after_icon{
	border: solid 1px #686868;
}
.icon,
.icon:before,
.icon:after {
    transition: all .8s;
}


/*中身*/
.nav {
    background-color: #1F2C55;
	text-align: center;
    
}

#after_nav{
    background-color: #ffffff;	
}

.nav-list a {
    display: inline-block;
    text-decoration: none;
	border-bottom: solid 1px white;
    color: #fff;
	font-size: 0.8em;
}
#after_nav .nav-list a {
	border-bottom: solid 1px #686868;
    color: #686868;
	
}

.nav-list {
    list-style: none;
    display: none;
    margin: 0;
 /*   padding-left: 20px;*/
}

.nav-list li {
	display: inline-block;
	margin: 0;
	padding: 10px 0;
	width: 100%;
}

.nav-list li.halfMenu{
	width: 45%;
}

.nav-toggle:checked ~ .nav .nav-list {
    display: inline;
}



/* --------------------------------------------------
  幅768px以上のスタイル指定 ここから
-------------------------------------------------- */
@media screen and (min-width: 768px) {
/* ハンバーガーボタン */
.btn-burger {
    display: none;  /*768px以上では使用しない */
}

.nav-toggle:checked ~ .nav .nav-list {
    display: none;
}
.nav {
    height: 75px;
}
.nav-list {
    display: flex;
    justify-content: center;
    height: 75px;
    align-items: center;
}
.nav-list li:not(:last-child) {
    border-right: 1px solid #fff;
}
}