
@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) {
  /* max-width: 100%; */
  height: auto;
  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;
} */

/* ボタンのアイコンに●の背景色を入れる */
/* .bg-wht[class*="__btn"] {
  color: var(--DEF);
}
: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);
}
:where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]):hover > .txt::after {
  color: var(--WHT);
  background-color: var(--MAIN);
}
:where(.lib-link__btn.bg-wht):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  color: var(--WHT);
  background-color: var(--MAIN);
}
:where(.lib-link__btn.bg-wht):not([class*="ico-after-"]):not([class*="ico-before-"]):hover > .txt::after {
  color: var(--MAIN);
  background-color: var(--WHT);
}
:where(.lib-link__btn.bg-accent):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  color: var(--ACC);
} */

/*---------- 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;
}
:where(.lib-indent__list).--asterisk > 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;
}

/* table 罫線パターン */
:where(table).--border > thead,
:where(table).--border th {
  background-color: unset;
}
:where(table).--border th,
:where(table).--border td {
  border: unset;
  border: 1px solid var(--GRY);
}
:where(table).--border th {
  color: var(--DEF);
}
:where(table).--border tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

/* table 下線パターン */
:where(table).--border-bottom {
  border: unset;
}
:where(table).--border-bottom th {
  background-color: unset;
}
:where(table).--border-bottom th,
:where(table).--border-bottom td {
  border: unset;
  border-bottom: 1px solid var(--GRY);
}
:where(table).--border-bottom th {
  color: var(--DEF);
}
:where(table).--even.--border-bottom tbody > tr:nth-child(even) > th {
  background-color: var(--LGRY);
}

/* table 見出し"列"だけグレー */
:where(table.--gry) tbody > tr > th {
  background-color: var(--GRY);
  color: var(--DEF);
}
:where(table.--gry) tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

/* table .lib-table__03に少し余白を入れる */
:where(.lib-table__03).--padding td,
:where(.lib-table__03).--padding th {
  padding: 0.5em;
}

/* ==================================
タイポ
===================================== */
/* ゴシックとか */
.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-b1 {
  font-family: "Shippori Mincho B1", serif;
}

.ff-zenmincho {
  font-family: "Zen Old Mincho", serif;
}

