@charset "UTF-8";

:root {
  interpolate-size: allow-keywords;
  --bl: #000;
  --gray-02: #ccc;
  --grad-01: linear-gradient(90deg, var(--OTH) 0%, var(--ACC) 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-nav__btn[aria-expanded]:after, .lib-child__item>a .txt:before {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  content: "keyboard_arrow_down";  
}
.lib-child__item>a .txt:before {
  content: "keyboard_arrow_right";  	
}
:where(a):has(.txt):where(:where(a):has(.txt)[target=_blank]) :where(.txt):after {
	display: none;
}
.lib-header__outer.lib-header-BS02 .lib-nav__btn, .lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn {
	font-weight: bold;
}
@media print, screen and (min-width: 992px) {
	.lib-header__outer.lib-header-BS02 .lib-nav__list>li~li {
		margin-left: 40px;
	}
	.page-template-page-index-test .lib-header__outer.lib-header-BS02 {
		box-shadow: none;
		background-color: transparent;
	}
	.is-scroll .page-template-page-index-test .lib-header__outer.lib-header-BS02 {
        -webkit-box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .2);
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .2);
		background-color: var(--WHT);
	}
	.lib-header__outer.lib-header-BS02.typeS .lib-child__panel {
        top: 74px;
    }
	.lib-header__outer.lib-header-BS02 .lib-nav__btn, .lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn {
		text-align: center;
	}
}

/* ========================================
フッター
======================================== */
.lib-footer__logo {
	margin-left: 0;
}
.lib-footer__logo a {
	display: block;
}
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor;
}
.lib-pagetop__btn a .txt:before {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  content: "keyboard_arrow_down"; 
}
.bg-grad-01 {
  background: -moz-linear-gradient(left, var(--OTH), var(--ACC));
  background: -webkit-linear-gradient(left, var(--OTH), var(--ACC));
  background: linear-gradient(to right, var(--OTH), var(--ACC));	
}
.lib-footer__list {
	display: block;
}
.lib-footer__list .lib-footer__item {
	position: relative;
	padding-left: 1.2rem;
}
.lib-footer__list .lib-footer__item::before {
	position: absolute;
	content: "-";
	font-size: 1rem;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.lib-footer__title>a {
    background-color: transparent;
    border: none;
}

/* ========================================
CTA
======================================== */
.cta-tel {
	font-size: clamp( 2.5rem, calc( 1.875rem + 2.5vw ), 3.75rem );
}
.common-cta::before {
	mix-blend-mode: multiply;
}
.cta-contact a {
	position: relative;
	text-decoration: none;
}
.cta-contact a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    width: 40px;
    height: 20px;
    background: url(../image/arrow.png) 100% / contain no-repeat;
    transform: translatey(-50%);
    transition: all .3s;	
}
.cta-contact a:hover, .cta-tel a:hover {
	opacity: .6;
}

@media print, screen and (min-width: 768px) {
	.cta-contact a {
		padding-right: 80px;
	}
}

@media print, screen and (max-width: 767px) {
	.cta-contact a::before {
    	right: -25%;		
	}
}


/* ========================================
COMMON
======================================== */
/*---------- ボタン ----------*/
:where(.lib-link__btn) {
    position: relative;
	border-color: var(--DEF);
	background-color: var(--DEF);
	min-height: 60px;
}
:where(.lib-link__btn):hover {
	color: var(--DEF);	
}
.lib-link__btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    width: 40px;
    height: 20px;
    background: url(../image/arrow.png) 100% / contain no-repeat;
    transform: translatey(-50%);
    transition: all .3s;
}
.lib-link__btn:hover:before, .lib-link__btn.bg-wht::before {
    background: url(../image/arrow-on.png) 100% / contain no-repeat;
}
.lib-link__btn.bg-wht:hover:before {
    background: url(../image/arrow.png) 100% / contain no-repeat;	
}
.lib-link__btn.arrow-none::before {
	display: none !important;
}

/*---------- マスク画像 ----------*/
.mask-img img, .mask-reverse-img img {
    -webkit-mask-image: url(../image/cover-img.png);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url(../image/cover-img.png);
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
}
.mask-reverse-img img {
    -webkit-mask-image: url(../image/cover-reverse-img.png);
    mask-image: url(../image/cover-reverse-img.png);
}

