/* ------------------------------------
◆　global-nav
------------------------------------ */

.top-head .global-nav {
  margin: 0 auto;
}

.top-head .nav {
  float: right;
  display: flex;
  margin: 0;
}

.top-head .nav i {
  line-height: 1;
}

div.top-head {
  width: 100%;
  line-height: 1;
  z-index: 999;
  background: #fff;
  border-bottom: 2px solid #000;
  position: relative;
  height: 40px;
  font-family: YuGothic, /* Mac用 */ 'Yu Gothic', /* Windows用 */ sans-serif, Helvetica, "ヒラギノ角ゴ Pro W3", "HiraKakuPro-W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;
}

div.top-head p.logo {
  float: left;
  vertical-align: bottom;
  max-height: 23px;
  margin:0 0 0 10px;
  padding:0;
}

div.top-head p.logo span {
  font-size: 12px;
  margin-left: 1em;
  line-height: 35px;
  vertical-align: bottom;
  width: 318px;
}

div.top-head .logo img {
  padding: 0;
  margin: 0;
  float: left;
  max-height: 26px;
  width: auto;
}

div.top-head a, div.top-head {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

div.top-head .inner {
  position: relative;
  margin: 0 auto;
  padding: 7px 0;
  font-size:12px;
}


/* nav dropdown */

div.top-head .dropdown {
  *zoom: 1;
  list-style-type: none;
  padding: 0;
  font-size: 12px;
}

div.top-head .dropdown .login-user {
  max-width: 250px;
  min-width: 100px;
  left: auto !important;
  right: 0 !important;
  text-align: left;
  white-space: nowrap;
}

div.top-head .dropdown .login-user li {
  width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

div.top-head .dropdown:before, div.top-head .dropdown:after {
  content: "";
  display: table;
}

div.top-head .dropdown:after {
  clear: both;
}

div.top-head .dropdown li {
  position: relative;
  text-align: center;
  float: left;
}

div.top-head .dropdown li a,
.top-head .accordion .accordiion-title {
  display: flex;
  margin: 0 5px;
  padding: 0 15px;
  line-height: 23px;
  text-decoration: none;
  border-bottom: #ffffff 1px solid;
  gap: 4px;
  align-items: center;
}

div.top-head .dropdown #user-icon-sp {
  padding: 0 !important;
}

div.top-head .dropdown li a:hover {
  border-bottom: #e80008 1px solid;
}

div.top-head .dropdown li ul {
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 120%;
  left: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: .5s;
}

div.top-head .dropdown li:hover ul {
  visibility: visible;
  opacity: 1;
}

div.top-head .dropdown li ul li {
  width: 200%;
}

div.top-head .dropdown li ul li a {
  padding: 13px 15px;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
  text-align: left;
}

div.top-head .dropdown li ul li a:hover {
  background: #f2f2f2;
}


/* Fixed */

.top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  background: #fff;
}

.top-head.fixed .logo {
  font-size: 24px;
  color: #333;
}

.top-head.fixed #global-nav ul li a {
  color: #333;
}


/* Toggle Button */

.top-head .nav-toggle {
  display: none;
  position: absolute;
  right: 10px;
  top: 5px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}

.top-head .nav-toggle div {
  position: relative;
}

.top-head .nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 25px;
  background: #000;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

.top-head .nav-toggle span:nth-child(1) {
  top: 0;
}

.top-head .nav-toggle span:nth-child(2) {
  top: 7px;
}

.top-head .nav-toggle span:nth-child(3) {
  top: 14px;
}
.top-head .sp-only {
    display: none;
}

.top-head .top-head #global-nav .fa-caret-down {
  margin-left: 0.5em;
}
.top-head .accordion .accordiion-toggle {
  display: none;
  }


