@charset "UTF-8";
/*
Theme Name: Arkhe Child for Smile Hands
Template: arkhe
Description: スマイルハンズ用 Arkhe 子テーマ（投稿・固定ページ スリム1カラム & プレミアムデザイン）
Version: 2.0.0
*/

/* ==============================================
   共通: フォント設定
   ============================================== */
body {
    font-family: "Zen Maru Gothic", sans-serif !important;
}

/* ==============================================
   投稿ページ(single) & 固定ページ(page)
   ※フロントページ(home, front-page)を除く
   ============================================== */

/* 背景色：薄い青 (全画面) */
body.single,
body.archive,
body.blog,
body.search,
body.page:not(.home):not(.front-page) {
    background-color: #f0f9ff !important;
}

/* コンテナ幅制限 (スリム) — ヘッダーには影響しないよう #content 配下に限定 */
body.single #content .l-container,
body.archive #content .l-container,
body.blog #content .l-container,
body.search #content .l-container,
body.page:not(.home):not(.front-page) #content .l-container {
    max-width: 900px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
    padding-right: 8px;
}

/* メインコンテンツエリア：白いカード風デザイン */
body.single .l-main__body,
body.archive .l-main__body,
body.blog .l-main__body,
body.search .l-main__body,
body.page:not(.home):not(.front-page) .l-main__body {
    background-color: #ffffff;
    border-radius: 1rem;
    /* 角丸 */
    box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.1), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    /* 影 */
    border: 1px solid #dbeafe;
    /* 薄い枠線 */
    padding: 4rem 3rem;
    /* 内部余白 */
    margin-top: 4rem !important;
    margin-bottom: 6rem !important;
}

/* サイドバー非表示（強制1カラム） */
body.single #sidebar,
body.archive #sidebar,
body.blog #sidebar,
body.search #sidebar,
body.page:not(.home):not(.front-page) #sidebar {
    display: none;
}

body.single .l-main,
body.archive .l-main,
body.blog .l-main,
body.search .l-main,
body.page:not(.home):not(.front-page) .l-main {
    width: 100% !important;
}

/* ==============================================
   アーカイブ（投稿一覧）ページのデザイン
   /news, /category/* など
   ============================================== */

/* ヘッダーは他ページと共通の挙動に任せる（カスタム指定なし） */

/* 投稿ページのアイキャッチ画像と本文画像を角丸に */
body.single .p-entry__thumb__img,
body.single .p-entry__thumb img,
body.single .p-entry__content img,
body.archive .c-postThumb__img,
body.blog .c-postThumb__img {
    border-radius: 0.75rem !important;
    overflow: hidden !important;
}
body.single .p-entry__thumb,
body.single .p-entry__thumb figure {
    border-radius: 0.75rem !important;
    overflow: hidden !important;
}
body.archive .c-postThumb,
body.blog .c-postThumb {
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

/* アーカイブ・タイトル: 青系 (#1e3a8a) */
html body.archive .c-pageTitle__main.c-pageTitle__main.c-pageTitle__main,
html body.blog .c-pageTitle__main.c-pageTitle__main.c-pageTitle__main,
html body.search .c-pageTitle__main.c-pageTitle__main.c-pageTitle__main {
    color: #1e3a8a !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.05em !important;
}
html body.archive .c-pageTitle__sub.c-pageTitle__sub,
html body.blog .c-pageTitle__sub.c-pageTitle__sub,
html body.search .c-pageTitle__sub.c-pageTitle__sub {
    color: #64748b !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
    letter-spacing: 0.1em !important;
}

/* 投稿リスト：2カラムグリッド */
body.archive .p-postList.-type-card,
body.blog .p-postList.-type-card,
body.search .p-postList.-type-card {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 投稿アイテム：カード化 */
body.archive .p-postList.-type-card .p-postList__item,
body.blog .p-postList.-type-card .p-postList__item,
body.search .p-postList.-type-card .p-postList__item {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    list-style: none !important;
}
body.archive .p-postList.-type-card .p-postList__item:hover,
body.blog .p-postList.-type-card .p-postList__item:hover,
body.search .p-postList.-type-card .p-postList__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.1);
}
body.archive .p-postList.-type-card .p-postList__link,
body.blog .p-postList.-type-card .p-postList__link,
body.search .p-postList.-type-card .p-postList__link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}
body.archive .p-postList.-type-card .p-postList__body,
body.blog .p-postList.-type-card .p-postList__body,
body.search .p-postList.-type-card .p-postList__body {
    padding: 1.25rem !important;
}

/* 投稿タイトル */
body.archive .p-postList__title,
body.blog .p-postList__title,
body.search .p-postList__title {
    color: #1e3a8a !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    margin: 0 0 0.5rem 0 !important;
}
body.archive .p-postList__link:hover .p-postList__title,
body.blog .p-postList__link:hover .p-postList__title,
body.search .p-postList__link:hover .p-postList__title {
    color: #ea580c !important;
}

/* 抜粋テキスト */
body.archive .p-postList__excerpt,
body.blog .p-postList__excerpt,
body.search .p-postList__excerpt {
    color: #475569 !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    margin: 0 0 0.75rem 0 !important;
}
body.archive .p-postList__excerpt p,
body.blog .p-postList__excerpt p,
body.search .p-postList__excerpt p {
    margin: 0 !important;
}

/* 投稿日付・カテゴリー */
body.archive .p-postList__meta,
body.blog .p-postList__meta,
body.search .p-postList__meta {
    color: #64748b !important;
    font-size: 0.8rem !important;
    gap: 0.75rem !important;
}
body.archive .p-postList__category span,
body.blog .p-postList__category span,
body.search .p-postList__category span {
    background: #f97316 !important;
    color: #ffffff !important;
    padding: 0.15rem 0.6rem !important;
    border-radius: 2rem !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
}
body.archive .p-postList__category svg,
body.blog .p-postList__category svg,
body.search .p-postList__category svg {
    display: none !important;
}

