﻿@charset "utf-8";
/* CSS Document */

/*****NAV*****/
nav{
  width: 100%;
  background-color: #00008C;
  overflow: hidden;
}

.menu-img:before {
  content: "";
  background: url("../images/menu.png");
  background-size: 34px 34px;
  transform: scale(1.0);
  width: 34px;
  height: 34px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 5px;
}

nav #menu-box {
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}

nav ul{
    width: 100%;
    padding-left: 0px;
    padding: 0px;
    margin-bottom: 0px;
}
nav li{
    width: calc(14% - 2px);
    float: left;
    padding-left: 0;
    margin: 0px;
    height: 45px;
    list-style-type: none;

    font-size: 110%;
    letter-spacing: 5px;
    font-weight: 400;
    line-height: 45px;
    border-left: 1px solid white;
    color: #313131;
    cursor: pointer;
    text-align: center;
}

nav li:last-child{
    border-right: 1px solid white;
}

nav li a{
  display: block;
  background-color: #00008C;
  border-left: 1px solid white;
  border-right: 1px solid white;
  line-height: 45px;
  color:white;
  text-decoration: none;
  text-align: center;
}

nav li a:hover{
    background-color: #4169e1;
    transition: background-color 0.5s ease-out;
    color: #fff;
}

nav li a:visited{
  color:white;
  text-decoration: none;
}

nav label {
	display: none;
}

nav input {
	display: none;
}

@media screen and (max-width: 750px) {
/* メニュー設定 */

  nav #menu-box {
    width: 100%;
  }

/* メニュー設定 */
nav #menu-box {
	width: 100%;
}

nav label {
	display: block;
	margin: 0 0 0px 0;
	padding: 3px;
	text-align: center;
	line-height: 45px;
	color :#fff;
	cursor :pointer;
}

nav input {
	display: none;
}

nav li {
  width: 100%;
  max-height: 0px;
  overflow-y: hidden;
}

nav li a{
  border-right: 0px solid white;
  border-top: 1px solid white;
  line-height: 45px;
  color:white;
  text-decoration: none;
  text-align: center;
}

nav #menu_bar01:checked ~ #links01 li {
	max-height: 80px;
}

}
