/* ----------------------------------------------------------
General Settings
---------------------------------------------------------- */
.nwcic01 {
  background-color: var(--color-1st);
}
.nwcic02 {
  background-color: var(--color-2nd);
}
.nwcic03 {
  background-color: var(--color-3rd);
}
.nwcic04 {
  background-color: #ff0033;
}
.nwcic05 {
  background-color: var(--color-4th);
}

/* 選択外タブ */
.tabbox {
  display: none;
}
/*画像トリミング*/
.img-wrap {
  /*padding-top: 75%;*/
  padding-top: 56.25%;
  position: relative;
}
.img-inner {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
}
.img-inner img {
  width: 100% !important;
}
/*youtube 16:9固定*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
/* ----------------------------------------------------------
Style for PCs
---------------------------------------------------------- */
@media screen and (min-width: 1025px) {
  .news_base {
    width: 100%;
    height: auto;
    display: block;

    position: relative;
  }
    

  /* News tab */
  .nwtablist {
    width: 800px;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
  }
  .nwtablist li {
    width: calc(90% / 5 ); /*ボタン５個*/
    margin: 0 1%;
  }
  .nwtablist li.nwtselected {
    height: 25px;
    text-align: center;
    font-size: 12px;
    line-height: 23px;
    ;
    color: var(--color-white);
    border-radius: 3px;
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li.active a, .nwtablist li.active a:hover {
    color: var(--color-white);
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li a {
    width: 100%;
    height: 25px;
    display: block;
    line-height: 23px;
    text-decoration: none;
    color: var(--color-1st);
    border: 1px solid var(--color-1st);
    border-radius: 3px;
    text-align: center;
  }
  .nwtablist li a:hover {
    color: var(--color-white);
    background-color: var(--color-4th);
    border: 1px solid var(--color-4th);
  }
  .newslistcc {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
          padding-bottom: 43px; 
  }
  .news_base li.nwsl_cc {
    width: 30.3333333333%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0 1.5% 30px;
    background-color: var(--color-white);
  }
  .nwsl_cc {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }
  .nwsl_cc a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }
  .nwimg {
    width: 100%;
  }
  .nwcc {
    width: 100%;
  }
  .nwcc p.nwcateic {
    width: fit-content;
    height: 25px;
    display: block;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    padding: 0 10px;
    border-bottom-left-radius: 5px;
    margin: 0 0 0 auto;
  }
  .nwcc_cc {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 25px 25px 25px;
  }
  .nwsl_cc a .nwcc_cc h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
  }
    .nwsl_cc a .nwcc_cc h3.youtube-h3 {
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_com {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_date {
    font-size: 10px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-1st);
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_bn {
    width: fit-content;
    height: 25px;
    display: block;
    font-size: 10px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-1st);
    border-radius: 3px;
    padding: 0 30px 0 10px;
    background-image: url(../img/header/ic-ar_h_w.svg);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: auto 60%;
    transition: .4s all;
    margin-bottom: 0px;
  }
  .nwsl_cc a:hover .nwcc_cc p.nwp_bn {
    background-color: var(--color-4th);
  }
}
/* ----------------------------------------------------------
Style for iPad Pro
---------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .news_base {
    width: 100%;
    height: auto;
    display: block;

    position: relative;
  }

  /* Tab */
  .nwtablist {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto 30px;
  }
  .nwtablist li {
    width: calc(90% / 5 ); /*ボタン５個*/
    margin: 0 1%;
  }
  .nwtablist li.nwtselected {
    height: 25px;
    text-align: center;
    font-size: 12px;
    line-height: 23px;
    ;
    color: var(--color-white);
    border-radius: 3px;
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li.active a, .nwtablist li.active a:hover {
    color: var(--color-white);
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li a {
    width: 100%;
    height: 25px;
    display: block;
    line-height: 23px;
    text-decoration: none;
    color: var(--color-1st);
    border: 1px solid var(--color-1st);
    border-radius: 3px;
    text-align: center;
  }
  .nwtablist li a:hover {
    color: var(--color-white);
    background-color: var(--color-4th);
    border: 1px solid var(--color-4th);
  }
  /* News list */
  .newslistcc {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
      

    padding-bottom: 43px; 

      
  }
  .news_base li.nwsl_cc {
    width: 46%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0 2% 30px;
    background-color: var(--color-white);
  }
  .nwsl_cc {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }
  .nwsl_cc a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }
  .nwimg {
    width: 100%;
  }
  .nwcc {
    width: 100%;
  }
  .nwcc p.nwcateic {
    width: fit-content;
    height: 25px;
    display: block;
    margin-left: auto;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    padding: 0 10px;
    border-bottom-left-radius: 5px;
  }
  .nwcc_cc {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 25px 25px 25px;
  }
  .nwsl_cc a .nwcc_cc h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
  }
    
        .nwsl_cc a .nwcc_cc h3.youtube-h3 {
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_com {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_date {
    font-size: 10px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-1st);
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_bn {
    width: fit-content;
    height: 25px;
    display: block;
    font-size: 10px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-1st);
    border-radius: 3px;
    padding: 0 30px 0 10px;
    background-image: url(../img/header/ic-ar_h_w.svg);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: auto 60%;
    transition: .4s all;
  }
  .nwsl_cc a:hover .nwcc_cc p.nwp_bn {
    background-color: var(--color-4th);
  }
}
/* ----------------------------------------------------------
Style for Smartphone
---------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .news_base {
    width: 100%;
    height: auto;
    display: block;

    position: relative;
  }

  .nwtablist {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 30px;
  }
  .nwtablist li {
    width: calc(94% / 3 ); /*ボタン3個並び*/
    margin: 0 1% 2%;
  }
  .nwtablist li.nwtselected {
    height: 25px;
    text-align: center;
    font-size: 12px;
    line-height: 23px;
    color: var(--color-white);
    border-radius: 3px;
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li.active a, .nwtablist li.active a:hover {
    color: var(--color-white);
    background-color: var(--color-1st);
    border: 1px solid var(--color-1st);
  }
  .nwtablist li a {
    width: 100%;
    height: 25px;
    display: block;
    line-height: 23px;
    text-decoration: none;
    color: var(--color-1st);
    border: 1px solid var(--color-1st);
    border-radius: 3px;
    text-align: center;
  }
  .nwtablist li a:hover {
    color: var(--color-white);
    background-color: var(--color-4th);
    border: 1px solid var(--color-4th);
  }
  /* News list */
    
  .newslistcc {
    width: 100%;
    height: auto;

          padding-bottom: 43px; 
  }
    
    
  .news_base li.nwsl_cc {
    margin: 5px 0.2% 15px !important;
    background-color: var(--color-white);
  }
  .nwsl_cc {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }
  .nwsl_cc a {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }
  .nwimg {
    width: 100%;
  }
  .nwcc {
    width: 100%;
  }
  .nwcc p.nwcateic {
    width: fit-content;
    height: 25px;
    display: block;
    margin-left: auto;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    padding: 0 10px;
    border-bottom-left-radius: 5px;
    margin: 0 0 0 auto;
  }
  .nwcc_cc {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 25px 25px 25px;
  }
  .nwsl_cc a .nwcc_cc h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
  }
        .nwsl_cc a .nwcc_cc h3.youtube-h3 {
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_com {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-black);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_date {
    font-size: 10px;
    font-weight: 400;
    line-height: 1em;
    color: var(--color-1st);
    margin-bottom: 10px;
  }
  .nwsl_cc a .nwcc_cc p.nwp_bn {
    width: fit-content;
    height: 25px;
    display: block;
    font-size: 10px;
    line-height: 25px;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-1st);
    border-radius: 3px;
    padding: 0 50px 0 10px;
    background-image: url(../img/header/ic-ar_h_w.svg);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: auto 60%;
    transition: .4s all;
    margin: 0 auto;
  }
  .nwsl_cc a:hover .nwcc_cc p.nwp_bn {
    background-color: var(--color-4th);
  }
}