/* font-weight */
.fw-600 {
  font-weight: 600 !important;
}
.fw-800 {
  font-weight: 800 !important;
}
.fw-900 {
  font-weight: 900 !important;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-aspect.--4x3 img {
  aspect-ratio: 4 / 3;
}
.u-aspect.--3x2 img {
  aspect-ratio: 3 / 2;
}
.u-aspect.--16x9 img {
  aspect-ratio: 16 / 9;
}
.u-aspect.--21x9 img {
  aspect-ratio: 21 / 9;
}
.u-aspect.--1x1 img {
  aspect-ratio: 1 / 1;
}
.u-aspect.--2x1 img {
  aspect-ratio: 2 / 1;
}
.u-aspect.--3x1 img {
  aspect-ratio: 3 / 1;
}
.u-aspect.--4x1 img {
  aspect-ratio: 4 / 1;
}
.u-aspect.--7x8 img {
  aspect-ratio: 7 / 8;
}
.u-aspect.--9x16 img {
  aspect-ratio: 9 / 16;
}
.u-aspect.--2x3 img {
  aspect-ratio: 2 / 3;
}
.u-aspect.--3x4 img {
  aspect-ratio: 3 / 4;
}

/* 画像全体を枠内に入れたいとき */
.u-aspect.--contain img {
  object-fit: contain;
}

/*---------- 角丸 ----------*/
[class*="u-rounded-"] {
  overflow: hidden;
}
.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;
}
[class*="u-rounded-"].--t-only {
  border-bottom-right-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
[class*="u-rounded-"].--b-only {
  border-top-right-radius: unset !important;
  border-top-left-radius: unset !important;
}
[class*="u-rounded-"].--r-only {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
[class*="u-rounded-"].--l-only {
  border-top-right-radius: unset !important;
  border-bottom-right-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;
}
.c-icon img {
  aspect-ratio: 1 / 1;
  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.5em;
  justify-content: center;
  align-items: center;
}
/* アイコンだけ右寄せ */
.c-icon-text.--r {
  grid-template-columns: 1fr auto;
}
/* アイコンだけ左寄せ */
.c-icon-text.--l {
  grid-template-columns: auto 1fr;
}
@media print, screen and (min-width: 992px) {
  .c-icon-text {
    column-gap: 1em;
  }
}

/*---------- 背景のベース ----------*/
/* 背景画像を敷く場合、
   背景画像に各色のフィルターをかける場合
   疑似要素を配置したいときのベース */
.p-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
/* 疑似要素のファンデーション */
.p-bg::before,
.p-bg::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  pointer-events: none;
  speak: none;
}
/* 黒透明フィルター */
.p-bg.--bl::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bl);
  opacity: 0.3;
}
/* 白透明フィルター */
.p-bg.--wh::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--WHT);
  opacity: 0.3;
}
/* メインカラーフィルター */
.p-bg.--main::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--MAIN);
  opacity: 0.3;
}
.p-bg.--lmain::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LMAIN);
  opacity: 0.3;
}
/* アクセントカラーフィルター */
.p-bg.--accent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ACC);
  opacity: 0.3;
}
.p-bg.--laccent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LACC);
  opacity: 0.3;
}
/* 補助色カラーフィルター */
.p-bg.--other::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--OTH);
  opacity: 0.3;
}
.p-bg.--lother::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--LOTH);
  opacity: 0.3;
}
/* 色の濃さ（opacity） */
.p-bg.--light::before {
  opacity: 0.1;
}
.p-bg.--md::before {
  opacity: 0.5;
}
.p-bg.--strong::before {
  opacity: 0.7;
}
.p-bg.--strongest::before {
  opacity: 0.9;
}
.p-bg.--opacity1::before {
  opacity: 1;
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}
.c-hover:hover {
  text-decoration: none;
}
.c-hover.--underline:hover {
  text-decoration: underline;
}
.c-hover.--bg-main:hover {
  background-color: var(--MAIN);
}
.c-hover.--bg-accent:hover {
  background-color: var(--ACC);
}
.c-hover.--bg-other:hover {
  background-color: var(--OTH);
}
.c-hover.--bg-lmain:hover {
  background-color: var(--LMAIN);
}
.c-hover.--bg-laccent:hover {
  background-color: var(--LACC);
}
.c-hover.--bg-lother:hover {
  background-color: var(--LOTH);
}
.c-hover.--bg-gry:hover {
  background-color: var(--GRY);
}
.c-hover.--bg-lgry:hover {
  background-color: var(--LGRY);
}
.c-hover.--opacity:hover {
  opacity: 0.8;
}
.c-hover.--up:hover {
  transform: translateY(-0.125rem);
}
.c-hover.--scale-up img {
  transition: var(--transition);
}
.c-hover.--scale-up:hover img {
  transform: scale(1.1);
}

/*---------- レイアウト ----------*/
/* display: grid;で重ねる */
.l-overlap {
  display: grid;
}
.l-overlap > * {
  grid-area: 1 / -1;
}
.c-hover.--overlap .--after {
  opacity: 0;
  transition: var(--transition);
}
.c-hover.--overlap:hover .--after {
  opacity: 1;
}
#tinymce .l-overlap > *,
.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;
}

/*ネガティブマージン*/
.mt-n3 {
  margin-top: -1rem !important
}

@media print, screen and (min-width: 768px) {
  .mt-md-n7 {
    margin-top: -5rem !important
  }
  }

@media print, screen and (min-width: 992px) {
.mt-lg-n7 {
  margin-top: -5rem !important
}
}

