@charset "UTF-8";

.fntMin {
  font-family: var(--fntMin);
}
.fntEN {
  font-family: var(--fntEN);
}


.mt-n5 { 
  margin-top: -1.5rem !important; 
}

@media print, screen and (min-width: 576px) {
  .mt-n5 {
    margin-top: -3rem !important;
  }
}

/* header調整 */

@media (hover: hover) {
  .lib-header__outer.lib-header-BS02 .lib-nav__btn:hover {
    opacity: 0.7;
  }
}



@media print, screen and (min-width: 992px) {
  .is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__btn .txt {
    font-size: 0.875rem;
  }
}


.lib-hero__outer {
  /*border-bottom: 5px solid var(--MAIN);*/
  background-image:url(/dcms_media/image/pagetitle-bg.webp);
  background-size: cover;
  background-position:center;
}




/*
#wrapper:has(.lib-header-BS02) .lib-hero__outer {
  min-height: 185px;
}
*/

.lib-hero__title {
  /*color:var(--WHT);*/
  /*text-shadow: 2px 2px 5px rgba(255, 255, 255, .8), -2px 2px 5px rgba(255, 255, 255, .8), 2px -2px 5px rgba(255, 255, 255, .8), -2px -2px 5px rgba(255, 255, 255, .8);*/
}

.before-bg-main::before {
  background-color: var(--MAIN) !important;
}

.lib-indent__list.--image .thumb {
  overflow: visible;
}


.lib-breadcrumb__outer {
  background-color: var(--LGRY);
}

/*
.lib-breadcrumb__list li a, .lib-breadcrumb__list li a[aria-current=location] {
  color:var(--WHT);
}
.lib-breadcrumb__list li::after {
  color:var(--WHT);
}
*/

/* media */
@media print, screen and (min-width: 768px) {
  .media-relation__cover {
    flex-wrap: wrap;
  }
}




@media print, screen and (min-width: 768px) {
  .lib-rss__001 .lib-rss__title {
    display: block;
  }
  .lib-rss__001 .lib-rss__title a {
    display: block;
  }
}


.lib-footer__sns>li>a {
  background-color:var(--MAIN);
  border-color: var(--MAIN);
  color: var(--WHT);
}

/*
.lib-footer__sns>li>span {
  width: 40px;
  height: 40px;
}

@media print, screen and (min-width: 576px) {
  .lib-footer__sns>li>span {
    width: 35px;
    height: 35px;
  }
}
*/


@media (hover: hover) {
  .lib-footer__sns>li>a:hover {
    background-color:var(--WHT);
    color: var(--MAIN);
  }
}


.lib-footer__outer .lib-footer__sns>li>a[target=_blank]::after {
  content:none !important;
}


.lib-footer__logo {
  max-width: 100%;
  width: 230px;
}



.bg-center {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-bottom {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.bg-lother .lib-title__outer.--typeD :where(.title),
.bg-lgry .lib-title__outer.--typeD :where(.title),
.bg-lmain .lib-title__outer.--typeD :where(.title) {
  border-color: var(--GRY);
}

.fntEn {
  font-family: var(--fntEN);
}


#tinymce .lib-fv-004 .lib-fv__thumb {
  display: inline-block;
}
#tinymce .custom-top-slide .lib-fv__thumb {
  height: auto;
}
#tinymce .lib-fv-004 .lib-fv__txtarea {
  width: 70%;
  left:15%;
}




/* top youtube */
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 0;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}




  .bg-lgry .swiper-pagination-bullet {
    background-color: var(--DGRY) !important;
    border:1px solid var(--DGRY);
  }
  .bg-lgry .swiper-pagination-bullet:hover {
    border:1px solid var(--MAIN) !important;
    opacity: 0.7 !important;
  }
  .bg-lgry .swiper-pagination-bullet-active {
    background-color: var(--MAIN) !important;
    border:1px solid var(--MAIN);
  }


.bg-none {
  background: none !important;
}
.of-visible {
  overflow: visible !important;
}

  /*
  .lib-wrr-002__cover::after {
    content:"";
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: var(--WHT);
    z-index: -1;
  }
  .lib-wrr-002__cover.before-wht::before {
    background-color: #ffffff;
  }
  .lib-wrr-002__cover.before-acc::before {
    background-color: var(--ACC);
  }
  */

.mb-n100 {
  margin-bottom: -100px;
}

/* footer */

.lib-footer__sns > li > a.--fb.--line::before {
  content: "\ea16";
}

