@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% !important;
    }
  }
  .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 {
      display: none;
    }

	  .lib-media__item a {
    color: var(--MAIN);
}
    .lib-media__title {
      order: 3;
      font-size: 18px;
      color: var(--MAIN);
    }

	  .lib-media__item a {
    text-decoration: none;
    color: var(--MAIN);
}
    .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 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: "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: var(--WHT);
}
.lib-footer__title>a {
  background-color: transparent;
  border: none;
  color: var(--WHT);
}

.lib-footer__guidance a {
    color: var(--WHT);
}

.lib-footer__outer.lib-footer-BS01 .lib-footer__utility {
    background-color: var(--MAIN);
}
.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;
  }
} */

/* ---------- HOME (TOP) additions 2026-10-26 ---------- */
.p-mv{position:relative;background:#000080;min-height:560px;display:flex;align-items:center;color:#fff;overflow:hidden;}
.p-mv__bg{position:absolute;inset:0;z-index:0;}
.p-mv__bg img{width:100%;height:100%;object-fit:cover;}
.p-mv::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(0,0,46,.82) 0%,rgba(0,0,77,.5) 55%,rgba(80,107,216,.45) 100%);}
.p-mv>.container{position:relative;z-index:2;}
.p-mv__inner{padding:48px 0;max-width:720px;}
.p-mv__en{letter-spacing:2px;opacity:.85;font-family:var(--fntEN);font-weight:500;margin-bottom:18px;}
.p-mv__title{font-size:clamp(30px,4.6vw,56px);line-height:1.3;font-weight:900;margin:0 0 18px;color:#fff;}
.p-mv__lead{font-size:clamp(15px,1.8vw,20px);opacity:.9;margin-bottom:30px;}
.p-mv .lib-link__btn{display:inline-flex;}
.p-home-card .lib-card__caption{color:var(--ACC);letter-spacing:1.5px;font-weight:500;font-family:var(--fntEN);}
.p-home-card .lib-card__item{display:flex;flex-direction:column;box-shadow:0 6px 20px rgba(0,0,51,.1);border-radius:8px;overflow:hidden;background:#fff;height:100%;color:inherit;}
.p-home-card .lib-card__thumb{order:-1;display:block;width:100%;aspect-ratio:3/2;overflow:hidden;}
.p-home-card2 .lib-card__thumb{aspect-ratio:2/1 !important;}
.p-home-card .lib-card__thumb img{width:100%;height:100%;object-fit:cover;}
.p-home-card .lib-card__txtarea{display:flex;flex-direction:column;flex:1 0 0;padding:26px;}
.p-home-card .lib-card__inside{flex:1 0 0;}
.p-home-card .lib-card__title{font-size:20px;font-weight:700;margin:10px 0;}
.p-home-card .lib-card__txt{font-size:14px;color:var(--DGRY);line-height:1.75;}
.p-home-card .lib-link__arr{color:var(--ACC);font-weight:500;display:inline-flex;align-items:center;gap:6px;margin-top:14px;}
.p-home-card .lib-link__arr::after{content:"\2192";font-family:var(--fntEN);}
.p-home-card a.lib-card__item{text-decoration:none;transition:transform .2s,box-shadow .2s;}
.p-home-card a.lib-card__item:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,51,.16);}
.p-concept{background:var(--LMAIN);}
.lib-card__caption{color:var(--ACC);letter-spacing:2px;font-weight:500;font-family:var(--fntEN);}
.p-concept .lib-card__title{color:var(--MAIN);font-size: 18px;font-weight:700;line-height:1.4;}
.p-news{background:var(--LMAIN);}
.p-news__list{border-top:1px solid var(--GRY);margin:0;padding:0;list-style:none;}
.p-news__item{display:flex;gap:36px;align-items:center;padding:20px 4px;border-bottom:1px solid var(--GRY);}
.p-news__date{color:var(--DGRY);font-family:var(--fntEN);white-space:nowrap;}
.p-news__ttl{color:var(--MAIN);margin:0;font-size:16px;font-weight:400;}
@media(max-width:767px){.p-news__item{flex-direction:column;gap:6px;align-items:flex-start;}}