/* ==================================
ヘッダー
===================================== */
body {
  background-color: #FAF9F8;
  font-weight: 500;
  }
  
   /*.lib-header__logo img {
    width: 40px; 
  }*/
  
  /* @media print, screen and (min-width: 992px) {
    .lib-header__logo img {
      width: 70px;
  }
  
  .is-scroll .lib-header__logo img {
    width: 40px;
  }
  } */
  
  /* .logo02 {
    display: none;
  } */

  .fs-13 {
    font-size: 13px;
  }
  
  /*TOPのみ*/
  @media print, screen and (min-width: 992px) {
  .page-index .lib-header__outer.lib-header-BS02 {
    box-shadow: none;
  }
  }
  
  .page-index .lib-header__outer {
    background-color: transparent;
  }
  
  .is-scroll .page-index .lib-header__outer {
    background-color: transparent;
  }
  
  @media print, screen and (min-width: 992px) {
  .page-index #wrapper:has(.lib-header-BS02) {
    padding-top: 0;
  }
  }
  
  .page-index .logo01 {
    /* display: none; */
  }
  
  /* .page-index .logo02 {
    display: block;
  } */
  
  /* .is-scroll .page-index .logo01 {
    display: block;
  }
  
  .is-scroll .page-index .logo02 {
    display: none;
  } */

.lib-nav__btn {
    font-weight: 400;
    /* font-family: "Lato", sans-serif; */
    letter-spacing: 2px;
}
  
  @media print, screen and (min-width: 992px) {
  .page-index .lib-nav__btn {
      font-weight: 400;
      line-height: 1.25;
      color: var(--WHT);
      /* font-family: "Lato", sans-serif; */
      letter-spacing: 2px;
  }
  }
  
  /* @media print, screen and (min-width: 992px) {
   .is-scroll .page-index .lib-nav__btn {
      color: var(--DEF);
  }
  } */
  
  .lib-child__item {
    /* font-weight: 400;
    font-family: "Lato", sans-serif; */
      letter-spacing: 2px;
  }

  /* .logo02 {
    display: none;
  }

  .page-index .logo01 {
    display: none;
  }

  .page-index .logo02 {
    display: block;
  } */

  @media print, screen and (min-width: 992px) {
  .lib-header__logo img {
    width: 140px;
}
  }

  @media print, screen and (min-width: 576px) {
  .lib-fv__thumb {
    height: 100vh;
}
  }


/* ========================================
フッター
======================================== */
.lib-footer__logo {
  width: 100%;
  margin: 0 auto;
}

@media print, screen and (min-width: 992px) {
.lib-footer__outer.lib-footer-BS01 .lib-footer__guidance>li~li:before {
  background-color: var(--DEF);
}
}

.page-index .lib-footer__logo .logo01 {
  display: none;
}

.page-index .lib-footer__logo .logo02 {
  display: block;
}
/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */
/*---------- ローディング ----------*/
.p-roading {
  inset: 0;
  z-index: 1010;
  min-height: 200px;
}

/** ↓↓↓↓ 251024追記 アニメーション削除 **/
.is-loading:not(.is-editor) .p-roading {
  opacity: 1; /* 初期状態 */
  /* animation: roedingOpacity 3.5s linear forwards; */
  /* アニメーションの設定 */
}
/** ↑↑↑ **/

/** ↓↓↓↓ 251024追記 動画再生後の is-hidden付与時に動画をフェードアウト **/
.is-loading:not(.is-editor) #js-siteOpening.is-hidden {
  animation: roedingOpacity 2s linear forwards;
}
@keyframes roedingOpacity {
  0% {
    opacity: 1; /* 開始時 */
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    /* 終了時 */
  }
}
/** ↑↑↑ **/

.editor_block,
#tinymce {
  &:has(.p-roading) {
    height: 200px;
  }
}
.editor_block,
#tinymce {
  .p-roading {
    position: static !important;
    height: 200px !important;
    animation: unset;
    overflow: clip;
  }
}

