@charset "UTF-8";

:root {
  interpolate-size: allow-keywords;
  --bl: #000;
  --grad-01: linear-gradient(50deg, var(--LMAIN) 0%, var(--MAIN) 100%);
  --grad-02: linear-gradient(50deg, var(--WHT) 0%, var(--OTH) 100%);
  --transition: all 0.3s ease-in-out;
  --oversize: calc((100% - 100vw) / 2);
  --bankin-clip-height: clamp(5rem, calc(3.1707317073170733rem + 7.804878048780488vw), 10rem);
}

/* ==================================
リセット・調整・ファンデーション
===================================== */
/* 高さを画像自体の高さにする */
: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;
}

/* ※のリストマーカー */
.lib-indent__list.--line > li {
  position: relative;
  padding-left: 2em;
}
.lib-indent__list.--line > li::before {
  content: "―";
  position: absolute;
  top: 0;
  left: 0;
}

/* 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 見出しセルをDEF */
:where(table.--thead-def) {
  th,
  > thead {
    background-color: var(--DEF);
  }
  > thead th {
    border-top-color: var(--DEF);
    &:first-child {
      border-left-color: var(--DEF);
    }
    &:last-child {
      border-right-color: var(--DEF);
    }
  }
  tbody > tr > th:first-child {
    border-left-color: var(--DEF);
  }
}

/* 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 {
  font-family: "Shippori Mincho", 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;
}

/* マーカーのあしらい */
mark {
  background: linear-gradient(transparent 60%, yellow 60%);
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.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.--img::before,
.p-bg.--img::after {
  z-index: 1;
}
/* 黒透明フィルター */
.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;
}

/* ぼかしフィルター（強さはstyleでCSS変数を書き換える） */
.p-bg.--blur {
  --blur: 0.5rem;
}
.p-bg.--blur::after {
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(var(--blur));
}

/*---------- ホバーアクション ----------*/
.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-BS03をフル幅にする */
@media print, screen and (min-width: 992px) {
  .p-header.lib-header__outer.lib-header-BS03 {
    top: 0;
    width: 100vw;
    margin-inline: 0;

    /*CTAボタンの大きさ調整 */
    &:has(.lib-induce__outer) .lib-nav__outer:has(.lib-induce__outer > li:nth-child(1):nth-last-child(1)) {
      -ms-grid-columns: 1fr 220px;
      grid-template-columns: 1fr 220px;
    }
  }
  /* .p-header .lib-header__inner {
    max-width: 1400px;
    margin-inline: auto;
  } */
}

