@charset "UTF-8";

:root {
  interpolate-size: allow-keywords;
  --bl: #000;
  --gray-02: #ccc;
  --grad-01: linear-gradient(90deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-01-rev: linear-gradient(0deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-02: linear-gradient(90deg, var(--ACC) 0%, var(--LACC) 100%);
  --grad-02-rev: linear-gradient(0deg, var(--ACC) 0%, var(--LACC) 100%);
  --grad-03: linear-gradient(90deg, var(--OTH) 0%, var(--LOTH) 100%);
  --grad-03-rev: linear-gradient(0deg, var(--OTH) 0%, var(--LOTH) 100%);
  --transition: all 0.3s ease-in-out;
  --oversize: calc((100% - 100vw) / 2);
}

/* ==================================
リセット・調整・ファンデーション
===================================== */
/* 高さを画像自体の高さにする */
:where(img) {
  /* max-width: 100%; */
  height: auto;
  vertical-align: bottom;
}
:where(.thumb),
:where([class*="__thumb"]) {
  vertical-align: bottom;
  background-color: unset;
}

/*---------- アクセシビリティ ----------*/
/* アイコンをスクリーンリーダーに読み上げられないようにする */
i,
[class*="material-icons"],
[class*="material-symbols"] {
  speak: none;
}

/*---------- BMパーツの調整 ----------*/
/* 疑似要素の削除 */
.no-before::before,
.no-after::after {
  content: unset !important;
}

/* スクロールした後のヘッダーのボタンの高さが変わるときにイージング */
.lib-induce__outer li:has(.lib-induce__btn) {
  transition: all 0.2s;
}

/* ボタンのアイコンを「→」に変更 */
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt:after {
  content: "\ea03";
  font-size: 1em;
} */

/* ボタンのアイコンに●の背景色を入れる */
/* .bg-wht[class*="__btn"] {
  color: var(--DEF);
}
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  color: var(--MAIN);
  background-color: var(--WHT);
  padding: 0.5em;
  border-radius: 50%;
  margin-top: -0.875em;
  line-height: 1;
  font-size: 0.675em;
  transition: var(--transition);
}
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]):hover > .txt::after {
  color: var(--WHT);
  background-color: var(--MAIN);
}
:where(.lib-link__btn.bg-wht):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  color: var(--WHT);
  background-color: var(--MAIN);
}
:where(.lib-link__btn.bg-wht):not([class*="ico-after-"]):not([class*="ico-before-"]):hover > .txt::after {
  color: var(--MAIN);
  background-color: var(--WHT);
}
:where(.lib-link__btn.bg-accent):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  color: var(--ACC);
} */

/*---------- BMパーツのパターン増設 ----------*/
/* ①②③...のリストマーカー */
:where(.lib-indent__list).--circle > li:before {
  content: counter(ol-bullet);
  text-align: center;
  border: 1px solid var(--DEF);
  border-radius: 50%;
  font-size: 0.75em;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  aspect-ratio: 1/1;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.4%;
  /* margin-top: 2px; */
}

/* ※のリストマーカー */
:where(.lib-indent__list).--asterisk > li {
  padding-left: 1.8em;
  position: relative;
}
:where(.lib-indent__list).--asterisk > li::before {
  /* counter-increment: ol-bullet; */
  content: "※";
  display: block;
  width: 2em;
  text-align: center;
  text-align: right;
  position: absolute;
  left: 0;
  top: 0;
  padding-right: 0.5em;
}

/* table 罫線パターン */
:where(table).--border > thead,
:where(table).--border th {
  background-color: unset;
}
:where(table).--border th,
:where(table).--border td {
  border: unset;
  border: 1px solid var(--GRY);
}
:where(table).--border th {
  color: var(--DEF);
}
:where(table).--border tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

/* table 下線パターン */
:where(table).--border-bottom {
  border: unset;
}
:where(table).--border-bottom th {
  background-color: unset;
}
:where(table).--border-bottom th,
:where(table).--border-bottom td {
  border: unset;
  border-bottom: 1px solid var(--GRY);
}
:where(table).--border-bottom th {
  color: var(--DEF);
}
:where(table).--even.--border-bottom tbody > tr:nth-child(even) > th {
  background-color: var(--LGRY);
}

/* table 見出し"列"だけグレー */
:where(table.--gry) tbody > tr > th {
  background-color: var(--GRY);
  color: var(--DEF);
}
:where(table.--gry) tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

/* table .lib-table__03に少し余白を入れる */
:where(.lib-table__03).--padding td,
:where(.lib-table__03).--padding th {
  padding: 0.5em;
}

/* ==================================
タイポ
===================================== */
/* ゴシックとか */
.ff-notosans {
  font-family: "Noto Sans JP", serif;
}
.ff-lato {
  font-family: "Lato", sans-serif;
  /* letter-spacing: 0.05rem; */
}
.ff-oswald {
  font-family: "Oswald", sans-serif;
}
.ff-poppins {
  font-family: "Poppins", sans-serif;
}
.ff-zenmarugo {
  font-family: "Staatliches", sans-serif;
}
.ff-montserrat {
  font-family: "Montserrat", sans-serif;
}
.ff-staatliches {
  font-family: "Zen Maru Gothic", sans-serif;
}
.ff-m-plus-rounded-1c {
  font-family: "M PLUS Rounded 1c", sans-serif;
  transform: rotate(0.07deg);
}
.ff-inter {
  font-family: "Inter";
}
/* 明朝とか */
.ff-notoserif {
  font-family: "Noto Serif JP", serif;
}
.ff-yumincho {
  font-family: "Yu Mincho", "YuMincho", serif;
}
.ff-shippori-b1 {
  font-family: "Shippori Mincho B1", serif;
}

/* font-weight */
.fw-600 {
  font-weight: 600 !important;
}
.fw-800 {
  font-weight: 800 !important;
}
.fw-900 {
  font-weight: 900 !important;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-aspect.--4x3 img {
  aspect-ratio: 4 / 3;
}
.u-aspect.--3x2 img {
  aspect-ratio: 3 / 2;
}
.u-aspect.--16x9 img {
  aspect-ratio: 16 / 9;
}
.u-aspect.--21x9 img {
  aspect-ratio: 21 / 9;
}
.u-aspect.--1x1 img {
  aspect-ratio: 1 / 1;
}
.u-aspect.--2x1 img {
  aspect-ratio: 2 / 1;
}
.u-aspect.--3x1 img {
  aspect-ratio: 3 / 1;
}
.u-aspect.--4x1 img {
  aspect-ratio: 4 / 1;
}
.u-aspect.--7x8 img {
  aspect-ratio: 7 / 8;
}
.u-aspect.--9x16 img {
  aspect-ratio: 9 / 16;
}
.u-aspect.--2x3 img {
  aspect-ratio: 2 / 3;
}
.u-aspect.--3x4 img {
  aspect-ratio: 3 / 4;
}

/* 画像全体を枠内に入れたいとき */
.u-aspect.--contain img {
  object-fit: contain;
}

/*---------- 角丸 ----------*/
[class*="u-rounded-"] {
  overflow: hidden;
}
.u-rounded-_25 {
  border-radius: 0.25rem !important;
}
.u-rounded-_5 {
  border-radius: 0.5rem !important;
}
.u-rounded-_75 {
  border-radius: 0.75rem !important;
}
.u-rounded-1 {
  border-radius: 1rem !important;
}
.u-rounded-1_5 {
  border-radius: 1.5rem !important;
}
.u-rounded-1_25 {
  border-radius: 1.25rem !important;
}
.u-rounded-2 {
  border-radius: 2rem !important;
}
.u-rounded-3 {
  border-radius: 3rem !important;
}
[class*="u-rounded-"].--t-only {
  border-bottom-right-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
[class*="u-rounded-"].--b-only {
  border-top-right-radius: unset !important;
  border-top-left-radius: unset !important;
}
[class*="u-rounded-"].--r-only {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
[class*="u-rounded-"].--l-only {
  border-top-right-radius: unset !important;
  border-bottom-right-radius: unset !important;
}

/*---------- はみ出させる ----------*/
.u-over {
  margin-inline: var(--oversize);
}
/* 右に */
.u-r-over {
  margin-right: var(--oversize);
}
@media print, screen and (min-width: 768px) {
  .u-r-md-over {
    margin-right: var(--oversize);
  }
}
@media print, screen and (min-width: 992px) {
  .u-r-lg-over {
    margin-right: var(--oversize);
  }
}
/* 左に */
.u-l-over {
  margin-left: var(--oversize);
}
@media print, screen and (min-width: 768px) {
  .u-l-md-over {
    margin-left: var(--oversize);
  }
}
@media print, screen and (min-width: 992px) {
  .u-l-lg-over {
    margin-left: var(--oversize);
  }
}

/*---------- Swiper ----------*/
/* 滑らかに */
.u-swiper-liner .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

/* ========================================
パーツ
======================================== */
/*---------- アイコン（アイコンフォント想定。大きさはp-*やfs-*、個別にwidth・height指定して調整。） ----------*/
.c-icon {
  aspect-ratio: 1 / 1;
  speak: none;
}
.c-icon img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  speak: none;
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
/* 余白の微調整は「gap-*」 */
.c-icon-text {
  display: grid !important;
  grid-template-columns: repeat(2, auto);
  column-gap: 0.5em;
  justify-content: center;
  align-items: center;
}
/* アイコンだけ右寄せ */
.c-icon-text.--r {
  grid-template-columns: 1fr auto;
}
/* アイコンだけ左寄せ */
.c-icon-text.--l {
  grid-template-columns: auto 1fr;
}
@media print, screen and (min-width: 992px) {
  .c-icon-text {
    column-gap: 1em;
  }
}

/*---------- 背景のベース ----------*/
/* 背景画像を敷く場合、
   背景画像に各色のフィルターをかける場合
   疑似要素を配置したいときのベース */
.p-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
/* 疑似要素のファンデーション */
.p-bg::before,
.p-bg::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  pointer-events: none;
  speak: none;
}
/* 黒透明フィルター */
.p-bg.--bl::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bl);
  opacity: 0.3;
}
/* 白透明フィルター */
.p-bg.--wh::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--WHT);
  opacity: 0.3;
}
/* メインカラーフィルター */
.p-bg.--main::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--MAIN);
  opacity: 0.3;
}
.p-bg.--lmain::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LMAIN);
  opacity: 0.3;
}
/* アクセントカラーフィルター */
.p-bg.--accent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ACC);
  opacity: 0.3;
}
.p-bg.--laccent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LACC);
  opacity: 0.3;
}
/* 補助色カラーフィルター */
.p-bg.--other::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--OTH);
  opacity: 0.3;
}
.p-bg.--lother::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LOTH);
  opacity: 0.3;
}
/* 色の濃さ（opacity） */
.p-bg.--light::before {
  opacity: 0.1;
}
.p-bg.--md::before {
  opacity: 0.5;
}
.p-bg.--strong::before {
  opacity: 0.7;
}
.p-bg.--strongest::before {
  opacity: 0.9;
}
.p-bg.--opacity1::before {
  opacity: 1;
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}
.c-hover:hover {
  text-decoration: none;
}
.c-hover.--underline:hover {
  text-decoration: underline;
}
.c-hover.--bg-main:hover {
  background-color: var(--MAIN);
}
.c-hover.--bg-accent:hover {
  background-color: var(--ACC);
}
.c-hover.--bg-other:hover {
  background-color: var(--OTH);
}
.c-hover.--bg-lmain:hover {
  background-color: var(--LMAIN);
}
.c-hover.--bg-laccent:hover {
  background-color: var(--LACC);
}
.c-hover.--bg-lother:hover {
  background-color: var(--LOTH);
}
.c-hover.--bg-gry:hover {
  background-color: var(--GRY);
}
.c-hover.--bg-lgry:hover {
  background-color: var(--LGRY);
}
.c-hover.--opacity:hover {
  opacity: 0.8;
}
.c-hover.--up:hover {
  transform: translateY(-0.125rem);
}
.c-hover.--scale-up img {
  transition: var(--transition);
}
.c-hover.--scale-up:hover img {
  transform: scale(1.1);
}

