@charset "UTF-8";

:root {
  --bl: #000;
  --gray-02: #ccc;
  --grad-01: linear-gradient(90deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-01-rev: linear-gradient(270deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-02: linear-gradient(90deg, var(--LACC) 0%, var(--ACC) 100%);
  --grad-02-rev: linear-gradient(270deg, var(--LACC) 0%, var(--ACC) 100%);
  --grad-03: linear-gradient(90deg, var(--LOTH) 0%, var(--OTH) 100%);
  --grad-03-rev: linear-gradient(270deg, var(--LOTH) 0%, var(--OTH) 100%);
  --transition: all 0.3s ease-in-out;
  --oversize: calc((100% - 100vw) / 2);
}

/* ==================================
リセット・調整・ファンデーション
===================================== */
/* 高さを画像自体の高さにする */
:where(img) {
  /* max-width: 100%; */
  height: auto;
  vertical-align: bottom;
}

/* 下層ページの画像に共通のアスペクト比設定 */
/* :where(#dcms_layoutPageBlock) :where(img) {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
} */
/* body {
  background-color: #f5f5f5 !important;
} */
@media print, screen and (min-width: 992px) {
  body {
    font-size: 1.0625rem;
  }
}

/*---------- アクセシビリティ ----------*/
/* アイコンをスクリーンリーダーに読み上げられないようにする */
i,
[class*="material-icons"],
[class*="material-symbols"] {
  speak: none;
}
/*---------- マテリアルアイコンのフォントサイズを親要素から継承させる ----------*/
/*[class*="material-icons"],
[class*="material-symbols"] {
  font-size: inherit;
}*/

/*---------- ボタンのアイコンを「→」に変更 ----------*/
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt:after {
  content: "\ea03";
  font-size: 1em;
} */

/* ==================================
リセット・調整・ファンデーション
===================================== */
/*---------- BMパーツの調整 ----------*/
/* 疑似要素の削除 */
.no-before::before,
.no-after::after {
  content: unset !important;
}

/*---------- 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;
}

/* 「―」（横線）のリストマーカー */
:where(.lib-indent__list).--line {
  > li {
    position: relative;
    padding-left: 1.25em;
  }
  > li::before {
    content: "―";
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1em;
  }
}

/* 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;
  th,
  > thead {
    background-color: unset;
  }
  th,
  td {
    border: unset;
    border-bottom: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
  }
  &.--even 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;
}

/*---------- 見出し ----------*/
/* 見出しtypeBをひし形にする */
.lib-title__outer.--typeB :where(.title):before {
  width: 0.5725em;
  height: 0.5725em;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ==================================
タイポ
===================================== */
/* ゴシックとか */
.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-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;
}

/* font-size */
@media print, screen and (min-width: 992px) {
  .fs-lg-50 {
    font-size: 3.125rem;
  }
}
.fs-40-80 {
  font-size: clamp(2.5rem, calc(1.5853658536585367rem + 3.902439024390244vw), 5rem);
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 字幅 ----------*/
.u-l-0 {
  letter-spacing: 0;
}
.u-l-1 {
  letter-spacing: 1px;
}
.u-l-2 {
  letter-spacing: 2px;
}
.u-l-3 {
  letter-spacing: 3px;
}
.u-l-4 {
  letter-spacing: 4px;
}
.u-l-5 {
  letter-spacing: 5px;
}

/*---------- 画像の比率 ----------*/
.u-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-aspect.--4x3 img {
  aspect-ratio: 4 / 3;
}
.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.--3x4 img {
  aspect-ratio: 3 / 4;
}

/* 画像全体を枠内に入れたいとき */
.u-aspect.--contain img {
  object-fit: contain;
}

/* メディア一覧の画像 */
.media-post__thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/*---------- 角丸 ----------*/
[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;
  /* 画像の時 */
  &.--img::before,
  &.--img::after {
    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.5;
}
/* メインカラーフィルター */
.p-bg.--main::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--MAIN);
  opacity: 0.5;
}
.p-bg.--lmain::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LMAIN);
  opacity: 0.5;
}
/* アクセントカラーフィルター */
.p-bg.--accent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ACC);
  opacity: 0.5;
}
.p-bg.--laccent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LACC);
  opacity: 0.5;
}
/* 補助色カラーフィルター */
.p-bg.--other::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--OTH);
  opacity: 0.5;
}
.p-bg.--lother::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LOTH);
  opacity: 0.5;
}
/* 色の濃さ（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;
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}
.c-hover:hover {
  text-decoration: none;
}
/*---------- 下線がつく ----------*/
.c-hover.--underline:hover {
  text-decoration: underline;
}
/*---------- LMAINの背景色がつく----------*/
.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);
}
/*---------- 透過する（0.8） ----------*/
.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;
}

/* ==================================
幅
===================================== */
.w-90 {
  width: 90% !important;
}
.w-80 {
  width: 80% !important;
}
.w-70 {
  width: 70% !important;
}
.w-60 {
  width: 60% !important;
}
.w-50 {
  width: 50% !important;
}
.w-40 {
  width: 40% !important;
}
.w-30 {
  width: 30% !important;
}
.w-20 {
  width: 20% !important;
}
.w-10 {
  width: 10% !important;
}

/* ==================================
テキストシャドウ
===================================== */
.text-shadow {
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}
.text-white-shadow {
  text-shadow: 3px 3px 3px rgba(255, 255, 255, 0.8);
}

