/* -------------tb mode------------- */
@media screen and (max-width: 1024px) {
  /* AD */
  .ad-area.ad-area_img {
    min-height: 280px;
    background: none; /* nv-wp: 旧広告ダミー画像は不使用 */
    background-size: contain;
  }

  .ad_area_2clm a div.ad-area_img {
    min-height: 280px;
    background: none; /* nv-wp: 旧広告ダミー画像は不使用 */
    background-size: auto;
  }

  /* header */
  #nav_btn {
    top: 9px;
    left: 15px;
  }

  /* sidebar */
  #sidebar {
    font-size: 16px;
    min-width: inherit;
  }
  #sidebar .side_ttl {
    font-size: 20px;
  }

  #ranking ul li a:before {
    font-size: 32px;
    left: 15px;
  }
  #ranking .ranking_ttl {
    font-size: 18px;
  }
  #ranking .ranking_list {
    font-size: 16px;
    padding-left: 60px;
  }
  #ranking .ranking_list .ranking_img img {
    width: 100%;
    height: auto;
  }

  #side_new_article .new_article_ttl {
    font-size: 18px;
  }
  #side_new_article .new_article_list {
    font-size: 16px;
    justify-content: flex-start;
  }
  #side_new_article .new_article_list .new_article img {
    width: 100%;
    height: auto;
  }

  #recommend ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  #recommend ul li .ad-txt {
    width: 100%;
    margin-left: 20px;
  }

  #writer_pickup span.list_author_name {
    font-size: 18px;
  }
  #writer_pickup ul li {
    float: left;
    width: 50%;
    display: block;
  }

  #side_share ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
  }
  #side_share ul li {
    width: 48%;
  }

  /* footer */
  #footer ul.tag_list li:nth-child(n+30):nth-last-child(n) {
    display: none;
  }

  /* main */
  .sp_tab_only {
    display: block;
  }

  #outer {
    display: block;
    padding: 80px 0;
  }

  #main {
    width: 100%;
    margin-right: 0;
  }

  /* sidebar */
  #sidebar {
    width: 100%;
  }
}
/* -------------sp mode------------- */
@media screen and (max-width: 767px) {
  /* AD */
  .ad_area_2clm {
    display: none;
  }

  .sp_only {
    display: block;
  }

  .pc_only {
    display: none;
  }

  .ad-area.ad-area_img {
    min-height: 250px;
    background: none; /* nv-wp: 旧広告ダミー画像は不使用 */
    background-size: auto;
  }

  .ad-area_l.ad-area_img {
    min-height: 250px;
    background: none; /* nv-wp: 旧広告ダミー画像は不使用 */
    background-size: auto;
  }

  .text-header {
    font-size: 12px;
    margin-bottom: 0;
  }
  .text-header span.list_author_icon img {
    width: 24px;
    height: 24px;
    border-radius: 12px;
  }
  .text-header span.list_author_name {
    margin-left: 5px;
  }
  .text-header span.list-item_date {
    font-family: 'Oswald', sans-serif;
    color: #878787;
  }

  span.y:after {
    content: "-";
  }
  span.m:after {
    content: "-";
  }
  span.d:after {
    content: "";
  }
  span.g {
    margin-left: 10px;
  }
  span.g:after {
    content: ":";
  }
  span.i:after {
    content: "";
  }

  #breadcrumb {
    display: none;
  }

  /* header */
  header {
    height: 40px;
  }

  #nav_btn {
    position: static;
  }
  #nav_btn .category_nav, #nav_btn .search_nav {
    background: #333333;
    border: none;
    border-radius: none;
  }
  #nav_btn .category_nav:hover, #nav_btn .search_nav:hover {
    background: #333333;
  }
  #nav_btn .search_nav {
    position: absolute;
    top: 0;
    right: 20px;
    width: 40px;
    height: 40px;
    margin-right: 0;
  }
  #nav_btn .search_nav #search-btn {
    width: 40px;
    height: 40px;
  }
  #nav_btn .search_nav #search-btn span {
    width: 26px;
    height: 27px;
  }
  #nav_btn .category_nav {
    position: absolute;
    top: 0;
    left: 20px;
    width: 40px;
    height: 40px;
  }

  #nav-open {
    width: 40px;
    height: 40px;
  }
  #nav-open span {
    top: -16px;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    width: 23px;
    background: #ffffff;
  }

  header nav#nav_bar {
    display: none;
  }

  .search-area {
    top: 40px;
  }
  .search-area form {
    position: relative;
    width: 80%;
    height: 40px;
  }
  .search-area form input {
    height: 40px;
  }
  .search-area form input[type="search"] {
    padding: 0 8px 0 40px;
  }

  .search-area_box {
    height: 60px;
  }

  #category_nav-content {
    margin-top: 39px;
  }

  .header_center {
    text-align: center;
  }

  .logo_ttl {
    float: none;
    width: 138px;
    height: 40px;
    background: url(../img/news_vision_logo.svg) no-repeat center;
    margin-right: 0;
    margin-left: 0;
  }

  /* sidebar */
  #sidebar {
    font-size: 13px;
  }
  #sidebar .side_ttl {
    font-size: 14px;
  }

  #ranking ul li a:before {
    font-size: 22px;
    left: 5px;
  }
  #ranking .ranking_ttl {
    font-size: 14px;
  }
  #ranking .ranking_list {
    font-size: 14px;
    padding-left: 35px;
  }

  #pickup_pr {
    line-height: 1.6em;
  }
  #pickup_pr ul li a:before {
    font-size: 22px;
    left: 5px;
  }
  #pickup_pr .pickup_pr_ttl {
    font-size: 14px;
    position: relative;
  }
  #pickup_pr span {
    position: absolute;
    top: 8px;
    right: 15px;
    color: #333333;
    line-height: 1;
    padding: 5px 10px;
    background: #cccccc;
  }
  #pickup_pr .pickup_list {
    font-size: 14px;
  }

  #side_new_article .new_article_ttl {
    font-size: 14px;
  }
  #side_new_article .new_article_list {
    font-size: 14px;
  }

  #recommend ul li {
    text-align: center;
  }
  #recommend ul li a {
    display: block;
  }
  #recommend ul li .ad-txt {
    width: 100%;
    text-align: left;
    margin-left: 0;
  }

  #writer_pickup span.list_author_icon img {
    border-radius: 23px;
    width: 46px;
    height: 46px;
  }
  #writer_pickup span.list_author_name {
    font-size: 14px;
  }

  #side_share ul {
    display: block;
  }
  #side_share ul li {
    width: 100%;
  }

  /* footer */
  #footer .footer_box {
    width: 100%;
    padding: 0;
  }
  #footer p.popular_key, #footer ul.tag_list {
    display: none;
  }

  .other_nav_link {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
  .other_nav_link ul li {
    float: none;
    position: relative;
    padding-right: 0;
    border-bottom: 1px solid #878787;
  }
  .other_nav_link ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    font-weight: bold;
    border-right: none;
    padding: 15px 17px;
  }
  .other_nav_link ul li:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 17px;
    width: 9px;
    height: 11px;
    background: url(../img/arrow01.svg) no-repeat;
    background-size: contain;
  }

  /* main */
  #outer {
    padding: 60px 0;
  }

  #content h1 {
    font-size: 23px;
    font-weight: bold;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  #content.main_content h1 {
    margin-bottom: 15px;
  }
  #content.main_content .indent_txt p {
    text-indent: 0;
  }
}
