@charset "UTF-8";
/*
Theme Name: murata2026
Theme URI: https://murata346.com/
Author: アビモ株式会社
Description: 株式会社ムラタ様サイト専用テーマ。従来の見た目をそのまま保ちつつ、他社テーマに依存せず保守できるよう自前で書き起こしたもの。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murata2026
*/

/* ============================================================
   このファイルは src/ の各CSSを順に結合した自動生成物。
   直接編集せず、src/ 側を直して build/build.py を回すこと。

   src/01-tokens.css     色・フォント・幅などの設定値
   src/02-base.css       リセットと基本の文字組み
   src/03-layout.css     ページの骨格
   src/04-header.css     ヘッダー・グローバルナビ
   src/05-mainvisual.css トップのスライドショー
   src/06-pagetitle.css  下層ページの見出し・パンくず
   src/07-content.css    本文の文字組み
   src/08-blocks.css     本文で使うブロック
   src/09-postlist.css   記事一覧・ウィジェット
   src/10-article.css    記事ページ固有
   src/11-footer.css     フッター
   src/12-spmenu.css     スマホメニュー・検索
   src/13-icons.css      アイコン（自前SVG）
   src/14-utilities.css  ユーティリティ
   src/90-site.css       これまでサイトに書かれていた独自CSS
   src/91-pages.css      ページ単位の個別指定
   ============================================================ */


/* ============ 01-tokens.css ============ */
/* ============================================================
   設計トークン
   色・フォント・幅など、サイト全体で使い回す値をここに集約する。
   「メインカラーを変えたい」等はこのファイルだけ触れば全体に効く。
   ============================================================ */

:root {
  /* --- 色 --- */
  --c-main:        #28abb9;   /* メインカラー（見出しの帯、アクセント） */
  --c-main-deep:   #93d5dc;   /* フッターのグラデーション下端 */
  --c-text:        #333;      /* 本文 */
  --c-text-strong: #000;      /* ヘッダー・フッターの文字 */
  --c-link:        #1176d4;   /* リンク */
  --c-bg:          #fff;      /* 背景 */
  --c-bg-sub:      #f7f7f7;   /* パンくず等の薄い背景 */
  --c-border:      #ddd;      /* 罫線 */
  --c-gray:        hsla(0, 0%, 78%, .15);  /* ごく薄いグレー（方眼の線など） */
  --c-border-table:#dcdcdc;   /* 表の罫線 */
  --c-white:       #fff;
  --c-shadow:      rgba(0, 0, 0, .12);  /* 影 */
  --c-hover-gray:  rgba(3, 2, 2, .05);  /* ホバー時の薄いグレー */
  --c-spmenu-bg:   #0c1942;   /* スマホメニューの背景 */

  /* --- 文字 --- */
  --font-base: "游ゴシック体", "Yu Gothic", YuGothic,
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --fw-base:   700;           /* このサイトは全体を太字で運用している */
  /* 基準の文字サイズ。スマホ（600px未満）では画面幅に合わせて縮む。
     現サイトが --swl-fz--content:3.8vw で同じことをしている。
     これが無いとスマホで文字も余白も行間も約1.14倍に膨らみ、読みにくくなる。 */
  --fz-base:   16px;
  --lh-base:   1.6;
  --lh-text:   2.5;           /* 本文の段落は行間を広めに取る */

  /* --- 幅 --- */
  --w-container: 1200px;      /* ヘッダー・フッターの内容幅 */
  --w-content:   1000px;      /* 本文の幅 */
  --pad-side:    48px;        /* 画面端の余白（PC） */
  --pad-post:    0px;         /* 本文の左右の余白（PCでのみ付ける） */
  --pad-box:     1.5em;       /* 囲みブロックの内側の余白 */

  /* 縦スクロールバーの幅。画面いっぱいに広げる要素の計算に使う。
     JS が実測値を入れる（Phase 2 で自前JSに移すまでは現サイトのJSの値を拾う）。 */
  --scrollbar-width: var(--swl-scrollbar_width, 0px);

  /* --- ヘッダー --- */
  --h-header:    120px;
  --h-logo:      50px;        /* ロゴ画像の高さ（PC） */
  --h-logo-fix:  32px;        /* 追従ヘッダーのロゴ高さ */
  --h-spmenu-head: 60px;      /* スマホメニューの上部（閉じるボタン）の高さ */
  --z-header:    100;
}

@media (min-width: 960px) {
  :root {
    --pad-post: 16px;
  }
}

@media (max-width: 959px) {
  :root {
    --pad-side: 4vw;
    --h-logo:   60px;
    /* スマホのヘッダーで、メニューボタンと右のボタンが占める正方形の大きさ。
       マークアップ側がこの名前で参照するので変えない */
    --logo_size_sp: 60px;
  }
}

/* スマホは画面幅に対する比率で決める。
   現サイトを実測して確定：599px以下は 3.6vw、600px以上は 16px。
   （ページ内にある --swl-fz--content:3.8vw は本文用の別変数。ルートはこちら） */
@media (max-width: 599px) {
  :root {
    --fz-base: 3.6vw;
  }
}

/* ============================================================
   配色パレット
   記事本文の文字色・背景色の指定（has-〇〇-color 等）が参照する値。
   もとは管理画面のカスタマイザーで設定されていたもので、
   中身はムラタ様の設定値そのもの。theme.json とセットで維持する。
   ============================================================ */

:root {
  --color_main:       #28abb9;
  --color_main_thin:  rgba(50, 214, 231, .05);
  --color_main_dark:  rgba(30, 128, 139, 1);
  --color_text:       #333;
  --color_link:       #1176d4;
  --color_bg:         #fff;
  --color_htag:       #28abb9;
  --color_gray:       #f7f7f7;

  /* 濃い色 */
  --color_deep01: #8b0000;
  --color_deep02: #2d6187;
  --color_deep03: #63a84d;
  --color_deep04: #f09f4d;

  /* 淡い色 */
  --color_pale01: #fff2f0;
  --color_pale02: #f3f8fd;
  --color_pale03: #f1f9ee;
  --color_pale04: #fdf9ee;

  /* マーカー */
  --color_mark_blue:   #b7e3ff;
  --color_mark_green:  #bdf9c3;
  --color_mark_yellow: #fcf69f;
  --color_mark_orange: #ffddbc;

  /* リスト・アイコン */
  --color_list_check:    #28abb9;
  --color_list_num:      #28abb9;
  --color_list_good:     #86dd7b;
  --color_list_triangle: #f4e03a;
  --color_list_bad:      #f36060;
  --color_faq_q:         #d55656;
  --color_faq_a:         #6599b7;

  /* ヘッダー・フッター */
  --color_header_bg:   #fff;
  --color_header_text: #333;
  --color_footer_bg:   #fff;
  --color_footer_text: #000;
  --color_content_bg:  var(--color_bg);
}


/* ============ 02-base.css ============ */
/* ============================================================
   リセットと基本タイポグラフィ
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* 基準の文字サイズは html に置く。em/rem で書かれた余白や行間が
   まとめて連動する（現サイトも html に置いている） */
html {
  overflow-x: clip;
  font-size: var(--fz-base);
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: var(--fw-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
}

#body_wrap {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: clip;
}

img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

img {
  object-fit: contain;
}

a {
  color: var(--c-link);
  text-decoration: none;
  transition: opacity .25s, color .25s, background-color .25s;
}

a:hover {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* 画面には出さないが読み上げには残す */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}


/* ============ 03-layout.css ============ */
/* ============================================================
   ページの骨格
     .l-container  … 内容を中央に置く枠（最大1200px）
     .l-content    … ヘッダーとフッターに挟まれた本体領域
     .l-article    … 記事・固定ページの本文幅（最大1000px）
   ============================================================ */

/* 内容の幅は1200px。左右の余白ぶんだけ外寸を広く取る */
.l-container {
  max-width: calc(var(--w-container) + var(--pad-side) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-side);
  padding-right: var(--pad-side);
}

/* 幅と左右の余白は .l-container が持つ（本体側は上下だけ面倒を見る） */
.l-content {
  position: relative;
  z-index: 1;
  margin: 0 auto 6em;
  padding-top: 4em;
}

.l-mainContent,
.l-article {
  max-width: var(--w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* 直下の最初と最後の余白は落とす */
.l-mainContent__inner > :first-child,
.l-parent > :first-child { margin-top: 0 !important; }

.l-mainContent__inner > :last-child,
.l-parent > :last-child { margin-bottom: 0 !important; }

/* サイドバー無し運用（現サイトはこれ） */
.-sidebar-off .l-content {
  display: block;
}

.-sidebar-off .l-mainContent {
  width: 100%;
}

@media (max-width: 959px) {
  .l-content {
    padding-top: 2em;
  }
}

/* --- トップページ ---
   メインビジュアルと本文をぴったり付けるため、本体の上下余白を落とす。
   判定クラス（home）は #body_wrap 自身に付く。 */
.home #content {
  padding-top: 0;
  margin-bottom: 0;
}

.home .w-beforeFooter {
  margin-top: 0;
}

.home .page.-index-off .w-beforeToc,
.page.-index-off .w-beforeToc {
  display: none;
}


/* ============ 04-header.css ============ */
/* ============================================================
   ヘッダー
     .l-header        … 帯そのもの
     .l-header__inner … 中身を1200pxに収める枠
     .c-gnav          … PCのグローバルナビ（日本語＋英語の2段）
   トップページだけヘッダーを画像に重ねる（背景透過・白文字）。
   ============================================================ */

.l-header {
  position: relative;
  z-index: var(--z-header);
  width: 100%;
  background-color: var(--c-bg);
  color: var(--c-text);
}

.l-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  color: var(--c-text);
}

/* --- ロゴ --- */
.l-header__logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
  padding: 16px 0;
}

.c-headLogo {
  height: var(--h-logo);
  max-width: 400px;
  margin-right: 16px;
}

.c-headLogo__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.c-headLogo__img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.l-fixHeader .c-headLogo {
  height: var(--h-logo-fix);
}

@media (max-width: 959px) {
  .-img .c-headLogo__link {
    padding: 10px 0;
  }
}

/* トップ用ロゴと下層用ロゴの出し分け */
.c-headLogo__img.-top { display: none; }
.c-headLogo__img.-common { display: block; }

/* --- グローバルナビ（PC） --- */
.c-gnav {
  display: flex;
  align-items: stretch;
  height: 100%;
  text-align: center;
}

/* スマホ用のボタン群はPCでは出さない */
@media (min-width: 960px) {
  .l-header__spNav,
  .l-header__customBtn {
    display: none;
  }
}

/* PC用のナビと追従ヘッダーはスマホでは出さない（代わりにスマホメニューを使う） */
@media (max-width: 959px) {
  .l-header__gnav,
  .l-fixHeader {
    display: none;
  }
}

.c-gnav > li {
  position: relative;
}

.c-gnav > li > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 4px 12px 0;   /* 現サイトは中央よりわずかに下寄り */
  color: inherit;
}

/* ホバー時に下から伸びる線 */
.c-gnav > li > a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  background: var(--c-main);
  content: "";
  transition: width .3s;
}

/* 現在地の下線は出さない（現サイトの挙動に合わせ、ホバー時のみ） */
.c-gnav > li > a:hover::after {
  width: 100%;
}

.c-gnav .ttl {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 14px;
  line-height: 1;
}

/* ナビ項目の下に添える英語 */
.c-smallNavTitle {
  position: relative;
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1;
  opacity: .6;
}