@media screen and (max-width: 910px) {

  .top-head, .inner {
    width: 100%;
    padding: 0;
  }
  .top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  .top-head .nav {
    float: none;
  }
  .top-head .nav-login {
    margin: 0 5px;
    padding: 0;
    margin-right: 60px;
    line-height: 25px;
    text-align: center;
    display: inline;
    font-weight: bold;
    float: right;
  }
  .top-head .nav-login.sp-only  {
    display: block!important;
  }
  .top-head div.top-head .dropdown li a {
    margin: 0;
  }
  /* Fixed reset */
  .top-head #mobile-head {
    background: #fff;
    width: 100%;
    z-index: 999;
    position: relative;
  }
  .top-head.fixed .logo, .top-head .logo {
    left: 10px;
    top: 7px;
    color: #333;
  }
  .top-head #global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -800px;
    left: 0;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
        z-index: 9999;
  }
  .top-head #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
    display: block;
  }
  .top-head #global-nav ul li {
    width: 100%;
    position: static;
    text-align: left;
  }
  .top-head #global-nav ul li a, .top-head.fixed #global-nav ul li a {
    display: block;
    color: #000;
    padding: 10px 20px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
  }
  .top-head #global-nav ul li a img, .top-head.fixed #global-nav ul li a img {
    max-width: 70%;
    max-height: 18px;
  }
  .top-head .nav-toggle {
    display: block;
  }
  /* .nav-toggle 切り替えアニメーション */
  .top-head .open .nav-toggle span:nth-child(1) {
    top: 5px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .top-head .open .nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .top-head .open .nav-toggle span:nth-child(3) {
    top: 5px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  /* #global-nav スライドアニメーション */
  .top-head.open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(850px);
    -webkit-transform: translateY(850px);
    transform: translateY(850px);
  }
  /* nav dropdown */
  .top-head div.top-head .dropdown li ul {
    display: none;
    transition: .3s;
  }
  /* accordiion toggle */
  .top-head .accordion .accordion {
    margin: 3em auto;
    max-width: 60vw;
    }
    .top-head .accordion .accordiion-toggle {
    display: none;
    }
    .top-head .accordion .option {
    position: relative;
    }
    .top-head .accordion .accordiion-title,
    .top-head .accordion .accordiion-content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
    }
    .top-head .accordion .accordiion-title {
    border-bottom: 1px solid #eeeeee;
    padding: 10px 20px;
    display: block;
    font-weight: 500;
    font-size: 12px;
    line-height: 23px;
    }
    .top-head .accordion .accordiion-content {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    }
    .top-head .accordion .accordiion-content p {
    margin: 0;
    padding: 0.5em 1em 1em;
    font-size: 0.9em;
    line-height: 1.5;
    }
    .top-head .accordiion-toggle:checked + .accordiion-title + .accordiion-content {
    max-height: 500px;
    transition: all 1.5s;
    }
    .top-head .accordiion-toggle:checked + .accordiion-title i::before {
      content: "\f0d8" !important;
      }
  /* accordiion toggle */


  div.top-head .dropdown li:active ul, div.top-head .dropdown li:hover ul {
    top: 100%;
    display: block;
    opacity: 1;
  }
  div.top-head .dropdown li a:active ul, div.top-head .dropdown li a:hover ul {
    top: 100%;
    display: block;
    opacity: 1;
  }
  div.top-head .dropdown li ul li {
    width: 100%;
  }
  div.top-head #global-nav .dropdown li ul li a {
    padding-left: 30px;
    background: #f2f2f2;
    border-top: none;
    text-align: left;
  }
  .top-head .sp-only {
      display: block;
  }
  .top-head .pc-only {
    display: none;
}
.top-head .search-block {
      border-top: none;
      padding: 5px 10px;
      margin-bottom: 0;
  }
  .top-head #search-form {
    width: 100%;
    max-width: 1315px;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
  }

  .top-head #search-form input#keyword {
    color: #939393;
    border-color: #D9D9D9;
    padding: 1px 6px;
    border: 2px solid #333;
    outline: none;
    width: 80%;
    height: 30px;
    font-size: 13px;
    -webkit-appearance: none;
    margin-bottom: 10px;
    float: left;
    border-radius: 0;
    z-index:9999;
    box-sizing: border-box;
  }
  .top-head #search-form input#submit {
    margin-left: 0 !important;
    background-color: #333;
    border: #333 solid 2px;
    color: #ffffff;
    font-weight: bold;
    font-family: FontAwesome, 'Century Gothic', Verdana, sans-serif;
    height: 30px;
    width: 20%;
    font-size: 13px;
    letter-spacing: 5px;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
}
}
  @media screen and (max-width: 480px) {
    div.top-head .inner {
      background: #fff;
    }
    .top-head .div-slider {
      padding-top: 10px;
      border-top: none;
          z-index: -9999;
    }
    .top-head #search-form input#keyword {
    font-size: 16px;
  }

  .top-head #search-form input#keyword:focus, .top-head #search-form input#keyword:active {
    color: #333;
  }

  .top-head #search-form input#submit {
    margin-left: 0 !important;
    background-color: #333;
    border: #333 solid 2px;
    color: #ffffff;
    font-weight: bold;
    font-family: FontAwesome, 'Century Gothic', Verdana, sans-serif;
    height: 30px;
    width: 20%;
    font-size: 13px;
    letter-spacing: 5px;
    -webkit-appearance: none;
    border-radius: 0;
  }

  .top-head #search-form input#submit:focus, .top-head #search-form input#submit:hover, #search-form input#submit:active {
    box-shadow: none;
    cursor: pointer;
    opacity: 0.8;
  }
}
.top-head .clearfix:after {
    content: '';
    display: block;
    clear: both;
}
