@charset "utf-8";
/*
Theme Name: トヨハシサッシサービス
Description: トヨハシサッシサービス株式会社 公式サイト用テーマ。紺・水色を基調に、信頼感と現代的な動きを両立させたデザイン。
Author: 
Version: 1.0.0
*/

/* 要確認マーカー（公開前に必ず差し替え／削除する） */
.rc-todo { color: #e0245e; font-weight: 700; }
.rc-todo::before { content: "【要確認】"; font-size: 0.85em; }

/* =================================================================
   1. VARIABLES（変数管理）
   ※リセットは destyle.css に依存。ここではブランドの土台のみ定義。
   ================================================================= */
:root {

    /* --- カラーパレット（紺・水色ベース＋オレンジのアクセント） --- */
    --c-primary:        #044099;  /* メイン：深い紺ブルー */
    --c-primary-dark:   #06317a;  /* 紺の濃いめ（グラデ・背景用） */
    --c-secondary:      #029AF7;  /* サブ：明るい水色 */
    --c-accent:         #F79102;  /* アクセント：オレンジ（CTA・求人） */
    --c-accent-strong:  #FF5E00;  /* オレンジ濃いめ（グラデ終点） */
    --c-line:           #00B900;  /* LINEグリーン */

    --c-bg-body:        #ffffff;  /* 背景：白 */
    --c-bg-light:       #f5f7fa;  /* 薄いグレー背景（セクション交互用） */

    --c-text:           #333333;  /* メインテキスト */
    --c-text-light:     #6b7280;  /* 補助テキスト */
    --c-border:         #e2e8f0;  /* ボーダー */
    --c-white:          #ffffff;

    /* --- フォント（役割分け） --- */
    --font-zen:      "Zen Kaku Gothic New", sans-serif; /* 見出し */
    --font-jp-sans:  "Noto Sans JP", sans-serif;        /* 本文 */
    --font-jp-min:   "Noto Serif JP", serif;            /* 信頼演出（沿革・代表挨拶） */
    --font-en:       "Montserrat", sans-serif;          /* 数字・英字 */
    --font-ud:       "BIZ UDPGothic", sans-serif;       /* 介護系ページの本文（可読性重視） */

    --font-base: var(--font-jp-sans);

    /* --- レイアウト --- */
    --header-height: 80px;
    --inner-width:   1100px;
    --space-section: 100px;

    /* --- その他 --- */
    --radius:       8px;
    --radius-lg:    16px;
    --radius-pill:  40px;
    --shadow-card:  0 5px 20px rgba(4, 64, 153, 0.06);
    --shadow-hover: 0 16px 34px rgba(4, 64, 153, 0.15);
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   2. BASE（土台）
   ================================================================= */
* { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--c-text);
    background-color: var(--c-bg-body);
    line-height: 1.85;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s var(--ease);
}
a:hover { opacity: 0.75; }

img, video, iframe {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn svg + *,
.btn > span { white-space: nowrap; }
#wrapper { padding-top: var(--header-offset, 160px); }
/* 動きを抑える設定のユーザーへ配慮 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}

/* =================================================================
   3. TYPOGRAPHY（タイポグラフィ）
   ================================================================= */
h1, h2, h3, h4 {
    font-family: var(--font-zen);
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.45;
    margin-bottom: 0.7em;
}
h1 { font-weight: 900; }

p { margin-bottom: 1.6em; }
p:last-child { margin-bottom: 0; }

/* 役割別フォントユーティリティ */
.font-serif { font-family: var(--font-jp-min); font-weight: 700; }  /* 信頼演出（明朝） */
.font-en    { font-family: var(--font-en);     font-weight: 700; }  /* 数字・英字 */
.font-ud    { font-family: var(--font-ud); }                        /* 介護系の本文 */

/* 英字の小見出し（SERVICE / RECRUIT など） */
.eyebrow {
    font-family: var(--font-en);
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-secondary);
    font-size: 0.9rem;
}

/* 数字（実績カウントアップ・電話番号など） */
.num {
    font-family: var(--font-en);
    font-weight: 900;
    color: var(--c-primary);
    line-height: 1;
}
.num .unit {
    font-family: var(--font-jp-sans);
    font-weight: 700;
    color: var(--c-secondary);
    margin-left: 2px;
}
/* =================================================================
   4. LAYOUT（レイアウト部品）
   ================================================================= */
.inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 24px;
}
.inner-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.section { padding: var(--space-section) 0; }
.section-light { background-color: var(--c-bg-light); }

/* セクション見出し（中央・水色のアクセントバー） */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-family: var(--font-zen);
    font-weight: 700;
    color: var(--c-primary);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--c-secondary);
}
.section-lead {
    margin-top: 22px;
    color: var(--c-text-light);
    font-size: 1rem;
}

/* =================================================================
   5. BUTTONS（ボタン）
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: var(--radius-pill);
    font-family: var(--font-jp-sans);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    cursor: pointer;
    border: none;
    transition: 0.3s var(--ease);
}
.btn:hover { opacity: 1; transform: translateY(-3px); }

/* 紺：標準アクション */
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-primary-dark); box-shadow: var(--shadow-hover); }

/* オレンジ：CTA・求人など最優先の誘導 */
.btn-accent {
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-strong));
    color: var(--c-white);
}
.btn-accent:hover { box-shadow: 0 12px 26px rgba(247, 145, 2, 0.35); }

/* LINE */
.btn-line { background: var(--c-line); color: var(--c-white); }
.btn-line:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2); }

/* 枠線（サブ） */
.btn-outline {
    background: transparent;
    color: var(--c-secondary);
    border: 2px solid var(--c-secondary);
    padding: 13px 38px;
}
.btn-outline:hover { background: var(--c-secondary); color: var(--c-white); }
.subsidy-cta i{margin-top: 3px;}
/* =================================================================
   6. UTILITIES（汎用クラス）
   ================================================================= */
/* PCのみ表示（.pc）／スマホのみ表示（.sp） */
.sp { display: none; }

.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.bg-primary  { background: var(--c-primary); color: var(--c-white); }

.mt-0 { margin-top: 0; }   .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; } .mb-3 { margin-bottom: 3rem; }

/* =================================================================
   7. COMPONENTS（共通コンポーネントは各テンプレート実装時に追記）
   - header-top.php / header.php → ヘッダー・グローバルナビ・求人バー
   - front-page.php             → ヒーロー(slick)・実績・サービス・求人ブロック
   - footer.php                 → フッター・フローティングメニュー
   - archive.php / single.php   → 豆知識一覧・記事詳細
   ================================================================= */

/* ---------------------------------------------------------------
   COMPONENT: ヘッダー（header-top.php / header.php 共通）
   --------------------------------------------------------------- */
#wrapper { padding-top: var(--header-offset, 80px); }

.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--c-white); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.ht-contact svg{
width: 22px;
    margin-right: 3px;
}
/* 上部バー（営業時間・電話・お問い合わせ） */
.header-top { background: var(--c-primary); color: var(--c-white); font-size: 0.8rem; font-weight: 600;}
.header-top .inner { display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding: 6px 24px; }
.header-top a { color: var(--c-white); font-weight: 700; }
.header-top a:hover { opacity: 0.85; }
.header-top .ht-tel { font-family: var(--font-en); letter-spacing: 0.03em; }
.header-top .ht-contact { background: var(--c-accent); padding: 4px 14px; border-radius: 4px; }

/* メイン（ロゴ・ナビ・ハンバーガー） */
.header-main .inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; transition: padding 0.3s var(--ease); }
.site-header.scrolled .header-main .inner { padding: 8px 24px; }
.site-logo { margin: 0; }
.site-logo img { height: 48px; width: auto; transition: height 0.3s var(--ease); }
.site-header.scrolled .site-logo img { height: 38px; }

/* グローバルナビ */
.global-nav ul { display: flex; gap: 22px; align-items: center; }
.global-nav a { font-family: var(--font-zen); font-weight: 500; font-size: 0.95rem; color: var(--c-text); padding: 8px 0; position: relative; }
.global-nav a:hover { opacity: 1; }
.global-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--c-secondary); transition: width 0.3s var(--ease); }
.global-nav a:hover::after { width: 100%; }

/* 常時表示の求人バー */
.recruit-bar { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-strong)); color: var(--c-white); }
.recruit-bar .inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 7px 24px; flex-wrap: wrap; }
.recruit-bar .rb-text { font-weight: 700; font-size: 0.9rem; }
.recruit-bar .rb-text .tag { background: var(--c-white); color: var(--c-accent-strong); font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.recruit-bar .rb-btn { background: var(--c-white); color: var(--c-accent-strong); font-weight: 700; font-size: 0.8rem; padding: 5px 18px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 6px; }
.recruit-bar .rb-btn:hover { opacity: 1; }
.recruit-bar .rb-btn i { transition: transform 0.3s var(--ease); margin-top: 3px;}
.recruit-bar .rb-btn:hover i { transform: translateX(4px); }

/* ハンバーガー */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 28px; height: 3px; background: var(--c-primary); border-radius: 2px; transition: 0.3s; }

/* スマホ用スライドナビ */
.sp-nav { position: fixed; top: 0; right: -100%; width: 84%; max-width: 340px; height: 100vh; background: var(--c-primary); color: var(--c-white); z-index: 1100; transition: right 0.4s var(--ease); overflow-y: auto; padding: 76px 28px 160px; }
.sp-nav.active { right: 0; }
.sp-nav .js-nav-close { position: absolute; top: 22px; right: 22px; font-size: 26px; line-height: 1; color: var(--c-white); background: none; border: none; cursor: pointer; }
.sp-nav ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.sp-nav ul li a { display: block; padding: 15px 4px; font-family: var(--font-zen); font-weight: 500; }
.sp-nav ul li a:hover { opacity: 0.8; }
.sp-nav .spn-cta { margin-top: 24px; display: grid; gap: 12px; }
.sp-nav .spn-cta .btn { width: 100%; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 1050; opacity: 0; visibility: hidden; transition: 0.4s; }
.nav-overlay.active { opacity: 1; visibility: visible; }
.sp-nav ul{border-top: 1px solid rgba(255, 255, 255, 0.15);}

/* 下層ページ パンくず（Breadcrumb NavXT） */
.breadcrumb { background: var(--c-bg-light); font-size: 0.8rem; color: var(--c-text-light); }
.breadcrumb .inner { padding: 12px 24px; }
.breadcrumb a:hover { color: var(--c-secondary); opacity: 1; }

/* ヘッダー レスポンシブ（992px以下でナビを格納） */
@media (max-width: 992px) {
    .header-top { display: none; }
    .global-nav { display: none; }
    .hamburger { display: flex; }
    .header-main .inner { padding: 12px 20px; }
    .site-logo img {height: auto;
        width: 267px;
        padding: 1.9845px 0;}
}

/* ---------------------------------------------------------------
   COMPONENT: フロントページ ヒーロー（front-page.php / Slick）
   --------------------------------------------------------------- */
.hero { position: relative; width: 100%; height: calc(100vh - var(--header-offset, 160px)); min-height: 540px; overflow: hidden; background: var(--c-primary-dark); }
.js-hero-slider, .js-hero-slider .slick-list, .js-hero-slider .slick-track { height: 100%; }
.hero-slide { position: relative; overflow: hidden;}

/* 初期化前のちらつき防止 */
.js-hero-slider:not(.slick-initialized) .hero-slide { display: none; }
.js-hero-slider:not(.slick-initialized) .hero-slide:first-child { display: block; }

/* 背景画像＋Ken Burns */
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1); }
.slick-active .slide-bg { animation: heroKenburns 7s ease-out forwards; }
@keyframes heroKenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
/* スライドごとの写真の位置（a=スタッフ集合 PC/SP別画像、c=ガラス運び） */
.slide-bg.a { background-position: center 72%; transform-origin: 50% 62%; }
.slide-bg.c { background-position: center 30%; }
.hero-slide.is-staff .hero-overlay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 49, 122, 0.55), transparent 50%); }
/* 1枚目は人物が下側にいるので、文字を上に寄せて顔にかからないようにする */
@media (min-width: 769px) {
    .hero-slide.is-staff .hero-copy { align-items: flex-start; padding-top: 5vh; }
    .hero-slide.is-staff .hero-sub { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .slide-bg.a { background-image: var(--bg-sp) !important; background-position: center; transform-origin: 50% 43%; }
    .slide-bg.c { background-position: 64% center; }
    .hero-slide.is-staff .hero-copy { align-items: flex-start; padding-top: 48px; }
    .hero-slide.is-staff .hero-copy .inner { padding-bottom: 0; }
    .hero-slide.is-staff .hero-catch { margin-bottom: 10px; }
    /* 2・3枚目は顔が上にあるので、文字をボタンの上まで下げる */
    .hero-slide:not(.is-staff) .hero-copy { align-items: flex-end; }
    .hero-slide:not(.is-staff) .hero-copy .inner { padding-bottom: 180px; }
    .hero-slide:not(.is-staff) .hero-sub { margin-bottom: 0; }
}

/* オーバーレイ（可読性確保） */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 64, 153, 0.82) 0%, rgba(4, 64, 153, 0.45) 45%, rgba(4, 49, 122, 0.22) 100%); }
.hero-overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 42%); }