/* --- ドロップダウン --- */
.c-gnav .sub-menu {
  position: absolute;
  z-index: 1;
  width: 240px;
  background-color: var(--c-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  color: var(--c-text);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

/* 親項目の真下・中央に出す */
.c-gnav > .menu-item > .sub-menu {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.c-gnav > .menu-item:hover > .sub-menu,
.c-gnav > .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.c-gnav .sub-menu li {
  position: relative;
}

/* 背景を敷き直して、後ろの階層を隠す */
.c-gnav .sub-menu::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: inherit;
  content: "";
}

/* さらに下の階層は右側に出す */
.c-gnav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  z-index: -1;
  transform: none;
}

.c-gnav .sub-menu a {
  position: relative;
  display: block;
  padding: .5em .75em .5em 2em;
  color: inherit;
}

/* 行頭の小さな矢印 */
.c-gnav .sub-menu a::before {
  position: absolute;
  top: 50%;
  left: .5em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  transform: translateY(-50%);
  content: "";
  -webkit-mask: var(--icon-chevron-right) no-repeat center/contain;
  mask: var(--icon-chevron-right) no-repeat center/contain;
}

.c-gnav .sub-menu a:hover {
  background-color: rgba(0, 0, 0, .03);
}

/* ホバーで少し右へずれる */
.c-gnav .sub-menu .ttl {
  position: relative;
  left: 0;
  display: inline;
  font-size: .9em;
  transition: left .25s;
}

.c-gnav .sub-menu a:hover .ttl {
  left: 4px;
}

/* 英字サブタイトルはドロップダウンでは出さない */
.sub-menu .c-smallNavTitle {
  display: none;
}

/* --- 追従ヘッダー --- */
.l-fixHeader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  width: 100%;
  background-color: var(--c-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform .3s, opacity .3s;
}

.l-fixHeader.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.l-fixHeader__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- お知らせバー --- */
.c-infoBar {
  display: block;
}

.c-infoBar__link {
  display: block;
  padding: 8px 16px;
  text-align: center;
}

/* ============================================================
   トップページ：ヘッダーを画像に重ねる
   判定クラス（home）は <body> ではなく #body_wrap に付くので、
   自分自身に効く形と子孫に効く形の両方を書く。
   ============================================================ */

.home .l-header {
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  box-shadow: none;
  transition: all .5s;
}

.home .l-header .l-header__inner {
  color: var(--c-header-top-text, var(--c-white));
}

.home .l-header .c-gnav > li > a::after {
  background: var(--c-header-top-text, var(--c-white));
}

.home .l-header.-t-fff { --c-header-top-text: #fff; }
.home .l-header.-t-000 { --c-header-top-text: #000; }

#body_wrap.home {
  padding-top: 0 !important;
}

.home .c-infoBar {
  display: none;
}

/* 追従ヘッダーは下層用ロゴを使う */
.home .l-fixHeader .c-headLogo__img.-common { display: block; }
.home .l-fixHeader .c-headLogo__img.-top { display: none; }

@media (min-width: 960px) {
  .home .l-header {
    position: absolute !important;
    background: none;
    box-shadow: none !important;
  }
  .home .c-headLogo__img.-common { display: none; }
  .home .c-headLogo__img.-top { display: block; }
}

@media (max-width: 959px) {
  .home .l-header[data-spfix="1"] {
    position: fixed !important;
  }
  .home [data-spfix="0"] {
    background: none;
    box-shadow: none;
  }
  .home [data-spfix="0"] .l-header__inner {
    color: var(--c-header-top-text, var(--c-white));
  }
  .home [data-spfix="0"] .c-headLogo__img.-common { display: none; }
  .home [data-spfix="0"] .c-headLogo__img.-top { display: block; }
  .home .l-header__spNav {
    opacity: 0;
    pointer-events: none;
    animation: none !important;
    transition: opacity .5s;
  }
}

/* ============================================================
   スマホのヘッダーの並び（2026-08-22）

   現サイトは order で【メニューボタン → ロゴ → 右のボタン】の順に並べ替えている。
   これが無いとロゴが左端に張り付き、社名の左側が画面の外に切れる。
   ============================================================ */
@media (max-width: 959px) {
  .l-header__menuBtn   { order: 1; }
  .l-header__logo      { order: 2; }
  .l-header__customBtn { order: 3; }

  .l-header__menuBtn,
  .l-header__customBtn {
    width: var(--logo_size_sp);
    height: var(--logo_size_sp);
    line-height: 1.25;
    text-align: center;
  }

  /* PC用の上下パディングをやめ、左右にわずかな余白を取る */
  .l-header__logo {
    padding: 0 2vw;
    line-height: 1;
  }

  /* PC用の幅制限と右余白はスマホでは外す（付いたままだとロゴが小さくなる） */
  .c-headLogo {
    max-width: none;
    margin-right: 0;
  }

  /* ボタンは囲みいっぱいに広げる。中身の幅のままだと指で押しにくい */
  .l-header__menuBtn .c-iconBtn,
  .l-header__customBtn .c-iconBtn {
    width: 100%;
  }
}


/* ============ 05-mainvisual.css ============ */
/* ============================================================
   トップページのメインビジュアル（スライドショー）
   画像の上にキャッチコピーを重ね、下にスクロール誘導を置く。
   ============================================================ */

.p-mainVisual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.p-mainVisual__inner {
  position: relative;
  width: 100%;
  height: 550px;
}

@media (min-width: 960px) {
  .p-mainVisual__inner {
    height: 800px;
  }
}

.p-mainVisual__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 画像レイヤー */
.p-mainVisual__imgLayer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.p-mainVisual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字レイヤー */
.p-mainVisual__textLayer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.p-mainVisual__title {
  display: block;
}

.p-mainVisual__text {
  display: block;
}

/* スクロール誘導（下端の中央に置く） */
.p-mainVisual__scroll {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 9;
  color: var(--c-white);
  text-align: center;
  opacity: .75;
  transform: translateX(-50%);
  transition: opacity .25s;
}

.p-mainVisual__scroll:hover {
  opacity: 1;
}

.-height-full > .p-mainVisual__scroll {
  bottom: 24px;
}

/* スライダー表示のときは少し下に余白を足す */
.-type-slider .p-mainVisual__scroll {
  padding-bottom: 16px;
}

/* 矢印はゆっくり上下に揺れる */
.p-mainVisual__scrollArrow {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  animation: mv-float 3s ease-in-out infinite alternate;
}

.p-mainVisual__scrollLabel {
  display: block;
  padding-top: 4px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
}

@keyframes mv-float {
  0%   { transform: translate3d(0, 4px, 0); }
  50%  { transform: translate3d(0, -4px, 0); }
  100% { transform: translate3d(0, 4px, 0); }
}

/* トップの画像には色を重ねない設定 */
.p-mainVisual .c-filterLayer::before {
  background-color: #000;
  opacity: 0;
  content: "";
}

/* 画像に重ねる色フィルター（濃さは設定側から指定される） */
.c-filterLayer {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.c-filterLayer::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.c-filterLayer__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* 動きの指定が「なし」のときはアニメーションを止める */
.-motion-no .p-mainVisual__slide {
  animation: none !important;
}

/* ============================================================
   スライドショーの土台（swiper のマークアップに合わせた最小限）
   ============================================================ */

.swiper {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  overflow: hidden;
  list-style: none;
}

.swiper-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  transition-property: transform;
}

.swiper-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  transition-property: transform;
}

.swiper-notification {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1000;
  opacity: 0;
  pointer-events: none;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: 10;
  width: 100%;
  text-align: center;
  transition: opacity .3s;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: #000;
  border-radius: 50%;
  opacity: .2;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: var(--c-white);
  opacity: 1;
}


/* ============ 06-pagetitle.css ============ */
/* ============================================================
   下層ページの見出しまわり
     .c-pageTitle    … 固定ページのH1（明朝・大きめ）
     .l-topTitleArea … 写真を敷いたタイトル帯（ムラタ整備・保険で使用）
     .p-breadcrumb   … パンくず
   ============================================================ */

/* --- 固定ページのH1 --- */
.c-pageTitle {
  position: relative;
  line-height: 1.4;
}

.c-pageTitle::after {
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
  content: "";
}

.c-pageTitle__inner {
  display: block;
  padding-top: .5em;
}

.c-pageTitle__subTitle {
  position: relative;
  top: -2px;
  margin-left: 1em;
  font-style: italic;
  letter-spacing: 1px;
  opacity: .8;
}

.c-pageTitle[data-style="b_bottom"] {
  border-bottom: 1px solid var(--c-border);
}

.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
  float: left;
  margin-bottom: -1px;
  padding: .25em .5em;
  border-bottom: 1px solid var(--c-main);
}

.c-pageExcerpt {
  margin-top: 1em;
}

/* --- 写真を敷いたタイトル帯 --- */
.l-topTitleArea {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 11em;
  margin: 0;
  padding: 1.5em 0;
  overflow: hidden;
}

@media (min-width: 600px) {
  .l-topTitleArea {
    min-height: 240px;
    padding: 1em 0;
  }
}

.l-topTitleArea__body {
  position: relative;
  z-index: 3;
  width: 100%;
  color: var(--c-white);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
}

.l-topTitleArea__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 帯の中では文字を白で通す */
.l-topTitleArea .u-thin { opacity: 1; }
.l-topTitleArea .c-postTitle__date { border-color: var(--c-white); }

.l-topTitleArea .c-categoryList,
.l-topTitleArea .c-tagList {
  color: var(--c-white);
}

.l-topTitleArea .c-categoryList__link,
.l-topTitleArea .c-tagList__link {
  background: none;
  color: var(--c-white);
}

.l-topTitleArea .c-categoryList__link {
  border: 1px solid var(--c-white);
}

.l-topTitleArea .c-categoryList__link.-current {
  padding: 0;
  border: none;
}

.l-topTitleArea .c-tagList__link {
  padding: 4px .25em;
  border-bottom: 1px solid var(--c-white);
  border-radius: 0;
}

/* --- パンくず --- */
.p-breadcrumb {
  position: relative;
  margin: 0 auto;
  padding: 8px 0;
}

.p-breadcrumb.-bg-on {
  background: var(--c-bg-sub);
}

.p-breadcrumb:not(.-bg-on) {
  padding-top: 12px;
}

.l-topTitleArea + .p-breadcrumb {
  padding-top: 12px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.p-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: .5em;
  width: 100%;
  overflow: hidden;
  font-size: 11px;
  list-style: none;
}

.p-breadcrumb__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

/* 項目のあいだの「＞」 */
.p-breadcrumb__item::after {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  background-color: currentColor;
  opacity: .8;
  clip-path: polygon(45% 9%, 75% 51%, 45% 90%, 30% 90%, 60% 50%, 30% 10%);
  content: "";
}

.p-breadcrumb__item:last-child::after {
  content: none;
}

.p-breadcrumb__item:last-child span {
  opacity: .8;
}

.p-breadcrumb__text {
  display: inline-flex;
  align-items: center;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.p-breadcrumb__text::before {
  margin-right: 3px;
}

.p-breadcrumb__text .__home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 記事ページでは最後の項目（記事タイトル）は出さない */
.single .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
  display: none;
}

/* スマホではパンくずをもう一段小さく（現サイトの実測値 10px） */
@media (max-width: 959px) {
  .p-breadcrumb__list {
    font-size: 10px;
  }
}


/* ============ 07-content.css ============ */
/* ============================================================
   本文（.post_content）のタイポグラフィ
   既存102記事がこの見た目に依存しているので、変更は慎重に。
     h2 … メインカラーの帯に白抜き
     h3 … メインカラーの文字＋下線
     h4 … 左に縦棒
   ============================================================ */

.post_content {
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

/* 本文領域に直接置かれたときだけ、上下と左右に余白を取る */
.l-mainContent__inner > .post_content {
  margin: 4em 0;
  padding: 0 var(--pad-post, 0);
}

@media (max-width: 959px) {
  .l-mainContent__inner > .post_content {
    margin: 2em 0;
  }
}

/* ブロック同士の縦の間隔 */
.post_content > * {
  clear: both;
  margin-top: 0;
  margin-bottom: 2em;
}

.post_content > :first-child { margin-top: 0 !important; }
.post_content > :last-child  { margin-bottom: 0 !important; }
.post_content div > :first-child { margin-top: 0 !important; }
.post_content div > :last-child  { margin-bottom: 0 !important; }

/* --- 見出し ---
   h2 … メインカラーの帯に白抜き（上下に細い罫線）
   h3 … 下に斜めストライプの帯
   h4 … 左に縦棒
   「swell-block-」で始まるクラスが付いた見出し（FAQの質問文など）は
   ブロック側の見た目を使うので、この装飾から除外する。 */
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
  position: relative;
  line-height: 1.4;
}

