@charset "UTF-8";

:root {
  /*キーカラー*/
  --key-color: #fb0907;

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

  /*H3の色*/
  --h3-bg-color: #eceef7;
  --h3-border-color: #c0c9e6;

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

  /*SPメニューアクティブ時の色*/
  --pc-header-menu-bg: #fb0907;
  --pc-header-menu-border: #fb0907;
  --pc-header-menu-text: #fff;

  /*検索ボタン色*/
  --search-button: #fb0907;



  /* 新スタイル_人気記事、ヘッダー等 */
  --thema-color1: linear-gradient(90deg, #f97a69, #fb8641);
  /* 新スタイル_h2背景等 */
  --thema-color2: #272c42;
  /* 新スタイル_h2下線、サイドh2左ボーダー等 */
  --thema-color3: #f37a62;
  /* 新スタイル_h3等 */
  --thema-color4: #858585;

  --body-color: #f1f4f9;

  --border-color: #d2d7da;
}

.width_100per{
  width:100%;
}

.popular_and_new_articles_wrapper .thumbnail_wrapper img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.archive.pc table img.aligncenter {
  margin-bottom: 4px;
}

body {
  background: var(--body-color);
}

.search_input_wrapper .s {
  border: 1px solid #b8c8cd;
}

.blog-card {
  border: 1px solid #bfcbcd !important;
}

.calender {
  border: 1px solid var(--border-color);
}

.copyright {
  display: block;
}

a.linkbtn_orange {
  position: relative;
  margin: 17px 0px;
}

a.linkbtn_orange:after {
  position: absolute;
  top: 50%;
  right: 11px;
  margin-top: -8px;
  content: "";
  width: 15px;
  height: 15px;
  background-size: 15px;
  background-image: url(/wp-content/themes/appmedia/images/icon_arrow.png);
  background-repeat: no-repeat;
}

a.linkbtn_orange:hover:after {
  background-image: url(/wp-content/themes/appmedia/images/icon_arrow_hover.png);
}

a.linkbtn_arrow {
  padding: 14px 34px 13px 19px !important;
  color: var(--link-color) !important;
  border: 1px solid var(--link-color);
  border-radius: 2px!important;
  margin: 17px 0px;
}
a.linkbtn_arrow:hover {
  background: var(--link-color) !important;
}

.mobile .thumbnail_linktag .blog-card-thumbnail {
  width: 44%;
  min-height: auto;
  height: auto;
}

.mobile .blog-card-thumbnail img {
  width: 100%;
  height: auto !important;
}

.new_menu_style li {
  padding: 0;
}

.new_menu_style .select_menu a {
  background: var(--thema-color1);
  color: var(--pc-header-menu-text);
}

.product_image {
  width: 300px;
  display: block;
  margin: 0 auto 10px;
}

.blog-card-thumbnail img {
  height: auto !important;
}

.copyright {
  font-size: 12px;
}

.left_menu .left_menu_inside {
  border: 1px solid #c1c5c8;
}

/* .sidebar_content #side_comment.comment_list .top_side_title {
  padding: 7px 15px 7px 15px !important;
} */

/* #pc_header_menu li a.select_menu {
  border-bottom: 3px solid var(--thema-color3) !important;
  color: var(--pc-header-menu-text) !important;
  background: var(--thema-color1) !important;
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

#pc_header_menu li a {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
} */

#pc_header_menu li a.select_menu {
    background: var(--thema-color1) !important;
    color: #fff;
    border-bottom: 2px var(--thema-color3) solid;
}
#pc_header_menu li a:hover {
    background: var(--thema-color1) !important;
    color: #fff;
}