/* コピー */
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.hero-copy .inner { width: 100%; }
.hero-eyebrow { font-family: var(--font-en); font-weight: 900; letter-spacing: 0.22em; font-size: 0.95rem; color: #fff; opacity: 0.92; margin-bottom: 18px; display: inline-block; padding-left: 46px; position: relative; }
.hero-eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 34px; height: 2px; background: var(--c-accent); }
.hero-catch { font-family: var(--font-zen); font-weight: 900; color: #fff; font-size: clamp(1.5rem, 4.2vw, 3.2rem); line-height: 1.4; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); margin-bottom: 20px; }
.hero-sub { color: #fff; font-size: clamp(0.95rem, 1.6vw, 1.15rem); max-width: 640px; margin-bottom: 32px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); font-weight: 600;}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* 白フチのゴーストボタン（画像上用） */
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border: 2px solid rgba(255, 255, 255, 0.75); padding: 13px 30px; }
.btn-ghost:hover { background: #fff; color: var(--c-primary); opacity: 1; }

/* アクティブスライドのコピーをアニメーション表示 */
.hero-copy .inner > * { opacity: 0; transform: translateY(34px); }
.slick-active .hero-copy .inner > * { animation: heroUp 0.9s var(--ease) forwards; }
.slick-active .hero-copy .inner > *:nth-child(1) { animation-delay: 0.25s; }
.slick-active .hero-copy .inner > *:nth-child(2) { animation-delay: 0.40s; }
.slick-active .hero-copy .inner > *:nth-child(3) { animation-delay: 0.55s; }
.slick-active .hero-copy .inner > *:nth-child(4) { animation-delay: 0.70s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* スライド番号カウンター */
.hero-counter { position: absolute; right: 40px; bottom: 44px; z-index: 4; color: #fff; font-family: var(--font-en); font-weight: 700; letter-spacing: 0.08em; }
.hero-counter .current { font-size: 1.5rem; }
.hero-counter .sep, .hero-counter .total { opacity: 0.6; margin-left: 4px; }
/* スライド連動しない固定CTA */
.hero-cta-fixed {
position: absolute;
    left: 50%;
    transform: translateX(-57%);
    bottom: 130px;
    z-index: 4;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
/* ドット */
.hero-dots { position: absolute; left: 0; right: 0; bottom:60px; z-index: 4; }
.hero-dots .slick-dots { display: flex; gap: 10px; padding: 0; margin: 0; }
.hero-dots .slick-dots li { list-style: none; line-height: 0; }
.hero-dots .slick-dots li button { width: 36px; height: 3px; padding: 0; border: none; background: rgba(255, 255, 255, 0.4); text-indent: -9999px; overflow: hidden; cursor: pointer; transition: 0.3s var(--ease); }
.hero-dots .slick-dots li.slick-active button { background: var(--c-accent); width: 54px; }

/* スクロールキュー */
.hero-scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: 28px; z-index: 4; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.2em; }
.hero-scroll:hover { opacity: 1; }
.hero-scroll .line { width: 1px; height: 46px; background: rgba(255, 255, 255, 0.5); position: relative; overflow: hidden; }
.hero-scroll .line::after { content: ''; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--c-accent); animation: heroScrollLine 2s ease-in-out infinite; }
@keyframes heroScrollLine { 0% { top: -46px; } 60%, 100% { top: 46px; } }

/* ヒーロー直下のクイックアクセス（重ねて配置） */
.quick-access { position: relative; z-index: 5; margin-top: -46px; }
.quick-access ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.quick-access li { background: var(--c-white); }
.quick-access a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 10px; text-align: center; transition: 0.3s var(--ease); }
.quick-access a i { font-size: 1.7rem; color: var(--c-secondary); transition: 0.3s; }
.quick-access a span { font-family: var(--font-zen); font-weight: 700; font-size: 0.95rem; color: var(--c-primary); }
.quick-access a:hover { background: var(--c-primary); opacity: 1; }
.quick-access a:hover i, .quick-access a:hover span { color: #fff; }

/* ヒーロー レスポンシブ */
@media (max-width: 768px) {
    .hero, .hero-slide { height: 82vh; min-height: 460px; }
    .hero-counter { right: 20px; bottom:48px; }
    .hero-counter .current { font-size: 1.2rem; }
    .hero-dots { bottom: 60px; }
    .hero-scroll { display: none; }
    .hero-cta .btn { padding: 12px 22px; font-size:14px;
        width: 48.5%;}
    .quick-access { margin-top: -30px; }
    .quick-access ul { grid-template-columns: repeat(2, 1fr); }
    .quick-access a { padding: 20px 8px; }
.hero-copy .inner{ padding-bottom:18%; }
.hero-eyebrow::before{ top:12px; }
}

/* 動きを抑える設定への配慮（ヒーロー） */
@media (prefers-reduced-motion: reduce) {
    .hero-copy .inner > * { opacity: 1 !important; transform: none !important; }
    .slide-bg { animation: none !important; }
    .hero-scroll .line::after { animation: none !important; }
	.hero-cta-fixed { bottom: 120px; width: 90%; }
    .hero-cta-fixed .btn { flex: 1; min-width: 0; justify-content: center; padding: 12px 14px; font-size: 0.85rem; }
}
}
/* 【NEW】見出しの大型ウォーターマーク（各 .section-header に <span class="sh-wm"> を追加） */
.section-header { position: relative; z-index: 0; }
.section-header .sh-wm {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%);
	font-family: var(--font-en); font-weight: 900; line-height: 1; white-space: nowrap;
	font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: 0.06em;
	color: var(--c-primary); opacity: 0.05; z-index: -1; pointer-events: none;
}
.recruit-block .section-header .sh-wm { color: #fff; opacity: 0.10; }
 
/* 01. 見出しの大型ウォーターマーク（各 .section-header の <span class="sh-wm">） */
.section-header { position: relative; z-index: 0; }
.section-header .sh-wm {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%);
	font-family: var(--font-en); font-weight: 900; line-height: 1; white-space: nowrap;
	font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: 0.06em;
	color: var(--c-primary); opacity: 0.05; z-index: -1; pointer-events: none;
}
.recruit-block .section-header .sh-wm { color: #fff; opacity: 0.10; }
 
/* 02. クイックアクセス（SVGアイコン） */
.quick-access a svg { width: 30px; height: 30px; color: var(--c-secondary); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.quick-access a:hover svg { color: #fff; transform: translateY(-3px); }
 
/* 03. イントロ */
.intro { text-align: center; padding-bottom: calc(var(--space-section) * 0.5); }
.intro .intro-catch { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.5; margin: 14px 0 18px; }
.intro .intro-catch .hl { color: var(--c-secondary); }
.intro .intro-lead { color: var(--c-text-light); max-width: 760px; margin: 0 auto; }
/* 03b. 窓リノベ補助金バナー（エンブレム型） */
.subsidy { padding-bottom: 10px; }
.subsidy-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; background: linear-gradient(120deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, #0a57c4 100%); border-radius: 22px; padding: 40px 48px; color: #fff; overflow: hidden; box-shadow: 0 20px 45px rgba(4, 64, 153, 0.30); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); margin: 50px auto 40px;
    max-width: 800px; }
.subsidy-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(4, 64, 153, 0.40); opacity: 1; }
.subsidy-card::before, .subsidy-card::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.subsidy-card::before { width: 260px; height: 260px; top: -120px; right: -50px; background: rgba(255, 255, 255, 0.10); }
.subsidy-card::after { width: 180px; height: 180px; bottom: -100px; left: 30%; background: rgba(255, 255, 255, 0.06); }
.subsidy-badge { position: absolute; top: 0; left: 34px; z-index: 2; background: var(--c-accent); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; padding: 6px 15px 8px; border-radius: 0 0 8px 8px; }
.subsidy-body { position: relative; z-index: 1; }
.subsidy-eyebrow { font-family: var(--font-en); font-weight: 900; letter-spacing: 0.04em; font-size: 0.78rem; color: #bcd6ff; margin: 0 0 8px; }
.subsidy-title { font-family: var(--font-zen); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #fff; line-height: 1.25; margin: 0 0 8px; }
.subsidy-sub { font-size: 0.95rem; color: #e8f1ff; opacity: 0.95; margin: 0 0 16px; }
.subsidy-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; margin: 0 auto 20px; width: fit-content; }
.subsidy-chips span { background: rgba(255, 255, 255, 0.16); color: #fff; font-family: var(--font-zen); font-weight: 500; font-size: 0.78rem; padding: 4px 14px; border-radius: 30px; }
.subsidy-cta { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: var(--c-primary); font-family: var(--font-zen); font-weight: 700; font-size: 0.95rem; padding: 12px 28px; border-radius: var(--radius-pill); transition: 0.3s var(--ease); }
.subsidy-cta i { transition: transform 0.3s var(--ease); }
.subsidy-card:hover .subsidy-cta { background: var(--c-accent); color: #fff; }
.subsidy-card:hover .subsidy-cta i { transform: translateX(4px); }
.subsidy-seal { position: relative; z-index: 1; width: 158px; height: 158px; flex: none; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.subsidy-seal::before { content: ''; position: absolute; inset: 9px; border: 2px dashed var(--c-accent); border-radius: 50%; }
.seal-max { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.85rem; }
.seal-num { font-family: var(--font-en); font-weight: 900; color: var(--c-accent-strong); font-size: 3rem; line-height: 1; display: flex; align-items: baseline; }
.seal-unit { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1rem; margin-left: 2px; }
.seal-sub { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.78rem; margin-top: 2px; }
/* スマホ対応：縦積み＋エンブレムを上に */
@media (max-width: 768px) {
	.subsidy-card { grid-template-columns: 1fr; gap: 24px; padding: 44px 24px 30px; text-align: center; justify-items: center; }
	.subsidy-body { display: flex; flex-direction: column; align-items: center; }
	.subsidy-chips { justify-content: center; }
	.subsidy-seal { order: -1; width: 140px; height: 140px; }
	.seal-num { font-size: 2.6rem; }
}
/* 04. 選ばれる3つの理由 */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 46px 30px; text-align: center; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.reason-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--c-secondary), var(--c-primary)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.reason-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.reason-card:hover::before { transform: scaleX(1); }
.reason-num { position: absolute; top: 16px; right: 22px; font-family: var(--font-en); font-weight: 900; font-size: 2.6rem; color: var(--c-bg-light); line-height: 1; }
.reason-icon { width: 82px; height: 82px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-bg-light); color: var(--c-secondary); transition: background 0.35s var(--ease), color 0.35s var(--ease); }
.reason-card:hover .reason-icon { background: linear-gradient(135deg, var(--c-secondary), var(--c-primary)); color: #fff; }
.reason-icon svg { width: 42px; height: 42px; }
.reason-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.reason-card p { font-size: 0.92rem; color: var(--c-text-light); text-align: left; }
@media (max-width: 768px) { .reasons-grid { grid-template-columns: 1fr; gap: 16px; } .reason-card p { text-align: center; } }
 
/* 05. 実績の数字（背景画像バンド＋3項目） */
.stats-band { position: relative; background-color: var(--c-primary); background-size: cover; background-position: center; color: #fff; padding: 84px 0; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 49, 122, 0.94), rgba(4, 64, 153, 0.82)); }
.stats-band .inner { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats-grid .stat { text-align: center; position: relative; }
.stats-grid .stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255, 255, 255, 0.18); }
.stats-grid .num { color: #fff; font-size: clamp(2.8rem, 5.5vw, 4rem); }
.stats-grid .unit { font-family: var(--font-jp-sans); font-weight: 700; font-size: 1.2rem; color: var(--c-secondary); margin-left: 4px; }
.stats-grid .stat-label { display: block; margin-top: 12px; font-size: 0.92rem; opacity: 0.9; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr; gap: 30px; } .stats-grid .stat:not(:last-child)::after { display: none; } }
 
/* 06. サービス一覧（番号バッジ＋ホバー下線） */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.service-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--c-secondary); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-light); position: relative; }
.service-card .svc-no { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 4px; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .body { padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card h3 span { color: var(--c-secondary); }
.service-card p { font-size: 0.88rem; color: var(--c-text-light); margin-bottom: 18px; flex: 1; }
.service-card .alert { color: #e23018; font-weight: 700; }
.service-card .more { font-family: var(--font-zen); font-weight: 700; font-size: 0.9rem; color: var(--c-secondary); display: inline-flex; align-items: center; gap: 8px; }
.service-card .more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .more svg { transform: translateX(5px); }
@media (max-width: 992px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }
 
/* 07. 特集セクション（防犯・介護／オフセット枠） */
.feature .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-care .inner { direction: rtl; }
.feature-care .inner > * { direction: ltr; }
.feature .feature-media { position: relative; }
.feature .feature-media::before { content: ''; position: absolute; width: 70%; height: 70%; border-radius: var(--radius-lg); z-index: 0; }
.feature-security .feature-media::before { top: -20px; left: -20px; border: 3px solid var(--c-secondary); }
.feature-care .feature-media::before { bottom: -20px; right: -20px; border: 3px solid var(--c-accent); }
.feature .feature-img { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.feature .feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.feature .feature-icon { width: 58px; height: 58px; color: var(--c-secondary); margin-bottom: 14px; }
.feature-care .feature-icon { color: var(--c-accent); }
.feature h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 6px; }
.feature .feature-sub { color: var(--c-accent); font-weight: 700; margin-bottom: 16px; }
.feature p { color: var(--c-text-light); margin-bottom: 18px; }
.feature .feature-list { margin-bottom: 24px; display: grid; gap: 10px; }
.feature .feature-list li { position: relative; padding-left: 28px; }
.feature .feature-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 14px; height: 14px; border-radius: 50%; background: var(--c-secondary); }
.feature-care .feature-list li::before { background: var(--c-accent); }
@media (max-width: 768px) { .feature .inner { grid-template-columns: 1fr; gap: 36px; } .feature-care .inner { direction: ltr; } .feature .feature-media::before { display: none; } }
 
/* 08. LINEで簡単お見積もり ★今回不足していた箇所 */
.section-line {
	position: relative;
	background-color: var(--c-bg-light);
	overflow: hidden;
}

/* 背景画像を専用レイヤーに分離（JSで動かす） */
.section-line::before {
	content: '';
	position: absolute;
	top: -15%;           /* 上下に余白を持たせて、動いても隙間が出ないように */
	left: 0;
	width: 100%;
	height: 130%;        /* 画面より大きめにして、translateYで動かせる余白を確保 */
	background-image: url(https://tss-sash.com/wp-content/uploads/2026/06/image.jpeg);
	background-size: cover;
	background-position: center;
	will-change: transform;
transform: translate3d(0, var(--parallax-y, 0px), 0);
	z-index: 0;
}

/* 中身を背景より前面に */
.section-line > * {
	position: relative;
	z-index: 1;
}
/* 白い透かしオーバーレイ（背景の上・中身の下） */
.section-line::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.78);  /* 透かしの濃さはここで調整 */
	z-index: 0;
	pointer-events: none;
}
/* 動きを減らす設定の人には視差を無効化（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
	.section-line::before { transform: none !important; }
}
.section-line > .inner {
	position: relative;
	z-index: 1;
}
.line-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.line-step { background: var(--c-white); border-radius: var(--radius-lg); padding: 28px 16px; text-align: center; box-shadow: var(--shadow-card); position: relative; }
.line-step .step-no { font-family: var(--font-en); font-weight: 900; color: var(--c-line); letter-spacing: 0.05em; font-size: 0.85rem; }
.line-step .step-ic { margin: 12px 0; display: flex; justify-content: center; }
.line-step .step-ic svg { width: 38px; height: 38px; color: var(--c-line); }
.line-step p { font-size: 0.85rem; color: var(--c-text); margin: 0; }
.line-arrow { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--c-border); z-index: 2; background: var(--c-bg-light); border-radius: 50%; display: flex; }
.line-arrow svg { width: 24px; height: 24px; }
.line-add { text-align: center; margin-bottom:35px;}

@media (max-width: 768px) {
	.line-steps { grid-template-columns: 1fr; gap: 34px; }
	.line-arrow { right: 50%; top: auto; bottom: -24px; transform: translateX(50%) rotate(90deg); }
	.section-line { background-attachment: scroll; }
}
 
/* 09. 暮らしの豆知識（Slick） */
/* 初期化前ガード：blockで2列だけ見せる（flexをやめて幅誤算を防ぐ） */
.js-kurashi-slider:not(.slick-initialized) { display: block; overflow: hidden; white-space: nowrap; }
.js-kurashi-slider:not(.slick-initialized) .kurashi-item { display: inline-block; width: 23%; white-space: normal; vertical-align: top; margin-right: 2%; }

.js-kurashi-slider { margin-bottom: 40px; position: relative; }
.js-kurashi-slider .slick-list { margin: 0 -12px; padding: 6px 0; }
.js-kurashi-slider .slick-track { display: flex; }
.js-kurashi-slider .slick-slide { height: auto; margin: 0 12px; }
.js-kurashi-slider .slick-slide > div { height: 100%; }

.kurashi-item { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; height: 100%; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.kurashi-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.kurashi-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-light); position: relative; display: block; }
.kurashi-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.kurashi-item:hover .kurashi-thumb img { transform: scale(1.06); }
.kurashi-thumb .new { position: absolute; top: 10px; left: 10px; background: var(--c-accent); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; z-index: 1; }
.kurashi-body { padding: 16px; }
.kurashi-body h3 { font-size: 0.98rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px) {
	.kurashi { overflow: hidden; }
	.kurashi .inner { overflow: visible; }
	.js-kurashi-slider .slick-list { overflow: visible; }
}

/* 矢印 */
.js-kurashi-slider .kurashi-arrow { position: absolute; top: 30%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--c-white); box-shadow: var(--shadow-card); color: var(--c-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s var(--ease); }
.js-kurashi-slider .kurashi-arrow:hover { background: var(--c-primary); color: #fff; }
.js-kurashi-slider .kurashi-arrow svg { width: 22px; height: 22px; }
.js-kurashi-slider .kurashi-prev { left: -10px; }
.js-kurashi-slider .kurashi-next { right: -10px; }

/* ▼ スマホ：横の記事をチラ見せ＋矢印を表示 */
@media (max-width: 768px) {
	.js-kurashi-slider .slick-list { overflow: visible; }
	.js-kurashi-slider .kurashi-arrow { top: 28%; width: 40px; height: 40px; }
	.js-kurashi-slider .kurashi-arrow svg { width: 20px; height: 20px; }
	.js-kurashi-slider .kurashi-prev { left: 4px; }
	.js-kurashi-slider .kurashi-next { right: 4px; }
}
 
/* 10. 共通：一覧へのリンクボタン */
.com-link { text-align: center; }
.com-link a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); border: 2px solid var(--c-primary); padding: 12px 36px; border-radius: var(--radius-pill); transition: 0.3s var(--ease); }
.com-link a svg { width: 18px; height: 18px; }
.com-link a:hover { background: var(--c-primary); color: #fff; opacity: 1; }
 
/* 11. アクセス ★今回不足していた箇所 */
.access-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.access-map iframe { width: 100%; height: 420px; display: block; border: 0; }
.access-info { margin-top: 20px; text-align: center; }
.access-info .addr { font-size: 1.05rem; font-weight: 700; color: var(--c-primary); }
 
/* 12. 採用ブロック（背景画像バンド） */
.recruit-block { position: relative; background-color: var(--c-primary); background-size: cover; background-position: center; color: #fff; padding: 84px 0; overflow: hidden; }
.recruit-block::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6, 49, 122, 0.93), rgba(4, 64, 153, 0.86)); }
.recruit-block .inner { position: relative; z-index: 1; }
.recruit-block .section-title { color: #fff; }
.recruit-block .section-title::after { background: var(--c-accent); }
.recruit-block .rb-lead { text-align: center; max-width: 720px; margin: 0 auto 36px; opacity: 0.92; }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 34px; }
.job-card { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-lg); padding: 32px; transition: 0.3s var(--ease); }
.job-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.13); }
.job-card .job-ic { margin-bottom: 12px; }
.job-card .job-ic svg { width: 32px; height: 32px; color: var(--c-accent); }
.job-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.job-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.job-card .tags span { background: rgba(255, 255, 255, 0.16); font-size: 0.72rem; padding: 4px 10px; border-radius: 20px; }
.job-card p { opacity: 0.9; font-size: 0.9rem; margin: 0; }
.recruit-block .rb-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) { .job-grid { grid-template-columns: 1fr; gap: 16px; } }
/* 13. フッター上CTA（template-parts/cta.php・全ページ共通） */
.footer-cta { background: linear-gradient(180deg, #fff 0%, var(--c-bg-light) 100%); padding:65px 0 85px; text-align: center; border-top: 1px solid var(--c-border); }
.footer-cta .footer-cta-title { font-size: clamp(23px, 3vw, 2.3rem); margin: 12px 0 14px; }
.footer-cta .footer-cta-lead { color: var(--c-text-light); margin-bottom: 0; }

.footer-cta .cta-card { display: flex; align-items: stretch; max-width: 880px; margin: 40px auto 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; text-align: center; }
.footer-cta .cta-phone { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px 36px; }
.footer-cta .cta-phone-label { font-family: var(--font-zen); font-weight: 700; font-size: 0.85rem; color: var(--c-text-light); display: inline-flex; align-items: center; gap: 7px; }
.footer-cta .cta-phone-label svg { width: 17px; height: 17px; color: var(--c-secondary); }
.footer-cta .cta-phone-num { font-family: var(--font-en); font-weight: 900; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--c-primary); line-height: 1; letter-spacing: 0.02em; }
.footer-cta .cta-phone-num:hover { opacity: 0.85; }
.footer-cta .cta-phone-hours { font-size: 0.78rem; color: var(--c-text-light); }
.footer-cta .cta-divider { width: 1px; background: var(--c-border); margin: 28px 0; flex: none; }
.footer-cta .cta-btns { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px 36px; background: var(--c-bg-light); }
.footer-cta .cta-btns .btn { width: 100%; white-space: nowrap; }
.footer-cta .cta-btns { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px 36px; background: var(--c-bg-light); }
.footer-cta .cta-btns .btn { flex: 1; width: 100%; white-space: nowrap; }
.footer-cta .cta-btns .btn svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 768px) {
	.footer-cta { padding: 58px 0; }
	.footer-cta .cta-card { flex-direction: column; max-width: 420px; }
	.footer-cta .cta-divider { width: auto; height: 1px; margin: 0 28px; }
	.footer-cta .cta-phone { padding: 30px 24px 26px; }
	.footer-cta .cta-btns { padding: 26px 24px; }
}
/* =================================================================
   footer.php 用CSS（style.css の末尾あたりに追記）
   ================================================================= */