/* TOPの時 */
html:has([class*="lib-fv"]) {
  .p-header.lib-header__outer.lib-header-BS03 {
    transition: var(--transition);

    .lib-header__bar {
      -webkit-box-shadow: none;
      box-shadow: none;
      background-color: transparent;
    }
  }

  &:not(.is-scroll) {
    .p-header.lib-header__outer.lib-header-BS03 {
      box-shadow: unset;
      background-color: unset;

      &:has(.is-open) {
        background-color: var(--WHT);

        .lib-nav__btn {
          color: var(--DEF);
        }
      }
      &:not(:has(.is-open)) {
        .lib-header__logo img {
          filter: brightness(0) invert(1);
        }
      }
      .lib-nav__btn {
        color: var(--WHT);
      }
    }
    .lib-menu__btn {
      background-color: transparent;
    }
  }
  .p-header.lib-header__outer.lib-header-BS03 {
    .lib-nav__btn > .txt::before {
      background-color: currentColor;
    }
  }
}
@media print, screen and (max-width: 991px) {
  #wrapper:has([class*="lib-fv"]):has(.p-header):has(.lib-header-BS03) {
    padding-top: 0;
  }

  .p-header.lib-header__outer.lib-header-BS03 {
    .lib-nav__btn > .txt::before {
      background-color: currentColor;
    }
    .lib-nav__panel.is-open,
    .lib-nav__list {
      box-shadow: unset;
    }
    .lib-nav__list,
    .lib-nav__item {
      border: none;
    }
    .lib-nav__panel {
      background-color: var(--WHT);
    }
    .lib-nav__panel {
      height: auto;
    }
    .lib-child__item {
      border-left: unset;
    }
    .lib-child__list {
      border-bottom: var(--GRY) 1px solid;
    }

    .lib-menu__btn {
      border: 8px solid var(--WHT);
      background-color: #b7b7b7;
    }
    .lib-menu__btn[aria-expanded="true"]::after {
      content: "Close";
      display: block;
      position: absolute;
      right: 0;
      bottom: 0.5em;
      left: 0;
      line-height: 1;
      text-transform: uppercase;
      color: var(--WHT);
      font-size: 0.625em;
    }
    .lib-menu__btn[aria-expanded="true"] > .line:nth-of-type(1) {
      -webkit-transform: translateY(calc(50% - 1px + 0.25em)) rotate(-45deg);
      transform: translateY(calc(50% - 1px + 0.25em)) rotate(-45deg);
    }
    .lib-menu__btn[aria-expanded="true"] > .line:nth-of-type(3) {
      -webkit-transform: translateY(calc(50% - 1px - 1em)) rotate(45deg);
      transform: translateY(calc(50% - 1px - 1em)) rotate(45deg);
    }
  }

  :not(.is-scroll) {
    .lib-menu__btn {
      background-color: #b7b7b7;
    }
  }

  html:has([class*="lib-fv"]) {
    .p-header.lib-header__outer.lib-header-BS03 {
      .lib-menu__btn {
        border: 8px solid transparent;
        background-color: transparent;
      }
    }
  }
  html:has([class*="lib-fv"]) {
    &.is-scroll,
    &.is-open {
      .p-header.lib-header__outer.lib-header-BS03 {
        .lib-menu__btn {
          border-color: var(--WHT);
          background-color: #b7b7b7;
        }
      }
    }
  }
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor;
}

@media print, screen and (max-width: 575.8px) {
  .p-footer.lib-footer-BS02 {
    .lib-footer__nav {
      width: 100%;
      margin-inline: 0;
    }
    .lib-footer__item > a {
      font-size: 0.875rem;
    }
  }
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */
/* MV画像の高さ */
.p-mv .lib-fv__thumb {
  height: unset;
}
.p-mv .lib-fv__thumb {
  /* aspect-ratio: 3/4; */
  aspect-ratio: 375/660;
}
@media print, screen and (min-width: 768px) {
  .p-mv .lib-fv__thumb {
    aspect-ratio: 4/3;
  }
}
@media print, screen and (min-width: 992px) {
  .p-mv .lib-fv__thumb {
    aspect-ratio: 16/9;
  }
}
@media print, screen and (min-width: 1400px) {
  .p-mv .lib-fv__thumb {
    /* aspect-ratio: 2.51/1; */
    aspect-ratio: 21/9;
  }
}

/* 見出し */
.c-top-head {
  font-size: clamp(3rem, calc(2.6341463414634148rem + 1.5609756097560976vw), 4rem);
}

/*---------- サカイグループについて ----------*/
.p-top-aboutus {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}
@media print, screen and (min-width: 992px) {
  .p-top-aboutus {
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 60%);
  }
}

/*---------- 私たちの強み ----------*/
.p-bg.--top-strong::before {
  inset: 0;
  background: linear-gradient(0deg, var(--MAIN) 0%, transparent 100%);
}

/*---------- 採用情報 ----------*/
.p-top-recruit {
  clip-path: polygon(0 0, 95% 0, 100% 30%, 100% 100%, 0 100%);
}
@media print, screen and (min-width: 992px) {
  .p-top-recruit {
    clip-path: polygon(0 0, 90% 0, 100% 70%, 100% 100%, 0 100%);
  }
}

@media print, screen and (max-width: 767px) {
  .p-bg.--top-recruit-ap::before {
    top: 0;
    right: 0;
    left: 0;
    height: 15rem;
    background: linear-gradient(180deg, var(--MAIN) 0%, transparent 100%);
    z-index: 1;
  }
}

