@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);
  }
  &.--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);
  }
  &.--even tbody > tr:nth-child(even) > th {
    background-color: var(--LGRY);
  }
}

/* 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;
  }
}

/* ==================================
タイポ
===================================== */
/* ゴシックとか */
.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;
}

/* 縦書き */
.vertical-rl {
  writing-mode: vertical-rl;
}

.text-hukuro {
  /* -webkit-text-stroke: 2px var(--bl2);
     text-stroke: 2px var(--bl2); */
  text-shadow: 2px 2px 1px var(--bl2), -2px 2px 1px var(--bl2), 2px -2px 1px var(--bl2), -2px -2px 1px var(--bl2), 2px 0px 1px var(--bl2), 0px 2px 1px var(--bl2), -2px 0px 1px var(--bl2),
    0px -2px 1px var(--bl2);
}

/* box-decoration-break */
.decoration-break {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* マーカーのあしらい */
mark {
  background: linear-gradient(transparent 60%, yellow 60%);
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.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);
  }
}

/*---------- 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;
  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;
  }
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
/* 余白の微調整は「gap-*」 */
.c-icon-text {
  display: grid !important;
  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;
  }
}

/*---------- ホバーアクション ----------*/
.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 {
    text-decoration: underline;
  }
  &.--opacity {
    --opacity: 0.8;
    &:hover {
      opacity: var(--opacity);
    }
  }

  &.--overlap {
    .--after {
      opacity: 0;
      transition: var(--transition);
    }
    &:hover .--after {
      opacity: 1;
    }
  }
}

/* ==================================
ヘッダー
===================================== */
.lib-header__outer.lib-header-BS02 .lib-header__logo {
  line-height: normal;
}
.lib-header__outer.lib-header-BS02 .lib-header__logo a:hover {
  opacity: 0.6;
}
.lib-header__outer.lib-header-BS02 .lib-header__logo img {
  width: 50px;
}
.logo-wht {
  display: none;
}
.lib-header__outer.typeS .lib-child__item.--headline a:hover .text-main {
  color: var(--WHT) !important;
}
@media print, screen and (min-width: 992px) {
  .lib-nav__cover {
      width: 80%;
  }
  .is-scroll .lib-nav__cover {
      position: static;
      transform: none;
      background-color: transparent;
      box-shadow: none;
      height: auto;
      width: 80%;
  }
  .lib-nav__outer {
      margin: 0 !important;
      padding: 0 !important;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
  }
  .lib-nav__list {
      height: 100%;
      align-items: center;
      justify-content: space-between;
      display: grid; /* グリッドレイアウトを有効にする */
      grid-template-columns: repeat(6, 1fr);
  }
  .is-scroll .lib-header__outer.lib-header-BS02 .lib-nav__outer:not(:has(.lib-search__outer)):not(:has(.lib-lang__outer)):not(:has(.lib-utility__outer)):not(:has(.lib-induce__outer)) .lib-nav__list {
      margin: 0;
  }
  .lib-header__outer.typeS .lib-nav__item:first-child::before {
      position: absolute;
      content: "";
      height: 100%;
      width: 1px;
      background-color: var(--GRY);
      left: 0;
      top: 0;
      display: block;
  }
  .lib-header__outer.typeS .lib-nav__item::after {
      position: absolute;
      content: "";
      height: 100%;
      width: 1px;
      background-color: var(--GRY);
      right: 0;
      top: 0;
  }
  .lib-header__outer.lib-header-BS02 .lib-nav__list>li~li {
      margin: 0;
  }
  .lib-header__outer.lib-header-BS02 .lib-nav__btn {
      padding: 0;
      margin: 0;
      justify-content: center;
      text-align: center;
  }
}


