/*    
  Add by Misaki*
  2021/09/27
*/

body {
  min-height: inherit;
  height: auto;
}

.pr,
.pr > div {
  width: 100%;
  position: relative;
}
.pr:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: radial-gradient(
      rgba(255, 255, 255, 0.2) 35%,
      transparent 36%
    ),
    radial-gradient(rgba(255, 255, 255, 0.2) 35%, transparent 36%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}
@media (min-width: 992px) {
  .pr:before {bottom: 0;}
}

.pr_catch {
  position: absolute;
  top: 0;
  bottom: calc(3rem + 50px);
  left: 15px;
  right: 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pr_catch img {
  width: 500px;
}
@media (min-width: 768px) {
  .pr_catch {
    display: block;
    top: 3rem;
    bottom: auto;
    width: 53%;
    max-width: inherit;
    margin: auto;
  }
  .pr_catch img {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .pr_catch {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    margin: 0;
    width: auto;
  }
}

.pr #info-block{width:auto; position:absolute; bottom:1rem; right:1rem; z-index: 4;}
.pr #info-block img{width:26vw;}
/* @media (min-width: 576px) {
.pr #info-block img{width:200px;}
} */
@media (min-width: 768px) {
.pr #info-block{right:2rem; bottom:2rem;}
.pr #info-block img{width:180px;}
}
@media (min-width: 1400px) {
.pr #info-block img{width:250px;}
}

/*
.pr #info-headline {
  display: block;
  position:relative;
  z-index:5;
}
.pr #info-headline > div {
  overflow: hidden;
 
  padding: 0.5rem 1.5rem;
  background-color: #fff;
  display: flex; flex-direction: column;
}
.pr #info-headline > div > p{margin:0; text-align:right;}
.pr #info-headline > div a.btn-more{margin:0;}
@media (min-width:  768px) {
.pr #info-headline > div {display: flex; justify-content:space-between; align-items:center; flex-direction: row;}
.pr #info-headline > div > a:first-child{flex:1;}
.pr #info-headline > div > p{margin:0 0 0 1rem;}
.pr #info-headline > div a.btn-more{display:inline-flex; align-items:center;}
}
@media (min-width: 992px) {
  .pr #info-headline > div {height: 50px;}
}
@media (min-width: 1200px) {
  .pr #info-headline {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    z-index: 3;
    overflow: hidden;
  }
}

.pr #info-headline .swiper-slide {
  display: flex;
}
.pr #info-headline .swiper-slide > a {
  flex: 1;
  align-items: center;
}
.pr #info-headline .swiper-slide > a span.news__label-date {
  color: #7a7a7a;
  font-size: 0.95rem;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  width: 90px;
}
.pr #info-headline .swiper-slide > a span:last-child {
  flex: 1;
}
*/
/* デフリン追加 20230216 */
.pr #info-headline a span.news__label-cat {
  background-color: #1D2088;
  color: white;
  margin-right: 0.5rem;
  padding: 0.2rem 0.5rem;
  font-family: "Barlow", sans-serif;;
}

.pr #info-headline a span.news__label-date {
  font-family: "Barlow", sans-serif;;
}

/* デフリン追加 20230306 開始 */
#info-headline .news__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 425px;
}
@media (min-width: 992px) {
  #info-headline .news__title {
    width: 650px;
  }
}
@media (min-width: 1200px) {
  #info-headline .news__title {
    width: 280px;
  }
}
@media (min-width: 1400px) {
  #info-headline .news__title {
    width: 380px;
  }
}
@media (min-width: 1600px) {
  #info-headline .news__title {
    width: 480px;
  }
}
@media (min-width: 1800px) {
  #info-headline .news__title {
    width: 580px;
  }
}
/* デフリン追加 20230306 終了 */