.post_content h2,
.post_content h3 {
  letter-spacing: .2px;
}

.post_content h2 {
  z-index: 1;
  margin: 4em 0 2em;
  font-size: 1.4em;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: .75em 1em;
  background: var(--c-main);
  color: var(--c-white);
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  position: absolute;
  top: -4px;
  left: 0;
  display: block;
  box-sizing: content-box;
  width: 100%;
  height: calc(100% + 4px);
  border-top: 2px solid var(--c-main);
  border-bottom: 2px solid var(--c-main);
  pointer-events: none;
  content: "";
}

.post_content h3 {
  margin: 3em 0 2em;
  font-size: 1.3em;
}

.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: 0 .5em .5em;
}

.post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg,
    transparent 25%, var(--c-main) 25%, var(--c-main) 50%,
    transparent 50%, transparent 75%, var(--c-main) 75%, var(--c-main));
  background-size: 4px 4px;
  opacity: .5;
  content: "";
}

.post_content h4 {
  margin: 3em 0 1.5em;
  font-size: 1.2em;
}

.post_content h4:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  padding: 0 0 0 16px;
  border-left: 2px solid var(--c-main);
}

.post_content h5,
.post_content h6 {
  margin-bottom: 1.4rem;
  font-size: 1.1em;
}

/* --- 段落・リンク --- */
.post_content p {
  line-height: 2.5em;
}

.post_content a {
  color: var(--c-link);
  text-decoration: underline;
}

.post_content a:hover {
  text-decoration: none;
}

/* --- リスト --- */
.post_content ul,
.post_content ol {
  padding-left: 1.5em;
}

.post_content li ul,
.post_content li ol {
  margin: 0;
}

.post_content ul > li {
  list-style: disc;
}

.post_content ol > li {
  list-style: decimal;
}

.post_content li {
  position: relative;
  margin: .25em 0;
  line-height: 1.5;
}

/* --- 表 --- */
.post_content table {
  width: 100%;
  max-width: 100%;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
  line-height: var(--lh-base);
  text-align: left;
}

.post_content th,
.post_content td {
  position: relative;
  z-index: 1;
  padding: .5em;
  border: 1px solid var(--c-border-table);
  vertical-align: middle;
}

.post_content th {
  background-color: var(--tbody-th-color--bg, rgba(150, 150, 150, .05));
  color: var(--tbody-th-color--txt, inherit);
  font-weight: 700;
}

/* 見出し行は色を反転 */
.post_content thead th,
.post_content thead td {
  background-color: var(--thead-color--bg, var(--c-main));
  color: var(--thead-color--txt, var(--c-white));
}

/* --- 引用・区切り --- */
.post_content blockquote {
  position: relative;
  padding: 1.5em 2em;
  background-color: var(--c-bg-sub);
}

.post_content blockquote.is-style-large {
  padding: 1.5em 3em;
}

.post_content blockquote > :not(:last-child) {
  margin: 0 0 .5em;
}

.post_content blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: .8em;
  opacity: .8;
}

.post_content table caption {
  margin-bottom: .25em;
  font-size: .9em;
  opacity: .8;
}