.p-roading {
  img,
  .c-loading-logo {
    opacity: 0;
    /* filter: blur(2em); 初期状態 */
    transition: var(--transition);
  }
}
.is-loading:not(.is-editor) .p-roading {
  img,
  .c-loading-logo {
    opacity: 1;
    animation: blurOut 1s ease-in-out forwards; /* アニメーションの設定 */
  }
}
@keyframes blurOut {
  0% {
    /* filter: blur(2em); 開始時 */
    filter: blur(0);
  }
  100% {
    filter: blur(0); /* 終了時 */
  }
}
.editor_block,
#tinymce {
  .p-roading {
    img,
    .c-loading-logo {
      opacity: 1;
      filter: blur(0);
      animation: unset;
    }
  }
}

.c-loading-item {
  &.--01 .c-bg {
    height: 50vw;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0% 100%);
  }
  &.--01 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  &.--02 .c-bg {
    height: 40vw;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background: var(--grad-01);
  }
  &.--02 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  &.--03 .c-bg {
    height: 50vw;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
  }
  &.--03 {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  &.--04 .c-bg {
    height: 40vw;
    clip-path: polygon(0 90%, 100% 0, 100% 100%, 0% 100%);
    background: var(--grad-02);
  }
  &.--04 {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
}
.is-loading:not(.is-editor) .c-loading-item {
  &.--01 {
    animation: liner01 0.2s ease-in-out forwards;
  }
  &.--02 {
    animation: liner02 0.2s ease-in-out forwards;
    animation-delay: 0.3s;
  }
  &.--03 {
    animation: liner03 0.2s ease-in-out forwards;
  }
  &.--04 {
    animation: liner04 0.2s ease-in-out forwards;
    animation-delay: 0.3s;
  }
}
@media print, screen and (min-width: 992px) {
  .is-loading:not(.is-editor) .c-loading-item {
    &.--01 .c-bg {
      height: 30vw;
      clip-path: polygon(0 0, 30% 0, 0 100%);
    }
    &.--02 .c-bg {
      height: 20vw;
      clip-path: polygon(0 0, 40% 0, 0 100%);
    }
    &.--03 .c-bg {
      height: 30vw;
      clip-path: polygon(100% 0, 100% 100%, 70% 100%);
    }
    &.--04 .c-bg {
      height: 20vw;
      clip-path: polygon(100% 0, 100% 100%, 60% 100%);
    }
    &.--01,
    &.--02,
    &.--03,
    &.--04 {
      animation-duration: 0.3s;
    }
    /* &.--02, &.--04 {
      animation-delay: 0.5s;
    } */
  }
}
@keyframes liner01 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner02 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner03 {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@keyframes liner04 {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
.editor_block,
#tinymce {
  .p-roading {
    .c-loading-item {
      animation: unset !important;
      clip-path: unset !important;
    }
  }
}

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
.lib-hero__outer {
  background-color: var(--DEF);
} 

.lib-hero__title {
  color: #fff;
}

/*project詳細*/
.project td {
  border: none;
}

.project tbody > tr > th:first-child {
  border-left-color: transparent;
}

.project th, .project > thead {
  background-color: transparent;
  color: var(--DGRY);
}

.project th, .project>thead {
  border: transparent;
}

/*会社概要*/
:where(table) tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

:where(table) th, :where(table) > thead {
  background-color: var(--GRY);
  color: var(--DEF);
}

/*1002アニメーション追加*/
.lib-nav__btn>.txt:before {
  position: absolute;
  left: 0;content: '';
  width: 100%;
  height: 2px;
  background: var(--DEF);
  bottom: -13px;
  opacity: 1;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}

.is-scroll .lib-nav__btn>.txt:before {
  bottom: -20px;
}

.is-scroll .page-index .lib-nav__btn>.txt:before {
  background: var(--DEF);
}

.is-scroll .lib-nav__btn>.txt:before {
  background: var(--DEF);
}

@media print and (hover: hover) and (pointer: fine), screen and (min-width: 992px) and (hover: hover) and (pointer: fine) {
.lib-nav__btn.is-current>.txt:before, .lib-nav__btn:hover:not(.js-global__anchor)>.txt:before {
  opacity: 1!important;
  transform: scale(1, 1) !important; /*ホバー後、x軸方向に1（相対値）伸長*/
}
}

.page-index .lib-nav__btn>.txt:before {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: var(--WHT);
  bottom: -13px;
  opacity: 1;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}

/* @media print and (hover: hover) and (pointer: fine), screen and (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .is-scroll  .page-index .lib-nav__btn:hover:not(.js-global__anchor) {
  color: var(--DEF);
}
  .page-index .lib-nav__btn.is-current,.lib-nav__btn:hover:not(.js-global__anchor) {
  color: var(--WHT);
}
} */

.swiper-pagination-bullet {
  background-color: #000!important;
  border: none;
  opacity: 0.2 !important;
  margin-top: 5px!important;
  width: 8px!important;
  height: 8px!important;
  -webkit-transition: .3s;
  transition: .3s;
}

.swiper-pagination-bullet-active {
  background-color: var(--WHT)!important;
  border-color: var(--WHT);
  opacity: 0.5 !important;
}

@media print and (hover: hover) and (pointer: fine), screen and (min-width: 768px) and (hover: hover) and (pointer: fine) {
.swiper-pagination-bullet:hover {
  border-color: transparent;
  background-color: var(--WHT)!important;
  opacity: 1 !important;
}
}

.lib-fv__control .lib-swiper__player {
  display: none;
}

.lib-fv__control {
  padding-right: 0;
}


/*フェードイン*/
@keyframes zoomUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.3);
  }
}

