@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;
  }
} */

/* ==================================================================
   株式会社金子鉛筆製作所 案件固有スタイル（既存サイト kaneko-pencil.co.jp 再現）
   メイン #9F886E / 文字 #666 / 黄 #fef09b / オレンジ #ffd169
   ================================================================== */
body { font-family: var(--fntBase); color: #666; font-weight: 500; letter-spacing: .02em; }
#dcms_layoutPageBlock { font-size: 15.5px; line-height: 1.8; color: #666; }
#dcms_layoutPageBlock p { margin: 0 0 .6em; }
#dcms_layoutPageBlock a:not(.lib-link__btn) { color: inherit; }
#dcms_layoutPageBlock img { max-width: 100%; height: auto; }

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

/* ---------- ヘッダー（既存 pattern2：ロゴ左／TEL＋お問い合わせ右／ナビ下段） ---------- */
.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; }
.lib-header__outer.lib-header-BS01.custom-header { top: 0 !important; }
.custom-header .lib-header__bar {
  background-color: rgba(255,255,255,.95) !important; box-shadow: 0 3px 5px rgba(0,0,0,.13) !important;
  height: 90px !important; display: flex !important; align-items: center; padding: 0 5% !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; background: transparent !important; box-shadow: none !important; }
.custom-header .lib-header__logo img { width: 210px !important; max-width: none !important; height: auto !important; }
.custom-header__contact { display: none; }
.custom-header .lib-menu__btn { background-color: transparent !important; }
.custom-header .lib-menu__btn .line { background-color: #666 !important; }
.custom-nav__sp-contact { display: none; }

@media (min-width: 1200px) {
  .custom-header .lib-header__bar { height: 140px !important; align-items: flex-start; padding-top: 22px !important; }
  .custom-header__contact { display: flex; align-items: center; gap: 24px; margin-left: auto; }
  .custom-header__contact p { margin: 0; }
  .custom-header__tel a { display: flex; align-items: center; gap: 6px; font-size: 26px; line-height: 1; color: #666 !important; text-decoration: none; white-space: nowrap; }
  .custom-header__tel svg { color: #9F886E; }
  .custom-header__btn a { display: inline-block; background: #9F886E; color: #fff !important; font-size: 14px; padding: 12px 28px; text-decoration: none; transition: background .2s; }
  .custom-header__btn a:hover { background: #b5a593; }
  .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: 88px !important; left: 0 !important; right: 0 !important; width: 100% !important; height: 52px !important;
    background: transparent !important; visibility: visible !important; opacity: 1 !important; transform: none !important;
    display: flex !important; justify-content: center; overflow: visible !important; padding: 0 !important; z-index: 1001;
  }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__cover,
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__outer {
    position: static !important; height: 52px !important; width: auto !important; background: transparent !important;
    padding: 0 !important; margin: 0 !important; overflow: visible !important; display: flex !important; align-items: center;
  }
  .custom-header .lib-nav__list { display: flex !important; 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__item + .lib-nav__item::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: rgba(0,0,0,.2); }
  .custom-header .lib-nav__btn { color: #666 !important; background: transparent !important; border: none !important; padding: 0 22px !important; height: 52px; display: flex !important; 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 .txt { font-size: 14px !important; color: #666; letter-spacing: .1em; }
  .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: #9F886E; }
  .custom-header .custom-nav-spbtn { display: none !important; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-child__panel {
    display: none !important; position: absolute !important; top: 52px !important; left: 0 !important; width: 220px !important; height: auto !important;
    background: transparent !important; visibility: visible !important; opacity: 1 !important; transform: none !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-child__outer { padding: 0 !important; background: transparent !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 { width: 100% !important; max-width: none !important; border: none !important; margin: 0 !important; background: rgba(148,132,114,.9); }
  .custom-header .lib-child__item a { display: block; color: #fff !important; font-size: 13px; padding: 14px 18px; background: transparent !important; border-bottom: 1px solid rgba(255,255,255,.2); }
  .custom-header .lib-child__item a .txt { color: #fff !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: rgba(255,255,255,.15) !important; }
  .custom-header .custom-child--3rd a { padding-left: 34px; font-size: 12px; }
}
@media (max-width: 1199px) {
  .custom-header .lib-header__bar { height: 70px !important; }
  .custom-header .lib-header__logo img { width: 180px !important; }
  .custom-header .custom-nav-pclink { display: none !important; }
  .custom-header .custom-child--3rd a .txt::before { content: "└ "; }
  .custom-nav__sp-contact { display: block; text-align: center; padding: 20px 0; }
  .custom-nav__sp-contact a { color: #9F886E !important; font-size: 20px; }
}
@media (max-width: 575px) {
  .custom-header .lib-header__bar { height: 60px !important; padding: 0 16px !important; }
  .custom-header .lib-header__logo img { width: 160px !important; }
}

/* ---------- 下層ページ ヒーロー（既存 parallax 画像＋白文字キャプション） ---------- */
.lib-hero__outer.custom-hero, .lib-hero__outer {
  min-height: 360px; display: flex; align-items: center; justify-content: center; position: relative;
  width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important;
}
.lib-hero__outer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.lib-hero__outer .lib-hero__txtarea { position: relative; width: 100%; text-align: center; background: transparent !important; justify-content: center !important; }
.lib-hero__outer .lib-hero__inner { background: transparent !important; padding: 0 !important; justify-content: center; width: auto !important; }
.lib-hero__outer .lib-hero__title { color: #fff !important; font-size: 34px; font-weight: 500; letter-spacing: .2em; margin: 0 auto; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.lib-hero__outer .lib-hero__title::before, .lib-hero__outer .lib-hero__title::after { display: none !important; }
@media (max-width: 767px) {
  .lib-hero__outer.custom-hero, .lib-hero__outer { min-height: 200px; }
  .lib-hero__outer .lib-hero__title { font-size: 24px; }
}
/* パンくず：ヒーロー画像の下（JSで移動） */
.lib-breadcrumb__outer { background: #fff; }
.lib-breadcrumb__outer a, .lib-breadcrumb__outer li { font-size: 12px; color: #666; }

/* ---------- セクション（全幅背景） ---------- */
main:has(.custom-sec) { padding-top: 0 !important; padding-bottom: 0 !important; }
.custom-sec, .custom-top-half, .custom-hr {
  width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
}
.custom-sec { padding: 60px 0 !important; }
.custom-sec--lg { padding: 100px 0 !important; }
.custom-sec--headonly { padding: 60px 0 20px !important; }
.custom-sec__inner { width: 90%; max-width: 1100px; margin: 0 auto; }
.custom-hr hr { margin: 10px auto; width: 90%; max-width: 1100px; border-color: rgba(0,0,0,.13); }
@media (max-width: 767px) {
  .custom-sec { padding: 40px 0 !important; }
  .custom-sec--lg { padding: 50px 0 !important; }
}

/* ---------- 見出し ---------- */
#dcms_layoutPageBlock .custom-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
#dcms_layoutPageBlock .custom-head.--left { align-items: flex-start; }
#dcms_layoutPageBlock .custom-head__main { position: relative; font-size: 34px; font-weight: 500; line-height: 1.4; letter-spacing: .2rem; color: #666; margin: 0 0 10px; padding: 0 0 10px; border: none; background: none; }
#dcms_layoutPageBlock .custom-head__main::before { content: ""; display: block; position: absolute; bottom: 0; left: calc(50% - 20px); width: 40px; height: 3px; background: #9F886E; }
#dcms_layoutPageBlock .custom-head__main::after { display: none !important; }
#dcms_layoutPageBlock .custom-head.--left .custom-head__main::before { left: 0; }
#dcms_layoutPageBlock .custom-head__sub, #dcms_layoutPageBlock .custom-head__jp { font-size: 17px; font-weight: 500; letter-spacing: .2rem; margin: 0; color: #666; border: none; padding: 0; background: none; }
#dcms_layoutPageBlock .custom-head__jp::before, #dcms_layoutPageBlock .custom-head__jp::after { display: none !important; }
#dcms_layoutPageBlock .custom-head.--en { flex-direction: column; }
body.is-home #dcms_layoutPageBlock .custom-head__main { font-size: 36px; }
@media (max-width: 800px) {
  #dcms_layoutPageBlock .custom-head { margin-bottom: 20px; }
  #dcms_layoutPageBlock .custom-head__main, body.is-home #dcms_layoutPageBlock .custom-head__main { font-size: 25px; }
  #dcms_layoutPageBlock .custom-head__sub, #dcms_layoutPageBlock .custom-head__jp { font-size: 15px; }
}
/* ブラウン帯見出し（既存 block_header_3） */
#dcms_layoutPageBlock .custom-headbar { position: relative; background: #9F886E; padding: 10px 10px 10px 30px; margin-bottom: 30px; }
#dcms_layoutPageBlock .custom-headbar::before { content: ""; position: absolute; top: 4px; left: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border: 1px dashed rgba(255,255,255,.6); pointer-events: none; }
#dcms_layoutPageBlock .custom-headbar__ttl { font-size: 19px; font-weight: normal; line-height: 1.5; color: #fff; margin: 0; padding: 0; border: none; background: none; }
#dcms_layoutPageBlock .custom-headbar__ttl::before, #dcms_layoutPageBlock .custom-headbar__ttl::after { display: none !important; }
/* 四角マーク見出し（既存 block_header_2） */
#dcms_layoutPageBlock .custom-headdot { margin-bottom: 20px; }
#dcms_layoutPageBlock .custom-headdot__ttl { position: relative; display: inline-block; font-size: 22px; font-weight: normal; line-height: 1.5; color: #666; margin: 0; padding: 0 10px 5px 21px; border: none; background: none; }
#dcms_layoutPageBlock .custom-headdot__ttl::before { content: ""; position: absolute; left: 3px; top: .6em; width: .3em; height: .3em; background: #9F886E; display: block; }
#dcms_layoutPageBlock .custom-headdot__ttl::after { display: none !important; }
.custom-note { margin-bottom: 30px !important; }
.custom-lead { text-align: center; font-size: 20px; }
@media (max-width: 767px) { .custom-lead { font-size: 16px; text-align: left; } }

/* ---------- 画像カード一覧（既存 composite_box01） ---------- */
.custom-cards { display: grid; gap: 40px 4%; margin: 0 0 40px; }
.custom-cards:last-child { margin-bottom: 0; }
.custom-cards.--col2 { grid-template-columns: repeat(2, 1fr); }
.custom-cards.--col3 { grid-template-columns: repeat(3, 1fr); }
.custom-cards.--center-items { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(0, 30.6%)); }
.custom-cards.--center { text-align: center; }
.custom-card__thumb { display: block; overflow: hidden; }
.custom-card__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.custom-card a:hover .custom-card__thumb img { transform: scale(1.05); }
.custom-card__txt { padding-top: 15px; }
#dcms_layoutPageBlock .custom-card__ttl { font-size: 17px; font-weight: bold; line-height: 1.5; color: #666; margin: 0 0 8px; padding: 0; border: none; background: none; }
#dcms_layoutPageBlock .custom-card__ttl::before, #dcms_layoutPageBlock .custom-card__ttl::after { display: none !important; }
.custom-card__sub { font-size: 14px; margin-bottom: 8px !important; }
.custom-cards.--center .custom-card__body { text-align: left; }
.custom-cards.--order .custom-card__body { text-align: left; }
.custom-cards.--linkcard .custom-card { position: relative; }
.custom-cards.--linkcard .custom-card__txt { text-align: center; }
@media (max-width: 767px) {
  .custom-cards.--col2, .custom-cards.--col3, .custom-cards.--center-items { grid-template-columns: 1fr; gap: 30px; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .custom-cards.--col3 { grid-template-columns: repeat(2, 1fr); gap: 30px 4%; }
}

/* ---------- 画像＋テキスト（既存 contents_box01 block_image_text） ---------- */
.custom-imgtxt { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 30px; }
.custom-imgtxt__img { flex: 0 0 var(--imgw, 50%); max-width: var(--imgw, 50%); }
.custom-imgtxt__img img { display: block; width: 100%; height: auto; }
.custom-imgtxt__txt { flex: 1 1 auto; min-width: 0; }
@media (max-width: 767px) {
  .custom-imgtxt { flex-direction: column; gap: 20px; }
  .custom-imgtxt__img { flex: 0 0 auto; max-width: 100%; width: 100%; }
}

/* ---------- ボタン（既存 contents_btn01：ブラウン地・白文字） ---------- */
.custom-btn { text-align: center; margin: 40px 0 0; }
#dcms_layoutPageBlock .custom-btn .lib-link__btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 280px; min-height: 56px; padding: 12px 40px;
  background-color: #9F886E !important; border: 1px solid #9F886E !important; color: #fff !important; border-radius: 0; text-decoration: none; transition: opacity .2s;
}
#dcms_layoutPageBlock .custom-btn .lib-link__btn .txt { color: #fff !important; font-size: 15px; letter-spacing: .1em; }
#dcms_layoutPageBlock .custom-btn .lib-link__btn:hover { opacity: .8; }
@media (max-width: 575px) { #dcms_layoutPageBlock .custom-btn .lib-link__btn { min-width: 0; width: 100%; } }

/* ---------- 店舗情報＋地図（既存 widget_shop01） ---------- */
.custom-shop__row { display: flex; gap: 50px; align-items: center; margin-bottom: 40px; }
.custom-shop__img { flex: 0 0 45%; }
.custom-shop__img img { display: block; width: 100%; height: auto; }
.custom-shop__txt { flex: 1 1 auto; }
#dcms_layoutPageBlock .custom-shop__ttl { font-size: 20px; font-weight: bold; color: #666; margin: 0 0 20px; padding: 0 0 10px; border: none; border-bottom: 1px solid rgba(0,0,0,.13); background: none; }
#dcms_layoutPageBlock .custom-shop__ttl::before, #dcms_layoutPageBlock .custom-shop__ttl::after { display: none !important; }
.custom-shop dl { display: flex; margin: 0; padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,.13); }
.custom-shop dt { flex: 0 0 7em; font-weight: bold; }
.custom-shop dd { margin: 0; }
.custom-shop__map iframe { display: block; width: 100%; height: 400px; border: 0; }
.custom-shopSec { padding-bottom: 0 !important; }
.custom-shopSec .custom-sec__inner { width: 100%; max-width: none; }
.custom-shopSec .custom-shop__row { width: 90%; max-width: 1100px; margin: 0 auto 60px; }
@media (max-width: 767px) {
  .custom-shop__row { flex-direction: column; gap: 20px; }
  .custom-shop__img { flex: 0 0 auto; width: 100%; }
  .custom-shop dt { flex-basis: 6em; }
  .custom-shop__map iframe { height: 300px; }
}

/* ---------- TOP ---------- */
main:has(.custom-top-newsSec) { padding-top: 0 !important; }
.custom-top-news { max-width: 900px; margin: 0 auto; }
.custom-top-news a { color: #666 !important; }
.custom-top-half { display: flex !important; padding: 0 !important; }
.custom-top-half__item { flex: 0 0 50%; max-width: 50%; display: flex; align-items: center; padding: 0; }
.custom-top-half__item .custom-imgtxt { margin: 0; gap: 20px; align-items: center; width: 100%; }
.custom-top-half__item .custom-imgtxt__txt { padding-right: 30px; }
#dcms_layoutPageBlock .custom-top-half__ttl { font-size: 28px; font-weight: bold; margin-bottom: 10px; }
#dcms_layoutPageBlock .custom-top-half__ttl a { color: inherit !important; text-decoration: none; }
#dcms_layoutPageBlock .custom-top-half__txt { font-size: 18px; }
@media (max-width: 1199px) {
  #dcms_layoutPageBlock .custom-top-half__ttl { font-size: 22px; }
  #dcms_layoutPageBlock .custom-top-half__txt { font-size: 15px; }
}
@media (max-width: 767px) {
  .custom-top-half { flex-direction: column; }
  .custom-top-half__item { flex: 0 0 auto; max-width: 100%; }
  .custom-top-half__item .custom-imgtxt__txt { padding: 0 20px 30px; }
}
/* FV（lib-fv-004 スライダー） */
.lib-fv-004 .lib-swiper__btn, .lib-fv-004 .lib-fv__control { display: none !important; }

/* ---------- 料金表 ---------- */
.custom-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.custom-price-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.custom-price-table th, .custom-price-table td { border: 1px solid rgba(0,0,0,.13); padding: 12px 14px; font-size: 14px; line-height: 1.6; vertical-align: middle; }
.custom-price-table th { background: #edeae1; font-weight: bold; width: 26%; text-align: left; }
.custom-price-table tr:first-child td { background: #edeae1; text-align: center; }

/* ---------- ご注文ステップ ---------- */
.custom-steps { max-width: 1100px; }
.custom-step { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.13); }
.custom-step__no { flex: 0 0 auto; font-size: 30px; color: #9F886E; margin: 0 !important; line-height: 1; min-width: 1.8em; }
#dcms_layoutPageBlock .custom-step__txt { font-size: 18px; font-weight: normal; color: #666; margin: 0; padding: 0; border: none; background: none; }
#dcms_layoutPageBlock .custom-step__txt::before, #dcms_layoutPageBlock .custom-step__txt::after { display: none !important; }
.custom-fax { text-align: center; margin-top: 50px; }
.custom-fax__no { font-size: 36px; margin-bottom: 10px !important; }
@media (max-width: 575px) {
  #dcms_layoutPageBlock .custom-step__txt { font-size: 16px; }
  .custom-fax__no { font-size: 26px; }
}

/* ---------- よくあるご質問 ---------- */
.custom-faq { max-width: 1100px; margin: 0 auto; }
.custom-faq__item dl { margin: 0 0 20px; background: #fff; border: 1px solid rgba(0,0,0,.13); }
.custom-faq__item dt, .custom-faq__item dd { display: flex; gap: 15px; padding: 18px 20px; margin: 0; }
.custom-faq__item dt { background: #edeae1; font-weight: bold; }
.custom-faq__mark { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #9F886E; color: #fff; font-size: 16px; line-height: 1; }
.custom-faq__item dd .custom-faq__mark { background: #fff; color: #9F886E; border: 1px solid #9F886E; }
.custom-font-sample { display: inline-block; vertical-align: middle; width: auto; height: 21px; }

/* ---------- プライバシーポリシー ---------- */
#dcms_layoutPageBlock .custom-privacy__h { font-size: 18px; font-weight: bold; color: #666; margin: 2em 0 .8em; padding: 0 0 8px; border: none; border-bottom: 1px solid rgba(0,0,0,.13); background: none; }
#dcms_layoutPageBlock .custom-privacy__h::before, #dcms_layoutPageBlock .custom-privacy__h::after { display: none !important; }
.custom-privacy ol { padding-left: 1.6em; }
.custom-privacy ol ol { margin-top: .4em; }
.custom-privacy li { margin-bottom: .4em; }

/* ---------- サイトマップ ---------- */
.custom-sitemap > ul { max-width: 800px; margin: 0 auto; padding: 0; list-style: none; }
.custom-sitemap li { list-style: none; }
.custom-sitemap > ul > li { border-bottom: 1px solid rgba(0,0,0,.13); padding: 14px 0; }
.custom-sitemap ul ul { padding-left: 1.5em; margin-top: 8px; }
.custom-sitemap ul ul li { padding: 4px 0; }
.custom-sitemap ul ul li::before { content: "- "; color: #9F886E; }
.custom-sitemap a { color: #666 !important; text-decoration: none; }
.custom-sitemap a:hover { color: #9F886E !important; }

/* ---------- フッター（既存：ブラウン地＋色鉛筆パターン、中央揃え） ---------- */
.custom-footer.lib-footer__outer { background: url(/dcms_media/image/20210518092752.png) top center #9F886E !important; color: #fff; padding-top: 0; text-align: center; }
.custom-footer .lib-footer__inner { padding: 50px 0 30px; text-align: center; border-top: none; }
.custom-footer__nav { list-style: none !important; display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 30px; padding: 0; }
.custom-footer__nav li { list-style: none !important; font-size: 13.5px; letter-spacing: .2rem; padding: 5px 14px; }
.custom-footer__nav li::before, .custom-footer__nav li::after, .custom-footer__nav a::before { display: none !important; content: none !important; }
.custom-footer__nav a, .custom-footer__nav a .txt { color: #fff !important; text-decoration: none; }
.custom-footer__nav a:hover { opacity: .7; }
.custom-footer .lib-footer__logo { margin: 0 auto; text-align: center; }
.custom-footer .lib-footer__logo img { width: 160px; height: auto; }
.custom-footer .lib-footer__utility { background: transparent !important; padding: 15px 0; }
.custom-footer .lib-footer__copyright, .custom-footer .lib-footer__copyright small { color: rgba(255,255,255,.5) !important; font-size: 11px; letter-spacing: .1rem; background: transparent !important; margin: 0; }
.custom-footer .lib-pagetop__btn a { background-color: #9F886E; }
.custom-fixbtn { display: none; }
@media (max-width: 850px) {
  .custom-footer__nav { flex-direction: column; }
  .custom-fixbtn { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(255,255,255,.95); box-shadow: 0 -2px 5px rgba(0,0,0,.13); }
  .custom-fixbtn p { flex: 1 1 50%; margin: 0; }
  .custom-fixbtn a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-size: 15px; text-decoration: none; }
  .custom-fixbtn__tel a { color: #666 !important; }
  .custom-fixbtn__btn a { background: #9F886E; color: #fff !important; }
  .custom-footer.lib-footer__outer { padding-bottom: 52px; }
  .custom-footer .lib-pagetop__btn { bottom: 64px !important; }
}

/* ==================== 調整 v1（2026-10-26 初回確認） ==================== */
/* FV：既存（ヘッダー下に calc(100vh - 125px)、最小400px）に合わせる */
.lib-fv-004 { margin-top: 140px !important; }
.lib-fv-004, .lib-fv-004 .lib-fv-004__outer, .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide, .lib-fv-004 .swiper-slide,
.lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img {
  height: calc(100vh - 140px) !important; min-height: 400px; max-height: 1400px;
}
.lib-fv-004 .lib-fv__thumb img { width: 100% !important; object-fit: cover; }
@media (max-width: 1199px) {
  .lib-fv-004 { margin-top: 70px !important; }
  .lib-fv-004, .lib-fv-004 .lib-fv-004__outer, .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide, .lib-fv-004 .swiper-slide,
  .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img { height: 66vw !important; min-height: 220px; max-height: 70vh; }
}
@media (max-width: 575px) { .lib-fv-004 { margin-top: 60px !important; } }
/* TOP 新着情報：既存と同じ「日付＋タイトル」の一覧表示（BM記事一覧タグの出力を整形） */
.custom-top-news .swiper-wrapper { display: block !important; transform: none !important; height: auto !important; }
.custom-top-news .lib-media__item { display: flex !important; flex-direction: row !important; align-items: baseline; gap: 2em; width: 100% !important; margin: 0 !important; padding: 18px 10px; border-bottom: 1px dashed rgba(0,0,0,.13); box-shadow: none !important; background: transparent !important; }
.custom-top-news .lib-media__txtarea { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 2em; padding: 0 !important; width: 100%; }
.custom-top-news .lib-media__thumb, .custom-top-news .lib-media__category, .custom-top-news .lib-media__txt,
.custom-top-news .lib-swiper__control, .custom-top-news .lib-media__time p + p, .custom-top-news .lib-media__time span { display: none !important; }
.custom-top-news .lib-media__time, .custom-top-news .lib-media__time p { margin: 0 !important; padding: 0; white-space: nowrap; font-size: 14px; }
#dcms_layoutPageBlock .custom-top-news .lib-media__title { font-size: 15.5px !important; font-weight: normal; margin: 0 !important; }
.custom-top-news .lib-media__title a { color: #666 !important; text-decoration: none; }
.custom-top-news .lib-media__title a:hover { color: #9F886E !important; }
@media (max-width: 575px) {
  .custom-top-news .lib-media__txtarea { flex-direction: column-reverse; gap: .3em; }
}
/* 固定ヘッダーの高さ分、本文を下げる（下層ヒーロー・メディアが隠れないように） */
body { padding-top: 140px; }
.lib-fv-004 { margin-top: 0 !important; }
@media (max-width: 1199px) { body { padding-top: 70px; } }
@media (max-width: 575px) { body { padding-top: 60px; } }
/* 新着情報（メディア）：既存に無いSNSボタン・サイド項目を非表示 */
.media-post__sns { display: none !important; }
/* フッター背景：色鉛筆画像を全面に */
.custom-footer.lib-footer__outer { background-size: cover !important; background-position: center !important; }
/* SP/タブレットは BM が #wrapper に上余白を持つため body 側は付けない（二重余白の解消） */
@media (max-width: 1199px) {
  body { padding-top: 0 !important; }
  #wrapper { padding-top: 70px !important; }
}
@media (max-width: 575px) { #wrapper { padding-top: 60px !important; } }
@media (min-width: 1200px) { #wrapper { padding-top: 0 !important; } }

/* ==================== 修正 v2（2026-10-26 ご指摘：ヘッダーの電話番号・お問い合わせを既存に合わせる） ==================== */
/* 既存実測（1300px幅）：ヘッダー高125px／TEL 26px・太さ400・受話器アイコン22px #555／ボタン170×35px・TELとの間10px・右端5%
   ナビ：上80px・高45px・右寄せ・15px/字間2px・項目間1px×18pxの区切り線 */
@media (min-width: 1200px) {
  .custom-header .lib-header__nav { display: none !important; }
  .custom-header .lib-header__bar { height: 125px !important; padding: 30px 5% 0 !important; }
  .custom-header .lib-header__logo { margin-top: 13px; }
  .custom-header__contact { gap: 10px; margin-left: auto; align-items: center; }
  .custom-header__tel a { position: relative; gap: 0; padding-left: 26px; font-size: 26px; font-weight: 400 !important; line-height: 1; letter-spacing: .02em; color: #666 !important; }
  .custom-header__tel .custom-header__telicon { position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: #555; color: #555; }
  .custom-header__btn a { display: flex; align-items: center; justify-content: center; width: 170px; height: 35px; padding: 5px 10px; font-size: 14px; font-weight: 500; line-height: 1.8; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-nav__panel {
    top: 80px !important; height: 45px !important; left: auto !important; right: calc(5% + 15px) !important; width: auto !important; justify-content: flex-end;
  }
  .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: 45px !important; }
  .custom-header .lib-nav__item + .lib-nav__item::before { display: none; }
  .custom-header .lib-nav__item::after { content: ""; position: absolute; left: 0; top: 13.5px; width: 1px; height: 18px; background: rgba(0,0,0,.13); }
  .custom-header .lib-nav__item:last-child::before { content: ""; position: absolute; right: 0; top: 13.5px; width: 1px; height: 18px; background: rgba(0,0,0,.13); display: block; }
  .custom-header .lib-nav__btn { height: 45px; padding: 0 18px !important; }
  .custom-header .lib-nav__btn .txt { font-size: 15px !important; letter-spacing: 2px; font-weight: 500; }
  .lib-header__outer.lib-header-BS01.typeN.custom-header .lib-child__panel { top: 45px !important; }
  body { padding-top: 125px; }
  .lib-fv-004, .lib-fv-004 .lib-fv-004__outer, .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide, .lib-fv-004 .swiper-slide,
  .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img { height: calc(100vh - 125px) !important; }
}
@media (min-width: 1200px) {
  /* 受話器アイコン：BM側の svg 非表示指定を打ち消す */
  .custom-header__tel svg.custom-header__telicon { display: block !important; }
  /* ロゴ：既存と同じ左5%・上43px */
  .custom-header .lib-header__logo { position: absolute !important; left: 5%; top: 43px; margin: 0 !important; }
  /* ナビ区切り線：疑似要素ではなく背景で描画（BMの疑似要素と競合しないように） */
  .custom-header .lib-nav__item::after, .custom-header .lib-nav__item:last-child::before { display: none !important; content: none !important; }
  .custom-header .lib-nav__item { background: linear-gradient(rgba(0,0,0,.13), rgba(0,0,0,.13)) left center / 1px 18px no-repeat !important; }
  .custom-header .lib-nav__item:last-child { background: linear-gradient(rgba(0,0,0,.13), rgba(0,0,0,.13)) left center / 1px 18px no-repeat, linear-gradient(rgba(0,0,0,.13), rgba(0,0,0,.13)) right center / 1px 18px no-repeat !important; }
}
@media (min-width: 1200px) {
  .lib-header__outer.custom-header .lib-header__logo a { display: block !important; padding: 0 !important; height: auto !important; min-height: 0 !important; }
}

/* ==========================================================
   2026-11-02 既存サイト比較による調整
   ========================================================== */
/* コンテンツ幅：既存と同じ 1149px */
.custom-sec__inner { max-width: 1149px; }

/* ヘッダー右上の小さなページ名（既存 header h1 相当。JSで挿入） */
.custom-header__h { display: none; }
@media (min-width: 1200px) {
  .custom-header__h { display: block; position: absolute; top: 5px; right: 5%; z-index: 2; margin: 0; font-size: 12px; font-weight: 400; line-height: 18px; letter-spacing: .1em; color: #666; opacity: .7; white-space: nowrap; }
}

/* 下層ヒーロー：高さ300px・黒50%・文字45px */
.lib-hero__outer.custom-hero, .lib-hero__outer { min-height: 300px; height: 300px; }
.lib-hero__outer::before { background: rgba(0,0,0,.5); }
.lib-hero__outer .lib-hero__title { font-size: 45px; font-weight: 500; letter-spacing: -1px; line-height: 1.2; text-shadow: none; }
@media (max-width: 767px) {
  .lib-hero__outer.custom-hero, .lib-hero__outer { min-height: 200px; height: 200px; }
  .lib-hero__outer .lib-hero__title { font-size: 28px; }
}

/* パンくず：グレー帯・右寄せ */
.lib-breadcrumb__outer { background: #f6f6f6 !important; border-bottom: 1px solid rgba(0,0,0,.13); }
.lib-breadcrumb__outer .lib-breadcrumb__inside { width: 90%; max-width: 1149px; margin: 0 auto; padding: 0; }
.lib-breadcrumb__outer .lib-breadcrumb__list { display: flex; flex-wrap: wrap; justify-content: flex-end; padding: 5px 0 3px; margin: 0; }

/* カード見出し：既存はブラウン20px・細字 */
#dcms_layoutPageBlock .custom-card__ttl { font-size: 20px; font-weight: 400; color: #9F886E; }
.custom-cards.--center .custom-card__ttl { text-align: center; }
/* 商品カード：見出し（と本文）を画像の上に */
.custom-card__head { margin-bottom: 10px; }
#dcms_layoutPageBlock .custom-card__head .custom-card__ttl { margin: 0 0 10px; }
.custom-card__head .custom-card__body p { margin: 0 0 10px; }
.custom-cards.--product .custom-card__txt { padding-top: 10px; }
.custom-cards.--col2 { column-gap: 46px; }
.custom-cards.--col3 { column-gap: 40px; }

/* 丸画像（TOP特長・注文書カード）：列幅の50%の円 */
.custom-cards.--circle .custom-card__thumb, .custom-cards.--order .custom-card__thumb { width: 50%; margin: 0 auto; border-radius: 50%; }
.custom-cards.--circle .custom-card__thumb img, .custom-cards.--order .custom-card__thumb img { aspect-ratio: 1 / 1; border-radius: 50%; }
#dcms_layoutPageBlock .custom-cards.--circle .custom-card__ttl { font-size: 15.5px; text-align: center; }
#dcms_layoutPageBlock .custom-cards.--order .custom-card__ttl { font-weight: bold; text-align: center; margin-bottom: 5px; }
.custom-cards.--order .custom-card__sub { text-align: center; font-size: 14px; }

/* 画像バナー（会社案内・FAQ下部）：画像の上に白文字 */
.custom-cards.--banner .custom-card { position: relative; }
.custom-cards.--banner .custom-card__thumb img { aspect-ratio: auto; height: 120px; }
.custom-cards.--banner.--banner-left .custom-card__thumb img { height: 140px; }
.custom-cards.--banner .custom-card__txt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 10px; pointer-events: none; }
.custom-cards.--banner.--banner-left .custom-card__txt { justify-content: flex-start; }
#dcms_layoutPageBlock .custom-cards.--banner .custom-card__ttl { color: #fff; font-size: 20px; font-weight: bold; margin: 0; text-shadow: 0 0 6px rgba(0,0,0,.25); }

/* 画像＋テキスト：左右反転・丸画像（イベント価格一覧） */
.custom-imgtxt.--reverse { flex-direction: row-reverse; }
.custom-imgtxt.--circle .custom-imgtxt__img img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
#dcms_layoutPageBlock .custom-headdot__ttl { color: #9F886E; font-size: 21px; }
@media (max-width: 767px) {
  .custom-imgtxt.--reverse { flex-direction: column; }
  .custom-imgtxt.--circle .custom-imgtxt__img { width: 70%; max-width: 345px; margin: 0 auto; }
}

/* TOP 注文書一覧／よくある質問：全幅2段 */
.custom-top-half { flex-direction: column; }
.custom-top-half__item { flex: 0 0 auto; max-width: 100%; width: 100%; }
.custom-top-half__item .custom-imgtxt { gap: 0; align-items: center; }
.custom-top-half__item .custom-imgtxt__img img { height: 428px; object-fit: cover; }
.custom-top-half__item .custom-imgtxt.--reverse .custom-imgtxt__img img { height: 392px; }
.custom-top-half__item .custom-imgtxt__txt { padding: 20px 26px; }
#dcms_layoutPageBlock .custom-top-half__ttl { font-size: 22px; }
#dcms_layoutPageBlock .custom-top-half__txt { font-size: 15.5px; }
@media (max-width: 767px) {
  .custom-top-half__item .custom-imgtxt.--reverse { flex-direction: column; }
  .custom-top-half__item .custom-imgtxt__img img, .custom-top-half__item .custom-imgtxt.--reverse .custom-imgtxt__img img { height: auto; aspect-ratio: 3 / 2; }
}

/* ご注文ステップ：ブラウンの丸番号＋太字 */
.custom-steps { max-width: none; }
.custom-step { align-items: center; gap: 20px; padding: 0; margin-bottom: 39px; border-bottom: none; }
.custom-step:last-child { margin-bottom: 0; }
.custom-step__no { display: flex; align-items: center; justify-content: center; flex: 0 0 65px; width: 65px; height: 65px; min-width: 0; border-radius: 50%; background: #9F886E; color: #fff !important; font-size: 13px; line-height: 1; }
#dcms_layoutPageBlock .custom-step__txt { font-size: 20px; font-weight: bold; }
@media (max-width: 767px) {
  .custom-step__no { flex-basis: 50px; width: 50px; height: 50px; font-size: 12px; }
  #dcms_layoutPageBlock .custom-step__txt { font-size: 16px; }
}

/* FAQ：背景なし・下線区切り・Q/Aは40pxの四角 */
.custom-faq { max-width: none; }
.custom-faq__item dl { margin: 0; padding: 15px 0; background: none; border: none; border-bottom: 1px solid rgba(0,0,0,.13); }
.custom-faq__item dt, .custom-faq__item dd { align-items: flex-start; gap: 10px; padding: 0 15px 0 0; background: none; }
.custom-faq__item dt { align-items: center; font-weight: 500; margin: 0 0 10px; }
.custom-faq__item dd { margin: 10px 0 15px; padding-left: 23px; }
.custom-faq__item dd > div { padding-top: 8px; }
.custom-faq__mark, .custom-faq__item dd .custom-faq__mark { width: 40px; height: 40px; font-size: 18px; color: #fff; background: #9F886E; border: none; box-shadow: inset 0 0 0 2px #9F886E, inset 0 0 0 3px rgba(255,255,255,.5); }
.custom-faq__item dd .custom-faq__mark { background: #b5a593; box-shadow: inset 0 0 0 2px #b5a593, inset 0 0 0 3px rgba(255,255,255,.5); }

/* サイトマップ：中央749px・行区切り・ブラウン丸 */
.custom-sitemap > ul { max-width: 749px; margin: 0 auto; padding: 0; border-top: 1px solid rgba(0,0,0,.13); }
.custom-sitemap ul { list-style: none; margin: 0; padding: 0; }
.custom-sitemap > ul > li { border-bottom: none; padding: 0; }
.custom-sitemap ul ul li { padding: 0; }
.custom-sitemap ul ul li::before { content: none; }
.custom-sitemap a { display: block; position: relative; padding: 15px 15px 15px 20px; border-bottom: 1px solid rgba(0,0,0,.13); line-height: 1.8; }
.custom-sitemap > ul > li > a::before { content: ""; position: absolute; left: 0; top: calc(50% - 6.5px); width: 13px; height: 13px; border-radius: 50%; background: #9F886E; }
.custom-sitemap > ul > li > a::after { content: ""; position: absolute; left: 3px; top: calc(50% - 2px); width: 4px; height: 4px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }
.custom-sitemap ul ul a { padding-left: 40px; }
.custom-sitemap ul ul ul a { padding-left: 60px; }
.custom-sitemap ul ul a::before { content: ""; position: absolute; left: 24px; top: calc(50% - 3px); width: 6px; height: 6px; border-top: 1px solid #999; border-right: 1px solid #999; transform: rotate(45deg); }
.custom-sitemap ul ul ul a::before { left: 44px; }

/* プライバシーポリシー：条見出しは太字23px・下線なし */
#dcms_layoutPageBlock .custom-privacy__h { font-size: 23px; font-weight: bold; margin: 1.2em 0 .3em; padding: 0; border-bottom: none; }

/* フッター：PCは電話番号バー（白85%）を上部に */
.custom-footbar { display: none; }
@media (min-width: 851px) {
  .custom-footbar { display: block; background: rgba(255,255,255,.85); }
  .custom-footbar__inner { display: flex; align-items: center; width: 90%; max-width: 1200px; height: 72px; margin: 0 auto; }
  .custom-footbar p { margin: 0; }
  .custom-footbar__tel { flex: 1 1 auto; text-align: left; padding: 0 15px; }
  .custom-footbar__tel a { display: inline-flex; align-items: center; gap: 5px; font-family: Oswald, sans-serif; font-size: 34px; font-weight: 400; line-height: 1; color: #666 !important; text-decoration: none; }
  .custom-footbar__tel svg { display: block !important; width: 22px; height: 22px; fill: #555; }
  .custom-footbar__btn { display: flex; align-items: center; height: 56px; padding-left: 16px; border-left: 1px solid rgba(0,0,0,.13); }
  .custom-footbar__btn a { position: relative; display: block; width: 200px; height: 37px; line-height: 37px; text-align: center; font-size: 15.5px; background: #9F886E; color: #fff !important; text-decoration: none; }
  .custom-footbar__btn a::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.5); }
  .custom-footbar__btn a:hover { opacity: .8; }
  .custom-footbar__top a { position: relative; display: block; width: 40px; height: 40px; margin-left: 30px; }
  .custom-footbar__top a::before { content: ""; position: absolute; left: 6px; top: 16px; width: 28px; height: 28px; border-top: 1px solid #9F886E; border-left: 1px solid #9F886E; transform: rotate(45deg); }
  .custom-footer .lib-pagetop__btn { display: none !important; }
  .custom-footer .lib-footer__inner { padding-top: 30px; }
}

/* 新着情報（一覧・記事）：既存の見せ方に合わせる */
.media-sort__outer { display: none !important; }
.media-post__list { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
.media-post__list .media-post__item { display: flex !important; flex-direction: column; border: none !important; padding: 0 !important; box-shadow: none !important; }
.media-post__list .media-post__thumb { order: -1; width: 100% !important; max-width: none !important; margin: 0 0 10px !important; }
.media-post__list .media-post__thumb img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.media-post__list .media-post__inside, .media-post__list .media-post__txtarea { padding: 0 !important; }
.media-post__list .media-post__title { font-size: 15.5px !important; font-weight: bold; margin: 0 0 5px !important; }
.media-post__list .media-post__title a { color: #666 !important; }
.media-post__chip, .media-post__sns { display: none !important; }
.media-post__time p:has(time[itemprop="datemodified"]), .media-post__time p > span { display: none !important; }
.media-post__time { justify-content: flex-start !important; text-align: left !important; font-size: 12px; }
.media-column__side { display: flex; flex-direction: column; }
.media-side__box.--tree { order: -1; }
.media-side__title small { font-size: 11px; margin-left: 8px; color: #666; }
.media-post__article { display: flex; flex-direction: column; }
.media-post__article .media-post__hero { order: 1; }
.media-post__article .media-post__time { order: 2; margin-bottom: 20px; }
.media-post__article .media-post__details { order: 3; background: #fef09b; padding: 50px 30px 40px; }
.media-post__article .media-post__headline { position: relative; font-size: 21px !important; font-weight: 400 !important; color: #9F886E !important; padding-left: 21px; margin: 0 0 10px; }
.media-post__article .media-post__headline::before { content: ""; position: absolute; left: 3px; top: .6em; width: .3em; height: .3em; background: #9F886E; }
.media-post__details .media-post__image { width: 325px; max-width: 100%; margin: 40px auto 0; }
.custom-news-back { display: flex; justify-content: center; margin: 30px 0 0; }
.custom-news-back a { position: relative; display: block; width: 110px; height: 37px; line-height: 37px; text-align: center; background: #9F886E; color: #fff !important; font-size: 14px; text-decoration: none; }
.custom-news-back a::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.5); }
@media (max-width: 767px) {
  .media-post__list { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 2026-11-09 修正 ===== */
/* フッターメニュー：英字（Oswald）と和文の高さを揃える */
.custom-footer__nav { align-items: center; }
.custom-footer__nav li { display: flex; align-items: center; line-height: 1.5; }
.custom-footer__nav a, .custom-footer__nav a .txt { display: block; line-height: 1.5; font-weight: normal; }

/* 製品タイトルを本文より大きく */
#dcms_layoutPageBlock .custom-cards.--product .custom-card__ttl,
#dcms_layoutPageBlock .custom-cards.--productTop .custom-card__ttl { font-size: 21px; line-height: 1.4; }
.custom-cards.--product .custom-card__body, .custom-cards.--productTop .custom-card__body,
.custom-cards.--product .custom-card__body p, .custom-cards.--productTop .custom-card__body p { font-size: 15px; }

/* TOP 特長：写真にマウスを当てるとズームイン（鉛筆加工と同じ動き） */
.custom-cards.--circle .custom-card__thumb { overflow: hidden; }
.custom-cards.--circle .custom-card__thumb img { transition: transform .3s; }
.custom-cards.--circle .custom-card:hover .custom-card__thumb img { transform: scale(1.05); }

/* 料金表：既存と同じ黒系の文字に */
#dcms_layoutPageBlock .custom-price-table th, #dcms_layoutPageBlock .custom-price-table td,
#dcms_layoutPageBlock .custom-price-table th *, #dcms_layoutPageBlock .custom-price-table td * { color: #333 !important; }

/* 見出しバーの中央揃え（抗菌鉛筆の証明書） */
#dcms_layoutPageBlock .custom-headbar.--center .custom-headbar__ttl { text-align: center; }

/* 選ばれる理由 */
.custom-reason .custom-lead { text-align: center; }
.custom-reason__img { width: 40%; margin: 30px auto 0; }
.custom-reason__img img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .custom-reason__img { width: 100%; } }

/* 新着情報：カテゴリーラベルは白文字で表示 */
.media-post__chip { display: flex !important; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; padding: 0; list-style: none; }
.media-post__chip a, .media-post__chip span, .media-post__chip li { background: #9F886E !important; color: #fff !important; border-color: #9F886E !important; text-decoration: none; }

/* ===== 2026-11-09 修正2 ===== */
/* フッターメニュー：BM標準の li+li 上余白(8px)で1項目目だけ上にずれるのを解消 */
.custom-footer__nav li { margin: 0 !important; }
/* サイトマップ：BM標準の点マーカーを消し、一覧を中央に */
.custom-sitemap li::before, .custom-sitemap li::after { display: none !important; content: none !important; }
.custom-sitemap > ul { margin: 0 auto !important; }
/* 下部バナー（写真に文字を重ねる）：高さを既存に合わせ、文字が読めるよう薄く暗くする */
#dcms_layoutPageBlock .custom-cards.--banner .custom-card__thumb { display: block; position: relative; overflow: hidden; }
#dcms_layoutPageBlock .custom-cards.--banner .custom-card__thumb img { width: 100%; height: 120px !important; aspect-ratio: auto !important; object-fit: cover; }
#dcms_layoutPageBlock .custom-cards.--banner.--banner-left .custom-card__thumb img { height: 140px !important; }
#dcms_layoutPageBlock .custom-cards.--banner .custom-card__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); pointer-events: none; }
#dcms_layoutPageBlock .custom-cards.--banner.--banner-left .custom-card__txt { padding-left: 30px; }

/* パンくず：本文枠内に移動したページでもヒーローと同じ全幅に・右寄せ（既存準拠） */
#dcms_layoutPageBlock > .lib-breadcrumb__outer { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }
.lib-breadcrumb__outer .lib-breadcrumb__list { width: 100%; justify-content: flex-end !important; }
.lib-form__outer form > .lib-breadcrumb__outer { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; }

/* ===== 2026-11-09 修正 e ===== */
/* ボタン：既存 contents_btn01 と同じ大きさ（幅200px・高さ約42px）＋内側の白枠 */
#dcms_layoutPageBlock .custom-btn .lib-link__btn {
  position: relative; min-width: 200px; min-height: 0; padding: 10px 20px; line-height: 1.5;
}
#dcms_layoutPageBlock .custom-btn .lib-link__btn::before {
  content: ""; position: absolute; top: 5px; left: 5px; width: calc(100% - 12px); height: calc(100% - 12px);
  border: 1px solid rgba(255,255,255,.5); pointer-events: none; transition: .2s ease-in-out; display: block;
}
#dcms_layoutPageBlock .custom-btn .lib-link__btn::after { display: none !important; }
#dcms_layoutPageBlock .custom-btn .lib-link__btn:hover::before { transform: scale(1.1, 1.2); border-color: rgba(255,255,255,0); }
#dcms_layoutPageBlock .custom-btn .lib-link__btn .txt { font-size: 15px; letter-spacing: .02em; }
@media (max-width: 575px) {
  #dcms_layoutPageBlock .custom-btn .lib-link__btn { min-width: 200px; width: auto; }
  #dcms_layoutPageBlock .custom-btn .lib-link__btn .txt { font-size: 13.2px; }
}

/* 料金表：見出しセル左の濃い線（BM標準）を他の線と同じ色に */
#dcms_layoutPageBlock .custom-price-table th { border-left: 1px solid rgba(0,0,0,.13) !important; }

/* SP：既存と同じくフッター上部に電話番号＋お問い合わせの帯、メニューは2列 */
@media (max-width: 850px) {
  .custom-footbar { display: block; height: 61px; }
  .custom-footbar__inner { display: flex; align-items: center; justify-content: space-around; height: 60px; padding: 3px 5px; }
  .custom-footbar p { margin: 0; }
  .custom-footbar__tel a { display: inline-flex; align-items: center; gap: 4px; font-family: Oswald, sans-serif; font-size: 18.5px; line-height: 1; color: #666 !important; text-decoration: none; }
  .custom-footbar__tel svg { display: block !important; width: 15px; height: 15px; fill: #666; }
  .custom-footbar__btn a { position: relative; display: block; padding: 7px 35px; font-size: 13.2px; line-height: 1.5; background: #9F886E; color: #fff !important; text-decoration: none; }
  .custom-footbar__btn a::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.5); }
  .custom-footbar__top { display: none; }
  .custom-footer .lib-footer__inner { padding-top: 0; }
  .custom-footer__nav { display: grid !important; grid-template-columns: 1fr 1fr; width: calc(100% + 1px); max-width: none; flex-direction: row; border-bottom: 1px solid rgba(255,255,255,.05); }
  .custom-footer__nav li { display: block !important; padding: 5px 0; font-size: 11.9px; letter-spacing: .2rem; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(0,0,0,.13); text-align: center; }
  .custom-footer__nav li { border-right: 1px solid rgba(0,0,0,.13); }
  .custom-footer .lib-footer__inner { overflow: hidden; width: 100% !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
  .custom-footer__nav a { padding: 5px; }
}

/* 表組の線をサイト全体で統一（1px 実線・rgba(0,0,0,.13)） */
#dcms_layoutPageBlock table th, #dcms_layoutPageBlock table td,
.lib-form__outer table th, .lib-form__outer table td { border-color: rgba(0,0,0,.13) !important; }
.custom-price-table th, .custom-price-table td { border: 1px solid rgba(0,0,0,.13) !important; }
.custom-shop dl { border-bottom: 1px solid rgba(0,0,0,.13); }

/* 電話番号＋お問い合わせ帯：既存と同じフローティング
   100vhスクロールで下からせり上がり固定 → フッター上部の本来の位置に来たらそこに収まる */
.custom-fixbtn { display: none !important; }
.custom-footer.lib-footer__outer { padding-bottom: 0 !important; }
@media (min-width: 851px) { .custom-footbar { position: relative; height: 73px; background: none !important; } }
.custom-footbar { position: relative; background: none !important; }
.custom-footbar__wrap { position: fixed; left: 0; right: 0; bottom: -80px; z-index: 900; background: rgba(255,255,255,.85); border-top: 1px solid rgba(0,0,0,.1); transition: bottom .3s ease-in-out; }
.custom-footbar.is-scrolled .custom-footbar__wrap { bottom: 0; }
.custom-footbar.is-dock .custom-footbar__wrap { position: absolute; top: 0; bottom: auto; }

/* SP：PAGE TOPボタンをフローティング帯（高さ61px）の上に */
@media (max-width: 850px) { .custom-footer .lib-pagetop__btn { bottom: 72px !important; } }

/* ===== 2026-11-09 修正 g ===== */
/* TOP 特長：BMパーツ（lib-wrr-001 3列カード＋Bootstrap rounded-circle）。BMにない文字サイズとズームのみ追加 */
#dcms_layoutPageBlock .custom-top-feature .lib-card__title { font-size: 15.5px; font-weight: normal; line-height: 1.5; text-decoration: none; margin: 15px 0 0; padding: 0; }
.custom-top-feature .lib-card__txtarea { padding: 0; }
.custom-top-feature .lib-card__thumb img { transition: transform .3s; }
.custom-top-feature .lib-card__item:hover .lib-card__thumb img { transform: scale(1.05); }

/* お問い合わせフォーム：確認・送信ボタンとフッターの間に余白（2026-11-13） */
.lib-form__btn { margin-bottom: 80px; }
@media (max-width: 767px) { .lib-form__btn { margin-bottom: 60px; } }
