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

/* ボタンのアイコンに●の背景色を入れる */
/* :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);
  }
  &:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--MAIN);
  }
  &.bg-wht > .txt::after {
    color: var(--WHT);
    background-color: var(--MAIN);
  }
  &.bg-wht:hover > .txt::after {
    color: var(--MAIN);
    background-color: var(--WHT);
  }
  &.border-accent > .txt::after {
    color: var(--ACC);
  }
  &.border-accent:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--ACC);
  }
  &.border-accent.bg-wht > .txt::after {
    color: var(--WHT);
    background-color: var(--ACC);
  }
  &.border-accent.bg-wht:hover > .txt::after {
    color: var(--ACC);
    background-color: var(--WHT);
  }
  &.border-def > .txt::after {
    color: var(--DEF);
  }
  &.border-def:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--DEF);
  }
} */

/*---------- 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;
  }
  > 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: 2em;
  }
  > li::before {
    content: "―";
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* table 罫線パターン */
:where(table).--border {
  > thead,
  th {
    background-color: unset;
  }
  > thead th:first-child {
    border-left-color: var(--GRY);
  }
  > thead th:last-child {
    border-right-color: var(--GRY);
  }
  th,
  td {
    border: unset;
    border: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
  }
  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);
    @media print, screen and (max-width: 767px) {
      border-top: 1px solid var(--DGRY);
      margin-top: -1px;
    }
  }
  &.--even tbody > tr:nth-child(even) > th {
    background-color: var(--LGRY);
  }
}

/* table 下線パターン2 見出しセルの下線はメインカラー */
:where(table).--border-bottom-main {
  border: unset;
  th,
  > thead {
    background-color: unset;
  }
  th,
  td {
    border: unset;
    border-bottom: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
    border-bottom: 1px solid var(--MAIN);
    @media print, screen and (max-width: 767px) {
      border-top: 1px solid var(--MAIN);
      border-bottom: 1px solid var(--GRY);
      margin-top: -1px;
    }
  }
  &.--even tbody > tr:nth-child(even) > th {
    background-color: var(--LGRY);
  }
}

/* 見出し"列"だけグレー */
: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 {
  --cell-padding: 0.5em;
  td,
  th {
    padding: var(--cell-padding);
  }
}

/* メディアのスライダーをリストにする */
/* swiper用のclassを削除or無効にした上で利用 */
.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);
    @media print, screen and (min-width: 992px) {
      flex-direction: row;
      align-items: center;
    }
    .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) {
        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;
  }
}

/*---------- Swiper ----------*/
/* 滑らかに */
.u-swiper-liner .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

/* メディアの一覧ページを3カラムにする
   （15em=240px以下にしないようにする） */
/* .media-post__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 1em;
  .media-post__item {
    margin-top: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
  .media-post__thumb {
    height: auto;
    grid-row: 1/2;
    @media print, screen and (min-width: 768px) {
      width: 100%;
    }
    img {
      object-fit: cover;
      aspect-ratio: 16/9;
    }
  }
  .media-post__inside {
    grid-row: 2/3;
    @media print, screen and (min-width: 768px) {
      padding-left: 0;
    }
    .media-post__chip {
      @media print, screen and (min-width: 768px) {
        margin-top: 0;
      }
    }
  }
} */

/* ==================================
タイポ
===================================== */
/*---------- font（日本語フォントが打ち消される場合に使用） ----------*/
/* @font-face{
	font-family: "Avenir"; ←任意の文字で書く
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff2') format('woff2');
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff') format('woff');
	font-weight: 300; ←読み込むフォントのデータに合わせてweight設定する（woffデータの中にweightがすべてそろっていれば記載不要）
	unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+0021, U+003F, U+0026, U+0025, U+002C, U+002E; ←英数字 + ! ? & % , . を含める
} */
 /*↑↑↑必要に応じて記載変更↑↑↑↑*/


/* ゴシックとか */
.ff-notosans {
  font-family: 'Noto Serif 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: "Zen Maru Gothic", sans-serif;
}
.ff-zenkakugo {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ff-montserrat {
  font-family: "Montserrat", sans-serif;
}
.ff-staatliches {
  font-family: "Staatliches", sans-serif;
}
.ff-m-plus-rounded-1c {
  font-family: "M PLUS Rounded 1c", sans-serif;
  transform: rotate(0.07deg);
}
.ff-inter {
  font-family: "Inter", sans-serif;
}
/* 明朝とか */
.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;
}