/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor;
}
.lib-footer__outer.lib-footer-BS01 .lib-footer__logo {
    width: 100%;
    display: block;
    line-height: normal !important;
    transition: all .3s;
}
.lib-footer__outer.lib-footer-BS01 .lib-footer__logo:hover {
    opacity: .6;
    transition: all .3s;
}
.lib-footer__logo .thumb {
    width: 50px;
}
.lib-footer__outer.lib-footer-BS01 .lib-footer__utility, .lib-footer__copyright {
    background-color: var(--MAIN);
}
.lib-footer__utility .container {
    border-top: 1px solid var(--WHT);
}
.lib-footer__guidance a {
    color: var(--WHT) !important;
}
.lib-footer__title>a {
    color: var(--WHT) !important;
    background-color: transparent;
    padding: 0;
    border: none;
    display: block;
}
.lib-footer__item>a {
    color: var(--WHT) !important;
    padding-left: .5rem;
    position: relative;
    display: block;
    font-size: .875rem;
}
.lib-footer__item>a::before {
    content: "-";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.lib-footer__list {
    display: block;
    margin-top: 10px;
}
.lib-footer__nav {
    margin-left: auto;
    margin-right: auto;
}
.lib-footer__title~li {
    margin-top: 25px;
}
.link-none {
  pointer-events: none;
}


/* ========================================
CTA
======================================== */
.common-contact .--main::before {
  background-color: #EDE5F1;
  opacity: .7;
}
.common-contact .lib-grid__outer {
  margin-top: -5rem;
  position: relative;
  z-index: 1;
}


/* ==================================
COMMON
===================================== */
@media print, screen and (min-width: 768px) {
  :where(.lib-link__btn) {
      min-height: 60px;
  }
}
.u-l-00_5 {
  letter-spacing: 0.05rem;
}
.grad-color {
  background: linear-gradient(270deg, #CD5DFF 0%, #7E20A9 40%, #4A0071 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.swiper-pagination-bullet {
  border-radius: 0%;
}

/* ========================================
TOP
======================================== */
/*----------- mv ----------*/
/*.mask-image img.mv-cover {
  -webkit-mask-image: url(/dcms_media/image/mv-mask.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: left;
  mask-image: url(/dcms_media/image/mv-mask.png);
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: left;
  position: absolute;
  width: 50%;
}*/
.top-mv .lib-fv__thumb {
  position: relative;
}
.top-mv .lib-fv__thumb::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
  z-index: 1;
}
/*.top-mv .lib-fv__thumb::after {
  position: absolute;
  content: "";
  background: url('/dcms_media/image/mv-line.png') 100% / cover no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}*/
.mv-main-title {
  background: -moz-linear-gradient(left, var(--WHT), rgba(255, 255, 255, 0.6) 50%, var(--WHT));
  background: -webkit-linear-gradient(left, var(--WHT), rgba(255, 255, 255, 0.6) 50%, var(--WHT));
  background: linear-gradient(to right, var(--WHT), rgba(255, 255, 255, 0.6) 50%, var(--WHT));
}
.mv-main-title .grad-color {
  position: relative;
  font-size: clamp( 2.5rem, calc( 1.25rem + 5vw ), 5rem );
  z-index: 10;
}
.mv-main-title .grad-color::before {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--MAIN);
  font-size: clamp( 3.125rem, calc( 1.5625rem + 6.25vw ), 6.25rem );
  line-height: 1;
  content: "&";
  pointer-events: none;
  -webkit-text-fill-color: initial;
  opacity: 0.5;
}
.top-mv .lib-fv__control {
  padding-right: 0;
}

@media print, screen and (max-width: 991px) {
  .top-mv .lib-fv__thumb {
    height: 40vh;
  }
  .top-mv .lib-fv__thumb img {
    object-position: left;
  }
  .mv-main-title .grad-color {
    line-height: 1.5;
  }
  /*.top-mv .lib-fv__thumb::after {
    background: url(/dcms_media/image/mv-line.png) 20% / cover no-repeat;
  }
  .mask-image img.mv-cover {
    width: 100%;
    height: 50%;
  }*/
}

/*----------- top common ----------*/
.top-title {
  padding-left: 1rem;
}
.top-sub-title {
  position: relative;
}
.top-sub-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1rem;
  transform: translateY(-50%);
  background-color: var(--MAIN);
  border-radius: 100px;
  width: .6rem;
  height: .6rem;
}

