/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 18 2023 | 05:43:54 */
/* ※メインメニューのレイアウト：ロゴの右横に配置 */

/* ヘッダーfixed時に表示状態を元のままにする */
@media (min-width: 481px) {
  #masthead.fixed {
    top: 0 !important;
  }
  #masthead.fixed .main-header-container {
    padding: 10px 0;
  }
  #masthead.fixed .main-header-container .header_free_content {
    display: block;
  }
  #masthead.fixed .site-branding {
    max-width: 50%;
  }
  #masthead.fixed .site-logo-img .custom-logo {
    max-height: 100px;
  }
  #masthead.fixed .header_links span[class^="icon-"] {
    margin-right: 0;
    font-size: 24px;
    font-size: 1.5rem;
  }
  .admin-bar #masthead {
    top: 32px !important;
  }
}

/* 電話番号・営業時間のレイアウト調整 */
.main-header-container .header_free_content {
  padding: 0 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
}
.main-header-container .header_free_content .header_phone {
  margin: 0 0 0.4rem 0;
  font-size: 1.2rem;
}

/* メインナビをアイコン付きにする */
#masthead .main-header-bar .es-container {
  padding: 0 10px;
}

.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] {
  align-items: center;
  justify-content: flex-start;
}
.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"]::before {
  font-size: 3rem;
  color: var(--pop-main-color);
}
.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] > a {
  height: auto;
  font-size: 1rem;
}
.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] > a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"][class*="-has-children"]::after {
  content: "\e900";
  display: inline-block;
  font-family: 'ES';
  font-size: 9px;
  font-size: .6rem;
  font-weight: 700;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-left: 10px;
  line-height: normal;
}
.main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"][class*="-has-children"] > a::after {
  display: none;
}
.main-header-bar .main-header-bar-navigation .sub-menu {
  top: 100%;
}

#masthead {
  position: sticky;
  top: 0;
}
@media (max-width: 480px) {
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"]::before {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 52px;
    margin-left: 10px;
    font-size: 36px;
    color: #fff;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] > a {
    padding-left: 60px;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"][class*="-has-children"]::after {
    content: none;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"][class*="-has-children"] .es-menu-toggle::before {
    position: absolute;
    display: block;
    content: "\e91e";
    top: 18px;
    left: 20px;
    font-family: 'es_font';
    font-size: 0.875rem;
    font-weight: 700;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: normal;
  }
  .main-header-bar .main-header-bar-navigation .sub-menu li a {
    background: var(--pop-main-color);
  }
}
@media (min-width: 481px) {
  .es-flex .es-main-header-bar-alignment {
    opacity: 1;
    transition: none;
  }

  #masthead .main-header-bar .es-container {
    max-width: inherit;
    padding: 0 0 0 20px;
  }
  #masthead .main-header-container {
    align-items: inherit;
    padding: 10px 0;
  }
  #masthead .es_user_identity {
    margin-top: -10px;
    margin-bottom: -10px;
  }

  .main-header-bar-navigation nav {
    text-align: right;
  }

  .header_links {
    display: contents;
    height: 100%;
  }
  .header_links .header_links__list {
    display: flex;
    height: 100%;
  }
  .main-header-menu .current-menu-ancestor > a {
    color: var(--pop-main-color);
  }
  .header_links .header_links__list a:not(.menu-toggle) {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    height: 100%;
    padding: 10px;
    font-size: 14px;
    font-size: 0.875rem;
    color: #fff;
    background: var(--pop-main-color);
  }
  .header_links .header_links__list a:not(.menu-toggle):hover {
    border: none;
    color: #fff;
    opacity: 0.8;
  }
  .header_links .header_links__list a:not(.menu-toggle) span[class*="icon-"] {
    width: 100%;
  }
  .header_links li {
    margin: 0;
  }

  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] {
    align-items: center;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"]::before {
    display: flex;
    align-items: center;
    height: 47px;
    font-size: 2.75rem;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"][class*="-has-children"]::after {
    margin-left: 0;
  }
  .main-header-bar .main-header-bar-navigation .menu-item[class*="icon-"] > a {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1;
  }
  .main-header-bar .main-header-bar-navigation .sub-menu {
    border-radius: 10px;
  }

  .main-header-menu > .menu-item > a {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  body.es-nav-layout-right #masthead:not(.fixed) .main-header-menu > .menu-item > a:hover,
  body.es-nav-layout-right #masthead:not(.fixed) .main-header-menu > #nav_more:hover > a,
  body.es-nav-layout-right #masthead:not(.fixed) .main-header-menu > .unclickable.menu-item:hover > a,
  .main-header-menu li:hover > a {
    color: var(--pop-main-color);
  }
}