.post_content hr {
  margin: 2.5em 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

/* --- 埋め込み・コード --- */
.post_content iframe {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.post_content pre {
  padding: .5em;
  overflow-x: auto;
}

.post_content :not(pre) > code {
  display: inline-flex;
  align-items: center;
  padding: 0 .25em;
  background: var(--c-bg-sub);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 2px;
  color: var(--c-text);
}

/* --- 見出し（帯なしの中央寄せスタイル） --- */
.post_content .is-style-section_ttl {
  position: relative;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  letter-spacing: .2px;
  text-align: center;
}

.post_content .is-style-section_ttl::before,
.post_content .is-style-section_ttl::after {
  border: none;
  content: none;
}

.post_content .is-style-section_ttl.has-text-align-left  { text-align: left; }
.post_content .is-style-section_ttl.has-text-align-right { text-align: right; }

.post_content .is-style-section_ttl small {
  display: block;
  padding-top: .25em;
  font-size: .6em;
}

/* --- 画像 --- */
.post_content figure {
  margin-left: 0;
  margin-right: 0;
}

.post_content figcaption {
  margin-top: .5em;
  font-size: .85em;
  text-align: center;
  opacity: .8;
}


/* ============ 08-blocks.css ============ */
/* ============================================================
   本文で使うブロック
   既存記事の本文にこれらのクラス名が保存されているため、
   クラス名は変えられない。中身の指定だけを自前で書いている。
   ============================================================ */

/* --- 画面幅いっぱいのセクション --- */
/* 画面幅いっぱいに広げるのは alignfull の役目。ここは上下の余白だけ持つ */
.swell-block-fullWide {
  position: relative;
  padding: 2em 0;
}

/* 親の幅を突き抜けて画面いっぱいに広げる。
   スクロールバーの分だけ狭めないと横スクロールが出る */
.alignfull {
  position: relative;
  left: calc(50% - 50vw + var(--scrollbar-width, 0px) / 2);
  width: calc(100vw - var(--scrollbar-width, 0px));
  max-width: 100vw !important;
}

.alignwide {
  position: relative;
  width: 100%;
  max-width: none !important;
}

h2.alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 続けて並んだときは間を詰める */
.swell-block-fullWide + .swell-block-fullWide {
  margin-top: -2em;
}

/* 中身の左右余白。既定は無し（画面いっぱいに使う）で、
   幅を絞るクラスが付いたときだけ余白を持たせる */
.swell-block-fullWide__inner {
  position: relative;
  z-index: 1;
  padding-left: var(--fw-inner-pad, 0);
  padding-right: var(--fw-inner-pad, 0);
}

.swell-block-fullWide__inner.l-article,
.swell-block-fullWide__inner.l-container {
  margin-left: auto;
  margin-right: auto;
}

/* 中に並べたブロックの間隔（本文直下と同じ間隔にする） */
.swell-block-fullWide__inner > *,
.alignfull > .wp-block-group__inner-container > *,
.alignfull > .wp-block-cover__inner-container > * {
  margin-bottom: 2em;
}

/* PCでは、本文幅に絞る場合と画面幅に合わせる場合で余白が違う */
@media (min-width: 960px) {
  .swell-block-fullWide__inner.l-article  { --fw-inner-pad: var(--pad-post); }
  .swell-block-fullWide__inner.l-container { --fw-inner-pad: var(--pad-side); }
}

@media (max-width: 959px) {
  .swell-block-fullWide__inner.l-article,
  .swell-block-fullWide__inner.l-container { --fw-inner-pad: var(--pad-side); }
}

/* 上下の余白（記事編集で pc-py-** / sp-py-** が付く） */
@media (min-width: 960px) {
  .pc-py-0  { padding-top: 0   !important; padding-bottom: 0   !important; }
  .pc-py-20 { padding-top: 2em !important; padding-bottom: 2em !important; }
  .pc-py-40 { padding-top: 4em !important; padding-bottom: 4em !important; }
  .pc-py-60 { padding-top: 6em !important; padding-bottom: 6em !important; }
  .pc-py-80 { padding-top: 8em !important; padding-bottom: 8em !important; }
}

@media (max-width: 959px) {
  .sp-py-0  { padding-top: 0   !important; padding-bottom: 0   !important; }
  .sp-py-20 { padding-top: 2em !important; padding-bottom: 2em !important; }
  .sp-py-40 { padding-top: 4em !important; padding-bottom: 4em !important; }
  .sp-py-60 { padding-top: 6em !important; padding-bottom: 6em !important; }
  .sp-py-80 { padding-top: 8em !important; padding-bottom: 8em !important; }
}

/* --- よくある質問 --- */
.swell-block-faq__item {
  position: relative;
}

.swell-block-faq__item + .swell-block-faq__item {
  margin-top: 1.5em;
}

.faq_q,
.faq_a {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .5em;
}

.faq_q {
  font-weight: 700;
}

.faq_a {
  margin-top: .8em;
}

/* 行頭の Q / A */
.faq_q::before,
.faq_a::before {
  flex-shrink: 0;
  width: 1.5em;
  font-size: 1.1em;
  line-height: 1.4;
  text-align: center;
}

.faq_q::before {
  color: var(--c-main);
  content: "Q";
}

.faq_a::before {
  color: var(--c-link);
  content: "A";
}

/* 枠で囲むスタイル */
.is-style-faq-box .swell-block-faq__item {
  padding: 1.2em 1.5em;
  border: 1px solid var(--c-border);
  border-radius: 4px;
}

/* 交互に色を敷くスタイル */
.is-style-faq-stripe .faq_q {
  padding: .6em .8em;
  background-color: var(--c-bg-sub);
}

/* 入れ物の中に並べた要素は、下に 1em の間隔を空ける。
   これが無いと最後の要素の下が詰まって、囲みの高さが足りなくなる。 */
.wp-block-column > *,
.wp-block-group__inner-container > *,
.wp-block-cover__inner-container > *,
.wp-block-media-text__content > *,
.swell-block-accordion__body > *,
.swell-block-dl__dd > *,
.swell-block-step__body > *,
.c-tabBody__item > *,
.faq_a > *,
div[class*="is-style-"] > * {
  margin-bottom: 1em;
}

/* --- 画像 ---
   画像ブロックは中央寄せが既定。指定しないと左端に貼りつく。 */
.wp-block-image {
  text-align: center;
}

.wp-block-image::after {
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
  content: "";
}

.wp-block-image figcaption,
.wp-block-embed > figcaption,
.wp-block-table figcaption {
  display: block !important;
  margin: .75em 0 0;
  color: inherit;
  font-size: .8em;
  line-height: 1.4;
  opacity: .8;
  text-align: center;
}

/* --- メディアと文章（画像＋テキストの2段組） --- */
.wp-block-media-text {
  --mediatext-space: 1.5rem;
  --mediatext-gap: var(--mediatext-space);
  --mediatext-offset-x: var(--mediatext-space);
  gap: var(--mediatext-gap);
}

/* WordPress 既定の左右 8% の内側余白は使わない */
.wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}

.wp-block-media-text__media img {
  display: block;
}

.wp-block-media-text.has-background {
  --mediatext-gap: 0;
  --mediatext-offset-x: 0;
  padding: 0;
}

.wp-block-media-text.has-background .wp-block-media-text__content {
  padding: var(--mediatext-space);
}

/* is-style-broken ＝ 文章を画像側に食い込ませて重ねる見せ方。
   破線でも枠線でもない。 */
.is-style-broken.wp-block-media-text {
  --swl-mediatext--lap: -4em;   /* 記事側がこの名前を直接指定するので変えない */
}

/* 重ねる側を前面に出す。position は付けない
   ―― .asdf（画像の上のラベル）が基準にしているのは
      この文章の箱ではなく外側の .asdf-wrapper なので。 */
.is-style-broken .wp-block-media-text__content {
  z-index: 1;
}

.is-style-broken:not(.has-media-on-the-right) .wp-block-media-text__content {
  margin-left: var(--swl-mediatext--lap);
}

.is-style-broken.has-media-on-the-right .wp-block-media-text__content {
  margin-right: var(--swl-mediatext--lap);
}

/* スマホでは上下に積む。重なりは縦方向に振り替える */
@media (max-width: 600px) {
  .wp-block-media-text {
    --mediatext-space: 1rem;
  }

  .is-stacked-on-mobile.wp-block-media-text {
    --mediatext-gap: 0;
    --mediatext-offset-x: 0;
  }

  .is-stacked-on-mobile > .wp-block-media-text__media { grid-row: 1 !important; }

  .is-stacked-on-mobile > .wp-block-media-text__content {
    grid-row: 2 !important;
    padding: var(--mediatext-space) !important;
  }

  .is-style-broken.is-stacked-on-mobile .wp-block-media-text__content {
    margin: var(--swl-mediatext--lap) 0 0 !important;
  }
}

/* --- ボタン ---
   ブロックの種類（WordPress標準／独自ブロック）に関わらず、
   is-style-btn_* が付いた枠の中の <a> を見た目の担当にする。 */
[class*="is-style-btn_"] {
  --the-fz: 1em;
  --the-width: auto;
  --the-min-width: 64%;
  --the-padding: .75em 1.5em;
  --the-btn-color: var(--c-main);
  --the-btn-bg: var(--the-btn-color);
  position: relative;
  display: block;
  margin: 0 auto 2em;
  font-size: var(--the-fz);
  text-align: center;
}

[class*="is-style-btn_"] a {
  position: relative;
  display: inline-block;
  width: var(--the-width);
  min-width: var(--the-min-width);
  margin: 0;
  padding: var(--the-padding);
  background: var(--the-btn-bg);
  border-radius: var(--the-btn-radius, 0);
  line-height: 1.5;
  letter-spacing: 1px;
  text-decoration: none;
}

[class*="is-style-btn_"] img { display: none; }

[class*="is-style-btn_"].-size-s { --the-fz: .9em; --the-min-width: 40%; }
[class*="is-style-btn_"].-size-l { --the-min-width: 100%; --the-padding: 1em 1.5em; }
[class*="is-style-btn_"].-size-custom { --the-min-width: 1em; }

/* ボタンの色。マークアップ側が色名クラスで指定してくる
   （記事本文に書かれている名前なので変えられない） */
.red_   { --the-btn-color: #f74a4a; --the-solid-shadow: rgba(185, 56, 56, 1); }
.blue_  { --the-btn-color: #2d6187; --the-solid-shadow: rgba(34, 73, 101, 1); }
.green_ { --the-btn-color: #62d847; --the-solid-shadow: rgba(74, 162, 53, 1); }

/* アイコン付きボタン（電話番号など）。文字とアイコンを中央で揃える */
[class*="is-style-btn_"] a[data-has-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

[class*="is-style-btn_"] a[data-has-icon] > span {
  display: block;
}

[class*="is-style-btn_"] a .__icon {
  flex: 0 0 auto;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* 塗りつぶし */
.is-style-btn_normal a {
  color: var(--c-white);
  font-weight: 700;
  transition: box-shadow .25s;
}

.is-style-btn_normal a:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
  opacity: 1;
}

/* 影付き */
.is-style-btn_solid a {
  color: var(--c-white);
  font-weight: 700;
  box-shadow: 0 4px 0 var(--the-solid-shadow, rgba(30, 128, 139, 1));
  transition: box-shadow .25s, transform .25s;
}

.is-style-btn_solid a:hover {
  box-shadow: 0 0 0 transparent !important;
  transform: translate3d(0, 4px, 0);
}

/* 枠線だけ */
.is-style-btn_line a {
  background: none;
  border: 1px solid;
  color: var(--the-btn-color, var(--c-main));
}

.is-style-btn_line a:hover {
  background-color: var(--the-btn-color, var(--c-main));
  border-color: transparent;
  color: var(--c-white) !important;
}

@media (min-width: 600px) {
  [class*="is-style-btn_"] { --the-min-width: 40%; }
  [class*="is-style-btn_"].-size-s { --the-min-width: 20%; }
  [class*="is-style-btn_"].-size-l { --the-min-width: 80%; }
}

/* 本文中でも下線を付けない */
.post_content [class*="is-style-btn_"] a { text-decoration: none; }

/* --- 表（ブロックエディタの表） --- */
.wp-block-table {
  --table-border: 1px solid var(--c-border-table);
}

.wp-block-table td,
.wp-block-table th {
  position: relative;
  z-index: 0;
  padding: .5em .75em;
  border: var(--table-border);
  background-clip: padding-box;
  vertical-align: top;
}

.wp-block-table thead,
.wp-block-table tfoot {
  border: none;
}

/* 罫線を横線だけにするスタイル */
.is-style-simple td,
.is-style-simple th {
  border-left: none;
  border-right: none;
  box-shadow: none;
}

.is-style-simple thead td,
.is-style-simple thead th {
  border-bottom: 4px double var(--c-border-table);
}

/* 一行おきに色を敷くスタイル */
.is-style-stripes tbody td,
.is-style-stripes tbody th {
  border: none !important;
}

.is-style-stripes thead th {
  border: none;
}

/* --- カラム --- */
/* 本文の広い行間をカラムの中まで持ち込まない */
.wp-block-columns {
  --wp-column-gap: 1.5em;
  gap: var(--wp-column-gap) !important;
  line-height: var(--lh-base);
}

/* 横に並べるカラム。左に負のマージンを取り、各列に同じ幅のマージンを付けて
   等間隔に見せる（折り返しても間隔が揃う） */
/* 間隔と内側の余白は、記事の編集画面で指定された値が
   マークアップ側から入ってくる（変数名は変更できない） */
.swell-block-columns {
  --swl-clmn-mrgn--x: 1.5rem;
  --swl-clmn-mrgn--y: 1.5rem;
  --swl-clmn-pddng: 0;
}

.swell-block-columns__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 0 !important;
  margin-left: calc(var(--swl-clmn-mrgn--x) * -1);
  row-gap: var(--swl-clmn-mrgn--y);
}

.swell-block-columns .swell-block-column {
  width: calc(var(--clmn-w) - var(--swl-clmn-mrgn--x));
  margin: 0 0 0 var(--swl-clmn-mrgn--x);
  padding: var(--swl-clmn-pddng);
}

/* 列の幅は画面サイズごとに切り替わる */
.swell-block-column { --clmn-w: var(--clmn-w--mobile, 100%); }

@media (min-width: 600px) { .swell-block-column { --clmn-w: var(--clmn-w--tab, 50%); } }
@media (min-width: 960px) { .swell-block-column { --clmn-w: var(--clmn-w--pc, 50%); } }

.swell-block-columns.alignfull {
  margin-left: 0;
  margin-right: 0;
}

.swell-block-columns[data-valign="top"]    > .swell-block-columns__inner { align-items: flex-start; }
.swell-block-columns[data-valign="center"] > .swell-block-columns__inner { align-items: center; }
.swell-block-columns[data-valign="bottom"] > .swell-block-columns__inner { align-items: flex-end; }

.swell-block-column[data-valign="top"]    { align-self: flex-start; }
.swell-block-column[data-valign="center"] { align-self: center; }
.swell-block-column[data-valign="bottom"] { align-self: flex-end; }

/* 横スクロールさせる指定のとき */
.swell-block-columns[data-scrollable] {
  --swl-clmn-mrgn--y: 0px;
  overflow: hidden;
}

.swell-block-columns[data-scrollable] > .swell-block-columns__inner {
  padding-bottom: 16px;
}

.swell-block-columns[data-scrollable="1"] > .swell-block-columns__inner {
  flex-wrap: nowrap;
  margin-left: 0;
  overflow-x: auto;
}

.swell-block-columns[data-scrollable="1"] > .swell-block-columns__inner > .swell-block-column {
  flex-shrink: 0;
  width: var(--clmn-w);
  margin-left: 0;
}

/* 枠線・影を付けるスタイル */
.is-style-clmn-border > .swell-block-columns__inner > .swell-block-column {
  border: 1px solid var(--c-border);
}

.is-style-clmn-shadow > .swell-block-columns__inner > .swell-block-column {
  background-color: var(--c-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  color: var(--c-text);
}

/* --- バナーリンク（画像の上に文字を重ねたリンク） --- */
.c-bannerLink {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  text-align: center;
}

.c-bannerLink::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: inherit;
  border-radius: inherit;
  content: "";
}

.c-bannerLink__figure {
  position: relative;
  z-index: 0;
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
  transition: opacity .25s;
}

.c-bannerLink__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

a.c-bannerLink:hover .c-bannerLink__figure { opacity: .8; }
a.c-bannerLink:hover .c-bannerLink__img { transform: scale(1.04); }

.c-bannerLink__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  color: var(--c-white);
  text-align: center;
}

.c-bannerLink__text.is-vertically-aligned-top    { justify-content: flex-start; }
.c-bannerLink__text.is-vertically-aligned-bottom { justify-content: flex-end; }

.c-bannerLink__title {
  width: 100%;
  font-size: 1.4em;
  line-height: 1.25;
}

.c-bannerLink__description {
  width: 100%;
  margin-top: .5em;
  font-size: .95em;
}

/* 隅に置く小さなラベル */
.c-bannerLink__label {
  position: absolute;
  z-index: 2;
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.-cap-none .c-bannerLink__label { display: none; }

.-cap-top_left .c-bannerLink__label {
  top: 4px;
  left: 4px;
  padding: 2px 12px;
  background-color: var(--c-white);
  color: var(--c-text);
}

.-cap-btm_right .c-bannerLink__label {
  right: 4px;
  bottom: 4px;
  padding: 2px 12px;
  background-color: var(--c-white);
  color: var(--c-text);
}

.-cap-btm_wide .c-bannerLink__label {
  bottom: 0;
  left: 0;
  padding: 8px;
  background: rgba(0, 0, 0, .25);
  color: var(--c-white);
}

.-darken .c-bannerLink { background-color: rgba(0, 0, 0, .2); }
.-radius-on.c-bannerLink { border-radius: 8px; }

/* --- キャプション付きの囲みボックス --- */
.cap_box {
  position: relative;
  margin-top: 2em;
  border: 1px solid var(--c-main);
  border-radius: 2px;
}

.cap_box_ttl {
  display: block;
  padding: .4em 1em;
  background-color: var(--c-main);
  color: var(--c-white);
  font-size: .96em;
  line-height: 1.4;
}

.cap_box_content {
  padding: 1.2em 1.5em;
}

.cap_box_content > *:last-child {
  margin-bottom: 0;
}

/* --- 写真を額装するスタイル --- */
.is-style-photo_frame img {
  padding: 8px;
  border: 1px solid var(--c-border);
  background-color: var(--c-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* --- チェック／バツのリスト --- */
.is-style-good_list,
.is-style-bad_list {
  padding-left: 0;
}

.is-style-good_list > li,
.is-style-bad_list > li {
  position: relative;
  padding-left: 1.6em;
  list-style: none;
}

.is-style-good_list > li::before,
.is-style-bad_list > li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.is-style-good_list > li::before {
  color: var(--c-main);
  content: "✓";
}

.is-style-bad_list > li::before {
  color: #e2401c;
  content: "✕";
}

/* --- 区切りスタイル --- */
.is-style-section_ttl {
  text-align: center;
}

hr.is-style-simple {
  border: none;
}

/* 枠線や背景色を付けたブロックは内側に余白を取る */
.has-border,
div.has-background,
p.has-background {
  padding: var(--pad-box);
}

/* グループブロックだけ画面が広いときに余白を増やす */
@media (min-width: 600px) {
  .wp-block-group {
    --pad-box: 2em;
  }
}

/* 枠線・背景のバリエーション */
.is-style-border_sg { padding: var(--pad-box); border: 1px solid hsla(0, 0%, 78%, .5); }
.is-style-border_dg { padding: var(--pad-box); border: 1px dashed hsla(0, 0%, 78%, .5); }
.is-style-border_sm { padding: var(--pad-box); border: 1px solid var(--c-main); }
.is-style-border_dm { padding: var(--pad-box); border: 1px dashed var(--c-main); }

.is-style-bg_main      { padding: var(--pad-box); background-color: var(--c-main); color: var(--c-white); }
.is-style-bg_main_thin { padding: var(--pad-box); background-color: rgba(50, 214, 231, .05); }
.is-style-bg_gray      { padding: var(--pad-box); background: var(--c-gray); }

.is-style-dent_box {
  padding: var(--pad-box);
  background: rgba(0, 0, 0, .05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .1);
}

.is-style-note_box,
.is-style-stitch {
  display: block;
  padding: var(--pad-box);
  background: var(--c-bg-sub);
  color: #5f5a59;
  font-style: normal;
}

.is-style-kakko_box,
.is-style-big_kakko_box {
  position: relative;
  padding: var(--pad-box);
}

/* 方眼紙のような背景 */
.is-style-bg_grid {
  padding: var(--pad-box);
  background-image:
    linear-gradient(transparent calc(100% - 1px), var(--c-gray) 50%, var(--c-gray)),
    linear-gradient(90deg, transparent calc(100% - 1px), var(--c-gray) 50%, var(--c-gray));
  background-repeat: repeat;
  background-size: 16px 16px;
}

/* 丸番号のリスト（SWELL標準スタイル）。
   手順を並べるときに使う。番号の色は配色パレットの --color_list_num。 */
.is-style-num_circle {
  counter-reset: li;
  list-style: none !important;
  padding-left: 0;
}

/* li 側にも指定しないと、ブラウザ既定の「1.」が丸番号と二重に出る */
.is-style-num_circle li {
  position: relative;
  padding-left: 2.6em;
  margin-bottom: 1.2em;
  list-style: none !important;
}

.is-style-num_circle li::before {
  position: absolute;
  top: .1em;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  background-color: var(--color_list_num);
  border-radius: 50%;
  color: var(--c-white);
  font-size: .85em;
  font-weight: 700;
  line-height: 1;
  counter-increment: li;
  content: counter(li);
}

/* ============================================================
   ふきだし（c-balloon）— 2026-08-23

   記事本文で110箇所使われている。自前テーマに無いままだと
   アイコンと本文がただ縦に並ぶだけになるので書き起こした。
   ============================================================ */
.c-balloon {
  position: relative;
  display: flex;
  align-content: flex-start;
  justify-content: space-between;
}

.c-balloon.-bln-right { flex-direction: row-reverse; }

/* 左の顔アイコン */
.c-balloon__icon {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
}

.c-balloon__iconImg {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  object-fit: cover;
}

.-circle > .c-balloon__iconImg {
  border: 2px solid #ececec;
  border-radius: 50%;
}

.c-balloon__iconName {
  display: block;
  padding-top: 4px;
  font-size: 10px;
  line-height: 1;
  opacity: .8;
}

/* 吹き出しの中身 */
.c-balloon__body {
  display: flex;
  flex-basis: 100%;
  align-items: flex-start;
  padding: 4px 24px;
}

.c-balloon__body.-thinking { padding-top: 8px; }
.-bln-left  .c-balloon__body { justify-content: flex-start; }
.-bln-right .c-balloon__body { justify-content: flex-end; }

.c-balloon__text {
  position: relative;
  max-width: 560px;
  padding: 1em;
  border-radius: 8px;
  color: var(--c-text);
  line-height: 1.6;
}

.-border-on .c-balloon__text {
  border-style: solid;
  border-width: 1px;
}

.c-balloon .c-balloon__text > p {
  margin-top: 0;
  margin-bottom: 0;
}

/* 吹き出しの尻尾。三角（話す）と丸（考える）の2種類 */
.c-balloon__shapes {
  position: absolute;
  top: 16px;
  z-index: 1;
  width: 0;
  height: 0;
  background-color: inherit;
  border-color: inherit;
}

.-bln-left  .c-balloon__shapes { left: 0; }
.-bln-right .c-balloon__shapes { right: 0; transform: rotateY(180deg); }

.c-balloon__before,
.c-balloon__after {
  position: absolute;
  top: 0;
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}

.-speaking .c-balloon__before,
.-speaking .c-balloon__after {
  left: -10px;
  border-width: 8px 10px 8px 0;
}

.-thinking .c-balloon__before,
.-thinking .c-balloon__after {
  background: inherit;
  border-radius: 50%;
}

.-thinking.-border-none .c-balloon__before,
.-thinking.-border-none .c-balloon__after { border: none; }

.-thinking.-border-on .c-balloon__before,
.-thinking.-border-on .c-balloon__after {
  border-color: inherit;
  border-width: 1px;
}

.c-balloon__before { z-index: 3; }
.-speaking.-border-on .c-balloon__before { left: -8px; }

.-thinking .c-balloon__before {
  top: 0;
  left: -21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.c-balloon__after {
  z-index: 2;
  border-right-color: inherit;
}

.-speaking.-border-none .c-balloon__after { display: none; }

.-thinking .c-balloon__after {
  top: 8px;
  left: -16px;
  width: 12px;
  height: 12px;
}


/* ============ 09-postlist.css ============ */
/* ============================================================
   記事一覧
     .-type-card  … カード型（現サイトのブログ一覧）
     .-type-thumb … サムネイル型
   枠線・角丸・カラム数は 90-site.css 側で上書きしている。
   ============================================================ */

.p-postList {
  display: flex;
  flex-wrap: wrap;
}

.p-postList__item {
  position: relative;
  width: 100%;
}

.p-postList__link {
  display: block;
  color: inherit;
}

.p-postList__body {
  position: relative;
}

.p-postList__title {
  display: block;
  line-height: 1.5;
}

.p-postList__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
  font-size: .85em;
}

.p-postList__excerpt {
  margin-top: .5em;
  font-size: .9em;
  line-height: 1.8;
}

/* カラム数 */
@media (min-width: 600px) {
  .-pc-col2 .p-postList__item { width: 50%; }
  .-pc-col3 .p-postList__item { width: 33.33333%; }
  .-pc-col4 .p-postList__item { width: 25%; }
}

@media (max-width: 599px) {
  .-sp-col1 .p-postList__item { width: 100%; }
  .-sp-col2 .p-postList__item { width: 50%; }
}

/* --- サムネイル --- */
.c-postThumb {
  position: relative;
  display: block;
}

.c-postThumb__figure {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
}

.c-postThumb__figure::before {
  display: block;
  padding-top: 61.8%;
  content: "";
}

.c-postThumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サムネイル左上のカテゴリー名 */
.c-postThumb__cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: .2em .8em;
  background-color: var(--c-main);
  color: var(--c-white);
  font-size: 11px;
  line-height: 1.6;
}

/* --- 日付 --- */
.c-postTimes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
}

.c-postTitle__date {
  display: block;
  padding-right: .6em;
  border-right: 1px solid currentColor;
  line-height: 1.2;
  text-align: center;
}

/* --- カテゴリー・タグ --- */
.c-categoryList {
  color: var(--c-main);
}

/* 行頭のフォルダアイコン */
.c-categoryList::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  vertical-align: -.125em;
  content: "";
  -webkit-mask: var(--icon-folder) no-repeat center/contain;
  mask: var(--icon-folder) no-repeat center/contain;
}

.c-categoryList__link,
.c-tagList__link,
.c-taxList__link {
  display: block;
  padding: 4px .5em;
  border-radius: 1px;
  line-height: 1;
  text-decoration: none;
}

.c-categoryList__link {
  background-color: var(--c-main);
  color: var(--c-white);
}

.l-mainContent .c-categoryList__link.-current {
  background: none;
  box-shadow: inset 0 0 0 1px currentColor;
  color: inherit;
}

.c-tagList__link {
  border: 1px solid var(--c-border);
  color: inherit;
}

/* 区切りの「＞」 */
.c-categoryList__separation {
  display: block;
  margin-right: .25em;
  line-height: 1;
}

.c-categoryList__separation::after {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  background-color: currentColor;
  opacity: .8;
  clip-path: polygon(45% 9%, 75% 51%, 45% 90%, 30% 90%, 60% 50%, 30% 10%);
  content: "";
}

/* --- ページ送り --- */
.c-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4em;
  margin-top: 3em;
}

.c-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 2px;
  line-height: 1;
}

.c-pagination .page-numbers.current {
  background-color: var(--c-main);
  color: var(--c-white);
}

/* --- ウィジェット --- */
.c-widget + .c-widget {
  margin-top: 2.5em;
}

.c-widget__title {
  position: relative;
  margin-bottom: 1.5em;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
}

.c-widget__title::before,
.c-widget__title::after {
  position: absolute;
  z-index: 0;
  display: block;
  box-sizing: inherit;
  height: 1px;
}

/* スマホメニューの見出しは中央寄せで左右に線を引く */
.c-widget__title.-spmenu {
  padding: .25em 3.5em;
  text-align: center;
}

.c-widget__title.-spmenu::before {
  top: 50%;
  left: 1em;
  width: 2em;
  background: currentColor;
  content: "";
}

.c-widget__title.-spmenu::after {
  top: 50%;
  right: 1em;
  width: 2em;
  background: currentColor;
  content: "";
}

/* フッター・サイドの見出しは下に線を引く（左4割だけメインカラー） */
.c-widget__title.-footer,
.c-widget__title.-side {
  padding: .5em;
}

.c-widget__title.-footer::before,
.c-widget__title.-side::before {
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 40%;
  background: var(--c-main);
  content: "";
}

.c-widget__title.-footer::after,
.c-widget__title.-side::after {
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--c-border);
  content: "";
}

