@charset "UTF-8";

:root {
  interpolate-size: allow-keywords;
  --bl: #000;
  --gray-02: #ccc;
  --grad-01: linear-gradient(90deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-01-rev: linear-gradient(0deg, var(--MAIN) 0%, var(--LMAIN) 100%);
  --grad-02: linear-gradient(90deg, var(--ACC) 0%, var(--LACC) 100%);
  --grad-02-rev: linear-gradient(0deg, var(--ACC) 0%, var(--LACC) 100%);
  --grad-03: linear-gradient(90deg, var(--OTH) 0%, var(--LOTH) 100%);
  --grad-03-rev: linear-gradient(0deg, var(--OTH) 0%, var(--LOTH) 100%);
  --transition: all 0.3s ease-in-out;
  --oversize: calc((100% - 100vw) / 2);
}

/* ==================================
リセット・調整・ファンデーション
===================================== */
/* 高さを画像自体の高さにする */
:where(img) {
  vertical-align: bottom;
}
:where(.thumb),
:where([class*="__thumb"]) {
  vertical-align: bottom;
  background-color: unset;
}

/*---------- アクセシビリティ ----------*/
/* アイコンをスクリーンリーダーに読み上げられないようにする */
i,
[class*="material-icons"],
[class*="material-symbols"] {
  speak: none;
}

/*---------- BMパーツの調整 ----------*/
/* 疑似要素の削除 */
.no-before::before,
.no-after::after {
  content: unset !important;
}

/* スクロールした後のヘッダーのボタンの高さが変わるときにイージング */
.lib-induce__outer li:has(.lib-induce__btn) {
  transition: all 0.2s;
}

/* ボタンのアイコンを「→」に変更 */
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
  content: "\ea03";
  font-size: 1em;
} */

/* ボタンのアイコンに●の背景色を入れる */
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) {
   > .txt::after {
    color: var(--MAIN);
    background-color: var(--WHT);
    padding: 0.5em;
    border-radius: 50%;
    margin-top: -0.875em;
    line-height: 1;
    font-size: 0.675em;
    transition: var(--transition);
  }
  &:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--MAIN);
  }
  &.bg-wht > .txt::after {
    color: var(--WHT);
    background-color: var(--MAIN);
  }
  &.bg-wht:hover > .txt::after {
    color: var(--MAIN);
    background-color: var(--WHT);
  }
  &.border-accent > .txt::after {
    color: var(--ACC);
  }
  &.border-accent:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--ACC);
  }
  &.border-accent.bg-wht > .txt::after {
    color: var(--WHT);
    background-color: var(--ACC);
  }
  &.border-accent.bg-wht:hover > .txt::after {
    color: var(--ACC);
    background-color: var(--WHT);
  }
  &.border-def > .txt::after {
    color: var(--DEF);
  }
  &.border-def:hover > .txt::after {
    color: var(--WHT);
    background-color: var(--DEF);
  }
} */

/*---------- BMパーツのパターン増設 ----------*/
/* ①②③...のリストマーカー */
:where(.lib-indent__list).--circle > li::before {
  content: counter(ol-bullet);
  text-align: center;
  border: 1px solid var(--DEF);
  border-radius: 50%;
  font-size: 0.75em;
  line-height: 1;
  width: 1.5em;
  height: 1.5em;
  aspect-ratio: 1/1;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.4%;
  /* margin-top: 2px; */
}

/* ※のリストマーカー */
:where(.lib-indent__list).--asterisk {
  > li {
    padding-left: 1.8em;
    position: relative;
  }
  > li::before {
    /* counter-increment: ol-bullet; */
    content: "※";
    display: block;
    width: 2em;
    text-align: center;
    text-align: right;
    position: absolute;
    left: 0;
    top: 0;
    padding-right: 0.5em;
  }
}

/* 「―」（横線）のリストマーカー */
:where(.lib-indent__list).--line {
  > li {
    position: relative;
    padding-left: 2em;
  }
  > li::before {
    content: "―";
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* table 罫線パターン */
:where(table).--border {
  > thead,
  th {
    background-color: unset;
  }
  > thead th:first-child {
    border-left-color: var(--GRY);
  }
  > thead th:last-child {
    border-right-color: var(--GRY);
  }
  th,
  td {
    border: unset;
    border: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
  }
  tbody > tr > th:first-child {
    border-left-color: var(--GRY);
  }
}

/* table 下線パターン */
:where(table).--border-bottom {
  border: unset;
  th,
  > thead {
    background-color: unset;
  }
  th,
  td {
    border: unset;
    border-bottom: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
    @media print, screen and (max-width: 767px) {
      border-top: 1px solid var(--DGRY);
      margin-top: -1px;
    }
  }
  &.--even tbody > tr:nth-child(even) > th {
    background-color: var(--LGRY);
  }
}

/* table 下線パターン2 見出しセルの下線はメインカラー */
:where(table).--border-bottom-main {
  border: unset;
  th,
  > thead {
    background-color: unset;
  }
  th,
  td {
    border: unset;
    border-bottom: 1px solid var(--GRY);
  }
  th {
    color: var(--DEF);
    border-bottom: 1px solid var(--MAIN);
    @media print, screen and (max-width: 767px) {
      border-top: 1px solid var(--MAIN);
      border-bottom: 1px solid var(--GRY);
      margin-top: -1px;
    }
  }
  &.--even tbody > tr:nth-child(even) > th {
    background-color: var(--LGRY);
  }
}

/* 見出し"列"だけグレー */
:where(table.--gry) tbody > tr > th {
  background-color: var(--GRY);
  color: var(--DEF);
}
:where(table.--gry) tbody > tr > th:first-child {
  border-left-color: var(--GRY);
}

/* table .lib-table__03に少し余白を入れる */
:where(.lib-table__03).--padding {
  --cell-padding: 0.5em;
  td,
  th {
    padding: var(--cell-padding);
  }
}

/* メディアのスライダーをリストにする */
/* swiper用のclassを削除or無効にした上で利用 */
.lib-blog-001.--list {
  .swiper-wrapper {
    flex-direction: column;
    .swiper-slide {
      width: 100%;
    }
  }
  .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;
  }
}

/*---------- Swiper ----------*/
/* 滑らかに */
.u-swiper-liner .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
  transition-timing-function: linear !important;
}

/* メディアの一覧ページを3カラムにする
   （15em=240px以下にしないようにする） */