/*---------- グラデテキスト ----------*/
.grad-text {
    background: -moz-linear-gradient(top left, var(--OTH), var(--ACC));
    background: -webkit-linear-gradient(top left, var(--OTH), var(--ACC));
    background: linear-gradient(to bottom right, var(--OTH), var(--ACC));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*---------- ボーダーカラー ----------*/
.border-main {
    border-color: var(--MAIN) !important;
}
.border-dgry {
    border-color: var(--DGRY) !important;
}

/*---------- 背景色 ----------*/
.grad-bg-01::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
  background: -moz-linear-gradient(top, var(--WHT), var(--gray-02));
  background: -webkit-linear-gradient(top, var(--WHT), var(--gray-02));
  background: linear-gradient(to bottom, var(--WHT), var(--gray-02));
	opacity: .6;
}

/*---------- フォントサイズ ----------*/
@media print, screen and (min-width: 768px) {
	.fs-md-60 {
		font-size: 3.75rem;
	}
	.fs-md-50 {
		font-size: 3.125rem;
	}
}

/*---------- パンくずリスト ----------*/
.breadcrumbs span:first-child {
	margin-right: .3rem;
}
.breadcrumbs span:last-child {
	margin-left: .3rem;
}


/* ========================================
TOP
======================================== */
/*---------- TOP共通部分 ----------*/
.page-template-page-index-test #contents {
    padding-top: 0;
}
@media print, screen and (min-width: 992px) {
	#wrapper:has(.lib-header-BS02) {
        padding-top: 0;
    }
}

/*---------- TOP_title ----------*/
.common-title .en-title {
	font-size: clamp( 3.75rem, calc( 3.125rem + 2.5vw ), 5rem );
}

/*---------- TOPMV ----------*/
.top-mv, .top-mv .container {
	height: 100vh;
}
.top-mv .mv-main-title {
	font-size: clamp( 3.75rem, calc( 2.625rem + 4.5vw ), 6rem );
}
.top-mv::before {
	z-index: 0;
}
.top-mv .mask-img img, .top-mv .mask-reverse-img img {
	height: 100%;
}

@media print, screen and (min-width: 768px) {
	.top-mv .img-block {
		height: 100%;
    	top: 0;
    	left: -50%;	
	}
}
@media print, screen and (max-width: 991px) {
	.top-mv, .top-mv .container {
		height: 60vh;
	}
}
@media print, screen and (max-width: 767px) {
	.top-mv, .top-mv .container {
		height: 100vh;
	}
	.top-mv .mask-reverse-img {
		display: none;
	}
	.top-mv .mask-img img, .top-mv .mask-reverse-img img {
		width: auto;
	}
	.top-mv .img-block {
		height: 100%;
		left: -70%;
	}
}

