/* ===== レスポンシブ（タブレット：〜940px） ===== */
@media (max-width: 940px) {
    .service-selector {
        gap: 15px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .service-card {
        flex: 1;
        min-width: 0;
        max-width: 380px;
        padding: 15px 10px;
        min-height: 90px;
    }

    .card-icon { font-size: 2rem; margin-right: 10px; }
    .card-main { font-size: 1rem; }
}


/* ===== レスポンシブ（スマホ：〜768px） ===== */
@media (max-width: 768px) {
    .sp-only { display: inline; }
    .pc-only { display: none; }

    /* ヘッダー */
    header {
        padding: 10px 0 5px;
        position: sticky;
        top: 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        padding: 0 5px;
    }

    .logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    .logo-image { height: 32px; }
    .logo-text  { font-size: 1.3rem; }

    nav { width: 100%; }

    nav ul {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 2px;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        flex: 1;
        text-align: center;
        margin: 0 !important;
    }

    nav ul li a {
        font-size: 0.9rem;
        display: block;
        padding: 10px 0;
        white-space: nowrap;
        letter-spacing: -0.5px;
    }

    /* 見出し */
    .info-header h2,
    .info-header h3 { font-size: 1.3rem; }

    /* グリッド・フレックスを縦並びに変換 */
    .calc-inputs,
    .shop-info-grid,
    .steps,
    .cta-btns {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* 混雑状況 */
    .status-container {
        width: 98% !important;
        margin: 10px auto;
        padding: 10px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }

    .status-badge {
        margin-bottom: 5px;
    }

    .status-info {
        margin-right: 6px;
    }

    .vacant-status {
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .status-time {
        margin-top: -15px;
        padding-bottom: 10px;
    }

    /* お知らせ欄 */
    .info-row-container {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 10px;
    }

    .info-main {
        flex: 1;
        line-height: 1.7;
    }

    .info-tag {
        display: inline-block;
        margin-right: 8px;
    }

    /* Hero CTAボタン */
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero-btns a {
        width: 100%;
        max-width: 340px;
        margin: 0 auto !important;
        height: 60px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-width: 2px;
        border-style: solid;
        font-size: 1rem;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary,
    .hero-btns .btn-outline {
        min-width: 0 !important;
        width: 100% !important;
    }

    .hero-btns a:active,
    .hero-btns a:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    .hero-content { width: 86%; }

    .hero-text h2 { font-size: 1.3rem; }

    /* アピールポイント */
    .appeal-inner    { flex-direction: column; gap: 15px; align-items: center; }
    .appeal-divider  { display: none; }
    .appeal-item {
        flex: 1 1 100%;
        border-bottom: 1px solid #eee;
        align-items: center;
    }
    .appeal-item:last-child  { border-bottom: none; }
    .appeal-highlight        { white-space: normal; justify-content: center; }

    .appeal-item {
        width: 90%;
        min-height: 100px;
        padding: 16px 14px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .appeal-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .appeal-label { font-size: 1rem; margin: 6px 0; }
    .appeal-text  { font-size: 0.85rem; line-height: 1.4; }

    /* サービスカード */
    .service-selector { flex-direction: column; align-items: center; }
    .service-card     { width: 98% !important; max-width: none; }

    /* CTA */
    .cta-card { padding: 40px 20px; }

    /* 料金シミュレーター */
    #calc-section {
        scroll-margin-top: 130px;
    }

    .calc-section.container {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }

    .calc-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        border-radius: 12px;
    }

    .calc-inputs {
        display: block !important;
        margin: 0 0 25px 0 !important;
    }

    .input-group {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
        box-sizing: border-box;
    }

    .input-group label {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 6px;
        padding: 0 !important;
    }

    .input-group select,
    .input-group input {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        height: 48px;
        box-sizing: border-box !important;
    }

    .calc-results {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100% !important;
        margin: 0 !important;
    }

    .calc-results-2col {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    #calc-btn {
        width: 100% !important;
        margin-top: 5px;
    }

    /* Googleマップ */
    .access-map {
        margin: 20px 0 40px;
        height: 250px;
    }
    .access-map iframe { height: 250px; }

    .cta-info-flex {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        gap: 10px;
    }

    .cta-info-flex .vacant-status {
        padding: 20px;
        gap: 0;
    }

    .cta-info-flex .status-container,
    .business-hours {
        width: 100% !important;
        max-width: none;
        display: block;
    }

    /* フッター */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 10px;
    }

    .footer-links { justify-content: center; gap: 20px; }

    /* チェックリスト */
    .checklist-grid,
    .checklist-rules-grid { grid-template-columns: 1fr; gap: 14px; }

    .checklist-card,
    .checklist-rules-card { padding: 18px 16px; }

    .calc-notes {
        width: 100%;
        padding: 0 10px;
        margin: 10px;
        box-sizing: border-box;
    }

    .calc-note-pane.active { width: 90%; }

    .calc-notes ul { flex-direction: column; gap: 4px; }

    /* 宅配折りたたみ */
    .delivery-toggle {
        font-size: 0.88rem;
        padding: 12px 14px;
    }

    .delivery-body.open {
        padding: 16px 14px;
        max-height: 800px;
    }

    /* 静的ページヘッダー */
    .page-header {
        padding: 10px 0;
        margin: 20px auto;
    }

}