.contents_list h2 {
  background-color: var(--h2-bg-color);
  display: inline-block;
  letter-spacing: 4px;
  width: 100%;
  box-sizing: border-box;
  padding: 0.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 h3 {
  background: var(--h3-bg-color);
  font-size: 13px;
}

.nav_left_menu p.game_right_contents {
  font-size: 10px;
  color: #888;
  margin: 5px 0 0;
}

.pc_post_header {
  padding: 0;
}

#container .left_menu_s h2, #container .left_menu_s .ac2,
#container .left_menu_s_new h2, #container .left_menu_s_new .ac2,
#main #breadcrumb_cat_b .left_menu_s .nav_left_menu h2,
#main #breadcrumb_cat_b .left_menu_s .nav_left_menu .ac2,
#main #breadcrumb_cat_b .left_menu_s_new .nav_left_menu h2,
#main #breadcrumb_cat_b .left_menu_s_new .nav_left_menu .ac2,
#container .left_menu_s .game_right, #container .left_menu_s_new .game_right {
  background: #fff;
  color: var(--text-general);
  font-size: 13px;
  padding: 7px 15px 7px 9px;
  text-align: left;
  border-left: 5px solid var(--thema-color3);
  font-weight: bold;
}

#container .left_menu_s .leftmenu_title,
#container .left_menu_s_new .leftmenu_title {
  border-left: 3px solid var(--thema-color3);
}

#container .left_menu_s ul li a,
#container .left_menu_s_new ul li a {
  padding: 8px 5px;
}

.mobile .left_menu_s ,.mobile .left_menu_s_new{
  margin: 8px;
}
.ipad .left_menu_s , .ipad .left_menu_s_new{
  margin: 10px;
}

#pop_up_background .left_menu_s , #pop_up_background .left_menu_s_new{
  margin: 0;
}

#breadcrumb_cat .nav_left_menu li h3, #breadcrumb_cat .nav_left_menu li .ac3{
  border-left: none !important;
}


.calender .checked.calender_switch_newgame,
.calender .checked.calender_switch_newgamesoft {
  border-top: 3px solid var(--thema-color3);
}

.am_appli_section .am_appli_h2::before {
  border-bottom: 4px solid var(--thema-color3)!important;
}

/* .left_menu_s h2,
.left_menu_s .ac2,
.nav_left_menu .game_right {
  background: #fff!important;
  color: var(--text-general);
  font-size: 13px;
  padding: 7px 15px 7px 9px;
  text-align: left;
  border-left: 4px solid var(--thema-color3);
  font-weight: bold;
} */

#container #wrap #wrap-in #side h2 {
  font-size: 14px;
}

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

.top_side_title,
#container #wrap #wrap-in #side .popular_and_new_articles_wrapper h2 {
  background-color: #fff !important;
  color: var(--text-general) !important;
  border-left: 5px solid var(--thema-color3);
  border-right: 1px solid var(--border-color);
}

.contents_list ul li a {
  width: 100%;
  height: 100%;
  color: #6a361f;
  text-align: center;
  font-weight: 700;
  padding: 0.5em;
  align-items: center;
  justify-content: center;
  display: flex;
}

.contents_list ul {
  display: flex;
  flex-wrap: wrap;
  background: #f7f2e8;
  box-sizing: border-box;
}

.contents_list ul li {
  width: 25%;
  text-align: center;
  background: #fff;
  border-right: 1px solid #ca893c;
  border-bottom: 1px solid #ca893c;
  position: relative;
  box-sizing: border-box;
}

.contents_list ul li:first-child,
.contents_list ul li:nth-child(5) {
  border-left: 1px solid #ca893c;
}

.post-content p {
  font-size: 14px;
  line-height: 1.6em;
  word-break: break-all;
}

#main .popular_and_new_articles_wrapper {
  margin-top: 10px;
}

#side .popular_and_new_articles_wrapper {
  border-top: 1px solid var(--border-color);
}
#side .popular_and_new_articles_wrapper .tab:nth-child(1) {
  border-left: 1px solid var(--border-color);
}
#side .popular_and_new_articles_wrapper .tab:nth-child(2) {
  border-right: 1px solid var(--border-color);
}

#main .popular_and_new_articles_wrapper > .tab.active,
#wrap-in .popular_and_new_articles_wrapper > .tab.active,
#side .popular_and_new_articles_wrapper > .tab.active {
  background-color: #fff;
  color: #141718;
  border-top: 4px solid #f37a62;
  border-bottom: none;
}

#side-l .side_news_list {
  border: 1px solid var(--border-color);
}

#side-l .topsales_ranking .top_side_title {
  padding: 7px 9px 7px !important;
  border-right: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

#t_calender {
  border-bottom: 1px solid var(--border-color);
}