.widget_search .c-widget__title,
.widget_search .wp-block-search__label {
  display: none;
}

/* --- 検索フォーム --- */
.c-searchForm {
  position: relative;
  display: flex;
}

.c-searchForm__target {
  width: 100%;
  padding: .6em 2.6em .6em .8em;
  border: 1px solid var(--c-border);
  border-radius: 2px;
}

.c-searchForm__submit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.6em;
  color: inherit;
}


/* ============ 10-article.css ============ */
/* ============================================================
   記事ページ固有
     .p-articleMetas … タイトル下の日付・カテゴリー
     .c-shareBtns    … SNSシェア
     .p-relatedPosts … 関連記事
   ============================================================ */

/* --- タイトルと日付（日付を左、タイトルを右に置く） --- */
.c-postTitle {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.c-postTitle__ttl {
  width: 100%;
  font-size: 5vw;
  line-height: 1.4;
}

.c-postTitle__date {
  margin-right: .75em;
  padding: .5em .75em .5em 0;
  border-right: 1px solid var(--c-border);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.c-postTitle__date .__y {
  display: block;
  margin-bottom: 4px;
  font-size: 3vw;
  line-height: 1;
}

.c-postTitle__date .__md {
  display: block;
  font-size: 4.2vw;
}

@media (min-width: 600px) {
  .c-postTitle__ttl { font-size: 24px; }
  .c-postTitle__date .__y  { font-size: 14px; }
  .c-postTitle__date .__md { font-size: 24px; }
}

/* --- タイトル下の日付・カテゴリー --- */
.p-articleMetas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625em;
  padding: 0 1px;
  font-size: 12px;
}

.p-articleMetas.-top {
  margin-top: .75em;
}

.p-articleMetas.-top .p-articleMetas__termList {
  font-size: 11px;
}

.p-articleMetas__termList {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
}

.c-postTimes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em;
}

.c-postTimes__posted::before,
.c-postTimes__modified::before {
  position: relative;
  top: 1px;
  margin-right: .325em;
}

/* --- アイキャッチ画像 --- */
.p-articleThumb {
  width: 100%;
  margin: 2em 0;
  text-align: center;
}

.p-articleThumb__img {
  display: block;
  width: 100%;
}

.p-articleThumb__figcaption {
  margin-top: .75em;
  font-size: .9em;
  text-align: center;
}

.p-articleThumb__youtube {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}

.p-articleThumb__youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-articleFoot {
  margin-top: 3em;
}

.l-articleBottom__section {
  margin-top: 4em;
}

@media (min-width: 600px) {
  .l-articleBottom__section {
    margin-top: 6em;
  }
}

/* --- SNSシェア --- */
.c-shareBtns__list {
  display: flex;
  flex-wrap: wrap;
}

.c-shareBtns__item {
  flex: 1;
}

.c-shareBtns__item:not(:last-child) {
  margin-right: 4px;
}

.c-shareBtns__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-radius: 2px;
  color: var(--c-white);
}

/* --- 関連記事 --- */
.p-relatedPosts .p-postList__item {
  margin-bottom: 1.5em;
}

.p-relatedPosts .p-postList__times,
.p-relatedPosts .p-postList__times > :last-child {
  margin-right: 0;
}

@media (min-width: 600px) {
  .p-relatedPosts .p-postList__item { width: 33.33333%; }
}

@media (min-width: 1240px) {
  .p-relatedPosts .p-postList__item { width: 25%; }
}

