@charset "UTF-8";

:root {
  interpolate-size: allow-keywords;
  --bl: #000;
  --gray-02: #ccc;
  --grad-01: linear-gradient(90deg, var(--ACC) 0%, var(--MAIN) 100%);
  --grad-01-rev: linear-gradient(270deg, var(--ACC) 0%, var(--MAIN) 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(a):where(:not([class*="lib-"])):where(:not([class*="hover-"]:not([class*="text-hover"]))) {
  color: var(--LINK);
} */

/* ボタンのアイコンを「→」に変更 */
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  content: "\ea03";
  font-size: 1em;
}
:where(.ico-after-arrD):has(.txt) .txt:after {
  font-family: "Material Symbols Rounded" !important;
  content: "\f1e3";
}

/* ボタンのアイコンに●の背景色を入れる */
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]),
:where(.ico-after-arrD):has(.txt) {
  > .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);
  } */
}
/* アイコンとの余白調整 */
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt {
  padding-right: 2em;
}

/* デフォのボタンの背景色をグラデーションにする */
:where(.lib-link__btn):not([class*="bg-"]),
.lib-induce__btn {
  border-width: 0;
  background: var(--grad-01);
  &:hover {
    color: var(--WHT);
    /* opacity: 0.75; */
  }
}
:where(.lib-link__btn):not([class*="bg-"]):not(.--line) {
  &:hover {
    box-shadow: 0 0.125em 0.5em rgb(0 0 0 / 0.25);
    transform: translateY(-0.0625em);
  }
}

/* 下線と→のボタンパターン */
:where(.lib-link__btn).--line {
  background: unset;
  color: var(--DEF);
  width: auto;
  max-width: unset;
  padding: 0;
  .inner {
    display: inline-block;
    padding-block: 0.75em;
    border-bottom: 2px solid var(--MAIN);
  }
  &:not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt {
    padding-right: 0;
    &::after {
      position: static;
      margin-top: 0;
      background: var(--grad-01);
      color: var(--WHT);
      font-size: 1.25em;
      padding: 0.75em;
      margin-left: 1em;
    }
  }
  &:hover {
    color: var(--DEF);
    &:not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt {
      &::after {
        transform: translateX(0.1em);
      }
    }
  }
}
/* SP時のヘッダーのメガメニュー内のボタンのアイコンを小さくする */
.p-header {
  @media print, screen and (max-width: 991px) {
    :where(.lib-link__btn).--line {
      &:not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt {
        &::after {
          font-size: 0.75em;
        }
      }
    }
  }
}

/* 追加アイコン */
:where(.ico-before-lock)::before {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e897";
  margin-right: 10px;
  margin-top: 0.1em;
  font-size: 1.25em;
}
:where(.ico-after-lock):has(.txt) .txt::after {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e897";
  /* display: inline-block; */
  margin-left: 10px;
  margin-top: 0.125em;
  vertical-align: bottom;
  font-size: 1.25em;
}

:where(.ico-before-doc)::before {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\ea7d";
  /* margin-right: 10px; */
  /* margin-top: 0.1em; */
  font-size: 1.5em;
}
:where(.ico-after-doc):has(.txt) .txt::after {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\ea7d";
  /* margin-left: 10px; */
  /* margin-top: 0.125em; */
  vertical-align: bottom;
  font-size: 1.5em;
}
@media print, screen and (min-width: 992px) {
  .sizeL:where(.ico-before-doc)::before {
    font-size: 2em;
  }
  .sizeL:where(.ico-after-doc):has(.txt) .txt::after {
    font-size: 2em;
  }
}

:where(.ico-before-info)::before {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e88e";
  /* margin-right: 10px; */
  /* margin-top: 0.1em; */
  font-size: 1.5em;
}
:where(.ico-after-info):has(.txt) .txt::after {
  font-family: "Material Symbols Rounded" !important;
  speak: none;
  font-style: normal;
  font-weight: inherit;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e88e";
  /* margin-left: 10px; */
  /* margin-top: 0.125em; */
  vertical-align: bottom;
  font-size: 1.5em;
}
@media print, screen and (min-width: 992px) {
  .sizeL:where(.ico-before-info)::before {
    font-size: 2em;
  }
  .sizeL:where(.ico-after-info):has(.txt) .txt::after {
    font-size: 2em;
  }
}