/* ==================================
ヘッダー
===================================== */
.p-header .lib-header__logo img {
  width: 100px;
}
.p-header .lib-header__logo img:last-of-type {
  width: 150px;
  margin-left: 0.5rem;
}
.p-header.lib-header__outer.lib-header-BS02 .h-contact-btn .lib-nav__btn {
  position: relative;
  background-image: url("/dcms_media/image/bg.jpg");
  padding: 15px 20px !important;
  font-weight: bold;
  margin: 0 !important;
  justify-content: center;
  color: var(--WHT);
}
.p-header.lib-header__outer.lib-header-BS02 .lib-nav__btn.sns-links {
  width: 40px;
  height: 40px;
  transition: all 0.3s;
}
.p-header.lib-header__outer.lib-header-BS02 .lib-nav__btn.sns-links:hover {
  opacity: 0.6;
  transition: all 0.3s;
}

@media print, screen and (min-width: 992px) {
  .p-header .lib-header__logo img,
  .is-scroll .p-header .lib-header__logo img {
    width: 70px;
    height: auto;
    max-width: none;
  }
  .p-header .lib-header__logo img:last-of-type,
  .is-scroll .p-header .lib-header__logo img:last-of-type {
    width: 150px;
    height: 100%;
    margin-left: 0.5rem;
  }
  .p-header.lib-header__outer.lib-header-BS02 {
    box-shadow: none;
  }
  .p-header.lib-header__outer.lib-header-BS02 .lib-nav__btn {
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0 !important;
    margin: 0 !important;
  }
  .p-header.lib-header__outer.lib-header-BS02 .h-contact-btn {
    position: relative;
    margin-top: -5px !important;
    height: fit-content;
  }
  .p-header.lib-header__outer.lib-header-BS02 .h-contact-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -5px;
    right: -5px;
    background-color: var(--MAIN);
    display: block;
  }
  .p-header.lib-header__outer.lib-header-BS02 .lib-nav__list {
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
  }
  .p-header .lib-nav__outer {
    height: 100%;
    align-items: center;
    margin: 0 !important;
  }
}
@media print, screen and (min-width: 1230px) {
  .p-header .lib-header__logo img,
  .is-scroll .p-header .lib-header__logo img {
    width: 100px;
    height: auto;
    max-width: none;
  }
  .p-header .lib-header__logo img:last-of-type,
  .is-scroll .p-header .lib-header__logo img:last-of-type {
    width: 200px;
    height: 100%;
    margin-left: 0.5rem;
  }
  .p-header.lib-header__outer.lib-header-BS02 .lib-nav__btn {
    font-size: 0.875rem;
  }
}

@media print, screen and (min-width: 992px) {
  .p-header.lib-header__outer.lib-header-BS02 {
    .lib-nav__list.--btn {
      width: unset;
    }
    .h-contact-btn .lib-nav__btn {
      white-space: nowrap;
      text-wrap: nowrap;
    }
    .lib-header__bar {
      width: 250px;
    }
    .lib-nav__panel {
      width: calc(100% - 250px - 40px);
    }
  }
}
@media print, screen and (min-width: 1200px) {
  .p-header.lib-header__outer.lib-header-BS02 {
    .lib-header__bar {
      width: 330px;
    }
    .lib-nav__panel {
      width: calc(100% - 330px - 40px);
    }
  }
}
@media print, screen and (min-width: 992px) and (max-width: 1400px) {
  .p-header.lib-header__outer.lib-header-BS02 {
    #lib-header-nav {
      row-gap: 1em;
    }
  }
  .is-scroll {
    .p-header.lib-header__outer.lib-header-BS02 {
      #lib-header-nav {
        row-gap: 0.25em;
      }
      .h-contact-btn .lib-nav__btn {
        padding-block: 0.25em !important;
      }
      .lib-nav__btn.sns-links {
        width: 24px;
        height: 24px;
      }
    }
  }
}

@media print, screen and (max-width: 991px) {
  .p-header.lib-header__outer.lib-header-BS02 .lib-nav__btn.sns-links {
    text-align: center;
  }
}

/* 2511改修時追記 */
.p-header {
  @media print, screen and (min-width: 992px) {
    .lib-nav__outer {
      /* display: grid; */
      grid-row-gap: 0.75em;
      .lib-search__outer {
        grid-column: 1/2;
        grid-row: 1/2;
      }
      .lib-nav__list.--list {
        grid-column: 1/3;
        grid-row: 2/3;
      }
      .lib-nav__list.--btn {
        grid-column: 2/3;
        grid-row: 1/2;
      }
    }
    #lib-header-nav {
      display: contents;
    }
  }
  @media print, screen and (min-width: 1200px) {
    .lib-nav__outer {
      /* display: grid; */
      grid-row-gap: 1em;
      .lib-search__outer {
        grid-column: 1/2;
        grid-row: 1/2;
      }
      .lib-nav__list.--list {
        grid-column: 1/2;
        grid-row: 2/3;
      }
      .lib-nav__list.--btn {
        grid-column: 2/3;
        grid-row: 1/3;
      }
    }
    #lib-header-nav {
      display: contents;
    }
  }
}
.is-scroll {
  .p-header {
    @media print, screen and (min-width: 992px) {
      .lib-nav__outer {
        /* display: grid; */
        grid-row-gap: 0.25em;
      }
    }
    @media print, screen and (min-width: 1200px) {
      .lib-nav__outer {
        /* display: grid; */
        grid-row-gap: 0;
        .lib-nav__list.--btn {
          grid-column: 2/3;
          grid-row: 2/3;
        }
      }
    }
  }
}

