@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD - 相談支援センターデジサポ
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ - 相談支援センターデジサポ（運営：add9株式会社）
    Version: 1.0.0
    Author: add9株式会社

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================================
   相談支援センターデジサポ CUSTOM CSS
   ---------------------------------------------------------
   ・クラス名はすべて「ds-」で始める（BEM風：ds-block__elem--mod）
   ・1セクション＝1つの <section class="ds-section"> 単位で、
     Gutenberg のカスタムHTMLブロックへそのまま移せる構造
   ・静的プレビュー（../preview/*.html）も同じCSSを読み込む
   ・文字サイズは px で指定する（SWELL はスマホで html の文字サイズを 13.5px にするため、
     rem だと本文が16px未満になる）
   ========================================================= */


/* ===================================
   1. CSS変数
   =================================== */
:root {
  /* カラー（事業所案内チラシと同じ配色） */
  --color-main:#36918A;       /* メイン：明るい青緑（帯・アイコン・飾り線） */
  --color-main-dark:#237069;  /* 見出し・リンクの文字、ボタン背景、ホバー */
  --color-main-soft:#E6F4F2;  /* 薄い背景・カード */
  --color-text:#1F2E3A;       /* 本文 */
  --color-sub:#4F6170;        /* 補足文・入力欄の枠線 */
  --color-line:#CBDCD9;       /* 罫線（飾り用） */
  --color-accent:#F0A65C;     /* 差し色：お問い合わせボタン（文字は濃紺） */
  --color-line-brand:#00B600; /* LINE色：LINEのボタン・アイコン（文字は白。コントラスト比 2.73:1 ※ご指定により採用） */
  --color-bg:#FFFFFF;         /* ページ背景 */

  /* 補助カラー */
  --color-accent-hover:#E8944A; /* オレンジボタンのホバー（濃紺文字で 5.8:1） */
  --color-line-brand-hover:#00A000; /* LINEボタンのホバー（少し濃くする） */
  --color-focus:#1F2E3A;        /* フォーカス枠（明るい背景用） */
  --color-focus-on-dark:#FFFFFF;/* フォーカス枠（濃い背景用） */
  --color-temp:#8A4B00;         /* 「仮」表示の文字色 */
  --color-temp-bg:#FFF4E5;      /* 「仮」表示の背景 */

  /* フォント */
  --font-head:"Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body:"Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  /* レイアウト */
  --ds-container:1040px;
  --ds-gutter:20px;
  --ds-radius:0;     /* 角丸なし */
  --ds-radius-sm:0;  /* 角丸なし */
  --ds-radius-btn-sm:8px; /* ボタンだけ角丸（固定バー・メニュー） */
  --ds-section-y:56px;
  --ds-fixbar-h:64px;
}

@media (min-width:768px) {
  :root {
    --ds-gutter:32px;
    --ds-section-y:80px;
  }
}


/* ===================================
   2. ベース
   =================================== */