/* arr, arrDがあったときも小さくしない */
@media print, screen and (max-width: 991px) {
  :where(.lib-link__btn)[class*="-arrD"],
  :where(.lib-link__btn)[class*="-arr"] {
    &:where(.ico-before-doc)::before,
    &:where(.ico-before-info)::before {
      font-size: 1.5em;
    }
  }
}

/*---------- 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;
  }
}

/* 背景色 */
.bg-grad-01 {
  background: var(--grad-01);
}

/* ==================================
タイポ
===================================== */
/* ゴシックとか */
.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;
    }
  }
}

/* ==================================
ヘッダー
===================================== */
.p-header {
  .lib-menu__btn::after {
    content: "Menu";
    display: block;
    position: absolute;
    right: 0;
    bottom: 1em;
    left: 0;
    line-height: 1;
    text-transform: uppercase;
    color: var(--WHT);
    font-size: 0.75em;
    font-weight: bold;
  }
  .lib-menu__btn[aria-expanded="false"] {
    > .line:nth-of-type(1) {
      top: calc(50% - 1px - 18px);
    }
    > .line:nth-of-type(2) {
      top: calc(50% - 1px - 10px);
    }
    > .line:nth-of-type(3) {
      top: calc(50% - 1px - 2px);
      bottom: unset;
    }
  }
  .lib-menu__btn[aria-expanded="true"] {
    > .line:nth-of-type(1) {
      -webkit-transform: translateY(calc(50% - 1px + 0.25em)) rotate(-25deg);
      transform: translateY(calc(50% - 1px + 0.25em)) rotate(-25deg);
    }
    > .line:nth-of-type(3) {
      -webkit-transform: translateY(calc(50% - 1px - 1em)) rotate(25deg);
      transform: translateY(calc(50% - 1px - 1em)) rotate(25deg);
    }
  }
  @media print, screen and (min-width: 992px) {
    &.lib-header__outer {
      &.lib-header-BS02 {
        .lib-header__bar {
          width: unset;
          height: 50%;
          top: 0;
          transform: unset;
        }
      }
      .lib-nav__panel {
        width: 100%;
        .lib-nav__cover {
          flex-grow: 1;
          .lib-nav__outer {
            padding-right: 0;
            flex-direction: column;
            align-items: flex-end;
          }
          .lib-nav__list {
            /* justify-content: space-evenly; */
            justify-content: space-between;
            max-width: 1144px;
            margin-inline: auto;
            padding-inline: 0.75em;
          }
        }
      }
      .lib-utility__outer {
        margin-top: 0;
      }
      .lib-induce__btn {
        width: 150px;
      }
    }
    /* メガメニュー */
    .lib-child__item.--headline {
      border-right: 2px solid var(--GRY);
    }
    &.lib-header__outer.typeM .lib-child__panel {
      padding-top: 3vw;
      padding-bottom: 5vw;
    }
  }
  @media print, screen and (max-width: 991px) {
    .lib-header__bar {
      &:has(.is-open) {
        box-shadow: unset;
      }
    }
    .lib-nav__panel {
      background-color: var(--WHT);
      .lib-nav__list {
        margin-inline: 0;
        box-shadow: unset;
        border-width: 2px;
        .lib-nav__item {
          border-width: 2px;
          &:first-child {
            border-top: none;
          }
          .lib-nav__btn {
            padding-block: 1.25em;
          }
        }
      }
    }
  }
}
html:not(.is-scroll) {
  .p-header {
    @media print, screen and (min-width: 992px) {
      &.lib-header__outer.lib-header-BS02 {
        -webkit-box-shadow: unset;
        box-shadow: unset;
        .lib-nav__outer {
          margin-top: 0;
        }
      }
      .lib-utility__item a.lib-induce__btn {
        height: 60px !important;
      }
      .lib-nav__panel {
        padding-top: 0;
        align-items: flex-start;
      }
      .lib-induce__btn {
        flex-direction: column;
      }
    }
  }
}
.is-scroll {
  .p-header {
    @media print, screen and (min-width: 992px) {
      &.lib-header__outer {
        height: 80px;
        &.lib-header-BS02 {
          .lib-header__bar {
            width: unset;
          }
          .lib-induce__btn::before {
            margin-bottom: 0;
            margin-right: 5px;
          }
          .lib-nav__list {
            margin-top: 0;
          }
          .lib-nav__btn {
            padding-top: 13px;
            padding-bottom: 10px;
          }
        }
        .lib-utility__item a.lib-induce__btn {
          height: 40px !important;
        }
      }
      /* メガメニュー */
      &.lib-header__outer.typeM .lib-child__panel {
        top: 80px;
      }
    }
  }
}