/*---------- 採用 ----------*/
html:has(.p-header-recruit) {
  --MAIN: #004098;
  --ACC: #193772;
  --LMAIN: #0040981a;
  --LACC: #1937721a;
  --fntBase: "Oswald", "Poppins", "Noto Sans JP", Meiryo, sans-serif;
}
body:has(.p-header-recruit) {
  background-color: unset !important;
}

.p-header-recruit {
  .lib-header__logo {
    > a {
      width: 240px;
    }
    .thumb {
      background-color: unset;
      img {
        width: 100%;
        height: auto;
      }
    }
    .--logo {
      width: 40%;
      transition: var(--transition);
    }
    .--text {
      width: 60%;
      transition: var(--transition);
    }
  }
  .lib-induce__btn {
    flex-direction: row;
    column-gap: 0.5em;
  }
  @media print, screen and (min-width: 992px) {
    &.lib-header__outer.lib-header-BS02 {
      &.typeS .lib-child__panel {
        top: 80px;
      }
      .lib-header__logo {
        > a {
          width: 200px;
        }
      }
      .lib-induce__outer {
        width: 200px;
      }
      .lib-nav__panel:has(.lib-induce__outer) {
        padding-right: 200px;
      }
      .lib-induce__btn {
        gap: 0.5em;
      }
    }
  }
  @media print, screen and (min-width: 1400px) {
    &.lib-header__outer.lib-header-BS02 {
      .lib-header__logo {
        > a {
          width: 400px;
        }
        .--logo {
          width: 25%;
        }
        .--text {
          width: 75%;
        }
      }
      .lib-induce__outer {
        width: 280px;
        flex-direction: row;
        & > li:nth-child(2) {
          height: unset;
        }
      }
      .lib-nav__panel:has(.lib-induce__outer) {
        padding-right: 300px;
      }
    }
  }
}
.is-scroll .p-header-recruit {
  @media print, screen and (min-width: 992px) {
    &.lib-header__outer.lib-header-BS02 {
      .lib-induce__btn {
        flex-direction: row;
      }
      .lib-header__logo {
        > a {
          width: 240px;
        }
        .--logo {
          width: 40%;
        }
        .--text {
          width: 60%;
        }
      }
    }
  }
}

.ico-before-account_circle::before {
  font-family: "Material Symbols Outlined" !important;
  content: "\e853";
  font-weight: 400 !important;
}
.ico-before-badge::before {
  font-family: "Material Symbols Outlined" !important;
  content: "\ea67";
  font-weight: 400 !important;
}

/* ========================================
フッター
======================================== */
.p-footer .lib-footer__logo {
  width: auto;
}
.p-footer .lib-footer__logo img:first-of-type {
  width: 100px;
  margin-right: 0.5rem;
}
.p-footer .lib-footer__logo img:last-of-type {
  width: 200px;
}
footer.p-footer .lib-footer__data,
footer.p-footer .lib-footer__phone a,
.p-footer .lib-footer__title > a,
footer.p-footer .lib-footer__list .lib-footer__item > a {
  color: var(--WHT);
}
footer.p-footer .lib-footer__list .lib-footer__item > a:hover {
  color: var(--MAIN);
}
.p-footer .lib-footer__title > a {
  background-color: transparent;
  border: none;
}
.p-footer .lib-footer__item > a {
  font-size: 0.8rem;
}
.p-footer .f-guideline a {
  text-decoration: none;
}
@media print, screen and (max-width: 576px) {
  .p-footer .lib-footer__item > a {
    border: none;
    background-color: transparent;
  }
  .p-footer .lib-footer__list {
    display: block;
    padding-left: 1rem;
  }
  /* .p-footer .lib-footer__title {
    margin-bottom: 2rem;
  } */
  .p-footer .lib-footer__logo .lib-card__thumb {
    justify-content: center;
  }
}

.p-footer .h-contact-btn {
  position: relative;
  margin-top: -5px !important;
  height: fit-content;
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -5px;
    right: -5px;
    background-color: var(--MAIN);
    display: block;
  }
  .lib-link__btn {
    position: relative;
    background-image: url("/dcms_media/image/bg.jpg");
    padding: 15px 20px !important;
    font-weight: bold;
    margin: 0 !important;
    justify-content: center;
    color: var(--WHT);
    border: unset;
    &:hover {
      transform: translate(4px, 4px);
    }
  }
}
/* 251114追記 */
.p-footer .lib-pagetop__btn a .txt {
  background-color: var(--OTH);
}

