/* ===================================
   レスポンシブデザイン
   モバイル・タブレット対応
   =================================== */

/* タブレット (1024px以下) */
@media (max-width: 1024px) {
    /* ヘッダー */
    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 13px;
    }

    /* ヒーローセクション */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-image picture {
        display: block;
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* 店舗ヒーロー */
    .store-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* 店舗レイアウト */
    .store-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-sidebar {
        position: static;
    }

    /* グリッド調整 */
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .select-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* タブレット縦・大型スマートフォン (768px以下) */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 12px 15px;
    }

    .site-logo {
        height: 40px;
        max-width: 200px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    /* ヒーローセクション */
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-item {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }

    /* セクション共通 */
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* キャンペーンバナー */
    .campaign-banner {
        padding: 30px 0;
    }

    .campaign-content h3 {
        font-size: 24px;
    }

    /* グリッド調整 */
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .select-grid {
        grid-template-columns: 1fr;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    /* 店舗タブ */
    .store-tabs {
        top: 60px;
    }

    .tabs-list {
        padding: 0 15px;
    }

    .tab-item a {
        padding: 15px 20px;
        font-size: 14px;
    }

    /* 店舗コンテンツ */
    .store-layout {
        padding: 0 15px;
    }

    .content-section {
        padding: 25px 20px;
    }

    .content-section .section-title {
        font-size: 20px;
    }

    /* クーポン */
    .coupon-content {
        padding: 20px;
    }

    .coupon-title {
        font-size: 16px;
    }

    .price-amount {
        font-size: 28px;
    }

    /* メニュー */
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .menu-item-price {
        font-size: 20px;
    }

    /* フォトギャラリー */
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* 口コミ */
    .rating-number {
        font-size: 48px;
    }

    .rating-stars-large {
        font-size: 24px;
    }

    .review-card {
        padding: 20px;
    }

    /* スタッフ */
    .staff-grid {
        grid-template-columns: 1fr;
    }

    /* アクセス */
    .store-info-table th {
        width: 100px;
        font-size: 13px;
    }

    .store-info-table th,
    .store-info-table td {
        padding: 12px;
        font-size: 13px;
    }

    /* フッター */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* スマートフォン (480px以下) */
@media (max-width: 480px) {
    /* コンテナ */
    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .logo h1 {
        font-size: 20px;
    }

    /* ヒーロー */
    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-item {
        font-size: 14px;
    }

    .feature-item i {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 25px;
        font-size: 15px;
    }

    /* セクション */
    section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* キャンペーンバナー */
    .campaign-banner {
        padding: 25px 0;
    }

    .campaign-content h3 {
        font-size: 20px;
    }

    .campaign-label {
        font-size: 12px;
    }

    /* 理由カード */
    .reason-card {
        padding: 30px 20px;
    }

    .reason-number {
        font-size: 36px;
    }

    .reason-title {
        font-size: 20px;
    }

    .reason-subtitle {
        font-size: 16px;
    }

    .reason-description {
        font-size: 13px;
    }

    /* 約束カード */
    .promise-icon {
        width: 100px;
        height: 100px;
    }

    .promise-title {
        font-size: 18px;
    }

    .promise-description {
        font-size: 13px;
    }

    /* 選び方 */
    .select-title {
        font-size: 20px;
    }

    .select-description {
        font-size: 13px;
    }

    /* 店舗カード */
    .store-name {
        font-size: 18px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 24px;
    }

    .price-large {
        font-size: 48px;
    }

    .price-tax {
        font-size: 16px;
    }

    .cta-description {
        font-size: 16px;
    }

    /* 店舗ページ */
    .store-title {
        font-size: 24px;
    }

    .store-rating-main .rating-stars {
        font-size: 16px;
    }

    .store-rating-main .rating-score {
        font-size: 16px;
    }

    .store-catchphrase {
        font-size: 13px;
    }

    .quick-info-item {
        font-size: 13px;
    }

    .store-cta-buttons .btn-primary,
    .store-cta-buttons .btn-secondary {
        font-size: 14px;
        padding: 12px 20px;
    }

    /* タブナビ */
    .tab-item a {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* コンテンツセクション */
    .content-section {
        padding: 20px 15px;
    }

    .content-section .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* クーポン */
    .coupon-badge {
        padding: 6px 15px;
        font-size: 12px;
    }

    .coupon-content {
        padding: 15px;
    }

    .coupon-title {
        font-size: 15px;
    }

    .price-amount {
        font-size: 24px;
    }

    .coupon-conditions {
        padding: 12px;
        font-size: 12px;
    }

    .btn-coupon {
        padding: 12px;
        font-size: 14px;
    }

    /* メニュー */
    .menu-category-title {
        font-size: 18px;
        padding: 8px 12px;
    }

    .menu-item {
        padding: 15px;
    }

    .menu-item-name {
        font-size: 16px;
    }

    .menu-item-price {
        font-size: 18px;
    }

    .menu-item-description {
        font-size: 13px;
    }

    /* 口コミ */
    .reviews-summary {
        padding: 20px;
    }

    .rating-number {
        font-size: 40px;
    }

    .rating-stars-large {
        font-size: 20px;
    }

    .review-card {
        padding: 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reviewer-info {
        font-size: 13px;
    }

    .review-text {
        font-size: 13px;
    }

    .review-menu {
        font-size: 12px;
    }

    /* スタッフ */
    .staff-image {
        width: 120px;
        height: 120px;
    }

    .staff-name {
        font-size: 16px;
    }

    .staff-description {
        font-size: 12px;
    }

    /* アクセス */
    .store-info-table {
        font-size: 12px;
    }

    .store-info-table th,
    .store-info-table td {
        padding: 10px 8px;
        display: block;
        width: 100%;
    }

    .store-info-table th {
        background-color: var(--bg-light);
        font-weight: 700;
        border-bottom: none;
        padding-bottom: 5px;
    }

    .store-info-table td {
        border-bottom: 1px solid var(--border-color);
        padding-top: 5px;
        padding-bottom: 15px;
    }

    /* サイドバー */
    .sidebar-widget {
        padding: 20px;
    }

    .widget-title {
        font-size: 16px;
    }

    /* フッター */
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-col a {
        font-size: 13px;
    }

    .copyright {
        font-size: 12px;
    }
}

/* 超小型スマートフォン (360px以下) */
@media (max-width: 360px) {
    .site-logo {
        height: 35px;
        max-width: 180px;
    }

    .hero-features {
        gap: 10px;
    }

    .feature-item {
        font-size: 12px;
    }

    .feature-item i {
        font-size: 16px;
    }

    .hero-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-large {
        padding: 12px 20px;
        font-size: 13px;
    }

    .price-large {
        font-size: 40px;
    }

    .store-title {
        font-size: 20px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ランドスケープモード対応 */
@media (max-width: 768px) and (orientation: landscape) {
    .main-nav {
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .hero-section {
        padding: 40px 0;
    }

    section {
        padding: 40px 0;
    }
}

/* 印刷用スタイル */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .hero-cta,
    .campaign-banner,
    .cta-section,
    .store-tabs,
    .store-sidebar,
    .btn-primary,
    .btn-secondary,
    .btn-coupon,
    .site-footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }

    .content-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
