@charset "UTF-8";
/*
Green #7CAF50;
*/
/* #menu
---------------------------------------------------------------------------------------------------- */
#menu {
  background: #7caf50;
}
/*お問い合わせ*/
#menu ul.headerInfo {
  display: none;
}
/* nav
---------------------------------------------------------------------------------------------------- */
nav.gnav {
  clear: both;
  background: #7caf50;
  height: 50px;
  text-align: center;
}
nav.gnav ul {
  width: 960px;
  margin: auto;
  padding: 0;
  display: table;
  table-layout: fixed;
  float: none;
}
nav.gnav ul li {
  display: table-cell;
  line-height: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: bold;
}
nav.gnav ul li a {
  color: #fff;
  border-left: 1px solid #fff;
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  line-height: 30px;
  font-size: 14px;
}
nav.gnav ul li:last-child a {
  border-right: 1px solid #fff;
}

/* グロナビ2階層 */
li.menu-first-level {
  position: relative;
}
.menu-bottom-icon::after {
  font-family: "Font Awesome 5 Free";
  content: "\f078";
  display: inline-block;
  font-weight: 900;
  margin-left: 10px;
}

ul.menu-second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  border: 1px solid #7caf50;
}
.menu-second-level li {
  border-top: 1px solid #7caf50;
  line-height: 40px;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.menu-second-level li a {
  border-left: none !important;
  color: #7caf50 !important;
  font-size: 13px !important;
}
.menu-second-level li:last-child a {
  border-right: none !important;
}

li.menu-first-level ul.menu-second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  background: #fff;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  display: grid;
}
li.menu-first-level:hover ul.menu-second-level {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 960px) {
  /*MENUボタン*/
  #menu {
    padding: 5px;
    max-height: calc(100vh - 60px);
    overflow: auto;
  }

  /*ハンバーガーメニュー*/
  #spMenu {
    display: block;
    width: 50px;
    height: 60px;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
    cursor: pointer;
    text-align: center;
  }
  #spMenu.active {
    background: #7caf50;
  }
  #spMenu.active .menuIcon span {
    background: #fff;
  }
  .menuIcon {
    position: relative;
  }
  .menuIcon span {
    transition: all 0.3s;
    transform: rotate(0deg);
    background: #7caf50;
    position: absolute;
    height: 1px;
    line-height: 1px;
    width: 26px;
    margin: 0;
    padding: 0;
    left: 12px;
  }
  .menuIcon .top {
    transform: translate(0px, 23px);
  }
  .menuIcon .middle {
    transform: translate(0px, 30px);
  }
  .menuIcon .bottom {
    transform: translate(0px, 37px);
  }
  .menuIcon .tx {
    display: none;
  }
  #spMenu.active .menuIcon .middle {
    background: rgba(255, 255, 255, 0);
  }
  /*#spMenu.active .menuIcon .top { transform: rotate(-45deg) translate(-18px, 18px); }
#spMenu.active .menuIcon .bottom { transform: rotate(45deg) translate(18px, 18px); }*/

  #spMenu.active .menuIcon .top {
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  #spMenu.active .menuIcon .bottom {
    transform: rotate(45deg) translate(20px, 20px);
  }

  /*#spMenu {
	display: inline-block;
	height: 60px;
	width: 60px;
	overflow: none;
	position: absolute;
	right: 0;
	top: 0;
	color: #333;
	text-align: center;
	font-size: 8px;
	padding: 0;
	box-sizing: border-box;
}
#spMenu.active {
	background: #7CAF50;
	color: #fff;
}
#spMenu:hover { cursor: pointer; }
#spMenu span { display: none; }
#spMenu::before {
	content: '\e9bd';
	font-family: icomoon;
	display: block;
	font-size: 30px;
	margin-bottom: 0;
	line-height: 60px;
}
#spMenu.active ::before {
	content: '\ea0f';
	color: #fff;
}*/

  /*グロナビ*/
  nav.gnav {
    height: auto;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック",
      "MS PGothic", sans-serif;
  }
  nav.gnav ul {
    width: auto;
    display: block;
    overflow: hidden;
    margin: 0 -0.5%;
  }
  nav.gnav ul li {
    display: block;
    line-height: 1;
    padding: 0;
    width: 100%;
    float: left;
    box-sizing: border-box;
    margin: 0.5%;
    padding: 0 50px 0 40px;
  }
  nav.gnav ul li a {
    width: auto;
    height: auto;
    line-height: 1;
    border: none;
    padding: 1em 0.6em;
    text-align: left;
    border-top: 1px solid #a3c57d;
  }
  nav.gnav ul li:first-child a {
    border: none;
  }
  nav.gnav ul li:last-child a {
    border-right: none;
  }
  /* グロナビ2階層 */
  .menu-bottom-icon::after {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
    display: none;
    margin-left: 0px;
  }

  ul.menu-second-level {
    visibility: visible;
    opacity: 1;
  }
  .menu-second-level li a {
    border-top: none !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 0.5em 0.6em !important;
    font-weight: normal;
  }

  li.menu-first-level ul.menu-second-level {
    position: static;
    background: #7caf50;
  }
  /*お問い合わせ*/
  #menu ul.headerInfo {
    position: relative;
    display: block;
    padding: 0;
  }
  #menu ul.headerInfo li {
    margin: 5px 0 0;
    padding: 15px 8px;
    float: none;
    border-top: 1px dotted #fff;
    display: block;
    text-align: center;
    background: #fff;
  }
  #menu ul.headerInfo li img {
    margin: auto;
  }
}