/*---------- 採用 ----------*/
.p-footer-recruit {
  background-color: var(--LGRY);
  border-top: unset;
  .lib-footer__item > a {
    font-size: inherit;
  }
  .lib-footer__utility {
    @media print, screen and (min-width: 992px) {
      background-color: var(--MAIN);
      margin-top: 2rem;
    }
    .wrap {
      padding-inline: 0;
      @media print, screen and (min-width: 992px) {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .lib-footer__guidance {
        position: static;
        justify-content: center;
        @media print, screen and (min-width: 992px) {
          li ~ li::before {
            background-color: var(--WHT);
          }
          a {
            color: var(--WHT);
          }
        }
      }
      .lib-footer__copyright {
        background-color: var(--MAIN);
        margin-top: 1rem;
        @media print, screen and (min-width: 992px) {
          margin-top: 0;
        }
      }
    }
  }
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */
.common-btn {
  max-width: none;
  min-height: auto;
  padding: 0;
  font-size: 1rem;
  background-color: transparent;
  color: var(--MAIN);
  width: auto;
  border: none;
  padding-bottom: 1rem;
  border-bottom: 2px solid transparent;
}
.common-btn:hover {
  border-bottom-color: var(--DEF);
}
.common-btn .material-symbols-outlined {
  border-color: var(--MAIN) !important;
  background-color: var(--MAIN) !important;
  color: var(--WHT) !important;
  transition: all 0.3s;
}
.common-btn:hover .material-symbols-outlined {
  background-color: var(--WHT) !important;
  color: var(--MAIN) !important;
}

.top-mv video {
  object-fit: cover !important;
  @media print, screen and (min-width: 1400px) {
    /*aspect-ratio: 2.51/1;*/
  }
}

/* ニュース・トピックス */
.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-media__item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--GRY);
}
.top-news .lib-card__txtarea {
  flex-direction: row;
  align-items: center;
  padding-top: 0;
}
.top-news .lib-media__category {
  order: 2;
  margin-right: 1rem;
}
.top-news .lib-media__tag {
  order: 3;
  margin-right: 1rem;
}
.top-news .lib-media__time {
  order: 1;
  flex-direction: column;
  margin-right: 1rem;
}
.top-news .lib-media__title {
  order: 4;
  font-size: 1rem;
}
.top-news {
  .lib-media__time:has(p + p) p:nth-of-type(2),
  .lib-media__time:has(p + p) p span {
    display: none;
  }
}
.top-news .lib-rss__date {
  font-size: 0.8125rem;
  line-height: 1.25;
}
.top-news .lib-rss__title {
  font-weight: 700;
  margin-top: 0;
}
.lib-rss__title a::after {
  position: static;
  margin-left: 0.5em;
}
.top-news .lib-rss__contents {
  display: none;
}

