@charset "UTF-8";

.fntMin {
  font-family: var(--fntMin);
}
.fntEN {
  font-family: var(--fntEN);
}
.fnt-medium {
  font-weight: 500;
}
.max-60 {
  max-width: 60px;
}

.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-lang__outer li {
  width: 2.5em;
}


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

@media print, screen and (min-width: 768px) {
  #wrapper:has(.lib-header-BS02) .lib-hero__outer {
    min-height: 185px;
  }
}

@media print, screen and (min-width: 1680px) {
    .lib-hero__outer {
        background-size: contain;
        background-color: var(--LGRY);
    }
}
@media print, screen and (max-width: 991.8px) {
    .lib-hero__outer {
        background-position:center right -80px;
    }
}

@media print, screen and (max-width: 767.8px) {
  .lib-hero__outer {
    background-position:center right -160px;
  }
}
/*
@media print, screen and (min-width: 1160px) {
  .lib-hero__outer {
    background-position: right calc((100% / 2) + 560px) 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(--DEF);
}

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


.lib-media__thumb .thumb {
  height: 140px;
  /*background: none;*/
}

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

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

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


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


.bg-top {
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
@media print, screen and (min-width: 768px) and (max-width: 1680px) {
  .bg-top.top-about {
    background-size: 1680px auto;
  }
}

.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),
.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, .bg-lother .swiper-pagination-bullet {
  background-color: var(--DGRY) !important;
  border:1px solid var(--DGRY);
}
.bg-lgry .swiper-pagination-bullet:hover, .bg-lother .swiper-pagination-bullet:hover {
  border:1px solid var(--MAIN) !important;
  opacity: 0.7 !important;
}
.bg-lgry .swiper-pagination-bullet-active, .bg-lother .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";
}

.w-7 {
  width: 7% !important;
}
.w-18 {
  width: 18% !important;
}

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

/*
.lib-fixed__close.before-main::before {
  color: var(--MAIN);
}
.lib-fixed__close.before-main:hover {
  background-color: var(--MAIN); 
}
.lib-fixed__close.before-main:hover::before {
  color: #ffffff;
}
*/

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




@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;
}
*/
.lib-cnt-025 .lib-tab__btn,
.lib-cnt-025 .lib-tab__panel {
  box-shadow: none !important;
}

@media print, screen and (min-width: 768px) {
  .lib-cnt-012__outer .lib-cnt-012__col:nth-child(4n) .lib-card__item, .lib-cnt-012__outer .lib-cnt-012__col:nth-child(4n-3) .lib-card__item {
      background-color: var(--LMAIN);
  }
  .lib-cnt-012__outer .lib-cnt-012__col:nth-child(4n-1) .lib-card__item, .lib-cnt-012__outer .lib-cnt-012__col:nth-child(4n-2) .lib-card__item {
    background-color: var(--WHT);
  }
}

@media print, screen and (max-width: 767.8px) {
  .lib-cnt-012__col .lib-card__item {
    background-color: var(--WHT);
  }
  .lib-cnt-012__col:nth-child(odd) .lib-card__item {
      background-color: var(--LMAIN);
  }
}

/* mv */

.custom-top-slide {
  background-image: url(/dcms_media/image/mv-bg-sp.webp);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
}

@media print, screen and (min-width: 992px) {
  .custom-top-slide {
    background-image: url(/dcms_media/image/mv-bg.webp);
    background-size: cover;
    background-position: center;
  }
}

.custom-top-slide__txtarea {
  padding: 30px 15px;
  line-height: 1.75;
}

.custom-top-slide__txtarea .h1 {
  font-size: min(9vw,3.75rem);
}

@media print, screen and (min-width: 576px) {
  .custom-top-slide__txtarea .h1 {
    font-size: min(6.5vw,3.75rem);
  }
}
.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: 991px) {
  .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(5vw,3.75rem);
  }

  .custom-top-slide__row {
    display: flex;
  }
  .custom-top-slide__row  > * {
    width: 54%;
    height: 450px;
    display: flex;
    flex: unset;
    overflow: visible;
  }
  .custom-top-slide__row  > .custom-top-slide__thumb {
    width: 46%;
  }
  .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 + 42%);
  }
  .custom-top-slide__thumb img {
    object-fit:cover;
    height: 100%;
    object-position: left center;
  }
}

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

@media print, screen and (min-width: 1680px) {
  .custom-top-slide__thumb img {
    object-fit:contain;
    object-position:right center;
  }
}

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

