/* レスポンシブデザイン */

/* タブレット (768px以下) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .nav-menu {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        border: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    /* モバイル時は言語ドロップダウンを展開表示（タップで開閉しなくても済むようフラット化） */
    .nav-lang {
        width: 100%;
        text-align: center;
    }
    .nav-lang-toggle {
        display: none; /* 「语言」ラベルは不要：日本語/Englishを直接並べる */
    }
    .nav-lang-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: transparent;
        display: flex;
        gap: 24px;
        justify-content: center;
        min-width: 0;
    }
    .nav-lang-menu li a {
        padding: 0;
        font-size: 16px;
    }

    body {
        padding-top: 70px; /* タブレット用のヘッダー高さ調整 */
    }

    .hamburger {
        display: flex;
        z-index: 9999;
    }

    .logo-image {
        height: 50px;
        max-width: 200px;
    }

    .logo-text {
        margin-left: 10px;
    }

    .logo-tags {
        font-size: 10px;
    }

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

    .logo-phone {
        font-size: 14px;
    }

    /* ヒーローセクション */
    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    }



    .hero-subtitle {
        font-size: 1rem;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    /* タイムライン */
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 40px;
    }

    .timeline-year {
        margin: 0 0 20px 0;
        min-width: 100px;
    }

    .timeline-content {
        padding: 20px;
    }

    /* 哲学グリッド */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .philosophy-item {
        padding: 30px 20px;
    }

    /* 店名の由来 */
    .origin-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .origin-image {
        max-width: 100%;
    }

    .origin-img {
        height: 300px;
    }

    .origin-text-content {
        text-align: center;
    }





    /* アクセス */
    .access-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .access-info {
        gap: 25px;
    }

    .info-item {
        gap: 15px;
    }

    .info-item i {
        font-size: 1.2rem;
    }

    .access-map {
        padding: 30px;
        min-height: 250px;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
    }

    /* 言語切り替え（一時的に非表示） */
    .language-switcher {
        display: none; /* 一時的に非表示 */
        top: 15px;
        right: 15px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* クイック情報バー：タブレットでは2列にする */
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* ランチコース：タブレットでは縦並びにする */
    .lunch-course-card {
        flex-direction: column;
    }

    .lunch-course-image {
        flex: none;
        min-height: 250px;
        max-height: 300px;
    }

    .lunch-course-body {
        padding: 30px;
    }

    .menu-list {
        grid-template-columns: 1fr;
    }

    .drink-list {
        grid-template-columns: 1fr;
    }

    /* 看板料理：タブレットでは1列にする */
    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dish-image {
        height: 200px;
    }

    /* About：縦並びにする */
    .about-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        max-width: 100%;
    }

    .about-img {
        height: 300px;
    }

    .about-text-content .section-title {
        text-align: center;
    }

    .about-highlights {
        justify-content: center;
    }

    /* 店内写真 */
    .interior-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .interior-card img {
        height: 250px;
    }

    /* 実用情報：タブレットでは2列にする */
    .practical-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* 営業時間テーブル */
    .hours-row {
        flex-direction: column;
        gap: 2px;
    }

    .hours-label {
        min-width: auto;
    }

    /* FAQセクション：タブレット・スマホでも読みやすさを維持 */
    .faq-section {
        padding: 70px 0;
    }

    .faq-list {
        margin-top: 40px;
    }

    .faq-question {
        padding: 22px 36px 22px 0;
        font-size: 1rem;
    }

    .faq-question::after {
        right: 2px;
        width: 8px;
        height: 8px;
    }

    .faq-answer {
        padding: 0 0 26px;
        font-size: 0.92rem;
        line-height: 1.8;
    }
}

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

    /* ヘッダー */
    .nav-container {
        padding: 0 10px;
    }

    .logo-image {
        height: 40px;
        max-width: 160px;
    }

    .logo-text {
        margin-left: 8px;
    }

    .logo-tags {
        font-size: 9px;
    }

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

    .logo-phone {
        font-size: 12px;
    }

    /* ヒーローセクション */
    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    }

    body {
        padding-top: 60px; /* スマートフォン用のヘッダー高さ調整 */
    }



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

    .slide-content {
        padding: 0 15px;
    }

    .slider-controls {
        padding: 0 15px;
    }

    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* セクション */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* 店名の由来 */
    .origin-section {
        padding: 60px 0;
    }

    .origin-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .origin-image {
        max-width: 100%;
    }

    .origin-img {
        height: 250px;
    }

    .origin-text-content {
        text-align: center;
    }

    .origin-text {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* ストーリー */
    .story-section {
        padding: 80px 0;
    }

    .timeline-content {
        padding: 20px 15px;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .brand-philosophy {
        margin-top: 60px;
    }

    .subsection-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .philosophy-item {
        padding: 25px 15px;
    }

    /* ブランドの歴史セクション */
    .brand-history {
        margin-top: 60px;
        padding: 40px 0;
    }

    .history-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .history-content {
        padding: 0 15px;
    }

    .history-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .signature-section {
        margin-top: 25px;
    }

    /* 最新情報セクション */
    .news-section {
        padding: 60px 0;
    }

    .news-text {
        font-size: 1rem;
    }

    .external-sites {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .site-link {
        padding: 15px 10px;
    }

    .site-link i {
        font-size: 1.3rem;
    }

    .site-link span {
        font-size: 0.85rem;
    }

    .news-note {
        margin-top: 30px;
        padding: 15px;
    }

    .news-note p {
        font-size: 0.8rem;
    }

    .signature-photo {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 12px;
    }

    .history-signature {
        font-size: 1rem;
        margin: 0;
    }

    .philosophy-item i {
        font-size: 2.5rem;
    }

    .philosophy-item h4 {
        font-size: 1.1rem;
    }

    /* 最新情報セクション */
    .news-section {
        padding: 80px 0;
    }

    .news-content {
        padding: 0 20px;
    }

    .external-sites {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .site-link {
        padding: 20px 15px;
    }

    .site-link i {
        font-size: 1.5rem;
    }

    .site-link span {
        font-size: 0.9rem;
    }

    /* アクセス */
    .access-section {
        padding: 80px 0;
    }

    .access-info {
        gap: 20px;
    }

    .info-item {
        gap: 12px;
    }

    .info-item i {
        font-size: 1rem;
    }

    .info-item h3 {
        font-size: 1rem;
    }

    .access-map {
        padding: 0;
        min-height: 300px;
    }

    .access-map iframe {
        min-height: 300px;
    }

    .reservation-info {
        padding: 30px 20px;
    }

    .reservation-info h3 {
        font-size: 1.3rem;
    }

    .external-links {
        gap: 15px;
    }

    .external-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* フッター */
    .footer {
        padding: 50px 0 25px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p {
    font-size: 0.9rem;
    color: #ffffff;
}

/* フッターの電話番号のリンクスタイルを無効化（レスポンシブ） */
.footer-section p a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-section p a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 電話番号のスタイル（レスポンシブ） */
.phone-number {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;
}

    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* 言語切り替え（一時的に非表示） */
    .language-switcher {
        display: none; /* 一時的に非表示 */
        top: 10px;
        right: 10px;
        padding: 3px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 10px;
        margin: 0 1px;
    }

    /* クイック情報バー：スマホでは2列のまま、文字を小さくする */
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quick-info-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .quick-info-item i {
        font-size: 1.2rem;
    }

    .quick-info-item strong {
        font-size: 0.9rem;
    }

    .quick-info-item span {
        font-size: 0.75rem;
    }

    /* ランチコース */
    .lunch-section {
        padding: 60px 0;
    }

    .lunch-courses {
        gap: 35px;
        margin-top: 30px;
    }

    .lunch-course-card {
        flex-direction: column;
    }

    .lunch-course-image {
        flex: none;
        min-height: 220px;
        max-height: 260px;
    }

    .lunch-course-body {
        padding: 25px 20px;
        gap: 20px;
    }

    .lunch-course-header h3 {
        font-size: 1.3rem;
    }

    .lunch-course-price {
        font-size: 1.4rem;
    }

    .menu-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .drink-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .drink-details summary {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* 看板料理 */
    .dishes-section {
        padding: 60px 0;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dish-image {
        height: 200px;
    }

    .dish-info {
        padding: 20px 15px;
    }

    .dish-info h3 {
        font-size: 1.1rem;
    }

    /* About */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-img {
        height: 250px;
    }

    .about-lead {
        font-size: 1.05rem;
    }

    .about-highlights {
        gap: 10px;
        justify-content: center;
    }

    .highlight-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* 店内写真 */
    .interior-section {
        padding: 60px 0;
    }

    .interior-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .interior-card img {
        height: 200px;
    }

    /* 実用情報：スマホでは1列にする */
    .practical-section {
        padding: 60px 0;
    }

    .practical-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .practical-card {
        padding: 25px 20px;
    }

    .practical-card i {
        font-size: 2rem;
    }

    /* Google Mapsボタン */
    .maps-button {
        display: block;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* 超小型デバイス (320px以下) */
@media (max-width: 320px) {
    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 1.8rem;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    }

    body {
        padding-top: 55px; /* 超小型デバイス用のヘッダー高さ調整 */
    }


    
    .logo-image {
        height: 35px;
        max-width: 140px;
    }

    .logo-text {
        margin-left: 6px;
    }

    .logo-tags {
        font-size: 8px;
    }

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

    .logo-phone {
        font-size: 10px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 5px;
    }



    .timeline-content {
        padding: 15px 10px;
    }

    .philosophy-item {
        padding: 20px 10px;
    }

    /* ブランドの歴史セクション */
    .brand-history {
        margin-top: 50px;
        padding: 30px 0;
    }

    .history-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .history-content {
        padding: 0 10px;
    }

    .history-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .signature-section {
        margin-top: 20px;
    }

    .signature-photo {
        width: 70px;
        height: 70px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .history-signature {
        font-size: 0.9rem;
        margin: 0;
    }

    .access-map {
        padding: 0;
        min-height: 250px;
    }

    .access-map iframe {
        min-height: 250px;
    }

    .reservation-info {
        padding: 25px 15px;
    }
}

/* 高解像度ディスプレイ対応 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-image: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }
}

/* 印刷用スタイル */
@media print {
    .language-switcher,
    .header,
    .slider-controls,
    .slider-dots,
    .hamburger,
    .social-links,
    .external-links {
        display: none !important;
    }

    .hero-section {
        height: auto;
        min-height: 500px;
    }

    .slide {
        position: static;
        opacity: 1;
        margin-bottom: 20px;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section-title {
        font-size: 18pt;
    }

    .hero-title {
        font-size: 24pt;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