@media print, screen and (min-width: 768px) {
  .top-news .lib-rss__title {
    display: inline-block;
  }
  .top-news .lib-rss__list > li .chip {
    position: static;
  }
  .top-news .lib-rss__date,
  .top-news .lib-rss__list > li .chip {
    margin-right: 1rem;
  }
  .top-news .lib-rss__list > li ~ li {
    margin-top: 0;
    padding-top: 0;
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/* .top-news .lib-tab__panel[role="tabpanel"] {
  box-shadow: none !important;
}
.top-news .lib-cnt-024__menu li .lib-tab__btn[aria-selected="true"] {
  position: relative;
  background-color: var(--DGRY);
}
.top-news .lib-cnt-024__menu li .lib-tab__btn[aria-selected="true"]::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-top: 20px solid var(--DGRY);
  border-bottom: 0;
  bottom: -20px;
}
.top-news .lib-tab__btn {
  background-color: var(--GRY);
  border-left: 1px solid var(--WHT);
  box-shadow: none !important;
} */

.top-news {
  .lib-tab__btn {
    background-image: url("/dcms_media/image/bg-before-hover.jpg");
    border: unset;
    color: var(--WHT);
    @media print, screen and (min-width: 992px) {
      min-height: 10rem;
    }
    &:hover
    /* , &[aria-selected="true"] */ {
      background-image: url("/dcms_media/image/bg-after-hover.jpg");
      border: unset;
    }
  }
  .lib-media__tag {
    display: none;
  }
}

@media print, screen and (min-width: 768px) {
  .top-news .lib-media__tag,
  .top-news .lib-media__time {
    margin-top: 0;
  }
  .top-news .lib-media__time,
  .top-news .lib-media__category {
    min-width: 5rem;
  }
}
@media print, screen and (max-width: 767px) {
  .top-news {
    position: relative;
    padding-bottom: 50px;
  }
  .top-news .lib-media__title {
    flex-grow: 1;
    flex-basis: 100%;
  }
  .top-news .col.lib-txt__outer {
    position: absolute;
    bottom: -30px;
  }
  .top-news .lib-card__txtarea {
    /* flex-direction: column; */
    align-items: start;
    flex-wrap: wrap;
    column-gap: 1em;
    row-gap: 0.5em;
  }
  .top-news .lib-media__time {
    flex-direction: row;
    margin-right: 0;
    margin-block: auto;
    justify-content: flex-start;
    min-width: 5rem;
  }
  .top-news .lib-media__category {
    flex-grow: 1;
    justify-content: flex-end;
  }
}
/* 251114追記 */
:where(.lib-link__btn).--arr {
  [class*="material-symbols-"] {
    border-color: currentColor;
  }
}
.lib-link__btn.bg-hover-main {
  background-color: #a7a7a7;
  color: var(--WHT);
  border-color: #a7a7a7;
}
.lib-link__btn.bg-hover-main:hover {
  /*background-color: var(--MAIN);*/
  color: var(--WHT);
  /*border-color: var(--MAIN);*/
  background-color: #353a40;
  border-color: #353a40;
}
/*.lib-link__btn[href="/news-topics/financial-summary.html"].bg-hover-main:hover {
  background-color: #004098;
  color: var(--WHT);
  border-color: #004098;
}
.lib-link__btn[href="/news-topics/timely-disclosure.html"].bg-hover-main:hover {
  background-color: #353a40;
  color: var(--WHT);
  border-color: #353a40;
}*/
:where(.lib-link__btn).--orange {
  --MAIN: #eb6000;
}

:root {
  --short: #490fbb;
  --timely: #c2125e;
  --irnews: #eebc11;
  --news: #1ea1b4;
}
.lib-media__category {
  pointer-events: none;
}
.lib-media__category .badge {
  min-width: 6em;
  text-align: center;
}
.lib-media__category .badge[href*="/media/short"],
.badge[href*="/news-topics/financial-summary"] {
  --MAIN: var(--short);
}
.lib-media__category .badge[href*="/media/timely"],
.badge[href*="/news-topics/timely"] {
  --MAIN: var(--timely);
}
.lib-media__category .badge[href*="/media/irnews"],
.badge[href*="/news-topics/ir-news"] {
  --MAIN: var(--irnews);
}
.lib-media__category .badge[href*="/media/news"],
.badge[href*="/news-topics/news"] {
  --MAIN: var(--news);
}

div.container.--mdl.vstack {
  .lib-link__btn {
    --MAIN: #a7a7a7;
    &:hover {
      --MAIN: #353a40;
      background-color: var(--MAIN);
      border-color: var(--MAIN);
      color: var(--WHT);
    }
  }
}

h2.bg-main.fs-h6.text-wht {
  background-color: #a7a7a7;
}

ul.lib- {
  .badge[href*="/news-topics"] {
    background-color: var(--WHT);
    color: var(--MAIN);
    &:hover {
      background-color: var(--MAIN);
      color: var(--WHT);
    }
  }
  .badge[href*="/news-topics/20"] {
    background-color: #a7a7a7;
    border-color: #a7a7a7;
    color: var(--WHT);
    &:hover {
      background-color: #353a40;
      border-color: #353a40;
      /* color: var(--WHT); */
    }
  }
  .badge[href*="/news-topics/20"].--active {
    background-color: #353a40;
    border-color: #353a40;
    color: var(--WHT);
  }
}

.top-news {
  .lib-media__title a[href$=".pdf"]::after {
    content: "\ea05" !important;
    display: inline;
    font-size: 1.25em;
    color: var(--RED);
  }
}

/* 会社情報 */
.top-company .lib-bnr-002__link {
  min-height: 70px;
  position: relative;
  border: none;
  background-image: url("/dcms_media/image/bg-after-hover.jpg");
}
.top-company .lib-bnr-002__link::before {
  content: "";
  background-color: var(--DGRY);
  background-image: url("/dcms_media/image/bg-before-hover-top-company.jpg");
  width: 100%;
  height: 100%;
  top: 0;
  transition: all 0.3s;
  left: 0;
}
.top-company .lib-bnr-002__link:hover:before {
  opacity: 0;
  transition: all 0.3s;
}
.top-company .img-container img {
  display: none;
  transition: all 0.3s;
}
.top-company .img-container img.active {
  display: block;
}

/* 事業内容 */
/* .top-service .col .text-wht,
.top-service .col:hover .bg-wht {
  transition: all 0.3s;
}
.top-service .col:hover .text-wht {
  color: var(--MAIN) !important;
  transition: all 0.3s;
}
.top-service .col:hover .bg-wht {
  background-color: var(--MAIN) !important;
  transition: all 0.3s;
}
.top-service .col:hover .bg-wht .badge {
  color: var(--WHT) !important;
  transition: all 0.3s;
  border-color: var(--MAIN) !important;
}
.top-service .common-btn .material-symbols-outlined {
  border-color: var(--MAIN) !important;
  background-color: var(--WHT) !important;
  color: var(--MAIN) !important;
  transition: all 0.3s;
}
.top-service .col:hover .common-btn .material-symbols-outlined {
  background-color: var(--MAIN) !important;
  color: var(--WHT) !important;
} */
.top-service {
  .common-btn {
    .material-symbols-outlined {
      border-color: var(--MAIN) !important;
      background-color: var(--WHT) !important;
      color: var(--MAIN) !important;
      transition: all 0.3s;
    }
  }
  a.lib-card__item:hover {
    .common-btn {
      border-bottom: 2px solid var(--MAIN) !important;
      color: var(--MAIN) !important;
      .material-symbols-outlined {
        /* border-color: var(--WHT) !important; */
        background-color: var(--MAIN) !important;
        color: var(--WHT) !important;
        transition: all 0.3s;
      }
    }
  }
}
.top-service .col .lib-card__thumb::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  pointer-events: none;
  speak: none;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bl);
  opacity: 0;
  transition: all 0.3s;
}
.top-service .col:hover .lib-card__thumb::before {
  opacity: 0.3;
  transition: all 0.3s;
}
/* 251114追記 */
.p-bg.--grad-top-service-01::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #4784c2 100%);
  opacity: 1;
}
.p-bg.--grad-top-service-02::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #868788 100%);
  opacity: 1;
}
.p-top-service {
  a.lib-card__item [class*="material-symbols-"] {
    transition: var(--transition);
  }
  a.lib-card__item:hover [class*="material-symbols-"] {
    scale: 1.1;
  }
}