.p-top-recruit-col .col {
  border-left: 1px solid var(--GRY);
}
.p-top-recruit-col .col:nth-child(odd) {
  border-left: unset;
}

@media print, screen and (min-width: 992px) {
  .p-top-recruit-col.row-cols-lg-4 .col {
    border-left: 1px solid var(--GRY);
  }
  .p-top-recruit-col.row-cols-lg-4 .col:nth-child(4n + 1) {
    border-left: unset;
  }
}

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
html:has(.p-header.lib-header-BS03) .lib-hero__outer {
  background-color: unset;
  background-image: url("/dcms_media/image/bg-under-mv.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;

  &::before {
    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;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bl);
    opacity: 0.2;
  }

  .lib-hero__txtarea {
    color: var(--WHT);

    .lib-hero__title-en {
      text-transform: uppercase;
      font-weight: bold;
      line-height: 1;
      margin-bottom: 0.125em;
      font-size: clamp(1.875rem, calc(1.1890243902439024rem + 2.9268292682926833vw), 3.75rem);
    }

    .lib-hero__title {
      font-weight: 500;
      font-size: clamp(1.25rem, calc(1.021341463414634rem + 0.975609756097561vw), 1.875rem);
    }
  }
}
@media print, screen and (min-width: 992px) {
  html:has(.p-header.lib-header-BS03) .lib-hero__outer {
    padding-top: 0;
    margin-top: 90px;
    min-height: 250px;
  }
}

html:has(.p-header.lib-header-BS03):has(.lib-form__outer) .lib-hero__outer {
  background-image: url("/dcms_media/image/bg-under-mv-contact.jpg");
}
html:has(.p-header.--izumi.lib-header-BS03):has(.lib-form__outer) .lib-hero__outer {
  background-image: url("/dcms_media/image/bg-under-mv-contact-izumi.jpg");
}

/* ==================================
泉商事 ヘッダー
===================================== */
.p-header.--izumi :where(.lib-induce__btn.ico-after-sarr):has(.txt) .txt::after {
  border: 1px solid currentColor;
  padding: 0.5em;
  border-radius: 50%;
  margin-top: 0;
  font-size: 0.675em;
}
/* ロゴ・ハンバーガーボタン */
html:has([class*="lib-fv"]) {
  &:not(.is-scroll):not(.is-open) {
    .p-header.--izumi {
      .lib-header__logo a {
        color: var(--WHT);
      }
      .lib-menu__btn[aria-expanded="false"] > .line {
        background-color: var(--MAIN);
      }
    }
  }
}

/* ========================================
泉商事 TOP
======================================== */
/*---------- ローディング ----------*/
.p-roading {
  inset: 0;
  z-index: 1010;
  min-height: 200px;
}
.is-loading:not(.is-editor) .p-roading {
  opacity: 1; /* 初期状態 */
  animation: roedingOpacity 2s linear forwards; /* アニメーションの設定 */
}
@keyframes roedingOpacity {
  0% {
    opacity: 1; /* 開始時 */
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none; /* 終了時 */
  }
}
.editor_block,
#tinymce {
  &:has(.p-roading) {
    height: 200px;
  }
}
.editor_block,
#tinymce {
  .p-roading {
    position: static !important;
    height: 200px !important;
    animation: unset;
    overflow: clip;
  }
}

.p-roading {
  img,
  .c-loading-logo {
    opacity: 0;
    filter: blur(2em); /* 初期状態 */
    transition: var(--transition);
  }
}
.is-loading:not(.is-editor) .p-roading {
  img,
  .c-loading-logo {
    opacity: 1;
    animation: blurOut 1s ease-in-out forwards; /* アニメーションの設定 */
  }
}
@keyframes blurOut {
  0% {
    filter: blur(2em); /* 開始時 */
  }
  100% {
    filter: blur(0); /* 終了時 */
  }
}
.editor_block,
#tinymce {
  .p-roading {
    img,
    .c-loading-logo {
      opacity: 1;
      filter: blur(0);
      animation: unset;
    }
  }
}

