@charset "UTF-8";

:root {
  /*キーカラー*/
  --key-color: rgb(255, 101, 85);

  /*H2の色*/
  --h2-bg-color: #21282d;

  /*H3の色*/
  --h3-bg-color: #ecf1f9;
  --h3-border-color: rgb(255, 101, 85);

  /*H4の色*/
  --h4-text-color: #454664;
  --h4_bg_color: #21282c;

  /*SPメニューアクティブ時の色*/
  --pc-header-menu-bg: rgb(255, 101, 85);
  --pc-header-menu-border: rgb(255, 101, 85);
  --pc-header-menu-text: #fff;

  /*検索ボタン色*/
  --search-button: rgb(255, 101, 85);
  --search-button-text: #fff;
}

* {
  font-family: sans-serif,"Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Meiryo", "メイリオ", "Osaka", "MS PGothic", arial, helvetica, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,p,a {
  transform: rotate(0.05deg);
}

h1,h2,h3 {
  font-weight: 900;
}

h4,h5 {
  font-weight: 700;
}

.left_menu_s h2 {
  background: #21282c;
}

.popular_and_new_articles_wrapper h2 {
    background: var(--h2-bg-color);
}

.archive.category-newgame.mobile #slide_background:after {
  -webkit-animation: none;
  animation: none;
  background: none;
}

.archive.category-newgame.mobile #slide_background {
  background: url(/wp-content/themes/appmedia/images/header/bg_newgame_sp.webp);
  background-size: cover;
}

#comments #reply-title {
  background-color: var(--h2-bg-color);
  padding: 10px 30px 10px 20px;
}

.contents_list h2 {
  background-color: var(--h2-bg-color);
  display: inline-block;
  letter-spacing: 4px;
  width: 100%;
  box-sizing: border-box;
  padding: .4em 1em;
  color: #fffdf7;
  margin: 20px 0 0;
  overflow: hidden;
  position: relative;
  font-size: 14px;
  text-align: center;
  border-radius: 6px 6px 0 0;
}

.left_menu .left_menu_s_new h2 {
  background: var(--h2-bg-color);
  padding: .5em .8em;
  color: #fff;
}

.popular_and_new_articles_wrapper h2 {
  background-color: var(--h2-bg-color);
  padding: 8px 16px;
}

.top_side_title {
  background-color: var(--h2-bg-color) !important;
}

.popular_and_new_articles_wrapper > .tab.active {
  background-color: var(--h2-bg-color);
}

.popular_and_new_articles_wrapper > .tab {
  border-bottom: 3px solid var(--h2-bg-color);
  background-color: var(--h3-bg-color);
  color: #a3abc5;
}

.post-content h2 {
  background: var(--h2-bg-color);
  background-position: left;
  background-repeat: no-repeat;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  margin: 40px 0 10px;
  text-align: left;
  border: none;
  padding: 12px 10px 18px 10px;
  position: relative;
}

.post-content h2:before,#comments #reply-title:before {
  position: absolute;
  content: "";
  height: 8px;
  width: 15%;
  background: var(--key-color);
  display: block;
  z-index: 10;
  bottom: 0;
  left: 0;
}

.post-content h3 {
  margin: 30px 0px 15px 0px;
  padding: 5px 10px 4px 10px;
  border-left: 8px solid var(--key-color);
  font-size: 15px;
  background: var(--h3-bg-color);
  border-bottom: none;
}

.archive .post-content h3 {
  background: transparent;
}

.popular_and_new_articles_wrapper > .tab {
  border-bottom: 3px solid var(--h2-bg-color);
  background-color:var(--h3-bg-color);
  color: #a5b0d0;
}

.left_menu h3 {
  background: var(--h3-bg-color);
  font-size: 13px;
}

.post-content h4 {
  border-left: none;
  position: relative;
  padding-left: 14px;
}

.post-content h4:before {
  position: absolute;
  content: "";
  background-size: 14px;
  width: 10px;
  height: 10px;
  top: 30%;
  background-color: var(--h4_bg_color);
  transform: rotate(45deg);
  left: 0;
}


@media screen and (max-width: 480px) {

  .archive .sp_main_header .sp_category_title {
    display: none;
  }

  .sp_main_header {
    background: url(/wp-content/themes/appmedia/images_s/header/top_news_s.gif) no-repeat center !important;
    background-size: contain !important;
    height: 60px;
  }

  .archive .mobile_cat_header_icon {
    display: none;
  }

  .smartphone_cat_title {
    display: block !important;
  }

  .smartphone_cat_title > a.simple_header_cat {
    height: 55px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffe3e300!important;
  }

  .new_menu_style {
    box-sizing: border-box;
    background: #f7f7f7;
    padding: 1px 1px 0 0;
  }

  .new_menu_style ul {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
  }

  .new_menu_style li {
    background: #fff;
  }

  .simple_header_cat {
    padding: 6px 0 !important;
  }

}