/* ---------- フッター本体 ---------- */
.site-footer { background: var(--c-primary-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding-top: 60px; padding-bottom: 50px; }
.footer-name { font-family: var(--font-zen); font-weight: 900; font-size: 1.3rem; color: #fff; margin: 0 0 18px; line-height: 1.4; }
.footer-name span { font-size: 0.9rem; font-weight: 700; margin-left: 2px; }
.footer-addr { font-size: 0.9rem; line-height: 1.7; opacity: 0.9; margin: 0 0 6px; }
.footer-tel a { font-family: var(--font-en); font-weight: 900; font-size: 1.5rem; color: #fff; letter-spacing: 0.02em; }
.footer-tel a:hover { opacity: 0.85; }
.footer-hours { font-size: 0.8rem; opacity: 0.8; margin: 4px 0 0; }

.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { position: relative; display: inline-block; padding-left: 20px; font-size: 0.9rem; color: #fff; line-height: 150%;}
.footer-nav a::before { content: ''; position: absolute; left: 0; top:8px; width: 7px; height: 7px; border-top: 2px solid var(--c-secondary); border-right: 2px solid var(--c-secondary); transform: rotate(45deg); transition: 0.3s var(--ease); }
.footer-nav a:hover { opacity: 1; color: var(--c-secondary); }
.footer-nav a:hover::before { transform: rotate(45deg) translate(2px, -2px); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .inner { padding: 18px 24px; }
.footer-bottom p { font-family: var(--font-en); font-size: 0.78rem; opacity: 0.7; margin: 0; text-align: center; }
p.footer-tel{ margin-bottom: 0px; }
@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
	.footer-nav { grid-template-columns: 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.footer-nav ul { gap: 0; }
	.footer-nav a { font-size: 0.95rem; padding: 14px 0 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.12); width:100%;}
	.footer-nav a::before { top:22px; }
	/* SP固定バー分の余白 */
	body { padding-bottom: 64px; }
}

/* =================================================================
   フローティングCTA 共通アニメーション
   ================================================================= */
/* ふわふわ */
@keyframes fcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* キラリ（光の帯） */
@keyframes fcShine { 0% { transform: translateX(-130%) skewX(-20deg); } 55%, 100% { transform: translateX(360%) skewX(-20deg); } }
.fc-shine { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); animation: fcShine 3.6s var(--ease) infinite; pointer-events: none; }

/* ---------- PC：右下クラスター ---------- */
.float-cta-pc { position: fixed; right: 24px; bottom: 28px; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* フッター到達時にPCフローティングCTAを隠す */
.float-cta-pc.is-hide-footer {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
}
.fc-recruit { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-strong)); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.95rem; padding: 13px 26px; border-radius: var(--radius-pill); box-shadow: 0 10px 26px rgba(247, 145, 2, 0.45); animation: fcFloat 3s ease-in-out infinite; }
.fc-recruit svg { width: 20px; height: 20px; }
.fc-recruit:hover { opacity: 1; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(247, 145, 2, 0.55); }
.fc-circles { display: flex; gap: 14px; }
.fc-circle { position: relative; width: 78px; height: 78px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; text-align: center; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); transition: transform 0.3s var(--ease); }
.fc-circle svg { width: 24px; height: 24px; }
.fc-circle span { font-family: var(--font-zen); font-weight: 700; font-size: 0.66rem; line-height: 1.2; }
.fc-circle:hover { opacity: 1; transform: translateY(-4px); }
.fc-tel { background: var(--c-primary); }
.fc-line { background: var(--c-line); }

/* ---------- SP：下部バー＋求人フロート ---------- */
.float-cta-sp { display: none; }
.fcs-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; background: #fff; box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.12); }
.fcs-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; color: #fff; }
.fcs-item svg { width: 22px; height: 22px; }
.fcs-item span { font-family: var(--font-zen); font-weight: 700; font-size: 0.68rem; }
.fcs-item:hover, .fcs-item:active { opacity: 1; }
.fcs-tel { background: var(--c-primary); }
.fcs-line { background: var(--c-line); }
.fcs-contact { background: var(--c-secondary); }
/* 求人フロート（バーの上・右側／目立たせる） */
.fcs-recruit { position: fixed; right: 14px; bottom: 70px; z-index: 901; overflow: hidden; width: 64px; height: 64px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-strong)); color: #fff; box-shadow: 0 8px 22px rgba(247, 145, 2, 0.5); animation: fcFloat 3s ease-in-out infinite; }
.fcs-recruit svg { width: 22px; height: 22px; }
.fcs-recruit span { font-family: var(--font-zen); font-weight: 700; font-size: 0.62rem; }

/* ---------- 表示の出し分け ---------- */
@media (max-width: 768px) {
	.float-cta-pc { display: none; }
	.float-cta-sp { display: block; }
}

/* ---------- 動きを抑える設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
	.fc-recruit, .fcs-recruit { animation: none !important; }
	.fc-shine { display: none !important; }
}
/* =================================================================
   下層ページ用CSS（header.php / page.php / 固定ページ本文）
   style.css の末尾あたりに追記
   ================================================================= */