/** ↓↓↓ 251024追記 swiper初期化時にフェードイン **/
.p-mv {
  .js-modeFade__slider_b {
    opacity: 0;
    transition-duration: 1s;
  }
}
.p-mv {
  .js-modeFade__slider_b {
    &.swiper-initialized {
      transition-delay: .5s;
      opacity: 1;
    }
  }
}
/** ↑↑↑ **/

.p-mv {
  .swiper-slide-active,
  .swiper-slide-duplicate-active,
  .swiper-slide-prev {
    .lib-fv__thumb {
      overflow: hidden;
      img {
        animation: zoomUp 15s linear 0s normal both;
      }
    }
  }
}

/*スクロールボタン*/
.scroll-down-btn {
  position: absolute; /* 画面に固定 */
  bottom: 168px; /* 下からの位置 */
  left: 50%; /* 水平方向の中央 */
  transform: translateX(-50%); /* 正確な中央揃え */
  color: #fff;
  /* font-family: 'Arial', sans-serif; */
  font-size: 12px;
  text-decoration: none;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 2px;
}

@media print, screen and (max-width: 576px) {
  .scroll-down-btn {
    bottom: 0; /* 下からの位置 */
  }
}



.scroll-down-btn.--def {
  position: absolute; /* 画面に固定 */
  bottom: -60px; /* 下からの位置 */
  left: 50%; /* 水平方向の中央 */
  transform: translateX(-50%); /* 正確な中央揃え */
  color: #333;
  /* font-family: 'Arial', sans-serif; */
  font-size: 12px;
  text-decoration: none;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 2px;
}

.scroll-down-btn::before {
  content: '»';
  font-size: 38px;
  line-height: 1;
  transform: rotate(90deg);
  margin-bottom: -7px;
  opacity: 0.7;
  animation: scroll-anime 3s infinite;
}

@media print, screen and (min-width: 576px) {
.scroll-down-btn {
  bottom: -37px; /* 下からの位置 */
  font-size: 14px;
}

.scroll-down-btn::before {
  font-size: 45px;
}
}