.pr .pr_banner {
  position: absolute;
  bottom: 1rem ;
  left: 0.8rem;
  z-index: 2;
  width: 28%;

  transform: translateY(100px);
  visibility: hidden;
  opacity: 0;
  transition: all .8s ease-in-out;
}
.pr .pr_banner a img {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.pr .pr_banner a:hover img {
  opacity: 0.7;
}
@media (min-width: 768px) {
  .pr .pr_banner {
    bottom: 2rem;
    left: 1.5rem;
    width: 150px;
  }
}
@media (min-width: 992px) {
  .pr .pr_banner {bottom:2rem;}
}
@media (min-width: 1400px) {
  .pr .pr_banner {width: auto;}
}

.pr_video {
  position: relative;
  overflow: hidden;
  padding-top: 133%;
}

.pr_video #video {
  object-fit: cover;
  position: absolute;
  width: auto;
  height: auto;
  z-index: -1000;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(1);
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
}
.pr_video video {
  width: 100%;
}

@media (max-width: 768px) {
  .pr_video #video {
    padding: 0;
  }
}

@media (min-width: 768px) {
  .pr_video {
    padding-top: 56.25%;
  }
  .pr_video #video {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* @media (min-width: 992px) {
  .pr_video #video {
    transform: translate(-50%, -50%) scale(1.3);
  }
} */
@media (min-width: 1200px) {
  .pr_video {
    padding-top: 40%;
  }
}
/* @media (min-width: 1400px) {
  .pr_video {
    padding-top: calc(100vh - 105px);
  }
} */

/* ======
  main
 ====== */

main {
  overflow: hidden;
}

main section {
  position: relative;
}

@media (min-width: 992px) {
  main section:not(:first-of-type) div.container-y {
    padding-top: 7rem;
  }
}

.btn-default {
  border-radius: 50px;
}

/* ======
  headline
 ====== */
h2.headline {
  margin-bottom: 1.5rem;
}

.layout {
  display: block;
}
.layout .layout_img {
  margin: 0 0 1.5rem 0;
}
.layout .layout_text {
  padding: 0 15px;
}
@media (min-width: 992px) {
  .layout {
    display: flex;
    padding-left: 0;
    padding-right: 0;
  }
  .layout img {
    width: 100%;
  }
  .layout .layout_img {
    width: 50%;
  }
  .layout.imgleft .layout_img {
    margin: 0 2.5rem 0 0;
  }
  .layout.imgright .layout_img {
    margin: 0 0 0 2.5rem;
  }
  .layout .layout_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .layout.imgleft .layout_text {
    margin-right: calc((100% - 960px) / 2);
  }
  .layout.imgright .layout_text {
    margin-left: calc((100% - 960px) / 2);
  }
}
@media (min-width: 1200px) {
  .layout.imgleft .layout_text {
    margin-right: calc((100% - 1140px) / 2);
  }
  .layout.imgright .layout_text {
    margin-left: calc((100% - 1140px) / 2);
  }
}
@media (min-width: 1400px) {
  .layout.imgleft .layout_text {
    margin-right: calc((100% - 1320px) / 2);
  }
  .layout.imgright .layout_text {
    margin-left: calc((100% - 1320px) / 2);
  }
}

.aboutus .aboutus_inner {
  background: url(/wp-content/themes/cld/assets/img/index_about_bg.png)
    no-repeat;
  background-position: top 0 center;
  background-size: cover;
}
.aboutus .layout .layout_text {
  justify-content: center;
}
.aboutus .layout .layout_img {
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 768px) {
  .aboutus .img_link {
    margin: 0 -0.5rem;
  }
  .aboutus .img_link > a {
    margin: 0 0.5rem;
  }
}
@media (min-width: 992px) {
  .aboutus {
    background: url(/wp-content/themes/cld/assets/img/index_about_bg.png)
      no-repeat;
    background-position: top 0 right;
    background-size: 70% auto;
  }
  .aboutus .aboutus_inner {
    background: transparent;
  }
  .aboutus .layout .layout_img {
    padding-left: 0;
    padding-right: 0;
  }
}