.c-loading-item {
  &.--01 .c-bg {
    height: 50vw;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0% 100%);
  }
  &.--01 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  &.--02 .c-bg {
    height: 40vw;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background: var(--grad-01);
  }
  &.--02 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  &.--03 .c-bg {
    height: 50vw;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  }
  &.--03 {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  &.--04 .c-bg {
    height: 40vw;
    clip-path: polygon(0 90%, 100% 0, 100% 100%, 0% 100%);
    background: var(--grad-02);
  }
  &.--04 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
}
.is-loading:not(.is-editor) .c-loading-item {
  &.--01 {
    animation: liner01 0.2s ease-in-out forwards;
  }
  &.--02 {
    animation: liner02 0.2s ease-in-out forwards;
    animation-delay: 0.3s;
  }
  &.--03 {
    animation: liner03 0.2s ease-in-out forwards;
  }
  &.--04 {
    animation: liner04 0.2s ease-in-out forwards;
    animation-delay: 0.3s;
  }
}
@media print, screen and (min-width: 992px) {
  .is-loading:not(.is-editor) .c-loading-item {
    &.--01 .c-bg {
      height: 30vw;
      clip-path: polygon(0 0, 30% 0, 0 100%);
    }
    &.--02 .c-bg {
      height: 20vw;
      clip-path: polygon(0 0, 40% 0, 0 100%);
    }
    &.--03 .c-bg {
      height: 30vw;
      clip-path: polygon(100% 0, 100% 100%, 70% 100%);
    }
    &.--04 .c-bg {
      height: 20vw;
      clip-path: polygon(100% 0, 100% 100%, 60% 100%);
    }
    &.--01,
    &.--02,
    &.--03,
    &.--04 {
      animation-duration: 0.3s;
    }
    /* &.--02, &.--04 {
      animation-delay: 0.5s;
    } */
  }
}
@keyframes liner01 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner02 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner03 {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner04 {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
.editor_block,
#tinymce {
  .p-roading {
    .c-loading-item {
      animation: unset !important;
      clip-path: unset !important;
    }
  }
}

/*---------- 共通 ----------*/
/* ボタンのアイコン */
:where(.ico-after-arrD):has(.txt) .txt::after {
  content: "\ea03";
  rotate: 90deg;
  padding: 0.5em;
}
.lib-anchor__list :where(.ico-after-arrD):has(.txt) .txt::after {
  top: 0.25em;
}
.lib-anchor__list :where(.ico-after-arrD):has(.txt):hover .txt::after {
  transform: translateX(10%);
}

/* 泉商事のみアイコンに円 */
html:has(.p-header.--izumi) {
  :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
    border: 1px solid currentColor;
    padding: 0.5em;
    border-radius: 50%;
    margin-top: -1em;
    font-size: 0.675em;
  }
  :where(.ico-before-sarr)::before,
  :where(.ico-after-sarr)::after {
    border: 1px solid currentColor;
    padding: 0.5em;
    border-radius: 50%;
    margin-top: 0;
    font-size: 0.675em;
  }
  :where(.lib-link__btn.sizeL):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::before,
  :where(.lib-link__btn.sizeL):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
    font-size: 0.875em;
  }
  :where(.lib-link__btn.sizeL)::before,
  :where(.lib-link__btn.sizeL)::after {
    font-size: 1.25em;
  }
  :where(.lib-link__btn.sizeL.ico-before-sarr)::before,
  :where(.lib-link__btn.sizeL.ico-after-sarr)::after {
    font-size: 0.875em;
  }

  :where(.ico-after-arrD):has(.txt) .txt::after {
    top: 0.25em;
    border: 1px solid currentColor;
    border-radius: 50%;
  }
}