/* ---------- ページタイトル帯 ---------- */
.page-head { position: relative; background-color: var(--c-primary); background-size: cover; background-position: center; color: #fff; text-align: center; padding: 66px 0 60px; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6, 49, 122, 0.92), rgba(4, 64, 153, 0.80) 60%, rgba(10, 87, 196, 0.72)); }
.page-head .inner { position: relative; z-index: 1; }
.page-head-wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-family: var(--font-en); font-weight: 900; font-size: clamp(3.5rem, 11vw, 8rem); line-height: 1; letter-spacing: 0.05em; color: #fff; opacity: 0.08; white-space: nowrap; z-index: 0; pointer-events: none; }
.page-head-en { font-family: var(--font-en); font-weight: 900; letter-spacing: 0.2em; font-size: 0.82rem; color: #bcd6ff; margin: 0 0 10px; }
.page-head-title { font-family: var(--font-zen); font-weight: 900; color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0; line-height: 1.3; }
.page-head-title::after { content: ''; display: block; width: 46px; height: 3px; background: var(--c-accent); margin: 18px auto 0; }
@media (max-width: 768px) {.page-head { padding: 40px 0 36px; }
	.page-head .inner { padding-left: 20px; padding-right: 20px; }
	.page-head-title {
		font-size: clamp(1.3rem, 5.2vw, 1.7rem);
		line-height: 1.5;
		word-break: auto-phrase;   /* 文節で自然改行 */
		overflow-wrap: anywhere;   /* 非対応ブラウザの保険 */
		text-wrap: balance;        /* 行の長さを均す */
	}
	.page-head-title::after { margin-top: 14px; }}

/* ---------- パンくず（Breadcrumb NavXT） ---------- */
.breadcrumb { background: var(--c-bg-light); font-size: 0.8rem; color: var(--c-text-light); }
.breadcrumb .inner { padding: 12px 24px; max-width: 1080px; }
.breadcrumb a { color: var(--c-text-light); }
.breadcrumb a:hover { color: var(--c-secondary); opacity: 1; }
.breadcrumb .breadcrumbs > *:not(:last-child)::after,
.breadcrumb span[typeof] + span::before { content: ''; }

/* ---------- 固定ページ本文の土台（幅1080px） ---------- */
.page-body { padding: 70px 0 90px; }
.page-body > .inner { max-width: 1080px; }
.page-sec { margin-bottom: 64px; }
.page-sec:last-child { margin-bottom: 0; }

/* 本文内の見出し（英字アクセント付き） */
.page-h2 { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 2.8vw, 2rem); text-align: center; margin:0px 0 36px; line-height: 1.3; }
.page-h2 .en { display: block; font-family: var(--font-en); font-weight: 900; font-size: 0.85rem; letter-spacing: 0.18em; color: var(--c-secondary); margin-bottom: 6px; }
.page-h3 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.2rem; margin: 0 0 14px; padding-left: 14px; border-left: 4px solid var(--c-secondary); }

/* ---------- 代表挨拶 ---------- */
.greeting-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.greeting-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.greeting-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.greeting-text p { font-family: var(--font-jp-min); font-size: 1rem; line-height: 2; color: var(--c-text); }
.greeting-name { text-align: right; font-family: var(--font-jp-min); font-weight: 700; color: var(--c-primary); margin-top: 8px !important; }
.greeting-name span { font-size: 1.3rem; margin-left: 8px; }
@media (max-width: 768px) { .greeting-grid { grid-template-columns: 1fr; gap: 22px; } .greeting-photo { max-width: 280px; margin: 0 auto; } }

/* ---------- 会社概要テーブル ---------- */
.company-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); margin-bottom: 36px; }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--c-border); font-size: 0.92rem; line-height: 1.8; }
.company-table th { width: 160px; background: var(--c-bg-light); font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.company-table p { margin: 0 0 8px; }
.company-table p:last-child { margin-bottom: 0; }
.ct-place { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ct-tag { display: inline-block; background: var(--c-primary); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 4px; white-space: nowrap; }
.ct-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ct-list li { position: relative; padding-left: 18px; }
.ct-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-secondary); }
.ct-list-inline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 6px 0 10px 4px; }
.ct-list-inline li { padding-left: 16px; }
@media (max-width: 768px) {
	.company-table th, .company-table td { display: block; width: 100%; border-bottom: none; }
	.company-table th { border-top: 1px solid var(--c-border); }
	.company-table td { padding-top: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--c-border); }
	.company-table tr:first-child th { border-top: none; }
	.company-table p { margin: 0 0 20px;}
}

/* ---------- 会社写真ギャラリー ---------- */
.company-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.company-photos figure { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
.company-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.company-photos figure:hover img { transform: scale(1.06); }
@media (max-width: 768px) { .company-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- 地図 ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 30px; }
.map-embed iframe { width: 100%; height: 380px; display: block; border: 0; }

/* ---------- 加盟ネットワーク・取扱メーカー ロゴ ---------- */
.foot-link-wrap { padding: 6px 0; }
.foot-link-wrap-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.foot-link-wrap .link-wrap { display: flex; align-items: center; justify-content: center; width: 180px; height: 92px; padding: 14px 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: 0.3s var(--ease); }
.foot-link-wrap .link-wrap:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.foot-link-wrap .link-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 768px) { .foot-link-wrap .link-wrap { width: calc(50% - 8px); height: 80px; } }
/* =================================================================
   ご依頼からの流れ ページ用CSS（pages.css の後ろに追記）
   ================================================================= */

/* ---------- 目次 ---------- */
.flow-toc { max-width: 560px; margin: 0 auto 56px; background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px 30px; }
.flow-toc-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); margin: 0 0 12px; }
.flow-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-toc a { display: inline-flex; align-items: center; gap: 8px; color: var(--c-secondary); font-family: var(--font-zen); font-weight: 700; }
.flow-toc a::before { content: ''; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.flow-toc a:hover { opacity: 1; text-decoration: underline; }

/* ---------- ステップ（縦タイムライン） ---------- */
.flow-steps { max-width: 760px; margin: 0 auto; }
.flow-step { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding-bottom: 30px; }
.flow-step:not(:last-child)::before { content: ''; position: absolute; left: 41px; top: 88px; bottom: -4px; width: 2px; background: var(--c-border); z-index: 0; }
.flow-step-no { position: relative; z-index: 1; width: 84px; height: 84px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--c-secondary), var(--c-primary)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 900; font-size: 1.9rem; line-height: 1; box-shadow: var(--shadow-card); }
.flow-step-no span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 3px; }
.flow-step-body { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-card); }
.flow-step-body h3 { font-size: 1.2rem; color: var(--c-primary); margin: 0 0 8px; }
.flow-step-body p { font-size: 0.92rem; color: var(--c-text); margin: 0 0 8px; }
.flow-step-body p:last-child { margin-bottom: 0; }
.flow-note { font-size: 0.82rem !important; color: var(--c-text-light) !important; }
@media (max-width: 768px) {
	.flow-step { grid-template-columns: 58px 1fr; gap: 14px; }
	.flow-step-no { width: 58px; height: 58px; font-size: 1.35rem; }
	.flow-step-no span { font-size: 0.5rem; }
	.flow-step:not(:last-child)::before { left: 28px; top: 62px; }
	.flow-step-body { padding: 18px 18px; }
}

