/*
Theme Name: M's Security Theme (Full Design)
Description: Reactデザインを忠実に再現したオリジナルテーマ (CF7対応版)
Author: Custom
Version: 2.3.0
*/

/* ------------------------------------------------------------------
   1. 変数・リセット・基本設定
------------------------------------------------------------------ */
:root {
    --color-primary: #d32225;
    --color-primary-dark: #b91c1f;
    --color-secondary: #DD9933;
    --color-bg-light: #f8f6f6;
    --color-text-main: #171212;
    --color-text-sub: #555555;
    --color-surface-dark: #201212;
    --color-surface-light: #ffffff;
    --color-white: #ffffff;
    --font-base: "Manrope", "Noto Sans JP", sans-serif;
    --width-max: 1280px;
    --header-height: 80px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; }
p { margin: 0; margin-bottom: 1rem; }

/* 共通ユーティリティ */
.container {
    max-width: var(--width-max);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
.hidden { display: none; }
.md-hidden { display: none; }
@media (max-width: 767px) { .md-hidden { display: inline; } }

/* 改行調整 */
.sp-only { display: none;}
@media (max-width: 767px){ .sp-only { display: block;}}

/* ボタン共通 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    line-height: 1;
    border: none; /* CF7 input対策 */
    appearance: none; /* CF7 input対策 */
	padding:10px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(211, 34, 37, 0.3);
    padding: 10px;
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 15px -3px rgba(211, 34, 37, 0.5);
}
.btn-white {
    background-color: #fff;
    color: var(--color-text-main);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.btn-white:hover { background-color: #f3f4f6; }

/* ------------------------------------------------------------------
   2. Header
------------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
/* ロゴ */
.header-logo-link { display: flex; align-items: center; gap: 12px; }
.header-logo-icon {
    color: var(--color-primary);
    background-color: rgba(211, 34, 37, 0.1);
    padding: 8px;
    border-radius: 8px;
    display: flex;
}
.header-logo-text { font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--color-text-main); }
@media (min-width: 768px) { .header-logo-text, .header-logo-text h1 { font-size: 1.125rem; } }

/* PCナビ */
.desktop-nav-area { display: none; }
@media (min-width: 1024px) { .desktop-nav-area { display: flex; align-items: center; gap: 32px; } }
.desktop-nav-list { display: flex; align-items: center; gap: 24px; }
.desktop-nav-item { font-size: 0.9rem; font-weight: 700; color: var(--color-text-main); position: relative; }
.desktop-nav-item:hover { color: var(--color-primary); }
.desktop-nav-item .underline-bar {
    position: absolute; bottom: -4px; left: 0; height: 2px;
    background-color: var(--color-primary); width: 0; transition: width 0.3s;
}
.desktop-nav-item:hover .underline-bar, .desktop-nav-item.current .underline-bar { width: 100%; }
.desktop-nav-item.current { color: var(--color-primary); }

/* ヘッダーCTA */
.header-cta-group { display: flex; align-items: center; gap: 16px; border-left: 1px solid #e5e5e5; padding-left: 24px; }
.header-tel-box { display: flex; flex-direction: column; align-items: baseline; }
.header-tel-label { font-size: 0.75rem; font-weight: 700; color: var(--color-text-sub); }
.header-tel-num { font-size: 1.25rem; font-weight: 900; color: var(--color-primary); line-height: 1; }
.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px; padding: 0 24px; border-radius: 8px;
    background-color: var(--color-primary); color: #fff;
    font-size: 0.875rem; font-weight: 700;
    box-shadow: 0 4px 6px rgba(211, 34, 37, 0.3);
}
.header-btn:hover { background-color: var(--color-primary-dark); }

/* モバイルメニューボタン */
.mobile-menu-toggle { display: block; background: none; border: none; padding: 8px; cursor: pointer; color: var(--color-text-main); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

/* モバイルメニュー本体 */
.mobile-menu-overlay {
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 0; visibility: hidden;
    position: absolute; top: 100%; left: 0; width: 100%;
    background-color: #fff; border-bottom: 1px solid #e5e5e5;
    padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-menu-overlay.is-open { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-overlay.is-open nav { display: flex; flex-direction: column; }
.mobile-nav-link { font-size: 1.1rem; font-weight: 700; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.mobile-cta-area { display: flex; flex-direction: column; gap: 15px; margin-top: 10px; }
.mobile-tel-row { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.25rem; color: var(--color-primary); }
.mobile-cta-btn {
    display: flex; align-items: center; justify-content: center;
    height: 50px; width: 100%; background-color: var(--color-primary); color: #fff;
    font-weight: 700; border-radius: 8px;
}

/* ------------------------------------------------------------------
   3. Top Page - Hero (左寄せレイアウト修正箇所)
------------------------------------------------------------------ */
.hero-section {
    position: relative; width: 100%; min-height: 560px;
    /* 縦方向は中央揃えだが、横方向はコンテナに委ねる */
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    background-color: #000;
}
@media (min-width: 768px) { .hero-section { min-height: 700px; } }
.hero-bg-wrapper { position: absolute; inset: 0; z-index: 0; }

/* 修正: 左側(テキスト側)を暗く、右側(人物側)を明るくするグラデーション */
.hero-overlay {
    position: absolute; inset: 0; z-index: 10;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}

/* 修正: 画像の右端(人物)を基準に配置固定 */
.hero-img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: right center; /* これで人物が常に右側に来ます */
}

/* 修正: コンテンツエリアを左寄せにする設定 */
.hero-content {
    position: relative; z-index: 20; padding: 60px 0;
    width: 100%;
    display: flex;           /* Flexbox化 */
    justify-content: flex-start; /* 左寄せ */
    align-items: center;     /* 縦中央 */
}

/* 修正: テキストボックスを左側に限定 */
.hero-text-box {
    width: 100%;
    /* PCでは幅を55%程度に制限し、右側(人物スペース)を空ける */
    max-width: 850px; 
    margin-right: auto; /* 右側のマージンを自動＝左寄せ */
    margin-left: 0;     /* 左端 */
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; border-radius: 50px;
    font-size: 0.9rem; font-weight: 700; margin-bottom: 20px;
}
.hero-title {
    color: #fff; font-weight: 900; font-size: 1.75rem; line-height: 1.4; margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .hero-title { font-size: 3.5rem; margin-bottom: 30px; line-height:5rem;} }
.hero-desc { color: #e5e7eb; font-size: 1.1rem; font-weight: 500; margin-bottom: 40px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

/* バッジグリッド */
.hero-badges-container { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.hero-badges-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .hero-badges-row { grid-template-columns: 1fr 1fr 1fr; } }

.badge-card {
    background-color: #fff; border-radius: 8px; padding: 16px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 12px;
    border-left: 4px solid var(--color-primary); transition: transform 0.2s;
}
.badge-card:hover { transform: scale(1.02); }
.badge-card.secondary { border-color: var(--color-secondary); }
.badge-icon-box {
    background-color: rgba(211, 34, 37, 0.1); padding: 8px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.badge-card.secondary .badge-icon-box { background-color: rgba(221, 153, 51, 0.1); }
.badge-label { font-size: 0.75rem; color: #6b7280; font-weight: 700; display: block; }
.badge-main { font-size: 1.1rem; color: var(--color-text-main); font-weight: 700; }

.hero-btns { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero-btns { flex-direction: row; } }
.hero-btn { flex: 1; height: 64px; font-size: 1.1rem; }

/* ------------------------------------------------------------------
   4. Anxiety Resolution Section
------------------------------------------------------------------ */
.anxiety-section { padding: 80px 0; background-color: var(--color-bg-light); position: relative; overflow: hidden; }
@media (min-width: 768px) { .anxiety-section { padding: 120px 0; } }
.anxiety-bg-skew {
    position: absolute; top: 0; right: 0; width: 50%; height: 100%;
    background-color: #fff; opacity: 0.5; transform: skewX(12deg) translateX(50%); z-index: 0;
}
.anxiety-container { position: relative; z-index: 10; max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.qa-list { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }
.qa-item { display: flex; flex-direction: column; align-items: center; gap: 20px; }
@media (min-width: 768px) { .qa-item { flex-direction: row; align-items: center; } }

.qa-box-worry, .qa-box-solve {
    background: #fff; padding: 24px; border-radius: 16px; width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); position: relative;
}
.qa-box-worry { border: 1px solid #f3f4f6; }
@media (min-width: 768px) { .qa-box-worry { border-top-right-radius: 0; border-bottom-right-radius: 0; } }
.qa-worry-corner {
    display: none; position: absolute; right: -10px; top: 0; width: 20px; height: 20px;
    background: #fff; transform: rotate(45deg); border-top: 1px solid #f3f4f6; border-right: 1px solid #f3f4f6;
}
@media (min-width: 768px) { .qa-worry-corner { display: block; } }

.qa-box-solve {
    background-color: #fef2f2; border: 2px solid rgba(211, 34, 37, 0.2);
}
@media (min-width: 768px) { .qa-box-solve { border-top-left-radius: 0; border-bottom-left-radius: 0; } }

.qa-arrow {
    width: 40px; height: 40px; background: var(--color-primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 4px solid #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 2;
}

/* sp矢印向き、幅調整 */
.qa-arrow { flex: 0 0 40px; }
@media (max-width: 768px){ .icon-arrow-rotate { transform: rotate(90deg); } .qa-item { gap: 10px;} }
/* paリスト下部余白調整 */
.qa-list p {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------
   5. Merit Section
------------------------------------------------------------------ */
.merit-section { padding: 80px 0; background: #fff; }
.merit-row { display: flex; flex-direction: column; gap: 30px; margin-bottom: 80px; align-items: center; }
@media (min-width: 768px) { .merit-row { flex-direction: row; gap: 60px; } .merit-row.reverse { flex-direction: row-reverse; } }

.merit-img-box { position: relative; width: 100%; max-width: 500px; }
.merit-img-bg {
    position: absolute; inset: -10px; background: rgba(211,34,37,0.2);
    border-radius: 30px; transform: rotate(-3deg); transition: 0.3s;
}
.merit-img-box:hover .merit-img-bg { transform: rotate(0); }
.merit-img-inner {
    position: relative; border-radius: 20px; overflow: hidden; height: 300px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.merit-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.merit-img-inner:hover .merit-img { transform: scale(1.1); }
.merit-label {
    position: absolute; top: 0; left: 0; background: var(--color-primary); color: #fff;
    padding: 10px 20px; font-weight: bold; border-bottom-right-radius: 20px;
}
.merit-row.reverse .merit-label { left: auto; right: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 20px; }

/* ------------------------------------------------------------------
   6. Flow & CTA
------------------------------------------------------------------ */
.flow-section { padding: 80px 0; background: #fafafa; }
/* PC Flow */
.flow-pc { display: none; position: relative; justify-content: space-between; margin-top: 50px; }
@media (min-width: 768px) { .flow-pc { display: flex; } }
.flow-line { position: absolute; top: 50px; left: 0; width: 100%; height: 4px; background: #e5e5e5; z-index: 0; }
.flow-item { position: relative; z-index: 10; text-align: center; flex: 1; }
.flow-circle {
    width: 100px; height: 100px; background: #fff; border: 4px solid var(--color-primary);
    border-radius: 50%; margin: 0 auto 20px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; font-weight: 900; line-height: 1;
}
.flow-circle.filled { background: var(--color-primary); color: #fff; }

/* SP Flow */
.flow-sp { display: block; border-left: 4px solid #e5e5e5; margin-left: 20px; padding-left: 20px; display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) { .flow-sp { display: none; } }
.flow-sp-item { position: relative; background: #fff; padding: 20px; border-radius: 10px; border: 1px solid #eee; }
.flow-sp-dot {
    position: absolute; left: -32.77px; top: 20px; width: 20px; height: 20px;
    background: var(--color-primary); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.cta-section {
    padding: 100px 0; background: linear-gradient(135deg, #d32225, #8b0000); color: #fff;
    text-align: center;
}
.cta-box {
    background: #fff; color: var(--color-text-main); max-width: 900px; margin: 40px auto 0;
    border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr; gap: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .cta-box { grid-template-columns: 1fr 1fr; padding: 60px; } }

/* 画面幅によって文字サイズ可変 */
.cta-heading {
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  white-space: nowrap;
}
.cta-tel .cta-tel-icon{
	font-size: 2.5rem;
	line-height: 1;
}
.cta-tel .cta-tel-number{
	font-weight:900;
	color:#000;
	font-size: 2.5rem;
}
@media (max-width: 768px) {
	.cta-box {
		gap: 10px;
	}
}
@media (min-width: 768px) and (max-width: 954px){
	.cta-tel .cta-tel-icon,
	.cta-tel .cta-tel-number {
		font-size: 1.8rem;
	}
}
@media (min-width: 350px) and (max-width: 477px){
	.cta-tel .cta-tel-icon,
	.cta-tel .cta-tel-number {
		font-size: clamp(1.5rem, 7vw, 1.8rem);
	}
}
@media(max-width: 349px){
	.cta-tel .cta-tel-icon,
	.cta-tel .cta-tel-number {
		font-size: 1.3rem;
	}
}
/* ------------------------------------------------------------------
   7. Footer
------------------------------------------------------------------ */
.site-footer {
    background: #fff; color: #fff; padding: 80px 0 40px;
}
.footer-grid { display: grid; gap: 40px; margin-bottom: 60px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links a { display: block; color: #000; padding: 5px 0; display: flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: #fff; padding-left: 5px; }

/* フッターロゴのスタイル調整（追加） */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    margin-bottom: 5px;
}
.footer-logo-icon {
    color: var(--color-primary);
    font-size: 36px !important; /* 少し大きく */
}
.footer-logo-text {
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.6rem; /* 会社名を大きく */
}
.footer-logo-subtext {
    font-size: 1rem; /* サブテキストも少し大きく */
    color: #000;
    font-weight: 400;
}

/* ------------------------------------------------------------------
   8. Page Commons (Company, Recruit, Contact)
------------------------------------------------------------------ */
.page-hero {
    position: relative; height: 300px; display: flex; align-items: center; justify-content: center;
    background: #222; color: #fff; text-align: center;
}
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.page-hero h1 { font-size: 2.5rem; font-weight: 900; position: relative; z-index: 10; margin-bottom: 5px; }
.breadcrumb { background: #fff; border-bottom: 1px solid #eee; padding: 15px 0; font-size: 0.9rem; color: #666; }

/* 会社概要テーブル */
.company-table { width: 100%; border-collapse: collapse; background: #fff; }
.company-table th, .company-table td { padding: 20px; border-bottom: 1px solid #eee; text-align: left; }
.company-table th { background: #fafafa; width: 30%; font-weight: 700; }
@media (max-width: 600px) { .company-table th, .company-table td { display: block; width: 100%; } }

/* 募集要項リスト */
.recruit-row { display: flex; flex-direction: column; border-bottom: 1px solid #eee; background: #fff; }
@media (min-width: 768px) { .recruit-row { flex-direction: row; } }
.recruit-th { width: 100%; padding: 20px; background: #fafafa; font-weight: 700; display: flex; align-items: center; gap: 10px; }
@media (min-width: 768px) { .recruit-th { width: 25%; } }
.recruit-td { padding: 20px; flex: 1; }

/* フォーム共通スタイル (CF7用含む) */
.contact-form-wrap {
    background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 800px; margin: -50px auto 0; position: relative; z-index: 10;
}
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 700; margin-bottom: 8px; }
.badge-required { background: var(--color-primary); color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.badge-any { background: #999; color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }

/* Contact Form 7 Inputs */
.form-control, 
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%; padding: 14px; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; background: #fafafa; box-sizing: border-box;
}
.form-control:focus,
.wpcf7-form-control:not(.wpcf7-submit):focus { border-color: var(--color-secondary); outline: none; background: #fff; }

/* CF7 Submit Button Specifics */
input.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 64px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(211, 34, 37, 0.3);
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
}
input.wpcf7-submit:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}
.btn-wide { width: 100%; max-width: 400px; height: 64px; font-size: 1.25rem; border-radius: 12px; }

/* CF7 Error Message Tweak */
.wpcf7-not-valid-tip { font-size: 0.8rem; margin-top: 5px; font-weight: bold; }
.wpcf7-response-output { border-radius: 8px; padding: 15px !important; margin: 20px 0 !important; font-size: 0.9rem; }

/* ------------------------------------------------------------------
   Animation Definitions (アニメーション)
------------------------------------------------------------------ */
.js-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.js-scroll.in-view { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@keyframes subtleZoom { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.animate-subtle-zoom { animation: subtleZoom 20s ease-in-out infinite; will-change: transform; }

/* sp幅レイアウト調整 20260113 */
.company-info-box {
	background:#f9f9f9;
	padding:40px;
	border-radius:10px;
}
.recruit-cta-btn {
	width: 200px;
}
@media (max-width: 768px) {
	.page-hero {
		height: 200px;
	}
}
@media (max-width: 600px) {
	.company-info-box {
		padding-left: 10px;
		padding-right: 10px;
	}
}
/* サンクスページ */
.thanks-content {
	max-width: 530px;
	margin: 0 auto;
}
/* 固定ページタイトル */
.page-static-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .page-static-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}
/* プライバシーポリシー */
.privacy-policy .privacy-list {
  list-style: disc;
  padding-left: 1.5em;
　margin: 16px 0 24px;
}
.privacy-text {
  line-height: 1.8;
}
.privacy-heading {
  margin-top: 48px;
  margin-bottom: 16px;
}
/* コンタクトフォーム 同意チェック */
/* プライバシーポリシーリンク */
.privacy-link {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 500;
}
.privacy-link:hover {
  opacity: 0.8;
}
/* 同意チェック項目だけ装飾を外す */
.form-group-acceptance .wpcf7-acceptance {
  border: none;
  background: transparent;
  padding: 0;
}
.form-group-acceptance {
	text-align: center;
}
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-spinner {
	display: none;
}
/* header 受付時間追加 */
.header-tel-sub {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 2px;
}
/* hero ctaボタン */
/* 上部バッジ */
.hero-badge { border-color: #facc15;}
/* バッジ：黄色背景 */
.badge-filled { background-color: #facc15; color: var(--color-text-main); }

/* 電話ボタンだけ縦並びにする */
.hero-tel-btn {
  display: flex;            /* 念のため明示 */
  flex-direction: column;  /* ← これで確実に下に落ちる */
  justify-content: center;
  align-items: center;
  gap: 4px;
}
/* 上段：アイコン＋番号 */
.hero-tel-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
/* 下段：受付時間 */
.hero-tel-sub {
  font-size: 0.75rem;
  color: var(--color-text-sub);
}
@media (max-width: 639px){
  .hero-btns .hero-btn{
    flex: 0 0 auto;   /* ← flex:1 を打ち消す（高さ方向に伸びなくする） */
    height: 60px;     /* ← ここで高さが効くようになる */
  }
}

/* footer 標識 */
.footer-cert {
  margin-top: 16px;
}
.footer-cert-img {
  max-width: 350px;   /* PCで大きくなりすぎない */
  width: 100%;
  height: auto;
  text-align: center;
}

/* =========================
   フッター追従ボタン（SP専用）
========================= */
.footer-fixed{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;

  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));

  background: rgba(255,255,255,.92);
  box-shadow: 0 -1px 10px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* リスト横並び */
.footer-fixed__list{
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: center;

  margin: 0;
  padding: 0;
  list-style: none;
}

/* li を均等幅に */
.footer-fixed__item{
  flex: 1;
  min-width: 0;
}

/* ボタン共通 */
.footer-fixed__btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  height: 46px;
  padding: 0 12px;

  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 電話ボタン */
.footer-fixed__btn--tel{
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17,24,39,.18);
}

/* 応募ボタン */
.footer-fixed__btn--contact{
	background: var(--color-primary);
	color: var(--title-color);
	border: 1px solid transparent;
}

/* アイコン */
.footer-fixed__icon,.footer-fixed__icon-tel{
  font-size: 18px;
}
.footer-fixed__icon-tel {
	color: var(--color-primary);
}
/* 電話番号強調 */
.footer-fixed__tel{
  font-weight: 800;
  letter-spacing: .02em;
}

/* PC では非表示（念のため） */
@media (min-width: 768px){
  .footer-fixed.sp-only{ display: none; }
}