/* ========================================
キャッチコピーアニメーション
======================================== */
@media print, screen and (min-width: 767px) {
.mv-main-title span:nth-child(1) { opacity: 0; animation: blur-in 0.8s ease-out 2.0s forwards; }
.mv-main-title span:nth-child(2) { opacity: 0; animation: blur-in 0.8s ease-out 2.1s forwards; }
.mv-main-title span:nth-child(3) { opacity: 0; animation: blur-in 0.8s ease-out 2.2s forwards; }
.mv-main-title span:nth-child(4) { opacity: 0; animation: blur-in 0.8s ease-out 2.3s forwards; }
.mv-main-title span:nth-child(5) { opacity: 0; animation: blur-in 0.8s ease-out 2.4s forwards; }
.mv-main-title span:nth-child(6) { opacity: 0; animation: blur-in 0.8s ease-out 2.5s forwards; }
.mv-main-title span:nth-child(7) { opacity: 0; animation: blur-in 0.8s ease-out 2.6s forwards; }
.mv-main-title span:nth-child(8) { opacity: 0; animation: blur-in 0.8s ease-out 2.7s forwards; }
.mv-main-title span:nth-child(9) { opacity: 0; animation: blur-in 0.8s ease-out 2.8s forwards; }
.mv-main-title span:nth-child(10) { opacity: 0; animation: blur-in 0.8s ease-out 2.9s forwards; }
.mv-main-title span:nth-child(11) { opacity: 0; animation: blur-in 0.8s ease-out 3.0s forwards; }
.mv-main-title span:nth-child(12) { opacity: 0; animation: blur-in 0.8s ease-out 3.1s forwards; }
.mv-main-title span:nth-child(13) { opacity: 0; animation: blur-in 0.8s ease-out 3.2s forwards; }
.mv-main-title span:nth-child(14) { opacity: 0; animation: blur-in 0.8s ease-out 3.3s forwards; }
.mv-main-title span:nth-child(15) { opacity: 0; animation: blur-in 0.8s ease-out 3.4s forwards; }
.mv-main-title span:nth-child(16) { opacity: 0; animation: blur-in 0.8s ease-out 3.5s forwards; }
.mv-main-title span:nth-child(17) { opacity: 0; animation: blur-in 0.8s ease-out 3.6s forwards; }
.mv-main-title span:nth-child(18) { opacity: 0; animation: blur-in 0.8s ease-out 3.7s forwards; }
.mv-main-title span:nth-child(19) { opacity: 0; animation: blur-in 0.8s ease-out 3.8s forwards; }
.mv-main-title span:nth-child(20) { opacity: 0; animation: blur-in 0.8s ease-out 3.9s forwards; }
.mv-main-title span:nth-child(21) { opacity: 0; animation: blur-in 0.8s ease-out 4.0s forwards; }
.mv-main-title span:nth-child(22) { opacity: 0; animation: blur-in 0.8s ease-out 4.1s forwards; }
.mv-main-title span:nth-child(23) { opacity: 0; animation: blur-in 0.8s ease-out 4.2s forwards; }
.mv-main-title span:nth-child(24) { opacity: 0; animation: blur-in 0.8s ease-out 4.3s forwards; }
.mv-main-title span:nth-child(25) { opacity: 0; animation: blur-in 0.8s ease-out 4.4s forwards; }
.mv-main-title span:nth-child(26) { opacity: 0; animation: blur-in 0.8s ease-out 4.5s forwards; }
.mv-main-title span:nth-child(27) { opacity: 0; animation: blur-in 0.8s ease-out 4.6s forwards; }
.mv-main-title span:nth-child(28) { opacity: 0; animation: blur-in 0.8s ease-out 4.7s forwards; }
.mv-main-title span:nth-child(29) { opacity: 0; animation: blur-in 0.8s ease-out 4.8s forwards; }
.mv-main-title span:nth-child(30) { opacity: 0; animation: blur-in 0.8s ease-out 4.9s forwards; }


.mv-main-title-2 span:nth-child(1) { opacity: 0; animation: blur-in 0.8s ease-out 5.0s forwards; }
.mv-main-title-2 span:nth-child(2) { opacity: 0; animation: blur-in 0.8s ease-out 5.1s forwards; }
.mv-main-title-2 span:nth-child(3) { opacity: 0; animation: blur-in 0.8s ease-out 5.2s forwards; }
.mv-main-title-2 span:nth-child(4) { opacity: 0; animation: blur-in 0.8s ease-out 5.3s forwards; }
.mv-main-title-2 span:nth-child(5) { opacity: 0; animation: blur-in 0.8s ease-out 5.4s forwards; }
.mv-main-title-2 span:nth-child(6) { opacity: 0; animation: blur-in 0.8s ease-out 5.5s forwards; }
.mv-main-title-2 span:nth-child(7) { opacity: 0; animation: blur-in 0.8s ease-out 5.6s forwards; }
.mv-main-title-2 span:nth-child(8) { opacity: 0; animation: blur-in 0.8s ease-out 5.7s forwards; }
.mv-main-title-2 span:nth-child(9) { opacity: 0; animation: blur-in 0.8s ease-out 5.8s forwards; }
.mv-main-title-2 span:nth-child(10) { opacity: 0; animation: blur-in 0.8s ease-out 5.9s forwards; }
.mv-main-title-2 span:nth-child(11) { opacity: 0; animation: blur-in 0.8s ease-out 6.0s forwards; }
.mv-main-title-2 span:nth-child(12) { opacity: 0; animation: blur-in 0.8s ease-out 6.1s forwards; }
.mv-main-title-2 span:nth-child(13) { opacity: 0; animation: blur-in 0.8s ease-out 6.2s forwards; }
.mv-main-title-2 span:nth-child(14) { opacity: 0; animation: blur-in 0.8s ease-out 6.3s forwards; }
.mv-main-title-2 span:nth-child(15) { opacity: 0; animation: blur-in 0.8s ease-out 6.4s forwards; }
.mv-main-title-2 span:nth-child(16) { opacity: 0; animation: blur-in 0.8s ease-out 6.5s forwards; }
.mv-main-title-2 span:nth-child(17) { opacity: 0; animation: blur-in 0.8s ease-out 6.6s forwards; }
.mv-main-title-2 span:nth-child(18) { opacity: 0; animation: blur-in 0.8s ease-out 6.7s forwards; }
.mv-main-title-2 span:nth-child(19) { opacity: 0; animation: blur-in 0.8s ease-out 6.8s forwards; }
.mv-main-title-2 span:nth-child(20) { opacity: 0; animation: blur-in 0.8s ease-out 6.9s forwards; }
.mv-main-title-2 span:nth-child(21) { opacity: 0; animation: blur-in 0.8s ease-out 7.0s forwards; }


@keyframes blur-in {
  0% {
    opacity: 0;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
}



/*---------- 事業内容 ----------*/
.top-service.grad-bg-01::before {
    z-index: -2;
}
.top-service::after {
	position: absolute;
	content: "TRY";
	font-weight: bold;
  font-family: "Oswald", sans-serif;
    bottom: -10rem;
	left: 50%;
	transform: translatex(-50%);
	font-size: clamp( 7.5rem, calc( 0.3125000000000009rem + 28.749999999999996vw ), 21.875rem );
	opacity: .1;
    z-index: -1;
}
.top-service .mask-reverse-img img {
    margin-top: -20%;
    margin-left: 20%;	
}

@media print, screen and (max-width: 767px) {
	.top-service {
        padding-bottom: 100px !important;
        padding-top: 100px !important;
	}
	.top-service::after {
		bottom: -3.5rem;
	}
	.top-service .order-1 {
    	left: -50%;
    	position: absolute;
    	z-index: -5;
	}
	.top-service .mask-img img, .top-service .mask-reverse-img img {
		width: 150vw;
	}
	.top-service.grad-bg-01::before {
		opacity: .9;
	}
}

/*---------- 建築事業 ----------*/
.top-service-1 .mask-img img {
    mask-position: left;
}
@media print, screen and (min-width: 768px) {
	.top-service-1 .mask-img {
    	transform: translateX(-10vw);
	}
	.top-service-1 .mask-img img {
		width: auto;
    	max-width: 70vw;
	}
}
@media print, screen and (min-width: 992px) {
	.top-service-1 .mask-img {
    	transform: translateX(-20vw);
	}
}
@media print, screen and (max-width: 767px) {
	.top-service-1 .container {
        padding-bottom: 100px !important;
        padding-top: 100px !important;
	}
	.top-service-1::before {
		z-index: 0;
	}
	.top-service-1 .img-block {
		position: absolute !important;
		z-index: -1;
        top: 0;
        left: -70%;
	}
	.top-service-1 .mask-img img {
    	height: 100vh;
    	width: auto;
	}
}

/*---------- 通信事業 ----------*/
@media print, screen and (min-width: 768px) {
	.top-service-2 .mask-reverse-img {
    	transform: translateX(-10vw);
	}
	.top-service-2 .mask-reverse-img img {
		width: auto;
    	max-width: 80vw;
	}
}
@media print, screen and (max-width: 767px) {
	.top-service-2 .container {
        padding-bottom: 100px !important;
        padding-top: 100px !important;
	}
	.top-service-2::before {
		z-index: 0;
	}
	.top-service-2 .img-block {
		position: absolute !important;
		z-index: -1;
        top: 0;
        left: -120%;
	}
	.top-service-2 .mask-reverse-img img {
    	height: 100vh;
    	width: auto;
	}
}


/*---------- 会社情報 ----------*/
.top-company::before {
	z-index: 0;
}
.top-company {
	height: 500px;
	overflow: hidden;
}
.top-company .img-block img {
    object-fit: cover;
}

@media print, screen and (max-width: 767px) {
	.top-company .container {
        padding-bottom: 100px !important;
        padding-top: 100px !important;
	}
	.top-company .img-block {
		top: 0;
		left: 0;
	}
	.top-company .img-block img {	
	    width: 100%;
    	height: 100%;
    	aspect-ratio: 2 / 1;
	}
}

/*---------- お知らせ ----------*/
.top-news .news-contents a {
	text-decoration: none;
}
.top-news .news-contents .top-post-item:last-child {
	margin-bottom: 0 !important;
}
.top-news .top-post-cat {
	padding: .25rem .5rem;
	background-color: var(--DEF);
	color: var(--WHT);
	border: 1px solid var(--DEF);
}
.top-news .top-post-cat:hover {
	background-color: var(--WHT);
	color: var(--DEF);	
}
.top-news .news-contents .top-post-item:nth-of-type(1) { transition-delay: 0ms; }
.top-news .news-contents .top-post-item:nth-of-type(2) { transition-delay: 200ms; }
.top-news .news-contents .top-post-item:nth-of-type(3) { transition-delay: 400ms; }


/*---------- 採用情報 ----------*/
/*.top-recruit .img-block {
    left: 0;
    transform: translateX(-10vw);	
}*/
.top-recruit .mask-img img {
    margin-left: -20%;
}
.top-recruit .mask-reverse-img img {
    margin-top: -20%;
    margin-left: 20%;
    mask-position: 30%;
}
.top-recruit.grad-bg-01::before {
	opacity: .8;
}

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
@media print, screen and (min-width: 992px) {
	#wrapper:has(.lib-header-BS02) .lib-hero__outer {
		margin-top: 120px;
	}
}

/*---------- 会社概要 ----------*/
:where(.ico-before-pin):before {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  content: "keyboard_arrow_right"; 
}
.border-table tbody>tr>th:first-child {
    border-left: none;
	background-color: var(--WHT);
	color: var(--DEF);
    border-bottom: var(--GRY) 1px solid;
	text-align: left;
}
.border-table td {
	border: none !important;	
    border-bottom: var(--GRY) 1px solid !important;
}
.lib-flow-001__col:nth-child(3n):after {
    display: block;
}
.recruitment-tab .lib-tab__btn[aria-selected=true] {
    background-color: var(--WHT);
    color: var(--DEF);	
    border: 1px solid var(--GRY) !important;
	border-bottom: none !important;
}
.recruitment-tab .lib-tab__btn {
    background-color: var(--DEF);
    color: var(--WHT);	
	margin-bottom: -2px;
}

@media print, screen and (min-width: 768px) {
	.recruitment-tab .lib-tab__btn {
	    padding: .5rem 3rem;
	}
}

.recruitment-tab .lib-tab__cover {
	border-top: 1px solid var(--GRY);
	padding-left: 2rem;
	padding-right: 2rem;
	padding-bottom: 2rem;
}
.recruitment-tab .lib-tab__menu {
	border: none;
	width: auto;
}
.recruitment-tab .lib-tab__menu li {
	width: auto;
    flex: none;
}
.recruitment-tab .lib-tab__btn:active, .recruitment-tab .lib-tab__btn:hover, .recruitment-tab .lib-tab__btn:visited,
.recruitment-tab .lib-tab__panel:active, .recruitment-tab .lib-tab__panel:hover, .recruitment-tab .lib-tab__panel:visited,
.recruitment-tab .lib-tab__cover:active, .recruitment-tab .lib-tab__cover:hover, .recruitment-tab .lib-tab__cover:visited {
	box-shadow: none !important;
}
:where(table) tbody>tr>th.bg-def:first-child {
	border-left-color: var(--DEF);
}

@media print, screen and (max-width: 767px) {
.recruitment-tab .lib-tab__cover {
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 1rem;
}
}

/*---------- 投稿 ----------*/
.news-archive .top-post-cat {
	top: 0;
	left: 0;
}
.news-archive .top-post-cat a {
	color: var(--WHT) !important;
}
.news-archive .top-post-cat a:hover {
	color: var(--DEF) !important;
}
.page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
}
.page-numbers li:before {
	display: none;
}
.page-numbers li a, .page-numbers li span {
	border: 1px solid var(--LGRY);
	background-color: var(--LGRY);
	color: var(--MAIN);
	padding: .5rem;
}
.page-numbers li a:hover {
	border: 1px solid var(--MAIN);
	background-color: var(--MAIN);
	color: var(--WHT);
}
.page-numbers li~li {
	margin-top: 0;
}
.page-numbers li {
    padding-left: .5rem;
}
.news-sidebar__block .bg-wht[class*=__btn] {
	border-color: var(--DEF);
	color: var(--DEF);
}
.news-sidebar__block .bg-wht[class*=__btn]:hover {
	border-color: var(--DEF);
	background-color: var(--DEF);
	color: var(--WHT);
}
.news-sidebar__block a {
	text-decoration: none;
}




/*---------- サイトマップ ----------*/
:where(.lib-link__arr) a:before {
    font-family: 'Material Icons' !important;
    font-weight: bold;
    font-style: normal;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    content: "keyboard_arrow_right";
}


/*---------- お問い合わせ ----------*/
.bg-red {
    background-color: var(--RED);
}
:where(:where(a)[target=_blank]):after {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    content: "open_in_new" !important;
}
.contact-form-7 .lib-link__btn {
	padding: 0;	
}
.contact-form-7 .lib-link__btn::after {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    content: "keyboard_arrow_right";
    right: 30px;
    position: relative;
}
.contact-form-7 .lib-link__btn .wpcf7-spinner {
	display: none !important;
}
.contact-form-7 .lib-link__btn :where(input[type=submit]) {
	width: 100%;
    padding: 10px 15px;	
    min-height: 45px;
    border: none;
	color: var(--MAIN);
	font-weight: bold;
}
.contact-form-7 .lib-link__btn :where(input[type=submit]):hover {
	color: var(--WHT);
	background-color: var(--MAIN);
}
@media print, screen and (min-width: 768px) {
	.contact-form-7 .lib-link__btn :where(input[type=submit]) {
        max-width: 360px;
    	min-height: 60px;
	}
}