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

/*------ 全ページナビ共通css ------*/

#head-navi {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  text-align: center;
}

#head-navi ul {
  display: inline-block;
  padding: 0;
}

#head-navi li {
  display: inline-block;
  font-size: 1.2em;
  margin: 0 1em .5em 1em;
  padding: 40px 10px 0 10px;
  border-bottom: dotted 4px #87CEFA;
}

.this {
  cursor: pointer;
  background: rgba(135, 206, 250, .1);
  border-radius: 300px 300px 0 0;
  border-bottom: dotted 4px #F9AD86 !important;
  background-image: url(../../common-whole/image/logo-light.png);
  background-repeat: no-repeat;
  background-position: top center;
}

/*------ リンク文字色 ------*/

/*デフォルト#999999*/

/*当該カテゴリー#333333*/

/*ホバー#F3A530*/

.other {
  color: #999999;
}

.other:hover {
  cursor: pointer;
  color: #F3A530;
}

.this-a:link,
.this-a:visited,
.this-a:hover,
.this-a:active {
  color: #333333;
}

.other-a:link,
.other-a:visited,
.other-a:active {
  color: #999999;
}

@media(max-width:550px) {

  #head-navi li {
    box-sizing: border-box;
    width: 38%;
    font-size: 14px;
    margin: 0 20px .5em 20px;
    padding: 20px 10px 0 10px;
  }

  .this {
    background-size: 20px 20px;
    border-radius: 0 0 0 0;
    background-color: rgba(255, 255, 255, 0);
  }

  .this-a:link,
  .this-a:visited,
  .this-a:hover,
  .this-a:active {
    color: #F3A530;
  }
}

@media(max-width: 430px) {
  #head-navi li {
    width: 40%;
    font-size: 13px;
    margin: 0 15px .5em 15px;
  }
}

@media(max-width: 380px) {
  #head-navi li {
    box-sizing: border-box;
    width: 42%;
    margin: 0 2% .5em 2%;
    padding: 20px 7px 0 7px;
  }
}

@media(max-width: 359px) {
  #head-navi li {
    box-sizing: border-box;
    width: 44%;
    margin: 0 1% .5em 1%;
  }
}
