@charset "UTF-8";
/*===============================================
●main.css 画面の横幅が770px以上
===============================================*/
@media screen and (min-width: 770px) {
  #main_img {
    background-image: url(../img/dx_list/main_img.jpg);
  }
  #dx_contents {
    width: 100%;
    float: left;
    clear: both;
  }
  #conts_news {
    padding-top: 6px;
  }
  #conts_news h2 {
    margin-bottom: 10px;
    margin-right: 113px;
  }
  #conts_news .news_box {
    margin-bottom: 0;
  }
  #conts_news .news_box {
    width: 100%;
    clear: both;
    float: left;
    padding: 2px 0 80px;
    margin-left: 12px;
  }
  #conts_news .news_box li {
    width: 100%;
    clear: both;
    float: left;
    border-bottom: 2px solid #f4f2f3;
  }
  #conts_news .news_box li:last-child {
    margin-bottom: 0;
    border: none;
  }
  #conts_news .news_box li a {
    padding: 26px 24px 26px 0;
    display: block;
    position: relative;
    transition: all 0.4s;
  }
  #conts_news .news_box li a:hover {
    text-decoration: none;
  }
  #conts_news .news_box li a::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 16px;
    display: block;
    background-image: url(../img/dx_list/right_arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    transition: all 0.4s ease;
  }
  #conts_news .news_box li a:hover::before {
    right: 0;
  }
  #conts_news .news_box li .date {
    width: 80px;
    font-size: 15px;
    display: inline-block;
    line-height: 1.4;
  }
  #conts_news .news_box li .text {
    font-size: 19px;
    display: inline-block;
    font-weight: 600;
    position: relative;
  }
  #conts_news .news_box li .text::after {
    content: "";
    width: 0;
    transition: all 0.4s ease;
    border-bottom: 2px solid #e37c90;
    display: block;
    position: absolute;
    bottom: -3px;
  }
  #conts_news .news_box li a:hover .text::after {
    width: 100%;
  }
  /*▼▼一覧ページャー▼▼*/
  #conts_news .pagination {
    width: 100%;
    text-align: center;
    color: #fff;
  }
  #conts_news .pagination .nav-links {
    display: inline-block;
    padding: 0 60px;
    position: relative;
  }
  #conts_news .pagination .nav-links>* {
    vertical-align: middle;
  }
  #conts_news .pagination h2 {
    display: none;
  }
  #conts_news .pagination .nav-links a,
  .pagination .nav-links span {
    width: auto;
    min-width: 32px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    display: inline-block;
    border-radius: 100px;
    padding: 10px 6px;
    margin: 0 4px;
  }
  #conts_news .pagination .nav-links a {
    transition-duration: 0.3s;
    background-color: #e7e7e7;
  }
  #conts_news .pagination .nav-links a:hover {
    text-decoration: none;
  }
  #conts_news .pagination .nav-links .current,
  #conts_news .pagination .nav-links .page-numbers:hover {
    background-color: #f7dee3;
    color: #292929;
  }
  #conts_news .pagination .nav-links .dots:hover {
    color: #cfcfcf;
    background-color: transparent;
  }
  #conts_news .pagination .nav-links .prev:hover,
  #conts_news .pagination .nav-links .next:hover {
    color: #f1899f;
    background-color: transparent;
  }
  #conts_news .pagination .nav-links .dots {
    border: none;
    font-size: 25px;
    line-height: 1;
    padding: 5px 0;
    margin: 0;
    color: #cfcfcf;
  }
  #conts_news .pagination .nav-links .prev,
  .pagination .nav-links .next {
    height: 37px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 11px;
    background-color: #fff;
    color: #f1899f;
    position: absolute;
  }
  #conts_news .pagination .nav-links .next {
    display: inline-block;
    background-color: #fff;
    background-image: url(../img/dx_list/right_arrow.png);
    background-repeat: no-repeat;
    background-position: right 10px top 13px;
    background-size: 10px;
    right: 0;
    top: 0;
    transition: all 0.3s;
  }
  #conts_news .pagination .nav-links .next:hover {
    background-position: right 5px top 13px;
  }
  #conts_news .pagination .nav-links .prev {
    display: inline-block;
    background-color: #fff;
    background-image: url(../img/dx_list/left_arrow.png);
    background-repeat: no-repeat;
    background-position: 10px 13px;
    background-size: 10px;
    left: 0;
    top: 0;
    transition: all 0.3s;
  }
  #conts_news .pagination .nav-links .prev:hover {
    background-position: 5px 13px;
  }
  #conts_news .pagination .nav-links a img {
    width: 11px;
    display: block;
  }
  /*▲▲一覧ページャー▲▲*/
}
/*===============================================
●sp.css  画面の横幅が769pxまで（iPhone6 横向きまで）
===============================================*/
@media screen and (max-width: 769px) {
  #main_img {
    background-image: url(../img/dx_list/main_img.jpg);
  }
  #dx_contents {
    width: 92%;
    clear: both;
    float: left;
    margin: 0 4%;
  }
  /*detail_content*/
  #conts_news {
    padding-top: 0;
  }
  #conts_news h2 {
    margin-bottom: 10px;
  }
  #conts_news .news_box {
    margin: 0 auto;
  }
  #conts_news .news_box .item {
    border-bottom: 1px solid #dde2dc;
  }
  #conts_news .news_box .item a {
    display: block;
    padding: 20px 26px 20px 0;
    position: relative;
  }
  #conts_news .news_box .item a:hover {
    text-decoration: none;
  }
  #conts_news .news_box .item:last-of-type {
    margin-bottom: 0;
    border-bottom: none;
  }
  #conts_news .news_box .item .date {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 6px;
    display: inline-block;
  }
  #conts_news .news_box .item .text {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    display: inline;
  }
  #conts_news .news_box li a::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 13px;
    display: block;
    background-image: url(../img/dx_list/right_arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
  #conts_news .news_box li .text::after {
    content: "";
    width: 0;
    transition: all 0.4s ease;
    border-bottom: 2px solid #e37c90;
    display: block;
    position: absolute;
    bottom: -6px;
  }
  /*▼▼一覧ページャー▼▼*/
  #conts_news .pagination {
    width: 100%;
    padding-top: 60px;
    text-align: center;
    color: #fff;
  }
  #conts_news .pagination .nav-links {
    display: inline-block;
    padding: 0 24px;
    position: relative;
    text-align: center;
    letter-spacing: -0.4em;
    font-size: 0;
  }
  #conts_news .pagination .nav-links>* {
    vertical-align: middle;
  }
  #conts_news .pagination h2 {
    display: none;
  }
  #conts_news .pagination .nav-links a,
  .pagination .nav-links span {
    width: 32px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: normal;
    display: inline-block;
    border-radius: 50%;
    padding: 6px 0 5px;
    margin: 0 4px;
  }
  #conts_news .pagination .nav-links a {
    background-color: #e7e7e7;
    color: #292929;
  }
  #conts_news .pagination .nav-links .current {
    background-color: #f7dee3;
    color: #292929;
  }
  #conts_news .pagination .nav-links .dots {
    width: auto;
    height: auto;
    border: none;
    font-size: 16px;
    line-height: 1;
    padding: 5px 0;
    margin: 0;
    color: #d8d4d4;
  }
  #conts_news .pagination .nav-links .prev,
  #conts_news .pagination .nav-links .next {
    height: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 11px;
    background-color: #fff;
    color: #f1899f;
    position: absolute;
  }
  #conts_news .pagination .nav-links .next {
    display: inline-block;
    background-image: url(../img/dx_list/right_arrow.png);
    background-repeat: no-repeat;
    background-position: right 10px top 13px;
    background-size: 8px;
    right: -20px;
    top: -2px;
  }
  #conts_news .pagination .nav-links .prev {
    display: inline-block;
    background-image: url(../img/dx_list/left_arrow.png);
    background-repeat: no-repeat;
    background-position: 10px 13px;
    background-size: 8px;
    left: -20px;
    top: -2px;
  }
  #conts_news .pagination .nav-links a img {
    width: 11px;
    display: block;
  }
}