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

/* ==========================================================
   クオリアパートナーズ（qp-）2026-11-24 WP(TCD SOLARIS)→BM 載せ替え
   ========================================================== */
:root {
  --MAIN: #17278f;
  --ACC: #0789b5;
  --LINK: #17278f;
  --LMAIN: #eef0fa;
  --LACC: #d4ebf3;
  --qp-navy: #17278f;
  --qp-blue: #d4ebf3;
  --qp-gray: #f5f5f5;
}
body { color: #000; }

/* ---------- header ---------- */
.lib-header-BS01.qp-header { position: absolute !important; top: 0; left: 0; right: 0; z-index: 100; background: transparent !important; box-shadow: none !important; height: auto !important; }
.lib-header-BS01.qp-header .lib-header__inner { position: relative !important; height: auto !important; }
.lib-header-BS01.qp-header .lib-header__bar { position: relative !important; top: 0 !important; transform: none !important; background: transparent !important; box-shadow: none !important; height: 76px; padding: 0 40px 0 0; display: flex; align-items: center; justify-content: space-between; }
.lib-header-BS01.qp-header .lib-header__logo { margin: 0; align-self: flex-start; }
.lib-header-BS01.qp-header .lib-header__logo a { display: flex; align-items: center; height: 76px; padding: 0 40px; background: #fff; }
.lib-header-BS01.qp-header .lib-header__logo .thumb { display: block; }
.lib-header-BS01.qp-header .lib-header__logo img { width: 250px; height: auto; max-width: none; }
.lib-header-BS01.qp-header .qp-logo-sp { display: none; }
.lib-header-BS01.qp-header .lib-header__clone { display: none !important; }
.qp-gnav__list { display: flex; list-style: none; margin: 0; padding: 0; }
.qp-gnav__list > li { position: relative; margin: 0; padding: 0; }
.qp-gnav__list li::before { display: none !important; }
.qp-gnav__list > li > a { display: block; padding: 26px 18px; color: #fff !important; font-size: 14px; font-weight: 700; line-height: 1.6; text-decoration: none !important; text-shadow: 0 0 6px rgba(0,0,0,.45); transition: opacity .2s; }
.qp-gnav__list > li > a:hover, .qp-gnav__list > li > a:focus-visible { opacity: .7; }
.qp-gnav__list > li > a[aria-current] { color: #fff !important; }
.qp-gnav__child { position: absolute; top: 100%; left: 50%; width: 200px; margin: 0 0 0 -100px; padding: 0; list-style: none; background: var(--qp-navy); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 10; }
.qp-gnav__has-child:hover .qp-gnav__child, .qp-gnav__has-child:focus-within .qp-gnav__child { opacity: 1; visibility: visible; }
.qp-gnav__child li { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.qp-gnav__child a { display: block; padding: 14px 18px; color: #fff !important; font-size: 13px; text-decoration: none !important; }
.qp-gnav__child a:hover, .qp-gnav__child a:focus-visible { background: #0f1c6e; }
@media (min-width: 992px) {
  .lib-header-BS01.qp-header .lib-menu__btn, .lib-header-BS01.qp-header .lib-nav__panel { display: none !important; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .lib-header-BS01.qp-header .lib-header__logo a { padding: 0 24px; }
  .lib-header-BS01.qp-header .lib-header__logo img { width: 200px; }
  .qp-gnav__list > li > a { padding: 26px 10px; font-size: 13px; }
  .lib-header-BS01.qp-header .lib-header__bar { padding-right: 16px; }
}
@media (max-width: 991.98px) {
  .qp-gnav { display: none; }
  .lib-header-BS01.qp-header { position: fixed !important; background: #fff !important; box-shadow: 0 1px 4px rgba(0,0,0,.12) !important; }
  .lib-header-BS01.qp-header .lib-header__bar { height: 60px; padding: 0 0 0 16px; background: #fff !important; }
  .lib-header-BS01.qp-header .lib-header__logo { align-self: center; }
  .lib-header-BS01.qp-header .lib-header__logo a { height: 60px; padding: 0; }
  .lib-header-BS01.qp-header .qp-logo-pc { display: none; }
  .lib-header-BS01.qp-header .qp-logo-sp { display: block; width: 170px; height: auto; }
  #wrapper { padding-top: 60px; }
  .qp-spnav .qp-spnav__sub .lib-nav__btn .txt { padding-left: 1.2em; font-size: 93%; }
  .qp-spnav .qp-spnav__sub .lib-nav__btn .txt::before { content: "－ "; }
}

/* ---------- hero（下層の見出し写真） ---------- */
.lib-hero__outer.js-page-main { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; margin: 0 0 0; padding: 0; background: #333 url(/dcms_media/image/qp-head-company.jpg) center / cover no-repeat; }
.lib-hero__outer.js-page-main::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.lib-hero__outer.js-page-main .lib-hero__txtarea { position: relative; padding-top: 60px; text-align: center; }
.lib-hero__outer.js-page-main .lib-hero__title { margin: 0; color: #fff; font-size: 34px; font-weight: 700; text-shadow: 0 0 10px rgba(0,0,0,.5); }
.lib-hero__outer.js-page-main .lib-hero__title::before, .lib-hero__outer.js-page-main .lib-hero__title::after { display: none; }
.qp-hero--business { background-image: url(/dcms_media/image/qp-top-02.jpg) !important; }
.qp-hero--service-01 { background-image: url(/dcms_media/image/qp-service-01.jpg) !important; }
.qp-hero--service-02 { background-image: url(/dcms_media/image/qp-service-02.jpg) !important; }
.qp-hero--service-03 { background-image: url(/dcms_media/image/qp-service-03.jpg) !important; }
.qp-hero--service-04 { background-image: url(/dcms_media/image/qp-service-04.jpg) !important; }
.qp-hero--faq { background-image: url(/dcms_media/image/qp-head-faq.jpg) !important; }
.qp-hero--estate { background-image: url(/dcms_media/image/qp-head-estate.jpg) !important; }
@media (max-width: 991.98px) {
  .lib-hero__outer.js-page-main { min-height: 220px; }
  .lib-hero__outer.js-page-main .lib-hero__txtarea { padding-top: 0; }
  .lib-hero__outer.js-page-main .lib-hero__title { font-size: 24px; }
}

/* ---------- 下層の本文 ---------- */
.qp-sec { max-width: 1000px; margin-top: 60px; margin-bottom: 60px; font-size: 15px; line-height: 2; }
.qp-sec p { margin: 0 0 1em; }
.qp-h2 { margin: 0 0 30px; padding: 12px 16px; background: var(--qp-navy); color: #fff; font-size: 22px; font-weight: 700; line-height: 1.5; }
.qp-h2::before, .qp-h2::after { display: none; }
.qp-h3 { margin: 40px 0 20px; padding: 0 0 8px; border-bottom: 2px solid var(--qp-navy); color: #000; font-size: 18px; font-weight: 700; line-height: 1.6; }
.qp-h3:first-child { margin-top: 0; }
.qp-h3s { margin: 36px 0 12px; padding: 0 0 0 12px; border-left: 4px solid var(--qp-navy); font-size: 17px; font-weight: 700; line-height: 1.6; }
.qp-h3::before, .qp-h3::after, .qp-h3s::before, .qp-h3s::after { display: none; }
.qp-table { width: 100%; border-collapse: collapse; margin: 0 0 30px; font-size: 14px; }
.qp-table th, .qp-table td { padding: 14px 20px; border: none; border-bottom: 1px dotted #aaa; background: none; vertical-align: top; line-height: 1.9; }
.qp-table th { width: 26%; font-weight: 700; text-align: center; white-space: nowrap; }
.qp-table a[href^="tel:"] { color: inherit; text-decoration: none; }
.qp-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.qp-wide-img { margin: 0 0 16px !important; }
.qp-wide-img img { display: block; width: 100%; height: auto; }
.qp-philo { margin: 0; padding: 0; list-style: none; }
.qp-philo li { position: relative; margin: 0 0 .8em; padding-left: 1.2em; line-height: 1.8; }
.qp-philo li::before { content: "◆"; position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; border: 0; color: #000; font-size: 1em; }
.qp-profile { display: flex; gap: 40px; align-items: flex-start; }
.qp-profile__txt { flex: 1; }
.qp-profile__img { flex: 0 0 300px; text-align: center; }
.qp-profile__img img { width: 233px; height: auto; }
.qp-lead { margin: 0 0 40px !important; text-align: center; }
.qp-grid { margin: 0; padding: 0; list-style: none; }
.qp-grid li::before, .qp-bizlist li::before, .qp-steps li::before, .qp-gallery li::before, .qp-footer li::before { display: none !important; }
.qp-card { margin: 0; }
.qp-card .thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.qp-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qp-card figcaption { margin-top: 12px; font-size: 15px; font-weight: 700; text-align: center; line-height: 1.6; }
.qp-bluebox { padding: 30px 30px 20px; background: var(--qp-blue); text-align: center; }
.qp-bluebox__title { font-size: 18px; font-weight: 700; line-height: 1.7; }
.qp-bluebox__img img { width: 400px; max-width: 100%; height: auto; }
.qp-media { display: flex; gap: 40px; align-items: flex-start; margin: 0 0 30px; }
.qp-media__txt { flex: 1; }
.qp-media__img { flex: 0 0 42%; }
.qp-media__img img { display: block; width: 100%; height: auto; }
.qp-catch { font-size: 18px; font-weight: 700; line-height: 1.8; color: var(--qp-navy); }
.qp-catch2 { font-size: 20px; font-weight: 700; color: var(--qp-navy); }
.qp-narrow { max-width: 800px; margin: 30px auto 0; }
.qp-after { margin-top: 10px; }
.qp-list { line-height: 2.1; }
.qp-red { color: #d00; font-size: 18px; font-weight: 700; }
.qp-note { font-weight: 700; color: var(--qp-navy); }
.qp-arrow { width: 0; height: 0; margin: 10px auto 20px; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 30px solid var(--qp-navy); }
.qp-steps { margin: 0 auto; padding: 0; max-width: 800px; list-style: none; }
.qp-step__num { display: inline-block; margin: 0 0 8px !important; padding: 2px 14px; background: var(--qp-navy); color: #fff; font-weight: 700; font-family: var(--fntEN); }
.qp-step__title { margin: 0 0 10px !important; font-weight: 700; }
.qp-step__img img { display: block; width: 100%; height: auto; }
.qp-faq { margin: 0 auto 24px; max-width: 840px; padding: 20px 24px; border: 1px solid var(--qp-navy); }
.qp-faq dt { padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px dotted #555; font-weight: 700; }
.qp-faq dd { display: flex; margin: 0; line-height: 2; }
.qp-faq__q { margin-right: .4em; }
.qp-faq__a { flex: 0 0 auto; margin-right: .4em; color: var(--ACC); font-weight: 700; }
.qp-gallery { margin: 0; padding: 0; list-style: none; }
.qp-gallery img { display: block; width: 100%; height: auto; }
.qp-dot { margin: 0 0 1em; padding: 0; list-style: none; }
.qp-dot li { padding-left: 1em; text-indent: -1em; }
.qp-dot li::before { content: "・"; position: static; display: inline; width: auto; height: auto; background: none; border: 0; }
.qp-bizlist { margin: 0; padding: 0; list-style: none; }
.qp-biz { display: block; height: 100%; color: #000 !important; text-decoration: none !important; border: 1px solid #ddd; transition: box-shadow .2s; }
.qp-biz:hover { box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.qp-biz .thumb { display: block; aspect-ratio: 724 / 400; overflow: hidden; }
.qp-biz .thumb img { width: 100%; height: 100%; object-fit: cover; }
.qp-biz__title { display: block; padding: 16px 20px 4px; color: var(--qp-navy); font-size: 18px; font-weight: 700; }
.qp-biz__title::after { content: " ›"; }
.qp-biz__txt { display: block; padding: 0 20px 18px; font-size: 14px; line-height: 1.8; }
.qp-bownow { max-width: 800px; margin: 0 auto; }
@media (max-width: 767.98px) {
  .qp-sec { margin-top: 40px; margin-bottom: 40px; font-size: 14px; }
  .qp-h2 { font-size: 18px; margin-bottom: 20px; }
  .qp-table th, .qp-table td { display: block; width: 100%; padding: 10px 6px; text-align: left; }
  .qp-table th { border-bottom: none; padding-bottom: 0; }
  .qp-profile, .qp-media { flex-direction: column; gap: 20px; }
  .qp-profile__img, .qp-media__img { flex-basis: auto; width: 100%; }
  .qp-catch { font-size: 16px; }
  .qp-faq { padding: 16px; }
}

/* ---------- 販売実績の表（記事） ---------- */
.qp-scroll { overflow-x: auto; }
.qp-sales { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.qp-sales th, .qp-sales td { padding: 8px 12px; border: 1px solid #ccc; line-height: 1.6; }
.qp-sales th { background: var(--qp-navy); color: #fff; text-align: center; }
.qp-sales td:first-child { width: 10%; text-align: center; }

/* ---------- footer ---------- */
.qp-footer { padding: 0 !important; background: #fff !important; color: #000; border-top: 1px solid #ddd; }
.qp-footer__info { padding: 50px 16px 40px; text-align: center; }
.qp-footer__logo { margin: 0 0 12px; }
.qp-footer__logo img { width: 200px; height: auto; }
.qp-footer__add { margin: 0; font-size: 14px; }
.qp-footer__svc { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.qp-footer__svc li { margin: 0; padding: 0; }
.qp-footer__svc a { position: relative; display: flex; align-items: center; height: 200px; padding: 0 30px; background: center / cover no-repeat; color: #fff !important; font-size: 18px; font-weight: 700; text-decoration: none !important; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.qp-footer__svc a::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); transition: background .2s; }
.qp-footer__svc a:hover::before { background: rgba(0,0,0,.4); }
.qp-footer__svc a span { position: relative; }
.qp-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 24px 16px; list-style: none; border-bottom: 1px solid #ddd; }
.qp-footer__nav li { margin: 0; padding: 0; }
.qp-footer__nav a { display: block; padding: 4px 16px; color: #000 !important; font-size: 13px; text-decoration: none !important; }
.qp-footer__nav a:hover { text-decoration: underline !important; }
.qp-footer__copy { padding: 16px; background: #fff !important; text-align: center; }
.qp-footer__copy .lib-footer__copyright { margin: 0; color: #000; font-size: 11px; }
@media (max-width: 767.98px) {
  .qp-footer__svc { grid-template-columns: repeat(2, 1fr); }
  .qp-footer__svc a { height: 120px; padding: 0 16px; font-size: 15px; }
  .qp-footer__nav a { padding: 4px 10px; }
}

/* ---------- TOP ---------- */
.qp-top-sec { max-width: 1000px; margin-top: 60px; margin-bottom: 60px; font-size: 15px; line-height: 2; text-align: center; }
.qp-top-worry__title { margin: 0 0 16px; font-family: 'Noto Serif JP', serif; font-size: 28px; font-weight: 500; }
.qp-top-worry__lead { margin: 0 0 20px !important; font-size: 17px; font-weight: 700; line-height: 1.8; }
.qp-top-worry__voice { font-size: 14px; line-height: 2; }
.qp-top-worry__img img { width: 700px; max-width: 100%; height: auto; margin-top: 20px; }
.qp-top-band { position: relative; padding: 60px 16px; background: url(/dcms_media/image/qp-top-02.jpg) center / cover no-repeat; color: #fff; text-align: center; }
.qp-top-band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.qp-top-band > * { position: relative; }
.qp-top-band__title { margin: 0 0 16px; font-size: 26px; font-weight: 700; line-height: 1.6; text-shadow: 0 0 8px rgba(0,0,0,.5); }
.qp-top-band__txt { margin: 0 !important; font-size: 14px; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.qp-top-about { max-width: 1000px; margin-top: 60px; margin-bottom: 60px; padding: 0; list-style: none; }
.qp-top-about li::before { display: none !important; }
.qp-top-about__item { height: 100%; text-align: left; }
.qp-top-about__item .thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; margin-bottom: 16px; }
.qp-top-about__item img { width: 100%; height: 100%; object-fit: cover; }
.qp-top-about__title { margin: 0 0 8px; color: var(--qp-navy); font-family: var(--fntEN); font-size: 20px; font-weight: 700; }
.qp-top-about__txt { margin: 0 0 16px !important; font-size: 14px; line-height: 1.9; }
.qp-btn { display: inline-block; min-width: 200px; padding: 12px 24px; background: var(--qp-navy); color: #fff !important; font-size: 14px; text-align: center; text-decoration: none !important; transition: opacity .2s; }
.qp-btn:hover { opacity: .8; }
.qp-top-head { margin: 0 0 24px; }
.qp-top-head__en { display: block; color: var(--qp-navy); font-family: var(--fntEN); font-size: 30px; font-weight: 700; line-height: 1.3; }
.qp-top-head__ja { display: block; font-size: 13px; font-weight: 700; }
.qp-top-biz { padding: 60px 16px 40px; background: var(--qp-gray); text-align: center; }
.qp-top-biz p { margin: 0 !important; font-size: 14px; line-height: 2.1; }
.qp-top-svc { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.qp-top-svc li { margin: 0; padding: 0; }
.qp-top-svc li::before { display: none !important; }
.qp-top-svc a { position: relative; display: flex; flex-direction: column; justify-content: center; height: 400px; padding: 0 24px; background: center / cover no-repeat; color: #fff !important; text-decoration: none !important; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.qp-top-svc a::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .2s; }
.qp-top-svc a:hover::before { background: rgba(23,39,143,.5); }
.qp-top-svc a > span { position: relative; }
.qp-top-svc__title { font-size: 20px; font-weight: 700; }
.qp-top-svc__txt { margin-top: 10px; font-size: 13px; line-height: 1.8; }
.qp-top-sales__list { max-width: 640px; margin: 0 auto 30px; padding: 0; list-style: none; border: 1px solid #ddd; text-align: left; }
.qp-top-sales__list li { margin: 0; padding: 0; border-bottom: 1px solid #ddd; }
.qp-top-sales__list li:last-child { border-bottom: none; }
.qp-top-sales__list li::before { display: none !important; }
.qp-top-sales__list a { display: flex; gap: 20px; padding: 14px 20px; color: #000 !important; font-size: 14px; text-decoration: none !important; }
.qp-top-sales__list a:hover { background: var(--qp-gray); }
.qp-top-sales__list time { color: #999; font-size: 12px; line-height: 2; }
.qp-top-links { max-width: 1000px; margin-top: 60px; margin-bottom: 80px; padding: 0; list-style: none; }
.qp-top-links li::before { display: none !important; }
.qp-top-link { display: block; color: #000 !important; text-decoration: none !important; text-align: left; }
.qp-top-link__label { display: inline-block; margin: 0 0 12px; padding-top: 10px; border-top: 3px solid var(--qp-navy); font-size: 13px; font-weight: 700; }
.qp-top-link .thumb { position: relative; display: block; aspect-ratio: 770 / 440; overflow: hidden; }
.qp-top-link .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.qp-top-link:hover .thumb img { transform: scale(1.05); }
.qp-top-link__name { position: absolute; left: 24px; bottom: 20px; color: #fff; font-size: 18px; font-weight: 700; text-shadow: 0 0 6px rgba(0,0,0,.6); }
.qp-top-link__txt { display: block; margin-top: 14px; font-size: 14px; line-height: 1.9; }
@media (max-width: 991.98px) {
  .qp-top-svc { grid-template-columns: repeat(2, 1fr); }
  .qp-top-svc a { height: 240px; }
}
@media (max-width: 767.98px) {
  .qp-top-worry__title { font-size: 22px; }
  .qp-top-worry__lead { font-size: 15px; }
  .qp-top-band__title { font-size: 19px; }
  .qp-top-head__en { font-size: 24px; }
  .qp-top-svc a { height: 180px; padding: 0 14px; }
  .qp-top-svc__title { font-size: 16px; }
  .qp-top-svc__txt { display: none; }
}

/* ---------- v2 調整 2026-11-24 ---------- */
.lib-header-BS01.qp-header .lib-header__logo { flex: 0 0 auto; width: auto; max-width: none; }
.lib-header-BS01.qp-header .lib-header__logo a { width: auto; max-width: none; box-sizing: content-box; }
.qp-table th { color: #000 !important; background: none !important; }
.qp-table td { color: #000; }
.lib-hero__outer.js-page-main .lib-hero__txtarea { width: 100%; max-width: none; display: flex; justify-content: center; }
.lib-hero__outer.js-page-main .lib-hero__inner { width: auto; text-align: center; }
.qp-footer .lib-footer__copyright { background: transparent !important; }
/* TOP 全幅の帯 */
.qp-top-band, .qp-top-biz, .qp-top-svc { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* TOP 販売実績（記事一覧の自動ブロックをリストに） */
.qp-top-sales__auto { max-width: 640px; margin: 0 auto 30px; border: 1px solid #ddd; text-align: left; }
.qp-top-sales__auto .swiper-wrapper { display: block !important; transform: none !important; }
.qp-top-sales__auto .lib-media__item { display: flex !important; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 20px; width: auto !important; margin: 0 !important; padding: 14px 20px; border-bottom: 1px solid #ddd; }
.qp-top-sales__auto .lib-media__item:last-child { border-bottom: none; }
.qp-top-sales__auto .lib-media__thumb, .qp-top-sales__auto .lib-media__category, .qp-top-sales__auto .lib-media__txt, .qp-top-sales__auto .lib-media__time p:nth-child(2), .qp-top-sales__auto .lib-media__time span { display: none !important; }
.qp-top-sales__auto .lib-media__txtarea { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 20px; padding: 0 !important; }
.qp-top-sales__auto .lib-media__time { margin: 0; color: #999; font-size: 12px; }
.qp-top-sales__auto .lib-media__time p { margin: 0 !important; }
.qp-top-sales__auto .lib-media__title { margin: 0 !important; font-size: 14px !important; font-weight: 400; }
.qp-top-sales__auto .lib-media__title a { color: #000 !important; text-decoration: none !important; }
.qp-top-sales__auto .lib-media__title a:hover { text-decoration: underline !important; }
.qp-top-sales .lib-swiper__btn, .qp-top-sales .lib-swiper__start, .qp-top-sales .lib-swiper__stop, .qp-top-sales .lib-swiper__control, .qp-top-sales .swiper-pagination { display: none !important; }
/* 販売実績（記事）: 見本のカバー画像・SNS・最終更新日・サムネイルは出さない */
.media-post figure.cover, figure.cover, .lib-media__share, .media-post__sns, .lib-sns__outer, [class*="sns-btn"], .media-post__time p:nth-child(2) { display: none !important; }
.media-column__side .lib-media__category .--tree, .media-side__box.--tree, .media-column__side .reco_thumbnail, .media-column__side .post_thumbnail { display: none !important; }
.lib-media__thumb img[src*="media_cover"], .reco_thumbnail img[src*="media_cover"] { display: none; }
.media-post__image, .media-post__sns, .media-relation__thumb, .lib-recommend__thumb { display: none !important; }
.media-post__time p:nth-child(2), .media-post__details .media-post__time p:nth-child(2) { display: none !important; }
.media-side__box.--tree, .media-side__box.--recommend { display: none !important; }

/* ---------- v3 旧サイトの文字サイズに合わせる・固定ヘッダー 2026-11-24 ---------- */
/* 固定ヘッダー（スクロールで白いバーに。JS で .qp-is-fixed） */
@media (min-width: 992px) {
  .lib-header-BS01.qp-header .lib-header__bar { height: 80px; }
  .lib-header-BS01.qp-header .lib-header__logo a { height: 80px; padding: 0 50px; }
  .lib-header-BS01.qp-header .lib-header__logo img.qp-logo-pc { width: 295px; }
  .qp-gnav__list > li > a { padding: 0 20px; line-height: 80px; font-size: 14px; font-weight: 600; }
  .lib-header-BS01.qp-header.qp-is-fixed { position: fixed !important; background: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.12) !important; animation: qpHeaderIn .4s ease; }
  .lib-header-BS01.qp-header.qp-is-fixed .qp-gnav__list > li > a { color: #000 !important; text-shadow: none; }
  .lib-header-BS01.qp-header.qp-is-fixed .qp-gnav__list > li > a:hover { color: var(--qp-navy) !important; opacity: 1; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .lib-header-BS01.qp-header .lib-header__logo a { padding: 0 24px; }
  .lib-header-BS01.qp-header .lib-header__logo img.qp-logo-pc { width: 220px; }
  .qp-gnav__list > li > a { padding: 0 10px; font-size: 13px; }
}
@keyframes qpHeaderIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.qp-gnav__child a { font-size: 14px; }
/* 下層 */
.lib-hero__outer.js-page-main { min-height: 600px; }
.lib-hero__outer.js-page-main .lib-hero__title { font-size: 36px; font-weight: 600; }
.qp-sec { font-size: 16px; line-height: 2.2; }
.qp-sec p { line-height: 2; }
.qp-h2 { font-size: 26px; font-weight: 600; padding: 14px 20px; }
.qp-h3 { font-size: 20px; }
.qp-h3s { font-size: 18px; }
.qp-table { font-size: 16px; }
.qp-table th, .qp-table td { line-height: 2.2; }
.qp-card figcaption { font-size: 16px; line-height: 2.4; }
.qp-bluebox__title, .qp-catch { font-size: 20px; line-height: 1.5; }
.qp-catch2 { font-size: 22px; }
.qp-red { font-size: 20px; }
.qp-faq { font-size: 16px; line-height: 2.2; }
.qp-biz__title { font-size: 20px; }
.qp-biz__txt { font-size: 16px; }
.qp-step__title { font-size: 16px; }
.qp-sales { font-size: 16px; }
/* TOP */
.qp-top-sec { font-size: 16px; }
.qp-top-worry__title { font-size: 36px; font-weight: 600; font-family: "Times New Roman", "Noto Serif JP", "游明朝", "Yu Mincho", serif; }
.qp-top-worry__lead { font-size: 22px; font-weight: 600; line-height: 1.4; }
.qp-top-worry__voice { font-size: 16px; line-height: 2.4; }
.qp-top-band { padding: 90px 16px; }
.qp-top-band__title { font-size: 36px; font-weight: 600; line-height: 1.5; }
.qp-top-band__txt { font-size: 16px; line-height: 2.4; }
.qp-top-about__title { font-size: 20px; font-weight: 600; }
.qp-top-about__txt { font-size: 16px; line-height: 2.4; }
.qp-btn { font-size: 16px; min-width: 228px; padding: 16px 24px; }
.qp-top-head__en { font-size: 36px; font-weight: 600; line-height: 1.5; }
.qp-top-head__ja { font-size: 16px; font-weight: 500; }
.qp-top-biz p { font-size: 16px; line-height: 2.4; }
.qp-top-svc__title { font-size: 22px; }
.qp-top-svc__txt { font-size: 16px; line-height: 2.2; }
.qp-top-sales__auto { max-width: 770px; }
.qp-top-sales__auto .lib-media__title { font-size: 16px !important; font-weight: 500; }
.qp-top-sales__auto .lib-media__time { font-size: 14px; }
.qp-top-link__label { font-size: 16px; }
.qp-top-link__name { font-size: 20px; }
.qp-top-link__txt { font-size: 16px; line-height: 2.4; }
/* footer */
.qp-footer__logo img { width: 200px; }
.qp-footer__add { font-size: 16px; }
.qp-footer__nav a { font-size: 14px; }
.qp-footer__svc a { font-size: 20px; }
.qp-footer__copy .lib-footer__copyright { font-size: 12px; }
@media (max-width: 991.98px) {
  .lib-hero__outer.js-page-main { min-height: 260px; }
  .lib-hero__outer.js-page-main .lib-hero__title { font-size: 26px; }
}
@media (max-width: 767.98px) {
  .qp-sec { font-size: 15px; }
  .qp-h2 { font-size: 20px; padding: 10px 14px; }
  .qp-table { font-size: 15px; }
  .qp-bluebox__title, .qp-catch { font-size: 17px; }
  .qp-top-worry__title { font-size: 24px; }
  .qp-top-worry__lead { font-size: 17px; }
  .qp-top-worry__voice, .qp-top-about__txt, .qp-top-biz p, .qp-top-link__txt { font-size: 15px; line-height: 2; }
  .qp-top-band { padding: 50px 16px; }
  .qp-top-band__title { font-size: 22px; }
  .qp-top-band__txt { font-size: 14px; line-height: 2; }
  .qp-top-head__en { font-size: 26px; }
  .qp-top-svc__title { font-size: 17px; }
  .qp-footer__add { font-size: 14px; }
  .qp-footer__svc a { font-size: 16px; }
}
/* v4 固定時の上の隙間（BM 標準の top:30px）をなくす */
.lib-header-BS01.qp-header, .lib-header-BS01.qp-header.qp-is-fixed { top: 0 !important; }
/* v6 スクロール時もロゴを縮めない（BM 標準 html.is-scroll の縮小を打ち消す。旧サイトはロゴの大きさが変わらない） */
@media (min-width: 992px) {
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo { width: auto !important; transition: none; }
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a { height: 80px !important; box-shadow: none !important; }
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-pc,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-pc { width: 295px !important; height: auto !important; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-pc,
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-pc { width: 220px !important; }
}
@media (max-width: 991.98px) {
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo { width: auto !important; }
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a { height: 60px !important; box-shadow: none !important; background: transparent; }
  html .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-sp,
  html.is-scroll .lib-header__outer.lib-header-BS01.qp-header .lib-header__logo a .thumb img.qp-logo-sp { width: 170px !important; height: auto !important; }
}

/* v7 TOP PROFILE/PHILOSOPHY/ACCESS をタブに（旧サイトと同じ） */
.qp-top-tabs .qp-top-band { padding-bottom: 0; }
.qp-tabs__list { display: flex; justify-content: center; gap: 14px; margin-top: 40px; position: relative; }
.qp-tabs__btn { width: 200px; height: 70px; padding: 0; border: 0; border-radius: 6px 6px 0 0; background: rgba(255,255,255,.3); color: #fff; font-family: Arial, sans-serif; font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.qp-tabs__btn:hover { background: rgba(255,255,255,.5); }
.qp-tabs__btn[aria-selected="true"] { background: #fff; color: var(--qp-navy); }
.qp-tabs__panels { max-width: 1000px; margin-top: 100px; margin-bottom: 100px; }
.qp-tabs__panel[hidden] { display: none; }
.qp-tabs__row { display: flex; gap: 60px; align-items: flex-start; }
.qp-tabs__img { flex: 0 0 500px; margin: 0 !important; }
.qp-tabs__img img { display: block; width: 100%; height: auto; }
.qp-tabs__body { flex: 1; }
.qp-tabs__title { margin: 0 0 30px; color: var(--qp-navy); font-family: Arial, sans-serif; font-size: 26px; font-weight: 700; }
.qp-tabs__title::before, .qp-tabs__title::after { display: none; }
.qp-tabs__txt { margin: 0 !important; font-size: 16px; line-height: 2.4; }
.qp-tabs__more { margin: 50px 0 0 !important; text-align: center; }
@media (max-width: 767.98px) {
  .qp-tabs__list { gap: 6px; margin-top: 30px; }
  .qp-tabs__btn { flex: 1; height: 50px; font-size: 14px; }
  .qp-tabs__panels { margin-top: 40px; margin-bottom: 60px; }
  .qp-tabs__row { flex-direction: column; gap: 20px; }
  .qp-tabs__img { flex-basis: auto; width: 100%; }
  .qp-tabs__title { font-size: 22px; margin-bottom: 14px; }
  .qp-tabs__txt { font-size: 15px; line-height: 2; }
}

/* v7 TOP 事業4枠：カーソルを合わせると帯全体の写真が切り替わる（旧サイトと同じ） */
.qp-svcband { position: relative; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); height: 600px; overflow: hidden; background: #333; }
.qp-svcband__bgs { position: absolute; inset: 0; }
.qp-svcband__bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .6s ease; }
.qp-svcband__bg:first-child { opacity: 1; }
.qp-svcband__bgs::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.qp-svcband:has(.qp-svcband__item:not(:first-child):hover) .qp-svcband__bg:first-child,
.qp-svcband:has(.qp-svcband__item:not(:first-child):focus-within) .qp-svcband__bg:first-child { opacity: 0; }
.qp-svcband:has(.qp-svcband__item:nth-child(1):hover) .qp-svcband__bg:nth-child(1), .qp-svcband:has(.qp-svcband__item:nth-child(1):focus-within) .qp-svcband__bg:nth-child(1),
.qp-svcband:has(.qp-svcband__item:nth-child(2):hover) .qp-svcband__bg:nth-child(2), .qp-svcband:has(.qp-svcband__item:nth-child(2):focus-within) .qp-svcband__bg:nth-child(2),
.qp-svcband:has(.qp-svcband__item:nth-child(3):hover) .qp-svcband__bg:nth-child(3), .qp-svcband:has(.qp-svcband__item:nth-child(3):focus-within) .qp-svcband__bg:nth-child(3),
.qp-svcband:has(.qp-svcband__item:nth-child(4):hover) .qp-svcband__bg:nth-child(4), .qp-svcband:has(.qp-svcband__item:nth-child(4):focus-within) .qp-svcband__bg:nth-child(4) { opacity: 1; }
.qp-svcband__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 100%; margin: 0; padding: 0; list-style: none; }
.qp-svcband__item { margin: 0; padding: 0; border-left: 1px solid rgba(255,255,255,.4); }
.qp-svcband__item:first-child { border-left: 0; }
.qp-svcband__item::before { display: none !important; }
.qp-svcband__item a { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 0 46px 50px; color: #fff !important; text-decoration: none !important; text-shadow: 0 0 6px rgba(0,0,0,.5); transition: background .3s; }
.qp-svcband__item a:hover, .qp-svcband__item a:focus-visible { background: rgba(0,0,0,.15); }
.qp-svcband__title { font-size: 24px; font-weight: 700; line-height: 1.5; }
.qp-svcband__txt { max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 2; transition: max-height .4s, opacity .4s, margin .4s; }
.qp-svcband__item a:hover .qp-svcband__txt, .qp-svcband__item a:focus-visible .qp-svcband__txt { max-height: 10em; opacity: 1; margin-top: 12px; }
@media (max-width: 991.98px) {
  .qp-svcband { height: auto; }
  .qp-svcband__bgs { display: none; }
  .qp-svcband__list { grid-template-columns: repeat(2, 1fr); }
  .qp-svcband__item { border-left: 0; }
  .qp-svcband__item a { position: relative; height: 220px; padding: 0 16px 20px; background: var(--bg) center / cover no-repeat; }
  .qp-svcband__item a::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
  .qp-svcband__item a > span { position: relative; }
  .qp-svcband__title { font-size: 18px; }
  .qp-svcband__txt { display: none; }
}
/* v8 事業4枠の切り替えは JS（data-active）で */
.qp-svcband__bg { font-size: 0; color: transparent; }
.qp-svcband[data-active] .qp-svcband__bg { opacity: 0; }
.qp-svcband[data-active="1"] .qp-svcband__bg:nth-child(1), .qp-svcband[data-active="2"] .qp-svcband__bg:nth-child(2),
.qp-svcband[data-active="3"] .qp-svcband__bg:nth-child(3), .qp-svcband[data-active="4"] .qp-svcband__bg:nth-child(4) { opacity: 1; }

/* ---------- v9 旧サイトとの見比べで合わせた所 2026-11-24 ---------- */
/* メインビジュアル：PC は画面の高さ・SP は 555px、矢印やボタンは出さない（旧サイトに無い） */
.lib-fv-004 .lib-fv__slide, .lib-fv-004 .lib-fv__thumb { height: 100vh; min-height: 600px; }
.lib-fv-004 .lib-fv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lib-fv-004 .lib-swiper__btn, .lib-fv-004 .lib-fv__control { display: none !important; }
/* TOP の白い部分の縦線（旧サイトと同じ） */
body:has(.qp-top-worry) #contents { background: linear-gradient(#e3e3e3, #e3e3e3) calc(50% - 575px) 0 / 1px 100% no-repeat, linear-gradient(#e3e3e3, #e3e3e3) calc(50% + 575px) 0 / 1px 100% no-repeat; }
.qp-top-band, .qp-top-biz, .qp-svcband { position: relative; z-index: 1; }
.qp-top-sales__auto { max-width: 920px; }
.qp-top-sales__auto .lib-media__item { padding: 22px 30px; }
.qp-top-links { max-width: 1160px; }
/* 下層：旧サイトの色・行間 */
.qp-catch, .qp-catch2, .qp-note, .qp-red { color: #000; }
.qp-catch { font-size: 20px; line-height: 1.5; }
.qp-catch2 { font-size: 20px; line-height: 2.4; }
.qp-media__txt p:not(.qp-catch):not(.qp-red):not(.qp-note), .qp-after, .qp-narrow p:not(.qp-catch2) { line-height: 1.5; }
.qp-red { font-size: 24px; line-height: 1.5; }
.qp-note { font-size: 18px; line-height: 1.5; }
.qp-list { font-size: 18px; line-height: 1.5; }
.qp-h3 { font-size: 22px; font-weight: 600; }
.qp-step__num { font-size: 20px; font-weight: 400; }
.qp-philo li { line-height: 1.4; }
.qp-profile__txt p { line-height: 1.8; }
@media (max-width: 991.98px) {
  .lib-fv-004 .lib-fv__slide, .lib-fv-004 .lib-fv__thumb { height: 555px; min-height: 0; }
  body:has(.qp-top-worry) #contents { background: none; }
  .lib-hero__outer.js-page-main { min-height: 250px; }
  .lib-hero__outer.js-page-main .lib-hero__title { font-size: 16px; font-weight: 600; }
}
@media (max-width: 767.98px) {
  /* 本文 */
  .qp-sec { font-size: 14px; line-height: 2; }
  .qp-h2 { font-size: 20px; }
  .qp-h3 { font-size: 18px; }
  .qp-catch { font-size: 16px; }
  .qp-catch2 { font-size: 20px; line-height: 2; }
  .qp-media__txt p:not(.qp-catch):not(.qp-red):not(.qp-note), .qp-after, .qp-narrow p:not(.qp-catch2) { font-size: 14px; }
  .qp-list { font-size: 14px; }
  .qp-red { font-size: 24px; }
  .qp-note { font-size: 18px; }
  .qp-bluebox__title { font-size: 20px; }
  .qp-step__num { font-size: 20px; }
  .qp-card figcaption { font-size: 14px; line-height: 2; }
  .qp-table { font-size: 14px; }
  .qp-table th, .qp-table td { line-height: 1.8; }
  .qp-philo li { font-size: 14px; }
  .qp-faq { font-size: 14px; }
  /* TOP */
  .qp-top-sec { font-size: 14px; }
  .qp-top-worry__title { font-size: 16px; }
  .qp-top-worry__lead { font-size: 18px; }
  .qp-top-worry__voice { font-size: 14px; line-height: 2; }
  .qp-top-band__title { font-size: 16px; }
  .qp-top-band__txt { font-size: 14px; line-height: 2; }
  .qp-tabs__btn { font-size: 12px; }
  .qp-tabs__title { font-size: 20px; }
  .qp-tabs__txt { font-size: 14px; line-height: 2; }
  .qp-btn { font-size: 14px; }
  .qp-top-head__en { font-size: 16px; }
  .qp-top-head__ja { font-size: 12px; }
  .qp-top-biz p { font-size: 14px; line-height: 2; }
  .qp-svcband__list { grid-template-columns: 1fr; }
  .qp-svcband__item a { height: 236px; padding: 0 24px 24px; }
  .qp-svcband__title { font-size: 20px; }
  .qp-svcband__txt { display: block; max-height: none; opacity: 1; margin-top: 8px; font-size: 14px; line-height: 2; }
  .qp-top-sales__auto .lib-media__item { display: block !important; padding: 14px 16px; }
  .qp-top-sales__auto .lib-media__txtarea { display: block; }
  .qp-top-sales__auto .lib-media__time { font-size: 12px; }
  .qp-top-sales__auto .lib-media__title { font-size: 14px !important; }
  .qp-top-link__txt { font-size: 14px; line-height: 2; }
  .qp-footer__add { font-size: 14px; }
}
/* v10 縦線の位置（#contents の幅は 1144px なので端に置く） */
body:has(.qp-top-worry) #contents { background: linear-gradient(#e3e3e3, #e3e3e3) 6px 0 / 1px 100% no-repeat, linear-gradient(#e3e3e3, #e3e3e3) calc(100% - 6px) 0 / 1px 100% no-repeat; }
@media (max-width: 1199.98px) { body:has(.qp-top-worry) #contents { background: none; } }
@media (max-width: 767.98px) {
  .qp-top-sales__auto .lib-media__txtarea { display: flex !important; flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
  .qp-top-sales__auto .lib-media__time, .qp-top-sales__auto .lib-media__time p { text-align: left !important; justify-content: flex-start; }
}
/* v10 任意売却：ご相談の流れ・三角（旧サイトと同じ形） */
.qp-steps { max-width: 760px; --bs-gutter-x: 80px; }
.qp-steps li { text-align: center; }
.qp-step__num { display: block; width: 220px; max-width: 80%; margin: 0 auto 10px !important; padding: 4px 0; background: var(--qp-blue); color: #000; font-family: var(--fntBase); font-size: 20px; font-weight: 400; }
.qp-step__title { text-align: center; }
.qp-step__img { max-width: 360px; margin: 0 auto !important; }
.qp-arrow { width: 0; height: 0; margin: 20px auto 30px; border-left: 90px solid transparent; border-right: 90px solid transparent; border-top: 45px solid var(--qp-navy); font-size: 0; line-height: 0; color: transparent; overflow: hidden; }
@media (max-width: 767.98px) {
  .qp-arrow { border-left-width: 80px; border-right-width: 80px; border-top-width: 40px; }
  .qp-step__img { max-width: none; }
}
/* v11 ギャラリー・小見出し線・PC のページ上部へ戻る帯（旧サイトと同じ） */
.qp-gallery { max-width: 760px; margin: 0 auto; }
.qp-gallery img { max-width: 360px; margin: 0 auto; }
.qp-h3 { border-bottom: 1px solid #999; }
.qp-pagetop { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; text-align: center; }
.qp-pagetop a { display: block; height: 50px; position: relative; }
.qp-pagetop a::before { content: ""; position: absolute; left: 50%; top: 22px; width: 10px; height: 10px; margin-left: -5px; border-top: 1px solid #000; border-left: 1px solid #000; transform: rotate(45deg); }
.qp-pagetop a:hover { background: #f5f5f5; }
@media (min-width: 992px) { .qp-footer .lib-pagetop__btn { display: none !important; } }
@media (max-width: 991.98px) { .qp-pagetop { display: none; } }
/* v12 パンくず：先頭を家のアイコンに・高さ60px・下線（旧サイトと同じ） */
.lib-breadcrumb__outer { padding-top: 0; border-bottom: 1px solid #ddd; font-size: 12px; }
.lib-breadcrumb__outer + *, .lib-breadcrumb__outer + .container { margin-top: 0; }
.lib-breadcrumb__inside { max-width: calc(1044px + 1.5rem); }
.lib-breadcrumb__list { align-items: center; height: 60px; padding: 0 .75rem; }
.lib-breadcrumb__list li { padding-left: 34px; }
.lib-breadcrumb__list li::after { color: #8b1a1a; font-size: 10px; left: 13px; }
.lib-breadcrumb__list li a { font-size: 12px; }
.lib-breadcrumb__list li a[aria-current="location"] { color: var(--qp-navy); }
.lib-breadcrumb__list li:first-child a { display: inline-block; width: 13px; height: 13px; overflow: hidden; vertical-align: middle; font-size: 0; line-height: 0; color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .8 0 8.2h2.2V15h4.3v-4.6h3V15h4.3V8.2H16z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat; }
.lib-breadcrumb__list li:first-child a:hover { opacity: .7; }
@media (max-width: 767.98px) {
  .lib-breadcrumb__list { height: 46px; padding: 0 20px; }
}
.lib-breadcrumb__list li:last-child a { color: var(--qp-navy); }
.qp-steps { max-width: 880px; }
/* v14 スマホのページ上部へ戻るボタン：右下に付いた紺の正方形＋白い細い「^」（旧サイトと同じ） */
@media (max-width: 991.98px) {
  .qp-footer .lib-pagetop__btn a { right: 0 !important; bottom: 0 !important; width: 50px !important; height: 50px !important; padding: 0 !important; background: var(--qp-navy) !important; border-radius: 0 !important; box-shadow: none !important; }
  .qp-footer .lib-pagetop__btn a .txt { display: none !important; }
  .qp-footer .lib-pagetop__btn a::after { content: ""; position: absolute; left: 50%; top: 22px; width: 12px; height: 12px; margin-left: -6px; border-top: 1px solid #fff; border-left: 1px solid #fff; transform: rotate(45deg); }
}
@media (max-width: 991.98px) { .qp-footer .lib-pagetop__btn a::after { display: block !important; } }
/* v16 最下部でもボタンを画面右下に固定（BM 標準の is-bottom でフッター上端へ移るのを止める） */
@media (max-width: 991.98px) { .qp-footer .lib-pagetop__btn.is-bottom a, .qp-footer .lib-pagetop__btn a { position: fixed !important; top: auto !important; bottom: 0 !important; right: 0 !important; } }
/* v17 日俣さん指摘（11/24 CR-4）：本文と画像の幅を旧サイトに合わせる（画像360px・間20px→本文620px）。相続の事前対策の文は旧サイトと同じ18px・2行 */
@media (min-width: 992px) {
  .qp-media { gap: 20px; }
  .qp-media__img { flex: 0 0 360px; }
  .qp-catch:not(.qp-media .qp-catch) { font-size: 18px; line-height: 1.5; font-feature-settings: "palt"; }
}
/* v17 SP の事業4枠：タップ（hover）で背景写真がグレーに変わるのを止める */
@media (max-width: 991.98px) {
  .qp-svcband__item a:hover, .qp-svcband__item a:focus-visible, .qp-svcband__item a:active { background: var(--bg) center / cover no-repeat; }
}
/* v17 販売実績の一覧：アイキャッチ（BM 標準の仮画像）を出さない */
.media-post__thumb { display: none !important; }
/* v18 加峰さん指示（11/24）：販売実績の表 No 列を狭く（4em）、768px 以上は折り返さない */
.qp-sales th:first-child, .qp-sales td:first-child { width: 4em; white-space: nowrap; }
@media (min-width: 768px) {
  .qp-sales th, .qp-sales td { white-space: nowrap; }
}