/*---------- レイアウト ----------*/
/* display: grid;で重ねる */
.l-overlap {
  display: grid;
}
.l-overlap > * {
  grid-area: 1 / -1;
}
.c-hover.--overlap .--after {
  opacity: 0;
  transition: var(--transition);
}
.c-hover.--overlap:hover .--after {
  opacity: 1;
}
#tinymce .l-overlap > *,
.editor_block .l-overlap > * {
  grid-area: unset !important;
  z-index: 1 !important;
  opacity: 1 !important;
}

/* 子要素を中央配置 */
/* 縦 */
.l-v-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 縦横中央 */
.l-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==================================
ヘッダー
===================================== */
.lib-header__outer {
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, .5);
}
.lib-header__logo img {
  width: 30px;
}
@media print, screen and (min-width: 992px) {
  .lib-header__outer, .is-scroll:not(.is-gnav__open) .lib-header__outer {
    height: 80px;
    top: 20px;
  }
  /* logo */
  .lib-header__logo img, .is-scroll .lib-header__logo img {
    width: 40px;
  }
  .lib-nav__panel:has(.lib-induce__outer) {
    padding-right: 380px;
  }
  .lib-header__outer.lib-header-BS02 .lib-nav__btn {
    font-weight: bold;
    white-space: pre;
  }
  /* header btn */
  .lib-nav__outer .lib-induce__outer>li {
    max-width: none;
    width: 170px !important;
  }
  .lib-header__outer.lib-header-BS02 .lib-induce__outer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    height: 50px;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
  }
  .is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__outer {
    height: 50px;
  }
  .is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__outer>li {
    width: 100%;
  }
  .lib-header__outer.lib-header-BS02 .lib-induce__outer>li:nth-child(1) {
    margin-right: 20px;
  }
  .lib-header__outer.lib-header-BS02 .lib-induce__outer>li:nth-child(2) {
    height: 100%;
  }
  .lib-header__outer.lib-header-BS02 .lib-induce__btn, 
  .is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__btn {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media print, screen and (max-width: 991px) {
  .lib-header__outer {
    max-width: none;
  }
}


/* ========================================
フッター
======================================== */
.lib-footer__title>a {
  background-color: transparent;
  border: none;
}

@media print, screen and (max-width: 767px) {
  .lib-footer__logo {
    width: 60px !important;
  }
}

/* ========================================
CTA
======================================== */
.common-cta::before {
  position: absolute;
  content: "";
  background-color: var(--WHT);
  width: 60%;
  height: 2px;
  left: 0;
  bottom: 50px;
}
.common-cta.bg-grad {
  background: -moz-linear-gradient(left, var(--MAIN), var(--ACC));
  background: -webkit-linear-gradient(left, var(--MAIN), var(--ACC));
  background: linear-gradient(to right, var(--MAIN), var(--ACC));
}
.common-cta .bg-wht[class*=__btn] {
  background-color: rgba(255, 255, 255, .9);
  max-width: none;
  width: 80%;
  min-height: 80px;
}
.common-cta .bg-wht[class*=__btn]:hover {
  background-color: var(--MAIN);
}

@media print, screen and (max-width: 767px) {
  .common-cta::before {
    width: 90%;
  }
  .common-cta .bg-wht[class*=__btn] {
    min-height: 70px;
  }
}

/* ========================================
common
======================================== */

/* タイトル */
.main-en-title {
  font-size: clamp( 3.125rem, calc( 2.1875rem + 3.75vw ), 5rem );
}
.square-title .sub-title {
  position: relative;
  padding-left: 1rem;
}
.square-title .sub-title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--ACC);
  top: 50%;
  left: 0;
  transform: translateY(-50%)
}
.square-title.text-wht .sub-title::before {
  background-color: var(--WHT);
}