/* ---------- LINE手順（LINEグリーンの専用枠） ---------- */
.line-section { background: linear-gradient(180deg, #f3fbf4, #e9f8ec); border: 1px solid #cfeccf; border-radius: var(--radius-lg); padding: 50px 40px; }
.line-flow { max-width: 680px; margin: 0 auto; display: grid; gap: 30px; }
.line-flow-step { background: #fff; border: 1px solid #d6efd6; border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-card); }
.lf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lf-no { flex: none; background: var(--c-line); color: #fff; font-family: var(--font-en); font-weight: 900; font-size: 0.8rem; letter-spacing: 0.04em; padding: 6px 14px; border-radius: 30px; white-space: nowrap; }
.lf-head h3 { margin: 0; font-size: 1.1rem; color: var(--c-primary); line-height: 1.4; }
.line-flow-step p { font-size: 0.92rem; color: var(--c-text); margin: 0 0 14px; }
.lf-addbtn { text-align: center; margin: 16px 0; }
.lf-photo { margin: 16px 0 0; text-align: center; }
.lf-photo img { max-width: 360px; width: 100%; height: auto; border-radius: var(--radius); }
.lf-photo-full img { max-width: 100%; }
@media (max-width: 768px) {
	.line-section { padding: 32px 16px; }
	.line-flow-step { padding: 22px 18px; }
	.lf-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
/* =================================================================
   サービス系ページ用CSS（窓・サッシ／ドア／ガラス等で共通利用）
   pages.css の後ろに追記
   ================================================================= */

/* ---------- こんなお悩み（チェックリスト） ---------- */
.worry-block { background: var(--c-bg-light); border-radius: var(--radius-lg); padding: 48px 40px 42px; }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 780px; margin: 0 auto; }
.worry-item { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease); }
.worry-item:hover { transform: translateY(-3px); }
.worry-item svg { width: 26px; height: 26px; color: var(--c-secondary); flex: none; }
.worry-item span { font-family: var(--font-zen); font-weight: 700; font-size: 0.92rem; color: var(--c-primary); }
.worry-arrow { display: flex; justify-content: center; }
.worry-arrow::after { content: ''; border-left: 24px solid transparent; border-right: 24px solid transparent; border-top: 22px solid var(--c-bg-light); }
@media (max-width: 768px) {
	.worry-block { padding: 32px 18px; }
	.worry-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 解決メッセージ ---------- */
.solve-msg { text-align: center; max-width: 760px; margin: 40px auto 68px; }
.solve-msg h3 { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.5; margin: 0 0 16px; }
.solve-msg h3 .hl { color: var(--c-secondary); }
.solve-msg p { color: var(--c-text-light); margin: 0; }

/* ---------- 商品タグ（チップ） ---------- */
.wtags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.wtag { display: inline-block; color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.02em; padding: 3px 12px; border-radius: 30px; }
.wtag-bouhan   { background: var(--c-primary); }
.wtag-dannetsu { background: var(--c-accent); }
.wtag-bouro    { background: var(--c-secondary); }
.wtag-shaon    { background: #6168c8; }
.wtag-anshin   { background: #16a34a; }
.wtag-tsufu    { background: #0bb3bf; }
.wtag-bousai   { background: var(--c-accent-strong); }

/* ---------- 商品（ジグザグ配置） ---------- */
.wproducts { max-width: 1000px; margin: 0 auto; }
.wproduct { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 64px; margin: 70px auto 75px;}
.wproduct:last-child { margin-bottom: 0; }
.wproduct-media { position: relative; }
.wproduct-media::before { content: ''; position: absolute; width: 72%; height: 72%; top: -16px; left: -16px; border: 3px solid var(--c-secondary); border-radius: var(--radius-lg); z-index: 0; }
.wproduct-img { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.wproduct-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; transition: transform 0.5s var(--ease); }
.wproduct:hover .wproduct-img img { transform: scale(1.05); }
.wproduct-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; margin: 0 0 6px; }
.ptype { flex: none; font-family: var(--font-zen); font-weight: 700; font-size: 0.7rem; color: #fff; padding: 4px 10px; border-radius: 5px; }
.ptype-ato  { background: var(--c-accent); }
.ptype-tori { background: var(--c-primary); }
.wproduct-catch { font-family: var(--font-zen); font-weight: 700; color: var(--c-secondary); font-size: 1.05rem; margin: 0 0 12px; }
.wproduct-body p { font-size: 0.92rem; color: var(--c-text); line-height: 1.9; margin: 0 0 10px; }
.wproduct-body p:last-child { margin-bottom: 0; }
.wproduct-body small { display: block; font-size: 0.78rem; color: var(--c-text-light); margin-top: 4px; }

/* 偶数番目は画像を右に */
.wproduct:nth-child(even) .wproduct-media { order: 2; }
.wproduct:nth-child(even) .wproduct-media::before { left: auto; right: -16px; border-color: var(--c-accent); }

@media (max-width: 768px) {
	.wproduct { grid-template-columns: 1fr; gap: 22px; margin:30px 0 45px; }
	.wproduct:nth-child(even) .wproduct-media { order: 0; }
	.wproduct-media::before { display: none; }
}
/* =================================================================
   ガラスページ 冒頭「緊急対応」ブロック用CSS
   window.css の後ろに追記
   ================================================================= */
.urgent-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); background: #fff; border: 1px solid var(--c-border); }
.urgent-img { position: relative; min-height: 280px; }
.urgent-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.urgent-body { padding: 40px 44px; background: linear-gradient(135deg, #fff 0%, #fff6f1 100%); }
.urgent-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--c-accent-strong); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.82rem; padding: 6px 16px; border-radius: 30px; margin-bottom: 16px; }
p.urgent-note{line-height: 130%;}
.urgent-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: urgentBlink 1.2s ease-in-out infinite; }
@keyframes urgentBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.urgent-title { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; margin: 0 0 16px; }
.urgent-body .urgent-area { display: inline-flex; align-items: center; gap: 6px; background: var(--c-primary-dark); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.85rem; line-height: 1; padding: 7px 16px; border-radius: var(--radius-pill); margin: 0 0 16px; box-shadow: 0 4px 12px rgba(4, 64, 153, 0.2); }
.urgent-body .urgent-area svg { width: 15px; height: 15px; flex: none; }
.urgent-lead { font-family: var(--font-zen); font-weight: 700; color: var(--c-accent-strong); font-size: 1.05rem; margin: 0 0 12px; }
.urgent-body .urgent-body p { font-size: 0.92rem; color: var(--c-text); margin: 0 0 12px; }
.urgent-note small { color: var(--c-text-light); font-size: 0.78rem; }
.urgent-tel { margin-top: 8px; font-family: var(--font-en); letter-spacing: 0.02em; }
@media (max-width: 768px) {
	.urgent-block { grid-template-columns: 1fr; }
	.urgent-img { min-height: 200px; }
	.urgent-body { padding: 30px 22px; }
	.urgent-tel { width: 100%; }
}
/* =================================================================
   網戸ページ用 追記CSS（window.css の後ろに）
   ================================================================= */

/* 解決メッセージ内の対応エリア */
.solve-area { display: inline-block; margin-top: 16px !important; background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-pill); padding: 8px 22px; font-family: var(--font-zen); font-weight: 700; font-size: 0.86rem; color: var(--c-primary); }

/* 大型・規格外も対応バンド */
.amido-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.amido-band-img { margin: 0; }
.amido-band-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.amido-band-text { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: linear-gradient(90deg, rgba(4, 64, 153, 0.78), rgba(2, 154, 247, 0.55)); color: #fff; font-family: var(--font-zen); font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.5; }
@media (max-width: 768px) {
	.amido-band-img img { height: 200px; }
	.amido-band-text { font-size: 1.05rem; }
}
/* =================================================================
   防犯リフォーム ページ専用CSS（全体）
   ※ security.css をこの内容で置き換えてください。pages.css の後ろに読み込み。
   ================================================================= */
.sec-block { margin-bottom: 72px; }
.sec-block:last-child { margin-bottom: 0; }
.bouhan-source { font-size: 0.74rem; color: var(--c-text-light); margin:15px 0 0; line-height: 1.6; }

/* ① 導入ヒーロー */
.bouhan-hero-img { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.bouhan-hero-img img { width: 100%; height: auto; display: block; }
.bouhan-lead { text-align: center; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1.8; margin: 0; }

/* ② 統計ヒーロー */
.bouhan-stat-hero { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); border-radius: var(--radius-lg); padding: 36px 44px; color: #fff; max-width: 800px; margin: 0 auto 70px; }
.bouhan-stat-img { margin: 0; border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.bouhan-stat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bst-big { font-family: var(--font-zen); font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.5; margin: 0 0 10px; color: #fff; }
.bst-em { color: #ffd23f; font-size: 1.5em; }
.bst-sub { font-size: 1rem; margin: 0; opacity: 0.95; }
.bst-sub strong { color: #ffd23f; font-size: 1.15em; font-family: var(--font-en); }
.bouhan-stat-hero .bouhan-source { color: rgba(255,255,255,.7); }
@media (max-width: 768px) { .bouhan-stat-hero { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; } .bouhan-stat-img { width: 180px; margin: 0 auto; } }

/* 発生場所／侵入口 2カラム */
.bouhan-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.bouhan-fact-h { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.1rem; text-align: center; margin: 0 0 16px; }
.bouhan-fact-h span { color: var(--c-accent-strong); font-size: 1.25em; margin-left: 4px; }
@media (max-width: 920px) { .bouhan-twocol { grid-template-columns: 1fr; gap: 40px; } }

.bouhan-h3 { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: 1.4rem; text-align: center; margin: 0 0 22px; }

/* =========================================================
   円グラフ コンポーネント（conic-gradient・JS不要）
   ========================================================= */
.pie-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-card);}
.pie-card.a { height: 547px;}
.pie-card-center { max-width: 700px; margin: 0 auto; }
.pie-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; text-align: center; margin: 0 0 20px; }
.pie-wrap { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.pie {
	width: 210px; height: 210px; flex: none; border-radius: 50%; position: relative;
	background: conic-gradient(
		var(--c1) 0 var(--seg1),
		var(--c2) var(--seg1) var(--seg2),
		var(--c3) var(--seg2) var(--seg3),
		var(--c4) var(--seg3) 100%
	);
}
.pie-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 108px; height: 108px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 1px 4px rgba(0,0,0,.1); }
.pie-center-no { font-family: var(--font-en); font-weight: 900; font-size: 1.4rem; color: var(--c-accent-strong); line-height: 1; }
.pie-center-label { font-family: var(--font-zen); font-weight: 700; font-size: 0.82rem; color: var(--c-primary); margin-top: 3px; }
.pie-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; min-width: 220px; }
.pie-legend li { display: flex; align-items: center; gap: 12px; }
.pie-legend .lg-dot { width: 15px; height: 15px; border-radius: 4px; flex: none; }
.pie-legend .lg-name { font-family: var(--font-zen); font-weight: 700; font-size: 0.88rem; color: var(--c-primary); }
.pie-legend .lg-rate { margin-left: auto; font-family: var(--font-en); font-weight: 900; font-size: 1.02rem; color: var(--c-text); }
@media (max-width: 560px) { .pie-wrap { gap: 24px; } .pie { width: 190px; height: 190px; } .pie-legend { min-width: 0; width: 100%; } .pie-card.a{height:auto;}}

/* ③ 5分の壁 */
.bouhan-5min { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 0; }
.bouhan-5min-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.bouhan-5min-img img { width: 100%; height: auto; display: block; }
.bouhan-5min-body h3 { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 14px; }
.bouhan-5min-body p { color: var(--c-text); margin: 0 0 10px; }
@media (max-width: 768px) { .bouhan-5min { grid-template-columns: 1fr; gap: 22px; } }

/* ④ 補助金CTA */
.bouhan-subsidy { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-strong)); border-radius: var(--radius-lg); padding: 40px 44px; text-align: center; color: #fff; }
.bsub-catch { font-family: var(--font-zen); font-weight: 900; font-size: clamp(15px, 2.8vw, 1.8rem); margin: 0 0 8px; color: #fff; }
.bsub-lead { font-size: 0.95rem; margin: 0 0 24px; opacity: 0.95; }
.bsub-actions { display: flex; justify-content: center; align-items: stretch; gap: 18px; flex-wrap: wrap; }
.bsub-line, .bsub-tel { background: #fff; border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.bsub-line span, .bsub-tel span { font-size: 0.74rem; color: var(--c-text-light); }
.bsub-tel-num { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 900; font-size: 1.7rem; color: var(--c-primary); }
.bsub-tel-num svg { width: 22px; height: 22px; }
.bsub-tel-num:hover { opacity: 0.85; }
@media (max-width: 768px) { .bouhan-subsidy { padding: 32px 20px; } .bsub-line, .bsub-tel { width: 100%; } }

/* ⑤ 対策01〜05 */
.bouhan-measure { margin-bottom: 56px; }
.bouhan-measure:last-child { margin-bottom: 0; }
.measure-h { display: flex; align-items: center; gap: 16px; font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 2.8vw, 1.8rem); border-bottom: 3px solid var(--c-secondary); padding-bottom: 14px; margin: 0 0 22px; }
.measure-no { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--radius); background: linear-gradient(135deg, var(--c-secondary), var(--c-primary)); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; }
.measure-no em { font-family: var(--font-en); font-style: normal; font-weight: 900; font-size: 1.4rem; }
.measure-img { margin: 0 0 24px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.measure-img img { width: 100%; height: auto; display: block; }
.measure-sub { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.15rem; margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--c-accent); }
.merit-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.merit-list li { background: var(--c-bg-light); border-radius: var(--radius); padding: 16px 20px; font-size: 0.92rem; line-height: 1.8; color: var(--c-text); }
.merit-list li strong { display: block; font-family: var(--font-zen); color: var(--c-primary); font-size: 1rem; margin-bottom: 4px; }
@media (max-width: 768px) { .measure-h { gap: 12px; } .measure-no { width: 54px; height: 54px; } .measure-no em { font-size: 1.2rem; } }
/* =================================================================
   介護リフォーム ページ用 追記CSS（window.css の後ろに）
   ================================================================= */

/* 介護保険適応タグ（緑系・既存のwtag体系に追加） */
.wtag-care { background: #0a9d6e; }

/* 「介護保険制度適応工事です」注記 */
.care-note { display: inline-flex; align-items: center; gap: 8px; background: #e8f7f0; color: #0a7d57; font-family: var(--font-zen); font-weight: 700; font-size: 0.9rem; padding: 8px 16px; border-radius: var(--radius); margin: 4px 0 0 !important; }
.care-note::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: #0a9d6e; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat; }

/* 介護ページは本文をやや見やすく（任意） */
.page-body .wproduct-body p { font-size: 0.95rem; line-height: 1.95; }
/* =================================================================
   暮らしの困ったQ&A（FAQアコーディオン）用CSS
   pages.css の後ろに追記
   ================================================================= */

/* 目次 */
.qa-toc { max-width: 760px; margin: 0 auto 56px; background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px 30px; }
.qa-toc-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); margin: 0 0 14px; }
.qa-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.qa-toc a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-zen); font-weight: 700; font-size: 0.88rem; color: var(--c-primary); background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-pill); padding: 7px 18px; transition: 0.3s var(--ease); }
.qa-toc a:hover { opacity: 1; background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* カテゴリ */
.qa-cat { margin-bottom: 56px; }
.qa-cat:last-child { margin-bottom: 0; }

/* アコーディオン本体 */
.qa-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.qa-item { border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-card); transition: box-shadow 0.3s var(--ease); }
.qa-item.is-open { box-shadow: var(--shadow-hover); }

/* 質問（ボタン） */
.qa-q { width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-zen); transition: background 0.3s var(--ease); }
.qa-q:hover { background: var(--c-bg-light); }
.qa-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 900; font-size: 1rem; background: var(--c-primary); color: #fff; }
.qa-icon-a { background: var(--c-accent); }
.qa-q-text { flex: 1; font-weight: 700; font-size: 1rem; color: var(--c-primary); line-height: 1.6; padding-top: 4px; }
.qa-toggle { flex: none; width: 22px; height: 22px; margin-top: 8px; position: relative; }
.qa-toggle::before, .qa-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--c-secondary); border-radius: 2px; transition: transform 0.3s var(--ease); }
.qa-toggle::before { width: 16px; height: 2px; }
.qa-toggle::after { width: 2px; height: 16px; }
.qa-item.is-open .qa-toggle::after { transform: translate(-50%, -50%) scaleY(0); }

/* 回答（開閉部） */
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.qa-a-in { display: flex; align-items: flex-start; gap: 14px; padding: 4px 22px 24px; }
.qa-a-text { flex: 1; padding-top: 4px; }
.qa-a-text p { font-size: 0.94rem; color: var(--c-text); line-height: 1.95; margin: 0 0 10px; }
.qa-a-text p:last-child { margin-bottom: 0; }
.qa-a-text ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.qa-a-text ul li { position: relative; padding-left: 20px; font-size: 0.92rem; color: var(--c-text); line-height: 1.8; }
.qa-a-text ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-secondary); }

@media (max-width: 768px) {
	.qa-q { padding: 16px 16px; gap: 10px; }
	.qa-icon { width: 28px; height: 28px; font-size: 0.9rem; }
	.qa-q-text { font-size: 0.94rem; }
	.qa-a-in { padding: 4px 16px 20px; gap: 10px; }
}
/* =================================================================
   個人情報保護方針 ページ用CSS（pages.css の後ろに追記）
   ================================================================= */
.policy-body { max-width: 860px; margin: 0 auto; }
.policy-lead { font-size: 0.95rem; line-height: 1.95; color: var(--c-text); margin: 0 0 36px; padding-bottom: 28px; border-bottom: 1px solid var(--c-border); }

.policy-h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.15rem; margin: 36px 0 14px; }
.policy-no { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 900; font-size: 0.9rem; }

.policy-body p { font-size: 0.92rem; line-height: 1.95; color: var(--c-text); margin: 0 0 14px; }
.policy-note { font-size: 0.82rem !important; color: var(--c-text-light) !important; }

.policy-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.policy-list li { position: relative; padding-left: 22px; font-size: 0.92rem; line-height: 1.85; color: var(--c-text); }
.policy-list li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-secondary); }

.policy-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); margin: 4px 0 16px; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--c-border); font-size: 0.9rem; line-height: 1.7; }
.policy-table th { width: 130px; background: var(--c-bg-light); font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.policy-table a:hover { color: var(--c-secondary); opacity: 1; }

.policy-date { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--c-border); font-size: 0.82rem !important; color: var(--c-text-light) !important; text-align: right; }

@media (max-width: 768px) {
	.policy-table th, .policy-table td { display: block; width: 100%; }
	.policy-table th { border-bottom: none; }
}
/* =================================================================
   お問い合わせ ページ用CSS（pages.css の後ろに追記）
   ================================================================= */

/* --- このページでは全ページ共通CTAを非表示 ---
   ※固定ページ「お問い合わせ」の本文一番上は <div class="contact-wrap"> です。
     body に付与できない場合に備え、共通CTA（フッター上CTA）を持つ要素を
     contact-wrap が存在するページで隠せるよう、JS不要の方法は本文側で
     body class を付けるのが確実です（下の注記参照）。 */
body.page-contact .cta-section,         /* template-parts/cta.php のラッパ */
body.page-contact .footer-cta {         /* 別名で出力している場合の保険 */
	display: none !important;
}

.contact-wrap { max-width: 860px; margin: 0 auto; }
.contact-lead { text-align: center; font-size: 0.98rem; line-height: 1.9; color: var(--c-text); margin: 0 0 48px; }
.contact-sec { margin-bottom: 56px; }
.contact-sec:last-child { margin-bottom: 0; }
.contact-sec-note { font-size: 0.9rem; color: var(--c-text-light); margin: -6px 0 24px; }

/* フォーム本体 */
.form-wrap .inquiry { width: 100%; border-collapse: collapse; }
.form-wrap .inquiry th, .form-wrap .inquiry td { display: block; width: 100%; text-align: left; padding: 0; }
.form-wrap .inquiry th { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.92rem; margin: 22px 0 8px; display: flex; align-items: center; gap: 8px; }
.form-wrap .inquiry tr:first-child th { margin-top: 0; }
.hissu { background: var(--c-accent-strong); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; letter-spacing: 0.04em; }
.form-wrap input[type="text"], .form-wrap input[type="tel"], .form-wrap input[type="email"], .form-wrap textarea {
	width: 100%; padding: 13px 16px; border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 1rem; font-family: var(--font-jp-sans); background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.form-wrap input:focus, .form-wrap textarea:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(2,154,247,0.15); }
.form-wrap textarea { min-height: 150px; resize: vertical; }
.form-wrap .wpcf7-list-item { display: inline-block; margin: 0 18px 0 0; }
.form-wrap .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer; }

/* プライバシー同意・送信 */
.form-privacy { text-align: center; margin: 28px 0 12px; }
.formpri { font-size: 0.9rem; color: var(--c-secondary); text-decoration: underline; }
.form-accept { text-align: center; font-size: 0.92rem; margin: 0 0 22px; }
.form-submit { text-align: center; margin: 0; }
.form-wrap .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; padding: 16px 40px; background: var(--c-accent); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 1.05rem; border: none; border-radius: var(--radius-pill); cursor: pointer; box-shadow: 0 8px 20px rgba(247,145,2,0.3); transition: transform 0.3s, box-shadow 0.3s, background 0.3s; }
.form-wrap .wpcf7-submit:hover { background: var(--c-accent-strong); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(247,145,2,0.4); }