/* ページネーション */
body.archive .navigation.pagination,
body.blog .navigation.pagination,
body.search .navigation.pagination,
body.archive .c-pagination,
body.blog .c-pagination,
body.search .c-pagination {
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
}
body.archive .navigation.pagination .page-numbers,
body.blog .navigation.pagination .page-numbers,
body.search .navigation.pagination .page-numbers,
body.archive .c-pagination .page-numbers,
body.blog .c-pagination .page-numbers,
body.search .c-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.8rem !important;
    height: 1.8rem !important;
    border-radius: 0.35rem !important;
    border: 1px solid #dbeafe !important;
    color: #1e3a8a !important;
    padding: 0 0.6rem !important;
    background: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    line-height: 1 !important;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
body.archive .navigation.pagination .page-numbers.current,
body.blog .navigation.pagination .page-numbers.current,
body.search .navigation.pagination .page-numbers.current,
body.archive .navigation.pagination a.page-numbers:hover,
body.blog .navigation.pagination a.page-numbers:hover,
body.search .navigation.pagination a.page-numbers:hover,
body.archive .c-pagination .page-numbers.current,
body.blog .c-pagination .page-numbers.current,
body.archive .c-pagination .page-numbers:hover,
body.blog .c-pagination .page-numbers:hover,
body.search .c-pagination .page-numbers.current,
body.search .c-pagination .page-numbers:hover {
    background: #f97316 !important;
    color: #ffffff !important;
    border-color: #f97316 !important;
    transform: translateY(-1px);
}
body.archive .navigation.pagination .page-numbers.next,
body.blog .navigation.pagination .page-numbers.next,
body.search .navigation.pagination .page-numbers.next,
body.archive .navigation.pagination .page-numbers.prev,
body.blog .navigation.pagination .page-numbers.prev,
body.search .navigation.pagination .page-numbers.prev {
    padding: 0 0.85rem !important;
}

@media (max-width: 768px) {
    body.archive .l-main__body,
    body.blog .l-main__body,
    body.search .l-main__body {
        padding: 2.5rem 1.5rem !important;
        border-radius: 0.75rem !important;
        margin-top: 2rem !important;
        margin-bottom: 3rem !important;
    }
    body.archive .c-pageTitle__main,
    body.blog .c-pageTitle__main,
    body.search .c-pageTitle__main,
    body.single .c-pageTitle__main {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        letter-spacing: 0 !important;
    }
    html body.single .c-pageTitle__main.c-pageTitle__main.c-pageTitle__main {
        font-size: 1.7rem !important;
        text-align: left !important;
        letter-spacing: 0.01em !important;
    }
    /* モバイル時は1カラム */
    body.archive .p-postList.-type-card,
    body.blog .p-postList.-type-card,
    body.search .p-postList.-type-card {
        grid-template-columns: 1fr !important;
    }
}

/* ----------------------------------------------
   見出し・タイポグラフィ
   ---------------------------------------------- */

/* 記事タイトル */
body.single .c-entry__title,
body.page:not(.home):not(.front-page) .c-page__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e3a8a;
    /* Blue-900 */
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* メタ情報（日付など） */
body.single .c-entry__meta {
    justify-content: center;
    margin-bottom: 2rem;
    color: #64748b;
}

/* H2見出し: オレンジ色の下線 */
body.single .c-entry__content h2,
body.single .p-entry__content h2,
body.single .c-postContent h2,
body.page:not(.home):not(.front-page) .c-entry__content h2 {
    background: transparent;
    color: #1e3a8a;
    font-size: 1.75rem;
    font-weight: 700;
    border-bottom: 3px solid #f97316;
    /* Orange */
    padding-bottom: 0.75rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-left: 0;
}

/* H3見出し: オレンジ色の左線 */
body.single .c-entry__content h3,
body.single .p-entry__content h3,
body.single .c-postContent h3,
body.page:not(.home):not(.front-page) .c-entry__content h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    border-left: 6px solid #f97316;
    border-bottom: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem !important;
    background: transparent;
}

/* H3/H4 直下に div が来た時、margin-bottom が打ち消されないよう保険 */
body.single .c-entry__content h3 + div,
body.single .c-entry__content h4 + div,
body.single .p-entry__content h3 + div,
body.single .p-entry__content h4 + div,
body.page:not(.home):not(.front-page) .c-entry__content h3 + div,
body.page:not(.home):not(.front-page) .c-entry__content h4 + div {
    margin-top: 1rem !important;
}

/* H4見出し: シンプルな青文字 */
body.single .c-entry__content h4,
body.single .p-entry__content h4,
body.single .c-postContent h4,
body.page:not(.home):not(.front-page) .c-entry__content h4 {
    color: #1e3a8a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem !important;
    position: relative;
    padding-left: 1.2rem;
}

body.single .c-entry__content h4::before,
body.single .p-entry__content h4::before,
body.single .c-postContent h4::before,
body.page:not(.home):not(.front-page) .c-entry__content h4::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: #f97316;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 本文テキスト */
body.single .c-entry__content p,
body.single .p-entry__content p,
body.single .c-postContent p,
body.page:not(.home):not(.front-page) .c-entry__content p {
    color: #334155;
    /* Slate-700 */
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* リンク色 */
body.single .c-entry__content a,
body.single .p-entry__content a,
body.single .c-postContent a,
body.page:not(.home):not(.front-page) .c-entry__content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s;
}

body.single .c-entry__content a:hover,
body.single .p-entry__content a:hover,
body.single .c-postContent a:hover,
body.page:not(.home):not(.front-page) .c-entry__content a:hover {
    color: #ea580c;
}

/* 投稿タイトル: H1 (.c-pageTitle__main) は他ページ同様青系の中央寄せ大見出し */
body.single .c-pageTitle__main {
    color: #1e3a8a !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    letter-spacing: 0.05em !important;
}

/* 日付メタ情報の中央寄せ・色調整 */
body.single .c-postMetas {
    justify-content: center !important;
    color: #64748b !important;
    margin-top: 1rem !important;
    margin-bottom: 2.5rem !important;
}
body.single .c-postMetas .c-postTerms__link {
    color: #1e3a8a !important;
}
body.single .c-postMetas svg {
    color: #94a3b8 !important;
}

/* リスト（ol / ul） */
body.single .p-entry__content ul,
body.single .p-entry__content ol,
body.single .c-postContent ul,
body.single .c-postContent ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
body.single .p-entry__content li,
body.single .p-entry__content li,
body.single .c-postContent li {
    color: #334155 !important;
    line-height: 1.9 !important;
    margin-bottom: 0.5rem !important;
}