/*----------- 会社概要 ----------*/
.top-company {
  position: relative;
}
.top-company::before {
  content: "";
  position: absolute;
  background-color: var(--LGRY);
  width: 75%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
}
.top-company::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  background: url('/dcms_media/image/logo.png') 100% / contain no-repeat;
  transform: translateY(-50%);
  z-index: -1;
}
@media print, screen and (max-width: 767px) {
  .top-company::before {
      width: 85%;        
  }
  .top-company::after {
      left: 20%;
      width: 200px;
      height: 200px;
  }
}


/*----------- 製品紹介 ----------*/
.top-products .lib-bnr-003__link {
  border-color: var(--MAIN);
  color: var(--MAIN);
}
.top-products .lib-bnr-003__link:hover {
  background-color: var(--MAIN);
  color: var(--WHT);
}
.top-products .lib-bnr-003__link:hover .lib-bnr-003__thumb img {
  opacity: 1 !important;
}
.top-products .lib-bnr-003__link .lib-bnr-003__thumb::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--MAIN);
  mix-blend-mode: multiply;
  opacity: 0.2;
  transition: all .3s;
}
.top-products .lib-bnr-003__link:hover .lib-bnr-003__thumb::before {
  opacity: 0.7;
  transition: all .3s;
}
.top-products .lib-bnr-003__link .p-txt {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all .3s;
}
.top-products .lib-bnr-003__link:hover .p-txt {
  opacity: 1;
  transition: all .3s;
}


/*----------- 技術情報 ----------*/
.top-technology .lib-bnr-003__link {
  border: none !important;
}
.top-technology .lib-bnr-003__thumb::before {
  position: absolute;
  content: "";
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  z-index: 1;
}
.top-technology .lib-bnr-003__link:hover .lib-bnr-003__thumb::before {
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 10%, var(--MAIN));
}
.top-technology .t-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: normal;
}


/*----------- スライダー ----------*/
.loop-slider {
  overflow: hidden;
}
.loop-slider .swiper-wrapper {
  transition-timing-function: linear;
}
.top-slider img {
  position: relative;
}
.top-slider img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--DEF);
  opacity: 0.15;
  top: 0;
  left: 0;
}


/*----------- 会社を知る ----------*/
.top-about .lib-bnr-003__link {
  border: none !important;
}
.top-about .lib-bnr-003__thumb::before {
  position: absolute;
  content: "";
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  z-index: 1;
}
.top-about .lib-bnr-003__link:hover .lib-bnr-003__thumb::before {
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 10%, var(--MAIN));
}
.top-about .t-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  line-height: normal;
}


/*----------- 人を知る ----------*/
.top-people .lib-bnr-003__link {
  border: none !important;
}
.top-people .lib-bnr-003__thumb::before {
  position: absolute;
  content: "";
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 50%, var(--MAIN));
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  z-index: 1;
}
.top-people .lib-bnr-003__link:hover .lib-bnr-003__thumb::before {
  background: -moz-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: -webkit-linear-gradient(top, rgba(73, 0, 121, 0) 10%, var(--MAIN));
  background: linear-gradient(to bottom, rgba(73, 0, 121, 0) 10%, var(--MAIN));
}
.top-people .t-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: normal;
  z-index: 1;
}



/*----------- お知らせ ----------*/
@media print, screen and (min-width: 768px) {
  .top-news .lib-card__txtarea {
      flex-direction: row;
      align-items: center;
  }
  .top-news .lib-media__time {
      margin-top: 0 !important;
      order: 1;
      margin-right: 1rem;
  }
  .top-news .lib-media__category {
      order: 2;
      margin-right: 1rem;
  }
  .top-news .lib-media__title {
      margin-top: 0 !important;
      order: 3;
  }
}
.top-news .lib-blog-001 .swiper-wrapper {
  display: block !important;
}
.top-news .lib-media__thumb, .top-news .lib-media__txt, .top-news .lib-swiper__control {
  display: none !important;
}
.top-news .lib-media__title {
  font-size: 1rem;
}
.top-news .lib-blog-001 .swiper-wrapper .lib-media__item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--GRY);
}