/* 電話カード */
.contact-tel-card { display: flex; align-items: center; gap: 24px; background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 30px 36px; max-width:500px; margin: 0 auto; }
.ct-tel-icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.ct-tel-icon svg { width: 30px; height: 30px; }
.ct-tel-label { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.9rem; margin: 0 0 2px; }
.ct-tel-num { display: inline-block; font-family: var(--font-en); font-weight: 900; font-size: clamp(2rem, 5vw, 2.6rem); color: var(--c-primary); line-height: 1.1; }
.ct-tel-num:hover { opacity: 0.85; }
.ct-tel-hours { font-size: 0.82rem; color: var(--c-text-light); margin: 4px 0 0; }
@media (max-width: 768px) { .contact-tel-card { flex-direction: column; text-align: center; gap: 16px; padding: 28px 20px; } }

/* LINEカード */
.contact-line-card { background: linear-gradient(135deg, #06C755, #04a548); border-radius: var(--radius-lg); padding: 36px 40px; color: #fff; max-width: 600px; margin: 0 auto; text-align: center;}
.cl-title { font-family: var(--font-zen); font-weight: 900; font-size: 1.3rem; margin: 0 0 12px; color: #fff; }
.cl-text { font-size: 0.92rem; line-height: 1.9; margin: 0 0 22px; opacity: 0.96; }
.cl-btn.btn-line { background: #fff !important; color: #06C755 !important; font-weight: 700; min-width: 240px; }
.cl-btn.btn-line svg { width: 22px; height: 22px; }
.cl-btn.btn-line:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.cl-id { font-size: 0.82rem; margin: 14px 0 0; opacity: 0.9; }
@media (max-width: 768px) { .contact-line-card { padding: 30px 22px; } .cl-btn.btn-line { width: 100%; } }
/* =================================================================
   Contact Form 7 各種メッセージ（送信完了／エラー／確認）のデザイン
   contact.css または pages.css の後ろに追記
   ================================================================= */

/* 共通ベース：左にアイコン用スペース、角丸、淡い背景 */
.wpcf7-response-output {
	position: relative;
	margin: 28px 0 0 !important;
	padding: 18px 20px 18px 56px !important;
	border: none !important;
	border-radius: var(--radius) !important;
	border-left: 4px solid var(--c-secondary) !important;
	background: #eef6ff;
	color: var(--c-primary);
	font-family: var(--font-zen);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.7;
}
.wpcf7-response-output::before {
	content: '';
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* 送信完了（成功） */
.wpcf7 form.sent .wpcf7-response-output {
	background: #e8f7f0;
	border-left-color: #0a9d6e !important;
	color: #0a7d57;
}
.wpcf7 form.sent .wpcf7-response-output::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9d6e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

/* 入力エラー（必須漏れ等） */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	background: #fff4ef;
	border-left-color: var(--c-accent-strong) !important;
	color: #c2410c;
}
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.payment-required .wpcf7-response-output::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5E00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

/* 送信失敗（サーバーエラー等） */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background: #fdecec;
	border-left-color: #dc2626 !important;
	color: #b91c1c;
}
.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.aborted .wpcf7-response-output::before {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

/* 各入力欄の下に出るエラーチップ */
.wpcf7-not-valid-tip {
	display: inline-block;
	margin-top: 6px;
	color: var(--c-accent-strong);
	font-size: 0.82rem;
	font-weight: 700;
}
/* エラーの入力欄を強調 */
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
	border-color: var(--c-accent-strong) !important;
	box-shadow: 0 0 0 3px rgba(255,94,0,0.12) !important;
}

/* 送信中インジケーター（CF7標準スピナー）の色味 */
.wpcf7-spinner { background-color: var(--c-secondary); }
/* =================================================================
   暮らしの豆知識 一覧（archive）用CSS
   pages.css の後ろに追記
   ================================================================= */

/* グリッド：PC3列 → タブレット2列 → スマホ1列 */
.kurashi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .kurashi-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 560px) { .kurashi-grid { grid-template-columns: 1fr; gap:40px; } }

/* カード */
.kurashi-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.kurashi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.kurashi-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.kurashi-link:hover { opacity: 1; }

/* サムネイル（16:10で統一トリミング） */
.kurashi-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-light); }
.kurashi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.kurashi-card:hover .kurashi-thumb img { transform: scale(1.05); }

/* 本文 */
.kurashi-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.kurashi-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.08rem; line-height: 1.55; margin: 0 0 10px; }
.kurashi-excerpt { font-size: 0.86rem; color: var(--c-text-light); line-height: 1.8; margin: 0 0 16px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kurashi-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-zen); font-weight: 700; font-size: 0.86rem; color: var(--c-secondary); transition: gap 0.3s var(--ease); }
.kurashi-more svg { width: 16px; height: 16px; }
.kurashi-card:hover .kurashi-more { gap: 10px; }

/* 記事なし */
.kurashi-empty { text-align: center; padding: 80px 20px; color: var(--c-text-light); }

/* =========================================================
   ページネーション
   ========================================================= */
.kurashi-pagination { margin-top: 56px; }
.kurashi-pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.kurashi-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 6px;
	border: 1px solid var(--c-border); border-radius: var(--radius);
	font-family: var(--font-en); font-weight: 700; font-size: 0.95rem;
	color: var(--c-primary); background: #fff; text-decoration: none;
	transition: all 0.3s var(--ease);
}
.kurashi-pagination .page-numbers:hover { background: var(--c-bg-light); border-color: var(--c-secondary); opacity: 1; }
.kurashi-pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.kurashi-pagination .page-numbers.dots { border: none; min-width: 28px; background: none; }
.kurashi-pagination .page-numbers svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
	.kurashi-pagination .page-numbers { min-width: 40px; height: 40px; font-size: 0.9rem; }
}
/* =================================================================
   記事個別ページ（single）用CSS
   pages.css の後ろに追記
   ================================================================= */
.single-inner { max-width: 820px; }

/* ヘッダー */
.single-header { margin-bottom: 32px; }
.single-title { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.5; margin: 0 0 24px; }
.single-thumb { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.single-thumb img { width: 100%; height: auto; display: block; }

/* 目次 */
.toc-box { display: none; background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px 28px; margin: 0 0 40px; }
.toc-box.is-active { display: block; }
.toc-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; margin: 0 0 14px; }
.toc-ico svg { width: 18px; height: 18px; display: block; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-list > li.toc-l2 { counter-increment: toc; }
.toc-list > li.toc-l2 > a { position: relative; display: block; padding: 8px 0 8px 30px; font-family: var(--font-zen); font-weight: 700; font-size: 0.95rem; color: var(--c-text); line-height: 1.6; }
.toc-list > li.toc-l2 > a::before { content: counter(toc); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; }
.toc-list-h3 { list-style: none; margin: 0 0 4px; padding: 2px 0 6px 30px; }
.toc-list-h3 li.toc-l3 a { position: relative; display: block; padding: 5px 0 5px 16px; font-size: 0.88rem; color: var(--c-text-light); line-height: 1.6; }
.toc-list-h3 li.toc-l3 a::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--c-secondary); }
.toc-box a:hover { color: var(--c-secondary); opacity: 1; }

/* スクロール時に見出しがヘッダー下に止まるための余白 */
.entry-content .toc-anchor-target { scroll-margin-top: 180px; }

/* =========================================================
   本文（既存記事が崩れないよう汎用スタイル）
   ========================================================= */
.entry-content { font-size: 1rem; line-height: 2; color: var(--c-text); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.6em; }
.entry-content h2 { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.5; margin: 2.4em 0 1em; padding: 0 0 0 16px; border-left: 5px solid var(--c-accent); }
.entry-content h3 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: clamp(1.15rem, 2.4vw, 1.3rem); line-height: 1.5; margin: 2em 0 0.8em; padding: 0 0 10px; border-bottom: 2px solid var(--c-border); position: relative; }
.entry-content h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--c-secondary); }
.entry-content h4 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.1rem; margin: 1.6em 0 0.6em; }
.entry-content a { color: var(--c-secondary); text-decoration: underline; }
.entry-content a:hover { opacity: 0.8; }
.entry-content strong { font-weight: 700; color: var(--c-primary); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 0.6em 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { margin: 0; }
.entry-content figcaption { font-size: 0.82rem; color: var(--c-text-light); text-align: center; margin-top: 8px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em; padding-left: 0; }
.entry-content ul { list-style: none; }
.entry-content ul > li { position: relative; padding-left: 26px; margin-bottom: 0.7em; line-height: 1.9; }
.entry-content ul > li::before { content: ''; position: absolute; left: 4px; top: 0.7em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.entry-content ol { list-style: none; counter-reset: oli; }
.entry-content ol > li { position: relative; padding-left: 36px; margin-bottom: 0.7em; line-height: 1.9; counter-increment: oli; }
.entry-content ol > li::before { content: counter(oli); position: absolute; left: 0; top: 0.15em; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--c-bg-light); border-left: 4px solid var(--c-secondary); border-radius: 0 var(--radius) var(--radius) 0; color: var(--c-text-light); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; border: 1px solid var(--c-border); font-size: 0.92rem; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid var(--c-border); text-align: left; line-height: 1.7; }
.entry-content th { background: var(--c-bg-light); font-weight: 700; color: var(--c-primary); }
.entry-content hr { border: none; border-top: 1px solid var(--c-border); margin: 2.4em 0; }
.entry-content .wp-block-image { margin: 1.6em 0; }

/* 著者ボックス */
.author-box { margin-top: 48px; background: var(--c-bg-light); border-radius: var(--radius-lg); padding: 24px 28px; }
.author-label { font-family: var(--font-zen); font-weight: 700; font-size: 0.8rem; color: var(--c-secondary); margin: 0 0 14px; }
.author-body { display: flex; align-items: flex-start; gap: 18px; }
.author-avatar img { width: 72px; height: 72px; border-radius: 50%; display: block; }
.author-name { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; margin: 0 0 6px; }
.author-desc { font-size: 0.88rem; color: var(--c-text-light); line-height: 1.8; margin: 0; }
@media (max-width: 560px) { .author-body { flex-direction: column; gap: 12px; } }

/* 前後ナビ */
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 56px; }
.pn-link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transition: all 0.3s var(--ease); }
.pn-link:hover { opacity: 1; box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pn-label { display: flex; align-items: center; gap: 6px; font-family: var(--font-zen); font-weight: 700; font-size: 0.8rem; color: var(--c-secondary); }
.pn-label svg { width: 15px; height: 15px; }
.pn-next { text-align: right; }
.pn-next .pn-label { justify-content: flex-end; }
.pn-title { font-size: 0.9rem; color: var(--c-primary); font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-nav-center { display: flex; align-items: center; }
.pn-archive { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%; min-width: 96px; padding: 12px 18px; background: var(--c-primary); color: #fff; border-radius: var(--radius-lg); font-family: var(--font-zen); font-weight: 700; font-size: 0.82rem; text-align: center; transition: background 0.3s var(--ease); }
.pn-archive svg { width: 20px; height: 20px; }
.pn-archive:hover { background: var(--c-primary-dark); opacity: 1; }
@media (max-width: 680px) {
	.post-nav { grid-template-columns: 1fr 1fr; }
	.post-nav-center { grid-column: 1 / -1; order: 3; }
	.pn-archive { width: 100%; flex-direction: row; }
}

/* おすすめ記事 */
.related-posts { margin-top: 72px; }
.related-title { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: 1.5rem; text-align: center; margin: 0 0 28px; }
.related-title .en { display: block; font-family: var(--font-en); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; color: var(--c-secondary); margin-bottom: 4px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr 1fr; gap:30px; } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: all 0.35s var(--ease); }
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.related-link { display: flex; flex-direction: column; height: 100%; }
.related-link:hover { opacity: 1; }
.related-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-light); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.related-card-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.98rem; line-height: 1.55; margin: 0 0 12px; }
.related-more { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-zen); font-weight: 700; font-size: 0.82rem; color: var(--c-secondary); }
.related-more svg { width: 15px; height: 15px; }
/* =================================================================
   記事ページ（body.single）専用：ページタイトル帯の調整
   ※ 長いタイトルでも崩れないよう、記事ページだけ上書き
   pages.css の後ろに追記
   ================================================================= */

/* 帯の高さを長文向けに最適化（上下余白） */
body.single .page-head {
	padding-top: clamp(34px, 6vw, 56px);
	padding-bottom: clamp(34px, 6vw, 56px);
}
body.single .page-head .inner {
	padding-left: 20px;
	padding-right: 20px;
}