/* ==============================================
   見学・体験CTA（再利用ブロック ID:549）モバイル最適化
   ============================================== */
.sh-trial-cta {
    margin: 2rem 0;
}
.sh-trial-cta__btn {
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .sh-trial-cta {
        padding: 2rem 1.25rem !important;
        border-radius: 0.75rem !important;
    }
    .sh-trial-cta__title {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    .sh-trial-cta__desc {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
    }
    .sh-trial-cta__btn {
        display: block !important;
        padding: 1rem 1rem !important;
        font-size: 1rem !important;
    }
    .sh-trial-cta__note {
        font-size: 0.8rem !important;
        line-height: 1.7 !important;
        margin-top: 1rem !important;
    }
}

/* ==============================================
   サイト共通 ページナビゲーション（固定ページ末尾＋投稿の再利用ブロック用）
   ============================================== */
.sh-page-nav {
    margin: 4rem 0 0;
    padding: 3rem 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #1e3a8a;
    position: relative;
    overflow: visible;
}
.sh-page-nav__inner {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}
.sh-page-nav__label {
    display: block;
    text-align: center;
    color: #f97316;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.sh-page-nav__title {
    text-align: center;
    color: #1e3a8a !important;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 3rem;
    line-height: 1.5;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.sh-page-nav__groups {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
.sh-page-nav__group {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 12px -4px rgba(30, 58, 138, 0.1);
    border: 1px solid #e0f2fe;
}
.sh-page-nav__group-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem !important;
    padding: 0 0 0.75rem !important;
    color: #1e3a8a !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border: 0 !important;
    border-bottom: 2px solid #fed7aa !important;
    background: transparent !important;
}
.sh-page-nav__group-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.sh-page-nav__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sh-page-nav__item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.sh-page-nav__item::before {
    display: none !important;
}
.sh-page-nav__item a {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title arrow"
        "desc arrow";
    align-items: center;
    gap: 0.1rem 0.75rem;
    text-decoration: none !important;
    color: #1e3a8a !important;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.sh-page-nav__item a:hover {
    background: #fff7ed;
    color: #c2410c !important;
    border-color: #fed7aa;
    transform: translateX(2px);
}
.sh-page-nav__item-title {
    grid-area: title;
    font-weight: 700;
    font-size: 0.95rem;
}
.sh-page-nav__item-desc {
    grid-area: desc;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}
.sh-page-nav__item a:hover .sh-page-nav__item-desc {
    color: #9a3412;
}
.sh-page-nav__arrow {
    grid-area: arrow;
    font-size: 1.1rem;
    color: #f97316;
    transition: transform 0.2s ease;
}
.sh-page-nav__item a:hover .sh-page-nav__arrow {
    transform: translateX(4px);
}
/* 現在ページを非表示 (JS で body にクラス付与) */
body.sh-current-philosophy .sh-page-nav__item[data-slug="philosophy"],
body.sh-current-message .sh-page-nav__item[data-slug="message"],
body.sh-current-company .sh-page-nav__item[data-slug="company"],
body.sh-current-about-a-type .sh-page-nav__item[data-slug="about-a-type"],
body.sh-current-works .sh-page-nav__item[data-slug="works"],
body.sh-current-daily-schedule .sh-page-nav__item[data-slug="daily-schedule"],
body.sh-current-benefits .sh-page-nav__item[data-slug="benefits"],
body.sh-current-voices .sh-page-nav__item[data-slug="voices"],
body.sh-current-faq .sh-page-nav__item[data-slug="faq"],
body.sh-current-support-system .sh-page-nav__item[data-slug="support-system"],
body.sh-current-partnership-flow .sh-page-nav__item[data-slug="partnership-flow"] {
    display: none !important;
}

@media (max-width: 900px) {
    .sh-page-nav__groups {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
@media (max-width: 480px) {
    .sh-page-nav {
        margin: 3rem -1.5rem 0;
        padding: 2.5rem 1rem;
        border-radius: 0.75rem;
    }
    .sh-page-nav__title {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    .sh-page-nav__group {
        padding: 1.25rem 1rem;
    }
}

/* （旧）サイト共通 CTA 導線 — 非表示にして、必要な時だけ復活できるように残置 */
.sh-page-cta {
    margin: 4rem 0 0;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 60%, #60a5fa 100%);
    border-radius: 1.25rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 40px -12px rgba(30, 58, 138, 0.35);
    position: relative;
    overflow: hidden;
}
.sh-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.18), transparent 60%);
    pointer-events: none;
}
.sh-page-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.sh-page-cta__label {
    display: inline-block;
    color: #fed7aa;
    font-size: 0.875rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.sh-page-cta__title {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.5;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.sh-page-cta__desc {
    color: #dbeafe !important;
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 2.25rem;
}
.sh-page-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.sh-page-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none !important;
    padding: 1.1rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 280px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.sh-page-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.sh-page-cta__btn--primary {
    background: #f97316;
    color: #ffffff !important;
}
.sh-page-cta__btn--primary:hover {
    background: #ea580c;
    color: #ffffff !important;
}
.sh-page-cta__btn--tel {
    background: #ffffff;
    color: #1e3a8a !important;
}
.sh-page-cta__btn--tel:hover {
    background: #f8fafc;
    color: #1e3a8a !important;
}
.sh-page-cta__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}
.sh-page-cta__btn--tel .sh-page-cta__btn-icon {
    background: #f0f9ff;
}
.sh-page-cta__btn-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.sh-page-cta__btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;
}
.sh-page-cta__btn-text strong {
    font-size: 1.05rem;
    font-weight: 700;
}
.sh-page-cta__btn-text small {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 0.25rem;
}
.sh-page-cta__note {
    color: #bfdbfe !important;
    font-size: 0.85rem;
    margin: 0 !important;
}
@media (max-width: 480px) {
    .sh-page-cta {
        margin: 3rem -1.5rem 0;
        padding: 2.75rem 1.25rem;
        border-radius: 0.75rem;
    }
    .sh-page-cta__title {
        font-size: 1.5rem;
        line-height: 1.6;
    }
    .sh-page-cta__desc {
        font-size: 0.9rem;
    }
    .sh-page-cta__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .sh-page-cta__btn {
        min-width: 0;
        padding: 0.95rem 1.25rem;
        justify-content: flex-start;
    }
}

/* SP のみで改行する <br class="sp-br"> */
@media (min-width: 769px) {
    .sp-br {
        display: none;
    }
}

/* PC のみで改行する <br class="pc-br"> */
@media (max-width: 768px) {
    .pc-br {
        display: none;
    }
}

/* ----------------------------------------------
   レスポンシブ調整 (SP)
   ---------------------------------------------- */
@media (max-width: 768px) {

    body.single .l-main__body,
    body.page:not(.home):not(.front-page) .l-main__body {
        padding: 2.5rem 1.5rem;
        /* 余白を縮小 */
        border-radius: 0.75rem;
        margin-top: 2rem !important;
        margin-bottom: 3rem !important;
    }

    body.single .c-entry__title,
    body.page:not(.home):not(.front-page) .c-page__title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    body.single .c-entry__content h2,
    body.page:not(.home):not(.front-page) .c-entry__content h2 {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    .c-pageTitle__main {
        font-size: 1.8rem;
    }

    /* smile-hands カスタムブロック共通: グラデーション枠のモバイル調整 */
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] {
        padding: 2rem 1.25rem !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p {
        word-break: keep-all;
        overflow-wrap: anywhere;
        line-height: 1.7 !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
        letter-spacing: 0.05em !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p[style*="font-size: 1.75rem"] {
        font-size: 1.4rem !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p[style*="font-size: 1.25rem"] {
        font-size: 1.15rem !important;
    }
    [class*="wp-block-smile-hands-"] > div[style*="linear-gradient(135deg"] > p[style*="color: #93c5fd"] {
        font-size: 0.85rem !important;
    }
    /* CTA ボタン: 横幅いっぱい・句単位改行 */
    [class*="wp-block-smile-hands-"] a[style*="background: #f97316"] {
        display: block !important;
        padding: 1rem 1.25rem !important;
        font-size: 1rem !important;
        word-break: keep-all;
        overflow-wrap: anywhere;
        line-height: 1.6 !important;
    }
    /* 約束カード等の バッジ + タイトル の横並びを縦並びに */
    [class*="wp-block-smile-hands-"] div[style*="background: #ffffff"] > div[style*="display: flex"][style*="align-items: center"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    [class*="wp-block-smile-hands-"] div[style*="background: #ffffff"] > div[style*="display: flex"][style*="align-items: center"] > span {
        padding: 0.35rem 0.9rem !important;
    }
    /* about-a-type リード文: モバイルでは左寄せ */
    .sh-lead-main {
        text-align: left !important;
    }
    /* works leadNote ボックス: モバイルでは左寄せ */
    .sh-leadnote {
        text-align: left !important;
    }
    /* works カード本体: モバイル時は内側 padding を 1.5rem に */
    .sh-work-body {
        padding: 1.5rem !important;
    }
    /* support-system スタッフ写真グリッド: モバイルは1カラム */
    .sh-staff-grid {
        grid-template-columns: 1fr !important;
    }
    /* daily-schedule 写真グリッド: モバイルは1カラム */
    .sh-daily-photo-grid {
        grid-template-columns: 1fr !important;
    }
    /* 見出し：日本語で改行を避けて句単位で折り返す */
    .sh-keep-line {
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        font-size: 1.25rem !important;
    }
    /* daily-schedule タイムライン：モバイル時に左余白を詰める */
    .sh-timeline-card {
        padding: 1.25rem 1rem !important;
    }
    .sh-timeline-card > div > div[style*="display: flex"] {
        gap: 0.5rem !important;
    }
    .sh-timeline-card > div > div[style*="display: flex"] > div[style*="width: 5rem"] {
        width: 4rem !important;
    }
    .sh-timeline-card > div > div[style*="display: flex"] > div[style*="width: 5rem"] > span {
        white-space: nowrap !important;
        padding: 0.2rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    .sh-timeline-card > div > div[style*="display: flex"] > div[style*="padding-left: 1.5rem"] {
        padding-left: 1rem !important;
    }
    /* daily-schedule 「体調に合わせた柔軟な対応」見出し */
    .sh-flex-title {
        font-size: 1.5rem !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
        margin-bottom: 1.5rem !important;
    }

    /* voices インタビュー本文：上余白を0に（動画をヘッダー直下に密着） */
    .sh-voices-body {
        padding-top: 0 !important;
    }
    /* voices インタビュー動画：ヘッダー直下にぴったり、左右もカード枠まで全幅 */
    .sh-voices-video-wrap {
        margin-top: 0 !important;
        margin-left: -2rem !important;
        margin-right: -2rem !important;
        margin-bottom: 1.5rem !important;
    }
    .sh-voices-video,
    .sh-voices-video-wrap video,
    .sh-voices-video-wrap img {
        border-radius: 0 !important;
    }

    /* company: 事業所イントロ「2つの事業所で…」を左寄せ */
    .wp-block-smile-hands-company-page > p[style*="text-align: center"][style*="color: #64748b"] {
        text-align: left !important;
    }
    /* smile-hands ブロック共通: gap 1.5rem の 2-col グリッドを1カラムに */
    [class*="wp-block-smile-hands-"] > div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1.5rem"] {
        grid-template-columns: 1fr !important;
    }
    /* company: 写真ギャラリー(3列)を1カラムに */
    .wp-block-smile-hands-company-page > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    /* company: 4つの事業分野カード(2列)を1カラムに */
    .wp-block-smile-hands-company-page div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    /* partnership-flow: STEP カード見出し(バッジ + タイトル) を縦並びに */
    .wp-block-smile-hands-partnership-flow-page div[style*="display: flex"][style*="align-items: center"][style*="margin-bottom: 1rem"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
}

/* support-system スタッフ写真：3枚の比率を揃える（16:9 でクロップ） */
.sh-staff-grid img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ==============================================
   FAQ details/summary アコーディオン
   ============================================== */
body.single .c-entry__content details,
body.page:not(.home):not(.front-page) .c-entry__content details {
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

body.single .c-entry__content details:hover,
body.page:not(.home):not(.front-page) .c-entry__content details:hover {
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
    transform: translateY(-1px);
}

body.single .c-entry__content details[open],
body.page:not(.home):not(.front-page) .c-entry__content details[open] {
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

body.single .c-entry__content details summary,
body.page:not(.home):not(.front-page) .c-entry__content details summary {
    transition: background 0.2s ease;
}

body.single .c-entry__content details summary:hover,
body.page:not(.home):not(.front-page) .c-entry__content details summary:hover {
    background: #f8fafc;
}

body.single .c-entry__content details summary::-webkit-details-marker,
body.page:not(.home):not(.front-page) .c-entry__content details summary::-webkit-details-marker {
    display: none;
}

body.single .c-entry__content details summary::after,
body.page:not(.home):not(.front-page) .c-entry__content details summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
    margin-left: auto;
    transition: transform 0.3s ease;
}

body.single .c-entry__content details[open] summary::after,
body.page:not(.home):not(.front-page) .c-entry__content details[open] summary::after {
    content: "\2212";
    color: #3b82f6;
}

/* ==============================================
   テーブルスタイル
   ============================================== */
body.single .c-entry__content table,
body.page:not(.home):not(.front-page) .c-entry__content table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
}

body.single .c-entry__content table th,
body.page:not(.home):not(.front-page) .c-entry__content table th {
    text-align: left;
}

/* ==============================================
   CTAボタン & カードホバーエフェクト
   ============================================== */
body.single .c-entry__content a[style*="background: #f97316"],
body.single .c-entry__content a[style*="background:#f97316"],
body.page:not(.home):not(.front-page) .c-entry__content a[style*="background: #f97316"],
body.page:not(.home):not(.front-page) .c-entry__content a[style*="background:#f97316"] {
    transition: all 0.3s ease !important;
}

body.single .c-entry__content a[style*="background: #f97316"]:hover,
body.single .c-entry__content a[style*="background:#f97316"]:hover,
body.page:not(.home):not(.front-page) .c-entry__content a[style*="background: #f97316"]:hover,
body.page:not(.home):not(.front-page) .c-entry__content a[style*="background:#f97316"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* カードホバー */
body.single .c-entry__content div[style*="border: 1px solid #dbeafe"],
body.single .c-entry__content div[style*="border: 1px solid #fed7aa"],
body.single .c-entry__content div[style*="border: 1px solid #bbf7d0"],
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #dbeafe"],
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #fed7aa"],
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #bbf7d0"] {
    transition: all 0.3s ease;
}

body.single .c-entry__content div[style*="border: 1px solid #dbeafe"]:hover,
body.single .c-entry__content div[style*="border: 1px solid #fed7aa"]:hover,
body.single .c-entry__content div[style*="border: 1px solid #bbf7d0"]:hover,
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #dbeafe"]:hover,
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #fed7aa"]:hover,
body.page:not(.home):not(.front-page) .c-entry__content div[style*="border: 1px solid #bbf7d0"]:hover {
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.08);
    transform: translateY(-2px);
}

/* ==============================================
   フェードインアニメーション
   ============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.single .c-entry__content > *,
body.page:not(.home):not(.front-page) .c-entry__content > * {
    animation: fadeInUp 0.6s ease forwards;
}

body.single .c-entry__content > *:nth-child(1),
body.page:not(.home):not(.front-page) .c-entry__content > *:nth-child(1) {
    animation-delay: 0.05s;
}

body.single .c-entry__content > *:nth-child(2),
body.page:not(.home):not(.front-page) .c-entry__content > *:nth-child(2) {
    animation-delay: 0.1s;
}

body.single .c-entry__content > *:nth-child(3),
body.page:not(.home):not(.front-page) .c-entry__content > *:nth-child(3) {
    animation-delay: 0.15s;
}

@media (prefers-reduced-motion: no-preference) {
    body.single .c-entry__content > div,
    body.page:not(.home):not(.front-page) .c-entry__content > div {
        opacity: 1;
    }
}

/* ==============================================
   レスポンシブ追加調整 (SP)
   ============================================== */
@media (max-width: 768px) {
    body.single .c-entry__content div[style*="display: flex"],
    body.page:not(.home):not(.front-page) .c-entry__content div[style*="display: flex"] {
        flex-direction: column !important;
    }

    body.single .c-entry__content div[style*="display: grid"],
    body.page:not(.home):not(.front-page) .c-entry__content div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }

    body.single .c-entry__content div[style*="padding: 3rem"],
    body.page:not(.home):not(.front-page) .c-entry__content div[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }

    body.single .c-entry__content div[style*="padding: 2rem"],
    body.page:not(.home):not(.front-page) .c-entry__content div[style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }
}

/* ==============================================
   Snow Monkey Forms プレミアムスタイル
   詳細度を上げてプラグインCSSを確実に上書き
   ============================================== */

/* フォーム全体 */
body.page .c-entry__content .snow-monkey-form {
    font-family: "Zen Maru Gothic", sans-serif !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.06) !important;
}

/* プログレストラッカー */
body.page .snow-monkey-form .smf-progress-tracker {
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2.5rem !important;
    counter-reset: none !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 !important;
    position: relative !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item::before,
body.page .snow-monkey-form .smf-progress-tracker__item::after {
    content: "" !important;
    position: absolute !important;
    top: 18px !important;
    height: 3px !important;
    width: 50% !important;
    background: #dbeafe !important;
    z-index: 0 !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item::before {
    left: 0 !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item::after {
    right: 0 !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item:first-child::before,
body.page .snow-monkey-form .smf-progress-tracker__item:last-child::after {
    display: none !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item__number {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #dbeafe !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__number {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item[aria-current="true"]::before {
    background: linear-gradient(to right, #3b82f6, #1e3a8a) !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item__text {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    margin-top: 0.5rem !important;
    font-weight: 500 !important;
}

body.page .snow-monkey-form .smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text {
    color: #1e3a8a !important;
    font-weight: 700 !important;
}

/* フォーム本体 */
body.page .snow-monkey-form .smf-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* 各フォーム項目 — プラグイン本来のレイアウトを尊重 */
body.page .snow-monkey-form .smf-item {
    border: none !important;
    border-bottom: none !important;
    margin-bottom: 0.5rem !important;
}

/* ラベル列 */
body.page .snow-monkey-form .smf-item__col--label {
    padding: 0.875rem 1rem !important;
    background: transparent !important;
    vertical-align: middle !important;
    border: none !important;
}

/* 入力列 */
body.page .snow-monkey-form .smf-item__col--controls {
    padding: 0.5rem 0 !important;
    vertical-align: middle !important;
    border: none !important;
}

body.page .snow-monkey-form .smf-item__label__text {
    font-weight: 700 !important;
    color: #1e3a8a !important;
    font-size: 0.9375rem !important;
}

/* 必須バッジ */
body.page .snow-monkey-form .smf-item__description {
    display: inline-flex !important;
    align-items: center !important;
    background: linear-gradient(135deg, #f97316, #fb923c) !important;
    color: #fff !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.6rem !important;
    border-radius: 2rem !important;
    line-height: 1.4 !important;
}

/* テキスト入力・メール・電話 */
body.page .snow-monkey-form .smf-text-control__control,
body.page .snow-monkey-form .smf-textarea-control__control {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 0.75rem !important;
    font-family: "Zen Maru Gothic", sans-serif !important;
    font-size: 1rem !important;
    color: #334155 !important;
    background: #f8fafc !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body.page .snow-monkey-form .smf-text-control__control:focus,
body.page .snow-monkey-form .smf-textarea-control__control:focus {
    border-color: #3b82f6 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

body.page .snow-monkey-form .smf-text-control__control::placeholder,
body.page .snow-monkey-form .smf-textarea-control__control::placeholder {
    color: #94a3b8 !important;
}

/* テキストエリア */
body.page .snow-monkey-form .smf-textarea-control__control {
    min-height: 140px !important;
    resize: vertical !important;
}

/* 送信ボタンエリア */
body.page .snow-monkey-form .smf-action {
    margin-top: 2rem !important;
    text-align: center !important;
}

/* ボタン共通 */
body.page .snow-monkey-form .smf-button-control__control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    min-width: 280px !important;
    padding: 1rem 2.5rem !important;
    border: none !important;
    border-radius: 50px !important;
    font-family: "Zen Maru Gothic", sans-serif !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* 確認画面へボタン */
body.page .snow-monkey-form .smf-button-control__control[data-action="confirm"] {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3) !important;
}

body.page .snow-monkey-form .smf-button-control__control[data-action="confirm"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4) !important;
}

/* 送信ボタン */
body.page .snow-monkey-form .smf-button-control__control[data-action="complete"] {
    background: linear-gradient(135deg, #f97316, #fb923c) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

body.page .snow-monkey-form .smf-button-control__control[data-action="complete"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4) !important;
}

/* 戻るボタン */
body.page .snow-monkey-form .smf-button-control__control[data-action="back"] {
    background: #fff !important;
    color: #64748b !important;
    border: 2px solid #e2e8f0 !important;
    min-width: 200px !important;
    padding: 0.75rem 2rem !important;
    font-size: 0.9375rem !important;
}

/* 確認画面のボタンエリア: 横並び */
body.page .snow-monkey-form[data-screen="confirm"] .smf-action {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

body.page .snow-monkey-form[data-screen="confirm"] .smf-action .smf-button-control {
    flex-shrink: 0 !important;
}

body.page .snow-monkey-form .smf-button-control__control[data-action="back"]:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* 送信中スピナー */
body.page .snow-monkey-form .smf-sending {
    display: none !important;
}

/* エラーメッセージ */
body.page .snow-monkey-form .smf-error-messages {
    color: #dc2626 !important;
    font-size: 0.8125rem !important;
    margin-top: 0.375rem !important;
}

/* システムエラー */
body.page .snow-monkey-form .smf-system-error-content-ready {
    display: none !important;
}

body.page .snow-monkey-form .smf-system-error-content {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
    font-size: 0.875rem !important;
}

/* 確認画面のスタイル */
body.page .snow-monkey-form[data-screen="confirm"] .smf-item {
    background: #f0f9ff !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 0.5rem !important;
    border-bottom: none !important;
    border: 1px solid #dbeafe !important;
}

/* 完了画面 */
body.page .snow-monkey-form[data-screen="complete"] {
    text-align: center !important;
    padding: 3rem 1rem !important;
}

body.page .snow-monkey-form[data-screen="complete"] p {
    font-size: 1.125rem !important;
    color: #1e3a8a !important;
    line-height: 2 !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
    body.page .c-entry__content .snow-monkey-form {
        max-width: 100% !important;
        padding: 1.25rem !important;
        border-radius: 0.75rem !important;
    }

    /* お問い合わせページ: wp-block-groupの左右パディング除去 */
    body.page .c-entry__content > .wp-block-group {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    /* SP時は縦積み */
    body.page .snow-monkey-form .smf-item,
    body.page .snow-monkey-form .smf-item__col--label,
    body.page .snow-monkey-form .smf-item__col--controls {
        display: block !important;
        width: 100% !important;
    }

    body.page .snow-monkey-form .smf-item__col--label {
        padding: 0.625rem 0 0.25rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    body.page .snow-monkey-form .smf-item__col--controls {
        padding: 0.25rem 0 0.625rem !important;
    }

    body.page .snow-monkey-form .smf-button-control__control {
        min-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 確認画面: 戻る・送信ボタンを横並び・同幅 */
    body.page .snow-monkey-form[data-screen="confirm"] .smf-action {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
    }

    body.page .snow-monkey-form[data-screen="confirm"] .smf-action .smf-button-control {
        flex: 1 !important;
    }

    body.page .snow-monkey-form[data-screen="confirm"] .smf-action .smf-button-control__control {
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page .snow-monkey-form .smf-progress-tracker__item__text {
        font-size: 0.6875rem !important;
    }

    body.page .snow-monkey-form .smf-progress-tracker__item__number {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8125rem !important;
    }
}

/* ==============================================
   ドロワーメニュー: テーマカラーに合わせた背景
   ============================================== */
.p-drawer {
    background-color: rgba(30, 58, 138, 0.95) !important;
}

.p-drawer__inner {
    background-color: transparent !important;
}

.p-drawer__body {
    background-color: transparent !important;
}

.c-drawerNav__a {
    color: #ffffff !important;
}

.c-drawerNav__a:hover {
    color: #93c5fd !important;
}

.c-drawerNav__a .__subText {
    color: #93c5fd !important;
}

.p-drawer__close {
    color: #ffffff !important;
}

/* ==============================================
   プライバシーポリシー: h2余白調整
   ============================================== */
body.page-id-3 .c-entry__content h2 {
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.4rem !important;
    padding-bottom: 0.5rem !important;
}

body.page-id-3 .c-entry__content h2:first-of-type {
    margin-top: 0 !important;
}

/* ==============================================
   400px以下: お問い合わせ説明文はみ出し対策
   ============================================== */
@media (max-width: 400px) {
    .contact-intro-text {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
    }
}

/* ==============================================
   印刷時
   ============================================== */
@media print {
    body.single .l-main__body,
    body.page:not(.home):not(.front-page) .l-main__body {
        box-shadow: none;
        border: none;
    }

    body.single .c-entry__content details,
    body.page:not(.home):not(.front-page) .c-entry__content details {
        display: block !important;
    }

    body.single .c-entry__content details[open] summary::after,
    body.page:not(.home):not(.front-page) .c-entry__content details[open] summary::after {
        display: none;
    }
}

/* ==============================================
   トップページ: about-heroセクション下部のボタン重なり防止
   ============================================== */
.wp-block-hands-about-hero {
    overflow: visible !important;
    padding-bottom: 4rem !important;
    position: relative;
    z-index: 1;
}

/* モバイル時、上余白を0に（動画ヒーロー直後を密着させる） */
@media (max-width: 480px) {
    .wp-block-hands-about-hero,
    section.wp-block-hands-about-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

.hands-section-link {
    position: relative;
    z-index: 10;
    padding-bottom: 2rem !important;
}

/* ==============================================
   投稿・固定ページ: 画像のボーダーラジアス
   ============================================== */
body.single .c-entry__content img,
body.page:not(.home):not(.front-page) .c-entry__content img {
    border-radius: 0.75rem;
}

body.single .c-entry__content .wp-block-image,
body.page:not(.home):not(.front-page) .c-entry__content .wp-block-image {
    overflow: hidden;
    border-radius: 0.75rem;
}

body.single .c-entry__content figure.wp-block-image,
body.page:not(.home):not(.front-page) .c-entry__content figure.wp-block-image {
    border-radius: 0.75rem;
    overflow: hidden;
}

/* ==============================================
   Cloudflare Turnstile センタリング
   ============================================== */
/* 送信完了画面: Turnstile・チェックテキスト・エラー文を非表示 */
form.snow-monkey-form[data-screen="complete"] div[class*="snow-monkey-forms-turnstile"],
.snow-monkey-form[data-screen="complete"] .snow-monkey-forms-turnstile,
[data-screen="complete"] div[class*="turnstile"],
[data-screen="complete"] .smf-system-error-content-ready {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Turnstileウィジェットとチェックテキスト */
form.snow-monkey-form > div[class*="snow-monkey-forms-turnstile"],
form.snow-monkey-form > .snow-monkey-forms-turnstile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 1.5rem 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

form.snow-monkey-form > div[class*="snow-monkey-forms-turnstile"] > *,
form.snow-monkey-form > .snow-monkey-forms-turnstile > * {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
}

form.snow-monkey-form > div[class*="snow-monkey-forms-turnstile"] iframe {
    max-width: 100% !important;
    transform-origin: center top !important;
}

@media (max-width: 360px) {
    form.snow-monkey-form > div[class*="snow-monkey-forms-turnstile"] iframe {
        transform: scale(0.85) !important;
    }
}

/* 「チェックを入れてお進みください」テキスト */
form.snow-monkey-form > p,
form.snow-monkey-form > div:last-of-type {
    text-align: center !important;
}

/* smf-action（確認ボタン）センタリング */
form.snow-monkey-form .smf-action {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

/* ==============================================
   ヒーローセクション glass-box 上書き
   ============================================== */

.glass-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 249, 255, 0.88) 100%) !important;
    backdrop-filter: blur(16px) !important;
    padding: 2rem 2rem 1.75rem !important;
    border-radius: 4px !important;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    border-left: 4px solid #f97316 !important;
    max-width: 26rem !important;
    position: relative;
    overflow: hidden;
}

.glass-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.glass-box .box-header {
    font-size: 0.75rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1) !important;
}

.glass-box .box-header .icon-sun {
    font-size: 0.875rem !important;
}

.glass-box .box-content {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.25rem !important;
}

.glass-box .box-content .highlight-blue {
    background: linear-gradient(transparent 60%, #bfdbfe 60%) !important;
    background-color: transparent !important;
    color: #1e3a8a !important;
    padding: 0 2px !important;
    font-weight: 700 !important;
}

.glass-box .btn-area {
    gap: 0.5rem !important;
    padding-top: 0.25rem !important;
}

.glass-box .btn-area .cta-button {
    padding: 1rem 1.5rem !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    box-shadow:
        0 4px 6px -1px rgba(249, 115, 22, 0.25),
        0 10px 15px -3px rgba(249, 115, 22, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.glass-box .btn-area .cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.glass-box .btn-area .cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 8px 10px -2px rgba(249, 115, 22, 0.3),
        0 16px 24px -4px rgba(249, 115, 22, 0.2) !important;
}

.glass-box .btn-area .cta-button:active {
    transform: translateY(0) !important;
}

.glass-box .btn-area .cta-button .cta-arrow {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-box .btn-area .cta-button:hover .cta-arrow {
    transform: translateX(4px) !important;
}

.glass-box .btn-area .btn-note {
    font-size: 0.6875rem !important;
    color: #94a3b8 !important;
    letter-spacing: 0.02em !important;
}

/* ==============================================
   支援体制ページ (support-system) - ブロックエディタ版
   ============================================== */

/* Hero */
.sh-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border-radius: 1rem !important;
    padding: 3rem 2rem !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
}
.sh-hero .sh-hero__label {
    color: #93c5fd !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 0.5rem 0 !important;
}
.sh-hero .sh-hero__title {
    color: #ffffff !important;
    font-size: 1.75rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    font-weight: 700 !important;
}

/* FEATURE カード共通 */
.sh-feature {
    border-radius: 1rem !important;
    margin: 2rem 0 !important;
    overflow: hidden !important;
}
.sh-feature.sh-feature--blue {
    border: 2px solid #3b82f6 !important;
    background: linear-gradient(to right, #f0f9ff, #ffffff) !important;
}
.sh-feature.sh-feature--orange {
    border: 2px solid #f97316 !important;
    background: linear-gradient(to right, #fff7ed, #ffffff) !important;
}
.sh-feature .sh-feature__header {
    padding: 1rem 1.5rem !important;
}
.sh-feature.sh-feature--blue .sh-feature__header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
}
.sh-feature.sh-feature--orange .sh-feature__header {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
}
.sh-feature .sh-feature__label {
    color: #93c5fd !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.1em !important;
    margin: 0 !important;
}
.sh-feature.sh-feature--orange .sh-feature__label {
    color: #fed7aa !important;
}
.sh-feature .sh-feature__title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    margin: 0.25rem 0 0 0 !important;
}
.sh-feature .sh-feature__body {
    padding: 2rem !important;
}
.sh-feature .sh-feature__body p {
    color: #334155 !important;
    line-height: 1.9 !important;
}
.sh-feature .sh-feature__body h4 {
    color: #1e3a8a !important;
    margin-bottom: 0.8rem !important;
}

/* 就労先リスト（Feature 01） */
.sh-list-card {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 0.75rem !important;
}
.sh-list-card li {
    background: #ffffff !important;
    padding: 0.75rem 1rem 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #dbeafe !important;
    color: #334155 !important;
    position: relative !important;
}
.sh-list-card li::before {
    content: "●" !important;
    color: #3b82f6 !important;
    position: absolute !important;
    left: 0.75rem !important;
}

/* 環境カード（Feature 03） */
.sh-place-card {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 0.75rem !important;
    padding: 1.25rem !important;
    margin-bottom: 1rem !important;
}
.sh-place-card h4 {
    margin: 0 0 0.5rem 0 !important;
    color: #1e3a8a !important;
}
.sh-place-card p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
}

/* 適性テーブル（Feature 04） */
.sh-aptitude-table table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.sh-aptitude-table thead th {
    background: #ea580c !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    text-align: left !important;
    font-weight: 600 !important;
}
.sh-aptitude-table tbody tr {
    border-bottom: 1px solid #fed7aa !important;
}
.sh-aptitude-table tbody td {
    padding: 0.75rem 1rem !important;
    background: #ffffff !important;
    color: #334155 !important;
}

/* タグリスト（Feature 05） */
.sh-tags {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}
.sh-tags li {
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    color: #1e3a8a !important;
    font-size: 0.875rem !important;
}

/* 経営基盤 */
.sh-foundation {
    background: #f0f9ff !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin: 2rem 0 !important;
}
.sh-foundation h3 {
    color: #1e3a8a !important;
    margin-top: 0 !important;
}
.sh-emphasis-box {
    background: #ffffff !important;
    border-left: 4px solid #f97316 !important;
    padding: 1.5rem !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
    margin-bottom: 1.5rem !important;
}
.sh-arrow-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 0.5rem !important;
}
.sh-arrow-list li {
    color: #334155 !important;
    padding-left: 1.5rem !important;
    position: relative !important;
}
.sh-arrow-list li::before {
    content: "→" !important;
    color: #f97316 !important;
    position: absolute !important;
    left: 0 !important;
}

/* 支援実績テーブル */
.sh-stats table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border: 1px solid #dbeafe !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
}
.sh-stats tr {
    border-bottom: 1px solid #e2e8f0 !important;
}
.sh-stats tr:last-child {
    border-bottom: none !important;
}
.sh-stats th {
    background: #f0f9ff !important;
    padding: 1rem 1.5rem !important;
    text-align: left !important;
    color: #1e3a8a !important;
    font-weight: 600 !important;
    width: 40% !important;
}
.sh-stats td {
    padding: 1rem 1.5rem !important;
    color: #334155 !important;
}

/* CTA */
.sh-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    border-radius: 1rem !important;
    padding: 3rem !important;
    text-align: center !important;
}
.sh-cta__title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}
.sh-cta__text {
    color: #93c5fd !important;
    margin-bottom: 1.5rem !important;
}
.sh-cta .wp-block-button__link {
    background: #f97316 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 1rem 3rem !important;
    border-radius: 0.5rem !important;
    font-size: 1.125rem !important;
}
.sh-cta__note {
    color: #93c5fd !important;
    font-size: 0.875rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* 共通：3カラム画像グリッド */
.sh-image-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}
@media (max-width: 600px) {
    .sh-image-grid {
        grid-template-columns: 1fr !important;
    }
    .sh-feature .sh-feature__body {
        padding: 1.5rem !important;
    }
}

/* about-a-type 特徴カード：本文＋画像 1カラム積み（PC・モバイル共通） */
.sh-feature-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 0.5rem !important;
}
.sh-feature-grid img {
    width: 100% !important;
    height: auto !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1) !important;
    display: block !important;
}

/* バッジ＋タイトルはモバイルでは縦積み（pill 形は維持） */
@media (max-width: 900px) {
    .sh-feature-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    .sh-feature-card-badge {
        align-self: flex-start !important;
    }
}

/* ==========================================================
   hands-article カード: 提示デザインに寄せた上書き
   （hands-article / hands-blocks の article 両プラグインに勝つよう詳細度↑）
   ========================================================== */
html body .hands-article-section .hands-article-card.hands-article-card {
    background: #ffffff !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;
}
html body .hands-article-section .hands-article-card.hands-article-card:hover {
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.22) !important;
    transform: translateY(-6px) !important;
}
html body .hands-article-section .hands-article-image.hands-article-image {
    aspect-ratio: 4 / 3 !important;
    background-color: #e2e8f0 !important;
    overflow: hidden !important;
}
html body .hands-article-section .hands-article-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
html body .hands-article-section .hands-article-body.hands-article-body {
    padding: 1.75rem 1.5rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.875rem !important;
}
html body .hands-article-section .hands-article-date.hands-article-date {
    color: #94a3b8 !important;
    font-family: 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
}
html body .hands-article-section .hands-article-card-title.hands-article-card-title {
    color: #1e293b !important;
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    letter-spacing: 0.01em !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