/* グラデボタン */
.bg-grad {
  background: -moz-linear-gradient(top left, var(--MAIN), var(--ACC)); 
  background: -webkit-linear-gradient(top left, var(--MAIN), var(--ACC)); 
  background: linear-gradient(to bottom right, var(--MAIN), var(--ACC)); 
}
.grad-btn {
  background: linear-gradient(to right, var(--MAIN), var(--ACC));
  background-size: 200% auto; /* グラデーションを大きめに設定 */
  background-position: left center;
  border: none;
  color: #fff;
  transition: background-position 0.5s ease; /* 位置だけをスムーズに */
}
.grad-btn:hover {
  color: var(--WHT);
  background-position: right center; /* 右側にスライド */
}
.bg-wht[class*=__btn]:hover .material-symbols-outlined.bg-main {
  background-color: var(--WHT) !important;
}
.bg-wht[class*=__btn]:hover .material-symbols-outlined.text-wht {
  color: var(--MAIN) !important;
}

/* ========================================
TOP
======================================== */
@media print, screen and (min-width: 767px) {
  #wrapper:has(.lib-header-BS02) {
    padding-top: 0;
  }
}

/* mv */
.top-mv .lib-swiper__outer {
  overflow: visible;
}
.top-mv .lib-fv__control {
  margin: 0 !important;
  padding: 0 !important;
  bottom: -50px;
  right: 50px;
  width: auto;
}
.top-mv .swiper-pagination-bullet {
  width: 50px !important;
  height: 2px !important;
}
.top-mv .lib-fv__slider .lib-swiper__btn, .top-mv .lib-swiper__player {
  display: none !important;
}
.top-mv .lib-fv__thumb {
  height: 90vh !important;
  position: relative;
  transform: scale(1);
  transition: transform 6s linear;
}
/* アクティブなスライド画像のコンテナ */
.top-mv .lib-fv__slide.swiper-slide-active .lib-fv__thumb {
  transform: scale(1.1);
}