/* --- 目次の前に入るウィジェット枠 --- */
.page.-index-off .w-beforeToc {
  display: none;
}


/* ============ 11-footer.css ============ */
/* ============================================================
   フッターと画面に固定する要素
   背景のグラデーションと上下の余白は 90-site.css 側で上書きしている。
   ============================================================ */

.l-footer {
  position: relative;
  z-index: 0;
  background-color: var(--c-bg);
  color: var(--c-text-strong);
}

/* フッターの中は文字色を揃える */
.l-footer a,
.l-footer span {
  color: inherit;
}

.l-footer .copyright {
  font-size: 12px;
  text-align: center;
}

.l-footer .copyright a {
  color: var(--c-link);
}

.l-footer__foot,
.l-footer__widgetArea {
  padding-top: 1em;
  padding-bottom: 1em;
}

/* --- フッターのメニュー --- */
.l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: .5em 0 1em;
  color: inherit;
}

.l-footer__nav a {
  display: block;
  padding: .25em .5em;
  font-size: 3vw;
  color: inherit;
  text-decoration: none;
}

.l-footer__nav a:hover {
  text-decoration: underline;
}

@media (min-width: 600px) {
  .l-footer__nav a {
    padding: 0 .75em;
    border-right: 1px solid;
    font-size: 13px;
  }
  .l-footer__nav li:first-child a {
    border-left: 1px solid;
  }
}

/* --- 店舗のご案内 ---
   店ごとに文章の行数が違うため、そのままだと地図の位置がずれる。
   PCでは2列の高さを揃えたうえで、地図から下を下端に寄せて頭を合わせる。 */
@media (min-width: 960px) {
  .w-beforeFooter .wp-block-columns {
    align-items: stretch;
  }

  .w-beforeFooter .wp-block-columns > .wp-block-column {
    display: flex;
    flex-direction: column;
  }

  .w-beforeFooter .wp-block-column > .wp-block-group,
  .w-beforeFooter .wp-block-group > .wp-block-group__inner-container {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  /* 地図から下を下端へ */
  .w-beforeFooter .wp-block-group__inner-container > .wp-block-embed {
    margin-top: auto !important;
  }
}

/* --- フッター上部のウィジェット --- */
.w-beforeFooter {
  margin: 6em auto 3em;
  overflow: hidden;
}

@media (min-width: 960px) {
  .w-footer {
    display: flex;
    justify-content: space-between;
  }
  .w-footer__box {
    flex: 1;
    padding: 1em;
  }
}

@media (max-width: 959px) {
  .w-footer__box {
    padding: 1em 0;
  }
  .w-footer__box + .w-footer__box {
    margin-top: 1em;
  }
  .l-footer__inner {
    padding-bottom: calc(env(safe-area-inset-bottom) * .5);
  }
}

/* --- 画面下に固定するボタン --- */
.p-fixBtnWrap {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.p-fixBtnWrap > * {
  pointer-events: auto;
}

/* 見た目を持たない素のボタン */
.c-plainBtn {
  margin: 0;
  padding: 0;
  appearance: none;
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
}

/* ============================================================
   営業日カレンダー（Googleカレンダーの埋め込み）
   予定の編集は村田さん側のGoogleカレンダーで行う。
   ここは枠の見た目と、画面幅に応じた高さだけを受け持つ。
   ============================================================ */

.c-bizCalendar {
  margin: 2.5em auto 0;
}

.c-bizCalendar__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border-table);
  border-radius: 8px;
  background: var(--c-white);
}

.c-bizCalendar__frame iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

@media (max-width: 959px) {
  .c-bizCalendar__frame iframe {
    height: 460px;
  }
}

.c-bizCalendar__note {
  margin-top: .8em;
  font-size: .85em;
  text-align: center;
  opacity: .8;
}

/* 小さく置きたいとき（トップページなど） */
.c-bizCalendar.-compact {
  max-width: 480px;
}

.c-bizCalendar.-compact .c-bizCalendar__frame iframe {
  height: 420px;
}

@media (max-width: 959px) {
  .c-bizCalendar.-compact .c-bizCalendar__frame iframe {
    height: 380px;
  }
}


/* ============ 12-spmenu.css ============ */
/* ============================================================
   スマホメニューと、検索などのせり出し画面
   開閉は JS が #body_wrap の data-spmenu 属性を切り替えて行う。
   ============================================================ */

/* --- スマホメニュー --- */
.p-spMenu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: 100%;
  height: 100%;
  color: var(--c-white);
  transition: opacity 0s;
}

/* 読み込みが済むまでは出さない */
[data-loaded="false"] .p-spMenu {
  display: none;
}

/* 閉じているあいだは触れないようにする */
[data-spmenu="closed"] .p-spMenu {
  opacity: 0;
  pointer-events: none;
  transition-delay: 1s;
}

/* PCでは使わない（中身はウィジェットの複製） */
@media (min-width: 960px) {
  .p-spMenu {
    display: none;
  }
}

.p-spMenu a {
  color: inherit;
}

.p-spMenu .c-widget__title {
  margin-bottom: 1.5em;
}

/* --- 縦に並ぶメニュー（スマホメニューの中身） --- */
.c-listMenu li {
  position: relative;
  margin: 0;
}

.c-listMenu a {
  position: relative;
  display: block;
  padding: .75em 1em .75em 1.5em;
  border-bottom: 1px solid var(--c-border);
  color: inherit;
  line-height: 1.4;
  text-decoration: none;
  transition: padding .25s;
}

.c-listMenu a:hover {
  padding-left: 1.75em;
  padding-right: .75em;
  background-color: var(--c-hover-gray);
}

/* 行頭の矢印 */
.c-listMenu a::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  transform: translateY(-50%);
  content: "";
  -webkit-mask: var(--icon-chevron-right) no-repeat center/contain;
  mask: var(--icon-chevron-right) no-repeat center/contain;
}

.c-listMenu .sub-menu,
.c-listMenu .children {
  margin: 0;
}

.c-listMenu .sub-menu a,
.c-listMenu .children a {
  padding-left: 2.5em;
  font-size: .9em;
}

.c-listMenu .sub-menu a::before,
.c-listMenu .children a::before {
  left: 1em;
}

.c-listMenu .sub-menu a:hover,
.c-listMenu .children a:hover {
  padding-left: 2.75em;
}

/* 画面外に置いて、開いたら横からスライドさせる */
.p-spMenu__inner {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 88vw;
  height: 100%;
  padding-top: var(--h-spmenu-head);
  box-shadow: 0 0 8px var(--c-shadow);
  transition: transform .45s ease-out;
}

/* パネルの背景（文字より後ろに敷く） */
.p-spMenu__inner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-spmenu-bg);
  content: "";
}

.-left  .p-spMenu__inner { left: 0;  transform: translateX(-88vw); }
.-right .p-spMenu__inner { right: 0; transform: translateX(88vw); }

[data-spmenu="opened"] .p-spMenu__inner {
  transform: translateX(0);
}

.p-spMenu__overlay {
  background: #000;
  opacity: .95;
  transition: opacity .5s, visibility .5s;
}

[data-spmenu="closed"] .p-spMenu__overlay {
  opacity: 0;
  visibility: hidden;
}

.p-spMenu__closeBtn {
  position: absolute;
  top: 0;
  z-index: 1;
  width: var(--h-spmenu-head);
  height: var(--h-spmenu-head);
}

.-left  .p-spMenu__closeBtn { left: 0; }
.-right .p-spMenu__closeBtn { right: 0; }

.p-spMenu__body {
  position: relative;
  height: 100%;
  padding: 0 4vw 10vw;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.p-spMenu__nav {
  margin-top: -1em;
  padding-bottom: .5em;
}

.p-spMenu__bottom {
  margin-top: 2em;
}

/* --- アイコンボタン（メニュー・検索） --- */
.c-iconBtn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 100%;
  color: inherit;
}

.c-iconBtn__icon {
  display: block;
  font-size: 24px;
}

.c-iconBtn__icon::before {
  display: block;
}

.p-spMenu__closeBtn .c-iconBtn__icon {
  font-size: 20px;
}

.c-iconBtn__label {
  display: block;
  width: 100%;
  font-size: 10px;
  transform: scale(.9);
}

/* --- せり出し画面（検索など） --- */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  transition: opacity .5s, visibility .5s;
}

[data-loaded="false"] .c-modal {
  display: none;
}

.c-modal:not(.is-opened) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.c-modal .c-modal__close {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding-top: .5em;
  color: var(--c-white);
  line-height: 2;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
  cursor: pointer;
}

.c-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .75);
}

.p-searchModal__inner {
  position: absolute;
  top: calc(50% + 16px);
  left: 50%;
  z-index: 1;
  width: 96%;
  max-width: 600px;
  padding: 1em;
  background: rgba(255, 255, 255, .1);
  transform: translateX(-50%) translateY(-50%);
  transition: top .5s;
}

.is-opened > .p-searchModal__inner {
  top: 50%;
}


/* ============ 13-icons.css ============ */
/* ============================================================
   アイコン
   サイト全体で実際に使っているのは7種だけなので、
   アイコンフォントは使わず、1つずつSVGで持っている。
   色は currentColor に追従する（親の文字色がそのまま乗る）。
   追加したいときは、同じ書き方で1ブロック足せばよい。
   ============================================================ */

[class^="icon-"]::before,
[class*=" icon-"]::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  line-height: 1;
  vertical-align: -.125em;
  content: "";
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* 家（パンくずの先頭） */
.icon-home::before {
  -webkit-mask-image: var(--icon-home);
  mask-image: var(--icon-home);
}

/* 虫めがね（検索） */
.icon-search::before {
  -webkit-mask-image: var(--icon-search);
  mask-image: var(--icon-search);
}

/* 三本線（スマホメニューを開く） */
.icon-menu-thin::before {
  -webkit-mask-image: var(--icon-menu);
  mask-image: var(--icon-menu);
}

/* ×（閉じる） */
.icon-close-thin::before {
  -webkit-mask-image: var(--icon-close);
  mask-image: var(--icon-close);
}

/* カレンダー（投稿日） */
.icon-posted::before {
  -webkit-mask-image: var(--icon-calendar);
  mask-image: var(--icon-calendar);
}

/* フォルダ（カテゴリー） */
.icon-folder::before {
  -webkit-mask-image: var(--icon-folder);
  mask-image: var(--icon-folder);
}

/* 丸 */
.icon-circle::before {
  -webkit-mask-image: var(--icon-circle);
  mask-image: var(--icon-circle);
}

:root {
  --icon-home: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3 2 11h3v10h6v-6h2v6h6V11h3L12 3z"/></svg>');
  --icon-search: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 2a8 8 0 1 0 4.9 14.3l5.4 5.4 1.4-1.4-5.4-5.4A8 8 0 0 0 10 2zm0 2a6 6 0 1 1 0 12 6 6 0 0 1 0-12z"/></svg>');
  --icon-menu: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h18v2H3V5zm0 6h18v2H3v-2zm0 6h18v2H3v-2z"/></svg>');
  --icon-close: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m5 6.4 1.4-1.4 5.6 5.6 5.6-5.6L19 6.4 13.4 12 19 17.6 17.6 19 12 13.4 6.4 19 5 17.6 10.6 12 5 6.4z"/></svg>');
  --icon-calendar: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 2v2H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zM5 9h14v10H5V9z"/></svg>');
  --icon-folder: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h6l2 2h10a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z"/></svg>');
  --icon-circle: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>');
  --icon-chevron-right: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.4 5.6 8 7l5 5-5 5 1.4 1.4L15.8 12 9.4 5.6z"/></svg>');
}

/* ページトップへ戻る矢印（現サイトが Font Awesome で出していた分） */
.fa-solid,
[class*="fa-"] {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.fa-solid.fa-angle-up::before,
.fa-angle-up::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  content: "";
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12 8.6 7.1 7.1-1.4 1.4-5.7-5.7-5.7 5.7-1.4-1.4L12 8.6z"/></svg>') no-repeat center/contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m12 8.6 7.1 7.1-1.4 1.4-5.7-5.7-5.7 5.7-1.4-1.4L12 8.6z"/></svg>') no-repeat center/contain;
}