/* エムビーエスについて */
.top-about-col3 .col {
  height: 440px;
  transition: all 0.3s;
}
.top-about-col3 .col.--bl:hover {
  opacity: 0.6;
  transition: all 0.3s;
}
@media print, screen and (max-width: 767px) {
  .top-about-col3 .col {
    height: 200px;
  }
}
/* エムビーエスについて */
.top-about {
  .lib-bnr-002__link {
    min-height: 70px;
    position: relative;
    border: none;
    background-image: url("/dcms_media/image/bg-after-hover.jpg");
    /* background-image: url("/dcms_media/image/bg-after-hover-top-about.jpg"); */
  }
  .lib-bnr-002__link::before {
    content: "";
    background-color: var(--DGRY);
    /* background-image: url("/dcms_media/image/bg-before-hover-top-about.jpg"); */
    background-image: url("/dcms_media/image/bg-after-hover-top-about.jpg");
    width: 100%;
    height: 100%;
    top: 0;
    transition: all 0.3s;
    left: 0;
  }
  .lib-bnr-002__link:hover:before {
    opacity: 0;
    transition: all 0.3s;
  }
}

/* 採用情報 */
.top-recruit .lib-horizon__col .recruit-bg .lib-card__thumb {
  position: absolute;
  opacity: 0.3;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  z-index: -1;
}

/* ==================================
メディア
===================================== */
/* パンくずを非表示 */
.lib-breadcrumb__outer:has([href*="/media"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
.lib-hero__outer {
  background-color: unset;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("/dcms_media/image/mv-under.jpg");
  color: var(--WHT);
  /* font-family: "Shippori Mincho B1"; */
  /* min-height: 160px; */
}
@media print, screen and (min-width: 992px) {
  #wrapper:has(.lib-header-BS02) .lib-hero__outer {
    min-height: 160px;
  }
}
.lib-hero__title {
  font-weight: normal;
}
.lib-hero__title-en {
  font-size: 1.5em;
  line-height: 1.25;
  margin-top: 0.5em;
}

/* 追記 20250625 */
/* 会社概要 */
.lib-bnr-003__link:hover {
  background-color: var(--MAIN);
  color: var(--WHT);
}
:where(table) tbody > tr > th:first-child,
:where(table) > thead th:first-child {
  border-left-color: transparent;
}
:where(table) > thead th:last-child {
  border-right-color: transparent;
}
:where(table) th,
:where(table) > thead {
  background-color: var(--DGRY);
}
.map-btn a {
  padding: 0.3rem 0.5rem;
  background-color: var(--DGRY);
  color: var(--WHT);
  text-decoration: none;
  border: 1px solid var(--DGRY);
  white-space: pre;
}
.map-btn a:hover {
  background-color: var(--WHT);
  color: var(--DGRY);
}

/*沿革*/
.lib-cnt-025 .lib-tab__btn[aria-selected="true"] {
  background-color: var(--DGRY);
}
:where(table).--even tbody > tr:nth-child(even) > td {
  background-color: var(--WHT);
}
:where(table).--even tbody > tr:nth-child(odd) > td {
  background-color: var(--LGRY);
}
.lib-tab__menu > li:first-child .lib-tab__btn {
  border-left: var(--GRY) 1px solid;
}

/*追記0813堀*/
/*SDGs*/
.sdgs li {
  position: relative;
}

.sdgs li::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: var(--MAIN);
  border-radius: 9px;
  top: 0.3em;
  left: -10px;
}

.map {
  height: 100%;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  margin-top: -70px;
}

/* 環境を知る */
.p-env-flow {
  .col + .col {
    .lib-card__item.p-bg::before {
      background-color: var(--MAIN);
      opacity: 1;
      border-radius: unset;
      width: 3rem;
      height: 1.5rem;
      top: -2.25rem;
      left: 50%;
      transform: translateX(-50%);
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      z-index: 1;
    }
  }
  @media print, screen and (min-width: 768px) {
    [class*="row-cols-md-"] {
      .col + .col {
        .lib-card__item.p-bg::before {
          width: 3rem;
          height: 3rem;
          top: 50%;
          left: -2rem;
          transform: translateY(-50%);
          clip-path: polygon(0 0, 100% 47%, 0 100%);
        }
      }
    }
  }
  @media print, screen and (min-width: 992px) {
    [class*="row-cols-lg-"] {
      .col + .col {
        .lib-card__item.p-bg::before {
          width: 3rem;
          height: 3rem;
          top: 50%;
          left: -3.5rem;
          transform: translateY(-50%);
          clip-path: polygon(0 0, 100% 47%, 0 100%);
        }
      }
    }
  }
  @media print, screen and (min-width: 992px) {
    .row-cols-lg-3 {
      .col:nth-of-type(3n + 1) {
        .lib-card__item.p-bg::before {
          display: none;
        }
      }
    }
  }
}

/* 251114追記 */
/*---------- ニュース・トピックス（IR情報） ----------*/
/* パンくずを非表示 */
.lib-breadcrumb__outer:has([href*="/news-topics.html"]) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================
下層オリ 採用TOP
======================================== */
/*---------- MV ----------*/
.p-recruit-mv {
  .lib-fv__thumb {
    height: unset;
    aspect-ratio: 3/4;
    @media print, screen and (min-width: 768px) {
      aspect-ratio: 4/3;
    }
    @media print, screen and (min-width: 992px) {
      aspect-ratio: 16/9;
    }
    @media print, screen and (min-width: 1400px) {
      /* aspect-ratio: 24.8/9; */
      aspect-ratio: 2.51/1;
    }
  }
}