.products h2.headline {
  color: #fff;
}
.products > svg {
  display: block;
  width: 100%;
}
.products_inner {
  color: #fff;
}
.products_inner > div.products_inner_tab ul.nav {
  counter-reset: number 0;
}
.products_inner > div.products_inner_tab ul.nav button {
  border: none;
  padding: 0;
  background-color: transparent;
  color: var(--blue);
  display: block;
  width: 100%;
  text-align: left;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.products_inner > div.products_inner_tab ul.nav button {
  padding: 1rem 2rem 1rem 0;
  position: relative;
}
.products_inner > div.products_inner_tab ul.nav button:before,
.products_inner > div.products_inner_tab ul.nav button:after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.products_inner > div.products_inner_tab ul.nav button::before {
  right: 0;
  width: 13px;
  height: 13px;
  background-color: var(--blue);
}
.products_inner > div.products_inner_tab ul.nav button::after {
  right: 5px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
  rotate: 45deg;
  z-index: 1;
}
.products_inner > div.products_inner_tab ul.nav button.active,
.products_inner > div.products_inner_tab ul.nav button:hover,
.products_inner > div.products_inner_tab ul.nav button.active span:before,
.products_inner > div.products_inner_tab ul.nav button:hover span:before {
  color: #fff;
}
.products_inner > div.products_inner_tab ul.nav button span:before {
  color: var(--blue);
  counter-increment: number 1;
  content: counter(number, decimal-leading-zero) " ";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  display: block;
  margin: 0 0 5px;
  font-size: 1.3rem;
  font-family: "Barlow", sans-serif;
}
.products_inner > div.products_inner_tab ul.nav li:not(:last-child) button {
  border-bottom: 1px solid var(--blue);
}
.products .btn-more {
  color: #fff;
}
.products .btn-more::before,
.products_inner > div.products_inner_tab ul.nav button.active::before,
.products_inner > div.products_inner_tab ul.nav button:hover::before {
  background-color: #fff;
}
.products .btn-more::after {
  border-top-color: var(--main);
  border-right-color: var(--main);
}
@media (min-width: 768px) {
  .products_inner {
    display: flex;
    flex-direction: row-reverse;
  }
  .products_inner > div.products_inner_tab {
    width: 45%;
    margin-right: 30px;
    padding-top: 4%;
  }
  .products_inner > div.products_inner_tab ul.nav li:nth-child(n+1):nth-child(-n+2) button{
    font-size: 1.7rem;
  }
  /*
  //.products_inner > div.products_inner_tab ul.nav {
  //  flex: 1;
  //}
  */
  .products_inner div.tab-content {
    flex: 1;
  }
  .products_inner > div.products_inner_tab ul.nav button {
    padding: 1.5rem 2rem 1.5rem 0;
    font-size: 1.5rem;
  }
  .products_inner > div.products_inner_tab ul.nav button span {
    display: flex;
    align-items: center;
  }
  .products_inner > div.products_inner_tab ul.nav button span:before {
    margin: 0 1rem 0 0;
    font-size: 2.2rem;
    width: 45px;
  }
}

.topics_swiper {
  padding: 0 15px;
}
.topics_swiper .swiper-wrapper {
  padding: 30px 0;
}
.topics_swiper .swiper-slide {
  width: 28%;
}
.topics_swiper + .swiper-pagination_wrap {
  align-items: center;
}
.topics_swiper + .swiper-pagination_wrap .swiper-pagination-progressbar {
  position: static;
  background-color: #dadada;
  flex: 1;
}
.topics_swiper
  + .swiper-pagination_wrap
  .swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background-color: var(--main);
}
@media (min-width: 992px) {
  .topics_swiper {
    margin-left: calc((100% - 960px) / 2);
  }
}
@media (min-width: 1200px) {
  .topics_swiper {
    margin-left: calc((100% - 1140px) / 2);
  }
}
@media (min-width: 1400px) {
  .topics_swiper {
    margin-left: calc((100% - 1320px) / 2);
  }
}
.news div.image {
  margin-bottom: 1rem;
  background-color: #eee;
}
.news div.topics_swiper_date {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.news span {
  color: var(--main);
  display: inline-block;
  position: relative;
  padding-left: 0.8rem;
}
.news span:before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--blue);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 0;
  margin: auto;
}
.news small {
  color: #909090;
  font-family: "Barlow", sans-serif;
}

.index_banner.img_link {
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .index_banner.img_link {
    padding-bottom: 0;
  }
}

.topics_swiper .swiper-slide a.sticky .image p.sticky-icon {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #1D2088;
  color: white;
  padding: 0.2rem 0.8rem;
  z-index: 9999;
}
