@charset "UTF-8";

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

.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;
  background-repeat: no-repeat;
  color: #FFF;
}

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




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

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

/* 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(--MAIN);
  border-color: var(--MAIN);
  color: var(--WHT);
  width: 50px;
  height: 50px;
}
.lib-footer__sns>li>a:before {
  font-size: 2rem;
}

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


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


.bg-center {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media print, screen and (max-width: 767.8px) {
  .bg-center.bg-column {
    background-size:200% auto;
    background-position: bottom right;

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

.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, .custom-top2-slide .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, .custom-top2-slide .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, .custom-top2-slide .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(--ACC) !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 (max-width: 991.8px) {
  .lib-cnt-011__col:nth-child(4n) .lib-card__item, .lib-cnt-011__col:nth-child(4n-3) .lib-card__item {
      background-color: var(--LMAIN);
  }
  .lib-cnt-011__col:nth-child(4n-1) .lib-card__item, .lib-cnt-011__col:nth-child(4n-2) .lib-card__item {
    background-color: var(--WHT);
  }
}
@media print, screen and (min-width: 992px) {
  .lib-cnt-011__outer:nth-child(odd)>.lib-cnt-011__col:nth-child(odd) .lib-card__item {
      background-color: var(--LMAIN);
  }
  .lib-cnt-011__outer:nth-child(odd)>.lib-cnt-011__col .lib-card__item {
    background-color: var(--WHT);
  }
}



/*top mv */
.custom-top-slide__txtarea {
  padding: 15px;
  line-height: 1.75;
}

.custom-top-slide__thumb img{
    object-fit: unset;
    width: 100%;
    height: auto;
}

.custom-top-slide__thumb .lib-fv__thumb {
  height: unset;
}


.custom-top-slide .lib-fv__slide {
  background-image: url(/dcms_media/image/recruit-top-mainimage-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


@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;
  }
  .custom-top-slide .lib-fv__inside {
    padding-bottom:0;
  }
}

.custom-top-slide__txtarea h1,
.custom-top2-slide__txtarea h1 {
  font-size: min(7.2vw,2.75rem);
}

.custom-top-slide__row .custom-top-slide__thumb {
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;

}

.custom-top-slide__thumb img {
  max-width: 774px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media print, screen and (min-width: 860px) {
  .custom-top2-slide__txtarea h1 {
    font-size: min(4vw,2.75rem);
  }
}

@media print, screen and (min-width: 992px) {
  .custom-top-slide__txtarea h1 {
    font-size: min(3.5vw,2.75rem);
  }
  .custom-top2-slide__txtarea h1 {
    font-size: min(3.75vw,3rem);
  }
  .custom-top-slide__row {
    display: flex;
  }
  .custom-top-slide__row > * {
    width: 50%;
    height: 600px;
    display: flex;
    flex: unset;
    overflow: visible;
  }
  .custom-top-slide__row .custom-top-slide__txtarea {
    width: 52%;
    padding-right: 40px;
  }

  .custom-top-slide__row .custom-top-slide__thumb {
    padding-left: 0;
    padding-right: 0;
    width: 48%;
  }

  .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 + 38%);
  }
  .custom-top-slide__thumb img {
    object-fit:contain;
    height: 100%;
    object-position: center;
    max-width: 774px;
  }
}

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


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

.top-mv-bottom {
  margin-top: -5px !important;
}
@media print, screen and (min-width: 768px) {
  .top-mv-bottom {
    margin-top: -30px !important;
  }
}
@media print, screen and (min-width: 992px) {
  .top-mv-bottom {
    margin-top: -100px !important;
  }
}

.ruby-other {
  position: relative;
}
.ruby-other:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: var(--OTH);
  position: absolute;
  left:0;
  right:0;
  margin-left: auto;
  margin-right: auto;
  top:-8px;
}


.lib-flow-005__col.grid-row3 {
  grid-row: span 3;
}




/*top mv 2 */
.custom-top2-slide__txtarea {
  padding: 40px 40px;
  line-height: 1.75;
}
.custom-top2-slide__txtarea h2 {
  font-size: min(6vw,2.5rem);
}

.custom-top2-slide__thumb img{
    object-fit: cover;
    width: 100%;
    /*height: auto;*/
}

.custom-top2-slide__thumb .lib-fv__thumb {
  height: 100%;
}
@media print, screen and (max-width: 992px) {
  .custom-top2-slide .container {
    max-width: unset;
    line-height: 1;
  }
}

@media print, screen and (max-width: 859.8px) {
  .custom-top2-slide .container {
    height: 100%;
  }
  .custom-top2-slide .lib-wide__outer {
    height: 100%;
  }
  .custom-top2-slide .custom-top2-slide__row {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

@media print, screen and (min-width: 860px) {
  .custom-top2-slide__txtarea h2 {
    font-size: min(2.8vw,2.5rem);
  }

  .custom-top2-slide__row {
    display: flex;
  }
  .custom-top2-slide__row > * {
    width: 53.5%;
    height: 600px;
    display: flex;
    flex: unset;
    overflow:visible;
  }
  .custom-top2-slide__row > *:nth-child(2) {
    width: 46.5%;
  }
  .custom-top2-slide__txtarea {
    flex-direction: column;
    justify-content: center;
  }
  .custom-top2-slide__txtarea .mt-lg-5 {
    margin-top: 3rem!important;
  }
  .custom-top2-slide__thumb .lib-fv__thumb {
    margin-right: calc((100vw - 100%)/ 2 * -1);
    width: calc((100vw - 100%) / 2 + 43%);
    border-radius: 0 0 0 50px;
    height: unset;
  }
  .custom-top2-slide__thumb img {
    object-fit:cover;
    height: 100%;
    object-position: center;
  }
}

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

@media print, screen and (min-width: 860px) and (max-width: 1200px) {
  .custom-top2-slide__row > * {
    height: 450px;
  }
}

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

@media print, screen and (min-width: 860px) and (max-width: 1250px) {
  .custom-top2-slide__txtarea {
    padding-left: 70px;
  }
}

@media print, screen and (max-width: 859px) {
  .custom-top2-slide__txtarea {
    min-height: unset;
    /*flex-grow: unset;*/
    background-image: url(/dcms_media/image/mv2-bg-sp.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  .custom-top2-slide__thumb {
    /* flex-grow: unset; */
    min-height: 450px;
    max-height: 450px;
  }
  .custom-top2-slide .lib-fv__slider .lib-swiper__btn {
    top: calc((100% - 450px) / 2);
    z-index: 3 !important;
  }
}

@media print, screen and (max-width: 480px) {
  .custom-top2-slide__txtarea {
    min-height: unset;
  }
  .custom-top2-slide__thumb {
    min-height: 300px;
    max-height: 300px;
  }
  .custom-top2-slide .lib-fv__slider .lib-swiper__btn {
    top: calc((100% - 300px) / 2);
  }
}