body {
  margin:0; /* ブラウザ標準の 8px の余白を消す（SWELL では元から 0） */
  background:var(--color-bg);
  color:var(--color-text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.8;
  -webkit-text-size-adjust:100%;
}

/* スマホでは画面下の固定バー（電話・LINE）の分だけ余白をとる */
@media (max-width:767px) {
  body.ds-has-fixbar { padding-bottom:var(--ds-fixbar-h); }
}

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

.ds-site img,
.ds-site svg { max-width:100%; height:auto; vertical-align:middle; }

/* リンク：色だけに頼らず下線をつける */
.ds-site a,
.ds-section a {
  color:var(--color-main-dark);
  text-decoration:underline;
  text-underline-offset:0.2em;
  text-decoration-thickness:1px;
}
.ds-site a:hover,
.ds-section a:hover { text-decoration-thickness:2px; }

/* フォーカスを見えるように（キーボード操作用） */
.ds-cta a:focus-visible,
.ds-fixbar a:focus-visible,
.ds-site a:focus-visible,
.ds-site button:focus-visible,
.ds-site summary:focus-visible,
.ds-site input:focus-visible,
.ds-site select:focus-visible,
.ds-site textarea:focus-visible,
.ds-section a:focus-visible,
.ds-section summary:focus-visible,
.smf-form input:focus-visible,
.smf-form select:focus-visible,
.smf-form textarea:focus-visible,
.smf-form button:focus-visible {
  outline:3px solid var(--color-focus);
  outline-offset:3px;
  border-radius:0;
}

/* 画面読み上げ用（見た目は非表示） */
.ds-sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* 本文へスキップ */
.ds-skip {
  position:absolute;
  left:12px; top:-100px;
  z-index:1000;
  padding:12px 16px;
  background:var(--color-bg);
  color:var(--color-text) !important;
  border:2px solid var(--color-text);
  border-radius:var(--ds-radius-sm);
  font-weight:700;
}
.ds-skip:focus-visible { top:12px; }

/* ことばの途中で改行させない（見出し用） */
.ds-nobr { display:inline-block; }

/* PCだけ改行 */
.ds-br-pc { display:none; }
@media (min-width:768px) { .ds-br-pc { display:inline; } }


/* ===================================
   3. レイアウト（セクション・コンテナ）
   =================================== */
.ds-container {
  width:100%;
  max-width:calc(var(--ds-container) + var(--ds-gutter) * 2);
  margin-inline:auto;
  padding-inline:var(--ds-gutter);
}
.ds-container--narrow { max-width:calc(800px + var(--ds-gutter) * 2); }

.ds-section {
  padding-block:var(--ds-section-y);
  color:var(--color-text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.8;
}
.ds-section--soft { background:var(--color-main-soft); }
.ds-section--tight { padding-block:calc(var(--ds-section-y) * 0.6); }

.ds-section > .ds-container > *:first-child { margin-top:0; }
.ds-section > .ds-container > *:last-child { margin-bottom:0; }


/* ===================================
   4. 見出し・テキスト
   =================================== */
.ds-heading,
.ds-subheading,
.ds-hero__title,
.ds-page-head__title {
  font-family:var(--font-head);
  font-weight:700;
  letter-spacing:0.04em;
}

/* セクション見出し（h2）：上に小さな英字ではなく、左の帯で示す */
.ds-heading {
  position:relative;
  margin:0 0 28px;
  padding:0 0 12px;
  color:var(--color-main-dark);
  font-size:24px;   /* 24px */
  line-height:1.5;
  border-bottom:3px solid var(--color-main);
}
@media (min-width:768px) {
  .ds-heading { font-size:28px; } /* 28px */
}

.ds-subheading {
  margin:32px 0 12px;
  color:var(--color-main-dark);
  font-size:20px;  /* 20px */
  line-height:1.6;
}

.ds-lead {
  margin:0 0 24px;
  font-size:17px; /* 17px */
  line-height:1.9;
}

.ds-text { margin:0 0 16px; }

.ds-sub { color:var(--color-sub); }

/* 専門用語の言い換え（例：モニタリング＝定期的な見直し） */
.ds-term {
  color:var(--color-sub);
  font-size:1em;
  white-space:normal;
}

/* 注意書き */
.ds-note {
  margin:20px 0 0;
  padding:16px 20px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-left:4px solid var(--color-main);
  border-radius:var(--ds-radius-sm);
  font-size:16px;
}
.ds-note__title {
  display:block;
  margin-bottom:4px;
  color:var(--color-main-dark);
  font-weight:700;
}
.ds-note p { margin:0; }

/* 「仮」表示（後で差し替える場所） */
.ds-temp {
  display:inline-block;
  margin-right:6px;
  padding:0 8px;
  background:var(--color-temp-bg);
  color:var(--color-temp);
  border:1px dashed var(--color-temp);
  border-radius:0;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  vertical-align:0.1em;
}
.ds-placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
  padding:16px;
  background:var(--color-temp-bg);
  color:var(--color-temp);
  border:2px dashed var(--color-temp);
  border-radius:var(--ds-radius-sm);
  font-weight:700;
  text-align:center;
}


/* ===================================
   5. ボタン
   =================================== */
.ds-btns {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.ds-btns > li { margin:0; padding:0; }
.ds-btns > li::before { content:none !important; }

.ds-site a.ds-btn,
.ds-section a.ds-btn,
.ds-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:12px 24px;
  border:2px solid transparent;
  border-radius:999px;
  font-family:var(--font-body);
  font-size:16px;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .2s, color .2s, border-color .2s;
}
.ds-btn__icon { flex-shrink:0; width:22px; height:22px; }
.ds-btn__sub {
  display:block;
  font-size:14px;
  font-weight:500;
}
.ds-btn__body { display:flex; flex-direction:column; align-items:flex-start; text-align:left; }

/* 電話・メインボタン：濃い青緑に白文字（5.84:1） */
.ds-site a.ds-btn--main,
.ds-section a.ds-btn--main,
.ds-btn--main {
  background:var(--color-main-dark);
  color:#fff;
}
.ds-site a.ds-btn--main:hover,
.ds-section a.ds-btn--main:hover,
.ds-btn--main:hover { background:#1A5852; color:#fff; }

/* お問い合わせ・LINE：オレンジに濃紺文字（6.83:1） */
.ds-site a.ds-btn--accent,
.ds-section a.ds-btn--accent,
.ds-btn--accent {
  background:var(--color-accent);
  color:var(--color-text);
}
.ds-site a.ds-btn--accent:hover,
.ds-section a.ds-btn--accent:hover,
.ds-btn--accent:hover { background:var(--color-accent-hover); color:var(--color-text); }

/* LINEボタン：LINE色に白文字 */
.ds-site a.ds-btn--line,
.ds-section a.ds-btn--line,
.ds-btn--line {
  background:var(--color-line-brand);
  color:#fff;
}
.ds-site a.ds-btn--line:hover,
.ds-section a.ds-btn--line:hover,
.ds-btn--line:hover { background:var(--color-line-brand-hover); color:#fff; }

/* 枠線ボタン */
.ds-site a.ds-btn--outline,
.ds-section a.ds-btn--outline,
.ds-btn--outline {
  background:var(--color-bg);
  color:var(--color-main-dark);
  border-color:var(--color-main-dark);
}
.ds-site a.ds-btn--outline:hover,
.ds-section a.ds-btn--outline:hover,
.ds-btn--outline:hover { background:var(--color-main-soft); }

.ds-btn--block { width:100%; }

/* 矢印つきテキストリンク */
.ds-more {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  font-weight:700;
}
.ds-more::after { content:"→"; text-decoration:none; display:inline-block; }


/* ===================================
   6. ヘッダー（静的プレビュー用）
   ※ WordPress では SWELL のヘッダーを使う
   =================================== */
.ds-header {
  position:sticky;
  top:0;
  z-index:100;
  background:var(--color-bg);
  border-bottom:1px solid var(--color-line);
}
/* ヘッダーはメニューが並ぶので本文より広くとる */
.ds-header .ds-container { max-width:calc(1200px + var(--ds-gutter) * 2); }
.ds-header__inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
}
.ds-logo-wrap { margin:0; }
.ds-site a.ds-logo,
.ds-logo {
  display:flex;
  flex-direction:column;
  color:var(--color-text);
  text-decoration:none;
  line-height:1.3;
}
/* ロゴ画像（WordPress では SWELL の設定で高さ PC52px／スマホ40px） */
.ds-site .ds-logo__img { display:block; width:auto; height:40px; }
@media (min-width:768px) { .ds-site .ds-logo__img { height:52px; } }
.ds-logo__type {
  color:var(--color-main-dark);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.02em;
}
.ds-logo__name {
  white-space:nowrap;
  font-family:var(--font-head);
  font-size:18px;
  font-weight:700;
  letter-spacing:0.04em;
}
@media (min-width:768px) {
  .ds-logo__name { font-size:22px; }
}

/* メニュー開閉ボタン（スマホ） */
.ds-menu-btn {
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:56px; height:52px;
  padding:0;
  background:var(--color-bg);
  color:var(--color-main-dark);
  border:2px solid var(--color-main-dark);
  border-radius:var(--ds-radius-btn-sm);
  font-family:var(--font-body);
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.ds-menu-btn__bars,
.ds-menu-btn__bars::before,
.ds-menu-btn__bars::after {
  display:block;
  width:22px; height:2px;
  background:currentColor;
  border-radius:0;
  transition:transform .2s;
}
.ds-menu-btn__bars { position:relative; margin:6px 0 4px; }
.ds-menu-btn__bars::before,
.ds-menu-btn__bars::after { content:""; position:absolute; left:0; }
.ds-menu-btn__bars::before { top:-7px; }
.ds-menu-btn__bars::after { top:7px; }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars { background:transparent; }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars::before { transform:translateY(7px) rotate(45deg); }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars::after { transform:translateY(-7px) rotate(-45deg); }

.ds-nav { display:none; }
.ds-nav.is-open {
  display:block;
  position:absolute;
  left:0; right:0; top:100%;
  max-height:calc(100vh - 64px);
  overflow-y:auto;
  background:var(--color-bg);
  border-bottom:1px solid var(--color-line);
  box-shadow:0 8px 16px rgba(31,46,58,.08);
}
.ds-nav__list { margin:0; padding:8px var(--ds-gutter) 20px; list-style:none; }
.ds-nav__item { margin:0; border-bottom:1px solid var(--color-line); }
.ds-nav__item:last-child { border-bottom:none; padding-top:16px; }
/* ヘッダーの「お問い合わせ」：オレンジの枠線とオレンジの文字（WordPress の .ds-nav-contact と同じ） */
.ds-site .ds-nav__item a.ds-btn--accent {
  background:var(--color-bg);
  color:var(--color-accent);
  border-color:var(--color-accent);
}
.ds-site .ds-nav__item a.ds-btn--accent:hover { background:var(--color-accent); color:var(--color-text); }
.ds-site a.ds-nav__link,
.ds-nav__link {
  display:block;
  padding:14px 4px;
  color:var(--color-text);
  font-weight:500;
  text-decoration:none;
}
.ds-site a.ds-nav__link[aria-current="page"],
.ds-nav__link[aria-current="page"] {
  color:var(--color-main-dark);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:2px;
}

@media (min-width:1200px) {
  .ds-menu-btn { display:none; }
  .ds-nav,
  .ds-nav.is-open {
    display:block;
    position:static;
    max-height:none;
    overflow:visible;
    border:none;
    box-shadow:none;
  }
  .ds-nav__list {
    display:flex;
    align-items:center;
    gap:4px;
    padding:0;
  }
  .ds-nav__item,
  .ds-nav__item:last-child { border:none; padding:0; }
  .ds-nav__item:last-child { margin-left:8px; }
  .ds-site a.ds-nav__link,
  .ds-nav__link { padding:8px 10px; font-size:16px; white-space:nowrap; }
  .ds-nav__item .ds-btn { white-space:nowrap; }
  .ds-site a.ds-nav__link:hover { color:var(--color-main-dark); text-decoration:underline; }
  .ds-nav__item .ds-btn { min-height:44px; padding:8px 18px; font-size:15px; }
}


/* ===================================
   7. 下層ページの見出し帯・パンくず
   =================================== */
.ds-page-head {
  padding:32px 0 28px;
  background:var(--color-main-soft);
  border-bottom:3px solid var(--color-main);
}
@media (min-width:768px) {
  .ds-page-head { padding:48px 0 40px; }
}
.ds-breadcrumb ol {
  display:flex;
  flex-wrap:wrap;
  gap:4px 8px;
  margin:0 0 8px;
  padding:0;
  list-style:none;
  font-size:14px;
  color:var(--color-sub);
}
.ds-breadcrumb li { margin:0; }
.ds-breadcrumb li + li::before {
  content:"›";
  margin-right:8px;
  color:var(--color-sub);
}
.ds-page-head__title {
  margin:0;
  color:var(--color-main-dark);
  font-size:28px;
  line-height:1.4;
}
@media (min-width:768px) {
  .ds-page-head__title { font-size:34px; }
}
.ds-page-head__desc {
  margin:8px 0 0;
  color:var(--color-sub);
}


/* ===================================
   8. トップ：ひとこと（ヒーロー）
   =================================== */
.ds-hero {
  padding-block:40px 48px;
  border-bottom:3px solid var(--color-main);
}
@media (min-width:768px) {
  .ds-hero { padding-block:64px; }
}
.ds-hero__inner {
  display:grid;
  gap:28px;
}
/* 右側に枠（.ds-status）や写真（.ds-hero__visual）を置くときだけ2列にする */
@media (min-width:900px) {
  .ds-hero__inner:has(> .ds-hero__visual) {
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:48px;
  }
  .ds-hero__inner:has(> .ds-status) {
    grid-template-columns:1fr 260px;
    align-items:start;
    gap:48px;
  }
}
.ds-hero__eyebrow {
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-size:15px;
  font-weight:700;
}
.ds-hero__name {
  margin:0 0 20px;
  color:var(--color-sub);
  font-family:var(--font-head);
  font-size:18px;
  font-weight:700;
}
.ds-hero__title {
  margin:0 0 20px;
  color:var(--color-text);
  font-size:22px; /* スマホで「ご本人様と一緒に考えます。」が1行に収まる大きさ */
  line-height:1.6;
}
@media (min-width:768px) {
  .ds-hero__title { font-size:36px; }
}
.ds-hero__lead { margin:0; font-size:17px; line-height:1.9; }
.ds-hero__meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 0;
  padding:0;
  list-style:none;
}
.ds-hero__meta li {
  margin:0;
  padding:4px 12px;
  background:var(--color-main-soft);
  border-radius:0;
  color:var(--color-main-dark);
  font-size:15px;
  font-weight:700;
}
.ds-hero__meta li::before { content:none !important; }

/* メインビジュアルの写真（大きくしすぎない） */
.ds-hero__visual { margin:0; }
.ds-hero__visual img {
  display:block;
  width:100%;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:50% 20%;
  border-radius:var(--ds-radius);
}
.ds-hero__visual figcaption,
.ds-figure figcaption {
  margin-top:6px;
  color:var(--color-sub);
  font-size:14px;
  text-align:right;
}
/* スマホのトップ：写真を画面幅いっぱいに置き、その上に見出しの白いカードを重ねる */
@media (max-width:899px) {
  .ds-hero {
    padding-block:0 40px;
    background:var(--color-main-soft);
  }
  .ds-hero__inner { gap:0; }
  .ds-hero__visual {
    position:relative;
    order:-1;
    margin-inline:calc(var(--ds-gutter) * -1);
  }
  .ds-hero__visual img {
    aspect-ratio:3 / 2;
    object-position:50% 10%;
    border-radius:0;
  }
  /* 「写真はイメージです」は写真の右上に重ねる */
  .ds-hero__visual figcaption {
    position:absolute;
    top:8px; right:8px;
    margin:0;
    padding:0 8px;
    background:rgba(255,255,255,.9);
    color:var(--color-sub);
    font-size:13px;
  }
  /* 「最初の要素の上余白0」の共通指定より強くして、写真に重ねる */
  .ds-section > .ds-container > .ds-hero__body,
  .ds-hero__body {
    position:relative;
    margin-top:-64px !important;
    padding:24px 20px 28px;
    background:var(--color-bg);
    border-top:4px solid var(--color-main);
    box-shadow:0 8px 24px rgba(31,46,58,.10);
  }
  /* ロゴと同じ事業所名はスマホでは出さない */
  .ds-hero__name { display:none; }
  .ds-hero__eyebrow { font-size:14px; }
  .ds-hero__title { font-size:21px; letter-spacing:0.02em; }
  .ds-hero__lead { font-size:16px; }
  .ds-hero .ds-btns { flex-direction:column; align-items:stretch; }
  .ds-hero .ds-btn { width:100%; justify-content:flex-start; }
}

/* 新規受付状況 */
.ds-status {
  padding:20px;
  background:var(--color-bg);
  border:2px solid var(--color-main);
  border-radius:var(--ds-radius);
  text-align:center;
}
.ds-status__label {
  margin:0;
  color:var(--color-sub);
  font-size:15px;
  font-weight:700;
}
.ds-status__value {
  margin:4px 0;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:24px;
  font-weight:700;
  line-height:1.5;
}
.ds-status__note { margin:0; font-size:16px; }
.ds-status__update {
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px solid var(--color-line);
  color:var(--color-sub);
  font-size:14px;
}


/* ===================================
   9. カード（できること など）
   =================================== */
.ds-cards {
  display:grid;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}
@media (min-width:768px) {
  .ds-cards--3 { grid-template-columns:repeat(3, 1fr); gap:24px; }
  .ds-cards--2 { grid-template-columns:repeat(2, 1fr); gap:24px; }
}
.ds-cards > li { margin:0; padding:0; }
.ds-cards > li::before { content:none !important; }

.ds-card {
  height:100%;
  padding:24px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
.ds-section--soft .ds-card { border-color:transparent; }
.ds-card__icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  margin-bottom:12px;
  background:var(--color-main-soft);
  border-radius:50%;
  color:var(--color-main-dark);
}
.ds-section--soft .ds-card__icon { background:var(--color-main-soft); }
.ds-card__icon svg { width:30px; height:30px; }
.ds-card__title {
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
  line-height:1.5;
}
.ds-card__title .ds-term { display:block; font-family:var(--font-body); font-size:16px; font-weight:500; }
.ds-card__text { margin:0; }
.ds-card__text + .ds-card__text { margin-top:12px; }

/* 番号つきの大きいサービス紹介 */
.ds-feature {
  display:grid;
  gap:16px;
  padding:28px 24px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-top:4px solid var(--color-main);
  border-radius:var(--ds-radius);
}
.ds-feature + .ds-feature { margin-top:24px; }
@media (min-width:768px) {
  .ds-feature { grid-template-columns:72px 1fr; gap:24px; padding:32px; }
}
.ds-feature__num {
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  background:var(--color-main-dark);
  border-radius:50%;
  color:#fff;
  font-family:var(--font-head);
  font-size:24px;
  font-weight:700;
}
.ds-feature__title {
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:22px;
  line-height:1.5;
}
.ds-feature p { margin:0 0 12px; }
.ds-feature p:last-child { margin-bottom:0; }


/* ===================================
   10. ご利用の流れ（ステップ）
   =================================== */
.ds-steps {
  display:grid;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:none;
}
.ds-steps > li::before { content:none !important; }
.ds-step {
  position:relative;
  margin:0;
  padding:20px 20px 20px 84px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
.ds-step__num {
  position:absolute;
  left:20px; top:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px; height:48px;
  background:var(--color-main-dark);
  border-radius:50%;
  color:#fff;
  font-family:var(--font-head);
  font-size:22px;
  font-weight:700;
  line-height:1;
}
.ds-step__title {
  margin:0 0 4px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:19px;
  font-weight:700;
  line-height:1.5;
}
.ds-step__who {
  display:inline-block;
  margin-left:4px;
  padding:0 8px;
  background:var(--color-main-soft);
  border-radius:0;
  color:var(--color-main-dark);
  font-family:var(--font-body);
  font-size:14px;
  font-weight:700;
  vertical-align:0.15em;
}
.ds-step__text { margin:0; }
.ds-step__text + .ds-step__text { margin-top:8px; }

/* ステップ間の下向き矢印（スマホ） */
.ds-steps--arrow .ds-step:not(:last-child)::after {
  content:"";
  position:absolute;
  left:38px; bottom:-14px;
  width:12px; height:12px;
  background:var(--color-bg);
  border-right:2px solid var(--color-main);
  border-bottom:2px solid var(--color-main);
  transform:rotate(45deg);
  z-index:1;
}

/* トップ用の小さい横並びステップ */
.ds-steps--compact { gap:12px; }
@media (min-width:900px) {
  .ds-steps--compact { grid-template-columns:repeat(6, 1fr); }
  .ds-steps--compact .ds-step {
    padding:16px 14px;
    border:none;
    border-top:4px solid var(--color-main);
    border-radius:0;
    background:transparent;
  }
  .ds-steps--compact .ds-step__num {
    position:static;
    width:auto; height:auto;
    margin-bottom:4px;
    background:none;
    color:var(--color-main-dark);
    justify-content:flex-start;
  }
  .ds-steps--compact .ds-step::after { content:none !important; }
}
.ds-steps--compact .ds-step__title { font-size:17px; }
.ds-steps--compact .ds-step__text { font-size:16px; }


/* ===================================
   11. 情報一覧（dl）・表
   =================================== */
.ds-info {
  margin:0;
  border-top:1px solid var(--color-line);
}
.ds-info__row {
  display:grid;
  gap:2px;
  padding:14px 0;
  border-bottom:1px solid var(--color-line);
}
@media (min-width:768px) {
  .ds-info__row { grid-template-columns:180px 1fr; gap:24px; padding:16px 0; }
}
.ds-info dt {
  margin:0;
  color:var(--color-main-dark);
  font-weight:700;
}
.ds-info dd { margin:0; }
.ds-info dd small { display:block; color:var(--color-sub); font-size:16px; }

.ds-table-wrap { overflow-x:auto; }
.ds-table {
  width:100%;
  min-width:480px;
  border-collapse:collapse;
  background:var(--color-bg);
  font-size:16px;
}
.ds-table caption {
  margin-bottom:8px;
  color:var(--color-sub);
  font-size:15px;
  text-align:left;
}
.ds-table th,
.ds-table td {
  padding:12px 16px;
  border:1px solid var(--color-line);
  text-align:left;
  vertical-align:top;
}
.ds-table thead th {
  background:var(--color-main-dark);
  color:#fff;
  font-weight:700;
}
.ds-table tbody th {
  background:var(--color-main-soft);
  color:var(--color-text);
  font-weight:700;
}


/* ===================================
   12. リスト
   =================================== */
.ds-list {
  margin:0 0 16px;
  padding:0;
  list-style:none;
}
.ds-list > li {
  position:relative;
  margin:0 0 8px;
  padding-left:1.4em;
}
.ds-list > li::before {
  content:"" !important;
  position:absolute;
  left:0.3em; top:0.7em;
  width:0.5em; height:0.5em;
  background:var(--color-main);
  border-radius:50%;
}
.ds-list--check > li::before {
  top:0.45em;
  width:0.45em; height:0.8em;
  background:none;
  border-right:3px solid var(--color-main-dark);
  border-bottom:3px solid var(--color-main-dark);
  border-radius:0;
  transform:rotate(45deg);
}


/* ===================================
   13. 2カラム（テキスト＋ボックス）
   =================================== */
.ds-cols {
  display:grid;
  gap:32px;
}
@media (min-width:900px) {
  .ds-cols { grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
  .ds-cols--wide-left { grid-template-columns:3fr 2fr; }
}
.ds-box {
  padding:24px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
.ds-box--soft { background:var(--color-main-soft); border-color:transparent; }
.ds-box__title {
  margin:0 0 12px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:19px;
  font-weight:700;
}
.ds-box > *:last-child { margin-bottom:0; }


/* ===================================
   13-2. 文章＋イラスト（ds-media）
   =================================== */
.ds-media {
  display:grid;
  gap:24px;
  align-items:center;
}
@media (min-width:768px) {
  .ds-media { grid-template-columns:1fr 280px; gap:40px; }
  .ds-media--left { grid-template-columns:280px 1fr; }
  .ds-media--left .ds-media__img { order:-1; }
}
.ds-media__body > *:first-child { margin-top:0; }
.ds-media__body > *:last-child { margin-bottom:0; }
.ds-media__img { margin:0; }
.ds-media__img img {
  display:block;
  width:100%;
  max-width:280px;
  height:auto;
  margin-inline:auto;
}
@media (max-width:767px) {
  .ds-media__img img { max-width:220px; }
}

/* 番号つき紹介（ds-feature）の中のイラスト */
.ds-feature__img { margin:16px 0 0; }
.ds-feature__img img { display:block; width:100%; max-width:240px; height:auto; }

/* ===================================
   13-3. イラスト（カード・ステップ・単独）
   =================================== */
/* カードの上のイラスト */
.ds-card__illust { margin:0 0 12px; }
.ds-card__illust img {
  display:block;
  width:100%;
  max-width:220px;
  height:auto;
  margin-inline:auto;
}
/* イラストを左に置く横長カード */
@media (min-width:600px) {
  .ds-card--side {
    display:grid;
    grid-template-columns:160px 1fr;
    gap:24px;
    align-items:center;
  }
  .ds-card--side .ds-card__illust { margin:0; }
}

/* ご利用の流れ：各ステップのイラスト */
.ds-step__illust { margin:12px 0 0; }
.ds-step__illust img { display:block; width:100%; max-width:180px; height:auto; }
@media (min-width:768px) {
  .ds-step--illust {
    display:grid;
    grid-template-columns:1fr 160px;
    column-gap:24px;
    align-items:center;
  }
  .ds-step--illust > .ds-step__title,
  .ds-step--illust > .ds-step__text { grid-column:1; }
  .ds-step--illust > .ds-step__illust { grid-column:2; grid-row:1 / span 3; margin:0; }
}

/* 単独のイラスト（見出しの下などに中央寄せ） */
.ds-figure { margin:0 0 24px; }
.ds-figure img { display:block; width:100%; height:auto; }
.ds-figure--center img { max-width:320px; margin-inline:auto; }
.ds-figure--small img { max-width:200px; }

/* お問い合わせ方法：LINEのカードのイラスト */
.ds-contact-way__illust { margin:0 0 12px; }
.ds-contact-way__illust img { display:block; width:100%; max-width:200px; height:auto; }

/* お問い合わせ帯のイラスト */
.ds-cta__illust { margin:0 auto 8px; max-width:240px; }
.ds-cta__illust img { display:block; width:100%; height:auto; }

/* Googleマップの埋め込み */
.ds-map { position:relative; margin:0 0 16px; aspect-ratio:4 / 3; background:var(--color-bg); border:1px solid var(--color-line); }
.ds-map iframe { display:block; width:100%; height:100%; border:0; }
@media (min-width:768px) { .ds-map { aspect-ratio:16 / 9; } }

/* ===================================
   14. 相談支援専門員の紹介
   =================================== */
.ds-staff {
  display:grid;
  gap:20px;
  padding:24px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
@media (min-width:768px) {
  .ds-staff { grid-template-columns:160px 1fr; gap:32px; padding:32px; }
}
.ds-staff__photo { width:140px; }
.ds-staff__photo img { display:block; width:100%; height:auto; border-radius:50%; }
@media (min-width:768px) { .ds-staff__photo { width:160px; } }
.ds-staff__role {
  margin:0 0 4px;
  color:var(--color-sub);
  font-size:15px;
  font-weight:700;
}
.ds-staff__title {
  margin:0 0 12px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
}


/* ===================================
   15. よくある質問（details / summary）
   =================================== */
.ds-faq { margin:0; }
.ds-faq__item {
  margin:0 0 12px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
.ds-faq__q {
  position:relative;
  display:block;
  padding:18px 56px 18px 56px;
  color:var(--color-text);
  font-weight:700;
  line-height:1.6;
  list-style:none;
  cursor:pointer;
}
.ds-faq__q::-webkit-details-marker { display:none; }
.ds-faq__q::before {
  content:"Q";
  position:absolute;
  left:16px; top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  background:var(--color-main-dark);
  border-radius:50%;
  color:#fff;
  font-family:var(--font-head);
  font-size:16px;
  line-height:1;
}
/* 開閉の状態は「＋／−」の形で示す（色だけに頼らない） */
.ds-faq__q::after {
  content:"＋";
  position:absolute;
  right:20px; top:18px;
  color:var(--color-main-dark);
  font-weight:700;
}
.ds-faq__item[open] .ds-faq__q::after { content:"−"; }
.ds-faq__a {
  position:relative;
  margin:0;
  padding:0 20px 20px 56px;
}
.ds-faq__a::before {
  content:"A";
  position:absolute;
  left:16px; top:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  background:var(--color-accent);
  border-radius:50%;
  color:var(--color-text);
  font-family:var(--font-head);
  font-size:16px;
  font-weight:700;
  line-height:1;
}
.ds-faq__a p { margin:0 0 8px; }
.ds-faq__a p:last-child { margin-bottom:0; }


/* ===================================
   16. お問い合わせ方法のカード
   =================================== */
.ds-contact-ways {
  display:grid;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}
@media (min-width:900px) {
  .ds-contact-ways { grid-template-columns:repeat(3, 1fr); gap:24px; }
}
.ds-contact-ways > li { margin:0; padding:0; }
.ds-contact-ways > li::before { content:none !important; }
.ds-contact-way {
  display:flex;
  flex-direction:column;
  height:100%;
  padding:24px;
  background:var(--color-bg);
  border:1px solid var(--color-line);
  border-radius:var(--ds-radius);
}
.ds-contact-way__title {
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
}
.ds-contact-way__title svg { width:26px; height:26px; flex-shrink:0; }
.ds-contact-way__title--line svg { color:var(--color-line-brand); }
.ds-contact-way__main {
  margin:0 0 4px;
  font-size:20px;
  font-weight:700;
  word-break:break-all;
}
.ds-contact-way__main a { color:var(--color-text) !important; }
.ds-contact-way__sub { margin:0 0 16px; color:var(--color-sub); }
.ds-contact-way .ds-btn { margin-top:auto; }
.ds-contact-way__qr {
  display:none;
  width:120px;
  margin:0 0 16px;
}
@media (min-width:900px) {
  .ds-contact-way__qr { display:block; }
}


/* ===================================
   17. フォーム（Snow Monkey Forms 用＋プレビュー用）
   ※ プレビューでも Snow Monkey Forms と同じクラス名を使う
   =================================== */
.smf-form .smf-item {
  display:grid;
  gap:6px;
  margin:0 0 24px;
}
.smf-form .smf-item__label,
.smf-form .smf-item__col--label {
  color:var(--color-text);
  font-weight:700;
}
.smf-form .smf-item__description {
  color:var(--color-sub);
  font-size:16px;
}
.ds-req,
.ds-opt {
  display:inline-block;
  margin-left:8px;
  padding:0 8px;
  border-radius:0;
  font-size:13px;
  font-weight:700;
  line-height:1.7;
  vertical-align:0.1em;
}
.ds-req { background:var(--color-main-dark); color:#fff; }
.ds-opt { background:var(--color-bg); color:var(--color-sub); border:1px solid var(--color-sub); }

.smf-form input[type="text"],
.smf-form input[type="email"],
.smf-form input[type="tel"],
.smf-form select,
.smf-form textarea {
  width:100%;
  min-height:52px;
  padding:12px 14px;
  background:var(--color-bg);
  color:var(--color-text);
  /* 入力欄の枠は 3:1 以上が必要なため --color-sub を使う */
  border:1px solid var(--color-sub);
  border-radius:var(--ds-radius-sm);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
}
.smf-form textarea { min-height:180px; resize:vertical; }
/* ラジオボタン・チェックボックス
   Snow Monkey Forms の構造：
   .smf-radio-buttons-control__control（選択肢全体の枠）> .smf-label > label > .smf-radio-button-control > input.smf-radio-button-control__control + 文字 */
.smf-form .smf-radio-button-control__control,
.smf-form .smf-checkbox-control__control {
  flex-shrink:0;
  width:22px; height:22px;
  margin:0 8px 0 0;
  accent-color:var(--color-main-dark);
}
.smf-form .smf-radio-buttons-control__control,
.smf-form .smf-checkboxes-control__control { display:flex; flex-wrap:wrap; gap:4px 24px; }
.smf-form .smf-label label,
.smf-form .smf-radio-button-control,
.smf-form .smf-checkbox-control { display:inline-flex; align-items:center; }
.smf-form .smf-label label { min-height:44px; cursor:pointer; }
.smf-form fieldset { margin:0; padding:0; border:none; min-width:0; }
.smf-form legend { padding:0; margin-bottom:6px; }

/* 送信ボタン類：実際の Snow Monkey Forms では .smf-action が .smf-form の外にあるため、form 全体から指定する */
.smf-form .smf-action,
.snow-monkey-form .smf-action { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:32px; text-align:center; }
.smf-form .smf-button-control__control,
.snow-monkey-form .smf-button-control__control {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:240px;
  min-height:56px;
  padding:12px 32px;
  background:var(--color-accent);
  color:var(--color-text);
  border:2px solid transparent;
  border-radius:999px;
  font-family:var(--font-body);
  font-size:17px;
  font-weight:700;
  cursor:pointer;
}
.smf-form .smf-button-control__control:hover,
.snow-monkey-form .smf-button-control__control:hover { background:var(--color-accent-hover); }
/* 「入力画面へ戻る」は枠線のボタンにする */
.snow-monkey-form .smf-button-control__control[data-action="back"] {
  background:var(--color-bg);
  color:var(--color-main-dark);
  border-color:var(--color-main-dark);
}
.snow-monkey-form .smf-button-control__control[data-action="back"]:hover { background:var(--color-main-soft); }
.snow-monkey-form .smf-button-control__control:focus-visible {
  outline:3px solid var(--color-focus);
  outline-offset:3px;
}
.smf-form .smf-error-messages { color:#B3261E; font-weight:700; } /* エラー文（白背景で 6.5:1） */

/* 個人情報の利用目的 */
.ds-privacy-box {
  max-height:none;
  margin:0 0 24px;
  padding:20px;
  background:var(--color-main-soft);
  border-radius:var(--ds-radius-sm);
}
.ds-section--soft .ds-privacy-box { background:var(--color-bg); border:1px solid var(--color-line); }
.ds-privacy-box__title {
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-size:17px;
  font-weight:700;
}
.ds-privacy-box p { margin:0 0 8px; }
.ds-privacy-box p:last-child { margin-bottom:0; }


/* ===================================
   18. プライバシーポリシー本文
   =================================== */
.ds-policy h2 {
  margin:40px 0 12px;
  padding:0 0 8px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:20px;
  font-weight:700;
  border-bottom:1px solid var(--color-line);
}
.ds-policy h2:first-child { margin-top:0; }
.ds-policy p { margin:0 0 12px; }
.ds-policy ol {
  margin:0 0 16px;
  padding-left:1.6em;
}
.ds-policy ol > li { margin-bottom:6px; }
.ds-policy__date { margin-top:40px !important; text-align:right; color:var(--color-sub); }


/* ===================================
   19. お問い合わせ帯（全ページ共通・フッター上）
   =================================== */
.ds-cta {
  padding-block:var(--ds-section-y);
  background:var(--color-main-soft);
  border-top:3px solid var(--color-main);
  color:var(--color-text);
  font-family:var(--font-body);
}
.ds-cta__inner { text-align:center; }
.ds-cta__title {
  margin:0 0 8px;
  color:var(--color-main-dark);
  font-family:var(--font-head);
  font-size:24px;
  font-weight:700;
  line-height:1.5;
}
@media (min-width:768px) { .ds-cta__title { font-size:28px; } }
.ds-cta__text { margin:0 0 20px; }
.ds-cta__tel {
  margin:0;
  font-family:var(--font-head);
  font-size:32px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:0.04em;
}
.ds-site .ds-cta__tel a,
.ds-cta__tel a { color:var(--color-text); text-decoration:none; }
.ds-cta__tel a:hover { text-decoration:underline; }
.ds-cta__hours { margin:4px 0 0; color:var(--color-sub); }
.ds-cta .ds-btns { justify-content:center; }


/* ===================================
   20. フッター
   =================================== */
.ds-footer {
  padding:48px 0 32px;
  background:var(--color-main-dark);
  color:#fff;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.8;
}
.ds-footer a {
  color:#fff !important;
  text-decoration:underline;
  text-underline-offset:0.2em;
}
.ds-footer a:focus-visible { outline-color:var(--color-focus-on-dark) !important; }
.ds-footer__grid { display:grid; gap:32px; }
@media (min-width:900px) {
  .ds-footer__grid { grid-template-columns:1.2fr 1fr; gap:48px; }
}
.ds-footer__type { margin:0; font-size:14px; font-weight:700; }
/* フッターの白抜きロゴ */
.ds-footer__logo { margin:0 0 20px; }
.ds-footer__logo img { display:block; width:100%; max-width:300px; height:auto; }
.ds-footer__name {
  margin:0 0 12px;
  font-family:var(--font-head);
  font-size:22px;
  font-weight:700;
}
.ds-footer__info { margin:0; font-style:normal; }
.ds-footer__info p { margin:0 0 4px; }
/* 同じ運営会社の事業所 */
.ds-footer__related {
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.4);
}
.ds-footer__related p { margin:0; }
.ds-footer__related-title { font-size:14px; font-weight:700; }
.ds-footer__nav ul {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px 16px;
  margin:0;
  padding:0;
  list-style:none;
}
.ds-footer__nav li { margin:0; }
.ds-footer__nav li:last-child { grid-column:1 / -1; } /* 「プライバシーポリシー」を途中で折り返さない */
.ds-footer__nav li::before { content:none !important; }
.ds-footer__nav a { display:inline-block; padding:6px 0; }
.ds-footer__copy {
  margin:32px 0 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.4);
  font-size:14px;
  text-align:center;
}


/* ===================================
   21. スマホ下部の固定バー（電話・LINE）
   =================================== */
.ds-fixbar {
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:200;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  height:var(--ds-fixbar-h);
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));
  background:var(--color-bg);
  border-top:1px solid var(--color-line);
  box-shadow:0 -4px 12px rgba(31,46,58,.08);
}
.ds-fixbar .ds-btn {
  white-space:nowrap;
  min-height:0;
  height:100%;
  padding:4px 8px;
  border-radius:var(--ds-radius-btn-sm);
  font-size:15px;
}
@media (min-width:768px) {
  .ds-fixbar { display:none; }
}


/* ===================================
   21-2. ページの先頭へ戻るボタン（右下）
   =================================== */
.ds-pagetop {
  position:fixed;
  right:16px;
  bottom:calc(var(--ds-fixbar-h) + 12px + env(safe-area-inset-bottom)); /* スマホは固定バーの上に置く */
  z-index:190;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  padding:0;
  background:var(--color-main-dark);
  color:#fff;
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 4px 12px rgba(31,46,58,.2);
  font-family:var(--font-body);
  cursor:pointer;
  /* 表示前は見えず、フォーカスもされない */
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s, transform .2s, visibility .2s, background-color .2s;
}
.ds-pagetop.is-show { opacity:1; visibility:visible; transform:none; }
.ds-pagetop:hover { background:#1A5852; }
.ds-pagetop:focus-visible {
  outline:3px solid var(--color-focus);
  outline-offset:3px;
}
.ds-pagetop svg { width:22px; height:22px; margin-bottom:-2px; }
.ds-pagetop__text { font-size:11px; font-weight:700; line-height:1.2; }
@media (min-width:768px) {
  .ds-pagetop { right:24px; bottom:24px; }
}
@media (prefers-reduced-motion:reduce) {
  .ds-pagetop { transition:none; }
}

/* ===================================
   22. WordPress（SWELL）との調整
   SWELL の本文用スタイルが ds- 部品に効かないように打ち消す
   =================================== */
.post_content .ds-section h2,
.post_content .ds-section h3,
.post_content .ds-section h4 {
  margin-top:0;
  padding:0;
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
  color:inherit;
}
.post_content .ds-section h2::before,
.post_content .ds-section h2::after,
.post_content .ds-section h3::before,
.post_content .ds-section h3::after,
.post_content .ds-section h4::before,
.post_content .ds-section h4::after { content:none; display:none; }

.post_content .ds-section .ds-heading {
  margin:0 0 28px;
  padding:0 0 12px;
  color:var(--color-main-dark);
  border-bottom:3px solid var(--color-main);
}
.post_content .ds-section .ds-subheading { margin:32px 0 12px; color:var(--color-main-dark); }
.post_content .ds-section .ds-card__title,
.post_content .ds-section .ds-feature__title,
.post_content .ds-section .ds-step__title,
.post_content .ds-section .ds-box__title,
.post_content .ds-section .ds-staff__title,
.post_content .ds-section .ds-contact-way__title,
.post_content .ds-section .ds-hero__title { color:inherit; }
.post_content .ds-section .ds-card__title,
.post_content .ds-section .ds-feature__title,
.post_content .ds-section .ds-step__title,
.post_content .ds-section .ds-box__title,
.post_content .ds-section .ds-staff__title,
.post_content .ds-section .ds-contact-way__title { color:var(--color-main-dark); }
.post_content .ds-section .ds-policy h2 {
  margin:40px 0 12px;
  padding:0 0 8px;
  color:var(--color-main-dark);
  border-bottom:1px solid var(--color-line);
}

.post_content .ds-section ul,
.post_content .ds-section ol { margin-left:0; padding-left:0; }
.post_content .ds-section .ds-policy ol { padding-left:1.6em; }
.post_content .ds-section ul > li::before { background:none; }
.post_content .ds-section .ds-list > li::before { background:var(--color-main); }
.post_content .ds-section .ds-list--check > li::before { background:none; }
.post_content .ds-section table { margin:0; }
.post_content .ds-section .ds-table thead th { background:var(--color-main-dark); color:#fff; }

/* SWELL の固定ページで、本文エリアの左右余白を打ち消してフル幅にする
   （page.php / front-page.php で .l-content を閉じているため通常は不要） */
.ds-main .post_content { margin:0; }
.ds-main .post_content > * { margin-block:0; }

/* SWELL の本文用の見出しサイズ（.post_content h1 など）より優先させる */
.post_content .ds-hero__title { font-size:21px; line-height:1.6; }
.post_content .ds-heading { font-size:24px; line-height:1.5; }
.post_content .ds-subheading { font-size:20px; }
.post_content .ds-card__title,
.post_content .ds-staff__title,
.post_content .ds-contact-way__title { font-size:20px; line-height:1.5; }
.post_content .ds-feature__title { font-size:22px; line-height:1.5; }
.post_content .ds-step__title { font-size:19px; line-height:1.5; }
.post_content .ds-steps--compact .ds-step__title { font-size:17px; }
.post_content .ds-box__title { font-size:19px; }
.post_content .ds-policy h2 { font-size:20px; }
@media (min-width:768px) {
  .post_content .ds-hero__title { font-size:36px; }
  .post_content .ds-heading { font-size:28px; }
}

/* このテーマのページでは、SWELL の空の本文エリア（#content）を出さない
   （page.php / front-page.php で閉じているため中身はなく、余白だけが残る） */
body:has(.ds-main) #content { display:none; }

/* SWELL のヘッダー・フッターの色合わせ（カスタマイザーの設定が優先） */
/* ヘッダーのメニューの「お問い合わせ」だけをボタンにする
   （メニュー項目に CSS クラス ds-nav-contact を付けている） */
.c-gnav > .ds-nav-contact {
  display:flex;
  align-items:center;
  margin-left:8px;
}
.c-gnav > .ds-nav-contact > a {
  height:auto;
  min-height:44px;
  padding:6px 22px !important;
  background:var(--color-bg);
  color:var(--color-accent) !important;      /* 文字は枠線と同じオレンジ（ご指定） */
  border:2px solid var(--color-accent);
  border-radius:999px;
  font-weight:700;
  transition:background-color .2s, color .2s;
}
/* マウスを乗せたときはオレンジで塗り、文字を濃紺にする */
.c-gnav > .ds-nav-contact > a:hover { background:var(--color-accent); color:var(--color-text) !important; }
.c-gnav > .ds-nav-contact > a::after { display:none !important; }
.c-gnav > .ds-nav-contact > a .ttl { color:inherit; }
.c-gnav > .ds-nav-contact > a:focus-visible {
  outline:3px solid var(--color-focus);
  outline-offset:3px;
}
/* スマホの開閉メニューの中でもボタンにする */
.p-spMenu .ds-nav-contact > a {
  display:block;
  margin:16px 16px 0;
  padding:10px 16px !important;
  background:var(--color-bg);
  color:var(--color-accent) !important;
  border:2px solid var(--color-accent);
  border-radius:999px;
  font-weight:700;
  text-align:center;
}
.p-spMenu .ds-nav-contact > a::before { display:none !important; }

.l-header { border-bottom:1px solid var(--color-line); }