/* タイトル本体：長いほど自動で小さく、複数行でも整える */
body.single .page-head-title {
	font-size: clamp(1.25rem, 0.9rem + 1.7vw, 1.9rem);
	line-height: 1.55;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	word-break: auto-phrase;     /* 文節で自然改行（対応ブラウザ） */
	overflow-wrap: anywhere;     /* 非対応ブラウザの保険 */
	text-wrap: balance;          /* 行の長さを均す（対応ブラウザ） */
	/* PCでも最大3行に抑え、極端な長文は省略してはみ出し防止 */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 英語ラベル・透かし文字が長文と重ならないよう抑制 */
body.single .page-head-en {
	font-size: clamp(0.68rem, 0.6rem + 0.5vw, 0.82rem);
	margin-bottom: 6px;
}
body.single .page-head-wm {
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
}

/* ---- スマホ ---- */
@media (max-width: 768px) {
	body.single .page-head {
		padding-top: 28px;
		padding-bottom: 28px;
	}
	body.single .page-head-title {
		font-size: clamp(1.05rem, 0.8rem + 2.2vw, 1.4rem);
		line-height: 1.6;
		-webkit-line-clamp: 4;   /* スマホは最大4行まで許容 */
	}
}
/* =================================================================
   先進的窓リノベ2026事業（補助金）ページ用CSS
   pages.css の後ろに追記
   ================================================================= */
.subsidy-page { max-width: 920px; margin: 0 auto; }
.sub-sec { margin-bottom: 64px; }
.sub-sec:last-child { margin-bottom: 0; }
.sub-sec .page-h2{ margin: 60px 0 36px;}
.subsidy-page p { line-height: 1.95; margin:10px 0 16px; }
.sub-small { font-size: 0.84rem; color: var(--c-text-light); }
.sub-source { font-size: 0.78rem; color: var(--c-text-light); margin-top: 10px; }
.sub-highlight { background: #fff6ec; border-left: 4px solid var(--c-accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 20px; font-weight: 700; color: var(--c-primary); }

/* ① ヒーロー */
.sub-hero { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); border-radius: var(--radius-lg); padding: 44px 44px 40px; color: #fff; text-align: center; box-shadow: var(--shadow-hover); }
.sub-hero-badge { display: inline-block; background: var(--c-accent-strong); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.82rem; padding: 5px 18px; border-radius: 30px; margin-bottom: 18px; }
.sub-hero-title { font-family: var(--font-zen); font-weight: 900; color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.4; margin: 0 0 16px; }
.sub-hero-sub { font-family: var(--font-zen); font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.35rem); margin: 0 0 16px !important; }
.sub-hero-sub strong { color: #ffd23f; font-size: 1.15em; }
.sub-hero-note { font-size: 0.9rem !important; line-height: 1.9 !important; opacity: 0.95; max-width: 640px; margin: 0 auto 22px !important; }
.sub-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sub-chip { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.82rem; font-weight: 700; padding: 6px 16px; border-radius: 30px; }
@media (max-width: 768px) { .sub-hero { padding: 34px 22px 30px; } }

/* 共通CTA（簡易版） */
.sub-cta { background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin: 0 0 64px; }
.sub-cta-title { font-family: var(--font-zen); font-weight: 900; color: var(--c-primary); font-size: clamp(1.1rem, 2.6vw, 1.4rem); margin: 0 0 8px !important; }
.sub-cta-text { font-size: 0.92rem !important; color: var(--c-text); margin: 0 0 22px !important; }
.sub-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.sub-cta-actions .btn { min-width: 240px; }
.sub-cta-hours { font-size: 0.8rem !important; color: var(--c-text-light); margin: 0 !important; }
@media (max-width: 560px) { .sub-cta { padding: 26px 18px; } .sub-cta-actions .btn { width: 100%; } }

/* 見出し */
.sub-h3 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.2rem; margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-secondary); }