@media print, screen and (min-width: 992px) {
  .scroll-down-btn {
    bottom: 30px; /* 下からの位置 */
  }
  }
  

@keyframes scroll-anime {
  0% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(10px);
  }
  100% {
    transform: rotate(90deg) translateX(0);
  }
}

/*1007修正分*/
@media print, screen and (min-width: 992px) {
.lib-header__inner {
  width: 95%;
}

.lib-header__bar {
  left: 3%;
}

.lib-header__outer.lib-header-BS02 {
  box-shadow: none;
}
}

.lib-header__outer {
  background-color: transparent;
}

/*------------------ヘッダーアニメーション---------------------*/
.page-index #wrapper:has(.lib-header-BS02) {
  padding-top: 0;
}

@media print, screen and (min-width: 992px) {
  .is-scroll:not(.is-gnav__open) .lib-header__outer {
  height: 120px
}
}

.lib-header__outer .js-scroll-out {
  -webkit-transition: unset;
  transition: unset;
  opacity: unset
}

.is-scroll .lib-header__outer .js-scroll-out {
  opacity: unset;
  margin-top: unset!important
}

@media print, screen and (min-width: 992px) {
.is-scroll .lib-header__logo img {
  width: 100px;
}
}

.lib-header__outer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* アニメーションを滑らかにする */
  transition: transform 0.6s ease-in-out;
}

/* ヘッダーを非表示にするクラス */
.lib-header__outer.is-hidden {
  /* ヘッダーを画面の上方向に移動させて隠す */
  transform: translateY(-100%);
}
/*------------------ヘッダーアニメーションここまで---------------------*/

.lib-breadcrumb__outer {
  display: none;
}

@media print, screen and (min-width: 992px) {
  #wrapper:has(.lib-header-BS02) .lib-hero__outer {
    min-height: 70px;
  }
  }

@media print, screen and (min-width: 576px) {
#contents {
  padding: 2rem .75rem 120px;
}
}

/*------------------ロゴ切り替え------------------*/
.logo-wht {
  display: none;
}

.logo-gry {
  display: block;
}
.page-index .logo-gry {
  display: none;
}

.page-index .logo-wht {
  display: block;
}
/*------------------ロゴ切り替えここまで------------------*/

/*------------------お問い合わせフォーム------------------*/
.lib-form__label {
  display: none;
}

.lib-form__input:has(.lib-form__name) .lib-form__label {
  width: 0;
}

.lib-form__item .is-required {
  background-color: transparent;
  color: var(--RED);
  font-size: .75rem;
  display: inline-block;
  padding: 8px 10px;
  line-height: 1;
  margin-left: auto;
  white-space: nowrap;
}

.lib-form-flow__outer {
  display: none;
}

@media print, screen and (min-width: 768px) {
.lib-form__title {
  width: 180px;
}
}

.lib-form__item:first-child {
  border-top: none;
}

.lib-form__item {
  border-bottom: none;
}

.lib-form__outer {
  max-width: 960px!important;
  margin: 0 auto;
}

.lib-example__text {
  display: none;
}

.lib-form__outer .lib-link__btn {
  background-color: var(--DGRY);
  color: var(--WHT);
  border: var(--DGRY) 2px solid;
}

.lib-form__outer .lib-link__btn:hover {
  background-color: var(--WHT);
  color: var(--DGRY);
}
/*------------------お問い合わせフォームここまで------------------*/

/*------------------フェードインここまで------------------*/
/* アニメーションの初期状態（非表示） */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px); /* 上から20px下に移動 */
  transition: opacity 2.0s ease-out, transform 2.0s ease-out; /* アニメーションの時間と動き */
}

/* アニメーションの最終状態（表示） */
.fade-in-up.is-active {
  opacity: 1;
  transform: translateY(0);
}
/*------------------フェードインここまで------------------*/

/*----1020修正分----*/
/* @media print, screen and (min-width: 768px) {
.lib-fv__slide .lib-fv__txtarea {
  padding-left: 20px;
  padding-right: 20px;
}
} */

