/* ============================================================
   kappi.jp 静的版｜サイト全体のCSS（自前）
   ------------------------------------------------------------
   現行（WordPress 6.9＋旧テーマ 1.9.9＋旧テーマのブロック 1.4.6＋CoBlocks）の描画を
   計測した値（算出スタイル）で再現したもの。テーマ・プラグインのCSSはコピーしていない。
   ブレークポイント：〜599 スマホ／600〜959 タブレット／960〜 PC（1200〜 で本文幅1180）
   文字の基準：〜599 16px／600〜 18px（字間 0.05em・行間 1.6・本文の段落 1.8）
   ============================================================ */

/* ---------- 1. ベース ---------- */
html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; box-sizing: border-box; }
article, header, footer, aside, figure, figcaption, nav, section { display: block; }
ol:not(.wp-block-list), ul:not(.wp-block-list) { list-style: none; }
figure { margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { word-break: break-all; }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; letter-spacing: 0.05em; scroll-behavior: smooth; }
body {
  word-wrap: break-word; overflow-wrap: break-word; line-height: 1.6; background-color: #fff;
  font-family: "Noto Sans JP", sans-serif; font-size: 1rem; font-weight: normal; font-variant-ligatures: none; color: #333;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; overflow-x: clip;
}
@media screen and (min-width: 600px) { html { font-size: 18px; } }
h1, h2, h3, h4, h5, h6 { font-family: "Noto Sans JP", sans-serif; font-weight: bold; clear: both; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.33333rem; }
h3, h4 { font-size: 1.14286rem; }
h5, h6 { font-size: 1rem; }
b, strong { font-weight: bold; }
em { font-style: italic; }
hr { height: 2px; border: 0; background-color: #004e8e; }
img { height: auto; max-width: 100%; vertical-align: middle; }
/* sizes="auto" の遅延読込み画像は、読み込む前は大きめの仮サイズで場所を取る（WordPress標準と同じ＝選ばれる画像の大きさが現行と同じになる） */
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px; }
small { font-size: 0.72727rem; }
a { color: #1a0b08; }
a:hover, a:active { color: #828990; transition: all 0.3s ease; outline-width: 0; }
table td { padding: 8px 12px; vertical-align: middle; border: 1px solid #b8bcc0; }
label { cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  -webkit-appearance: none; appearance: none; padding: 6px 12px; width: 100%; border-radius: 3px; background-color: #fff; border: 1px solid #b8bcc0;
  transition: all 0.2s ease-in; letter-spacing: 0.04em; font-family: inherit; font-size: 1rem;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus { outline: 0; border: 1px solid #828990; }
input[type="radio"], input[type="checkbox"] { margin-right: 8px; }
input[type="submit"], input[type="button"] {
  position: relative; display: inline-block; padding: 6px 32px; border: none; border-radius: 0; text-align: center; letter-spacing: 0.04em; font-family: inherit; font-size: 0.88889rem;
  overflow: hidden; cursor: pointer; transition: all 0.3s ease; -webkit-appearance: button; appearance: button; background-color: #000; color: #fff; text-decoration: none;
}
input[type="submit"]:hover, input[type="button"]:hover { background-color: #a5a5a5; border-color: #a5a5a5; }
button { position: relative; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: all 0.3s ease; letter-spacing: 0.04em; font-family: inherit; font-size: 0.88889rem; text-transform: none; -webkit-appearance: button; appearance: button; background-color: #000; color: #fff; }
button:hover { background-color: #a5a5a5; border-color: #a5a5a5; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important; }

/* ---------- 2. レイアウト ---------- */
.l-container { position: relative; display: flex; flex-direction: column; min-height: 100vh; }
.l-contents { flex: 1 0 auto; }
.l-content, .l-content__sm, .l-content__fluid { position: relative; margin: auto; width: calc(100% - 32px); }
.l-header .l-content, .l-header .l-content__fluid { width: 100%; }
.l-content__inner { margin-top: 16px; margin-bottom: 32px; }
.u-row { display: flex; }
.u-row-wrap { flex-wrap: wrap; }
.u-row-item-center { align-items: center; }
.u-row-cont-between { justify-content: space-between; }
.u-row-cont-end { justify-content: flex-end; }
.u-row.one-col { flex-direction: column; }
.wrapper-column { width: 100%; }
.wrapper-column.has-sp-column { width: calc(100% + 12px); }
.c-section-widget { position: relative; z-index: 1; }
.c-section-widget__inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.widget_block .c-section-widget__inner { padding-top: 0; padding-bottom: 0; }
.l-content-widget { position: relative; margin: auto; width: calc(100% - 32px); }
.home.page .l-content__main .c-section-widget__inner .l-content-widget, .wp-block-columns .c-section-widget__inner .l-content-widget { width: 100%; }
.u-display-sp { display: block; }
.u-display-tablet { display: block; }
.u-display-flex-tablet { display: flex; }
.u-display-pc { display: none; }
.u-display-inline-flex-tablet-pc { display: none; }
@media screen and (min-width: 600px) {
  .l-content__inner { margin-top: 40px; margin-bottom: 64px; }
  .wrapper-column, .wrapper-column.has-sp-column { width: calc(100% + 24px); }
  .c-section-widget__inner { padding-top: 64px; padding-bottom: 64px; }
  .widget_block .c-section-widget__inner { padding-top: 0; padding-bottom: 0; }
  .u-display-sp { display: none; }
  .u-display-inline-flex-tablet-pc { display: inline-flex; }
}
@media screen and (min-width: 768px) { .l-content, .l-content__sm { width: calc(768px - 32px); } }
@media screen and (min-width: 960px) {
  .l-content { width: calc(960px - 32px); }
  .u-display-tablet, .u-display-flex-tablet { display: none; }
  .u-display-pc { display: block; }
}
@media screen and (min-width: 1200px) {
  .l-content { width: calc(1212px - 32px); }
  .one-col .l-content__main, .c-section-widget__inner .l-content-widget { margin-left: auto; margin-right: auto; width: 1180px; }
}
/* 現行の追加CSS（751px〜：TOPのキャッチの枠を900pxに） */
@media (min-width: 751px) { .l-content__sm { width: 900px; } }

/* ---------- 3. ヘッダー（ロゴ左・赤帯のメニュー右＝header_row） ---------- */
.l-header { position: relative; z-index: 200; }
.l-header-row { background-color: #fff; }
.l-header__inner { position: relative; display: grid; align-items: center; height: 60px; padding-left: 16px; padding-right: 16px; grid-template-columns: auto 1fr auto; }
.header-site-branding { width: 100%; height: 60px; }
.header-site-branding_inner { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.site-logo { display: flex; flex-direction: column; vertical-align: middle; font-size: inherit; width: fit-content; }
.site-logo .site-logo__img-common { height: 24px; width: auto; }
.header-site-branding__link { display: flex; }
@media screen and (max-width: 599px) {
  /* スマホ：ロゴは画面の真ん中（ハンバーガー・問い合わせボタンに関係なく） */
  .l-header__inner[data-emp-site-branding-sp="is-center"] .header-site-branding_inner { position: absolute; top: 0; left: 50%; transform: translate(-50%); text-align: center; width: max-content; }
}
@media screen and (min-width: 600px) {
  .l-header__inner { height: 86px; overflow: visible; grid-template-columns: auto 1fr; }
  .site-logo .site-logo__img-common { height: 60px; width: auto; }
}
@media screen and (min-width: 960px) {
  .l-header__inner { padding-left: 24px; padding-right: 0; grid-template-columns: 1fr auto; }
  .l-header__inner .hamburger-menu-content { padding-right: 24px; }
  .header-cta.has-header-row.has-menu-background-color { background-color: #ba1f29; padding-right: 24px; }
}
/* ハンバーガー（〜959px） */
.hamburger-menu-content { align-items: center; justify-content: center; height: 100%; width: 100%; padding-right: 12px; }
.hamburger-menu { box-sizing: border-box; padding: 0; border: none; outline: none; border-radius: 0; background-color: unset; line-height: 1.2; text-align: center; cursor: pointer; }
.hamburger-menu:hover { border: none; background-color: unset; }
.hamburger-menu-label { margin-top: 2px; line-height: 1; text-align: center; letter-spacing: 0.04em; font-size: 0.72727rem; transform: scale(0.9); color: #5e5e5e; }
.hamburger-menu-trigger, .hamburger-menu-trigger span { display: inline-block; box-sizing: border-box; }
.hamburger-menu-trigger { position: relative; width: 26px; height: 18px; }
.hamburger-menu-trigger span { position: absolute; left: 0; width: 100%; height: 1px; border-radius: 3px; background-color: #5e5e5e; }
.hamburger-menu-trigger span:nth-of-type(1) { top: 0; transition: all 0.3s ease; }
.hamburger-menu-trigger span:nth-of-type(2) { top: 8px; }
.hamburger-menu-trigger span:nth-of-type(3) { bottom: 0; transition: all 0.3s ease; }
.hamburger-menu:hover .hamburger-menu-trigger span:nth-of-type(1) { transform: translateY(2px); }
.hamburger-menu:hover .hamburger-menu-trigger span:nth-of-type(3) { transform: translateY(-2px); }
.hamburger-menu:hover .hamburger-menu-trigger span { background-color: #a5a5a5; }
.hamburger-menu:hover .hamburger-menu-label { color: #a5a5a5; }
@media screen and (max-width: 599px) {
  .has-hamburger-menu-left-sp .hamburger-menu-content { order: -1; }
  .has-menu .hamburger-menu-trigger { top: -4px; }
}
/* グローバルナビ（PC・赤帯） */
.header-menu-row { background-color: #ba1f29; }
.header-menu { font-family: "Noto Sans JP", sans-serif; font-weight: bold; }
.header-menu > .menu-item { position: relative; display: flex; justify-content: center; align-items: center; }
.header-menu > .menu-item > a {
  position: relative; display: flex; flex-direction: column; justify-content: center; text-align: center; letter-spacing: 0.04em; white-space: nowrap; text-decoration: none;
  width: 100%; font-size: 0.88889rem; color: #fff;
}
.header-menu > .menu-item > a > .menu-description { display: block; line-height: 1; text-decoration: none; font-weight: 300; letter-spacing: 0.04em; opacity: 0.8; }
.header-menu > .menu-item > a span { position: relative; display: inline-block; }
.header-menu-row .header-menu > .menu-item > a { padding-right: 16px; padding-left: 16px; height: 86px; }
.header-menu-row .header-menu > .menu-item:first-child > a { padding-left: 24px; }
.header-menu > .menu-item:hover > a, .header-menu > .menu-item.current-menu-item > a { color: #c1c1c1; }
/* ホバーで文字の下に線が伸びる */
.header_menu_hover_expansion .header-menu > .menu-item > a span::after { display: block; content: ""; position: absolute; left: 10%; bottom: -18px; width: 80%; height: 1px; background-color: #c1c1c1; transform: scale(0, 1); transition: 0.3s cubic-bezier(0.13, 0.61, 0.26, 0.94); }
.header_menu_hover_expansion .header-menu > .menu-item:hover > a span::after { transform: scale(1, 1); }
/* 問い合わせボタン（スマホ：右上の赤い四角） */
.header-cta { position: relative; }
.header-cta .header-cta__inner { display: flex; align-items: center; column-gap: 12px; }
.header-cta__item { min-width: 20px; width: max-content; text-align: center; }
.header-cta__item a { display: flex; justify-content: center; align-items: center; height: 100%; letter-spacing: 0.04em; text-decoration: none; }
.header-cta__item [class*="icon-"] { font-size: 1rem; }
.header-cta__item [class*="switch-"] { color: #828990; }
@media screen and (max-width: 599px) {
  .header-cta.is-button-rectangle-background-color .header-cta__item { min-width: 60px; height: 60px; padding: 4px; margin-right: -16px; transition: all 0.3s ease; background-color: #ba1f29; }
  .header-cta.is-button-rectangle-background-color .header-cta__item a { color: #fff; }
  .header-cta.is-button-rectangle-background-color .header-cta__item:hover { background-color: #a5a5a5; }
}
.header-panel { width: 100%; }
.header-contact { display: none; position: absolute; left: 0; right: 0; padding: 24px 16px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); z-index: 400; background-color: #0c0c33; }

/* ドロワー（スマホ・タブレット） */
body.is-drawer-open { height: 100vh; overflow: hidden; touch-action: none; }
.drawer-menu { position: fixed; top: 0; bottom: 0; left: 0; height: 100%; transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); overflow-y: scroll; z-index: 998; }
.drawer-menu.is-slide { background-color: #fff; transform: translateX(-100vw); }
.drawer-menu.is-slide.is-active { width: 90vw; transform: translateX(0); }
.drawer-menu__inner { padding: 12px 16px 24px; overflow-x: hidden; }
.hamburger-close-menu { margin-bottom: 32px; margin-right: auto; margin-left: auto; width: 32px; height: 32px; cursor: pointer; }
.hamburger-close-line { position: relative; width: 100%; height: auto; background-color: inherit; border: none; outline: none; -webkit-appearance: none; appearance: none; padding: 7px 6px; cursor: pointer; }
.hamburger-close-line:hover { border: none; background-color: inherit; }
.hamburger-close-line span { position: absolute; display: inline-block; box-sizing: border-box; left: 0; width: 100%; height: 1px; border-radius: 3px; transition: 0.3s cubic-bezier(0, 0.6, 0.99, 1); background-color: #000; }
.hamburger-close-line span:nth-of-type(1) { top: 0; }
.hamburger-close-line span:nth-of-type(2) { top: 8px; }
.hamburger-close-line span:nth-of-type(3) { bottom: 0; }
.is-active .hamburger-close-line span:nth-of-type(1) { transform: translate(0, 9px) rotate(-45deg); }
.is-active .hamburger-close-line span:nth-of-type(2) { opacity: 0; }
.is-active .hamburger-close-line span:nth-of-type(3) { transform: translate(0, -4px) rotate(45deg); }
.drawer-widget__title { position: relative; margin-bottom: 24px; line-height: 1.25; letter-spacing: 0.04em; font-size: 1rem; text-align: left; }
.drawer-menu__inner .drawer-menu__nav .menu-item a { display: block; position: relative; line-height: 40px; transition: all 0.3s ease; text-decoration: none; color: #333; }
.drawer-menu__inner .drawer-menu__nav .menu-item a:hover { transform: translateX(4px); }
.drawer-menu__inner .drawer-menu__nav .menu-description { padding-left: 8px; font-weight: 200; opacity: 0.8; }
.drawer-menu .drawer-menu__nav .menu-item { padding-left: 18px; }
/* 項目の頭の印（現行はアイコンフォントの「丸に山括弧」＝自前SVGで描く） */
.drawer-menu .drawer-menu__nav > .menu-item a::before { content: ""; position: absolute; left: -18px; top: 50%; width: 0.8rem; height: 0.8rem; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23b8bcc0'/%3E%3Cpath d='M10 7l5 5-5 5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.drawer-overlay.is-slide { visibility: hidden; display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgb(0 0 0 / 0.6); animation: fade 0.5s ease-in 0s 1 normal forwards; cursor: pointer; z-index: 997; }
.drawer-overlay.is-slide.is-active { visibility: visible; display: block; }
@media screen and (min-width: 600px) {
  .drawer-menu.is-slide { transform: translateX(-368px); width: 368px; }
  .drawer-menu.is-slide.is-active { transform: translateX(0); width: 368px; }
  .drawer-menu__inner { padding: 32px 24px; }
}
/* 追従ハンバーガー（スクロール後に右下へ出る） */
.hamburger-menu-floating {
  position: fixed; visibility: hidden; right: 16px; bottom: 90px; height: 60px; width: 60px; margin-bottom: calc(env(safe-area-inset-bottom) * 0.5); padding: 0; text-align: center; border-radius: 50%; border: none; outline: none;
  box-shadow: 0 1px 3px 1px rgb(0 0 0 / 0.08); transform: translateX(calc(100% + 16px)); transition: 0.2s cubic-bezier(0, 0.6, 0.99, 1); cursor: pointer; z-index: 199; background-color: #ba1f29; color: #fff;
}
.hamburger-menu-floating:hover { border: none; background-color: #ba1f29; }
.is-drawer-open .hamburger-menu-floating { z-index: 999; }
.hamburger-menu-floating.is-show { visibility: visible; transform: translateX(0); }
.hamburger-menu-floating .hamburger-menu-trigger span { background-color: #fff; transition: 0.3s cubic-bezier(0, 0.6, 0.99, 1); }
.hamburger-menu-floating .hamburger-menu-label { position: absolute; right: 0; bottom: 9px; left: 0; color: #fff; }
.hamburger-menu-floating.is-active .hamburger-menu-trigger span:nth-of-type(1) { transform: translate(0, 9px) rotate(-45deg); }
.hamburger-menu-floating.is-active .hamburger-menu-trigger span:nth-of-type(2) { opacity: 0; }
.hamburger-menu-floating.is-active .hamburger-menu-trigger span:nth-of-type(3) { transform: translate(0, -8px) rotate(45deg); }
@media screen and (min-width: 600px) { .hamburger-menu-floating { right: 0; bottom: 80px; } }
/* ページトップ（PCのUAだけ出る） */
.page-top-floating { position: relative; display: none; visibility: hidden; overflow: hidden; background-color: #ba1f29; }
.page-top-floating i { color: #fff; }
@media screen and (min-width: 600px) {
  .page-top-floating { display: table; position: fixed; right: 0; bottom: 0; width: 56px; height: 56px; text-align: center; transform: translateY(72px); cursor: pointer; transition: all 0.3s ease; z-index: 999; }
  .page-top-floating.is-show { visibility: visible; transform: translateY(0); }
  .page-top-floating i { display: table-cell; vertical-align: middle; text-align: center; font-size: 1.6rem; }
  .page-top-floating:hover { transform: translateY(-4px); box-shadow: 0 1px 8px 0 rgb(0 0 0 / 0.3); opacity: 0.9; }
}

/* ---------- 4. TOPの動画（ファーストビュー：スマホ81vh／タブレット100vh／PC74vh） ---------- */
.main-visual { position: relative; width: 100%; overflow: hidden; }
.main-visual__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.header-video { position: relative; margin-top: -60px; width: 100%; height: 81vh; overflow: hidden; }
.header-video__mp4 { position: relative; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.header-video__inner { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); text-align: center; z-index: 100; }
.main-visual__title { line-height: 1.35; letter-spacing: 0.1em; font-size: 20px; color: #fff; font-family: "Noto Sans JP", sans-serif; font-weight: bold; }
.scroll-down { position: absolute; bottom: 0; text-align: center; font-size: 0.88889rem; z-index: 100; }
.scroll-down.has-icon-align-center { right: 0; left: 0; }
.scroll-down__label { color: #fff; }
.scroll-down__icon { color: #fff; animation: spinY 1.5s linear infinite; }
.scroll-down__icon .icon-chevron-down { font-size: 2rem; }
@media screen and (min-width: 600px) {
  .header-video { margin-top: 0; height: 100vh; }
  .main-visual__title { font-size: 60px; }
  .scroll-down { font-size: 1rem; }
}
@media screen and (min-width: 960px) { .header-video { height: 74vh; } }
/* 現行の追加CSS（751px〜：キャッチは左寄せ・枠の120%幅） */
@media (min-width: 751px) { h2.main-visual__title { text-align: left; width: 120%; } }
@keyframes spinY { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 5. フッター（赤帯） ---------- */
.l-footer { position: relative; margin-top: auto; overflow: hidden; background-color: #ba1f29; color: #fff; }
.l-footer__inner { position: relative; padding-top: 24px; padding-bottom: 24px; z-index: 100; }
.l-footer__inner a { text-decoration: none; color: #fff; }
.footer-menu__inner { padding-top: 12px; padding-bottom: 12px; text-align: center; }
.footer-menu { font-family: "Noto Sans JP", sans-serif; font-weight: normal; }
.footer-menu li { position: relative; display: inline-block; margin-right: 8px; margin-left: 8px; padding-bottom: 8px; letter-spacing: 0.04em; font-size: 0.8rem; }
.footer-menu li:last-child { padding-bottom: 0; }
.footer-menu li a::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 1px; transform: translateY(1px); transition: all 0.3s ease; opacity: 0; }
.footer-menu li a:hover::after { transform: translateY(-3px); opacity: 1; }
.footer-menu li a::before { background-color: #fff; }
.footer-menu .menu-description { display: block; line-height: 1.2; font-weight: 200; opacity: 0.8; }
.site-copyright { position: relative; padding-top: 16px; padding-bottom: 16px; line-height: 1.5; letter-spacing: 0.04em; text-align: center; z-index: 100; background-color: #ba1f29; color: #fff; }
.site-copyright a { text-decoration: none; color: #fff; }
.site-copyright a:hover { opacity: 0.8; }
@media screen and (min-width: 600px) { .footer-menu li { padding-bottom: 0; } }

/* ---------- 6. お知らせ（一覧・詳細）・固定ページの枠 ---------- */
.archive-header { margin-bottom: 32px; }
.archive-header__center { text-align: center; }
.archive-title { line-height: 1.5; font-size: 1.33333rem; }
.archive-title__sub { display: block; line-height: 2; letter-spacing: 0.04em; font-family: "Noto Sans JP", sans-serif; font-weight: normal; }
.archive-list { position: relative; background-color: #fff; overflow: hidden; }
.archive-list::after { content: ""; display: block; clear: both; }
.archive-list a { display: block; height: 100%; text-decoration: none; color: #333; }
.archive-list a:hover { color: #333; }
.cat-name { display: inline-block; margin-bottom: 16px; padding-right: 8px; padding-left: 8px; width: fit-content; border-radius: 30px; line-height: 1.5; vertical-align: top; backface-visibility: hidden; letter-spacing: 0.04em; font-size: 0.72727rem; background-color: #000; color: #fff; }
.article-title { line-height: 1.4; letter-spacing: 0.04em; font-size: 1.4rem; font-weight: bold; color: #333; }
.article-title__sub { display: block; line-height: 2; letter-spacing: 0.04em; font-size: 0.88889rem; font-family: "Noto Sans JP", sans-serif; font-weight: normal; color: #484848; }
.article-meta { line-height: 1; letter-spacing: 0.04em; backface-visibility: hidden; color: #484848; }
.sp-list { margin-bottom: 24px; width: calc(100% - 12px); }
.sp-list a { display: flex; }
.sp-list .article-info { padding: 8px; width: 100%; }
.sp-list .cat-name { margin-bottom: 8px; font-size: 0.5rem; }
.sp-list .article-title { font-size: 0.88889rem; }
.sp-list .article-meta { margin-top: 16px; font-size: 0.61538rem; }
.u-shadow-hover { box-shadow: 0 1px 3px 1px rgb(0 0 0 / 0.08); border-radius: 3px; transition: all 0.3s ease; backface-visibility: hidden; }
.u-shadow-hover:hover { box-shadow: 0 1px 12px 0 rgb(0 0 0 / 0.1); transform: translateY(-3px); }
@media screen and (min-width: 600px) {
  .archive-header__center { padding: 16px; }
  .article-title { font-size: 1.6rem; }
  [class^="sp-"].pc-list { margin-right: 24px; margin-bottom: 32px; width: calc(100% - 24px); }
  .one-col [class^="sp-"].pc-list { width: 100%; }
  [class^="sp-"].pc-list a { display: flex; }
  [class^="sp-"].pc-list .article-info { padding: 16px 16px 48px; width: 100%; }
  [class^="sp-"].pc-list .cat-name { margin-bottom: 16px; padding-right: 10px; padding-left: 10px; font-size: 0.72727rem; }
  [class^="sp-"].pc-list .article-title { line-height: 1.5; font-size: 1.14286rem; }
  [class^="sp-"].pc-list .article-meta { position: absolute; left: 16px; bottom: 16px; width: calc(100% - 32px); font-size: 0.8rem; }
}
/* ページ送り（現行は件数が少なく出ていない。増えたとき用） */
.pagination { margin-top: 16px; margin-bottom: 32px; text-align: center; }
.page-numbers { position: relative; display: inline-block; margin-right: 4px; min-width: 32px; height: 32px; line-height: 32px; background-color: #fff; border-radius: 50%; border: 1px solid #e5e7e8; text-align: center; font-size: 0.72727rem; color: #484848; text-decoration: none; }
.page-numbers.current { border: 1px solid #eeeff0; color: #fff; background-color: #000; }
.prev.page-numbers, .next.page-numbers { border: none; background-color: inherit; }
/* 記事・固定ページの見出しと本文 */
.article-header { position: relative; border-radius: 3px 3px 0 0; }
.article-header__inner { position: relative; }
.featured_standard .article-header__inner { padding-bottom: 24px; }
.featured_standard .article-body { padding-top: 32px; }
.page .article-header__inner.page-title-center-style { padding-bottom: 32px; text-align: center; }
.article-body { margin-left: auto; margin-right: auto; width: 100%; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.article-body::after { display: block; clear: both; content: ""; }
.home .article-body { padding-bottom: 0; }
.article-body > * { margin-top: 40px; }
.article-body > :first-child { margin-top: 0; }
.article-body p { line-height: 1.8; }
.article-body h1, .article-body h2 { line-height: 1.6; }
.article-body h3 { line-height: 1.33333; }
.article-body h4, .article-body h5, .article-body h6 { line-height: 1.14286; }
.article-body table { width: 100%; }
.is-text-decoration-none .article-body p a, .is-text-decoration-none .article-body li a { text-decoration: none; }
.h3-border-bottom-gradient-colors .article-body h3.wp-block-heading:not(.is-style-none) { position: relative; padding-top: 8px; padding-bottom: 8px; }
.h3-border-bottom-gradient-colors .article-body h3.wp-block-heading:not(.is-style-none)::before { position: absolute; content: ""; bottom: 0; left: 0; width: 100%; height: 3px; background-image: linear-gradient(to left, #a5a5a5 50%, #000 100%); }
.meta-category { margin-bottom: 8px; list-style-type: none; }
.meta-category__item { display: inline-block; margin-right: 8px; margin-bottom: 4px; }
.meta-category__item:last-child { margin-right: 0; }
.meta-category a { display: block; padding: 2px 16px; border-radius: 30px; line-height: 1.5; border: solid 1px #e5e7e8; transition: all 0.3s ease; text-decoration: none; letter-spacing: 0.02em; font-size: 0.72727rem; color: #484848; }
.meta-category a:hover { border: solid 1px #828990; color: #828990; }
@media screen and (min-width: 600px) { .single .meta-category { margin-bottom: 16px; } }
/* パンくず（本文の下） */
.breadcrumb { margin-top: 10px; margin-bottom: 10px; color: #484848; overflow: hidden; width: 100%; }
.breadcrumb__inner { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.6; font-size: 0.8rem; }
.breadcrumb__inner .icon-chevron-right { margin-right: 4px; margin-left: 4px; color: #b8bcc0; }
.breadcrumb__item { display: inline; position: relative; }
.meta-category__item, .article-meta__item, .drawer-menu__nav .menu-item { position: relative; }
.breadcrumb__item a { text-decoration: none; color: #1a0b08; }
.breadcrumb__item a:hover { color: #828990; }

/* ---------- 7. TOP の「お知らせ」欄 ---------- */
.post-list__item { position: relative; }
.post-list__item:not(:first-child) { margin-top: 16px; }
.post-list__item::after { position: absolute; content: ""; top: 50%; right: 0.4em; width: 1em; height: 1em; transform: translateY(-50%); background-color: #828990; opacity: 0; -webkit-mask: var(--icon-chevron-right) center / contain no-repeat; mask: var(--icon-chevron-right) center / contain no-repeat; }
.post-list__item:hover::after { animation: arrowRight 1.4s infinite; }
@keyframes arrowRight { 50% { right: -0.2em; opacity: 1; } 100% { right: -0.8em; opacity: 0; } }
.post-list__link { position: relative; display: flex; text-decoration: none; line-height: 1.6; font-size: 0.88889rem; color: #333; }
.post-list-meta { display: flex; flex-direction: column; margin-right: 12px; padding-right: 12px; min-width: 102px; font-size: 0.625rem; border-right: solid 1px #e5e7e8; color: #484848; }
.post-list-meta.has-cat { min-width: 100px; max-width: 100px; text-align: center; }
.post-list-meta__cat { display: block; margin-bottom: 4px; padding: 4px; border-radius: 30px; text-align: center; line-height: 1.2; background-color: #000; color: #fff; }
.post-list__title { text-align: left; transition: all 0.3s ease; }
.post-list__link:hover .post-list__title { opacity: 0.7; }
@media screen and (min-width: 600px) {
  .post-list-meta { margin-right: 16px; padding-right: 16px; min-width: 110px; font-size: 0.72727rem; }
  .post-list-meta.has-cat { min-width: 140px; max-width: 140px; }
}

/* ---------- 8. WordPress 標準ブロック ---------- */
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-spacer { clear: both; }
:root :where(.is-layout-flow) > :first-child { margin-block-start: 0; }
:root :where(.is-layout-flow) > :last-child { margin-block-end: 0; }
:root :where(.is-layout-flow) > * { margin-block-start: 32px; margin-block-end: 0; }
:root :where(.is-layout-constrained) > :first-child { margin-block-start: 0; }
:root :where(.is-layout-constrained) > :last-child { margin-block-end: 0; }
:root :where(.is-layout-constrained) > * { margin-block-start: 32px; margin-block-end: 0; }
:root :where(.is-layout-flex) { gap: 32px; }
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 768px; margin-left: auto !important; margin-right: auto !important; }
@media screen and (min-width: 1200px) {
  .page .one-col .l-content__main .is-layout-constrained:not(.wp-block-group) > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 1180px; }
}
body .is-layout-flex { display: flex; }
.is-layout-flex { flex-wrap: wrap; align-items: center; }
.is-layout-flex > :is(*, div) { margin: 0; }
.wp-block-columns { box-sizing: border-box; display: flex; flex-wrap: wrap !important; align-items: normal !important; }
:where(.wp-block-columns) { margin-bottom: 1.75em; }
.wp-block-column { flex-grow: 1; min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.wp-block-column.is-vertically-aligned-top { align-self: flex-start; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }
.wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-top { width: 100%; }
@media (max-width: 781px) { .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; } }
@media (min-width: 782px) {
  .wp-block-columns { flex-wrap: nowrap !important; }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 0; flex-grow: 1; }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*="flex-basis"] { flex-grow: 0; }
}
:root :where(p.has-background) { padding: 1.25em 2.375em; }
.wp-block-image { margin-bottom: 0 !important; text-align: center; }
.wp-block-image::after { content: ""; display: block; clear: both; }
.wp-block-image img { box-sizing: border-box; height: auto; max-width: 100%; vertical-align: bottom; }
.wp-block-image.alignfull img { height: auto; width: 100%; }
/* カバー（背景色・背景画像の全幅の帯） */
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 430px; padding: 1em; box-sizing: border-box; overflow: hidden; overflow: clip; background-position: 50%; color: #fff; }
.wp-block-cover.is-light { color: #000; }
.wp-block-cover .wp-block-cover__background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0.5; }   /* 現行は重なり順の指定なし（DOMの順で 画像→暗幕→中身） */
.wp-block-cover .has-background-dim-0 { opacity: 0; }
.wp-block-cover .has-background-dim-30 { opacity: 0.3; }
.wp-block-cover .has-background-dim-100 { opacity: 1; }
.wp-block-cover__image-background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: none; object-fit: cover; box-shadow: none; outline: none; }
div.wp-block-cover__image-background { background-size: cover; }
.wp-block-cover__image-background.has-parallax { background-attachment: fixed; background-repeat: no-repeat; background-size: cover; }
@supports (-webkit-touch-callout: inherit) { .wp-block-cover__image-background.has-parallax { background-attachment: scroll; } }
.wp-block-cover__inner-container { position: relative; width: 100%; color: inherit; }
/* ★カバーの中の間隔は WordPress の is-layout-constrained（32px）が勝つ（現行の実測） */
.single .one-col .alignfull, .page .one-col .alignfull, .archive .one-col .alignfull, .c-section-widget .alignfull { position: relative; left: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
/* 表 */
.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid; padding: 0.5em; }
.wp-block-table tr { border-color: #b8bcc0; }
/* 表に style="border-style:none;border-width:0px" が付いているときはセルも枠なし（WordPress標準） */
.wp-block-table table[style*="border-style"] td, .wp-block-table table[style*="border-style"] th, .wp-block-table table[style*="border-style"] tr { border-style: inherit; }
.wp-block-table table[style*="border-width"] td, .wp-block-table table[style*="border-width"] th, .wp-block-table table[style*="border-width"] tr { border-style: inherit; border-width: inherit; }
.wp-block-table.is-style-table__border-bottom-left-right table, .wp-block-table.is-style-table__border-bottom-left-right td { border-left-style: none !important; border-right-style: none !important; border-top-style: none !important; }
.wp-block-table[class*="is-style-table__border-bottom"] td { padding: 24px 12px; }
.wp-block-table.is-style-table__border-bottom-left-right tbody td { position: relative; }
.wp-block-table.is-style-table__border-bottom-left-right tbody td:first-child::after { content: ""; display: block; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background-color: #000; }
.wp-block-table.is-style-table__responsive tr td { background-color: #fafafa; }
.wp-block-table.is-style-table__responsive td + td { background-color: inherit; }
@media screen and (max-width: 599px) {
  .wp-block-table.is-style-table__responsive td { display: block; width: 100%; border-bottom: none; }
  .wp-block-table.is-style-table__responsive td:last-child { border-bottom: 1px solid #b8bcc0; }
  .wp-block-table.is-style-table__responsive tr { display: block; margin-bottom: 4px; }
  .wp-block-table.is-style-table__responsive tr:last-child { margin-bottom: 0; }
}
/* 区切り線（フッター上） */
.wp-block-separator { border: none; border-top: 2px solid; }
.wp-block-separator:not(.is-style-dots):not(.is-style-wide):not(.alignwide) { width: 215px; }
.wp-block-separator.has-alpha-channel-opacity { opacity: 1; }
/* リスト（プライバシーポリシー） */
ol, ul { box-sizing: border-box; }
:root :where(.wp-block-list) { line-height: 1.8; }
.article-body ol { list-style-type: decimal; list-style-position: inside; }   /* 番号は行の内側（現行の実測：タブレット幅で折り返し位置が変わる） */
.article-body ul { list-style-type: none; list-style-position: inside; }
.article-body .wp-block-list { padding-left: 0; }
.article-body .wp-block-list:not([class*="is-style-item"]) .wp-block-list li { padding-left: 1.25em; }
.article-body ul li, .article-body ol li { position: relative; }
/* 文字の大きさ・色 */
.has-small-font-size { font-size: 13px !important; }
.has-ema-s-2-font-size { font-size: 0.8rem !important; }
.has-dark-gray-color { color: #828990 !important; }
.has-black-background-color { background-color: #000 !important; }
.has-dark-gray-background-color { background-color: #828990 !important; }
.has-ep-white-background-color { background-color: #fff !important; }

/* ---------- 9. 旧テーマのブロック（計測値で再現） ---------- */
/* 見出し（新：advanced-headling） */
.snk-advanced-headling { display: flex; position: relative; }
.snk-advanced-headling.snk-alignment-left { justify-content: flex-start; }
.snk-advanced-headling.snk-alignment-center { justify-content: center; }
.snk-advanced-headling__inner { align-items: var(--snk-sub-text-align-items); display: flex; position: relative; }
.snk-advanced-headling__inner[class*="snk-has-sub-text-"] { gap: var(--snk-sub-text-gap); }
.snk-has-sub-text-bottom { flex-direction: column; }
.snk-advanced-headling .snk-advanced-headling__text {
  color: var(--snk-headling-color); font-size: var(--snk-headling-font-size-pc); font-weight: var(--snk-headling-font-weight); letter-spacing: var(--snk-headling-letter-spacing); line-height: var(--snk-headling-line-height);
  margin: 0 var(--snk-headling-margin-right-sp) 0 var(--snk-headling-margin-left-sp); padding: var(--snk-headling-padding-top) var(--snk-headling-padding-right) var(--snk-headling-padding-bottom) var(--snk-headling-padding-left); position: relative;
}
.snk-advanced-headling.snk-alignment-headling-left .snk-advanced-headling__text { text-align: left; }
.snk-advanced-headling.snk-alignment-headling-center .snk-advanced-headling__text { text-align: center; }
.snk-advanced-headling .snk-advanced-headling__sub-text {
  background-color: var(--snk-sub-text-background-color); color: var(--snk-sub-text-color); font-size: var(--snk-sub-text-font-size-pc); font-weight: var(--snk-sub-text-font-weight); letter-spacing: var(--snk-sub-text-letter-spacing);
  line-height: var(--snk-sub-text-line-height); padding: var(--snk-sub-text-padding-top) var(--snk-sub-text-padding-right) var(--snk-sub-text-padding-bottom) var(--snk-sub-text-padding-left); position: relative;
}
.is-style-snk-headling-underline .snk-advanced-headling__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -12px; margin: 0 auto; height: 3px; width: calc(var(--snk-headling-style-size) * 10%); background-color: var(--snk-headling-style-color); }
.is-style-snk-headling-border-left .snk-advanced-headling__text { background-color: var(--snk-headling-background-color); border-left: calc(var(--snk-headling-style-size) * 3px) solid var(--snk-headling-style-color); }
.is-style-snk-headling-border-left-all.snk-advanced-headling__inner { border-left: calc(var(--snk-headling-style-size) * 3px) solid var(--snk-headling-style-color); }
.is-style-snk-sub-text-lines-on .snk-advanced-headling__sub-text { display: flex; align-items: center; }
.is-style-snk-sub-text-lines-on .snk-advanced-headling__sub-text::before { content: ""; margin: 0 8px 0 0; width: calc(var(--snk-sub-text-style-size) * 1em); border-top: 2px solid var(--snk-sub-text-style-color); }
.is-style-snk-sub-text-lines-on .snk-advanced-headling__sub-text::after { content: ""; margin: 0 0 0 8px; width: calc(var(--snk-sub-text-style-size) * 1em); border-top: 2px solid var(--snk-sub-text-style-color); }
@media screen and (min-width: 600px) { .snk-advanced-headling .snk-advanced-headling__text { margin-left: var(--snk-headling-margin-left-tablet); margin-right: var(--snk-headling-margin-right-tablet); } }
@media screen and (min-width: 960px) { .snk-advanced-headling .snk-advanced-headling__text { margin-left: var(--snk-headling-margin-left-pc); margin-right: var(--snk-headling-margin-right-pc); } }
/* 見出し（旧：advance-headling。お問い合わせの CONTACT） */
.snk-advance-headling { padding: var(--snk-block-padding-top) var(--snk-block-padding-right) var(--snk-block-padding-bottom) var(--snk-block-padding-left); }
.snk-advance-headling__text-wrapper { position: relative; width: fit-content; margin-left: auto; margin-right: auto; }
.snk-advance-headling__text-wrapper.is-style-snk-subtext-lines-on { text-align: center; }
.snk-advance-headling__text-wrapper .snk-advance-headling__text { position: relative; margin: 0 !important; }
.snk-advance-headling__text { font-size: inherit; overflow-wrap: break-word; word-break: break-word; }   /* ★現行は文字サイズの指定が効いておらず親の大きさ（18px）のまま＝そのまま写す */
.snk-advance-headling__text[data-fontweight="bold"] { font-weight: bold; }
.snk-advance-headling__sub-text-wrapper { line-height: 1; }
.snk-advance-headling__sub-text { position: relative; display: inline-block; min-height: var(--snk-subtext-label-height); min-width: var(--snk-subtext-label-width); font-size: inherit; overflow-wrap: break-word; word-break: break-word; }
.snk-advance-headling__text-wrapper.is-style-snk-subtext-lines-on .snk-advance-headling__sub-text { display: flex; justify-content: center; align-items: center; }
.snk-advance-headling__text-wrapper.is-style-snk-subtext-lines-on .snk-advance-headling__sub-text::before { content: ""; margin: 0 8px 0 0; width: 24px; border-top: 2px solid var(--snk-style-color); opacity: 0.6; }
.snk-advance-headling__text-wrapper.is-style-snk-subtext-lines-on .snk-advance-headling__sub-text::after { content: ""; margin: 0 0 0 8px; width: 24px; border-top: 2px solid var(--snk-style-color); opacity: 0.6; }
/* 背景（お問い合わせの帯） */
.snk-background { position: relative; }
.snk-background__wrapper { position: relative; margin: calc(var(--snk-content-margin-top) * -1) calc(var(--snk-content-margin-right) * -1) calc(var(--snk-content-margin-bottom) * -1) calc(var(--snk-content-margin-left) * -1); }
.snk-background__section { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translate(var(--snk-flow-horizontal), var(--snk-flow-vertical)); }
.snk-l-content__main { margin-left: auto; margin-right: auto; position: relative; }
.snk-l-content__main > * { margin-top: 40px; }
.snk-l-content__main > :first-child { margin-top: 0; }
.snk-l-content__main::after { clear: both; content: ""; display: block; }
.snk-background.is-style-snk-custom-content .snk-l-content__main { max-width: 100%; position: relative; width: var(--snk-content-width, 1180px); z-index: 1; }
.snk-padding-top-sp__48 { padding-top: 48px; }
.snk-padding-bottom-sp__48 { padding-bottom: 48px; }
.snk-padding-left-sp__32 { padding-left: 32px; }
.snk-padding-right-sp__32 { padding-right: 32px; }
@media screen and (max-width: 599px) { .snk-background { overflow-x: hidden; } }
@media screen and (min-width: 600px) {
  .snk-padding-top-pc__64 { padding-top: 64px; }
  .snk-padding-bottom-pc__64 { padding-bottom: 64px; }
  .snk-padding-left-pc__64 { padding-left: 64px; }
  .snk-padding-right-pc__64 { padding-right: 64px; }
}
/* ボタン */
.snk-button { display: flex; flex-wrap: wrap; text-align: center; }
.snk-button.snk-alignment-center { justify-content: center; }
.snk-button .snk-btn-text[data-fontweight="bold"] { font-weight: 700; }
.snk-button .snk-btn-text { overflow-wrap: break-word; }
.snk-btn {
  position: relative; display: inline-block; max-width: 100%; padding-top: 6px; padding-bottom: 6px; line-height: 1.5; text-align: center; text-decoration: none !important; cursor: pointer; transition: all 0.3s ease; vertical-align: bottom;
  background-color: var(--snk-button-bg-color); border-color: var(--snk-button-border-color); color: var(--snk-button-text-color);
}
.snk-btn-text { font-size: var(--snk-button-text-font-pc); }   /* 現行は値が単位なし（14）＝無効になり、親の文字サイズのまま。そのまま写す */
.snk-btn:hover { color: var(--snk-button-text-color); text-decoration: none !important; }
.snk-has-hover-color .snk-btn:hover { background-color: var(--snk-button-bg-hover-color); border-color: var(--snk-button-border-hover-color); color: var(--snk-button-text-hover-color); }
.snk-btn__outline { border-style: solid; border-width: var(--snk-button-border-size); }
.snk-btn.is-style-snk-radius__0 { border-radius: 0; }
.snk-btn [class*="icon-"]::after { margin-left: 6px; }
.snk-btn .icon-read-arrow-right-after::after { display: inline-block; transition: all 0.2s ease; }
.snk-btn:hover .icon-read-arrow-right-after::after { transform: translateX(8px); }
.snk-btn.is-style-snk-hover__lustre { overflow: hidden; }
.snk-btn.is-style-snk-hover__lustre::before { content: ""; position: absolute; top: -10%; left: -180%; width: 200%; height: 200%; background-color: hsla(0, 0%, 98%, 0.2); transform: rotate(-45deg); }
.snk-btn.is-style-snk-hover__lustre:hover::before { animation: snk-lustre 0.7s forwards; }
@keyframes snk-lustre { to { left: 60%; } }
@media screen and (max-width: 599px) { .snk-btn-size__xlg .snk-btn { padding-left: 84px; padding-right: 84px; } }
@media screen and (min-width: 600px) { .snk-btn-size__xlg .snk-btn { padding-left: 136px; padding-right: 136px; } }
/* ブロークングリッド（画像＋文の重ね） */
.snk-broken-grid { display: flex; flex-wrap: wrap; position: relative; z-index: 1; }
.snk-broken-grid.has-media-on-the-right { flex-direction: row-reverse; }
.snk-broken-grid__background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
.snk-broken-grid__background.is-vertically-aligned-top { top: var(--snk-bg-vertical-sp); }
.snk-broken-grid__background.is-horizontally-aligned-left { left: var(--snk-bg-horizontal-sp); }
.snk-broken-grid__media { flex: 0 1 100%; max-width: 100%; }
.snk-broken-grid__media img { width: 100%; }
.snk-broken-grid__media--inner { position: relative; }
.snk-broken-grid__media--inner::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: inherit; opacity: var(--snk-opacity); z-index: 1; }
.snk-broken-grid__media--background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
.snk-broken-grid__content { position: relative; flex: 0 1 100%; max-width: 100%; border: none; }
.snk-broken-grid__content--inner { position: relative; border: none; padding: var(--snk-content-padding-top-sp) var(--snk-content-padding-right-sp) var(--snk-content-padding-bottom-sp) var(--snk-content-padding-left-sp); }
.snk-broken-grid__content--inner > * { margin-top: 16px; }
.snk-broken-grid__content--inner > :first-child { margin-top: 0; }
@media screen and (max-width: 599px) { .snk-broken-grid__media--inner { overflow: hidden; } }
@media screen and (max-width: 959px) { .snk-broken-grid.has-mobile-aligned-image { flex-direction: column; } }
@media screen and (min-width: 600px) {
  .snk-broken-grid__background.is-vertically-aligned-top { top: var(--snk-bg-vertical-tablet); }
  .snk-broken-grid__background.is-horizontally-aligned-left { left: var(--snk-bg-horizontal-tablet); }
  .snk-broken-grid__content--inner { padding: var(--snk-content-padding-top-tablet) var(--snk-content-padding-right-tablet) var(--snk-content-padding-bottom-tablet) var(--snk-content-padding-left-tablet); }
  .snk-broken-grid__content--inner > * { margin-top: 24px; }
  .snk-broken-grid__content--inner > :first-child { margin-top: 0; }
}
@media screen and (min-width: 960px) {
  .snk-broken-grid__background.is-vertically-aligned-top { top: var(--snk-bg-vertical); }
  .snk-broken-grid__background.is-horizontally-aligned-left { left: var(--snk-bg-horizontal); }
  .snk-broken-grid.is-vertically-aligned-top { align-items: flex-start; }
  .snk-broken-grid.is-vertically-aligned-center { align-items: center; }
  .snk-broken-grid__media { flex: 0 1 50%; max-width: 50%; }
  .snk-broken-grid__media--inner { left: var(--snk-image-horizontal); margin-top: var(--snk-image-vertical); }
  .snk-broken-grid__media--s { width: 80%; }
  .snk-broken-grid__media--m { width: 100%; }
  .snk-broken-grid__content { flex: 0 1 50%; max-width: 50%; }
  .snk-broken-grid__content--inner { padding: var(--snk-content-padding-top) var(--snk-content-padding-right) var(--snk-content-padding-bottom) var(--snk-content-padding-left); left: var(--snk-content-horizontal); margin-top: var(--snk-content-vertical); }
  .snk-broken-grid__content--m { width: 100%; }
}
/* バナー（TOPの商品写真2枚） */
.snk-banner { border: none; position: relative; }
.snk-banner__wrapper { display: flex; justify-content: var(--snk-banner-justify-content); }
.snk-banner__item { position: relative; overflow: hidden; border-color: var(--snk-image-border-color); border-radius: var(--snk-image-border-radius); border-style: var(--snk-image-border-style); border-width: var(--snk-image-border-width); transition: all 0.3s ease; }
.snk-banner__img { position: relative; width: 100%; height: 100%; vertical-align: middle; }
.snk-banner__link { display: block; position: relative; }
.snk-img-overlay .snk-banner__item .snk-banner__link::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); transition: all 0.3s ease; }
.snk-img-overlay .snk-banner__item:hover .snk-banner__link::after { background: rgba(0, 0, 0, 0.4); }
.snk-img-scale .snk-banner__img { display: inline-block; transform: scale(1); transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1); vertical-align: bottom; }
.snk-img-scale .snk-banner__item:hover .snk-banner__img { transform: scale(1.1); }
/* 余白・表示切替・中央寄せの段落 */
.snk-margin-top__minus-16 { margin-top: -16px !important; z-index: 1; }
.snk-margin-top__minus-40 { margin-top: -40px !important; z-index: 1; }
.wp-block-spacer.is-style-display-sp { display: block; }
@media screen and (min-width: 600px) { .wp-block-spacer.is-style-display-sp { display: none; } }
@media screen and (max-width: 599px) { .snk-display__tablet, .snk-display__tablet-pc { display: none !important; } }
@media (min-width: 600px) { .snk-display__sp-only { display: none !important; } }
.has-snk-text-align-center-right { width: fit-content; margin-left: auto; margin-right: auto; text-align: left; }   /* 上の余白は親の規則が勝つ（現行の実測） */
.snk-display-sp::before, .snk-display-tablet::before { content: "\A"; white-space: pre; }
@media screen and (min-width: 1200px) { .snk-display-tablet::before { content: ""; white-space: normal; } }
/* スクロールで現れる（旧テーマのブロック：fadeIn。CoBlocks：fadeIn） */
.snk-animation-fadeIn { opacity: 0; }
.snk-animation-fadeIn.is-snk-active { opacity: 0; will-change: animation; animation-name: snk-fadeIn; animation-timing-function: cubic-bezier(0, 0, 0, 1); }
.snk-animation-fadeIn.is-snk-animationend { opacity: 1; }
.snk-delay-500ms.is-snk-active { animation-delay: 0.5s; }
.snk-delay-800ms.is-snk-active { animation-delay: 0.8s; }
.snk-duration-2000ms.is-snk-active { animation-duration: 2s; }
@keyframes snk-fadeIn { 0% { opacity: 0; } to { opacity: 1; } }
body .coblocks-animate { opacity: 0; animation-fill-mode: forwards; animation-timing-function: ease-in; }
body .coblocks-animate.fadeIn { animation-duration: 0.75s; animation-name: fadeIn; }
@keyframes fadeIn { 0% { opacity: 0; } to { opacity: 1; } }

/* ---------- 10. アイコン（テーマのアイコンフォントの代わりにSVGマスク） ---------- */
:root {
  /* 本文中の style="padding:var(--wp--preset--spacing--50)" 等が参照する WordPress の余白の値 */
  --wp--preset--spacing--20: 0.44rem; --wp--preset--spacing--30: 0.67rem; --wp--preset--spacing--40: 1rem; --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem; --wp--preset--spacing--70: 3.38rem; --wp--preset--spacing--80: 5.06rem;
  --icon-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4l8 8-8 8-1.5-1.5L14 12 7.5 5.5z'/%3E%3C/svg%3E");
  --icon-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 15l8-8 8 8-1.5 1.5L12 10l-6.5 6.5z'/%3E%3C/svg%3E");
  --icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9l8 8 8-8-1.5-1.5L12 14 5.5 7.5z'/%3E%3C/svg%3E");
  --icon-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12h19M15.5 6.5l5.5 5.5-5.5 5.5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' d='M3 5.5h18v13H3z M3.5 6l8.5 7 8.5-7'/%3E%3C/svg%3E");
}
[class^="icon-"]::before, [class*=" icon-"]::before, .icon-read-arrow-right-after::after { display: inline-block; width: 1em; height: 1em; background-color: currentColor; vertical-align: -0.125em; line-height: 1; font-style: normal; }
.icon-chevron-right::before { content: ""; -webkit-mask: var(--icon-chevron-right) center / contain no-repeat; mask: var(--icon-chevron-right) center / contain no-repeat; }
.icon-chevron-up::before { content: ""; -webkit-mask: var(--icon-chevron-up) center / contain no-repeat; mask: var(--icon-chevron-up) center / contain no-repeat; }
.icon-chevron-down::before { content: ""; -webkit-mask: var(--icon-chevron-down) center / contain no-repeat; mask: var(--icon-chevron-down) center / contain no-repeat; }
.icon-mail::before { content: ""; -webkit-mask: var(--icon-mail) center / contain no-repeat; mask: var(--icon-mail) center / contain no-repeat; }
.icon-read-arrow-right-after::after { content: ""; -webkit-mask: var(--icon-arrow-right) center / contain no-repeat; mask: var(--icon-arrow-right) center / contain no-repeat; }

/* ---------- 11. お問い合わせフォーム（MW WP Form の見た目＋現行の追加CSS） ---------- */
.mw_wp_form .horizontal-item + .horizontal-item { margin-left: 10px; }
.mwform-checkbox-field label { font-weight: normal; margin-bottom: 0; }
.mwform-checkbox-field input { margin: 3px 8px 3px 4px; }
span.hissu, span.nini { font-weight: 700; color: #fff; font-size: 10px; padding: 4px 5px 4px 7px; border-radius: 4px; margin-right: 10px; vertical-align: baseline; }
span.hissu { background: #e44e4e; }
span.nini { background: #ccc; }
.form-mw p { margin-bottom: 1em !important; }
.form-mw input[type="text"], .form-mw textarea { margin-bottom: 1rem; margin-top: 0.5em; }
.mw_wp_form div[align="center"] { text-align: -webkit-center; text-align: center; }
.snk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.snk-field-err { display: block; margin-top: -0.5em; margin-bottom: 0.5em; color: #c0392b; font-size: 0.8rem; }
.snk-field-err:empty { display: none; }
.is-err { border-color: #e44e4e !important; }
.snk-form-error { margin-bottom: 1em; padding: 8px 16px; border-radius: 3px; background-color: #fde8e8; color: #c0392b; font-size: 0.88889rem; }
.snk-form-error[hidden] { display: none; }
/* 確認画面（site.js が入れて出す） */
.snk-confirm[hidden] { display: none; }
.snk-confirm__lead { margin-bottom: 1em; }
.snk-confirm__list { margin: 0 0 1.5em; }
.snk-confirm__list dt { font-weight: bold; margin-top: 1em; }
.snk-confirm__list dt:first-child { margin-top: 0; }
.snk-confirm__list dd { margin: 0.25em 0 0; padding: 0.5em 0.7em; background: #fff; border: 1px solid #b8bcc0; border-radius: 3px; white-space: pre-wrap; }
.snk-confirm__list dd.is-empty { color: #828990; }
.snk-confirm__act { display: flex; justify-content: center; gap: 16px; }
.snk-confirm__act .is-back { background-color: #828990; }
.mw_wp_form.is-sending { opacity: 0.6; }
