/* 共通レスポンシブスタイル */

/* コンテナの左右マージン調整 */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .header-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* ヒーローセクション */
    .page-hero,
    .hero {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* コンテンツセクション */
    .content-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* フッター */
    footer {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* ヒーロータイトル */
    .hero h1,
    .page-hero h1 {
        font-size: 2rem !important;
    }

    /* セクションタイトル */
    .section-title {
        font-size: 1.8rem !important;
    }

    /* 2カラムレイアウトを1カラムに */
    .two-column,
    .service-grid,
    .features-grid,
    .strengths-grid,
    .areas-grid,
    .benefits-grid,
    .event-types-grid,
    .initiative-grid,
    .media-grid,
    .activities-grid,
    .featured-grid,
    .related-grid,
    .monthly-grid,
    .office-grid,
    .values-grid,
    .stats-grid,
    .tech-grid,
    .process-grid,
    .price-examples,
    .gallery-grid,
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* フッターグリッド */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* ボタングループ */
    .cta-buttons,
    .button-group {
        flex-direction: column !important;
    }

    /* テーブルレスポンシブ */
    .info-table th,
    .info-table td {
        display: block !important;
        width: 100% !important;
        padding: 0.8rem 0 !important;
    }

    .info-table th {
        padding-bottom: 0.3rem !important;
    }

    .info-table td {
        padding-top: 0.3rem !important;
        padding-bottom: 1.2rem !important;
    }

    /* フォーム */
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    /* 3カラムを2カラムに */
    .service-grid,
    .features-grid,
    .strengths-grid,
    .event-types-grid,
    .tech-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* メディアグリッド */
    .media-grid,
    .activities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}