@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;
  }
} */

/* ==========================================================
   日本臨床検査振興協議会 2026-11-11 追記（ウェブスタからの載せ替え）
   既存サイト https://www.jpclt.org/ の見た目に合わせる
   ========================================================== */
:root { --DEF: #222; --MAIN: #288D2B; --ACC: #37A34A; --LINK: #288D2B; --LMAIN: #eef7ee; --LACC: #f1f8f1; }
:root { --jp-green: #288d2b; --jp-green2: #37a34a; --jp-cream: #fffdfb; --jp-lgreen: #c3e5b0; --jp-box: #f4f8fe; }

/* ---------- 下層の見出し帯（旧サイトの薄い緑の帯＋背景画像） ---------- */
.jp-hero { position: relative; background-color: var(--jp-lgreen); background-size: cover; background-position: center; min-height: 220px; display: flex; align-items: center; justify-content: center; }
.jp-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.35); }
.jp-hero .lib-hero__txtarea { position: relative; z-index: 1; width: 100%; text-align: center; }
.jp-hero .lib-hero__title { color: #222; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: .08em; text-align: center; }
.jp-hero--about  { background-image: url(/dcms_media/image/20211022141841.png); }
.jp-hero--intro  { background-image: url(/dcms_media/image/20211021112016.png); }
.jp-hero--test   { background-image: url(/dcms_media/image/20211022141837.png); }
.jp-hero--med    { background-image: url(/dcms_media/image/20211022141840.png); }
.jp-hero--contact{ background-image: url(/dcms_media/image/20210901171737.jpg); }
.jp-hero--thanks { background-image: url(/dcms_media/image/20210901171739.jpg); }
.jp-hero--policy { background-image: url(/dcms_media/image/20211012114836.jpg); }

/* ---------- セクション共通 ---------- */
.jp-sec { padding-top: 1.5rem; padding-bottom: 1.5rem; }
#dcms_layoutPageBlock > .container + .container, .jp-sec + .jp-sec { margin-top: 0 !important; }
.jp-bg-cream { background-color: var(--jp-cream); box-shadow: 0 0 0 100vmax var(--jp-cream); clip-path: inset(0 -100vmax); }
.jp-bg-img { background-repeat: no-repeat; background-position: 85% 100%; background-size: auto 100%; }
.jp-anchor { display: block; position: relative; top: -110px; visibility: hidden; height: 0; }
.jp-sec p { margin-bottom: .6em; }
.jp-sec a:not(.lib-link__btn) { color: var(--jp-green); text-decoration: underline; text-underline-offset: 3px; }
.jp-sec a:not(.lib-link__btn):hover { text-decoration: none; }
.jp-sec img { max-width: 100%; height: auto; }
.jp-hr { border: 0; border-top: 1px solid #ccc; margin: 1.2em 0; opacity: 1; }

/* ---------- 見出し（旧サイトの block_header_1〜7） ---------- */
.jp-title { margin-bottom: 1.2rem; padding: 0; }
.jp-title .title { margin: 0; }
/* 1：中央・緑・字間広め・上に短い線 */
.jp-title--1 { text-align: center; padding: 1.2rem 0; }
.jp-title--1 .title { color: var(--jp-green); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: .2em; border: 0; padding: 0; background: none; }
.jp-title--1 .title::before { content: ""; display: block; width: 24px; height: 3px; background: var(--jp-green); margin: 0 auto .6em; }
/* 3：緑の帯・白文字・下に白の二重線 */
.jp-title--3 .title, .jp-title--5 .title { background: var(--jp-green); color: #fff; font-size: 1.15rem; font-weight: 700; padding: .65em 1.2em; border: 0; box-shadow: inset 0 -4px 0 var(--jp-green), inset 0 -5px 0 #fff; }
.jp-title--3 .title::before, .jp-title--3 .title::after, .jp-title--5 .title::before, .jp-title--5 .title::after { display: none; }
/* 4：緑の文字 */
.jp-title--4 .title { color: var(--jp-green2); font-size: 1.2rem; font-weight: 700; border: 0; padding: 0; background: none; }
.jp-title--4 .title::before, .jp-title--4 .title::after { display: none; }
/* 6：中央・下線 */
.jp-title--6 { text-align: center; }
.jp-title--6 .title { font-size: 1.5rem; font-weight: 500; display: inline-block; border: 0; border-bottom: 2px solid var(--jp-green); padding: 0 .5em .3em; background: none; }
/* 7・2：緑の丸＋太字 */
.jp-title--7 .title, .jp-title--2 .title { display: flex; align-items: center; gap: .8em; font-size: 1.15rem; font-weight: 700; color: #222; border: 0; padding: 0; background: none; }
.jp-title--7 .title::before, .jp-title--2 .title::before { content: ""; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; background: var(--jp-green); position: static; }
.jp-title__sub { font-size: .8rem; color: #555; margin: .3em 0 0; }
.jp-title--1 .jp-title__sub { text-align: center; }

/* h3（画像＋テキストの中の見出し：■＋下線） */
.jp-h3 { font-size: 1.1rem; font-weight: 500; color: #333; display: inline-block; padding: 0 .4em .4em 1.1em; margin: 0 0 1em; border-bottom: 1px solid #ccc; position: relative; letter-spacing: .05em; }
.jp-h3::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--jp-green2); }
.jp-h3--3 { background: var(--jp-green); color: #fff; display: block; border: 0; padding: .55em 1em; font-weight: 700; }
.jp-h3--3::before { display: none; }
.jp-h3--4 { color: var(--jp-green2); font-weight: 700; border: 0; padding: 0; }
.jp-h3--4::before { display: none; }

/* ---------- 本文 ---------- */
.jp-txt { font-size: 1rem; line-height: 1.9; }
.jp-txt--4 { border: 1px solid #dde3ea; padding: 1.2rem 1.4rem; background: #fff; }
.jp-list { padding-left: 0; }
.jp-list > li { margin-bottom: .4em; }

/* ---------- 画像＋テキスト ---------- */
.jp-imgtxt__img img { width: 100%; height: auto; }

/* ---------- ボタン（ページ内リンク・パンフレット一覧） ---------- */
.jp-btns .lib-link__btn { border: 1px solid var(--jp-green) !important; color: var(--jp-green) !important; background: #fff !important; min-height: 44px; font-size: .9rem; letter-spacing: .05em; text-decoration: none; }
.jp-btns .lib-link__btn:hover { background: var(--jp-green) !important; color: #fff !important; }
.jp-btns .lib-link__btn .txt { width: 100%; }

/* ---------- 表 ---------- */
.jp-table-wrap { overflow-x: auto; }
.jp-table { border-collapse: collapse; }
.jp-table th, .jp-table td { border: 1px solid #d8dde3; padding: .7em 1em; vertical-align: middle; }
.jp-table thead th { background: var(--jp-box); font-weight: 700; text-align: center; }
.jp-table tbody th { background: var(--jp-box); white-space: nowrap; }
.jp-table td p { margin: 0; }
@media (max-width: 767.98px) { .jp-table { min-width: 560px; } }

/* ---------- カード（画像＋見出し＋文） ---------- */
.jp-card { text-align: left; }
.jp-card__thumb { display: block; margin-bottom: .8em; }
.jp-card__thumb img { width: 100%; height: auto; }
.jp-card__title { font-size: 1.05rem; font-weight: 700; color: var(--jp-green); margin: 0 0 .4em; }
.jp-card__title a { color: inherit !important; text-decoration: none !important; }
.jp-card__sub { font-size: .85rem; color: #555; white-space: pre-line; }
.jp-cards .row-cols-lg-5 .jp-card__thumb { margin-bottom: 0; }

/* ---------- 吹き出し（Q&A） ---------- */
.jp-fuki__icon { flex: 0 0 90px; }
.jp-fuki__icon img { width: 90px; height: auto; }
.jp-fuki__body { position: relative; background: #f3f9ef; border-radius: 12px; padding: 1.1em 1.4em; flex: 1; }
.jp-fuki__body .jp-h3 { border: 0; padding-left: 0; display: block; font-weight: 700; color: var(--jp-green); }
.jp-fuki__body .jp-h3::before { display: none; }

/* ---------- フォーム（BowNow） ---------- */
.jp-form { max-width: 860px; margin: 0 auto; }
.jp-form iframe { width: 100%; border: 0; }

/* ---------- 2026-11-11 追記②：ヘッダー・MV・HOME ---------- */
.jp-header .lib-header__logo img { width: auto; height: 52px; max-width: 280px; }
.jp-header .lib-header__logo .thumb { background: transparent; }
@media (min-width: 1200px) {
  .jp-header .lib-nav__btn { font-weight: 700; font-size: .95rem; letter-spacing: .05em; }
  .jp-nav-contact .lib-nav__btn { background: var(--jp-green); color: #fff !important; padding: .6em 1.4em; border-radius: 2px; margin-left: .8em; }
  .jp-nav-contact .lib-nav__btn:hover { opacity: .85; }
}
.jp-mv img { display: block; width: 100%; height: auto; }
.jp-mv { padding: 0 !important; }
/* 最新情報（お知らせ管理の一覧） */
.jp-news .lib-rss__list { max-width: 900px; margin: 0 auto; }
.jp-news .lib-rss__list li { display: flex; gap: 1.5em; padding: .9em .5em; border-bottom: 1px solid #ddd; align-items: center; }
.jp-news .lib-rss__date { color: var(--jp-green); font-weight: 700; flex: 0 0 auto; }
.jp-news .lib-rss__title { margin: 0; }
.jp-news .lib-rss__title a { color: #222; text-decoration: none; }
.jp-news .lib-rss__title a:hover { color: var(--jp-green); text-decoration: underline; }
.jp-news__btn, .jp-sec .lib-link__btn.jp-news__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 50px; border: 1px solid var(--jp-green); color: var(--jp-green) !important; background: #fff; text-decoration: none !important; }
.jp-news__btn:hover { background: var(--jp-green); color: #fff !important; }
/* 会員団体のロゴ（5列） */
.jp-cards .row-cols-lg-5 .jp-card__txt:empty, .jp-card__txt:has(> :only-child:empty) { display: none; }
.jp-cards .row-cols-lg-5 .jp-card { background: #fff; display: flex; align-items: center; justify-content: center; padding: .5em; }
/* 追従バナー（見本）を出さない */
.lib-fixed__bnr { display: none !important; }

/* ---------- 2026-11-11 追記③：既存サイトとの見比べ（Wチェック） ---------- */
/* 見出し1：大は緑38px・字間広め、小（h）は黒の太字 */
.jp-title--1 .title { font-size: clamp(1.5rem, 2.6vw, 2.375rem); font-weight: 500; letter-spacing: .18em; }
.jp-title--1 .jp-title__sub { font-size: 1.05rem; font-weight: 600; color: #222; letter-spacing: .02em; margin-top: .2em; }
.jp-title--1s { text-align: center; padding: .8rem 0 0; }
.jp-title--1s .title { font-size: 1.05rem; font-weight: 600; color: #222; letter-spacing: .02em; border: 0; padding: 0; background: none; }
.jp-title--1s .title::before { content: ""; display: block; width: 30px; height: 3px; background: var(--jp-green); margin: 0 auto .9em; }
/* 見出し6：見出し1と同じ形 */
.jp-title--6 { text-align: center; padding: 1.2rem 0; }
.jp-title--6 .title { display: block; color: var(--jp-green); font-size: clamp(1.5rem, 2.6vw, 2.375rem); font-weight: 500; letter-spacing: .18em; border: 0; padding: 0; background: none; }
.jp-title--6 .title::before { content: ""; display: block; width: 30px; height: 3px; background: var(--jp-green); margin: 0 auto .6em; }
/* 見出し2：■＋下線（丸ではない） */
.jp-title--2 .title { display: inline-block; position: relative; font-size: 1.3rem; font-weight: 400; color: #222; padding: 0 .5em .3em 1.2em; border: 0; border-bottom: 1px solid #ccc; background: none; }
.jp-title--2 .title::before { content: ""; position: absolute; left: 5px; top: .7em; flex: none; width: 6px; height: 6px; border-radius: 0; background: var(--jp-green2); }
/* 背景写真の帯（HOME「日本臨床検査振興協議会について」） */
.jp-bg-photo { background-size: cover; background-position: center; padding-top: 5rem; padding-bottom: 5rem; box-shadow: none; clip-path: none; max-width: none; }
.jp-bg-photo .jp-title { margin: 0; }
.jp-bg-photo .jp-title .title { color: #fff; }
.jp-bg-photo .jp-title .title::before { background: #fff; }
/* 中央ぞろえのブロック・横幅いっぱいのカード */
.jp-center .jp-card, .jp-center .jp-card__title { text-align: center; }
.jp-full { max-width: none; padding-left: 3%; padding-right: 3%; }
/* カード：タイトルが画像の上（旧 block_images_3） */
.jp-card--ttop .jp-card__title { font-size: 1.15rem; margin-bottom: .6em; }
.jp-card--ttop .jp-card__txt:has(> :only-child:empty), .jp-card--ttop .jp-card__txt:empty { display: none; }
.jp-cards .row-cols-lg-5 .jp-card--ttop { display: block; background: none; padding: 0; text-align: left; }
.jp-cards .row-cols-lg-5 .jp-card--ttop .jp-card__thumb img { width: auto; max-width: 100%; }
/* ボタン一覧は中央ぞろえ（最後の段も中央） */
.jp-btns .lib-anchor__list { justify-content: center; }
/* 表の見出しセル：薄い青に黒の太字 */
.jp-table th, .jp-table tbody th { color: #222 !important; font-weight: 700; text-align: center; background: var(--jp-box) !important; }
/* 画像＋テキスト（上下に並ぶ型・白い箱の型） */
.jp-imgtxt__img--stack img { width: 100%; }
.jp-block_image_text_11 .row, .jp-block_image_text_12 .row { background: #fff; border: 1px solid #e5e5e5; margin-left: 0; margin-right: 0; }
.jp-block_image_text_11 .jp-imgtxt__img, .jp-block_image_text_12 .jp-imgtxt__img { padding: 0; }
.jp-block_image_text_11 .jp-imgtxt__txt, .jp-block_image_text_12 .jp-imgtxt__txt { padding: 1.5rem; }
/* 最新情報：› 日付　タイトル を1行で */
.jp-news .lib-rss__list li { flex-wrap: nowrap; gap: 2em; padding: .7em .3em; }
.jp-news .lib-rss__date { color: #222; font-weight: 400; position: relative; padding-left: 1em; }
.jp-news .lib-rss__date::before { content: "›"; position: absolute; left: 0; color: var(--jp-green); }
.jp-news .lib-rss__title { flex: 1 1 auto; width: auto !important; }
@media (max-width: 575.98px) { .jp-news .lib-rss__list li { flex-wrap: wrap; gap: .3em 1em; } }
/* フッター：緑の帯・リンクを中央に横並び・ロゴは下 */
.jp-footer { background: var(--jp-green) !important; color: #fff; border-top: 0; }
.jp-footer .lib-footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 3.5rem; padding-bottom: 1rem; }
.jp-footer .lib-footer__nav { order: 1; width: 100%; }
.jp-footer .lib-footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6em 1.4em; margin: 0 auto; padding: 0; max-width: 860px; }
.jp-footer .lib-footer__item { width: auto; margin: 0; border: 0; }
.jp-footer .lib-footer__item a { color: #fff !important; font-size: .82rem; letter-spacing: .12em; text-decoration: none; padding: 0; }
.jp-footer .lib-footer__item a:hover { text-decoration: underline; }
.jp-footer .lib-footer__logo { order: 2; margin: 2.2rem auto 1.6rem; }
.jp-footer .lib-footer__logo img { width: 180px; height: auto; }
.jp-footer .lib-footer__copy { order: 3; width: 100%; color: #fff; font-size: .75rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1em; margin: 0; }

/* ===== 2026-11-12 追記④：トップ「協議会について」の写真帯を横幅いっぱい・上下に余白 ===== */
html, body { overflow-x: clip; }
.jp-bg-photo { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 5rem; margin-bottom: 5rem; padding-top: 6rem; padding-bottom: 6rem; }
@media (max-width: 767.98px) { .jp-bg-photo { margin-top: 3rem; margin-bottom: 3rem; padding-top: 4rem; padding-bottom: 4rem; } }

/* ===== 2026-11-12 追記⑤：記事ページの「最終更新日」を非表示 ===== */
.media-post__time p:has(time[itemprop="datemodified"]) { display: none; }

/* ===== 2026-11-12 追記⑥：トップ 最新情報一覧ボタンと写真帯の間に余白（旧サイトに合わせる） ===== */
.container.jp-sec.jp-news { padding-bottom: 5rem; }
@media (max-width: 767.98px) { .container.jp-sec.jp-news { padding-bottom: 3rem; } }

/* ===== 2026-11-12 追記⑦：トップを既存サイトの実測に合わせる ===== */
/* MV：旧サイトと同じく横長に切り抜く（1489px幅で高さ約428px）、MV直後にロゴ帯 */
.jp-mv img { width: 100%; height: auto; aspect-ratio: 1489 / 428; object-fit: cover; object-position: 50% 50%; max-height: 600px; }
.jp-mv + #contents { padding-top: 0; }
/* 見出しの背景画像（犬つきの白い箱 1300px）は原寸のまま中央に置く */
.jp-bg-img { background-size: auto; }
/* 写真帯：上下の余白はブロック側（旧サイトの値）で持つ */
.jp-bg-photo { margin-top: 0; margin-bottom: 0; }
/* 横幅いっぱい（左右30px）のブロック：臨床検査について4枚・出版物等リンク・関連団体 */
.container.jp-sec.jp-wide { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: 30px; padding-right: 30px; }
.container.jp-sec.jp-w1300 { width: min(1300px, 100vw); max-width: none; margin-left: calc(50% - min(650px, 50vw)); margin-right: calc(50% - min(650px, 50vw)); }
/* 臨床検査について4枚：画像の枠を同じ大きさにして中に収める（旧 336×186） */
.jp-block_images_1 .jp-card__thumb { display: block; }
.jp-block_images_1 .jp-card__thumb img { width: 100%; height: auto; aspect-ratio: 336 / 186; object-fit: contain; }
.jp-block_images_1 .jp-card__title { margin-top: .25rem; }
/* 出版物等リンク：画像は列の幅いっぱい */
.jp-wide.jp-block_images_3 .jp-card--ttop .jp-card__thumb img { width: 100%; max-width: none; height: auto; }

/* ===== 2026-11-12 追記⑧：大見出しの太さ・カードタイトルの大きさを既存サイトに合わせる ===== */
.jp-title--1 .title, .jp-title--6 .title { font-weight: 400; }
.jp-block_images_1 .jp-card__title { font-size: 1.25rem; }
@media (max-width: 767.98px) { .jp-block_images_1 .jp-card__title { font-size: 1.125rem; } }

/* ===== 2026-11-12 追記⑨：横幅いっぱいのブロックの左右30px（BM標準の padding 0 に負けていた） ===== */
#contents .container.jp-sec.jp-wide { padding-left: 30px !important; padding-right: 30px !important; }
@media (max-width: 767.98px) { #contents .container.jp-sec.jp-wide { padding-left: 16px !important; padding-right: 16px !important; } }

/* ===== 2026-11-12 追記⑩：下層の犬の背景（旧サイトどおり） ===== */
/* 協議会について：背景は枠に収める（contain）。トップの最新情報は原寸のまま（style に padding-top があるのはトップだけ） */
.jp-bg-img[style*="20211014164022"]:not([style*="padding-top"]) { background-size: contain; }
/* お問い合わせ：上下60pxで犬が全部見えるように */
.container.jp-sec.jp-bg-img[style*="20211014165222"] { padding-top: 60px; padding-bottom: 60px; }

/* ===== 2026-11-12 追記⑪：お問い合わせの犬（旧サイトと同じく画面幅の中央に1300pxの画像を置く。本文の幅はそのまま） ===== */
#contents .container.jp-sec.jp-bg-img[style*="20211014165222"] { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: max(16px, calc(50vw - 560px)) !important; padding-right: max(16px, calc(50vw - 560px)) !important; }

/* ===== 2026-11-12 追記⑫：ページ内リンク（アンカー）ボタンの見た目を整える ===== */
/* 続けて置いたボタンのブロックの間を詰める */
.jp-btns + .jp-btns { padding-top: 0 !important; }
.jp-btns:has(+ .jp-btns) { padding-bottom: 12px !important; }
.jp-btns .lib-anchor__list:has(.ico-after-arrD) { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
/* 高さをそろえ、文字は中央、矢印は右端に固定 */
.jp-btns .lib-link__btn.ico-after-arrD { position: relative; min-height: 72px; padding: 12px 48px !important; align-items: center; justify-content: center !important; transition: background-color .2s, color .2s; }
.jp-btns .lib-link__btn.ico-after-arrD .txt { position: static !important; flex: 1; display: flex !important; align-items: center; justify-content: center !important; text-align: center; padding: 0 !important; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
.jp-btns .lib-link__btn.ico-after-arrD .txt::after { position: absolute; right: 20px; top: 50%; margin: 0 !important; translate: 0 -50%; }
.jp-btns .lib-link__btn.ico-after-arrD:hover { background-color: var(--jp-green, #288D2B) !important; color: #fff !important; }
.jp-btns .lib-link__btn.ico-after-arrD:hover .txt { color: #fff; }
@media (max-width: 767.98px) { .jp-btns .lib-link__btn.ico-after-arrD { min-height: 60px; } }

/* ===== 2026-11-12 追記⑬：協議会について「目的と事業」の見出し：犬を白い箱（インナー）の右端にそろえ、文字に重ねない ===== */
/* 画像（1300×200、右側に犬・その右に余白）を幅90%にして右へずらし、犬の右端＝箱の右端に。箱は地色を白にして画像のずれを見せない */
.container.jp-sec.jp-bg-img[style*="20211014164022"]:not([style*="padding-top"]) { background-color: #fff; background-size: 90% auto; background-position: 230% 100% !important; }
@media (max-width: 767.98px) { .container.jp-sec.jp-bg-img[style*="20211014164022"]:not([style*="padding-top"]) { padding-bottom: 3.5rem !important; } }

/* ===== 2026-11-13 追記⑭：お問い合わせの犬（RKSK-3 山口さんFB「導入文のアイコンを修正」） ===== */
/* 画像は1300×200で犬は左端（x105〜223）。旧サイトと同じく画面中央に置き、文章と重ねない */
#contents .container.jp-sec.jp-bg-img[style*="20211014165222"] { background-position: 50% 50%; background-size: auto; }
/* 1100px未満は犬が文章に重なる・画面外に出るので、犬だけを文章の上に中央で出す */
@media (max-width: 1099.98px) {
  #contents .container.jp-sec.jp-bg-img[style*="20211014165222"] { background-position: calc(50% + 486px) 20px; background-size: auto; padding-top: 220px !important; padding-bottom: 40px !important; }
}

/* ===== 2026-11-13 追記⑮：スマホの余白（加峰さん実機確認「余白が気になる」） ===== */
/* 旧サイトPCの実測で入れた上下余白（60〜100px）をスマホでは詰める。0px のブロックはそのまま */
@media (max-width: 767.98px) {
  #contents .container.jp-sec[style*="padding-top"]:not([style*="padding-top: 0px"]):not([style*="padding-top:0px"]) { padding-top: 32px !important; }
  #contents .container.jp-sec[style*="padding-bottom"]:not([style*="padding-bottom: 0px"]):not([style*="padding-bottom:0px"]) { padding-bottom: 32px !important; }
  #contents .container.jp-sec.jp-bg-photo { padding: 56px 16px !important; }
  /* 写真帯の大見出しが画面の端からはみ出さないよう、字間を詰めて小さく */
  .jp-bg-photo .lib-title__outer .title { font-size: 1.25rem; letter-spacing: .06em; }
  /* カードの見出しが「教／育」のように途中で折れないよう少し小さく */
  .jp-cards .jp-card__title { font-size: 1rem; }
}
/* カード並びの空き枠（&nbsp; だけの col）は、スマホ・タブレットでは行ごと空白になるので出さない */
@media (max-width: 991.98px) {
  .jp-cards .row > .col:not(:has(*)) { display: none !important; } /* .d-flex の !important に勝つため */
}

/* ===== 2026-11-16 追記⑯：Google 翻訳ボタン（既存サイトと同じ右上。custom.js で設置） ===== */
.jp-translate { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #288d2b; }
/* aria-hidden の svg は BM の :where([aria-hidden="true"]){display:none} で消えるので戻す */
.jp-translate .jp-translate__icon { display: block !important; width: 30px; height: 30px; fill: currentColor; pointer-events: none; }
/* 言語選択（select）を透明にしてアイコンに重ねる。押すと言語の一覧が開く */
.jp-translate #google_translate_element { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.jp-translate #google_translate_element .goog-te-gadget { font-size: 0; line-height: 0; }
.jp-translate #google_translate_element .goog-te-gadget > span { display: none; } /* 「Powered by Google」のロゴ（パネルで切れて見えるため） */
.jp-translate #google_translate_element select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; font-size: 16px; }
.jp-translate:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.lib-nav__item.jp-nav-translate { display: flex; align-items: center; margin-left: 8px; }
/* スマホ・タブレット：メニューボタンの左に置く */
@media (max-width: 991.98px) {
  .lib-header__bar > .jp-translate { position: absolute; top: 8px; right: calc(var(--jp-menu-w, 60px) + 6px); z-index: 2; cursor: pointer; }
  /* スマホ：透明の重ね方をやめ、アイコンを押すと下に言語の選択欄を出す（iPhone で押せなかったため） */
  .lib-header__bar > .jp-translate #google_translate_element { display: none; inset: auto; top: calc(100% + 8px); right: -66px; width: 200px; padding: 10px; opacity: 1; overflow: visible; background: #fff; border: 1px solid #288d2b; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
  .lib-header__bar > .jp-translate.is-open #google_translate_element { display: block; }
  /* iPhone（Safari）は select の height を無視し、Google の line-height:0 を引き継いで高さ0になるため、見た目を自前にして高さを効かせる */
  .lib-header__bar > .jp-translate #google_translate_element .goog-te-gadget,
  .lib-header__bar > .jp-translate #google_translate_element .goog-te-gadget > div { display: block; line-height: 1.5; }
  .lib-header__bar > .jp-translate #google_translate_element select { position: static; display: block; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0 32px 0 10px; line-height: 44px; font-size: 16px; color: #333; border: 1px solid #ccc; border-radius: 4px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23288d2b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 8px; }
  /* ロゴと翻訳アイコンが重ならないよう、ロゴの幅を「画面幅－メニューボタン－翻訳アイコン」までに */
  .lib-header__bar .lib-header__logo { width: min(280px, calc(100vw - 146px)); }
  .lib-header__bar .lib-header__logo img { width: 100%; height: auto; }
}

/* 協議会の会員団体ロゴ（トップ MV 下）：見出しのない空の行（&nbsp;）がロゴの上に入り、スマホで間が空くので出さない */
@media (max-width: 767.98px) {
  .jp-cards .jp-card__txt:not(:has(*)) { display: none; }
  .jp-cards .row:has(.jp-card__txt:not(:has(*))) { --bs-gutter-y: 12px; }
}

/* ===== 2026-11-16 追記⑰：トップ「出版物等へのリンク」「関連団体サイトへのリンク」の左右余白を「臨床検査について」のカードにそろえる（PC） ===== */
/* 臨床検査についてのカードは画像を contain で置くため、見た目の端が 30px より内側（1920px で約44px）。カード並びと見出しも同じくらい内側に */
@media (min-width: 992px) {
  #contents .container.jp-sec.jp-wide.jp-hp,
  #contents .container.jp-sec.jp-wide.jp-block_images_3 { padding-left: calc(36px + .8vw) !important; padding-right: calc(36px + .8vw) !important; }
}

/* ===== 2026-11-30 ⑱ 最新情報のサイドバー：カテゴリは既存サイトと同じ一覧1つに（RKSK-3 山口さん依頼） ===== */
/* ボタン形式のカテゴリ枠と、タグを使わないため空になるタグ枠を隠す。一覧形式（--tree）の枠は custom.js で「全てのカテゴリー」を足して並べ替える */
.media-column__side .media-side__box:has(.lib-media__category) { display: none; }
.media-column__side .media-side__box:not(:has(.media-side__inside)) { display: none; }