#side-l .am_appli_section .am_appli_box {
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.popular_and_new_articles_wrapper > .tab {
  border-bottom: none;
  border: 1px solid #d5e5ef;
  background-color: var(--h3-bg-color);
  color: #a3abc5;
  box-sizing: border-box;
  cursor: pointer;
}

.post-content h4 {
  border-left: none;
  position: relative;
  padding-left: 14px;
  color: var(--h4-text-color);
}

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

.post-content h2 {
  border: none;
  border-radius: 0;
  padding: 10px;
  font-size: 16px;
  margin: 30px 0 10px 0;
  color: #fff;
  background: var(--thema-color2);
  border-bottom: 5px solid var(--thema-color3);
  position: relative;
}

#appmedia_ad_ranking .header_label {
  background: var(--thema-color2)!important;
  border-bottom: 5px solid var(--thema-color3)!important;
}

.post-content .contents_list h2 {
  border-bottom: none;
}

.post-content h3 {
  font-size: 15px !important;
  text-align: left;
  padding: 6px 6px 6px 10px;
  margin: 20px 0px 10px 0px;
  border-left: 5px solid var(--thema-color4);
  border-bottom: 2px solid var(--thema-color4);
}

.game_right {
  border-bottom: 1px solid #ddd;
}

#comments #reply-title {
  background: var(--thema-color2);
}

.searchform_search_button {
  background-color: var(--thema-color3) !important;
}

body ._category_pc_header {
  background-color: var(--body-color);
}

/* body.archive #slide {
  background-color: var(--body-color)!important;
} */

#slide .searchform_search_button {
  background-color: var(--thema-color3) !important;
}

.ranking_headline {
  background: var(--thema-color1);
  color: #fff;
}

#pc_top #main {
  border: 1px solid var(--border-color);
}

@media screen and (max-width: 1024px) {
  body {
    background-color: #f1f4f9;
  }
  /* #breadcrumb {
    border-bottom: 1px solid #e5e6e7;
  } */
  div#breadcrumb div {
    color: #333333;
  }
}

@media screen and (max-width: 480px) {
  body {
    background-color: #fff;
  }

  #searchform {
    margin-bottom: 10px;
  }

  #breadcrumb_cat .nav_left_menu li h3 {
    border-left: none !important;
  }

  .game_right_contents {
    color: #677886;
    padding: 1em;
  }

  div#breadcrumb_cat h2 {
    font-size: 15px;
  }

  .select_menu {
    background: none;
    border-bottom: none;
  }

  .archive h1 {
    margin: 10px;
  }

  .search_input_wrapper .searchform_search_button,
  #main .searchform_search_button {
    background-color: var(--thema-color3) !important;
  }

  .archive #main {
    padding: 0;
  }

  .search_input_wrapper {
    text-align: center;
    width: 93%;
  }

  #main #searchform {
    margin: 6px 0 10px;
  }

  .search_input_wrapper .searchform_search_button,
  #main .searchform_search_button {
    padding: 0.5em;
    height: auto;
  }

  .contents_list ul li a {
    font-size: 14px;
  }

  .contents_list ul li a {
    width: auto;
    height: auto;
    padding-left: 16px;
  }

  .contents_list ul li:before {
    left: -3%;
    top: 24%;
  }


}

/* .partition {
  font-size: 13px !important;
  border-width: 3px !important;
  border-color: #8f8f8f;
  padding-bottom: 5px;
  margin-bottom: 8px;
}
.post-content hr {
  border: none;
  font-size: 13px !important;
  border-width: 3px !important;
  border-color: #8f8f8f !important;
  padding-bottom: 2px !important;
  display: block;
  margin: 3px 0;
  border-bottom: 1px dotted #b9cbd4;
}
@media (max-width: 480px) {
  .partition,
  .post-content hr {
    font-size: 11px !important;
  }
} */

#main .popular_and_new_articles_wrapper .popular_articles .popular_article .rank_balloon {
  background-color: #f37a62 !important;
}

div.pagination span.current {
  background-color: var(--thema-color3);
  border-radius: 2px;
  font-weight: bold;
}

div.pagination a {
  background: #fbc9c9;
  border-radius: 2px;
  color: #fff;
}