/* お悩みリスト */
.sub-worry { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sub-worry li { position: relative; background: var(--c-bg-light); border-radius: var(--radius); padding: 12px 16px 12px 40px; font-weight: 700; color: var(--c-primary); font-size: 0.92rem; }
.sub-worry li::before { content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 560px) { .sub-worry { grid-template-columns: 1fr; } }

/* 熱の出入り 2テーブル */
.heat-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.heat-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--c-border); }
.heat-head { padding: 16px 20px; font-family: var(--font-zen); font-weight: 700; color: #fff; font-size: 0.98rem; line-height: 1.5; display: flex; align-items: center; gap: 10px; }
.heat-season { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; }
.heat-winter .heat-head { background: linear-gradient(135deg, #2563eb, #044099); }
.heat-summer .heat-head { background: linear-gradient(135deg, #f97316, #FF5E00); }
.heat-table { width: 100%; border-collapse: collapse; background: #fff; }
.heat-table th, .heat-table td { padding: 12px 18px; border-bottom: 1px solid var(--c-border); font-size: 0.92rem; }
.heat-table th { text-align: left; color: var(--c-text); font-weight: 500; }
.heat-table td { text-align: right; font-family: var(--font-en); font-weight: 700; color: var(--c-text); width: 90px; }
.heat-table tr:last-child th, .heat-table tr:last-child td { border-bottom: none; }
.heat-table tr.is-top th { font-weight: 700; color: var(--c-primary); vertical-align: middle;}
.heat-table tr.is-top td { font-size: 1.6rem; font-weight: 900; }
.heat-winter .heat-table tr.is-top { background: #eff5ff; }
.heat-winter .heat-table tr.is-top td { color: #044099; }
.heat-summer .heat-table tr.is-top { background: #fff4ec; }
.heat-summer .heat-table tr.is-top td { color: #FF5E00; }
.heat-table tr.is-top td small { font-size: 0.9rem; }
@media (max-width: 680px) { .heat-tables { grid-template-columns: 1fr; gap: 18px; } }

/* 対象となる方 番号リスト */
.sub-ol { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: subol; display: grid; gap: 16px; }
.sub-ol > li { position: relative; padding-left: 44px; line-height: 1.9; counter-increment: subol; }
.sub-ol > li::before { content: counter(subol); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 所有者等テーブル */
.own-table { margin-top: 12px; }
.own-table table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); }
.own-table th { width:44px; background: var(--c-primary); color: #fff; font-family: var(--font-zen); font-size: 0.9rem; vertical-align: middle; text-align: center; padding: 12px 8px; line-height: 1.5; }
.own-table td { padding: 16px 18px; }
.own-table ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.own-table ul li { position: relative; padding-left: 18px; font-size: 0.9rem; line-height: 1.7; }
.own-table ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-secondary); }
.own-note { margin: 12px 0 0 !important; font-size: 0.82rem !important; color: var(--c-accent-strong); font-weight: 700; }

/* 対象工事テーブル */
.work-table { margin: 4px 0 16px; overflow-x: auto; }
.work-table table { width: 100%; min-width: 560px; border-collapse: collapse; border: 1px solid var(--c-border); }
.work-table td, .work-table th { border: 1px solid var(--c-border); padding: 12px 14px; font-size: 0.88rem; line-height: 1.7; vertical-align: middle; }
.work-table .wt-cat { width: 44px; background: var(--c-primary); color: #fff; font-family: var(--font-zen); text-align: center; }
.work-table .wt-type { background: #eef5ff; font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.work-table .wt-method { background: var(--c-bg-light); font-weight: 700; white-space: nowrap; }
.wt-anno { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--c-text-light); }

/* 補助額テーブル */
.hojogaku-scroll { overflow-x: auto; margin: 4px 0 16px; -webkit-overflow-scrolling: touch; }
.hojogaku { width: 100%; min-width: 600px; border-collapse: collapse; border: 1px solid var(--c-border); font-size: 0.86rem; }
.hojogaku th, .hojogaku td { border: 1px solid var(--c-border); padding: 10px 8px; text-align: center; }
.hojogaku thead th { background: var(--c-primary); color: #fff; font-family: var(--font-zen); font-weight: 700; vertical-align: middle;}
.hojogaku tbody th { background: #eef5ff; color: var(--c-primary); font-family: var(--font-zen); font-weight: 700; white-space: nowrap; }
.hojogaku tbody th small { font-weight: 400; color: var(--c-text-light); }
.hojogaku tbody td { font-family: var(--font-en); font-weight: 700; color: var(--c-text); }
.hojogaku tbody tr:nth-child(even) td { background: #fafbfc; }

/* 区分の注記 */
.size-note { background: var(--c-bg-light); border-radius: var(--radius-lg); padding: 20px 24px; margin: 0 0 16px; }
.size-note-title { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); margin: 0 0 12px !important; }
.size-note ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.size-note ul li { font-size: 0.86rem; line-height: 1.7; padding-left: 14px; position: relative; }
.size-note ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-secondary); }
.size-note ul li strong { color: var(--c-primary); margin-right: 4px; }

/* 公式リンク */
.sub-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.sub-links li a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-secondary); text-decoration: underline; font-size: 0.92rem; }
.sub-links li a::before { content: '↗'; font-size: 0.9em; }
/* =================================================================
   採用情報ページ用CSS（pages.css の後ろに追記）
   ================================================================= */
.recruit-page { max-width: 1000px; margin: 0 auto; }
.rc-sec { margin-bottom: 72px; }
.rc-sec:last-child { margin-bottom: 0; }
.rc-lead-c { text-align: center; font-size: 0.95rem; line-height: 1.9; color: var(--c-text); margin: -8px auto 28px; max-width: 720px; }
.rc-num-note { font-size: 0.78rem; color: var(--c-text-light); margin-top: 12px; text-align: center; }

/* 要確認マーカー（公開前に必ず差し替え／削除する） */
.rc-todo { color: #e0245e; font-weight: 700; }
.rc-todo::before { content: "【要確認】"; font-size: 0.85em; }

/* ① ヒーロー */
.rc-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); margin-bottom: 72px; max-width: 1200px; margin: 0 auto 60px;}
.rc-hero-inner { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.rc-hero-en { font-family: var(--font-en); font-weight: 700; letter-spacing: 0.2em; color: var(--c-secondary); font-size: 0.85rem; margin: 0 0 14px; }
.rc-hero-title { font-family: var(--font-zen); font-weight: 900; font-size: clamp(19.6px, 3vw, 2.1rem); line-height: 1.45; color: #fff; margin: 0 0 18px; word-break: auto-phrase; overflow-wrap: anywhere; text-align: center;}
.rc-hero-lead { font-size: 0.92rem; line-height: 1.9; opacity: 0.95; margin: 0 0 24px; }
.rc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.rc-hero-cas { font-size: 0.82rem; opacity: 0.85; margin: 0; }
.rc-hero-img { margin: 0; }
.rc-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block; min-height: 320px; }
@media (max-width: 768px) { .rc-hero { grid-template-columns: 1fr; margin:0 auto;
        padding: 0 24px 70px;
        border-radius: 0;} .rc-hero-inner { padding: 36px 20px; order: 2; } .rc-hero-img { order: 1; } .rc-hero-img img { min-height: 220px; } .rc-hero-actions .btn { width: 100%; } .rc-sec{ padding: 0 20px 0;}}

/* ② 数字 */
.rc-numbers { background: var(--c-bg-light); border-radius: var(--radius-lg); padding: 44px; }
.rc-h2-light { margin-top: 0; }
.rc-num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rc-num-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 16px; text-align: center; box-shadow: var(--shadow-card); }
.rc-num { display: block; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.1rem; }
.rc-num em { font-family: var(--font-en); font-style: normal; font-weight: 900; font-size: 2.6rem; color: var(--c-accent); line-height: 1; }
.rc-num em.rc-todo { color: #e0245e; }
.rc-num-label { display: block; margin-top: 8px; font-size: 0.84rem; color: var(--c-text-light); }
@media (max-width: 680px) { .rc-num-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .rc-numbers { margin: 60px auto 40px; padding: 30px 20px; } }

/* ③ 2カラム */
.rc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rc-two-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow-card); }
.rc-card-h { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.15rem; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--c-border); }
.rc-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rc-check li { position: relative; padding-left: 32px; font-size: 0.92rem; line-height: 1.7; color: var(--c-text); }
.rc-check li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-line); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat; }
@media (max-width: 680px) { .rc-two { grid-template-columns: 1fr; gap: 16px; } }

/* ④ 待遇・年収 */
.rc-salary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.rc-salary-card { border: 2px solid var(--c-primary); border-radius: var(--radius-lg); padding: 28px 30px; text-align: center; background: #fff; }
.rc-salary-job { display: inline-block; background: var(--c-primary); color: #fff; font-family: var(--font-zen); font-weight: 700; font-size: 0.9rem; padding: 6px 20px; border-radius: 30px; margin: 0 0 16px; }
.rc-salary-amount { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.1rem; margin: 0 0 8px; }
.rc-salary-amount em { font-family: var(--font-en); font-style: normal; font-weight: 900; font-size: 2.2rem; color: var(--c-accent-strong); }
.rc-salary-amount small { font-size: 0.9rem; }
.rc-salary-amount.rc-todo { color: #e0245e; font-size: 1rem; }
.rc-salary-model { font-size: 0.95rem; margin: 0 0 8px; color: var(--c-text); }
.rc-salary-model strong { color: var(--c-accent-strong); font-size: 1.05rem; }
.rc-salary-desc { font-size: 0.84rem; color: var(--c-text-light); margin: 0; }
@media (max-width: 680px) { .rc-salary-grid { grid-template-columns: 1fr; gap: 16px; } }
.rc-treat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rc-treat-item { display: flex; flex-direction: column; gap: 4px; background: var(--c-bg-light); border-radius: var(--radius); padding: 16px 18px; }
.rc-treat-label { font-family: var(--font-zen); font-weight: 700; color: var(--c-secondary); font-size: 0.82rem; }
.rc-treat-val { font-size: 0.92rem; color: var(--c-text); font-weight: 700; }
.rc-treat-val.rc-todo { color: #e0245e; }
@media (max-width: 680px) { .rc-treat-list { grid-template-columns: 1fr; } }

/* ⑤ 福利厚生 */
.rc-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rc-benefit { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px 14px; text-align: center; box-shadow: var(--shadow-card); transition: transform 0.3s var(--ease); }
.rc-benefit:hover { transform: translateY(-4px); }
/* 福利厚生アイコン（自作SVGをマスクで表示。色は color で変更） */
.rc-bene-ico { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(2, 154, 247, 0.1); color: var(--c-primary); font-size: 0; }
.rc-bene-ico::before { content: ""; width: 30px; height: 30px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.rc-bene-ico.ico-leave { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3Cpath d='M8.5 14.6l2.3 2.3 4.7-4.7'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-holiday { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4a8.5 8.5 0 0 0-8.5 8h17A8.5 8.5 0 0 0 12 4z'/%3E%3Cpath d='M12 4c-2.2 2.2-3.2 5-3.2 8M12 4c2.2 2.2 3.2 5 3.2 8M12 12v9M5 21h14'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-baby { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 11V4.5A6.5 6.5 0 0 1 20 11'/%3E%3Cpath d='M3 7h2.5l2 4H20a6 6 0 0 1-6 6h-1.5a5 5 0 0 1-5-6'/%3E%3Ccircle cx='9' cy='19.5' r='1.6'/%3E%3Ccircle cx='17' cy='19.5' r='1.6'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-insure { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.2-7.5 9.5-4.3-1.3-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.7 12.2l2.3 2.3 4.4-4.6'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-license { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 20H6a1.5 1.5 0 0 1-1.5-1.5v-14A1.5 1.5 0 0 1 6 3h12a1.5 1.5 0 0 1 1.5 1.5V9'/%3E%3Cpath d='M8 7.5h8M8 11h5'/%3E%3Ccircle cx='17' cy='14.5' r='3'/%3E%3Cpath d='M15.5 17.2V21l1.5-1 1.5 1v-3.8'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-car { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.6 16.5H3.5v-3.2c0-.7.4-1.3 1.1-1.5l2.1-.7 2-3.2A2 2 0 0 1 10.4 7h4.9a2 2 0 0 1 1.6.8l2.6 3.4 1.3.4c.7.2 1.2.8 1.2 1.5v3.4h-1.1M9.4 16.5h5.2M7 11h12.6M12.8 7v4'/%3E%3Ccircle cx='7' cy='16.5' r='2.4'/%3E%3Ccircle cx='17' cy='16.5' r='2.4'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-uniform { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 3.5L4 5.8l-1.2 4.7 3.2 1.1v8.9h12v-8.9l3.2-1.1L20 5.8l-4.5-2.3'/%3E%3Cpath d='M8.5 3.5L12 7l3.5-3.5M12 7v13.5M14.3 11h2.2'/%3E%3C/svg%3E"); }
.rc-bene-ico.ico-pension { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='9.5' cy='6' rx='5.5' ry='2.2'/%3E%3Cpath d='M4 6v8.5c0 1.2 2.1 2.1 4.8 2.2M15 6v3.4M4 10.3c0 1.2 2.4 2.2 5.5 2.2'/%3E%3Ccircle cx='16.5' cy='16' r='4.5'/%3E%3Cpath d='M14.9 13.7l1.6 2.1 1.6-2.1M16.5 15.8v2.8M15 16.4h3M15 17.7h3'/%3E%3C/svg%3E"); }
.rc-bene-t { display: block; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.92rem; margin: 10px 0 4px; }
.rc-bene-v { display: block; font-size: 0.8rem; color: var(--c-text-light); }
@media (max-width: 680px) { .rc-benefit-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* =========================================================
   タブグループ（募集要項・キャリアパス・スケジュール 共通）
   背景パネルで「切り替えエリア」を認識しやすく
   ========================================================= */
.rc-tabgroup { background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 10px 10px 10px; overflow: hidden; margin-bottom:70px;}

/* タブ（ボタン） */
.rc-tabs { display: flex; gap: 8px; margin: 0; }
.rc-tab { flex: 1; padding: 16px 12px; background: #e9eef5; border: none; border-radius: var(--radius) var(--radius) 0 0; font-family: var(--font-zen); font-weight: 700; font-size: 1rem; color: var(--c-text-light); cursor: pointer; transition: all 0.25s var(--ease); position: relative; }
.rc-tab:hover { color: var(--c-primary); background: #dfe7f1; }
.rc-tab.is-active { background: #fff; color: var(--c-primary); box-shadow: 0 -3px 0 var(--c-secondary) inset; }
.rc-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fff; }

/* パネル（中身）：白背景でタブと地続きに見せる */
.rc-tabpanel { display: none; background: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 28px 30px; }
.rc-tabpanel.is-active { display: block; animation: rcFade 0.4s var(--ease); }
@keyframes rcFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.rc-tabgroup { padding: 8px 8px 0; }
	.rc-tab { padding: 13px 8px; font-size: 0.92rem; }
	.rc-tabpanel { padding: 22px 18px; }
}

/* 募集要項：職種サマリー */
.rc-job-summary { background: var(--c-bg-light); border-radius: var(--radius-lg); padding: 26px 30px; margin-bottom: 24px; }
.rc-job-h { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.2rem; margin: 0 0 10px; }
.rc-job-summary > p { font-size: 0.92rem; line-height: 1.85; margin: 0 0 18px; }
.rc-req-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rc-req-col h4 { font-family: var(--font-zen); font-weight: 700; font-size: 0.9rem; color: var(--c-secondary); margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--c-accent); }
.rc-req-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rc-req-col ul li { position: relative; padding-left: 16px; font-size: 0.88rem; line-height: 1.6; }
.rc-req-col ul li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-secondary); }
@media (max-width: 560px) { .rc-req-cols { grid-template-columns: 1fr; gap: 14px; } }
.rc-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-border); }
.rc-table th, .rc-table td { border: 1px solid var(--c-border); padding: 14px 18px; text-align: left; font-size: 0.9rem; line-height: 1.7; vertical-align: top; }
.rc-table th { width: 160px; background: var(--c-bg-light); font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); white-space: nowrap; }
@media (max-width: 600px) { .rc-table th, .rc-table td { display: block; width: 100%; } .rc-table th { border-bottom: none; } }

/* ⑥ キャリアパス（タブ内に入るので下マージン調整） */
.rc-career { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 auto;}
.rc-career-step { position: relative; background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-secondary); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-card); }
.rc-career-step.rc-todo { border-top-color: #e0245e; }
.rc-career-year { display: inline-block; font-family: var(--font-en); font-weight: 900; color: var(--c-accent); font-size: 0.95rem; margin-bottom: 8px; }
.rc-career-step h4 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; margin: 0 0 10px; }
.rc-career-step p { font-size: 0.86rem; line-height: 1.8; color: var(--c-text); margin: 0; }
.rc-career-step.rc-todo h4, .rc-career-step.rc-todo p, .rc-career-step.rc-todo .rc-career-year { color: #e0245e; }
.rc-career-step.rc-todo::before { content: ""; }
@media (max-width: 880px) { .rc-career { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .rc-career { grid-template-columns: 1fr; } }

/* ⑦ スケジュール */
.rc-timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 30px; }
.rc-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--c-border); }
.rc-tl-item { position: relative; display: flex; gap: 20px; padding-bottom: 26px; }
.rc-tl-item:last-child { padding-bottom: 0; }
.rc-tl-item::before { content: ''; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-secondary); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--c-border); }
.rc-tl-time { flex: none; width: 56px; font-family: var(--font-en); font-weight: 900; color: var(--c-primary); font-size: 1rem; padding-top: 1px; }
.rc-tl-body h4 { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1rem; margin: 0 0 4px; }
.rc-tl-body p { font-size: 0.88rem; line-height: 1.7; color: var(--c-text-light); margin: 0; }
.rc-timeline.rc-todo::before { background: #f3b4c6; }
.rc-timeline.rc-todo .rc-tl-time, .rc-timeline.rc-todo .rc-tl-body h4, .rc-timeline.rc-todo .rc-tl-body p { color: #e0245e; }
.rc-timeline.rc-todo::after { content: ""; }

/* ⑧ 先輩の声 */
.rc-voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rc-voice-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
.rc-voice-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.rc-voice-photo { flex: none; width: 120px; height: 120px; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px rgba(2, 154, 247, 0.12); }
.rc-voice-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-voice-job { display: inline-block; background: var(--c-primary); color: #fff; font-size: 0.74rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.rc-voice-job-2 { background: var(--c-accent); }
.rc-voice-name { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 0.98rem; margin: 8px 0 0; }
.rc-voice-name span { display: block; margin-top: 4px; white-space: nowrap; font-weight: 400; font-size: 0.78rem; color: var(--c-text-light); }
.rc-voice-qa { margin: 0; }
.rc-voice-qa dt { font-family: var(--font-zen); font-weight: 700; color: var(--c-secondary); font-size: 0.82rem; margin-top: 12px; }
.rc-voice-qa dt:first-child { margin-top: 0; }
.rc-voice-qa dd { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.75; color: var(--c-text); }
@media (max-width: 880px) { .rc-voice-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ⑩ FAQ */
.rc-faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.rc-faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-card); }
.rc-faq-q { position: relative; font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1rem; margin: 0 0 10px; padding-left: 30px; }
.rc-faq-q::before { content: 'Q'; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 0.78rem; display: flex; align-items: center; justify-content: center; }
.rc-faq-a { font-size: 0.9rem; line-height: 1.85; color: var(--c-text); margin: 0; padding-left: 30px; }

/* ⑪ 応募導線 */
.rc-entry { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); border-radius: var(--radius-lg); padding: 48px 44px; text-align: center; color: #fff; }
.rc-entry-title { font-family: var(--font-zen); font-weight: 900; font-size: clamp(1.4rem, 3vw, 1.9rem); color: #fff; margin: 0 0 12px; }
.rc-entry-text { font-size: 0.95rem; line-height: 1.8; opacity: 0.95; margin: 0 0 24px; }
.rc-entry-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.rc-entry-actions .btn { min-width: 220px; }
.rc-entry-hours { font-size: 0.8rem; opacity: 0.85; margin: 0 0 32px; }
.rc-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; text-align: left; color: var(--c-text); }
.rc-form .h3form { font-family: var(--font-zen); font-weight: 700; color: var(--c-primary); font-size: 1.15rem; margin: 0 0 20px; text-align: center; }
.page-id-109 .footer-cta{ display:none; }
@media (max-width: 560px) { .rc-entry { padding: 34px 20px; } .rc-entry-actions .btn { width: 100%; } .rc-form { padding: 24px 18px; } .rc-entry-title{font-size: clamp(20px, 3vw, 1.9rem);}}

/* =================================================================
   求人フォーム：職務経歴ブロック＆センタリング
   recruit.css（または contact.css）の後ろに追記
   ================================================================= */

/* 職務経歴ブロックを枠で囲んで区別 */
.shokumu-block { margin: 28px 0; padding: 8px 26px 24px; background: #f3f7fc; border: 1px solid #cfe0f3; border-radius: var(--radius-lg); position: relative; }

/* 「職務経歴」見出しを目立たせる */
.shokumu { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-zen); font-weight: 700; color: #fff; font-size: 1rem; background: var(--c-primary); padding: 10px 22px; border-radius: var(--radius-pill); margin: -20px 0 8px; box-shadow: 0 6px 14px rgba(4,64,153,0.2); }
.shokumu .nini { background: #fff; color: var(--c-primary); font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.shokumu-lead { font-size: 0.84rem; color: var(--c-text-light); margin: 0 0 4px; }

/* 必須バッジとの色分け（任意は控えめ） */
.hissu { background: var(--c-accent-strong); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; margin-left: 8px; }

/* プライバシー・同意・送信をセンタリング */
.form-privacy, .form-accept, .form-submit { text-align: center; }
.form-privacy { margin: 28px 0 12px; }
.formpri { font-size: 0.9rem; color: var(--c-secondary); text-decoration: underline; }
.form-accept { font-size: 0.92rem; margin: 0 0 22px; }
.form-accept .wpcf7-list-item { margin: 0; }
.form-submit { margin: 0; }

/* 念のため、中央寄せを強制（テーマCSSが左寄せでも勝てるように） */
.form-wrap .form-privacy,
.form-wrap .form-accept,
.form-wrap .form-submit { text-align: center !important; }
.wpcf7-spinner{
display:none;
}
/* =================================================================
   8. RESPONSIVE（レスポンシブ）
   ================================================================= */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-section: 60px;
    }

    body { font-size: 0.95rem; line-height: 1.8; }

    .section-title { font-size: 1.6rem; }
    .section-header { margin-bottom: 40px; }

    .btn { padding: 14px 32px; }

    /* 表示切り替え：スマホでは .pc を隠し、.sp を表示 */
    .pc { display: none !important; }
    .sp { display: block !important; }
	.recruit-bar{display: none;}
.hero-cta-fixed{
transform: translateX(-50%);
    gap: 3%;
    width: 96%;
bottom:94px;
	}
}
/* 応募フォーム：希望職種の選択欄 */
.form-wrap select { width: 100%; padding: 13px 44px 13px 16px; border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 1rem; font-family: var(--font-jp-sans); color: var(--c-text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23044099' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; cursor: pointer; transition: border-color 0.3s, box-shadow 0.3s; }
.form-wrap select:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(2,154,247,0.15); }
.wpcf7-form select.wpcf7-not-valid { border-color: var(--c-accent-strong) !important; box-shadow: 0 0 0 3px rgba(255,94,0,0.12) !important; }

/* 会社情報：地域とのつながり（動物スポンサー認定証） */
.sponsor-cert { margin: 0; }
.sponsor-cert a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.sponsor-cert img { width: 100%; height: auto; display: block; }
.sponsor-grid .page-h3 { margin-top: 0; }
.sponsor-term { font-weight: 700; }
@media (max-width: 768px) { .sponsor-cert { max-width: 280px; margin: 0 auto; } }

/* トップ：地域とのつながり（動物スポンサー） */
.community-band { padding: 56px 0 0; }
.community-card { display: flex; align-items: center; gap: 28px; max-width: 760px; margin: 0 auto; padding: 22px 28px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); color: var(--c-text); text-decoration: none; transition: box-shadow 0.3s, transform 0.3s; }
.community-card:hover { box-shadow: 0 10px 28px rgba(4, 64, 153, 0.12); transform: translateY(-2px); }
.community-thumb { flex: 0 0 96px; }
.community-thumb img { width: 96px; height: auto; display: block; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.community-body { display: flex; flex-direction: column; gap: 6px; }
.community-body .eyebrow { margin: 0; }
.community-title { font-weight: 700; font-size: 1.15rem; color: var(--c-primary); line-height: 1.5; }
.community-text { font-size: 0.92rem; line-height: 1.7; }
.community-more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 700; color: var(--c-secondary); }
.community-more svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
	.community-band { padding-top: 40px; }
	.community-card { gap: 16px; padding: 16px; }
	.community-thumb { flex-basis: 72px; }
	.community-thumb img { width: 72px; }
	.community-title { font-size: 1rem; }
	.community-text { font-size: 0.85rem; }
}