/* font-size */
@media print, screen and (min-width: 992px) {
  .fs-lg-50 {
    font-size: 3.125rem;
  }
}
@media print, screen and (min-width: 992px) {
  .fs-lg-60 {
    font-size: 3.75rem;
  }
}

/* 縦書き */
.vertical-rl {
  writing-mode: vertical-rl;
}

/* 袋文字 */
.text-hukuro {
  /* -webkit-text-stroke: 2px var(--bl);
     text-stroke: 2px var(--bl); */
  text-shadow: 2px 2px 1px var(--bl), -2px 2px 1px var(--bl), 2px -2px 1px var(--bl), -2px -2px 1px var(--bl), 2px 0px 1px var(--bl), 0px 2px 1px var(--bl), -2px 0px 1px var(--bl),
    0px -2px 1px var(--bl);
}
.text-hukuro-wht {
  /* -webkit-text-stroke: 2px var(--WHT);
     text-stroke: 2px var(--WHT); */
  text-shadow: 2px 2px 1px var(--WHT), -2px 2px 1px var(--WHT), 2px -2px 1px var(--WHT), -2px -2px 1px var(--WHT), 2px 0px 1px var(--WHT), 0px 2px 1px var(--WHT), -2px 0px 1px var(--WHT),
    0px -2px 1px var(--WHT);
}

/* ==================================
テキストシャドウ
===================================== */
.text-shadow {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}


