@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;
  color:var(--WHT);
}

#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);
}

@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: 297px;
}


.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);
}


.bg-lmain .lib-wrr-001__band::before {
    border-top-color: var(--LMAIN);
}


#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(--OTH) !important;
  }
}


@media print, screen and (min-width: 992px) {
  .lib-wide__outer:has(.lib-cnt-ride__outer):has(.flex-lg-row) {
      padding-right: unset !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;
}
*/

/*
@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;
}

.frame-rounded {
  border-radius: 5px;
  overflow: hidden;
}

@media print, screen and (min-width: 576px) {
  .frame-rounded {
    border-radius: 10px;
  }
}


/* mv */
.custom-top-slide__txtarea {
  padding: 15px;
  line-height: 1.75;
}
@media print, screen and (max-width: 991.8px) {
  .custom-top-slide__txtarea .fs-h2 {
    font-size: min(6.5vw,2.5rem);
  }
}
.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 (min-width: 992px) {
  .custom-top-slide .lib-fv__slide {
    background-image: url(/dcms_media/image/mv-bg.webp);
    background-repeat: no-repeat;
    background-size: 47.8% auto;
    background-position: left bottom 30px;
  }
}
@media print, screen and (max-width: 991.8px) {
  .custom-top-slide__txtarea {
    background-image: url(/dcms_media/image/mv-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

@media print, screen and (max-width: 1680px) {
  .custom-top-slide .lib-fv__slide {
    background-size: auto 570px;
  }
}


@media print, screen and (max-width: 991.8px) {
  .custom-top-slide .container{
    max-width: unset;
    line-height: 1;
    padding-left: 0;
    padding-right: 0;
  }
  .custom-top-slide .lib-wide__outer {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

@media print, screen and (min-width: 992px) {
  .custom-top-slide__txtarea h1 {
    font-size: min(3vw,2.5rem);
  }

  .custom-top-slide__row {
    display: flex;
  }
  .custom-top-slide__row > * {
    width: 50%;
    height: 500px;
    display: flex;
    flex: unset;
    overflow: visible;
  }
  .custom-top-slide__row .custom-top-slide__txtarea {
    width: 45%;
  }

  .custom-top-slide__row .custom-top-slide__thumb {
    width: 55%;
  }

  .custom-top-slide__txtarea {
    flex-direction: column;
    justify-content: center;
  }
  .custom-top-slide__txtarea .mt-lg-5 {
    margin-top: 3rem!important;
  }
  .custom-top-slide__thumb .lib-fv__thumb {
    margin-right: calc((100vw - 100%)/ 2 * -1);
    width: calc((100vw - 100%) / 2 + 59.1%);
  }
  .custom-top-slide__thumb img {
    object-fit:cover;
    height: 100%;
    object-position: center;
  }
}

@media print, screen and (min-width: 1500px) {
  .custom-top-slide__row  > * {
    height: 600px;
  }
}


@media print, screen and (min-width: 768px) and (max-width: 1200px) {
  .custom-top-slide__txtarea {
    padding-left: 50px;
  }
}