/* ---------- HOME CTA (CTA_01) additions 2026-10-26 ---------- */
.p-cta{position:relative;overflow:hidden;color:#fff;text-align:center;padding:80px 20px;}
.p-cta__bg{position:absolute;inset:0;z-index:0;}
.p-cta__bg img{width:100%;height:100%;object-fit:cover;}
.p-cta::before{/* content:""; */position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(0,0,46,.9) 0%,rgba(0,0,77,.8) 100%);}
.p-cta__inner{position:relative;z-index:2;}
.p-cta__en{font-family:var(--fntEN);letter-spacing:3px;opacity:.7;margin-bottom:10px;}
.p-cta__title{color:#fff;font-size:clamp(24px,3vw,32px);font-weight:700;margin:0 0 14px;}
.p-cta__lead{opacity:.9;margin-bottom:28px;}
.p-cta__action{display:flex;gap:20px 28px;align-items:center;justify-content:center;flex-wrap:wrap;}
.p-cta__tel a{color:#fff;font-size: 24px;font-weight:500;font-family:var(--fntEN);}

/* ---------- 下層ページ共通 additions 2026-10-26 ---------- */
.p-submv{position:relative;overflow:hidden;color:#fff;min-height:280px;display:flex;align-items:center;}
.p-submv__bg{position:absolute;inset:0;z-index:0;}
.p-submv__bg img{width:100%;height:100%;object-fit:cover;}
.p-submv::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,rgba(0,0,66,.82),rgba(80,107,216,.6));}
.p-submv__inner{position:relative;z-index:2;}
.p-submv__en{font-family:var(--fntEN);letter-spacing:3px;opacity:.85;margin-bottom:6px;}
.p-submv__title{color:#fff;font-size:clamp(28px,4vw,44px);font-weight:900;margin:0;}
.p-sign{/* margin-top:16px; *//* text-align:right; *//* color:var(--DEF); */}
.p-office{height:100%;}
.p-office__add{font-size:14px;color:var(--DGRY);line-height:1.7;margin:8px 0 0;}
.p-office .lib-link__arr{color:var(--ACC);font-weight:500;display:inline-flex;align-items:center;gap:6px;margin-top:12px;}
.p-office .lib-link__arr::after{content:"\2192";font-family:var(--fntEN);}
.text-muted{color:#999;font-size:.9em;}
.p-map iframe{display:block;}

/* ---------- 事業内容 (business) additions 2026-10-26 ---------- */
.p-biztag__list{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;}
.p-biztag{display:inline-flex;align-items:center;gap:6px;background:var(--LMAIN);color:var(--MAIN);font-size:13px;font-weight:500;padding:8px 14px;border-radius:4px;}
.p-biztag::before{content:"\2713";color:var(--ACC);font-size:12px;}
.p-feat{align-items:center;}
.p-feat__head{display:flex;align-items:center;gap:14px;margin-bottom:6px;}
.p-feat__num{font-family:var(--fntEN);font-size:30px;color:rgba(80,107,216,.4);font-weight:500;line-height:1;}
.p-feat__en{font-family:var(--fntEN);font-size:13px;color:var(--ACC);letter-spacing:1.5px;}
.p-feat__ttl{font-size:clamp(22px,2.6vw,26px);font-weight:700;color:var(--MAIN);margin:0 0 10px;}
.p-prodcard{background:var(--LMAIN);border-radius:8px;overflow:hidden;height:100%;display:flex;flex-direction:column;}
.p-prodcard__thumb{aspect-ratio:548/220;overflow:hidden;}
.p-prodcard__thumb img{width:100%;height:100%;object-fit:cover;}
.p-prodcard__body{padding:22px 28px 24px;}
.p-prodcard__ttl{font-size:17px;font-weight:700;color:var(--MAIN);line-height:1.5;margin:0 0 10px;}
.p-prodcard__maker{font-size:12.5px;color:var(--DGRY);line-height:1.75;margin:0;}

/* ---------- 採用情報 (recruit) additions 2026-10-26 ---------- */
.p-want{background:var(--LMAIN);border-radius:8px;padding:30px 26px;height:100%;}
.p-want__check{color:var(--ACC);font-size:28px;font-family:var(--fntEN);line-height:1;}
.p-want__ttl{font-size:17px;font-weight:700;color:var(--MAIN);margin:12px 0 8px;}
.p-want__txt{font-size:13.5px;color:var(--DGRY);line-height:1.8;margin:0;}
.p-envimg__thumb{aspect-ratio:3/2;border-radius:8px;overflow:hidden;}
.p-envimg__thumb img{width:100%;height:100%;object-fit:cover;}
.p-envimg__cap{font-size:14px;color:var(--DGRY);font-weight:500;text-align:center;margin-top:10px;}
.p-flow{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;}
.p-flow__step{flex:1 1 0;min-width:170px;background:#fff;border-radius:8px;padding:28px 20px;text-align:center;}
.p-flow__step .en{font-family:var(--fntEN);font-weight:600;font-size:13px;color:var(--ACC);letter-spacing:1px;}
.p-flow__step .ttl{font-size: 18px;font-weight:700;color:var(--MAIN);margin:8px 0;}
.p-flow__step .txt{font-size:13px;color:var(--DGRY);line-height:1.75;margin:0;}
.p-flow__arr{display:flex;align-items:center;color:var(--ACC);font-size:24px;font-family:var(--fntEN);}
.p-note{background:#fff;border-radius:8px;padding:24px 30px;display:flex;gap:16px;align-items:center;margin-top:24px;}
.p-note__badge{background:var(--ACC);color:#fff;font-size:14px;font-weight:700;padding:7px 16px;border-radius:4px;white-space:nowrap;}
@media(max-width:991px){.p-flow__arr{transform:rotate(90deg);justify-content:center;width:100%;}.p-flow__step{min-width:140px;}}

/* ---------- 募集要項 (requirements) additions 2026-10-26 ---------- */
.p-faq__item{background:var(--LMAIN);border-radius:8px;padding:26px 30px;}
.p-faq__q{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px;}
.p-faq__a{display:flex;gap:14px;align-items:flex-start;}
.p-faq__q .mark{font-family:var(--fntEN);font-weight:700;font-size:20px;color:var(--ACC);line-height:1.5;}
.p-faq__a .mark{font-family:var(--fntEN);font-weight:700;font-size:20px;color:var(--MAIN);line-height:1.5;}
.p-faq__q .txt{font-size: 18px;font-weight:700;color:var(--MAIN);line-height:1.6;margin:0;}
.p-faq__a .txt{font-size:15px;color:var(--DEF);line-height:1.85;margin:0;}
.p-club__banner{border-radius:10px;overflow:hidden;aspect-ratio:1100/340;}
.p-club__banner img{width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.p-club__cards{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;}
.p-club__card{flex:1 1 0;min-width:150px;background:#fff;border-radius:8px;padding:28px 26px;text-align:center;font-size:17px;font-weight:700;color:var(--MAIN);}

/* ---------- 下層MV lib-hero 写真バリアント 2026-10-26 ---------- */
.lib-hero__outer.lib-hero--photo{position:relative;overflow:hidden;background:var(--MAIN);}
.lib-hero__outer.lib-hero--photo > .lib-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.lib-hero__outer.lib-hero--photo > .lib-hero__ov{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,66,0.82) 0%,rgba(80,107,216,0.6) 100%);}
.lib-hero__outer.lib-hero--photo > .lib-hero__txtarea{position:relative;z-index:2;justify-content:center;text-align:center;}
.lib-hero__outer.lib-hero--photo .lib-hero__sub{display:block;font-family:var(--fntEN);font-weight:500;font-size:14px;letter-spacing:.2em;color:rgba(255,255,255,.78);margin:0 0 8px;}
.lib-hero__outer.lib-hero--photo .lib-hero__title{color:#fff;}
@media(max-width:767px){.lib-hero__outer.lib-hero--photo .lib-hero__title{font-size:28px;}}

/* ---------- TOP MV slider (Figma / lib-fv-004 フル幅・テキストcontainer幅) 2026-10-26 ---------- */
.lib-fv-004.p-mv{position:relative;}
.lib-fv-004.p-mv .lib-fv-004__outer{position:relative;}
.lib-fv-004.p-mv,.lib-fv-004.p-mv .lib-swiper__outer,.lib-fv-004.p-mv .lib-fv-004__outer,.lib-fv-004.p-mv .lib-fv__slider,.lib-fv-004.p-mv .swiper-wrapper,.lib-fv-004.p-mv .swiper-slide,.lib-fv-004.p-mv .lib-fv__thumb{/* height:clamp(420px,42vw,560px); */}
.lib-fv-004.p-mv .lib-fv__thumb{display:block;}
.lib-fv-004.p-mv .lib-fv__thumb img{width:100%;height:100%;object-fit:cover;}
.lib-fv-004.p-mv .p-mv__ov{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,46,0.82) 0%,rgba(0,0,77,0.45) 100%);}
.lib-fv-004.p-mv .p-mv__content{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:3;}
.lib-fv-004.p-mv .p-mv__inner{max-width:640px;}
.lib-fv-004.p-mv .p-mv__en{font-family:var(--fntEN);font-weight:500;font-size:15px;letter-spacing:.14em;color:rgba(255,255,255,.8);margin:0 0 16px;}
.lib-fv-004.p-mv .p-mv__title{font-weight:900;font-size:clamp(30px,4.2vw,56px);line-height:1.3;color:#fff;margin:0 0 18px;}
.lib-fv-004.p-mv .p-mv__lead{font-size:clamp(15px,1.5vw,20px);color:rgba(255,255,255,.9);margin:0 0 26px;}
.lib-fv-004.p-mv .p-mv__content .lib-link__btn{/* background:#fff; *//* color:var(--MAIN); */}
.lib-fv-004.p-mv .lib-fv__control{position:absolute;left:max(12px,calc((100% - 1144px)/2 + 12px));bottom:28px;z-index:4;width:auto;margin:0;}
.lib-fv-004.p-mv .lib-swiper__player{display:none;}
.lib-fv-004.p-mv .swiper-button-prev,.lib-fv-004.p-mv .swiper-button-next{display:none;}
.lib-fv-004.p-mv .swiper-pagination{position:static;text-align:left;width:auto;}
.lib-fv-004.p-mv .swiper-pagination-bullet{width:10px;height:10px;background:rgba(255,255,255,.5);opacity:1;margin:0 8px 0 0;}
.lib-fv-004.p-mv .swiper-pagination-bullet-active{background:#fff;}

.lib-header__logo img {
    width: 80px;
}
@media print, screen and (min-width: 992px) {
.lib-header__logo img {
    width: 150px;
}

	.is-scroll .lib-header__logo img {
    width: 80px;
}
}


/* ==================================
矢印グリフを → (U+2192) に統一：ico-after-arr を lib-link__arr(カード) と揃える 2026-10-26
===================================== */
.ico-after-arr:has(.txt) .txt::after{
  content:"\2192" !important;
  font-family:var(--fntEN),sans-serif !important;
  font-size:1em !important;
}
.ico-after-arr:has(.txt)::after{ content:none !important; }


:where(table) th, :where(table)>thead {
    border: var(--GRY) 1px solid;
    background-color: var(--LMAIN);
    color: var(--MAIN);
    text-align: left;
}

:where(table) tbody>tr>th:first-child {
    border-left-color: var(--LMAIN);
}
.lib-media__item a {
    color: var(--MAIN);
}

/* ==================================
ヘッダーお問い合わせボタンをFigmaに合わせる（角丸4px・メールアイコン削除・「お問い合わせ」のみ）2026-10-27
===================================== */
.lib-header__outer.lib-header-BS02 .lib-induce__btn{ border-radius:4px !important; }
.lib-induce__btn.ico-before-mail::before{ content:none !important; }
.lib-induce__btn .inhide{ display:none !important; }

.lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn {
    height: 100%;
}

@media(min-width:992px){
.lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn {
    height: 50%;
}
}

.is-scroll .lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn {
    height: 70%;
}

.lib-header__outer.lib-header-BS02 .lib-induce__outer>li:nth-child(1) {
    align-items: center;
}

/* ---------- 2026-11-25 サポートQC（実機）：iPhoneでMVが出ない・スライドしない対策、画面の低いスマホでMVの下に帯が出る対策 ---------- */
.lib-fv-004.p-mv{display:block;min-height:0;}
