@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;
  }
} */

/* ======================================================================
   ミナトメンテナンス株式会社 専用スタイル（BM載せ替え 2026-09-02）
   ====================================================================== */

/* --- ヘッダー：白背景・視認性優先（ロゴがカラーのため透明ヘッダーは不採用） --- */
.lib-header__outer,
.lib-header__bar { background-color:#fff; box-shadow:0 2px 6px rgba(0,0,0,.08); }
.lib-header__logo img { max-height:56px; width:auto; }

/* --- FV（メインビジュアル）：全スライド同一画像のためナビ非表示・高さ調整 --- */
.lib-fv-004 .lib-swiper__btn,
.lib-fv-004 .lib-fv__control,
.lib-fv-004 .swiper-button-prev,
.lib-fv-004 .swiper-button-next { display:none !important; }
.lib-fv-004, .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide { height:70vh !important; max-height:640px; }
.lib-fv-004 .lib-fv__thumb img { width:100%; height:100%; object-fit:cover; }
@media (max-width:575px){
  .lib-fv-004, .lib-fv-004__outer,
  .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide, .lib-fv-004 .swiper-slide { height:60vw !important; min-height:220px; }
}

/* --- 下層ページMV（JSで .lib-header__outer 直後に挿入） --- */
.custom-page-mv{
  width:100%; height:clamp(150px,25vw,220px);
  background-size:cover; background-position:center; background-repeat:no-repeat;
  position:relative;
}
.custom-page-mv::after{ content:""; position:absolute; inset:0; background:rgba(0,0,0,.35); }
.custom-mv-title{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; height:100%; }
.custom-mv-title p{
  color:#fff; font-size:clamp(1.4rem,3.5vw,2.2rem); font-weight:bold;
  letter-spacing:.1em; text-shadow:0 2px 8px rgba(0,0,0,.45); margin:0;
}

/* --- フォーム・サイトマップ・送信完了は共通CV二重表示を防止 --- */
body:has(#contact-form) .lib-cta__outer,
body:has(.lib-contact__outer) .lib-cta__outer,
body:has(.lib-mail__outer) .lib-cta__outer,
body:has(.lib-sitemap__outer) .lib-cta__outer,
body:has(.lib-complete__outer) .lib-cta__outer{ display:none; }

/* --- 固定フローティングバナー（BM初期テンプレ）非表示 --- */
.lib-fixed__bnr, .lib-fixed__bnr.js-fixed__bnr{ display:none !important; }

/* --- カード：不要枠線除去・空ボタン非表示（BM定番ズレ対策） --- */
.lib-card__item.border-main{ border:none !important; }
.lib-card__btn:not(:has(a)){ display:none !important; }

/* --- 下層見出し用（事業内容の横並び画像左テキスト右） --- */
.section-biz .lib-wrr-001__inner{ align-items:center; }

/* --- SP：画像ハードコード幅解除・テーブル全幅 --- */
@media (max-width:767px){
  .lib-tbl-001, .lib-tbl-001 table{ width:100% !important; max-width:100% !important; table-layout:auto; }
}
@media (max-width:575px){
  #dcms_layoutPageBlock img[style*="width"]{ width:100% !important; height:auto !important; }
}

/* ======================================================================
   ミナト 見た目調整 v2（既存サイト準拠：明朝見出し/透明ヘッダー/横並びナビ）
   ====================================================================== */
/* 見出しは明朝体（既存準拠） */
h1,h2,h3,.lib-ttl-001__main,.custom-mv-title p,.lib-cta-BS01__inside .title,.custom-hero-title,.home-sec__ttl{
  font-family:"Times New Roman","游明朝","Yu Mincho",游明朝体,YuMincho,"ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",HiraMinProN-W3,"ＭＳ Ｐ明朝","MS PMincho",serif !important;
}

/* 透明ヘッダー */
.custom-header .lib-header__bar{ background:transparent !important; box-shadow:none !important; transition:background-color .3s, box-shadow .3s; }
.custom-header .lib-header__logo img{ max-height:60px; width:auto; }
/* デスクトップ横並びナビ */
.custom-gnav{ display:none; margin-left:auto; }
.custom-gnav__list{ display:flex; align-items:center; gap:1.6em; list-style:none; margin:0; padding:0; }
.custom-gnav__list a{ color:#fff; text-decoration:none; font-size:.95rem; letter-spacing:.04em; text-shadow:0 1px 4px rgba(0,0,0,.45); transition:color .2s; }
.custom-gnav__list a:hover{ color:#ff4b54; }
@media(min-width:992px){
  .custom-header .custom-gnav{ display:block; }
  .custom-header .lib-header__nav{ display:none; }
}
/* スクロール時：白背景＋濃色ナビ */
.header-scrolled .lib-header__bar{ background:#fff !important; box-shadow:0 2px 8px rgba(0,0,0,.15); }
.header-scrolled .custom-gnav__list a{ color:#1a1a1a; text-shadow:none; }
.header-scrolled .custom-gnav__list a:hover{ color:#ff4b54; }

/* HOMEのグレーボタン（既存準拠） */
.home-btn{ display:inline-block; padding:14px 64px; background:#c1c1c1; color:#1a1a1a; text-decoration:none; letter-spacing:.1em; font-size:.95rem; transition:background .2s,color .2s; }
.home-btn:hover{ background:#ff4b54; color:#fff; }

/* HOMEセクション見出し（ヒーロー明朝） */
.custom-hero-title{ font-size:clamp(1.6rem,3.5vw,2.4rem); text-align:center; letter-spacing:.12em; margin:0; }

/* 事業内容3画像 */
.home-biz3{ display:flex; gap:0; max-width:920px; margin:0 auto; }
.home-biz3 img{ width:33.333%; aspect-ratio:1/1; object-fit:cover; display:block; }
/* SPでも3画像を3横並びに（既存準拠） */
@media(max-width:767px){ .home-biz3{flex-wrap:nowrap} .home-biz3 img{width:33.333%} }

/* 代表挨拶バナー */
.home-banner{ position:relative; max-width:920px; margin:0 auto; }
.home-banner img{ width:100%; display:block; }
.home-banner .home-btn{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(193,193,193,.92); }

/* 採用3人物 */
.home-recruit3{ display:flex; gap:0; }
.home-recruit3 a{ position:relative; flex:1; display:block; overflow:hidden; }
.home-recruit3 img{ width:100%; height:340px; object-fit:cover; display:block; transition:transform .4s; }
.home-recruit3 a:hover img{ transform:scale(1.05); }
.home-recruit3 .label{ position:absolute; left:16px; bottom:16px; color:#fff; font-size:1.05rem; font-weight:bold; text-shadow:0 2px 6px rgba(0,0,0,.6); z-index:1; }
.home-recruit3 a::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.45)); }
@media(max-width:767px){ .home-recruit3{flex-direction:column} .home-recruit3 img{height:220px} }

/* CONTACT画像セクション */
.home-contact{ position:relative; max-width:920px; margin:0 auto; display:block; text-decoration:none; }
.home-contact img{ width:100%; height:200px; object-fit:cover; display:block; filter:brightness(.5); }
.home-contact .in{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; }
.home-contact .en{ font-size:1.8rem; letter-spacing:.15em; }
.home-contact .ja{ font-size:.95rem; margin-top:6px; }

/* HOMEでは共通CTA帯を非表示（HOMEはlib-fv-004を持つ） */
body:has(.lib-fv-004) .lib-cta__outer{ display:none; }

/* ===== ヘッダー横並びナビ 上書き強化（BM既定に勝つ）===== */
.custom-header .custom-gnav__list{ display:flex !important; align-items:center; gap:1.7em !important; list-style:none !important; margin:0 !important; padding:0 !important; }
.custom-header .custom-gnav__list li{ list-style:none !important; display:block !important; margin:0 !important; padding:0 !important; background:none !important; }
.custom-header .custom-gnav__list li::before,.custom-header .custom-gnav__list li::marker{ content:none !important; display:none !important; }
.custom-header .custom-gnav__list a{ color:#fff !important; text-decoration:none !important; font-size:.95rem; letter-spacing:.04em; text-shadow:0 1px 5px rgba(0,0,0,.55); white-space:nowrap; }
.custom-header .custom-gnav__list a:hover{ color:#ff4b54 !important; }
.header-scrolled .custom-gnav__list a{ color:#1a1a1a !important; text-shadow:none; }
.header-scrolled .custom-gnav__list a:hover{ color:#ff4b54 !important; }
@media(min-width:992px){
  .custom-header .custom-gnav{ display:block !important; }
  .custom-header .lib-header__nav{ display:none !important; }
}
@media(max-width:991px){
  .custom-header .custom-gnav{ display:none !important; }
  .custom-header .lib-header__nav{ display:flex !important; }
}
/* ロゴ白背景ボックスを馴染ませる（透明化） */
.custom-header .lib-header__logo img{ mix-blend-mode:normal; }

/* SPボタン微調整（縦折れ防止） */
@media(max-width:575px){
  .home-btn{ padding:12px 32px !important; letter-spacing:.05em; white-space:nowrap; }
  .home-banner .home-btn{ padding:10px 26px !important; }
  .home-recruit3 img{ height:200px; }
}

/* ======================================================================
   ミナト 見た目調整 v3（既存合わせ込み・指摘対応 2026-09-04）
   ====================================================================== */
/* MV フルスクリーン化 */
.lib-fv-004, .lib-fv-004 .lib-fv__slider, .lib-fv-004 .lib-fv__slide { height:100vh !important; max-height:none !important; }
@media(max-width:575px){ .lib-fv-004,.lib-fv-004__outer,.lib-fv-004 .lib-fv__slider,.lib-fv-004 .lib-fv__slide,.lib-fv-004 .swiper-slide{ height:70vh !important; min-height:340px; } }

/* ロゴ白背景を除去（乗算合成／MV上は透明・スクロール時は通常）*/
.custom-header .lib-header__logo img{ mix-blend-mode:multiply; }
.header-scrolled .lib-header__logo img{ mix-blend-mode:normal; }

/* ボタンホバー：既存準拠（濃グレー#333＋白文字。赤にしない）*/
.home-btn:hover{ background:#333 !important; color:#fff !important; }
.home-banner .home-btn{ background:rgba(193,193,193,.92); }
.home-banner .home-btn:hover{ background:#333 !important; }

/* 採用ラベル：ゴシック（既存準拠）*/
.home-recruit3 .label{ font-family:"Hiragino Sans","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN",游ゴシック,YuGothic,メイリオ,Meiryo,sans-serif !important; font-weight:500; }

/* CONTACT共通バナーはHOMEでも表示（サイト共通フッターバナー）*/
body:has(.lib-fv-004) .lib-cta__outer{ display:block !important; }

/* 署名 筆書き風 */
.sign-name{ font-family:"Yuji Syuku","游明朝","Yu Mincho",serif !important; font-size:1.7rem; letter-spacing:.18em; }

/* 会社情報：ティール見出し＋マーカーリスト＋地図 */
.comp-ttl{ border-bottom:2px solid #013e74 !important; padding-bottom:10px; margin-bottom:28px; font-size:1.4rem; font-weight:bold; }
.comp-row{ display:flex; gap:16px; padding:16px 0; align-items:flex-start; border-bottom:1px dotted #ddd; }
.comp-row .mk{ display:inline-block; width:14px; height:14px; background:#4a90a4; margin-top:5px; flex:0 0 auto; }
.comp-row .lb{ width:120px; flex:0 0 auto; font-weight:bold; }
.comp-map{ width:100%; height:260px; border:0; margin-top:10px; display:block; }
/* SP：住所・地図を右寄りにせず全幅表示（既存準拠）。ラベル行の下に値を全幅で置く */
@media(max-width:575px){
  .comp-row{ flex-wrap:wrap; }
  .comp-row .lb{ width:auto; }
  .comp-row > div{ flex:1 1 100% !important; width:100% !important; margin-top:4px; }
  .comp-map{ width:100% !important; height:220px; }
}

/* 事業内容：2列カードグリッド（画像＋見出しオーバーレイ）*/
.biz-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.biz-grid a{ position:relative; display:block; overflow:hidden; text-decoration:none; }
.biz-grid img{ width:100%; height:270px; object-fit:cover; display:block; transition:transform .4s; }
.biz-grid a:hover img{ transform:scale(1.05); }
.biz-grid .cap{ position:absolute; left:0; right:0; bottom:0; color:#fff; padding:16px; font-weight:bold; font-size:1rem; line-height:1.5; background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.65)); font-family:"Hiragino Sans",游ゴシック,YuGothic,Meiryo,sans-serif; }
@media(max-width:767px){ .biz-grid{grid-template-columns:1fr} .biz-grid img{height:220px} }

/* 採用テーブル（既存風・ゴシック見出し）*/
.rec-ttl{ border-bottom:2px solid #4a90a4 !important; padding-bottom:8px; margin:44px 0 20px; font-size:1.3rem; font-weight:bold; font-family:"Hiragino Sans",游ゴシック,YuGothic,Meiryo,sans-serif !important; }
.rec-tbl{ width:100%; border-collapse:collapse; }
.rec-tbl th,.rec-tbl td{ border:1px solid #ddd; padding:14px 16px; text-align:left; vertical-align:top; font-weight:normal; line-height:1.8; }
.rec-tbl th{ width:180px; background:#f5f5f5; white-space:nowrap; }
@media(max-width:575px){ .rec-tbl th{ width:110px; white-space:normal; } .rec-tbl th,.rec-tbl td{ padding:10px 8px; font-size:.9rem; } }

/* ======================================================================
   ミナト 見た目調整 v4（指摘対応 2026-09-04-2）
   ====================================================================== */
/* 下層MVタイトル(既存準拠でh2)を白に */
.custom-mv-title h1,.custom-mv-title h2{
  color:#fff !important; font-size:clamp(1.4rem,3.5vw,2.2rem); font-weight:bold;
  letter-spacing:.1em; text-shadow:0 2px 8px rgba(0,0,0,.5); margin:0; line-height:1.2;
}

/* ロゴ：透過ロゴに差し替えたため乗算合成を解除 */
.custom-header .lib-header__logo img,
.header-scrolled .lib-header__logo img{ mix-blend-mode:normal !important; }

/* 会社概要 見出し：既存準拠（ゴシック16px・normal・黒・teal4px下線） */
.comp-ttl{
  font-family:"Hiragino Sans","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN",游ゴシック,YuGothic,メイリオ,Meiryo,sans-serif !important;
  font-size:16px !important; font-weight:400 !important; color:#000 !important;
  border-bottom:4px solid #559ba5 !important; padding-bottom:12px; margin-bottom:28px;
}

/* 採用：項目タイトル（【業務内容】等 th）が白文字になっていたので黒に */
.rec-tbl th{ color:#1a1a1a !important; }

/* ロゴリンクの白背景を除去（BM既定の .lib-header__logo a 背景白が白ボックスの正体） */
.custom-header .lib-header__logo a{ background:transparent !important; padding:0 !important; }

/* HOME（FVあり）ではmain#contentsの上部オフセットを削減しMV直下の余白を詰める */
body:has(.lib-fv-004) #contents{ padding-top:0 !important; }

/* お知らせ(/media/)：グレー見出しを隠す（JSで道路写真MVを挿入） */
body:has(.media-post__article) .lib-hero__outer{ display:none !important; }
/* お知らせ記事詳細：カバー画像(ロゴ)は表示しない（一覧サムネのみロゴ） */
.media-post__image{ display:none !important; }

/* ======================================================================
   ミナト 見た目調整 v5（ヘッダー/グローバルメニュー 既存完全準拠 2026-09-04-3）
   ====================================================================== */
/* ★ロゴ白ボックスの真因：.lib-header__bar の transform(matrix) が合成レイヤーを作り
   透過ロゴの背後を白く塗っていた。transformとロゴaのbox-shadowを除去して解消 */
.custom-header .lib-header__outer,
.custom-header .lib-header__inner,
.custom-header .lib-header__bar{ transform:none !important; will-change:auto !important; filter:none !important; }
.custom-header .lib-header__logo a{ box-shadow:none !important; background:transparent !important; padding:0 !important; }
.custom-header .lib-header__logo .thumb{ background:transparent !important; box-shadow:none !important; }

/* ロゴサイズ・位置（既存：約150×101・左余白40・上寄せ） */
.custom-header .lib-header__bar{ padding:0 40px !important; display:flex; align-items:center; }
.custom-header .lib-header__logo{ padding:0 !important; }
.custom-header .lib-header__logo img{ height:84px !important; width:auto !important; max-height:none !important; }

/* グローバルナビ：既存準拠（ヒラギノゴシック14px・normal・字間normal・影なし・白） */
.custom-header .custom-gnav__list{ gap:2.1em !important; }
.custom-header .custom-gnav__list a{
  font-family:"Hiragino Sans","ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN",游ゴシック,YuGothic,メイリオ,Meiryo,sans-serif !important;
  font-size:14px !important; font-weight:400 !important; letter-spacing:normal !important; text-shadow:none !important;
}
.header-scrolled .custom-gnav__list a{ text-shadow:none !important; }
@media(max-width:575px){
  .custom-header .lib-header__bar{ padding:0 16px !important; }
  .custom-header .lib-header__logo img{ height:56px !important; }
}

/* ★MV下の余白の真因：FVスライドは100vh(900px)だが内側の画像(thumb)が600pxで
   下に約300pxの空白ができていた。thumb/imgをスライド全高に伸ばして解消 */
.lib-fv-004 .lib-fv__thumb{ height:100% !important; }
.lib-fv-004 .lib-fv__thumb img{ height:100% !important; width:100% !important; object-fit:cover !important; }
@media(max-width:575px){
  .lib-fv-004 .lib-fv__thumb, .lib-fv-004 .lib-fv__thumb img{ height:100% !important; }
}

/* ======================================================================
   ミナト 見た目調整 v6（指摘対応 2026-09-04-4）
   ====================================================================== */
/* TOPお知らせ：リスト項目先頭の●（BM既定 li::before）を除去 */
.lib-home ul li::before{ content:none !important; display:none !important; }
.lib-home ul li::marker{ content:none !important; }
.lib-home ul{ list-style:none !important; }
/* TOPお知らせのタイトル（<p class="custom-hero-title">お知らせ</p>）を太字に */
p.custom-hero-title{ font-weight:700 !important; }

/* ======================================================================
   ミナト 見た目調整 v7（グロナビ見切れ修正 2026-09-07）
   ====================================================================== */
/* ★見切れの真因：.lib-header__bar が display:flex かつ高さ未指定で height:0 になり、
   align-items:center により中身(ロゴ・ナビ)がy=0中心配置＝上半分が画面外に。
   バーに明示的な高さを与えて縦中央に収める */
.custom-header .lib-header__bar{ height:100px !important; }
@media(max-width:991px){ .custom-header .lib-header__bar{ height:72px !important; } }
@media(max-width:575px){ .custom-header .lib-header__bar{ height:60px !important; } }

/* ======================================================================
   ミナト 見出し階層 v8（既存準拠：ロゴH1 / MVタイトルH2 / セクションH2・項目H3 2026-09-09）
   ====================================================================== */
/* ロゴをH1化したことによる既定スタイルのリセット（レイアウトは従来通り維持） */
.custom-header h1.lib-header__logo{ margin:0 !important; padding:0 !important; font-size:0 !important; line-height:1 !important; font-weight:normal !important; }
/* 事業内容カードの見出し(h3)：ゴシック維持・既定余白除去 */
.biz-grid h3.cap{ margin:0 !important; font-weight:bold !important; font-family:"Hiragino Sans",游ゴシック,YuGothic,Meiryo,sans-serif !important; }
/* 採用（TOP）3人物ラベル(h3)：既定余白除去・ゴシック維持 */
.home-recruit3 h3.label{ margin:0 !important; font-family:"Hiragino Sans","ヒラギノ角ゴ ProN",游ゴシック,YuGothic,Meiryo,sans-serif !important; }
/* CONTACTバナー見出し(h3)：余白除去 */
.home-contact h3{ margin:0 !important; }

/* ======================================================================
   ミナト 見た目調整 v9（アンカーリンクのオフセット 2026-09-11）
   ====================================================================== */
/* 固定ヘッダーにアンカー先が隠れないよう、ジャンプ先にヘッダー高さ分の余白を確保 */
#r1,#r2,#r3,:target{ scroll-margin-top:120px; }
@media(max-width:991px){ #r1,#r2,#r3,:target{ scroll-margin-top:88px; } }
@media(max-width:575px){ #r1,#r2,#r3,:target{ scroll-margin-top:74px; } }

/* アンカー移動を滑らかに（スムーズスクロール） */
html{ scroll-behavior:smooth; }