/*---------- お知らせ ----------*/
/* メディアのスライダーをリストにする */
.lib-blog-001.p-recruit-top-news {
  .swiper-wrapper {
    flex-direction: column;

    .swiper-slide {
      width: 100%;
    }
  }

  .lib-media__thumb,
  .lib-media__tag,
  .lib-swiper__control,
  .lib-media__txt {
    display: none;
  }

  .lib-media__txtarea {
    display: flex;
    flex-direction: column;
    gap: 0.25em 1em;
    padding-block: 0;
    /* border-bottom: 1px solid var(--GRY); */

    .lib-media__category {
      order: 2;
      /* display: none; */
    }
    .lib-media__title {
      order: 3;
      margin-top: 0 !important;
      font-size: 1rem;
      font-weight: normal;
    }
    .lib-media__txt {
      order: 4;
    }
    .lib-media__time {
      order: 1;
      align-items: flex-start;
      margin-top: 0;
      padding-top: 0;
      border-top: unset;
      min-height: unset;
    }
  }
}
/* @media print, screen and (min-width: 992px) { */
.lib-blog-001.p-recruit-top-news {
  .lib-media__txtarea {
    flex-direction: row;
    align-items: center;

    .lib-media__category .lib-badge__category,
    .lib-media__time {
      text-wrap: nowrap;
    }
  }
}
/* } */
/* 「記事公開日」のみ表示させる */
.lib-blog-001.p-recruit-top-news {
  .lib-media__time:has(p + p) p:nth-of-type(2),
  .lib-media__time:has(p + p) p span {
    display: none;
  }
}

#contents:has(.u-divide-line) {
  padding-top: 0;
}
@media print, screen and (min-width: 768px) {
  .u-divide-line {
    position: relative;
    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 70%;
      background-color: var(--GRY);
      left: -2.5rem;
    }
  }
}

.lib-link__btn.--recruit {
  background-color: unset;
  border-color: currentColor;
}
:where(.lib-link__btn.ico-after-sarr.--circle).--recruit:has(.txt) .txt::after {
  background-color: unset;
  border: 1px solid currentColor;
}

.p-bg.--top-recruit-01::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(9 61 142 / 60%) 0%, rgb(7 46 106 / 80%) 50%, #062453 80%, #051f47 100%);
  opacity: 1;
}

.u-bg {
  position: relative;
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 75%;
    left: calc((100vw - 100%) / 2 * -1);
    right: calc((100vw - 100%) / 2 * -1);
    bottom: 0;
    background-color: var(--WHT);
    z-index: 1;
  }
}

.p-recruit-top-link {
  @media print, screen and (min-width: 992px) {
    .c-hover.--recruit-top-link:hover {
      scale: 1.1;
      z-index: 2;
      img {
        opacity: 1;
      }
    }
    &:has(.c-hover.--recruit-top-link:hover) .c-hover.--recruit-top-link {
      filter: brightness(0.5);
      &:hover {
        filter: unset;
      }
    }
  }

  .p-bg.--recruit-top-link::before {
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgb(0 64 152 / 50%) 30%, #004098 100%);
  }
}

.p-bg.--recruit-cta::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0168b7, #42caff 100%);
  opacity: 0.7;
  mix-blend-mode: multiply;
}

/* ========================================
下層オリ スケルトン防災コーティング
======================================== */
/*---------- MV ----------*/
.u-skeleton {
  --LMAIN: rgb(32 15 7 / 40%);

  .lib-tab__btn[aria-selected="true"] {
    background-color: var(--LMAIN);
  }
  .lib-tab__btn[aria-selected="false"]:hover {
    background-color: var(--LMAIN);
    color: var(--WHT);
  }

  .lib-tab__cover {
    background-color: var(--LMAIN);
  }
}

.u-skeleton-lineup {
  .lib-tab__menu > li .lib-tab__btn {
    border-left: var(--DGRY) 1px solid;
  }
  .lib-tab__menu > li:first-child .lib-tab__btn {
    border-left: var(--DGRY) 1px solid;
  }
  .lib-tab__btn[aria-selected="false"] {
    background-color: var(--DGRY);
    color: var(--WHT);
  }
  .lib-tab__btn[aria-selected="true"] {
    background-color: var(--WHT);
    color: var(--DEF);
  }
  .lib-tab__btn[aria-selected="false"]:hover {
    background-color: var(--WHT);
    color: var(--DEF);
  }
}

:where(.lib-link__btn).u-under-arr {
  background-color: transparent;
  border: unset;
  position: relative;

  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    background-color: var(--WHT);
    transition: var(--transition);
  }
  &::before {
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
  }
  &::after {
    right: 0;
    height: 1px;
    width: 1.25em;
    transform-origin: right bottom;
    transform: rotate(45deg);
  }
  &:hover::before,
  &:hover::after {
    right: -0.5rem;
  }
  &:hover::before {
    width: calc(100% + 0.5rem);
  }
}