/* 右向きの丸矢印 */
.fa-solid.fa-circle-chevron-right::before,
.fa-circle-chevron-right::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  content: "";
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 5.3L15.4 12l-4.7 4.7-1.4-1.4 3.3-3.3-3.3-3.3 1.4-1.4z"/></svg>') no-repeat center/contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 5.3L15.4 12l-4.7 4.7-1.4-1.4 3.3-3.3-3.3-3.3 1.4-1.4z"/></svg>') no-repeat center/contain;
}


/* ============ 14-utilities.css ============ */
/* ============================================================
   ユーティリティ
   記事本文で「この段落だけ大きく」「余白を詰める」といった
   個別指定に使うクラス。既存記事が使用中のため名前は変えられない。
   ============================================================ */

/* --- 文字サイズ（現サイトの実測値に合わせた倍率） --- */
.u-fz-xxs, .has-xxs-font-size { font-size: .6em; }
.u-fz-xs,  .has-xs-font-size  { font-size: .75em; }
.u-fz-s,   .has-s-font-size,
           .has-small-font-size { font-size: .9em; }
.u-fz-m,   .has-m-font-size,
           .has-medium-font-size { font-size: 1.1em; }
.u-fz-l,   .has-l-font-size,
           .has-large-font-size { font-size: 1.25em; }
.u-fz-xl,  .has-xl-font-size,
           .has-huge-font-size { font-size: 1.6em; }
.u-fz-xxl, .has-xxl-font-size { font-size: 2em; }

.u-fz-14 { font-size: 14px; }
.u-fz-16 { font-size: 16px; }

/* --- 下の余白（数字は 10 で 1em） --- */
.u-mb-0  { margin-bottom: 0    !important; }
.u-mb-5  { margin-bottom: .5em !important; }
.u-mb-10 { margin-bottom: 1em  !important; }
.u-mb-15 { margin-bottom: 1.5em !important; }
.u-mb-20 { margin-bottom: 2em  !important; }
.u-mb-25 { margin-bottom: 2.5em !important; }
.u-mb-30 { margin-bottom: 3em  !important; }
.u-mb-40 { margin-bottom: 4em  !important; }
.u-mb-50 { margin-bottom: 5em  !important; }
.u-mb-60 { margin-bottom: 6em  !important; }
.u-mb-80 { margin-bottom: 8em  !important; }

/* 直後の要素の上余白を打ち消す（余白を自分で決めたいときに使う） */
.u-mb-ctrl + * {
  margin-top: 0 !important;
}

/* --- 文字の位置 --- */
.u-ta-l, .has-text-align-left   { text-align: left; }
.u-ta-c, .has-text-align-center { text-align: center; }
.u-ta-r, .has-text-align-right  { text-align: right; }

/* --- 色 --- */
/* 記事本文で選べる配色パレット。色の値は 01-tokens.css の --color_* が正本。

   ★背景色クラスは文字色とセットで指定する。
     背景だけ指定して文字色を書かないと、暗い背景のセクションから
     白文字を継承したまま白地に白文字になる（設備カードで実際に起きた）。 */

/* 文字色 */
.has-swl-main-color      { color: var(--color_main)      !important; }
.has-swl-main-thin-color { color: var(--color_main_thin) !important; }
.has-swl-gray-color      { color: var(--color_gray)      !important; }
.has-black-color         { color: #000 !important; }
.has-white-color         { color: #fff !important; }
.has-swl-deep-01-color   { color: var(--color_deep01) !important; }
.has-swl-deep-02-color   { color: var(--color_deep02) !important; }
.has-swl-deep-03-color   { color: var(--color_deep03) !important; }
.has-swl-deep-04-color   { color: var(--color_deep04) !important; }
.has-swl-pale-01-color   { color: var(--color_pale01) !important; }
.has-swl-pale-02-color   { color: var(--color_pale02) !important; }
.has-swl-pale-03-color   { color: var(--color_pale03) !important; }
.has-swl-pale-04-color   { color: var(--color_pale04) !important; }

/* 背景色（＋読める文字色） */
.u-bg-main,
.has-swl-main-background-color    { background-color: var(--color_main)    !important; color: var(--c-white); }
.has-black-background-color       { background-color: #000                 !important; color: var(--c-white); }
.has-swl-deep-01-background-color { background-color: var(--color_deep01)  !important; color: var(--c-white); }
.has-swl-deep-02-background-color { background-color: var(--color_deep02)  !important; color: var(--c-white); }
.has-swl-deep-03-background-color { background-color: var(--color_deep03)  !important; color: var(--c-white); }
.has-swl-deep-04-background-color { background-color: var(--color_deep04)  !important; color: var(--c-white); }

.has-white-background-color       { background-color: #fff                    !important; color: var(--c-text); }
.has-swl-main-thin-background-color { background-color: var(--color_main_thin) !important; color: var(--c-text); }
.has-swl-pale-01-background-color { background-color: var(--color_pale01)   !important; color: var(--c-text); }
.has-swl-pale-02-background-color { background-color: var(--color_pale02)   !important; color: var(--c-text); }
.has-swl-pale-03-background-color { background-color: var(--color_pale03)   !important; color: var(--c-text); }
.has-swl-pale-04-background-color { background-color: var(--color_pale04)   !important; color: var(--c-text); }

/* グレーだけは文字色を変えない（薄いので本文色のまま読める） */
.has-swl-gray-background-color    { background-color: var(--color_gray) !important; }

/* --- その他 --- */
.u-thin { opacity: .7; }

.u-obf-cover { object-fit: cover; }

.u-hidden { display: none !important; }

/* --- 画面幅による出し分け ---
   sp_ … スマホだけに出す ／ pc_ … PCだけに出す
   （マークアップ側で長年使われている名前なので変えない） */
@media (min-width: 960px) {
  .sp_,
  .sp_only,
  .u-sp-only { display: none; }
}

@media (max-width: 959px) {
  .pc_,
  .pc_only,
  .u-pc-only { display: none; }
}


/* ============ 90-site.css ============ */
/* ============================================================
   これまでサイトに直接書かれていた独自CSS
   （アビモ／前任者が管理画面のカスタムCSS欄などに追記してきた分）
   SWELLの変数を一切使っておらず単独で成立しているため、
   中身を変えずそのまま引き継いでいる。
   ここを整理し直すのは、独自テーマの動作が安定してからでよい。
   ============================================================ */

/*==================================================
スライダーのためのcss
===================================*/
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}

.slider {
	margin-bottom: 0!important;
}

#contact-form {
	padding: 25px 0;
}

.wpcf7-spinner {
    display: none;
}

input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
}

/*「必須」文字デザイン*/
.required{
	color: red;
	margin-left: 10px;
}

/* 「送信する」ボタン */
input.wpcf7-submit {
   display: block;
	color: white;
	background-color: #323232;
   padding: 5px 0;
	width: 100%;
   margin-top: 25px;
}

/* ページトップリンク */
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	opacity: 0;
	z-index: 999;
	transform: translateY(80px);
}
#page-top a{
	font-size: 16px;
	color: white;
	background: #0c1942;
	width: 80px;
	height: 80px;
	border-radius: 1000px;
	text-align: center;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase; 
	transition: all 0.5s;
}
#page-top a:hover{
	background: #646464;
}
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
	  from {
		  opacity: 0;
		  transform: translateY(90px);
	  }
	  to {
		  opacity: 1;
		  transform: translateY(0);
	  }
}
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
	  from {
		  opacity: 1;
		  transform: translateY(0);
	  }
	  to {
		  opacity: 1;
		  transform: translateY(90px);
	  }
}

.btn-wraper {
	text-align: right;
}
.btn-wraper2 {
	text-align: center;
}
.btn {
	display: inline-block;
	font-size: 17px;
	font-weight: bold;
	color: #2D6187;
	background: white;
	border:1px solid #96B0C3;
	border-radius: 5px;
	padding: 0 30px;
	width: 100%;
	max-width: 250px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	position: relative;
	overflow: hidden;
	transition: all 0.5s;
	z-index: 1;
}
.btn i {
	margin-left: 10px;
}
.btn:hover {
	color: white;
	background: #2D6187;
	border:1px solid #2D6187!important;
}


.btn2 {
	display: inline-block;
	font-size: 17px;
	font-weight: bold;
	color: #183283;
	background: white;
	border:1px solid white;
	padding: 0 30px;
	width: 100%;
	max-width: 450px;
	height: 60px;
	text-align: center;
	line-height: 57.5px;
	position: relative;
	overflow: hidden;
	transition: all 0.5s;
	z-index: 1;
}
.btn2 i {
	margin-left: 10px;
}
.btn2:hover {
	color: white!important;
}
.btn2:before {
	color: white;
	background: #646464;
	content: "";
	width: 100%;
	height: 100%;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-100%);
	transition: all 0.5s;
	z-index: -1;
}
.btn2:hover::before {
	transform: translateX(0);
}

/* 全体 */
* {
	font-weight: bold;
}
p {
	line-height: 2.5em;
}

.font-b {
	font-family: 'Noto Serif JP', serif;
}

.swl-bg-color {
	border-radius: 1px;
   padding: 0.25em 1em;
}
@media (min-width:960px) {
	.swl-bg-color {
	   padding: 0.25em 1.5em;
	}
}

.w-box {
	position: relative;
}
.b-box {
	width: 90%;
	height: 350px;
	background-color :#EAF6F8;
	position: absolute;
	top: 75px;
	right: 0px;
	z-index: -10;
}
.b-text {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	height: 800px;
	position: absolute;
	top: -20vw;
	left: 7.5vw;
}
.b-span1 {
	font-size: 25px;
	letter-spacing: 10px;
	color: #2D6187;
	background-color: white;
	padding: 20px 15px;
}
.b-span2 {
	font-size: 25px;
	letter-spacing: 10px;
	color: #2D6187;
	background-color: white;
	padding: 20px 15px;
	margin-top: 60px;
}
@media (min-width:960px) {
	.b-box {
		width: 90%;
		height: 45vw;
		background-color :#EAF6F8;
		position: absolute;
		top: 75px;
		right: 0px;
		z-index: -10;
	}
	.b-text {
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		height: 800px;
		position: absolute;
		top: -5vw;
		left: 7.5vw;
	}
	.b-span1 {
		font-size: 50px;
		letter-spacing: 10px;
		color: #2D6187;
		background-color: white;
		padding: 20px 15px;
	}
	.b-span2 {
		font-size: 50px;
		letter-spacing: 10px;
		color: #2D6187;
		background-color: white;
		padding: 20px 15px;
		margin-top: 60px;
	}
}

.p-postList__item {
	border: 1px solid #2D6187;
	border-radius: 15px;
	padding: 20px!important;
	margin: 10px!important;
}

.-type-card .p-postList__item {
    width: calc(50% - 20px) ;
}
@media (min-width: 1020px) {
	.-sidebar-off .-type-card.-pc-col3 .p-postList__item, .-sidebar-off .-type-thumb.-pc-col3 .p-postList__item {
		width: calc(33.3% - 20px) ;
	}
}

.sp-none {
	display: none;
}
.pc-none {
	display: block;
}
@media (min-width:960px) {
	.sp-none {
		display: block;
	}
	.pc-none {
		display: none;
	}
}

/* ヘッダー */
.l-header, .l-header__inner {
	height: 120px;
}
.l-header .l-container {
	max-width: 1200px!important;
	padding: 0;
}

/* ヘッダーナビゲーション（PC） */
.c-gnav>.menu-item>a .ttl {
  font-size: 20px;
}
.c-gnav i {
  margin-right: 5px;
}

@media (max-width: 959px) {
	  .l-mainContent__inner>.post_content {
		margin: 2em 0;
	}
}

/* ヘッダータイトルの高さ */
.l-topTitleArea {
    min-height: 300px!important;
}
@media (min-width: 600px) {
  .l-topTitleArea {
    min-height: 400px!important;
  }
}

