@charset "UTF-8";

/* BTN */
.bg-accent,
.bg-accent[class*=__btn][class*=bg-fill] {
  color: #333333;
}

@media print and (hover:hover) and (pointer:fine), screen and (min-width:768px) and (hover:hover) and (pointer:fine) {
  :where(a.badge).bg-accent:hover, 
  :where(a.chip).bg-accent:hover,
  .bg-accent[class*=__btn][class*=bg-fill]:hover {
    color: #333333;
  }
}

.lib-pagetop__btn a .txt {
  border-radius: 10px;
}

@media print, screen and (min-width: 992px) {
  .lib-header__outer.lib-header-BS01 .lib-menu__btn,
  .lib-header__outer.lib-header-BS01 .lib-menu__btn::after {
    border-radius: 10px;
  }
}

/* CTA */
.lib-link__btn.sizeL {
  border-radius: 40px;
}

/* TOP FAQ */
.lib-cnt-025 .lib-cnt-021__panel.lib-toggle__panel {
  display: block;
  padding-top: 5px;
  border-top: none;
}
.lib-cnt-025 .lib-cnt-021__btn.lib-toggle__btn {
  padding-left: 40px;
}

.lib-cnt-021__panel:before {
  color:#333333;
}

.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-025 .lib-cnt-021__btn.lib-toggle__btn {
      padding-left: 55px;
  }
}
@media print, screen and (min-width: 992px) {
  .lib-cnt-025 .lib-cnt-021__btn.lib-toggle__btn {
      display: block;
  }
  .lib-cnt-025 .lib-cnt-021__outer.lib-toggle__outer {
    border-top: var(--GRY) 1px solid;
    border-bottom: var(--GRY) 1px solid;
  }
}



/***************************** 
  utility
*****************************/
.ls-normal{letter-spacing: normal;}


/***************************** 
  メインビジュアル
*****************************/
.top_mv{
  position: relative;
  min-height: 720px;
  overflow: hidden;
}
.top_mv::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3); /* fallback */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.top_mv__fv-txtarea{
  position: relative;
}

/* media */
.top_mv__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}
.top_mv__img{
  width: 50%;
  height: 100%;
}
.top_mv__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* content layer */
.top_mv__content{
  position: relative;
  z-index: 3;
  max-width: 866px;
  width: 100%;
  margin: 0 auto;
  margin-top: 240px;
}
.top_mv__content::before{
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  max-width: 470px;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform: translate( -50%, -50%);
  background: url(/dcms_media/image/top_mv-logo.webp) no-repeat center / contain;
  z-index: -1;
  pointer-events: none;
}

/* content */
.sp-none{display: block;}
.top_mv__title{
  font-size: clamp(2.25rem, 2.976vw, 3.125rem);
  line-height: 1.4;
}
.top_mv__fv-inside{
  max-width: 100%;
}
.top_mv .top_mv__desc{
  margin-top: 1.5rem;
}
.top_mv .top_mv__card-txtarea .top_mv__card-inside{
  padding-bottom: 3rem;
}

.top_mv__btns .col{margin-top: 0;}
.top_mv__link{
  font-size: 1.125rem;
  line-height: 1.3;
}

@media print, screen and (max-width: 767px){
  .top_mv{
    min-height: 740px;
  }
  .top_mv::before{
    background: rgba(0, 0, 0, 0.3); /* fallback */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.2) 100%);
  }

  /* media */
  .top_mv__media{
    flex-direction: column;
  }
  .top_mv__img{
    width: 100%;
    height: 50%;
  }
  /* content layer */
  .top_mv__content{
    max-width: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-inline: 1.875rem;
  }
  .top_mv__content::before{
    max-width: 338px;
  }

  /* content */
  .sp-none{display: none;}
  .top_mv__title{
    font-size: clamp(1.5rem, 4.172vw, 2rem);
    line-height: 1.458;
  }
  .top_mv .top_mv__desc{
    margin-top: 0.5rem;
    font-size: clamp(0.875rem, 2.08vw, 1rem);
  }
  .top_mv .top_mv__card-txtarea .top_mv__card-inside{
    padding-bottom: 1.25rem;
  }
  .top_mv__btns .col:nth-child(2){margin-top: 0.625rem;}
}


/***************************** 
  第一が提供する「3つの価値」
*****************************/
.section_feature{
  background: url('/dcms_media/image/top_feature-bg.webp') no-repeat bottom center / cover;
}

@media print, screen and (min-width: 992px){
  .section_feature{background: none;}
}


/***************************** 
  ご利用の流れ
*****************************/
@media print, screen and (min-width: 992px){
  .section_flow .lib-colgrid__outer{column-gap: 1.75rem;}
}

/***************************** 
  会社案内
*****************************/
.section_company .lib-link__btn:hover{
  border: 2px solid var(--WHT);
}


/***************************** 
  製品例
*****************************/
.product_links .lib-cnt-011__outer:nth-child(odd)>.lib-cnt-011__col:nth-child(odd) .lib-card__item{background-color: var(--LMAIN);}

/**************************** 
    お問い合わせ
****************************/
.cta_contact{
  background: url('/dcms_media/image/cta_contact-bg.webp') no-repeat bottom center / cover;
}


/***************************** 
  sns
*****************************/
.lib-footer__sns>li>a{
  background-color: var(--MAIN);
  border: 2px solid var(--MAIN);
}
.lib-footer__sns>li>a:hover{
  color: var(--MAIN);
}


/***************************** 
    フッター
*****************************/
.lib-footer__copyright{
    background-color: var(--MAIN);
}

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


/**************************** 
    下層ページ用
****************************/
.lib-hero__outer{
    background: url('/dcms_media/image/child_page-header-bg.webp') no-repeat center / cover;
}
.lib-breadcrumb__outer{
    background: var(--MAIN);
    color: var(--WHT);
}
.lib-breadcrumb__list li a,
.lib-breadcrumb__list li a[aria-current=location]{
    color: var(--WHT);
}