/* box-decoration-break */
.decoration-break {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* マーカーのあしらい */
mark {
  background: linear-gradient(transparent 60%, yellow 60%);
}

/* テキストをグラデーションにするベース */
.text-grad {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect {
  /* 縦横比はstyleでCSS変数を書き換える
     ex) style="--aspect: 2.51 / 1;" */
  --aspect: auto;
  @media print, screen and (min-width: 576px) {
    --aspect-sm: var(--aspect);
  }
  @media print, screen and (min-width: 768px) {
    --aspect-md: var(--aspect-sm);
  }
  @media print, screen and (min-width: 992px) {
    --aspect-lg: var(--aspect-md);
  }
  @media print, screen and (min-width: 1200px) {
    --aspect-xl: var(--aspect-lg);
  }
  @media print, screen and (min-width: 1400px) {
    --aspect-xxl: var(--aspect-xl);
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: var(--aspect);
    @media print, screen and (min-width: 576px) {
      aspect-ratio: var(--aspect-sm);
    }
    @media print, screen and (min-width: 768px) {
      aspect-ratio: var(--aspect-md);
    }
    @media print, screen and (min-width: 992px) {
      aspect-ratio: var(--aspect-lg);
    }
    @media print, screen and (min-width: 1200px) {
      aspect-ratio: var(--aspect-xl);
    }
    @media print, screen and (min-width: 1400px) {
      aspect-ratio: var(--aspect-xxl);
    }
  }

  &.--4x3 img {
    aspect-ratio: 4 / 3;
  }
  &.--3x2 img {
    aspect-ratio: 3 / 2;
  }
  &.--16x9 img {
    aspect-ratio: 16 / 9;
  }
  &.--21x9 img {
    aspect-ratio: 21 / 9;
  }
  &.--1x1 img {
    aspect-ratio: 1 / 1;
  }
  &.--2x1 img {
    aspect-ratio: 2 / 1;
  }
  &.--3x1 img {
    aspect-ratio: 3 / 1;
  }
  &.--4x1 img {
    aspect-ratio: 4 / 1;
  }
  &.--7x8 img {
    aspect-ratio: 7 / 8;
  }
  &.--9x16 img {
    aspect-ratio: 9 / 16;
  }
  &.--2x3 img {
    aspect-ratio: 2 / 3;
  }
  &.--3x4 img {
    aspect-ratio: 3 / 4;
  }

  /* 画像全体を枠内に入れたいとき */
  &.--contain img,
  .--contain img {
    object-fit: contain;
  }
}

/*---------- 角丸 ----------*/
[class*="u-rounded"] {
  overflow: clip;
}
.u-rounded {
  --round: 0.625em;
  border-radius: var(--round);
  @media print, screen and (min-width: 576px) {
    --round-sm: var(--round);
    border-radius: var(--round-sm);
  }
  @media print, screen and (min-width: 768px) {
    --round-md: var(--round-sm);
    border-radius: var(--round-md);
  }
  @media print, screen and (min-width: 992px) {
    --round-lg: var(--round-md);
    border-radius: var(--round-lg);
  }
  @media print, screen and (min-width: 1200px) {
    --round-xl: var(--round-lg);
    border-radius: var(--round-xl);
  }
  @media print, screen and (min-width: 1400px) {
    --round-xxl: var(--round-xl);
    border-radius: var(--round-xxl);
  }
}

.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;
}

.--round-top {
  border-bottom-right-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
.--round-bottom {
  border-top-right-radius: unset !important;
  border-top-left-radius: unset !important;
}
.--round-right {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
.--round-left {
  border-top-right-radius: unset !important;
  border-bottom-right-radius: unset !important;
}
.--round-trans-up {
  border-top-left-radius: unset !important;
  border-bottom-right-radius: unset !important;
}
.--round-trans-down {
  border-top-right-radius: unset !important;
  border-bottom-left-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);
  }
}

.u-l-over-50vw {
  width: 50vw;
  margin-left: calc((50vw - 50%) * -1);
}
.u-r-over-50vw {
  width: 50vw;
  margin-right: -50vw;
}
@media print, screen and (min-width: 768px) {
  .u-l-over-50vw-md {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-md {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 992px) {
  .u-l-over-50vw-lg {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-lg {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 1200px) {
  .u-l-over-50vw-xl {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-xl {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 1400px) {
  .u-l-over-50vw-xxl {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-xxl {
    width: 50vw;
    margin-right: -50vw;
  }
}

/* ========================================
パーツ
======================================== */
/*---------- アイコン（アイコンフォント想定。大きさはp-*やfs-*、個別にwidth・height指定して調整。） ----------*/
.c-icon {
  aspect-ratio: 1 / 1;
  speak: none;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;

  --icon-size: 1.5em;
  width: var(--icon-size);
  height: var(--icon-size);
  @media print, screen and (min-width: 576px) {
    --icon-size-sm: var(--icon-size);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  @media print, screen and (min-width: 768px) {
    --icon-size-md: var(--icon-size-sm);
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }
  @media print, screen and (min-width: 992px) {
    --icon-size-lg: var(--icon-size-md);
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }
  @media print, screen and (min-width: 1200px) {
    --icon-size-xl: var(--icon-size-lg);
    width: var(--icon-size-xl);
    height: var(--icon-size-xl);
  }
  @media print, screen and (min-width: 1400px) {
    --icon-size-xxl: var(--icon-size-xl);
    width: var(--icon-size-xxl);
    height: var(--icon-size-xxl);
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    speak: none;
  }

  &.--cover img {
    object-fit: cover;
  }
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
/* 余白の微調整は「gap-*」 */
.c-icon-text {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 0.75em;
  justify-content: center;
  align-items: center;

  /* アイコンだけ右寄せ */
  &.--r {
    grid-template-columns: 1fr auto;
  }
  /* アイコンだけ左寄せ */
  &.--l {
    grid-template-columns: auto 1fr;
  }
}

/*---------- レイアウト ----------*/
/* display: grid;で重ねる */
.l-overlap {
  display: grid;
  > * {
    grid-area: 1 / -1;
  }
}
#tinymce,
.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;
}

/*---------- 背景のベース ----------*/
/* 背景画像を敷く場合、
   背景画像に各色のフィルターをかける場合
   疑似要素を配置したいときのベース */
.p-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  /* opacity（濃さ）はstyleでCSS変数を書き換える
     ex) style="--bg-opacity: 0.5;" */
  --bg-opacity: 0.3;

  /* 疑似要素のファンデーション */
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    pointer-events: none;
    speak: none;
    opacity: var(--bg-opacity);
  }
  /* 画像の時 */
  &.--img::before,
  &.--img::after {
    z-index: 1;
  }
  /* グレースケール透明フィルター */
  &.--bl::before {
    background-color: var(--bl);
  }
  &.--def::before {
    background-color: var(--DEF);
  }
  &.--dgry::before {
    background-color: var(--DGRY);
  }
  &.--gry::before {
    background-color: var(--GRY);
  }
  &.--lgry::before {
    background-color: var(--LGRY);
  }
  &.--wh::before {
    background-color: var(--WHT);
  }
  /* メインカラーフィルター */
  &.--main::before {
    background-color: var(--MAIN);
  }
  &.--lmain::before {
    background-color: var(--LMAIN);
  }
  /* アクセントカラーフィルター */
  &.--accent::before {
    background-color: var(--ACC);
  }
  &.--laccent::before {
    background-color: var(--LACC);
  }
  /* 補助色カラーフィルター */
  &.--other::before {
    background-color: var(--OTH);
  }
  &.--lother::before {
    background-color: var(--LOTH);
  }
  /* グラデーションカラーフィルター */
  &.--grad-01::before {
    background: var(--grad-01);
  }
  &.--grad-01-rev::before {
    background: var(--grad-01-rev);
  }
  &.--grad-02::before {
    background: var(--grad-02);
  }
  &.--grad-02-rev::before {
    background: var(--grad-02-rev);
  }
  &.--grad-03::before {
    background: var(--grad-03);
  }
  &.--grad-03-rev::before {
    background: var(--grad-03-rev);
  }

  /* ぼかしフィルター
     強さはstyleでCSS変数を書き換える
     ex) style="--blur: 1em;" */
  &.--blur {
    --blur: 0.5rem;
  }
  &.--blur::after {
    backdrop-filter: blur(var(--blur));
    opacity: 1;
  }

  /* 乗算 */
  &.--multiply::after {
    mix-blend-mode: multiply;
  }
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  text-decoration: none;
  &:hover {
    text-decoration: none;
  }
  /* 背景色 */
  &.--bg-bl:hover {
    background-color: var(--bl);
  }
  &.--bg-def:hover {
    background-color: var(--DEF);
  }
  &.--bg-dgry:hover {
    background-color: var(--DGRY);
  }
  &.--bg-gry:hover {
    background-color: var(--GRY);
  }
  &.--bg-lgry:hover {
    background-color: var(--LGRY);
  }
  &.--bg-wh:hover {
    background-color: var(--WHT);
  }
  &.--bg-main:hover {
    background-color: var(--MAIN);
  }
  &.--bg-lmain:hover {
    background-color: var(--LMAIN);
  }
  &.--bg-accent:hover {
    background-color: var(--ACC);
  }
  &.--bg-laccent:hover {
    background-color: var(--LACC);
  }
  &.--bg-other:hover {
    background-color: var(--OTH);
  }
  &.--bg-lother:hover {
    background-color: var(--LOTH);
  }
  /* 動き */
  &.--up,
  .--up {
    --translate-up: -0.125rem;
    transition: var(--transition);
  }
  &.--up:hover,
  &:hover .--up {
    transform: translateY(var(--translate-up));
  }
  &.--down,
  .--down {
    --translate-down: 0.125rem;
    transition: var(--transition);
  }
  &.--down:hover,
  &:hover .--down {
    transform: translateY(var(--translate-down));
  }
  &.--right,
  .--right {
    --translate-right: 0.125rem;
    transition: var(--transition);
  }
  &.--right:hover,
  &:hover .--right {
    transform: translateX(var(--translate-right));
  }
  &.--left,
  .--left {
    --translate-left: -0.125rem;
    transition: var(--transition);
  }
  &.--left:hover,
  &:hover .--left {
    transform: translateX(var(--translate-left));
  }
  &.--scale-up,
  .--scale-up {
    --scale: scale(1.1);
    img {
      transition: var(--transition);
    }
    &:hover img {
      transform: var(--scale);
    }
  }
  /* あしらい */
  &.--underline:hover,
  &:hover .--underline {
    text-decoration: underline;
  }
  &.--opacity,
  .--opacity {
    --opacity: 0.8;
    &:hover {
      opacity: var(--opacity);
      img {
        opacity: var(--opacity);
      }
    }
  }
  /* l-overlapで重ねた要素のうち、ホバーしたら--afterが表示される */
  &.--overlap {
    .--after {
      opacity: 0;
      transition: var(--transition);
    }
    &:hover .--after {
      opacity: 1;
    }
  }
  /* 下線が伸びる */
  &.--bottom-line {
    position: relative;
    padding-bottom: min(0.5em, 5%);
    &::after {
      content: "";
      width: 0%;
      height: 2px;
      background-color: currentColor;
      position: absolute;
      bottom: -1px;
      left: 0;
      transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
    }
    &:hover::after {
      @media (hover: hover) and (pointer: fine) {
        width: 100%;
      }
    }
  }
  /* 下線が伸びる（子要素の場合） */
  .--bottom-line {
    position: relative;
    padding-bottom: min(0.5em, 5%);
    &::after {
      content: "";
      width: 0%;
      height: 2px;
      background-color: currentColor;
      position: absolute;
      bottom: -1px;
      left: 0;
      transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
    }
  }
  &:hover .--bottom-line::after {
    @media (hover: hover) and (pointer: fine) {
      width: 100%;
    }
  }
  /* shadowを入れる */
  &.--shadow:hover {
    @media (hover: hover) and (pointer: fine) {
      /* box-shadow: 0 .5em 1em currentColor; */
      box-shadow: 0 0.5em 1em rgb(0 0 0 / 30%);
    }
  }
}

/* ホバーしたら下線が左から順に伸びる
   （display: inline;にする必要があるので注意） */
.c-hover-underline-anime {
  display: inline;
  overflow: hidden;
  background-image: linear-gradient(90deg, currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: bottom 0 left 0;
  background-size: 0 1px;
  transition-duration: 0.3s;
  transition-property: background-size;
}
@media (any-hover: hover) {
  .c-hover-underline-anime:hover,
  a:has(.c-hover-underline-anime):hover .c-hover-underline-anime,
  button:has(.c-hover-underline-anime):hover .c-hover-underline-anime {
    background-size: 100% 1px;
  }
}

/* ==================================
ヘッダー
===================================== */
@media print, screen and (max-width: 991px) {
  .lib-header__outer.typeS .lib-child__panel {
      margin-left: 0;
  }
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor;
}
.lib-footer__title>a {
  background-color: transparent;
  border: none;
}
.lib-footer__list {
  display: block;
}
@media print, screen and (max-width: 767px) {
  .lib-footer__list {
    padding-left: 20px;
  }
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
/* .lib-hero__outer {
  background-color: unset;

  .lib-hero__title {
    font-size: clamp(1.25rem, calc(0.975609756097561rem + 1.170731707317073vw), 2rem);
  }
  .lib-hero__title-en {
    font-size: clamp(2rem, calc(1.2682926829268293rem + 3.1219512195121952vw), 4rem);
    color: var(--MAIN);
    font-weight: bold;
    opacity: 0.2;
    line-height: 1.2;
    margin-bottom: -0.4em;
  }
  .lib-hero__title-en::first-letter {
    text-transform: uppercase;
  }
} */

/* ---------- unipres additions 2026-11-09 ---------- */
/* === 見出し: 明朝＋下線あしらい（旧サイト踏襲） === */
.lib-title__outer.--default :where(.title){
  font-family:'Noto Serif JP', serif;
  font-weight:600;
  color:var(--DEF);
  display:inline-block;
}
.lib-title__outer.--default :where(.title)::after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  background:#000;
  margin-top: 12px;
}
/* 中央寄せ見出しは下線も中央 */
.lib-title__outer .title.text-center{ display:block; }
.lib-title__outer .title.text-center::after{ margin-left:auto; margin-right:auto; }
/* 濃背景(青帯など)の白見出しは下線も白 */
.text-wht .lib-title__outer :where(.title),
.lib-wide__outer.bg-main .lib-title__outer :where(.title){ color:#fff; }
.text-wht .lib-title__outer :where(.title)::after,
.lib-wide__outer.bg-main .lib-title__outer :where(.title)::after{ background:#fff; }
/* ENキャプション */
.lib-title__outer .lib-card__caption{ color:var(--ACC); font-weight:700; }

/* === 2カラムテーブル: 配色統一・左の青線除去 === */
.lib-table__01.lib-table__02{ border-top:1px solid var(--GRY); }
.lib-table__01 th,
.lib-table__01 td,
{
  border-top:none !important;
  border-right:none !important;
  border-left:none !important;
  border-bottom:1px solid var(--GRY) !important;
  padding:16px 20px;
  vertical-align:middle;
  line-height:1.8;
}
.lib-table__01 th,.lib-table__02 th{
  background:var(--LGRY);
  color:var(--DEF);
  font-weight:700;
  text-align:left;
  white-space:nowrap;
}
.lib-table__01 td{ background:var(--WHT); }
@media screen and (max-width:767.8px){
  .lib-table__01 th{ white-space:normal; border-bottom:none !important; padding-bottom:6px; }
  .lib-table__01 td{ padding-top:6px; }
}

:where(table)>thead th:last-child {
    border-right-color: var(--GRY);
}

:where(table)>thead th {
    border-top-color: var(--GRY);
}

:where(table)>thead th:first-child {
    border-left-color: var(--GRY);
}

:where(table) tbody>tr>th:first-child {
    border-left-color: var(--GRY);
}

/* === 関連リンク3カラム（丸アイコン左＋白文字, 青帯）=== */
.u-relcard{ display:flex; align-items:center; gap:20px; text-decoration:none; }
.u-relcard__ico{
  flex:0 0 auto; width:84px; height:84px; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center;
}
.u-relcard__ico::before{
  font-family:'Material Symbols Outlined';
  font-weight:300; font-size:42px; line-height:1; color:var(--MAIN);
  font-feature-settings:'liga';
}
.u-relcard__ico.--person::before{ content:"person"; }
.u-relcard__ico.--idea::before{ content:"handshake"; }
.u-relcard__ico.--history::before{ content:"hourglass_empty"; }
.u-relcard__body{ display:flex; flex-direction:column; }
.u-relcard__title{ color:#fff; font-size:1.25rem; font-weight:700; font-family:'Noto Serif JP',serif; line-height:1.3; }
.u-relcard__en{ color:#fff; font-size:.8rem; letter-spacing:.12em; opacity:.85; margin:3px 0 10px; }
.u-relcard__txt{ color:#fff; font-size:.9rem; line-height:1.7; }
.u-relcard:hover .u-relcard__ico{ opacity:.85; }
@media screen and (max-width:767.8px){
  .u-relcard{ gap:14px; }
  .u-relcard__ico{ width:64px; height:64px; }
  .u-relcard__ico::before{ font-size:32px; }
}


/* === 下層MV: ページ別背景写真（--mv をブロックにインライン指定）=== */
.lib-hero__outer.u-mv{
  background-image:var(--mv)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-color:var(--MAIN)!important;
  min-height:320px!important;
  padding-top:0!important;
  position:relative;
}
.lib-hero__outer.u-mv::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(0,28,62,.55),rgba(0,28,62,.35));
  z-index:0;
}
.lib-hero__outer.u-mv .lib-hero__txtarea{ position:relative;z-index:1;width:100%;justify-content:center; }
.lib-hero__outer.u-mv .lib-hero__inner{ text-align:center;width:100%; }
.lib-hero__outer.u-mv .lib-hero__title{ color:#fff!important;font-family:'Noto Serif JP',serif;letter-spacing:.06em; }
.lib-hero__outer.u-mv .lib-hero__sub{ color:#fff!important;opacity:.92;letter-spacing:.18em;margin-bottom:6px; }
@media screen and (max-width:767.8px){
  .lib-hero__outer.u-mv{ min-height:200px!important; }
}


/* === MV見出し 左右白バー（－会社概要－）=== */
.lib-hero__outer.u-mv .lib-hero__title{
  display:inline-flex;align-items:center;justify-content:center;gap:22px;
}
.lib-hero__outer.u-mv .lib-hero__title::before,
.lib-hero__outer.u-mv .lib-hero__title::after{
  content:"";display:block;flex:0 0 auto;width:38px;height:2px;background:#fff;
}
@media screen and (max-width:767.8px){
  .lib-hero__outer.u-mv .lib-hero__title{ gap:14px; }
  .lib-hero__outer.u-mv .lib-hero__title::before,
  .lib-hero__outer.u-mv .lib-hero__title::after{ width:24px; }
}

/* 関連カード 追加アイコン */
.u-relcard__ico.--company::before{ content:"apartment"; }
.u-relcard__ico.--business::before{ content:"local_shipping"; }
.u-relcard__ico.--strength::before{ content:"verified"; }
.u-relcard__ico.--important::before{ content:"favorite"; }
.u-relcard__ico.--recruit::before{ content:"groups"; }
.u-relcard__ico.--contact::before{ content:"mail"; }
.u-relcard__ico.--howtouse::before{ content:"help"; }
.u-relcard__ico.--base::before{ content:"location_on"; }
/* 青帯3カード(u-relcard)のアイコンを円形フォト(img)に差し替え 2026-11-10 */
.u-relcard__ico img{ width:100%; height:100%; object-fit:cover; border-radius:50%; display:block; }
.u-relcard__ico:has(img){ background:transparent; overflow:hidden; }
.u-relcard__ico:has(img)::before{ content:none !important; }

/* === ヘッダー BS02S（ネイティブ横並び）2026-11-09 === */
/* clone に複製される induce(TEL) がロゴに被る/SPで重複するのを抑止 */
.lib-header__clone .lib-induce__outer{ display:none!important; }
/* TELボタン：ブランド青。アイコン＋番号を1行で */
.lib-header-BS02 .lib-induce__btn{
  background:var(--MAIN);
  border-color:var(--MAIN);
  color:#fff;
  font-weight:600;
  letter-spacing:.02em;
}
.lib-header-BS02 .lib-induce__btn:hover{
  background:#fff; color:var(--MAIN);
}

/* === HOME（TOP）2026-11-09 === */
.u-home-mv{ position:relative; min-height:560px; display:flex; align-items:center; justify-content:center; background:var(--mv) center/cover no-repeat; }
.u-home-mv::before{ content:""; position:absolute; inset:0; background:linear-gradient(rgba(0,40,90,.5),rgba(0,40,90,.3)); }
.u-home-mv__inner{ position:relative; z-index:1; text-align:center; color:#fff; padding:60px 20px; }
.u-home-mv__en{ font-family:'Noto Serif JP',serif; font-size:clamp(2.2rem,6vw,4.6rem); font-weight:600; letter-spacing:.04em; line-height:1.18; color:#fff; }
.u-home-mv__sub{ margin-top:20px; font-size:clamp(1rem,2.2vw,1.25rem); letter-spacing:.08em; color:#fff; }
.u-home-mv__cta{ margin-top:30px; }
@media screen and (max-width:767.8px){ .u-home-mv{ min-height:440px; } }
.u-lead{/* font-size:clamp(1.05rem,2.4vw,1.4rem); *//* line-height:2; */}
.u-sec{/* padding-top:64px; *//* padding-bottom:64px; */}
.lib-wide__outer.u-sec{ padding-top:72px; padding-bottom:72px; }

/* HOMEのパンくず（1件=HOMEのみ）を非表示。下層(2件以上)は表示維持 */
.lib-breadcrumb__outer:has(.lib-breadcrumb__list > li:only-child){ display:none!important; }

/* /news/ お知らせ一覧：本文も表示（HOMEフィードは既定どおりタイトル+日付のみ） */
.u-rss-full .lib-rss__list > li{ display:block; padding:24px 2px; border-bottom:1px solid #e5e5e5; }
.u-rss-full .lib-rss__date{ color:var(--MAIN); font-weight:600; letter-spacing:.02em; }
.u-rss-full .lib-rss__title{ font-size:1.1rem; font-weight:700; margin:.25em 0 .5em; }
.u-rss-full .lib-rss__contents{ display:block!important; color:#555; font-size:.95rem; line-height:1.9; }

/* === HOME v2（旧TOP準拠・BMパーツ活用）2026-11-10 === */
/* MV: lib-fv-001 を白文字＋暗幕 */
.u-home-fv .lib-fv__thumb{ position:relative; display:block; }
.u-home-fv .lib-fv__thumb::after{content:"";position:absolute;inset:0;background: rgba(0,0,0,.5);}
.u-home-fv .lib-fv__thumb img{ width:100%; height:100%; object-fit:cover; }
.u-home-fv .lib-card__title{ color:#fff!important; font-family:'Noto Serif JP',serif; letter-spacing:.05em; }
.u-home-fv .lib-card__txt{ color:#fff!important; letter-spacing:.06em; margin-top:16px; }
.u-home-fv .lib-card__btn{ margin-top:28px; }
@media screen and (max-width:767.8px){ .u-home-fv .lib-fv__thumb{ min-height:420px; } }
/* EN+JP 見出し（CONCEPT/コンセプト・NEWS/お知らせ） */
.u-enttl{ display:flex!important; flex-direction:column; align-items:center; gap:6px; }
.u-enttl .en{ font-family:'Noto Serif JP',serif; font-weight:600; font-size:clamp(1.9rem,4.5vw,2.8rem); letter-spacing:.14em; line-height:1.1; }
.u-enttl .ja{ font-size:.82rem; letter-spacing:.26em; color:var(--MAIN); font-weight:600; }
.lib-title__outer .title.u-enttl::after{ content:none!important; }
/* 想い：背景画像帯＋暗幕 */
.u-omoi{ position:relative; background:var(--bgimg) center/cover no-repeat; }
.u-omoi::before{content:"";position:absolute;inset:0;background: rgba(0,0,0,.1);}
.u-omoi > .container{ position:relative; z-index:1; padding-top:76px; padding-bottom:76px; }
/* グリッドカードのEN小キャプション */
.lib-card__item .lib-card__caption{ color:var(--MAIN); font-size:.78rem; letter-spacing:.12em; margin-top:3px; }
/* 会社概要/お問合せ：画像＋文字オーバーレイカード */
.u-ovcard{position:relative;display:block;overflow:hidden;/* border-radius:4px; */}
.u-ovcard__thumb{display:block;aspect-ratio: 21/7;}
.u-ovcard__thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.u-ovcard::before{content:"";position:absolute;inset:0;z-index:1;background: #0d6efd36;}
.u-ovcard__body{position:absolute;left:28px;top: 50%;z-index:2;color:#fff;transform: translateY(-50%);}
.u-ovcard__ja{ display:block; font-size:1.35rem; font-weight:700; letter-spacing:.04em; }
.u-ovcard__en{ display:block; font-size:.78rem; letter-spacing:.14em; opacity:.9; margin-top:2px; }
@media (any-hover:hover){ .u-ovcard:hover .u-ovcard__thumb img{ transform:scale(1.06); } }

.top-blog .lib-media__category {
	display: none;
}

.top-blog .lib-media__title {
	font-size: 1rem;
	font-weight: normal;
	line-height: 1;
	margin-top: 0 !important;
}
/* === HOME ①3カラム（画像オーバーレイ・フル幅フラッシュ）2026-11-10 === */
.u-gcard{ position:relative; display:block; overflow:hidden; }
.u-gcard__thumb{ display:block; aspect-ratio:3/2; }
.u-gcard__thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.u-gcard::before{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(0,25,60,.6),rgba(0,25,60,.15)); }
.u-gcard__body{ position:absolute; left:clamp(18px,2.4vw,34px); top:50%; transform:translateY(-50%); z-index:2; color:#fff; }
.u-gcard__ja{ display:block; font-size:clamp(1.05rem,1.4vw,1.4rem); font-weight:700; letter-spacing:.04em; }
.u-gcard__en{ display:block; font-size:.74rem; letter-spacing:.14em; opacity:.9; margin-top:4px; }
@media (any-hover:hover){ .u-gcard:hover .u-gcard__thumb img{ transform:scale(1.06); } }

/* === HOME ②採用/仕事依頼（青タイトルボックス＋下に説明文）2026-11-10 === */
.u-jcard{ display:block; }
.u-jcard__media{ position:relative; display:block; aspect-ratio:16/9; overflow:hidden; }
.u-jcard__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.u-jcard__label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;background:var(--MAIN);color:#fff;text-align:center;padding: 16px 25px;min-width:60%;}
.u-jcard__ttl{ display:block; font-size:clamp(1.1rem,1.5vw,1.35rem); font-weight:700; letter-spacing:.04em; }
.u-jcard__cap{ display:block; font-size:.8rem; margin-top:6px; letter-spacing:.06em; }
.u-jcard__txt{ display:block; text-align:center; margin-top:22px; color:#333; line-height:1.95; }
@media (any-hover:hover){ .u-jcard:hover .u-jcard__media img{ transform:scale(1.04); } }
/* 会社概要 下部の青帯3カードのフル幅化はCSSではなくブロックのマークアップ（lib-wide__outer --full＋内側container除去）で対応。lib-wide__outerへのCSS適用は他ページ崩れ防止のため行わない。2026-11-10 */

.lib-bnr-004__thumb {
    width: 120px;
}

.lib-footer__outer.lib-footer-BS01 .lib-footer__utility {
    background-color: var(--MAIN);
}

/* === フローティングボタン（最新求人情報・応募する）全ページ共通 2026-11-16 === */
.floating-recruit-btn{
  position:fixed;
  right:24px;
  top:75%;
  bottom:auto;
  transform:translateY(-50%);
  z-index:9999;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  background:var(--ACC);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  letter-spacing:.02em;
  border-radius:50px;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  transition:background .3s ease, transform .3s ease, box-shadow .3s ease;
  line-height:1.3;
}
.floating-recruit-btn:hover{
  background:#d46f22;
  color:#fff;
  transform:translateY(-50%) scale(1.04);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}
.floating-recruit-btn .btn-icon{
  width:22px;
  height:22px;
  flex:0 0 auto;
  fill:#fff;
  display:block;
  object-fit:contain;
}
.floating-recruit-btn .btn-text{ white-space:nowrap; }
@media print, screen and (max-width:767px){
  .floating-recruit-btn,
  .floating-recruit-btn:hover{
    right:12px;
    left:12px;
    top:auto;
    bottom:12px;
    transform:none;
    justify-content:center;
    padding:14px 16px;
    font-size:15px;
    border-radius:12px;
  }
}