/* .media-post__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 1em;
  .media-post__item {
    margin-top: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
  .media-post__thumb {
    height: auto;
    grid-row: 1/2;
    @media print, screen and (min-width: 768px) {
      width: 100%;
    }
    img {
      object-fit: cover;
      aspect-ratio: 16/9;
    }
  }
  .media-post__inside {
    grid-row: 2/3;
    @media print, screen and (min-width: 768px) {
      padding-left: 0;
    }
    .media-post__chip {
      @media print, screen and (min-width: 768px) {
        margin-top: 0;
      }
    }
  }
} */

/* ==================================
タイポ
===================================== */
/*---------- font（日本語フォントが打ち消される場合に使用） ----------*/
/* @font-face{
	font-family: "Avenir"; ←任意の文字で書く
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff2') format('woff2');
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff') format('woff');
	font-weight: 300; ←読み込むフォントのデータに合わせてweight設定する（woffデータの中にweightがすべてそろっていれば記載不要）
	unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+0021, U+003F, U+0026, U+0025, U+002C, U+002E; ←英数字 + ! ? & % , . を含める
} */
 /*↑↑↑必要に応じて記載変更↑↑↑↑*/


/* ゴシックとか */
.ff-notosans {
  font-family: "Noto Sans JP", serif;
}
.ff-lato {
  font-family: "Lato", sans-serif;
  /* letter-spacing: 0.05rem; */
}
.ff-oswald {
  font-family: "Oswald", sans-serif;
}
.ff-poppins {
  font-family: "Poppins", sans-serif;
}
.ff-zenmarugo {
  font-family: "Zen Maru Gothic", sans-serif;
}
.ff-zenkakugo {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.ff-montserrat {
  font-family: "Montserrat", sans-serif;
}
.ff-staatliches {
  font-family: "Staatliches", sans-serif;
}
.ff-m-plus-rounded-1c {
  font-family: "M PLUS Rounded 1c", sans-serif;
  transform: rotate(0.07deg);
}
.ff-inter {
  font-family: "Inter", sans-serif;
}
/* 明朝とか */
.ff-notoserif {
  font-family: "Noto Serif JP", serif;
}
.ff-yumincho {
  font-family: "Yu Mincho", "YuMincho", serif;
}
.ff-shippori {
  font-family: "Shippori Mincho", serif;
}
.ff-shippori-b1 {
  font-family: "Shippori Mincho B1", serif;
}

/* font-weight */
.fw-600 {
  font-weight: 600 !important;
}
.fw-800 {
  font-weight: 800 !important;
}
.fw-900 {
  font-weight: 900 !important;
}

/* font-size */
@media print, screen and (min-width: 992px) {
  .fs-lg-50 {
    font-size: 3.125rem;
  }
}
@media print, screen and (min-width: 992px) {
  .fs-lg-60 {
    font-size: 3.75rem;
  }
}

/* 縦書き */
.vertical-rl {
  writing-mode: vertical-rl;
}

/* 袋文字 */
.text-hukuro {
  /* -webkit-text-stroke: 2px var(--bl);
     text-stroke: 2px var(--bl); */
  text-shadow: 2px 2px 1px var(--bl), -2px 2px 1px var(--bl), 2px -2px 1px var(--bl), -2px -2px 1px var(--bl), 2px 0px 1px var(--bl), 0px 2px 1px var(--bl), -2px 0px 1px var(--bl),
    0px -2px 1px var(--bl);
}
.text-hukuro-wht {
  /* -webkit-text-stroke: 2px var(--WHT);
     text-stroke: 2px var(--WHT); */
  text-shadow: 2px 2px 1px var(--WHT), -2px 2px 1px var(--WHT), 2px -2px 1px var(--WHT), -2px -2px 1px var(--WHT), 2px 0px 1px var(--WHT), 0px 2px 1px var(--WHT), -2px 0px 1px var(--WHT),
    0px -2px 1px var(--WHT);
}

/* ==================================
テキストシャドウ
===================================== */
.text-shadow {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}


/* box-decoration-break */
.decoration-break {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* マーカーのあしらい */
mark {
  background: linear-gradient(transparent 60%, yellow 60%);
}

/* テキストをグラデーションにするベース */
.text-grad {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect {
  /* 縦横比はstyleでCSS変数を書き換える
     ex) style="--aspect: 2.51 / 1;" */
  --aspect: auto;
  @media print, screen and (min-width: 576px) {
    --aspect-sm: var(--aspect);
  }
  @media print, screen and (min-width: 768px) {
    --aspect-md: var(--aspect-sm);
  }
  @media print, screen and (min-width: 992px) {
    --aspect-lg: var(--aspect-md);
  }
  @media print, screen and (min-width: 1200px) {
    --aspect-xl: var(--aspect-lg);
  }
  @media print, screen and (min-width: 1400px) {
    --aspect-xxl: var(--aspect-xl);
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: var(--aspect);
    @media print, screen and (min-width: 576px) {
      aspect-ratio: var(--aspect-sm);
    }
    @media print, screen and (min-width: 768px) {
      aspect-ratio: var(--aspect-md);
    }
    @media print, screen and (min-width: 992px) {
      aspect-ratio: var(--aspect-lg);
    }
    @media print, screen and (min-width: 1200px) {
      aspect-ratio: var(--aspect-xl);
    }
    @media print, screen and (min-width: 1400px) {
      aspect-ratio: var(--aspect-xxl);
    }
  }

  &.--4x3 img {
    aspect-ratio: 4 / 3;
  }
  &.--3x2 img {
    aspect-ratio: 3 / 2;
  }
  &.--16x9 img {
    aspect-ratio: 16 / 9;
  }
  &.--21x9 img {
    aspect-ratio: 21 / 9;
  }
  &.--1x1 img {
    aspect-ratio: 1 / 1;
  }
  &.--2x1 img {
    aspect-ratio: 2 / 1;
  }
  &.--3x1 img {
    aspect-ratio: 3 / 1;
  }
  &.--4x1 img {
    aspect-ratio: 4 / 1;
  }
  &.--7x8 img {
    aspect-ratio: 7 / 8;
  }
  &.--9x16 img {
    aspect-ratio: 9 / 16;
  }
  &.--2x3 img {
    aspect-ratio: 2 / 3;
  }
  &.--3x4 img {
    aspect-ratio: 3 / 4;
  }

  /* 画像全体を枠内に入れたいとき */
  &.--contain img,
  .--contain img {
    object-fit: contain;
  }
}

/*---------- 角丸 ----------*/
[class*="u-rounded"] {
  overflow: clip;
}
.u-rounded {
  --round: 0.625em;
  border-radius: var(--round);
  @media print, screen and (min-width: 576px) {
    --round-sm: var(--round);
    border-radius: var(--round-sm);
  }
  @media print, screen and (min-width: 768px) {
    --round-md: var(--round-sm);
    border-radius: var(--round-md);
  }
  @media print, screen and (min-width: 992px) {
    --round-lg: var(--round-md);
    border-radius: var(--round-lg);
  }
  @media print, screen and (min-width: 1200px) {
    --round-xl: var(--round-lg);
    border-radius: var(--round-xl);
  }
  @media print, screen and (min-width: 1400px) {
    --round-xxl: var(--round-xl);
    border-radius: var(--round-xxl);
  }
}

.u-rounded-_25 {
  border-radius: 0.25rem !important;
}
.u-rounded-_5 {
  border-radius: 0.5rem !important;
}
.u-rounded-_75 {
  border-radius: 0.75rem !important;
}
.u-rounded-1 {
  border-radius: 1rem !important;
}
.u-rounded-1_5 {
  border-radius: 1.5rem !important;
}
.u-rounded-1_25 {
  border-radius: 1.25rem !important;
}
.u-rounded-2 {
  border-radius: 2rem !important;
}
.u-rounded-3 {
  border-radius: 3rem !important;
}

.--round-top {
  border-bottom-right-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
.--round-bottom {
  border-top-right-radius: unset !important;
  border-top-left-radius: unset !important;
}
.--round-right {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}
.--round-left {
  border-top-right-radius: unset !important;
  border-bottom-right-radius: unset !important;
}
.--round-trans-up {
  border-top-left-radius: unset !important;
  border-bottom-right-radius: unset !important;
}
.--round-trans-down {
  border-top-right-radius: unset !important;
  border-bottom-left-radius: unset !important;
}

/*---------- はみ出させる ----------*/
.u-over {
  margin-inline: var(--oversize);
}
/* 右に */
.u-r-over {
  margin-right: var(--oversize);
}
@media print, screen and (min-width: 768px) {
  .u-r-md-over {
    margin-right: var(--oversize);
  }
}
@media print, screen and (min-width: 992px) {
  .u-r-lg-over {
    margin-right: var(--oversize);
  }
}
/* 左に */
.u-l-over {
  margin-left: var(--oversize);
}
@media print, screen and (min-width: 768px) {
  .u-l-md-over {
    margin-left: var(--oversize);
  }
}
@media print, screen and (min-width: 992px) {
  .u-l-lg-over {
    margin-left: var(--oversize);
  }
}

.u-l-over-50vw {
  width: 50vw;
  margin-left: calc((50vw - 50%) * -1);
}
.u-r-over-50vw {
  width: 50vw;
  margin-right: -50vw;
}
@media print, screen and (min-width: 768px) {
  .u-l-over-50vw-md {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-md {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 992px) {
  .u-l-over-50vw-lg {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-lg {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 1200px) {
  .u-l-over-50vw-xl {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-xl {
    width: 50vw;
    margin-right: -50vw;
  }
}
@media print, screen and (min-width: 1400px) {
  .u-l-over-50vw-xxl {
    width: 50vw;
    margin-left: calc((50vw - 50%) * -1);
  }
  .u-r-over-50vw-xxl {
    width: 50vw;
    margin-right: -50vw;
  }
}

/* ========================================
パーツ
======================================== */
/*---------- アイコン（アイコンフォント想定。大きさはp-*やfs-*、個別にwidth・height指定して調整。） ----------*/
.c-icon {
  aspect-ratio: 1 / 1;
  speak: none;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;

  --icon-size: 1.5em;
  width: var(--icon-size);
  height: var(--icon-size);
  @media print, screen and (min-width: 576px) {
    --icon-size-sm: var(--icon-size);
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }
  @media print, screen and (min-width: 768px) {
    --icon-size-md: var(--icon-size-sm);
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }
  @media print, screen and (min-width: 992px) {
    --icon-size-lg: var(--icon-size-md);
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }
  @media print, screen and (min-width: 1200px) {
    --icon-size-xl: var(--icon-size-lg);
    width: var(--icon-size-xl);
    height: var(--icon-size-xl);
  }
  @media print, screen and (min-width: 1400px) {
    --icon-size-xxl: var(--icon-size-xl);
    width: var(--icon-size-xxl);
    height: var(--icon-size-xxl);
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    speak: none;
  }

  &.--cover img {
    object-fit: cover;
  }
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
/* 余白の微調整は「gap-*」 */
.c-icon-text {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 0.75em;
  justify-content: center;
  align-items: center;

  /* アイコンだけ右寄せ */
  &.--r {
    grid-template-columns: 1fr auto;
  }
  /* アイコンだけ左寄せ */
  &.--l {
    grid-template-columns: auto 1fr;
  }
}

/*---------- レイアウト ----------*/
/* display: grid;で重ねる */
.l-overlap {
  display: grid;
  > * {
    grid-area: 1 / -1;
  }
}
#tinymce,
.editor_block {
  .l-overlap {
    > * {
      grid-area: unset !important;
      z-index: 1 !important;
      opacity: 1 !important;
    }
  }
}

/* 子要素を中央配置 */
/* 縦 */
.l-v-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 縦横中央 */
.l-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*---------- 背景のベース ----------*/
/* 背景画像を敷く場合、
   背景画像に各色のフィルターをかける場合
   疑似要素を配置したいときのベース */
.p-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  /* opacity（濃さ）はstyleでCSS変数を書き換える
     ex) style="--bg-opacity: 0.5;" */
  --bg-opacity: 0.3;

  /* 疑似要素のファンデーション */
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: inherit;
    pointer-events: none;
    speak: none;
    opacity: var(--bg-opacity);
  }
  /* 画像の時 */
  &.--img::before,
  &.--img::after {
    z-index: 1;
  }
  /* グレースケール透明フィルター */
  &.--bl::before {
    background-color: var(--bl);
  }
  &.--def::before {
    background-color: var(--DEF);
  }
  &.--dgry::before {
    background-color: var(--DGRY);
  }
  &.--gry::before {
    background-color: var(--GRY);
  }
  &.--lgry::before {
    background-color: var(--LGRY);
  }
  &.--wh::before {
    background-color: var(--WHT);
  }
  /* メインカラーフィルター */
  &.--main::before {
    background-color: var(--MAIN);
  }
  &.--lmain::before {
    background-color: var(--LMAIN);
  }
  /* アクセントカラーフィルター */
  &.--accent::before {
    background-color: var(--ACC);
  }
  &.--laccent::before {
    background-color: var(--LACC);
  }
  /* 補助色カラーフィルター */
  &.--other::before {
    background-color: var(--OTH);
  }
  &.--lother::before {
    background-color: var(--LOTH);
  }
  /* グラデーションカラーフィルター */
  &.--grad-01::before {
    background: var(--grad-01);
  }
  &.--grad-01-rev::before {
    background: var(--grad-01-rev);
  }
  &.--grad-02::before {
    background: var(--grad-02);
  }
  &.--grad-02-rev::before {
    background: var(--grad-02-rev);
  }
  &.--grad-03::before {
    background: var(--grad-03);
  }
  &.--grad-03-rev::before {
    background: var(--grad-03-rev);
  }

  /* ぼかしフィルター
     強さはstyleでCSS変数を書き換える
     ex) style="--blur: 1em;" */
  &.--blur {
    --blur: 0.5rem;
  }
  &.--blur::after {
    backdrop-filter: blur(var(--blur));
    opacity: 1;
  }

  /* 乗算 */
  &.--multiply::after {
    mix-blend-mode: multiply;
  }
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  text-decoration: none;
  &:hover {
    text-decoration: none;
  }
  /* 背景色 */
  &.--bg-bl:hover {
    background-color: var(--bl);
  }
  &.--bg-def:hover {
    background-color: var(--DEF);
  }
  &.--bg-dgry:hover {
    background-color: var(--DGRY);
  }
  &.--bg-gry:hover {
    background-color: var(--GRY);
  }
  &.--bg-lgry:hover {
    background-color: var(--LGRY);
  }
  &.--bg-wh:hover {
    background-color: var(--WHT);
  }
  &.--bg-main:hover {
    background-color: var(--MAIN);
  }
  &.--bg-lmain:hover {
    background-color: var(--LMAIN);
  }
  &.--bg-accent:hover {
    background-color: var(--ACC);
  }
  &.--bg-laccent:hover {
    background-color: var(--LACC);
  }
  &.--bg-other:hover {
    background-color: var(--OTH);
  }
  &.--bg-lother:hover {
    background-color: var(--LOTH);
  }
  /* 動き */
  &.--up,
  .--up {
    --translate-up: -0.125rem;
    transition: var(--transition);
  }
  &.--up:hover,
  &:hover .--up {
    transform: translateY(var(--translate-up));
  }
  &.--down,
  .--down {
    --translate-down: 0.125rem;
    transition: var(--transition);
  }
  &.--down:hover,
  &:hover .--down {
    transform: translateY(var(--translate-down));
  }
  &.--right,
  .--right {
    --translate-right: 0.125rem;
    transition: var(--transition);
  }
  &.--right:hover,
  &:hover .--right {
    transform: translateX(var(--translate-right));
  }
  &.--left,
  .--left {
    --translate-left: -0.125rem;
    transition: var(--transition);
  }
  &.--left:hover,
  &:hover .--left {
    transform: translateX(var(--translate-left));
  }
  &.--scale-up,
  .--scale-up {
    --scale: scale(1.1);
    img {
      transition: var(--transition);
    }
    &:hover img {
      transform: var(--scale);
    }
  }
  /* あしらい */
  &.--underline:hover,
  &:hover .--underline {
    text-decoration: underline;
  }
  &.--opacity,
  .--opacity {
    --opacity: 0.8;
    &:hover {
      opacity: var(--opacity);
      img {
        opacity: var(--opacity);
      }
    }
  }
  /* l-overlapで重ねた要素のうち、ホバーしたら--afterが表示される */
  &.--overlap {
    .--after {
      opacity: 0;
      transition: var(--transition);
    }
    &:hover .--after {
      opacity: 1;
    }
  }
  /* 下線が伸びる */
  &.--bottom-line {
    position: relative;
    padding-bottom: min(0.5em, 5%);
    &::after {
      content: "";
      width: 0%;
      height: 2px;
      background-color: currentColor;
      position: absolute;
      bottom: -1px;
      left: 0;
      transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
    }
    &:hover::after {
      @media (hover: hover) and (pointer: fine) {
        width: 100%;
      }
    }
  }
  /* 下線が伸びる（子要素の場合） */
  .--bottom-line {
    position: relative;
    padding-bottom: min(0.5em, 5%);
    &::after {
      content: "";
      width: 0%;
      height: 2px;
      background-color: currentColor;
      position: absolute;
      bottom: -1px;
      left: 0;
      transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
    }
  }
  &:hover .--bottom-line::after {
    @media (hover: hover) and (pointer: fine) {
      width: 100%;
    }
  }
  /* shadowを入れる */
  &.--shadow:hover {
    @media (hover: hover) and (pointer: fine) {
      /* box-shadow: 0 .5em 1em currentColor; */
      box-shadow: 0 0.5em 1em rgb(0 0 0 / 30%);
    }
  }
}

/* ホバーしたら下線が左から順に伸びる
   （display: inline;にする必要があるので注意） */
.c-hover-underline-anime {
  display: inline;
  overflow: hidden;
  background-image: linear-gradient(90deg, currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: bottom 0 left 0;
  background-size: 0 1px;
  transition-duration: 0.3s;
  transition-property: background-size;
}
@media (any-hover: hover) {
  .c-hover-underline-anime:hover,
  a:has(.c-hover-underline-anime):hover .c-hover-underline-anime,
  button:has(.c-hover-underline-anime):hover .c-hover-underline-anime {
    background-size: 100% 1px;
  }
}

/* ==================================
ヘッダー
===================================== */
@media print, screen and (max-width: 991px) {
  .lib-header__outer.typeS .lib-child__panel {
      margin-left: 0;
  }
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
  background-color: currentColor;
}
.lib-footer__title>a {
  background-color: transparent;
  border: none;
}
.lib-footer__list {
  display: block;
}
@media print, screen and (max-width: 767px) {
  .lib-footer__list {
    padding-left: 20px;
  }
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */

/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
/* .lib-hero__outer {
  background-color: unset;

  .lib-hero__title {
    font-size: clamp(1.25rem, calc(0.975609756097561rem + 1.170731707317073vw), 2rem);
  }
  .lib-hero__title-en {
    font-size: clamp(2rem, calc(1.2682926829268293rem + 3.1219512195121952vw), 4rem);
    color: var(--MAIN);
    font-weight: bold;
    opacity: 0.2;
    line-height: 1.2;
    margin-bottom: -0.4em;
  }
  .lib-hero__title-en::first-letter {
    text-transform: uppercase;
  }
} */

/* ==================================================================
   サン・エキスプレス 案件固有スタイル（既存サイト sun-and-endoh.co.jp 再現）
   ================================================================== */
body { font-family: var(--fntBase); color: #333; }
.lib-hero__title, .custom-top-catch, .custom-section-title .title, .custom-showcase .title {
  font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* ---------- 不要な共通パーツ（既存サイトに無い） ---------- */
.lib-cta__outer, .lib-fixed__bnr { display: none !important; }

/* ---------- ヘッダー ---------- */
.custom-header.lib-header__outer,
.custom-header .lib-header__inner, .custom-header .lib-header__bar {
  transform: none !important; will-change: auto !important; filter: none !important;
}
.custom-header .lib-header__bar {
  background-color: rgba(18, 30, 31, .8) !important; box-shadow: none !important;
  height: 100px !important; display: flex !important; align-items: center;
}
.custom-header .lib-header__logo img { width: 240px; height: auto; max-width: none; }
.custom-header .lib-header__logo a { background: transparent !important; box-shadow: none !important; }
.custom-header .lib-menu__btn .line { background-color: #fff; }
body.is-home .custom-header .lib-header__bar { background-color: rgba(18, 30, 31, .3) !important; transition: background-color .3s; }
body.is-home.is-scrolled .custom-header .lib-header__bar { background-color: rgba(18, 30, 31, .8) !important; }

@media (min-width: 1200px) {
  .custom-header .lib-menu__btn { display: none !important; }
  .custom-header .lib-nav__panel {
    position: absolute !important; top: 0; right: max(40px, calc((100vw - 1200px) / 2)); left: auto; width: auto; height: 100px;
    background: transparent !important; visibility: visible !important; opacity: 1 !important; transform: none !important;
    display: flex !important; align-items: center; z-index: 1001; overflow: visible !important;
  }
  .custom-header .lib-nav__cover, .custom-header .lib-nav__outer { background: transparent !important; padding: 0 !important; height: auto; overflow: visible !important; }
  .custom-header .lib-nav__list { display: flex !important; gap: 0; margin: 0; padding: 0; flex-wrap: nowrap; }
  .custom-header .lib-nav__item { position: relative; width: auto !important; max-width: none !important; flex: 0 0 auto !important; border: none !important; }
  .custom-header .lib-nav__btn {
    color: #fff !important; background: transparent !important; border: none !important; font-size: 14px; font-weight: bold;
    padding: 0 20px !important; height: 100px; display: flex; align-items: center; white-space: nowrap;
  }
  .custom-header .lib-nav__btn::before, .custom-header .lib-nav__btn::after { display: none !important; }
  .custom-header .lib-nav__btn:hover, .custom-header .lib-nav__btn:focus-visible { color: #ff4242 !important; }
  .custom-header .lib-child__panel {
    position: absolute !important; top: 100px; left: 0; width: 230px; display: none !important;
    background: #686868 !important; visibility: visible !important; opacity: 1 !important; height: auto !important; transform: none !important;
  }
  .custom-header .lib-nav__item:hover .lib-child__panel,
  .custom-header .lib-nav__item:focus-within .lib-child__panel { display: block !important; }
  .custom-header .lib-child__outer { padding: 0 !important; background: transparent !important; }
  .custom-header .lib-child__item { width: 100% !important; max-width: none !important; border: none !important; margin: 0 !important; }
  .custom-header .lib-child__item.--headline { display: none !important; }
  .custom-header .lib-child__list { display: block !important; margin: 0; padding: 0; }
  .custom-header .lib-child__item a { display: block; color: #fff !important; font-size: 14px; padding: 18px 20px; background: transparent !important; }
  .custom-header .lib-child__item a::before, .custom-header .lib-child__item a::after { display: none !important; }
  .custom-header .lib-child__item a:hover { background: #ff4242 !important; }
}
@media (max-width: 1199px) {
  .custom-header .lib-header__bar { height: 70px !important; }
  .custom-header .lib-header__logo img { width: 180px; }
}
@media (max-width: 575px) {
  .custom-header .lib-header__bar { height: 60px !important; }
  .custom-header .lib-header__logo img { width: 150px; }
}

/* ---------- 下層ページ ヒーロー（ページヘッダー画像＋中央白文字タイトル） ---------- */
.lib-hero__outer { min-height: 400px; display: flex; align-items: center; justify-content: center; position: relative; }
.lib-hero__outer::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.lib-hero__outer .lib-hero__txtarea { position: relative; width: 100%; text-align: center; background: transparent !important; }
.lib-hero__outer .lib-hero__inner { background: transparent !important; padding: 0 !important; justify-content: center; }
.lib-hero__outer .lib-hero__title { color: #fff !important; font-size: 40px; font-weight: normal; letter-spacing: .05em; margin: 0 auto; text-align: center; }
.lib-hero__outer .lib-hero__title::before, .lib-hero__outer .lib-hero__title::after { display: none !important; }
@media (max-width: 767px) {
  .lib-hero__outer { min-height: 200px; }
  .lib-hero__outer .lib-hero__title { font-size: 26px; }
}

/* パンくず：ヒーロー画像の下（JSで移動） */
.lib-breadcrumb__outer { background: #fff; }
.lib-breadcrumb__outer a, .lib-breadcrumb__outer li { font-size: 12px; color: #333; }

/* ---------- 本文 ---------- */
#dcms_layoutPageBlock { font-size: 14px; line-height: 2.4; }
#dcms_layoutPageBlock .lib-txt__outer p, #dcms_layoutPageBlock .lib-card__txt { font-size: 14px; line-height: 2.4; }
#dcms_layoutPageBlock .lib-txt__outer a:not(.lib-link__btn) { color: #ff7f00; }
.custom-section-title .title { font-size: 28px; font-weight: bold; text-align: center; border: none; padding: 0; }
.custom-section-title .title::before, .custom-section-title .title::after { display: none !important; }
.custom-sub-title .title { font-size: 22px; font-weight: bold; border: none; padding: 0; }
.custom-sub-title .title::before, .custom-sub-title .title::after { display: none !important; }
.custom-media-row .lib-card__title { font-size: 18px; font-weight: bold; line-height: 1.6; margin-bottom: 1em; border: none; padding: 0; }
.custom-media-row .lib-card__title::before, .custom-media-row .lib-card__title::after { display: none !important; }
.custom-media-row .lib-card__thumb img { width: 100%; height: auto; aspect-ratio: 540 / 380; object-fit: cover; }
.custom-media-row .lib-horizon__col.align-items-center { align-items: flex-start !important; }
.text-red-strong { color: #cf2e2e; }
.text-green-strong { color: #00d084; }

/* ボタン（既存：黒地白文字、hover赤） */
#dcms_layoutPageBlock .lib-link__btn { background-color: #000 !important; color: #fff !important; border-color: #000 !important; border-radius: 0; min-height: 50px; }
#dcms_layoutPageBlock .lib-link__btn:hover { background-color: #ff0000 !important; border-color: #ff0000 !important; }
#dcms_layoutPageBlock .lib-link__btn .txt { color: #fff !important; }

/* テーブル */
.lib-table__01 th, .lib-table__01 td { font-size: 14px; line-height: 1.9; vertical-align: top; }
.lib-table__01 th { width: 22%; }
.custom-table-inner { width: 100%; border-collapse: collapse; }
.custom-table-inner th, .custom-table-inner td { border: none !important; background: transparent !important; padding: 0 0 .6em !important; font-weight: normal; width: auto; }
.custom-table-inner th { padding-right: 1.5em !important; white-space: nowrap; }
@media (max-width: 767px) {
  .lib-table__01 th { width: 30%; }
  .custom-table-inner th, .custom-table-inner td { display: block; padding: 0 !important; white-space: normal; }
  .custom-table-inner td { padding-bottom: .8em !important; }
}

/* 地図 */
.custom-map iframe { width: 100%; height: 450px; border: 0; }

/* ---------- フッター（既存：グレー #686868、中央ロゴ＋横並びナビ、黒帯） ---------- */
.custom-footer.lib-footer__outer { background: #686868 !important; color: #fff; padding-top: 0; }
.custom-footer .lib-footer__inner { padding: 60px 0 50px; text-align: center; border-top: none; }
.custom-footer .lib-footer__logo { margin: 0 auto 40px; text-align: center; }
.custom-footer .lib-footer__logo img { width: 280px; height: auto; max-width: 100%; }
.custom-footer__nav { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
.custom-footer__nav li { font-size: 12px; font-weight: bold; line-height: 1; padding: 0 10px; border-left: 1px solid #fff; margin: 6px 0; }
.custom-footer__nav li:first-child { border-left: none; }
.custom-footer__nav a { color: #fff !important; text-decoration: none; }
.custom-footer__nav a:hover { color: #ff0000 !important; }
.custom-footer .lib-footer__utility { background: #000 !important; padding: 18px 0; }
.custom-footer .lib-footer__utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; }
.custom-footer__add, .custom-footer .lib-footer__copyright { color: #fff !important; font-size: 12px; font-weight: bold; margin: 0; }
.custom-footer .lib-footer__copyright small { font-size: 12px; color: #fff; }
@media (max-width: 767px) {
  .custom-footer .lib-footer__utility .wrap { justify-content: center; text-align: center; }
  .custom-footer__add { display: none; }
  .custom-footer__nav li { padding: 0 8px; }
}
.custom-footer .lib-pagetop__btn a { background-color: #686868; }

/* ---------- TOP ---------- */
/* FV（lib-fv-004 スライダー）＋既存のキャッチコピー */
.lib-fv-004 { position: relative; }
.lib-fv-004 .lib-fv__slide, .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img { height: 780px !important; }
.lib-fv-004 .lib-fv__thumb img { width: 100%; object-fit: cover; }
.lib-fv-004 .lib-swiper__btn { display: none !important; }
.custom-fv-copy { position: absolute; z-index: 5; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.custom-fv-copy__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; color: #fff; }
.custom-fv-copy__catch { font-size: 34px; line-height: 1.6; margin: 0 0 30px; font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, sans-serif; color: #fff; }
.custom-fv-copy__desc { font-size: 20px; line-height: 2; margin: 0 0 30px; color: #fff; }
.custom-fv-copy__btn { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; min-width: 200px; height: 50px; padding: 0 2em; background: #000; color: #fff !important; font-size: 14px; text-decoration: none; }
.custom-fv-copy__btn:hover { background: #009e00; }
@media (max-width: 991px) {
  .lib-fv-004 .lib-fv__slide, .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img { height: 560px !important; }
  .custom-fv-copy__catch { font-size: 26px; }
  .custom-fv-copy__desc { font-size: 16px; }
}
@media (max-width: 575px) {
  .lib-fv-004 .lib-fv__slide, .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img { height: 480px !important; }
  .custom-fv-copy__inner { padding: 0 20px; }
  .custom-fv-copy__catch { font-size: 22px; margin-bottom: 16px; }
  .custom-fv-copy__desc { font-size: 14px; margin-bottom: 20px; }
}

/* お知らせ帯（既存のニュースティッカー位置） */
.custom-top-news { background: #686868; max-width: none !important; width: 100%; }
.custom-top-news__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; min-height: 60px; display: flex; align-items: center; justify-content: flex-end; }
.custom-top-news__link { margin: 0; }
.custom-top-news__link a { color: #fff !important; font-size: 12px; text-decoration: none; }
.custom-top-news__link a::after { content: "\203A"; margin-left: 1em; font-size: 16px; }

/* リード */
.custom-top-lead .title { font-size: 40px; font-weight: normal; line-height: 1.6; text-align: center; border: none; padding: 0; margin-top: 60px; }
.custom-top-lead .title::before, .custom-top-lead .title::after { display: none !important; }
@media (max-width: 767px) { .custom-top-lead .title { font-size: 24px; margin-top: 40px; } }

/* 運搬・移転・廃棄 3カラム */
.custom-top-service .lib-grid__col + .lib-grid__col { border-left: 1px solid #ddd; }
.custom-top-service .lib-card__title { font-size: 20px; font-weight: bold; border: none; padding: 0; }
.custom-top-service .lib-card__title::before, .custom-top-service .lib-card__title::after { display: none !important; }
.custom-top-service .lib-card__txt { font-size: 18px !important; line-height: 2 !important; }
.custom-top-service .lib-card__thumb { overflow: hidden; display: block; }
.custom-top-service .lib-card__thumb img { width: 100%; height: auto; transition: transform .6s; }
.custom-top-service .lib-card__thumb a:hover img { transform: scale(1.2) rotate(2deg); }
@media (max-width: 991px) { .custom-top-service .lib-grid__col + .lib-grid__col { border-left: none; } }

/* 背景画像セクション（こんなこと頼めないかな？／採用情報） */
.custom-showcase { max-width: none !important; padding: 0 !important; }
.custom-showcase .lib-wide__outer { position: relative; background-size: cover; background-position: center; background-attachment: fixed; min-height: 580px; display: flex; align-items: center; padding: 80px 0 !important; }
.custom-showcase .lib-wide__outer::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .4); }
.custom-showcase--right .lib-wide__outer::before { background: rgba(0, 0, 0, .5); }
.custom-showcase .lib-card__item { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; background: transparent !important; }
.custom-showcase--right .lib-card__item { display: flex; justify-content: flex-end; }
.custom-showcase--right .lib-card__txtarea { width: 50%; }
.custom-showcase .lib-card__txtarea { background: transparent !important; padding: 0 !important; }
.custom-showcase .title { color: #fff !important; font-size: 40px; font-weight: normal; border: none; padding: 0; margin-bottom: 20px; }
.custom-showcase .title::before, .custom-showcase .title::after { display: none !important; }
.custom-showcase .lib-card__txt { color: #fff !important; font-size: 20px !important; line-height: 2 !important; }
.custom-showcase .lib-card__btn { margin-top: 30px; }
.custom-showcase .lib-link__btn { width: 200px !important; }
#dcms_layoutPageBlock .custom-showcase--left .lib-link__btn:hover { background-color: #ff0000 !important; border-color: #ff0000 !important; }
#dcms_layoutPageBlock .custom-showcase--right .lib-link__btn:hover { background-color: #009e00 !important; border-color: #009e00 !important; }
@media (max-width: 991px) {
  .custom-showcase .lib-wide__outer { background-attachment: scroll; min-height: 0; padding: 60px 0 !important; }
  .custom-showcase--right .lib-card__txtarea { width: 100%; }
  .custom-showcase .title { font-size: 28px; }
  .custom-showcase .lib-card__txt { font-size: 16px !important; }
}
@media (max-width: 575px) { .custom-showcase .lib-card__item { padding: 0 20px; } }

/* ソリューションケース（既存フッター上部のブログ一覧） */
.custom-top-blog { background: #686868; max-width: none !important; padding: 60px 0 0 !important; }
.custom-top-blog__head { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: baseline; }
.custom-top-blog__head .title { color: #fff !important; font-size: 30px; font-weight: normal; border: none; padding: 0; letter-spacing: .1em; }
.custom-top-blog__head .title::before, .custom-top-blog__head .title::after { display: none !important; }
.custom-top-blog__more { margin: 0; }
.custom-top-blog__more a { color: #fff !important; font-size: 12px; text-decoration: none; }
.custom-top-blog__more a::after { content: "\203A"; margin-left: 1em; font-size: 16px; }
.custom-top-blog__list { background: #686868; max-width: none !important; padding: 30px 40px 60px !important; }
.custom-top-blog__list .lib-media__outer { max-width: 1120px; margin: 0 auto; }
.custom-top-blog__list, .custom-top-blog__list a, .custom-top-blog__list p, .custom-top-blog__list time { color: #fff !important; }
@media (max-width: 575px) {
  .custom-top-blog__head { padding: 0 20px; }
  .custom-top-blog__head .title { font-size: 22px; }
  .custom-top-blog__list { padding: 20px 20px 40px !important; }
}

/* 会社情報・採用情報 */
.custom-image img { max-width: 100%; height: auto; }
.custom-recruit-catch { font-size: 35px !important; line-height: 1.7 !important; }
@media (max-width: 767px) { .custom-recruit-catch { font-size: 20px !important; } }
.custom-recruit-grid .lib-card__item { display: flex; flex-direction: column-reverse; }
.custom-recruit-grid .lib-card__thumb img { width: 100%; height: auto; }
.custom-recruit-grid .lib-card__title { font-size: 20px; font-weight: bold; border: none; padding: 0; }
.custom-recruit-grid .lib-card__title::before, .custom-recruit-grid .lib-card__title::after { display: none !important; }

/* サイトマップ */
.custom-sitemap .lib-sitemap__list { list-style: disc; padding-left: 1.5em; }
.custom-sitemap .lib-sitemap__list ul { list-style: circle; padding-left: 1.5em; }
.custom-sitemap a { color: #ff7f00 !important; }

/* ==================== 修正 v2（BM BS01/typeN の強い指定を上書き） ==================== */
.lib-header__outer.lib-header-BS01.custom-header { top: 0 !important; }
@media (min-width: 1200px) {
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-menu__btn { display: none !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__panel {
    position: absolute !important; top: 0 !important; left: auto !important; right: max(40px, calc((100vw - 1200px) / 2)) !important;
    width: auto !important; height: 100px !important; background: transparent !important;
    visibility: visible !important; opacity: 1 !important; transform: none !important; display: flex !important; overflow: visible !important;
  }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__cover,
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__outer { height: auto !important; width: auto !important; background: transparent !important; padding: 0 !important; overflow: visible !important; display: block !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__btn.js-child__btn { display: flex !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-child__panel { display: none !important; position: absolute !important; top: 100px !important; left: 0 !important; width: 230px !important; height: auto !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__item:hover .lib-child__panel,
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__item:focus-within .lib-child__panel { display: block !important; }
}
.custom-header .lib-menu__btn { background-color: transparent !important; }

/* 全幅にするブロック（ヒーロー・帯・背景画像セクション） */
.lib-hero__outer, .custom-top-news, .custom-showcase, .custom-top-blog, .custom-top-blog__list {
  width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
}
.custom-top-news { padding: 0 !important; }
/* 見出し色（既存は濃いグレー） */
#dcms_layoutPageBlock .title, #dcms_layoutPageBlock .lib-card__title { color: #333; }
/* TOP 3カラム：見出し→説明→画像の順 */
.custom-top-service .lib-card__item { flex-direction: column !important; }
.custom-top-service .lib-card__txtarea { order: 0; }
.custom-top-service .lib-card__thumb { order: 1; margin-top: 20px; }
.custom-top-service .lib-card__txt { text-align: left; }
/* フッター */
.custom-footer__nav li::before, .custom-footer__nav li::after, .custom-footer__nav a::before { display: none !important; content: none !important; }
.custom-footer__nav, .custom-footer__nav li { list-style: none !important; }
.custom-footer .lib-footer__copyright, .custom-footer .lib-footer__copyright small { background: transparent !important; }

/* ==================== 修正 v3 ==================== */
@media (min-width: 1200px) {
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__cover { position: static !important; top: auto !important; margin: 0 !important; padding: 0 !important; height: 100px !important; display: flex !important; align-items: center; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__outer { margin: 0 !important; padding: 0 !important; }
  .custom-header .lib-nav__btn .txt { font-size: 14px !important; font-weight: bold; color: #fff; }
  .custom-header .lib-nav__btn .txt::before, .custom-header .lib-nav__btn .txt::after { display: none !important; content: none !important; }
  .custom-header .lib-nav__btn:hover .txt { color: #ff4242; }
}
.lib-hero__outer .lib-hero__txtarea { justify-content: center !important; }
.lib-hero__outer .lib-hero__inner { width: auto !important; }
main:has(.custom-top-news) { padding-top: 0 !important; padding-bottom: 0 !important; }
.custom-top-blog { margin-top: 0 !important; }
.custom-top-blog__list { margin-top: 0 !important; }
/* 表（既存：罫線のみのシンプルな表） */
.lib-table__01 th { background: #f7f7f7 !important; color: #333 !important; font-weight: bold; text-align: left; }
.lib-table__01 th, .lib-table__01 td { border: 1px solid #ddd !important; padding: 12px 16px !important; }
.lib-table__01 .custom-table-inner th, .lib-table__01 .custom-table-inner td { background: transparent !important; color: #333 !important; border: none !important; padding: 0 1.5em .6em 0 !important; font-weight: normal; }
@media (min-width: 1200px) {
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__panel { padding: 0 !important; }
}
/* お問い合わせ */
.custom-contact-tel { font-size: 47px !important; line-height: 1.4 !important; margin: .2em 0 !important; }
.custom-contact-tel a { color: #ff7f00 !important; text-decoration: none; }
@media (max-width: 575px) { .custom-contact-tel { font-size: 32px !important; } }
.lib-form__outer .lib-link__btn, .lib-form__outer button[type=submit], .lib-form__outer input[type=submit] { background-color: #000 !important; border-color: #000 !important; color: #fff !important; }
/* ヘッダーバー高さを常に固定（スクロール時も） */
@media (min-width: 1200px) {
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-header__bar { height: 100px !important; }
}
.custom-showcase .lib-card__item, .custom-top-news__inner, .custom-top-blog__head, .custom-fv-copy__inner { box-sizing: border-box; }
@media (max-width: 767px) {
  .custom-media-row .lib-horizon__row { --bs-gutter-x: 0; }
}

/* ==================== 修正 v4（2026-10-21 ご指摘対応） ==================== */
/* ロゴ：既存と同じ 360px（PC） */
.custom-header .lib-header__logo img { width: 360px !important; max-width: none !important; height: auto !important; }
.custom-header .lib-header__logo, .custom-header .lib-header__logo a, .custom-header .lib-header__logo .thumb { width: auto !important; max-width: none !important; }
@media (max-width: 1199px) { .custom-header .lib-header__logo img { width: 260px !important; } }
@media (max-width: 575px) { .custom-header .lib-header__logo img { width: 200px !important; } }
.custom-footer .lib-footer__logo img { width: 360px; }

/* 会社情報：PCはリンク、SPはアコーディオン */
.custom-header .custom-nav-pclink { display: none !important; }
@media (min-width: 1200px) {
  .lib-header__outer.lib-header-BS01.typeN.custom-header .custom-nav-pclink { display: flex !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__btn.js-child__btn.custom-nav-spbtn { display: none !important; }
}

/* TOP 背景画像セクションのテキスト幅・位置（既存：幅520px、採用情報は右寄せ） */
.custom-showcase .lib-card__txtarea { width: 520px !important; max-width: 100%; }
.custom-showcase--right .lib-card__item { display: flex; justify-content: flex-end; }
@media (max-width: 991px) { .custom-showcase .lib-card__txtarea { width: 100% !important; } }

/* ページ下部 ソリューションケース（全ページ共通・フッター上部） */
.custom-footer-blog { background: #686868; padding: 60px 0 50px; }
.custom-footer-blog__head { max-width: 1200px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: baseline; }
.custom-footer-blog__title { color: #fff; font-size: 30px; font-weight: normal; letter-spacing: .1em; margin: 0; font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, sans-serif; }
.custom-footer-blog__more { margin: 0; }
.custom-footer-blog__more a { color: #fff !important; font-size: 12px; text-decoration: none; }
.custom-footer-blog__more a::after { content: "\203A"; margin-left: 1em; font-size: 16px; }
.custom-footer-blog__list { max-width: 1200px !important; margin: 30px auto 0 !important; padding: 0 40px !important; box-sizing: border-box; }
.custom-footer-blog__list, .custom-footer-blog__list a, .custom-footer-blog__list p, .custom-footer-blog__list time { color: #fff !important; }
.custom-footer .lib-footer__inner { border-top: 1px solid rgba(255,255,255,.3); max-width: 1120px; margin: 0 auto; }
@media (max-width: 575px) {
  .custom-footer-blog { padding: 40px 0; }
  .custom-footer-blog__head { padding: 0 20px; }
  .custom-footer-blog__title { font-size: 22px; }
  .custom-footer-blog__list { padding: 0 20px !important; }
}
/* ページ下部ブロック版 ソリューションケース（フッター直上に密着・全幅） */
.custom-page-blog { width: 100vw !important; max-width: 100vw !important; margin: 96px 0 0 calc(50% - 50vw) !important; padding: 0 !important; }
main:has(.custom-page-blog) { padding-bottom: 0 !important; }
.custom-footer .custom-footer-blog { display: none; }
body:has(.media-column__outer) .custom-footer .custom-footer-blog { display: block; }
/* 背景画像セクション：既存のコンテンツ幅1130pxに合わせ、左＝左端／採用情報＝右端に配置 */
.custom-showcase .lib-card__item { max-width: 1210px !important; }
.custom-showcase--left .lib-card__txtarea { margin-left: 0 !important; margin-right: auto !important; }
.custom-showcase--right .lib-card__txtarea { margin-left: auto !important; margin-right: 0 !important; }
@media (max-width: 991px) {
  .custom-showcase--left .lib-card__txtarea, .custom-showcase--right .lib-card__txtarea { width: auto !important; margin: 0 20px !important; }
}
.custom-showcase + .custom-page-blog { margin-top: 0 !important; }
/* SP：ソリューションケース見出しと一覧リンクを縦並びにして余白を確保 */
@media (max-width: 575px) {
  .custom-footer-blog__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .custom-footer-blog__title { font-size: 20px; white-space: nowrap; letter-spacing: .05em; }
  .custom-footer-blog__more { align-self: flex-end; }
}
/* ソリューションケース：タグ有無・タイトル/本文の行数に関わらずカード内の位置を統一（2026-11-11） */
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__item { height: auto !important; align-self: stretch; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__txtarea { flex: 1 1 auto; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__tag { margin-top: 8px !important; height: 28px; align-items: center; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__category:not(:has(+ .lib-media__tag)) { margin-bottom: 36px; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__title { line-height: 1.25 !important; min-height: 2.5em; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__txt { line-height: 2.4 !important; min-height: 4.8em; }
:is(.custom-page-blog, .custom-footer-blog, .custom-top-blog__list) .lib-media__time { margin-top: auto !important; padding-top: 8px; }