.c-pageTitle__subTitle {
    font-size: 17.5px;
    opacity: 1!important;
}

/* スマホナビゲーション */
.-left .p-spMenu__inner {
    -webkit-transform: translateX(-100vw);
    transform: translateX(-100vw);
}
[data-spmenu=opened] .p-spMenu__inner {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.p-spMenu__inner {
    width: 100vw;
}
.c-widget__title {
    font-size: 25px;
}

.p-spMenu__inner {
    padding-top: 120px;
}
.p-spMenu__closeBtn {
/*     height: 120px; */
}


/* 各固定ページH1 */
.c-pageTitle__inner {
	display: block;
	color: #28ABB9;
	padding-top: 1em;
	padding-bottom: 1em;
}

.c-pageTitle {
   font-size: 2.75em;
	font-family: 'Noto Serif JP', serif;
}
@media (min-width: 600px) {
  .c-pageTitle {
		font-size: 3.5em;
	}
}

/* フッター */

footer {
	background: -moz-linear-gradient(to bottom,#FFF,#FFF 50%,#93d5dc); 
	background: -webkit-linear-gradient(to bottom,#FFF,#FFF 50%,#93d5dc); 
	background: linear-gradient(to bottom,#FFF,#FFF 50%,#93d5dc); 
}

.l-footer__foot, .l-footer__widgetArea {
	padding-bottom: 4em!important;
	padding-top: 4em!important;
}  

@media (min-width: 960px) {
	.w-footer__box {
		padding: 0em;
	}
}

.w-beforeFooter {
    margin: 0em auto 0em!important;
}
.w-beforeFooter {
    margin: 0em auto 0em!important;
}

/* フッターSNSアイコン */
.sns-icon {
	margin: 0;
}
.sns-icon i {
	font-size: 20px;
	padding: 10px;
	margin-right: 10px;
	border-radius: 100px;
	border: 1px solid white;
}

.l-footer__nav a {
    font-size: 4vw;
}
@media (min-width: 600px) {
	.l-footer__nav a {
		font-size: 18px;
	}
}

/* コピーライト */
.l-footer .copyright {
	font-size: 11px;
	letter-spacing: 3px;
}

/* カラム */
.column-radius-shadow {
	padding: 1.5em!important;
	border-radius: 15px;
	box-shadow: 0px 0px 10px rgba(24,50,131,0.2); 
}
@media(min-width:960px) {
	.column-radius-shadow {
		padding: 3em!important;
	}
}
.column-radius {
	padding: 1.5em!important;
	border-radius: 25px;
}
@media(min-width:960px) {
	.column-radius {
		padding: 3em!important;
	}
}
.column-border {
	padding: 3em 2em!important;
	border: 5px solid #D9D9D9;
	border-radius: 25px;
}

/* ホバー画像 */
.img-hover-2 img{
	transform: scale(1)!important;
	transition: .5s ease-in-out!important;
	z-index: -1;
}
.img-hover-2:hover img{
	transform:rotate(10deg) scale(1.5)!important;
}

/* バナーリンク */
.img-hover-2 .c-bannerLink__title {
	width: 100%;
   position: absolute;
   bottom: 0;
   background: black;
   padding: 30px;
   opacity: 0.75;
}

/* テーブル */
.post_content td, .post_content th {
  padding: 1.5em 1em;
}

.riyuu {
	font-size: 30px;
	color: white;
	background-color: #28ABB9;
	width: 70px;
	height: 70px;
	text-align: center;
	line-height: 70px;
	line-height: 70px;
}

.asdf-wrapper {
	position: relative;
}
.asdf {
	width: 50%;
	padding: 10px 10px 10px 25px;
	background-color: rgba(40,171,185,0.6);
	position: absolute;
	bottom: 0;
	left: 0;
}

/* 管理画面「追加CSS」 */

	
.grecaptcha-badge { visibility: hidden; }


/* ============ 91-pages.css ============ */
/* ============================================================
   ページ単位の個別指定
   もとはSWELLの「このページだけのCSS」欄にあったもの。
   テーマ移行でその入力欄が無くなるため、ここへ移した。
   ============================================================ */


/* トップ（page-id-13） */
.page-id-13 .post_content ol, .post_content ol.page-id-13, .page-id-13 .post_content ul, .post_content ul.page-id-13 {padding-left: 0!important; }

/* 当社について（page-id-15） */
.page-id-15 .post_content ol, .post_content ol.page-id-15, .page-id-15 .post_content ul, .post_content ul.page-id-15 {padding-left: 0!important; }

/* ムラタ整備（page-id-21） */
.page-id-21 .l-topTitleArea, .l-topTitleArea.page-id-21 {display: none!important; }

/* 保険（page-id-19） */
.page-id-19 .l-topTitleArea, .l-topTitleArea.page-id-19 {display: none!important; }

/* ============================================================
   東三河アライメントセンター — お取り扱いブランドのロゴ列

   黒地のゾーンに置くので、白いタイルの上にロゴを載せる。
   ロゴそのものの色は変えない（各社の使用規定で改変が禁じられているのが普通で、
   TEIN と RAYS は黒のロゴなので黒地に直接置くと消える）。
   社数が増える前提の作りにしてある＝HTMLに <a> を足すだけで並ぶ。
   ============================================================ */
.p-brandLogos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 10px;
}

/* 幅を決めて折り返す形にしてある。列数を決め打ちにすると、
   社数が変わったとき最後の行が寂しくなる（増える予定あり）。 */
.p-brandLogos a {
  display: flex;
  flex: 0 0 184px;   /* 本文幅968pxに5枚ちょうど収まる幅 */
  align-items: center;
  justify-content: center;
  height: 78px;
  padding: 12px 14px;
  background: var(--c-white);
  border-radius: 3px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.p-brandLogos a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  opacity: 1;
}

/* ロゴは縦横比がまちまち（TEINは3:1、阿部商会は9:1）。
   高さを揃えると横長のものが小さく見えるので、高さを抑えて
   見た目の面積が近くなるようにしている。 */
.p-brandLogos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 30px;
}

@media (max-width: 600px) {
  .p-brandLogos { gap: 10px; }
  .p-brandLogos a { flex: 0 0 calc(50% - 5px); height: 68px; padding: 12px 14px; }
  .p-brandLogos img { max-height: 28px; }
}

/* ============================================================
   東三河アライメントセンター — ページに抑揚をつける（2026-08-22）

   写真の扱いが全部同じ（幅968px・中央・同じ余白）で平面的だったので、
   ①ヒーローを大きく ②事例に写真を入れて左右交互 ③全幅の帯 を足した。
   ============================================================ */

/* --- ① ヒーロー ---
   高さはもともとSWELLのJSが data-tab-style から付けていた。
   自前テーマにはそのJSが無いので、CSSで持たせる。 */
.p-alignHero .c-bannerLink__figure {
  height: 520px;
}

.p-alignHero .c-bannerLink__img {
  object-position: center 60%;   /* 車の位置に合わせて少し下を見せる */
}

@media (max-width: 959px) {
  .p-alignHero .c-bannerLink__figure { height: 380px; }
}

/* --- ② お客様の声 ---
   もとは事例に写真を添えて左右交互にしていたが、
   中身は「お客様の声」なので、写真ではなく“いただいた言葉”を前に出す形に変えた
   （2026-08-22 木藤さん指示「写真はいらない」）。 */
.p-voiceLead {
  margin-bottom: 2.2em;
  color: #5a6e72;
  font-size: .95em;
}

.p-voiceList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.p-voice {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px;
  background: var(--c-white);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

/* いただいた言葉。かぎかっこはCSSで足す（本文側に二重に書かないため） */
.p-voice__quote {
  position: relative;
  margin: 0 0 .9em;
  color: var(--c-main);
  font-size: 1.25em;
  line-height: 1.6;
}

.p-voice__quote::before { content: "「"; }
.p-voice__quote::after  { content: "」"; }

.p-voice__quote + h3 {
  margin: 0 0 .6em;
  padding-top: .9em;
  border-top: 1px solid #e3ebec;
  font-size: 1em;
}

/* 見出しに付く飾り（セクション見出し用の下線など）は、カードの中では出さない */
.p-voice h3::before,
.p-voice h3::after { display: none; }

.p-voice > p:last-child {
  margin-bottom: 0;
  font-size: .95em;
}

@media (max-width: 767px) {
  .p-voiceList { grid-template-columns: 1fr; gap: 16px; }
  .p-voice { padding: 26px 22px 24px; }
  .p-voice__quote { font-size: 1.12em; }
}

/* --- ③ 全幅の写真バンド ---
   文字だけの区間が続くところに差し込んで、目を休ませる。 */
.p-band {
  position: relative;
  overflow: hidden;
  height: 380px;
}

.p-band > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.p-band__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad-side);
  background: linear-gradient(rgba(0, 0, 0, .46), rgba(0, 0, 0, .56));
  color: var(--c-white);
  text-align: center;
}

.p-band__copy {
  margin: 0;
  font-size: 2em;
  letter-spacing: .06em;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.p-band__sub {
  margin: .8em 0 0;
  font-size: .9em;
  opacity: .85;
}

@media (max-width: 767px) {
  .p-band { height: 240px; }
  .p-band__copy { font-size: 1.35em; }
}

/* 黒ゾーンに置く写真。白地の本文用より少し落ち着かせる */
.p-darkShot {
  margin: 26px 0 30px;
}

.p-darkShot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.p-darkShot figcaption {
  margin-top: .7em;
  color: #8fa3a6;
  font-size: .82em;
  text-align: center;
}

/* ============================================================
   サービス一覧のカード（.img-hover-2）— 2026-08-22

   もとは 90-site.css で「黒一色の帯・padding 30px・opacity .75」を
   写真の下に敷いていた。事業部名が折り返して2行になり窮屈だったので、
   帯をグラデーションに変え、事業部名（小）＋サービス名（大）の2段にした。
   使っているのは service.html と car_service.html だけ。
   ============================================================ */
.img-hover-2 .c-bannerLink__text {
  justify-content: flex-end;
  padding: 0;
  background: linear-gradient(transparent 38%, rgba(0, 0, 0, .28) 58%, rgba(0, 0, 0, .78) 100%);
}

/* 90-site.css の黒帯を打ち消す */
.img-hover-2 .c-bannerLink__title {
  position: static;
  padding: 0 18px;
  background: none;
  opacity: .88;
  font-size: .84em;
  font-weight: 400;
  letter-spacing: .06em;
}

.img-hover-2 .c-bannerLink__description {
  margin-top: .25em;
  padding: 0 18px 22px;
  font-size: 1.22em;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .img-hover-2 .c-bannerLink__description { font-size: 1.05em; }
}

/* ============================================================
   CTA帯「お客様の生活のお困りごと／私達にお聞かせください」
   ── スマホでは縦書きをやめる（2026-08-22）

   もとは 90-site.css で writing-mode:vertical-rl の縦帯を写真に重ねている。
   PCでは成立するが、スマホだと帯が人物の顔にかかり、
   高さ800pxが写真からはみ出して下の水色まで伸びていた。
   スマホでは横書きにして、写真のすぐ下に水色の帯として置く。
   ============================================================ */
@media (max-width: 767px) {
  /* 写真に重ねる前提の絶対配置をやめ、通常の流れに戻す */
  .b-text {
    position: static;
    writing-mode: horizontal-tb;
    height: auto;
    margin: 0;
    padding: 22px 16px 26px;
    background-color: #eaf6f8;   /* もとは .b-box が敷いていた水色 */
  }

  /* 縦書き用に入れてある空行は、横書きでは余白になるだけ */
  .b-text br { display: none; }

  /* 文字の幅ぶんだけ白地を敷いて右に寄せる（人物と重ならないように） */
  .b-span1,
  .b-span2 {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    padding: 9px 13px;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1.5;
  }

  .b-span2 { margin-top: 8px; }

  /* 写真の後ろに敷いていた水色の板と、PC用の空きは要らない */
  .b-box { display: none; }
  .w-box .wp-block-spacer.pc-none { display: none; }
}