:where(.ico-after-sarr.--circle):has(.txt) .txt:after {
  color: var(--WHT);
  font-size: 0.75em;
  padding: 0.5em;
  border-radius: 50%;
  background-color: var(--MAIN);
  transition: var(--transition);
}
:where(.ico-after-sarr.--circle):has(.txt):hover .txt:after {
  color: var(--MAIN);
  background-color: var(--WHT);
}

/* ========================================
下層オリ ホームメイキャップ
======================================== */
.u-home-makeup {
  .lib-card__inside {
    box-shadow: 0.5em 0.5em 0 var(--ACC);
    margin-top: -20%;
  }
  .c-icon {
    background-color: #0b2246;
    width: 30%;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
  .lib-title__outer.--typeC :where(.title)[style*="center"]:after {
    background: var(--ACC);
  }
}

.u-home-makeup--feature {
  .lib-tab__btn {
    position: relative;
    color: #052772;

    &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 2em;
      height: 1.5em;
      background-color: inherit;
      top: calc(100% - 1px);
      left: 50%;
      transform: translateX(-50%);
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      opacity: 0;
    }
    &::before {
      background-color: var(--WHT);
      top: 100%;
    }

    &[aria-selected="true"] {
      color: var(--WHT);

      &::before,
      &::after {
        opacity: 1;
      }
    }
  }

  .lib-tab__cover {
    --OTH: #46a638;
    --LOTH: #a2d69b;
  }
}

/* ========================================
採用下層
======================================== */
/*---------- 下層MV 人を知る ----------*/
.lib-hero__outer.p-recruit-under-mv {
  background-image: unset;
  background-color: var(--LMAIN);
  font-family: var(--fntBase);
  color: var(--DEF);
}

/*---------- 下層MV ベース ----------*/
html:has(.p-header-recruit) .lib-hero__outer:not(.p-recruit-under-mv) {
  background-image: unset;
  font-family: var(--fntBase);
  color: var(--DEF);
  font-weight: bold;
  .lib-hero__title {
    color: var(--MAIN);
    font-weight: 600;
  }
}

/*---------- 共通パーツ ----------*/
/* 背景にグラデーション */
.bg-grad-01 {
  background: linear-gradient(90deg, var(--MAIN) 0%, var(--LGRY) 100%);
}

/*---------- 環境を知る ----------*/
.p-loop-text {
  speak: none;
}
.p-loop-text .p-loop-box {
  display: flex;
}
.p-loop-text .c-loop-text {
  display: flex;
  /* スライドの枚数 ÷ 表示させたい枚数 × 100vw */
  width: 200vw;
}
@media print, screen and (min-width: 768px) {
  .p-loop-text .c-loop-text {
    width: 100vw;
  }
}
/* @media print, screen and (min-width: 992px) {
   .p-loop-text .c-loop-text {
     width: 100vw;
   }
} */

/* ループアニメーション */
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.p-loop-text:not(.--rev) .c-loop-item:first-child {
  -webkit-animation: loop 100s -50s linear infinite;
  animation: loop 100s -50s linear infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.p-loop-text:not(.--rev) .c-loop-item + .c-loop-item {
  -webkit-animation: loop2 100s linear infinite;
  animation: loop2 100s linear infinite;
}

@keyframes loop-rev {
  0% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes loop-rev2 {
  0% {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0%);
  }
}
.p-loop-text.--rev .c-loop-item:first-child {
  -webkit-animation: loop 100s -50s linear infinite;
  animation: loop-rev 100s -50s linear infinite;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.p-loop-text.--rev .c-loop-item + .c-loop-item {
  -webkit-animation: loop2 100s linear infinite;
  animation: loop-rev2 100s linear infinite;
}

#tinymce,
.editor_block {
  .p-top-recruit-slider {
    position: static !important;
    .p-loop-box {
      flex-direction: column;
      .c-loop-item {
        animation: unset;
        .c-loop-text {
          width: 100%;
        }
      }
    }
  }
}

/*---------- 数字で見る モーダル ----------*/
#tinymce .js-modal-dialog,
.editor_block .js-modal-dialog {
  display: block !important;
  position: static !important;
}
#tinymce .js-modal-dialog[class*="translate-middle"],
.editor_block .js-modal-dialog[class*="translate-middle"] {
  transform: unset !important;
}
#tinymce .js-modal-dialog.container,
.editor_block .js-modal-dialog.container {
  margin-top: 0.5em !important;
}

/* 修正250908 */
@media print, screen and (min-width: 992px) {
  .h-contact-btn {
    .lib-nav__btn:hover {
      transform: translate(4px, 4px);
      .txt::before {
        display: none;
      }
    }
  }
}

@media print, screen and (max-width: 991px) {
  .lib-nav__item:has(.sns-links) {
    float: left;
    width: 50% !important;
    .lib-nav__btn {
      margin-inline: auto;
    }
  }

  .lib-nav__list:has(.sns-links) {
    border-bottom: unset;
    box-shadow: unset;
  }
}

.fs-data-num {
  font-size: clamp(7rem, calc(6.2682926829268295rem + 3.1219512195121952vw), 9rem);
}
.text-hukuro-wht {
  -webkit-text-stroke: min(4px, 0.5em) var(--WHT);
  text-stroke: min(4px, 0.5em) var(--WHT);
  paint-order: stroke;
}
/* title属性が「業績」である要素にスタイルを適用 */
.lib-sitemap__list li a[title="業績"] {
  color: var(--ACC); 
}