/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
@media print, screen and (min-width: 992px) {
#wrapper:has(.lib-header-BS02) .lib-hero__outer {
  /*padding-top: 50px;*/
  min-height: 300px;
}
}

.lib-hero__outer {
  background-color: var(--MAIN);
}

.lib-hero__title {
  font-size: clamp( 2rem, calc( 1.5439189189189189rem + 1.9459459459459458vw ), 3.125rem );
  position: relative;
  letter-spacing: 2px;
}

.lib-hero__title::before {
  content: '';
   position: absolute;
   left: 0%;
   top: 50%;
   width: 10px;
   height: 10px;
   background-color: var(--WHT);
   border-radius: 50%;
   transform: translateY(-50%);
 }
/*---------- 下層MV ----------*/

/*会社概要*/
.ico-before-point {
  position: relative;
}

.ico-before-point::before {
  content: '';
  position: absolute;
  left: 0%;
  top: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--MAIN);
  border-radius: 50%;
  transform: translateY(-50%);
}

:where(table) td {
  border: var(--WHT) 1px solid;
  background-color: var(--GRY);
}

.transform-90 {
  transform: rotate(90deg);
}

.list.--border>li {
  position: relative;
  display: inline-block;
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1;
}

.list.--border>li::before {
  content: '';
  position: absolute;
  left: 0%;
  top: 50%;
  width: 7px;
  height: 16px;
  background-color: var(--DEF);
  /* border-radius: 50%; */
  transform: translateY(-50%);
}

.company-page {
  position: relative;
}
.company-page::before {
  content: "";
  position: absolute;
  background-color: var(--LGRY);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
}
.company-page::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 70%;
  width: 260px;
  height: 260px;
  background: url('/dcms_media/image/logo.png') 100% / contain no-repeat;
  transform: translateY(-50%);
  z-index: -1;
}

/*製品詳細*/
.lib-cnt-016__link:before {
  background-color: var(--MAIN);
}

/*採用情報*/
.recruit-table tbody>tr>th:first-child {
  border-left-color: transparent;
}

.recruit-table th, .recruit-table>thead {
  background-color: transparent;
  color: var(--DEF);
  border-top: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
  width: 25%;
  text-align: start;
}

.recruit-table td {
  border: var(--WHT) 1px solid;
  background-color: transparent;
  color: var(--DEF);
  border-top: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
}

/*こんなところに興和化成*/
.rsp-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.rsp-grid article {
  width: calc(50% - 5px);
  position: relative;
  padding: 0;
}
.rsp-grid article:nth-child(odd) {
  margin: 0 5px 10px 0;
}
.rsp-grid article:nth-child(even) {
  margin: 0 0 10px 5px;
}
.rsp-grid figure {
  position: relative;
  line-height: 0;
  background-color: rgba(74, 74, 74, .6);
}
.rsp-grid figure img {
  width: 100%;
  height: auto;
}
.rsp-grid figure::before {
  position: absolute;
  transition: 0.4s;
  top: 0;
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
}
/* .rsp-grid article:hover figure::before {
  background-color: rgba(47, 93, 80, .6);
} */
.rsp-grid article:hover figure::before {
  background-color: rgba(0, 0, 0, 0.9);
}
.rsp-grid article p span {
  display: block;
  font-size: 22px;
  font-weight: 400;
}
@media only screen and (min-width: 768px) {
.rsp-grid article {
  width: calc(33.3333% - 14px);
  margin: 0 20px 20px 0;
  float: left;
  /* padding: 16px; */
}
.rsp-grid article:nth-child(odd) {
  margin: 0 20px 20px 0;
}
.rsp-grid article:nth-child(even) {
  margin: 0 20px 20px 0;
}
.rsp-grid article:nth-child(3n) {
  margin: 0 0 20px 0;
}
.rsp-grid article p {
  color: #FFF;
  position: absolute;
  font-size: 20px;
  font-weight: 600;
  top: 50%;
  left: 50%;
  width: calc(100% - 100px);
  transform: translateY(-50%) translateX(-50%);
  margin: auto;
  padding: 0 0 0 30px;
  border-left: 4px solid #FFF;
}
.rsp-grid article p span {
  font-size: 22px;
}
}

