@charset "utf-8";

#dropmenu {
  list-style-type: none;
  width: 100%;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  background-size: auto auto;
  background-origin: padding-box;
  background-clip: border-box;
  border-top-left-radius: 3px 3px;
  border-top-right-radius: 3px 3px;
  border-bottom-right-radius: 0px 0px;
  border-bottom-left-radius: 0px 0px;
}

#dropmenu li {
  position: relative;
  width: 16.6%; /* 親メニューアイテムの幅 */
  float: left;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: -1px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  text-align: center;
  border-left-width: 1px;
  border-left-style: dotted;
  border-left-color: #cccccc;
}

#dropmenu li a {
  display: block;
  margin: 0;
  padding: 10px 0;
  color: black;
  font-size: 14px;
  text-decoration: none;
  font-weight: normal;
  font-family: メイリオ;
}

#dropmenu li ul {
  list-style-type: none;
  list-style-position: outside;
  position: absolute;
  left: 0px;
  margin: 0;
  padding: 0;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  /* ★追加/修正: サブメニューの親ulの幅を親liの幅に合わせる */
  width: 100%; /* 親 li の幅に合わせて100%に設定 */
}

/* ★修正: 最後のliのulのleftを0に戻し、幅も100%にする */
/* これにより「アクセス」のプルダウンも他のプルダウンと同じ挙動になります */
#dropmenu li:last-child ul {
  left: 0;
  width: 100%;
}

#dropmenu li ul li {
  overflow: hidden;
  /* ★修正: サブメニュー内のliの幅を100%に統一 */
  width: 100%;
  height: 0px;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -ms-transition: .2s;
  transition: .2s;
}

#dropmenu li ul li a {
  padding-top: 13px;
  padding-right: 15px;
  padding-bottom: 13px;
  padding-left: 15px;
  background-color: #fff4eb;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  background-size: auto auto;
  background-origin: padding-box;
  background-clip: border-box;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
  color: black;
}

#dropmenu li:hover > a {
  background-color: #6ab5ff;
  background-image: none;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  background-size: auto auto;
  background-origin: padding-box;
  background-clip: border-box;
  color: white;
}

#dropmenu > li:hover > a {
  border-radius: 3px 3px 0 0;
}

#dropmenu li:hover ul li {
  overflow: visible;
  height: 38px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: white;
}

#dropmenu li:hover ul li:first-child {
  border-top: 0;
}

#dropmenu li:hover ul li:last-child {
  border-bottom: 0;
}

#dropmenu li:hover ul li:last-child a {
  border-radius: 0 0 3px 3px;
}

/* iPad　縦 ------------------------------------------------------------*/
@media all and (max-width:768px) {
  .cell {
    width: 100%;
  }

  #dropmenu li a {
    font-size: 15px;
  }
}

/* スマホ　縦 ------------------------------------------------------------*/
@media all and (max-width:480px) {
  .cell {
    width: 100%;
  }

  #dropmenu li a {
    font-size: 15px;
    font-weight: normal;
  }
}