/* News CSS */
/* _setting CSS */
@keyframes category_wrap_open {
  0% {
    height: 0;
    margin: 0;
    transform: scale(0);
  }
  99% {
    margin: 0 0 90px;
    transform: scale(1);
  }
  100% {
    height: 100%;
  }
}
@keyframes category_wrap_close {
  0% {
    transform: scale(1);
    margin: 0 0 90px;
  }
  99% {
    transform: scale(0);
    margin: 0;
  }
  100% {
    height: 0;
  }
}
@keyframes sp_category_wrap_open {
  0% {
    height: 0;
    margin: 0;
    transform: scale(0);
  }
  99% {
    margin: 0 0 50px;
    transform: scale(1);
  }
  100% {
    height: 100%;
  }
}
@keyframes sp_category_wrap_close {
  0% {
    transform: scale(1);
    margin: 0 0 50px;
  }
  99% {
    transform: scale(0);
    margin: 0;
  }
  100% {
    height: 0;
  }
}
/* Desktops and laptops */
@media print, screen and (min-width: 701px) {
  #main_title {
    margin: 0 0 50px;
  }

  p {
    line-height: 1.6;
  }

  .sp {
    display: none !important;
  }

  #content_news form select {
    width: 230px;
    border: solid 1px #ccc;
    border-radius: 5px;
    height: 50px;
    font-size: 15px;
    color: #666;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 15px;
    background: url(../images/news/arrow.png) 190px 20px/17px 9px no-repeat;
    background-color: #f0f0f0;
  }
  #content_news form select::-ms-expand {
    display: none;
  }
  #content_news .tab {
    display: flex;
    flex-wrap: wrap;
    border-top: solid 1px #c9c9c9;
    border-bottom: solid 1px #c9c9c9;
    margin-top: 30px;
  }
  #content_news .tab li {
    font-size: 15px;
    margin-left: 30px;
    cursor: pointer;
    color: #333;
    border-bottom: solid 3px transparent;
  }
  #content_news .tab li a{
    display: block;
    padding: 28px 30px 22px;
  }
  #content_news .tab li a:hover{
    text-decoration: none;
  }
  #content_news .tab li.select {
    font-weight: bold;
    border-bottom: solid 3px #333;
  }
  #content_news .tab li:hover {
    border-bottom: solid 3px #333;
  }
  #content_news .tab_content a {
    display: block;
    padding: 34px 10px 32px;
    border-bottom: dotted 1px #c9c9c9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #content_news .tab_content a:hover {
    text-decoration: none;
    background: #f3f3f3;
  }
  #content_news .tab_content a time {
    font-size: 14px;
    margin-right: 40px;
  }
  #content_news .tab_content a span {
    color: #fff;
    padding: 4px 12px 3px;
    border-radius: 3px;
    width: 110px;
    display: block;
    text-align: center;
  }
  #content_news .tab_content a span.news {
    background: #c7292b;
  }
  #content_news .tab_content a span.product {
    background: #008dbf;
  }
  #content_news .tab_content a span.media {
    background: #ff982b;
  }
  #content_news .tab_content a span.event {
    background: #8aa523;
  }
  #content_news .tab_content a span.info {
    background: #008dbf;
  }
  #content_news .tab_content a p {
    width: 800px;
    margin-left: 40px;
  }
  #content_news .wp-pagenavi {
    width: 100%;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  #content_news .wp-pagenavi .page {
    font-size: 16px;
    display: block;
    padding: 10px 0;
    margin: 0 3px;
    width: 32px;
    background: #f6f6ee;
    color: #333;
    border-radius: 5px;
  }
  #content_news .wp-pagenavi .page:hover {
    background: #cc3d3e;
    color: #fff;
    text-decoration: none;
  }
  #content_news .wp-pagenavi .previouspostslink {
    font-size: 12px;
    color: #6e6e6e;
    margin-right: 15px;
  }
  #content_news .wp-pagenavi .previouspostslink:before {
    content: '<';
    margin-right: 10px;
  }
  #content_news .wp-pagenavi .previouspostslink:hover {
    text-decoration: none;
  }
  #content_news .wp-pagenavi .nextpostslink {
    font-size: 12px;
    color: #c93234;
    margin-left: 15px;
  }
  #content_news .wp-pagenavi .nextpostslink:after {
    content: '>';
    margin-left: 10px;
    color: #c93234;
  }
  #content_news .wp-pagenavi .nextpostslink:hover {
    text-decoration: none;
  }
  #content_news .wp-pagenavi span {
    width: 32px;
    padding: 10px 0;
    margin: 0 3px;
    color: #fff;
    border-radius: 5px;
    background: #cc3d3e;
  }

  #detail .back_link {
    padding: 30px 0 20px 0;
  }
  #detail .back_link .btn_common {
    width: 200px;
    margin-right: 5px;
    margin-bottom: 0;
    display: inline-block;
  }
  #detail #article_wrap .hd_wrap {
    padding: 10px 8px 18px !important;
    margin: 0 auto 30px;
  }
  #detail #article_wrap .hd_wrap p {
    color: #7d7d7d;
    margin: 5px 0 10px !important;
  }
  #detail #article_wrap .hd_wrap p span {
    font-size: 12px;
    padding: 3px 25px;
    border-radius: 3px;
    color: #fff;
    margin-left: 8px;
    background: #c7292b;
  }
  #detail #article_wrap p {
    font-size: 16px;
    color: #666;
  }
  #detail #article_wrap a {
    position: relative;
  }
  #detail #article_wrap a.link_blank:after {
    content: '';
    background: url(../images/news/blank_icon.png) top right no-repeat;
    width: 12px;
    height: 10px;
    position: absolute;
    top: 3px;
    right: -18px;
  }
  #detail #article_wrap a.link_pdf:after {
    content: '';
    background: url(../images/news/pdf_icon.png) top right no-repeat;
    width: 19px;
    height: 20px;
    position: absolute;
    top: -5px;
    right: -25px;
  }
  #detail .news_nav {
    position: relative;
    border-top: solid 1px #e5e5e5;
    width: 1100px;
    margin: 0 auto;
    padding-top: 32px;
    overflow: hidden;
  }
  #detail .news_nav .news_nav_all{
    text-align: center;
  }
    #detail .news_nav .news_nav_back{
    position: absolute;
    left: 0;
    top: 60px;
  }
    #detail .news_nav .news_nav_next{
    position: absolute;
    right: 0;
    top: 60px;
  }
  #detail .news_nav .news_nav_back a {
    font-size: 13px;
    color: #6e6e6e;
  }
  #detail .news_nav .news_nav_back:before {
    content: '<';
    margin-right: 10px;
  }
  #detail .news_nav .news_nav_all a {
    width: 410px;
    display: inline-block;
    padding: 28px 0;
    background: #c93234;
    font-size: 18px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    position: relative;
  }
  #detail .news_nav .news_nav_all a:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 20px;
    box-sizing: border-box;
    border: 6px solid transparent;
    border-left: 8px solid #fff;
  }
  #detail .news_nav .news_nav_all a:hover {
    text-decoration: none;
    background: #333;
  }
  #detail .news_nav .news_nav_next a {
    font-size: 13px;
    color: #c93234;
  }
  #detail .news_nav .news_nav_next:after {
    content: '>';
    color: #c93234;
    margin-left: 10px;
  }
}
/* Smartphones (portrait and landscape) */
@media screen and (max-width: 700px) {
  p {
    line-height: 1.6;
  }

  .pc {
    display: none !important;
  }

  #content_news form select {
    width: 100%;
    border: solid 1px #ccc;
    border-radius: 5px;
    height: 50px;
    font-size: 15px;
    color: #666;
    background: #f0f0f0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 15px;
    background: url(../images/news/arrow.png) 94% 20px/17px 9px no-repeat;
    background-color: #f0f0f0;
  }
  #content_news .tab {
    display: flex;
    flex-wrap: wrap;
    border-top: solid 1px #c9c9c9;
    border-bottom: solid 1px #c9c9c9;
    margin-top: 30px;
  }
  #content_news .tab li {
    font-size: 14px;
    text-align: center;
    padding: 20px 0 16px;
    width: calc((100% - 30px) / 5);
    margin-left: 5px;
    cursor: pointer;
    color: #333;
  }
  #content_news .tab li.select {
    font-weight: bold;
    border-bottom: solid 3px #333;
  }
  #content_news .tab li:hover {
    border-bottom: solid 3px #333;
  }
  #content_news .tab_content a {
    display: block;
    padding: 22px 10px 20px;
    border-bottom: dotted 1px #c9c9c9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #content_news .tab_content a:hover {
    text-decoration: none;
    background: #f3f3f3;
  }
  #content_news .tab_content a time {
    font-size: 13px;
    margin: 2px 12px 0 0;
  }
  #content_news .tab_content a span {
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    width: 100px;
    text-align: center;
    font-size: 12px;
  }
  #content_news .tab_content a span.news {
    background: #c7292b;
  }
  #content_news .tab_content a span.product {
    background: #008dbf;
  }
  #content_news .tab_content a span.media {
    background: #ff982b;
  }
  #content_news .tab_content a span.event {
    background: #8aa523;
  }
  #content_news .tab_content a span.info {
    background: #008dbf;
  }
  #content_news .tab_content a p {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
  }
  #content_news .wp-pagenavi {
    width: 100%;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  #content_news .wp-pagenavi .page {
    font-size: 16px;
    display: block;
    padding: 10px 0;
    margin: 0 3px;
    width: 32px;
    background: #f6f6ee;
    color: #333;
    border-radius: 5px;
  }
  #content_news .wp-pagenavi .page:hover {
    background: #cc3d3e;
    color: #fff;
    text-decoration: none;
  }
  #content_news .wp-pagenavi .previouspostslink {
    font-size: 12px;
    color: #6e6e6e;
    margin-right: 15px;
  }
  #content_news .wp-pagenavi .previouspostslink:before {
    content: '<';
    margin-right: 10px;
  }
  #content_news .wp-pagenavi .previouspostslink:hover {
    text-decoration: none;
  }
  #content_news .wp-pagenavi .nextpostslink {
    font-size: 12px;
    color: #c93234;
    margin-left: 15px;
  }
  #content_news .wp-pagenavi .nextpostslink:after {
    content: '>';
    margin-left: 10px;
    color: #c93234;
  }
  #content_news .wp-pagenavi .nextpostslink:hover {
    text-decoration: none;
  }
  #content_news .wp-pagenavi span {
    width: 32px;
    padding: 10px 0;
    margin: 0 3px;
    color: #fff;
    border-radius: 5px;
    background: #cc3d3e;
  }

  .more_btn a {
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
    display: block;
    text-align: center;
    background: #333;
    color: #fff;
    padding: 16px 0;
    border-radius: 5px;
  }

  #detail .back_link {
    padding: 30px 0 20px 0;
  }
  #detail .back_link .btn_common {
    width: 200px;
    margin-right: 5px;
    margin-bottom: 0;
    display: inline-block;
  }
  #detail #article_wrap .hd_wrap {
    margin: 0 auto 20px;
  }
  #detail #article_wrap .hd_wrap p {
    color: #7d7d7d;
    margin: 0;
    padding: 15px 2.6% 0;
  }
  #detail #article_wrap .hd_wrap p span {
    font-size: 12px;
    padding: 3px 25px;
    border-radius: 3px;
    color: #fff;
    margin-left: 8px;
    background: #c7292b;
  }
  #detail #article_wrap p {
    font-size: 12px;
    color: #666;
  }
  #detail #article_wrap a {
    position: relative;
    color: #0061ab;
  }
  #detail #article_wrap a.link_blank:after {
    content: '';
    background: url(../images/news/blank_icon.png) top right no-repeat;
    width: 12px;
    height: 10px;
    position: absolute;
  }
  #detail #article_wrap a.link_pdf:after {
    content: '';
    background: url(../images/news/pdf_icon.png) top right no-repeat;
    width: 19px;
    height: 20px;
    position: absolute;
  }
  #detail .news_nav {
    width: 100%;
  }
  #detail .news_nav .news_nav_back {
    display: none;
  }
  #detail .news_nav .news_nav_all a {
    width: 92%;
    margin: 0 auto;
    display: block;
    padding: 20px 0;
    background: #c93234;
    font-size: 17px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    position: relative;
  }
  #detail .news_nav .news_nav_all a:before {
    content: '';
    position: absolute;
    top: 22px;
    left: 20px;
    border: 6px solid transparent;
    border-left: 8px solid #fff;
  }
  #detail .news_nav .news_nav_all a:hover {
    text-decoration: none;
    background: #333;
  }
  #detail .news_nav .news_nav_next {
    display: none;
  }
}