/*スライダー*/
.lib-gallery__arr {
  top: 45%;
}

@media print, screen and (min-width: 576px) {
.lib-gallery__arr:after {
  font-size: 2.125rem;
}
}

.lib-gallery__main .swiper-slide img {
  height: 60%;
}

@media print, screen and (min-width: 767px) {
.lib-gallery__main .swiper-slide img {
  height: 80%;
}
}

/*インタビュー*/
.lib-timeline-002__headline .title {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 5px 20px;
  height: 40px;
  border-radius: 0;
  margin-left: 2rem;
  font-size: 1.875rem;
  line-height: 1;
}

@media print, screen and (min-width: 768px) {
.lib-timeline-002__headline .title {
  height: 52px;
  min-width: 155px;
  font-size: 1.3rem;
}
}

@media print, screen and (min-width: 992px) {
.lib-timeline__txt .title {
  font-size: 1.3rem;
  color: var(--DEF);
}
}

/*技術開発*/
.iframe, .movie, .youtube {
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*1021堀修正*/
.lib-title__outer.--typeC :where(.title) {
    border-bottom: var(--MAIN) 1px solid;
}

/*1113インフォ*/
.fs-grafic-number {
  font-size: clamp( 2.375rem, calc( 1.875rem + 2vw ), 3.375rem );
}

.grafic-tablep01 tbody>tr>th:first-child {
    border-left-color: var(--LMAIN);
}

.grafic-tablep01 th, .grafic-tablep01>thead {
    border: 0;
    background-color: var(--LMAIN);
    color: var(--MAIN);
}

.grafic-tablep01 td {
    border: 0;
    background-color: var(--LMAIN);
    font-weight: bold;
}

.max-80 {
  max-width: 80px;
}

.mt-1rem{
margin-top: 1rem !important
;}

@media print, screen and (min-width: 768px) {
.mt-md-1_3rem {
  margin-top: 1.3rem !important;
}
}

.grafic-tablep02 tbody>tr>th:first-child {
    border-left-color: transparent;
}

.grafic-tablep02 th, .grafic-tablep02>thead {
    border: 0;
    background-color: transparent;
    color: var(--DEF);
    text-align: start;
    border-bottom: 1px solid var(--DEF);
}

.grafic-tablep02 td {
    border: 0;
    background-color: transparent;
    color: var(--MAIN);
    border-bottom: 1px solid var(--DEF);
}

/*興和化成の好きなところ*/
/* 吹き出しの本体 (コンテンツ部分) */
.speech-bubble {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid var(--MAIN); /* 本体：紫の枠線 */
  color: var(--MAIN);
  font-weight: bold;
  background-color: #fff; /* 本体：白い背景色 */
  position: relative;
}

/* 1. ::after：外側の枠線（紫色の三角形） */
.speech-bubble::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  
  /* 三角形のサイズと位置 (外枠用) */
  bottom: -15px; /* 本体からの距離と、三角形の高さ */
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 14px 15px 0 15px; 
  
  /* 枠線全体の色（紫） */
  border-color: var(--MAIN) transparent transparent transparent; 
  
  /* 内側の白い三角形よりも奥に配置 */
  z-index: 0;
}

/* 2. ::before：内側の背景色（白い三角形） */
.speech-bubble::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  
  /* 三角形のサイズと位置 (内側用) */
  /* afterよりも少し小さく、上に配置する */
  bottom: -10px; /* (afterの底 - 本体borderの太さ) に近くなるように調整 */
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 11px 12px 0px 12px; /* afterよりも一回り小さくする */
  
  /* 内側の色（本体の背景色と同じ白） */
  border-color: #FDFAFF transparent transparent transparent; 
  
  /* 外側の枠線 (::after) よりも手前に配置 */
  z-index: 1;
}

@media (min-width: 768px) {
.grafic-like .row-cols-md-4>* {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: unset;
}
}