/* CTAボタン */
.lib-induce__btn.--grad {
  position: relative;
  border: 0;
  background: transparent !important;
  &::before,
  &::after {
    z-index: 1;
  }
  .txt {
    &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      border-color: transparent;
      border-radius: inherit;
      transition: var(--transition);
      margin: 0 !important;
      z-index: -1;
    }
    &::before {
      background: var(--grad-01);
    }
    &::after {
      background: var(--grad-01-rev);
      opacity: 0;
    }
  }
  &:hover {
    color: var(--WHT);
    .txt {
      &::before {
        opacity: 0.75;
      }
      /* &::after {
        opacity: 1;
      } */
    }
  }
}
@media print, screen and (min-width: 992px) {
  .is-scroll .lib-utility__item a.--grad .txt::before {
    margin-right: 0 !important;
  }
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor !important;
}

.p-footer {
  &.lib-footer__outer.lib-footer-BS01 {
    .lib-footer__copyright {
      background-color: var(--MAIN);
    }
    @media print, screen and (min-width: 992px) {
      .lib-footer__utility {
        background-color: var(--MAIN);
      }
    }
  }
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */
/*---------- MV ----------*/
.p-mv {
  .lib-fv__control {
    position: absolute;
    bottom: 0;
    width: auto !important;
    padding-right: 0;
    left: unset;
    right: 0;
    margin: 0 !important;
    transform: translateX(100%);
  }
  .lib-swiper__control .lib-swiper__pagination {
    margin: 0;
    flex-direction: column;
  }
  .swiper-pagination-bullet {
    width: 0.125em !important;
    height: 2em !important;
    border-radius: 50em;
    border: unset;
    &:not(.swiper-pagination-bullet-active) {
      background-color: var(--GRY) !important;
    }
  }
}

@keyframes zoomUp {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
.p-mv {
  .swiper-slide-active,
  .swiper-slide-duplicate-active,
  .swiper-slide-prev {
    .lib-fv__thumb {
      overflow: hidden;
      img {
        animation: zoomUp 13s linear 0s normal both;
      }
    }
  }
}

.p-mv-02 {
  margin-top: -12rem;
  @media print, screen and (min-width: 992px) {
    margin-top: -5rem;
  }
  .lib-fv__control {
    position: absolute;
    bottom: 10px;
    width: auto;
    z-index: 2;
    padding-right: 0;
    left: unset;
    right: 0;
  }
  .lib-swiper__control {
    margin-top: 1em;
  }
  .swiper-pagination-bullet {
    height: 0.125em !important;
    width: 2em !important;
    border-radius: 50em;
    border: unset;
    &:not(.swiper-pagination-bullet-active) {
      background-color: var(--GRY) !important;
    }
  }
}
#tinymce,
.editor_block {
  .p-mv-02 {
    margin-top: 0;
  }
}

/*---------- お知らせ ----------*/
.p-top-news {
  .lib-tab__btn {
    background-color: unset;
    border-left: unset;
    padding-bottom: 0;
    box-shadow: unset;
    font-weight: bold;
    .txt {
      padding-bottom: 10px;
      border-bottom: 2px solid transparent;
    }
    &[aria-selected="true"],
    &:hover {
      color: var(--MAIN);
      .txt {
        padding-bottom: 10px;
        border-color: var(--MAIN);
      }
    }
  }
  .lib-media__title {
    font-size: 1em;
  }
}

/*---------- 会員特典のご案内 ----------*/
@media (min-width: 1400px) {
  .row-cols-xxl-7 > * {
    width: 14.2857%;
  }
}

/* ========================================
下層
======================================== */
/*---------- 下層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;
  } */
}