.bg-main .border-wht[class*=__btn].bg-wht {
  border-color: var(--WHT);
}

@media print, screen and (min-width: 992px) {
  .lib-footer__utility {
    background-color: var(--MAIN) !important;
  }
}

@media print, screen and (min-width: 992px) {
  .lib-wide__outer:has(.lib-cnt-ride__outer):has(.flex-lg-row) {
      padding-right: unset !important;
  }
}


/*
.lib-footer__guidance>li~li:before {
  background-color: var(--WHT) !important;
}
*/

@media print, screen and (max-width: 400px) {
  .lib-footer__guidance a {
      font-size: 2.8vw;
  }
}





/*
#tinymce .top-mv .d-block.d-md-none {
  display:block !important;
}
*/




/* MV */
@media print, screen and (min-width: 768px) {
  .custom-top-slide .lib-fv__slide {
    background-image: url(/dcms_media/image/mainimage-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
  }
}

.custom-top-slide__txtarea {
  padding: 30px 15px;
  line-height: 1.75;
}
.custom-top-slide__txtarea h2 {
  font-size: min(10vw,3.125rem);
}
.custom-top-slide__thumb img {
  object-fit: unset;
  width: 100%;
  height: auto;
}
.custom-top-slide__thumb .lib-fv__thumb {
  height: unset;
}

@media print, screen and (max-width: 992px) {
  .custom-top-slide .container{
    max-width: unset;
    line-height: 1;
  }
}

@media print, screen and (min-width: 768px) {
  .custom-top-slide__txtarea h2 {
    font-size: min(3.5vw,3.125rem);
  }
  .custom-top-slide__row {
    display: flex;
  }
  .custom-top-slide__row > * {
    width: 51.5%;
    height: 500px;
    display: flex;
    /*flex: unset;*/
  }
  .custom-top-slide__row > *:nth-child(2) {
    width: 48.5%;
  }

  .custom-top-slide__txtarea {
    display: flex;
    align-items: end;
  }
}

@media print, screen and (max-width: 767.8px) {
  .custom-top-slide__row {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media print, screen and (min-width: 768px) {
  .custom-top-slide .lib-fv__thumb {
    height: 500px;
  }
  .custom-top-slide__row > * {
    height: 500px;
  }
}

@media print, screen and (min-width: 768px) and (max-width: 1100px) {
  .custom-top-slide .fs-h1 {
    font-size: min(3.6vw,2rem);
  }
  .custom-top-slide .fs-h5 {
    font-size: min(2.2vw,1.25rem);
  }
}
@media print, screen and (max-width: 575.8px) {
  .custom-top-slide .fs-h1 {
    font-size: min(7vw,1.875rem);
  }
}

@media print, screen and (min-width: 576px) and (max-width: 767.8px) {
  .custom-top-slide .lib-fv__thumb {
    height: auto;
  }
}

.custom-top-slide .lib-fv__thumb {
  display: flex;
  align-items: end;
}
.custom-top-slide .lib-fv__thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  object-position: center;
}

@media print, screen and (min-width: 992px) {
  .custom-top-slide .lib-fv__thumb img {
    object-position: bottom;
  }
}

@media print, screen and (max-width: 575.8px) {
  .custom-top-slide .lib-fv__thumb {
    height:auto;
  }
  .custom-top-slide .lib-fv__thumb img {
    object-fit: contain;
    height: auto;
  }
}


@media print, screen and (max-width: 767.8px) {
  .custom-top-slide__txtarea {
    min-height: 310px;
    /*background-image: url(/dcms_media/image/mainimage-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color:var(--WHT) ;
    padding-top: 50px;*/
  }
}


.mv-bg-text {
  color:#EBEBEB;
  font-size: 4.5vw;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin-top: -5px;
  position: relative;
  z-index: 2;
}
@media print, screen and (max-width: 767.8px) {
  .mv-bg-text {
    font-size: 8.5vw;
  }
}

@media print, screen and (min-width: 992px) {
  #contents.top-contents {
    padding-top: 6rem;
  }
}


/*
@media print, screen and (min-width: 576px) {
  .lib-fv__thumb {
      height: 700px;
      padding-bottom: 80px;
  }
}
*/



@media print, screen and (max-width: 991.8px) {
 .lib-swiper__btn {
   top: unset!important;
   bottom: 0!important;
   z-index: 3 !important;
 }
}







.lib-tab__panel {
  box-shadow: none !important;
}


@media (hover: hover) {
  .bg-lmain button.lib-cnt-021__btn:hover {
    color:var(--MAIN);
  }
}