/*---------- MV ----------*/
/* MV画像の高さ */
@media print, screen and (max-width: 767px) {
  .p-mv.--izumi .lib-fv__thumb {
    aspect-ratio: 375/567;
  }
}
/* 三角形 */
.p-mv.--izumi .c-bg {
  width: 100%;
  max-width: 864px;
  height: clamp(4.5rem, calc(3.310975609756097rem + 5.073170731707317vw), 7.75rem);
  clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
}
@media print, screen and (min-width: 768px) {
  .p-mv.--izumi .c-bg {
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
}
/* SCROLL */
.c-scroll {
  animation: arrowmove 3s ease-in-out infinite;
}
.c-scroll::after {
  content: "";
  display: block;
  width: 1em;
  height: 7em;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: skewY(-45deg);
}
@keyframes arrowmove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3%);
  }
  100% {
    transform: translateY(0%);
  }
}
.c-scroll a {
  writing-mode: vertical-rl;
}

/*---------- 事業内容 ----------*/
.c-head-izumi-jp {
  font-size: clamp(2rem, calc(1.451219512195122rem + 2.341463414634146vw), 3.5rem);
}
.c-head-izumi-en {
  font-size: clamp(4.5rem, calc(2.8536585365853657rem + 7.02439024390244vw), 9rem);
}
.text-grad-izumi {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background: -webkit-linear-gradient(50deg, var(--LMAIN) 0%, var(--MAIN) 100%);
  background: var(--grad-01);
  display: inline-block;
}

@media print, screen and (min-width: 992px) {
  .u-lg-img-height-align {
    position: absolute;
    inset: 0;
  }
}

/*---------- 板金 ----------*/
.p-izumi-top-bankin .--bg-main {
  clip-path: polygon(0 var(--bankin-clip-height), 100% 0, 100% calc(100% - var(--bankin-clip-height)), 0% 100%);
  height: 70%;
}
@media print, screen and (min-width: 768px) {
  .p-izumi-top-bankin .--bg-main {
    height: 85%;
  }
}
.p-izumi-top-bankin .--bg-gry {
  clip-path: polygon(0 0, 100% var(--bankin-clip-height), 100% 100%, 0% 100%);
}

/*---------- 技術 ----------*/
.p-top-technology.u-aspect img {
  aspect-ratio: 16/9;
}
@media print, screen and (min-width: 768px) {
  .p-top-technology.u-aspect img {
    aspect-ratio: 4/3;
  }
}

.p-bg.--grad-def-bottom::before {
  opacity: 0.5;
  z-index: 1;
  inset: 60% 0px 0px;
  background: linear-gradient(0deg, var(--DEF) 0%, transparent 100%);
}

/*---------- 工場/設備紹介 / 企業情報 ----------*/
.text-grad-izumi.--02 {
  background: -webkit-linear-gradient(50deg, var(--WHT) 0%, var(--OTH) 100%);
  background: var(--grad-02);
}

.p-top-facility.u-aspect img {
  aspect-ratio: 16/9;
}
@media print, screen and (min-width: 768px) {
  .p-top-facility.u-aspect img {
    aspect-ratio: 4/3;
  }
}

/*---------- お知らせ ----------*/
/* メディアのスライダーをリストにする */
.lib-blog-001.--list {
  .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-bottom: 1em;
    border-bottom: 1px solid var(--GRY);

    .lib-media__category {
      order: 2;
    }
    .lib-media__title {
      order: 3;
    }
    .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.--list {
    .lib-media__txtarea {
      flex-direction: row;
      align-items: center;

      .lib-media__category .lib-badge__category,
      .lib-media__time {
        text-wrap: nowrap;
      }
    }
  }
}
/* 「記事公開日」のみ表示させる */
.lib-blog-001.--list {
  .lib-media__time:has(p + p) p:nth-of-type(2),
  .lib-media__time:has(p + p) p span {
    display: none;
  }
}
/* あしらい */
.p-izumi-top-news {
  .lib-media__title {
    font-size: 1.125rem !important;
    font-weight: 500 !important;
  }
}
@media print, screen and (min-width: 992px) {
  .p-izumi-top-news {
    .lib-media__time p,
    .lib-media__category .lib-badge__category {
      font-size: 1rem !important;
    }
  }
}

/* ========================================
下層
======================================== */
/*---------- プレス板金塗装 ----------*/
.c-head-num::before,
.c-head-num::after {
  content: "";
  display: block;
  height: 2px;
  /* width: 5em; */
  flex-grow: 1;
  background-color: var(--GRY);
}