@media print, screen and (max-width: 767px) {
  /* mv */
  .top-mv .lib-fv__thumb {
    height: 70vh !important;
  }
  .top-mv .lib-card__title.lh-lg {
    line-height: 1.8 !important;
    font-size: 1.5rem !important;
  }
}

.top-mv .lib-fv__thumb::before {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, .5);
  width: 50%;
  height: 500px;
  bottom: 0;
  left: 0;
}
@media print, screen and (max-width: 991px) {
  .top-mv .lib-fv__thumb::before {
    width: 80%;
  }
}
@media print, screen and (max-width: 767px) {
  .top-mv .lib-fv__thumb::before {
    width: 90%;
    height: 260px;
  }
}

.top-mv .lib-fv__txtarea {
  top: inherit;
  bottom: 80px;
  height: auto;
  width: auto;
}

@media print, screen and (max-width: 991px) {
  .top-mv .lib-fv__txtarea {
    left: 40px;
  }
}
@media print, screen and (max-width: 767px) {
  .top-mv .lib-fv__txtarea {
    bottom: 20px;
    width: 80%;
  }
}

.mv-sub-title {
  padding-left: 120px;
  position: relative;
}
.mv-sub-title::before {
  position: absolute;
  content: "";
  background-color: var(--MAIN);
  height: 2px;
  width: 100px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
@media print, screen and (max-width: 767px) {
  .mv-sub-title {
    padding-left: 35px;
  }
  .mv-sub-title::before {
    width: 25px;
  }
}

.mv-scroll {
  position: absolute;
  writing-mode: vertical-rl;
  padding-top: 80px;
  left: 30px;
  bottom: 250px;
  z-index: 2;
}
.mv-scroll::before {
  position: absolute;
  content: "";
  background-color: var(--WHT);
  height: 100px;
  width: 2px;
  top: 0;
  left: 50%;
  transform: translateY(-50%);
}
@media print, screen and (max-width: 767px) {
  .mv-scroll {
    left: 10px;
    bottom: 200px;
  }
}
/* Swiper のフェードトランジションを有効化 */
.top-mv .swiper-slide {
  transition-property: opacity, transform !important;
  overflow: hidden;
}

/* servie */
.top-service::before {
  position: absolute;
  content: "";
  background-color: var(--GRY);
  width: 100vw;
  height: 2px;
  left: 0;
  top: 0;
}
@media print, screen and (max-width: 767px) {
  .top-service::before {
    width: 90%;
    left: auto;
    right: 0;
  }
}


/* reason */
.top-reason {
  background-image: url(/dcms_media/image/reason-bg-01.png), url(/dcms_media/image/reason-bg-02.png), linear-gradient(to bottom right, var(--MAIN), var(--ACC));
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: contain;
}
.top-reason::before {
  content: "";
  position: absolute;
  background-color: var(--WHT);
  width: 50%;
  height: 50px;
  top: -1px;
  right: 0;
}
.top-reason::after {
  content: "";
  position: absolute;
  background-color: var(--WHT);
  width: 50%;
  height: 50px;
  bottom: -1px;
  left: 0;
}
@media print, screen and (max-width: 767px) {
  .top-reason::before, .top-reason::after {
    height: 30px;
  }
}
.top-reason .container::before {
  position: absolute;
  content: "";
  background-color: var(--WHT);
  width: 100vw;
  height: 2px;
  right: 0;
  top: 0;
}
.reason-number {
  position: absolute;
  bottom: -20px;
  left: 0px;
  background-color: var(--WHT);
  padding: 30px;
  line-height: 1;
}
.reason-number::before {    
  content: "";
  position: absolute;
  background-color: var(--MAIN);
  height: 1px;
  width: 20px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
@media print, screen and (max-width: 767px) {
  .top-reason .container::before {
    width: 100%;
    right: auto;
    left: -10%;
  }

}

/* company */
.top-company::before {
  position: absolute;
  content: "";
  background-color: var(--GRY);
  width: 100vw;
  height: 2px;
  left: 0;
  top: 0;
}
@media print, screen and (max-width: 767px) {
  .top-company::before {
    width: 90%;
    left: auto;
    right: 0;
  }
}


/* results */
.top-results::after {
  position: absolute;
  content: "";
  background-color: var(--WHT);
  width: 60%;
  height: 2px;
  left: 0;
  bottom: 50px;
}
.top-results.p-bg.--main::before {
  opacity: 0.5;
  mix-blend-mode: multiply;
}

@media print, screen and (max-width: 767px) {
  .top-results::after {
    width: 90%;
    bottom: 30px;
  }
}


/* recruit */
.top-recruit::before {
  content: "";
  position: absolute;
  background-color: var(--WHT);
  width: 50%;
  height: 50px;
  top: -1px;
  right: 0;
}
.top-recruit::after {
  content: "";
  position: absolute;
  background-color: var(--WHT);
  width: 50%;
  height: 50px;
  bottom: -1px;
  left: 0;
}
.top-recruit .container::before {
  position: absolute;
  content: "";
  background-color: var(--WHT);
  width: 100vw;
  height: 2px;
  right: 0;
  top: 0;
}
.loop-slider .swiper-wrapper {
  transition-timing-function: linear;
}
.top-recruit .p-bg.--accent::before {
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
}
@media print, screen and (max-width: 767px) {
  .top-recruit .container::before {
    width: 100%;
    right: auto;
    left: -10%;
  }
  .top-recruit::before, .top-recruit::after {
    height: 30px;
  }
}



/* news */
.top-news::before {
  position: absolute;
  content: "";
  background-color: var(--GRY);
  width: 100vw;
  height: 2px;
  left: 0;
  top: 0;
}
.top-news .lib-swiper__control, .top-news .lib-media__thumb, .top-news .lib-media__txt {
  display: none !important;
}
.top-news .swiper-wrapper {
  display: block !important;
}
.top-news .lib-tab__panel, .top-news :where(.lib-card__item):has([class*=thumb]) :where(.lib-card__txtarea):not([class*=order]) {
  padding-top: 0;
}
.top-news .lib-media__item {
  padding: 20px 0;
  border-top: 1px solid var(--GRY);
}
.top-news .lib-media__item:last-of-type {
  border-bottom: 1px solid var(--GRY);
}
.top-news .lib-media__category {
  white-space: nowrap;
}
.top-news .lib-media__title {
  font-size: 1.2rem;
  white-space: nowrap;        /* 改行させない */
  overflow: hidden;           /* はみ出した部分を隠す */
  text-overflow: ellipsis;  
}
.top-news .lib-tab__btn {
  font-size: 1rem;
  font-weight: bold;
  min-height: 60px;
}
.top-news .lib-tab__menu {
  border: none;
}
.top-news .lib-tab__menu>li {
  margin-bottom: 1rem;
}
@media print, screen and (min-width: 768px) {
  .top-news :where(.lib-card__item):has([class*=thumb]) :where(.lib-card__txtarea):not([class*=order]) {
    flex-direction: row !important;
    align-items: center;
  } 
  .top-news .lib-tab__outer {
    display: flex !important;
  }
  .top-news .lib-tab__menu {
    display: block !important;
  }
  .top-news .lib-tab__cover {
    padding-left: 50px;
    width: 75%;
  }
  .top-news .lib-media__time {
    order: 1;
    margin: 0;
    margin-right: 20px;
  }
  .top-news .lib-media__category {
    order: 2;
    margin: 0;
    margin-right: 20px;
  }
  .top-news .lib-media__title {
    order: 3;
    margin: 0;
  }
}

/* ========================================
下層
======================================== */

#wrapper:has(.lib-header-BS02) .lib-hero__outer {    
  padding-bottom: 20px;
  padding-top: 40px !important;
}

@media print, screen and (min-width: 768px) {
  /*---------- 共通 ----------*/
  #wrapper:has(.lib-header-BS02) .lib-hero__outer {
    padding-bottom: 40px;
    padding-top: 120px !important;
  }
}

/*---------- 会社概要 ----------*/
:where(table) th, :where(table)>thead {
  border: none;
  background-color: transparent;
  color: var(--DEF);
}

:where(table) tbody>tr>th:first-child {
  border-left-color: transparent;
}

:where(table) td {
  border: none;
}

/*---------- 事業内容 ----------*/
.border-5 {
  border-width: 5px;
}

.lib-flow-002__item:after {
  bottom: -40px;
}
@media print, screen and (min-width: 992px) {
  .lib-flow-002__item:after {
    bottom: -54px;
  }

}

/*---------- お知らせ ----------*/
.lib-media__category .badge {
  background-color: var(--ACC);
}

.tag {
  color: var(--ACC);
  font-weight: bold;
}

/*---------- 採用情報 ----------*/
@media print, screen and (min-width: 768px) {
.lib-tab__menu {
  width: 25%;
}
a[id] {
    padding-top: 60px;
    margin-top: -60px;
}
}