@charset "utf-8";

/* PCでは改行を無効化 */
.sp-br {
    display: none;
}

/* --------------------------------------------------
   表示切り替えユーティリティ
-------------------------------------------------- */
/* SP専用：PCでは非表示 */
.sp-only {
    display: none !important;
}

/* PC専用：PCでは表示（inline） */
@media (min-width: 769px) {
    .sp-only {
        display: none !important;
    }

    .pc-only {
        display: inline !important;
    }

    /* panel-columnsはflexで横並びに */
    .panel-columns.pc-only {
        display: flex !important;
    }

    /* スマホメニューはPC非表示 */
    .sp-overlay-menu {
        display: none !important;
    }

    .lineup-toggle-btn {
        display: none !important;
    }
}

/* ============================================================
   レスポンシブ設定
   ============================================================ */

/* タブレット：1024px以下 */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        flex: 1;
    }

    .contents-wrapper {
        flex-direction: column;
    }
}

/* スマホ：768px以下 */
@media (max-width: 768px) {

    /* スマホ用基本設定 */
    .sp-only {
        display: block !important;
    }

    .pc-only {
        display: none !important;
    }

    /* スマホ（768px以下）で改行を有効化 */
    .sp-br {
        display: block;
    }

    /* コンテンツがナビに隠れないようにbodyに余白を追加 */
    body {
        padding-bottom: 80px;
    }

    /* ヘッダーナビゲーション非表示 */
    .header-nav {
        display: none !important;
    }

    /* 固定フッターナビ表示 */
    .bottom-sticky-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: var(--color-main);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: content-box;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-decoration: none;
        height: 100%;
        font-size: 11px;
        text-shadow: none;
    }

    .bottom-nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        fill: currentColor;
    }

    .bottom-nav-item+.bottom-nav-item {
        border-left: 1px solid rgba(255, 255, 255, 0.4);
    }
}

/* スマホ小：480px以下 */
@media (max-width: 480px) {

    /* さらに小さい画面用の微調整 */
    .section-inner {
        padding: 0 var(--spacing-xs);
    }
}

/* ============================================================
   CSS カスタムプロパティ（共通変数）
   ============================================================ */
:root {
    /* フォントサイズ */
    --font-size-xs: 11px;
    /* パンくず・注釈 */
    --font-size-sm: 12px;
    /* キャプション・小見出し */
    --font-size-base: 14px;
    /* 本文・標準テキスト */
    --font-size-md: 16px;
    /* 中見出し */
    --font-size-lg: 18px;
    /* 大見出し */
    --font-size-xl: 20px;
    /* ページタイトル */
    --font-size-2xl: 24px;
    /* 特大見出し */

    /* スペーシング */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;

    /* カラー */
    --color-main: #ff7e7e;
    --color-sub: #f3981d;
    --color-text: #333;
    --color-border: #ddd;
    --color-bg-gray: #f5f5f5;
    --text-black: #333;
}

/* ============================================================
   共通テキストサイズユーティリティクラス
   ============================================================ */
.text-xs {
    font-size: var(--font-size-xs) !important;
}

.text-sm {
    font-size: var(--font-size-sm) !important;
}

.text-base {
    font-size: var(--font-size-base) !important;
}

.text-md {
    font-size: var(--font-size-md) !important;
}

.text-lg {
    font-size: var(--font-size-lg) !important;
}

.text-xl {
    font-size: var(--font-size-xl) !important;
}

.text-2xl {
    font-size: var(--font-size-2xl) !important;
}

/* ============================================================
        margin-bottom: var(--spacing-sm);
    }

    .footer-info {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    .footer-nav {
        margin-bottom: var(--spacing-md);
    }

    .footer-nav li {
        margin-bottom: var(--spacing-xs);
    }

    .footer-nav a {
        font-size: var(--font-size-sm);
    }

    .footer-bottom {
        padding-top: var(--spacing-md);
        border-top: 1px solid #eee;
        text-align: center;
        font-size: var(--font-size-xs);
    }


    /* --------------------------------------------------
   共通ボタン
-------------------------------------------------- */
.btn,
.button,
.cta-button {
    font-size: var(--font-size-base) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
}


/* --------------------------------------------------
   共通テーブル
-------------------------------------------------- */
th,
td {
    font-size: var(--font-size-sm) !important;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
}




/* --------------------------------------------------
   お問い合わせフォーム（MW WP Form 対応）
-------------------------------------------------- */
.mw_wp_form {
    padding: 0 !important;
}

.form-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
}

.form-table tr {
    display: block !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: var(--spacing-md) !important;
}

.form-table th {
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    font-size: var(--font-size-base) !important;
    font-weight: bold !important;
    background: #f8f8f8 !important;
    padding: 0 !important;
    border: none !important;
}

.form-table td {
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    font-size: var(--font-size-base) !important;
    padding: 10px 0 40px !important;
}

/* 必須ラベル */
.required {
    font-size: var(--font-size-xs) !important;
    background: #ff4444 !important;
    color: #fff !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    margin-left: var(--spacing-xs) !important;
}

/* 入力欄 */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100% !important;
    font-size: var(--font-size-base) !important;
    padding: var(--spacing-sm) !important;
    box-sizing: border-box !important;
}

/* ページタイトル */
.page-title-main {
    padding-bottom: 20px !important;
}


/* --------------------------------------------------
   カード・グリッド共通（サイト全体で使う汎用クラスのみ）
-------------------------------------------------- */
.post-card,
.voice-card,
.price-card {
    margin-bottom: var(--spacing-md);
}


/* ============================================================
   スマートフォン（固定フッターナビ）：PCで非表示 / SPで表示
   ============================================================ */
@media screen and (min-width: 769px) {
    .bottom-sticky-nav {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .bottom-sticky-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: var(--color-main);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: content-box;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-decoration: none;
        height: 100%;
        font-size: 11px;
        text-shadow: none;
    }

    .bottom-nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        fill: currentColor;
    }

    .bottom-nav-item+.bottom-nav-item {
        border-left: 1px solid rgba(255, 255, 255, 0.4);
    }

    /* フッターナビに隠れないようにコンテンツに余白 */
    body {
        padding-bottom: 80px;
    }
}

/* スマートフォン小：480px以下 */
@media screen and (max-width: 480px) {
    .section-inner {
        padding: 0 var(--spacing-xs);
    }
}