@charset "utf-8";

/* グローバルヘッダー */
#global-header {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
}

#global-header__logo {
  box-sizing: content-box;
  display: block;
  max-width: 240px;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
  padding-top: 1rem;
  width: 62.5%; /* 200 / 320 */
}

#global-header__metamorphic-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}

#global-header__join-login {
  height: 100%;
  display: flex;
  column-gap: 1rem;
  margin-right: 5rem;
}

#global-header__search-container {
  position: absolute;
  margin-top: -1.9rem;
  top: 50%;
  right: 0;
}

#global-header__search-container {
  display: none;
}

#global-header-point {
  position: absolute;
  right: 54px;
  top: 3px;
}

#global-header-point__button {
  height: 27px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#global-header-point__button-count {
  font-size: 1.6rem;
  font-weight: 1000;
  color: #f0a024;
  margin-left: auto;
}

#global-header-point__button-count span {
  font-size: 2rem;
  margin-right: 1px;
}

#global-header-point__buy-button {
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#global-header-point__buy-button-img {
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 3px;
}

#global-header-point__buy-button-img img{
  width: 12px;
  vertical-align: 0;
}

#global-header-point__buy-button-text {
  font-size: 1.2rem;
  -webkit-text-decorations-in-effect: underline;
  text-decoration: underline;
}

@media only screen and (min-width: 896px) {
  #global-header__join-login {
    display: none;
  }

  #hamburger-menu {
    display: none;
  }

  #global-header__search-container {
    display: block;
  }

  #global-header-point {
    display: none;
  }
}

@media only screen and (max-width: 414px) {
  #global-header__logo {
    max-width: 160px;
  }

  #global-header-point {
    right: 46px;
    top: 1px;
  }

  #global-header-point__button {
    height: 23px;
  }

  #global-header-point__button-count{
    font-size: 1.6rem;
  }

  #global-header-point__button-count span{
    font-size: 1.8rem;
  }

  #global-header-point__buy-button {
    height: 18px;
  }

  #global-header-point__buy-button-img img {
    width: 10px;
  }

  #global-header-point__buy-button-text {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 375px) {
  #global-header-point {
    -webkit-transform: scale(.85);
    transform: scale(.85);
  }
}

#global-header__search-container input[type=search] {
  width: 25rem;
}

.user-menu .title {
  margin-left: 1rem;
  margin-right: 1rem;
}

/* PC幅グローバルトップメニュー */
#layout-top-nav {
  display: none;
}

@media only screen and (min-width: 896px) {
  #layout-top-nav {
    background: #f6f6f6;
    border-top: 1px solid #ccc;
    clear: both;
    display: block;
    font-size: 18px;
    width: 100%;
  }

  #layout-top-nav__list{
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    max-width: 1440px;
  }

  #layout-top-nav__list> li {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  #layout-top-nav__list> li > a {
    color: #333;
    display: block;
    padding-bottom: 0.8rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 0.8rem;
    text-align: center;
  }

  #layout-top-nav__list> li > a:hover{
    opacity: 0.8;
  }
}

#global-notifications .media {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#global-notifications .media-content dt {
  font-size: 1.4rem;
  font-weight: bold;
}

/* メインコンテンツ */
#layout-body,
#layout-body__main-container {
  max-width: 1440px;
  margin: 0 auto;
}

.has-narrow-main #layout-body__main-container {
  max-width: calc(1440px - 256px * 2);
}

#layout-body {
  border-top: 1px solid #ccc;
  width: 100%;
}

@media only screen and (min-width: 896px) {
  #layout-body {
    border-top: 0;
  }
}

#layout-body__main-container {
  min-width: 0; /* https://github.com/kenwheeler/slick/issues/1195#issuecomment-88156247 */
}

@media screen and (max-width: 895px) {
  #layout-body__main-container .search-container:first-child+.section {
    padding-top: 0;
  }
}

#layout-body__global-aside {
  display: none;
}

@media only screen and (min-width: 896px) {
  #layout-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction:reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  #layout-body__main-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  #layout-body__global-aside {
    display: block;
    max-width: 256px;
    width: 21.428571428571429%; /* 192 / 896 */
  }
}

/* サイドバー */
@media only screen and (min-width: 896px) {
  #layout-body__global-aside .is-1 {
    font-size: 20px;
  }

  #aside-menu-list .menu-list__accordion-item {
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    position: relative;
    cursor: pointer;
  }

  #aside-menu-list .menu-list__accordion-item > ul > li > a {
    padding: 0.8rem 0 0.8rem 1.8rem;
  }

  #aside-menu-list .menu-list__accordion-item::after {
    content: url(/images/global/left_menu_arrow1.gif);
    position: absolute;
    right: 8px;
    top: 12px;
  }

  #aside-menu-list .menu-list__accordion-item--active::after {
    content: url(/images/global/left_menu_arrow2.gif);
  }

  .menu-list .menu-list {
    display: none;
    margin-top: 4px;
  }

  .menu-list .menu-list > li {
    background-image: url(/images/global/left_menu_arrow.gif);
    background-size: auto;
  }

  #aside-menu-list > .menu-list__item-point {
    background-position-y: 20px;
    line-height: 1.2;
  }

  #aside-menu-list > .menu-list__item-point > a > span {
    color: #ff9021;
    font-weight: bold;
  }

  .magazine-label-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .magazine-label-list > li {
    width: 50%;
    text-align: center;
  }

  .magazine-label-list > li > a:hover{
    opacity:0.8;
  }

  .magazine-label-list > li > a > img {
    width: 90%;
  }
}

/* グローバルフッター */
#global-footer {
  border-top: 1px solid #ebebeb;
  clear: both;
  color: #333;
  padding-bottom: 1.6rem;
  text-align: center;
}

@media screen and (max-width: 895px) {
  #global-footer:not(.global-footer--with-no-bottom-menu) {
    padding-bottom: 6.4rem;
  }
}

#copyright small {
  font-size: 1.2rem;
}

/* スマホ表示フッターメニュー */
@media only screen and (min-width: 896px) {
  #global-footer__bottom-menu {
    display: none;
  }
}

#bottom-menu-list {
  border-top: 1px solid #ccc;
  bottom: 0;
  box-shadow: 0 2px 2px #ccc;
  box-sizing: content-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1rem;
  height: 48px;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 2;
}

#bottom-menu-list > li {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
}

#bottom-menu-list > li > a {
  border-left: 1px solid #ccc;
  color: #333;
  display: block;
  height: 40px;
  padding-bottom: 6px;
  padding-top: 2px;
  width: 100%;
  opacity: 0.95;
}

#bottom-menu-list > li:first-child > a {
  border-left: 0;
}

#bottom-menu-list > li > a > img {
  height: 100%;
  width: auto;
}

.common-bottom-menu .search-container {
  margin-bottom: 1rem;
}

.tracking-tag-container {
  max-height: 0;
}