/* @media print, screen and (min-width: 768px) {
  .lib-fv__slide .lib-fv__txtarea {
    padding-left: .75rem;
    padding-right: .75rem;
  }
  }

  @media print, screen and (min-width: 992px) {
    .lib-fv__slide .lib-fv__txtarea {
      padding-left: 70px;
      padding-right: 70px;
    }
    }

@media print, screen and (min-width: 1441px) {
.lib-fv__slide .lib-fv__txtarea {
  padding-left: 85px;
  padding-right: 85px;
}
} */

/*1028追記*/
.lib-fv__slide .lib-fv__txtarea {
  padding-left: .75rem;
  padding-right: .75rem;
}

@media print, screen and (min-width: 992px) {
.lib-fv__slide .lib-fv__txtarea {
padding-left: 85px;
padding-right: 85px;
}
}


@media print, screen and (max-width: 767.8px) {
.d-unset.about-table td, 
.d-unset.about-table th {
  display: unset;
  width: 100%!important;
}
}

.lib-error__text {
  color: var(--RED);
}

:where(.lib-card__item).flex-column .lib-card__txtarea {
  padding-top: 0;
  padding-bottom: 0; 
}

.lib-fv__thumb {
  height: 100vh;
}

#contents {
  padding: 1.5rem .75rem 1.5rem;
}

@media print, screen and (min-width: 576px) {
#contents {
  padding: 0rem .75rem 0rem;
}
}

.lib-header__bar {
  background-color: transparent;
  box-shadow: none;
}

.lib-menu__btn {
  background-color: transparent;
  border: transparent;
}

.lib-header__logo img {
  width: 100px;
}

@media print, screen and (max-width: 991px) {
.lib-nav__list {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  margin-left: -10px;
  margin-right: -10px;
  border-bottom: none;
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.3);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.lib-nav__item {
  border-top: none;
}

.lib-nav__panel {
  top: 0;
  right: 0;
  /* background-color: #f5f5f5; */
  z-index: 1;
  position: fixed;
  /* padding-top: 300px; */
  height: 100vh;
}
}

.lib-hero__outer {
  min-height: 60px;
}

.lib-form__title {
  background-color: transparent;
}

@media print, screen and (min-width: 992px) {
.lib-hero__txtarea {
  margin-top: -50px;
}
}

.lib-menu__btn>.line {
  background-color: #A0A0A0;
}

/* .page-index .lib-menu__btn>.line {
 background-color: var(--WHT); 
}

.page-index .lib-menu__btn.is-open>.line {
  background-color: #A0A0A0;
} */

@media print, screen and (min-width: 992px) {
.lib-nav__panel {
  position: unset;
  margin-left: unset;
}

.lib-header__bar {
position: unset;
  transform: unset;
}

.lib-header__inner {
  width: 95%;
  margin: 0 70px;
}
}

/*costom.css反映されないのでcssjsに追記*/
@media print, screen and (min-width: 992px) {
#wrapper:has(.lib-header-BS02) .lib-hero__outer {
  min-height: 70px;
}
}

/* @media print, screen and (min-width: 768px) {
.lib-fv__slide .lib-fv__txtarea {
  padding-left: 85px;
  padding-right: 85px;
}
} */

.lib-form__item .is-required {
  display: none;
}

/*-----1024修正分-----*/
@media print, screen and (max-width: 991px) {
.lib-nav__panel {
  /* position: relative; */
}

.lib-nav__list {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) !important;
  padding-bottom: 60px;
  /* margin-left: 1px; */
}
}

.p-mv .lib-fv__thumb img {
  width: 100%;
  height: 100vh;
}

/*1028追記*/
/* video:focus {
  outline: none !important;
  box-shadow: none !important; 
} */

video:focus,
video:focus-visible {
outline: none;
}

/*1030修正*/
.lib-nav__btn {
  padding: 14px 15px;
}