/* 
 * 居酒屋 さくら スタイルシート
 * ============================
 */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b83a3a;
    --secondary-color: #c56e42;
    --dark-color: #2c1e0b;
    --light-color: #f4f0e8;
    --accent-color: #e6a339;
    --border-color: #ddd6c6;
    --bg-color: #fdfaf5;
    --overlay-color: rgba(44, 30, 11, 0.7);
    --section-padding: 80px 0;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #a03232;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(44, 30, 11, 0.9);
    transition: all 0.3s ease;
    height: 60px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
}

.logo {
    color: white;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    letter-spacing: 0.1em;
}

.pc-nav ul {
    display: flex;
}

.pc-nav li {
    margin-left: 30px;
}

.pc-nav a {
    color: white;
    font-weight: bold;
    position: relative;
}

.pc-nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.pc-nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 60px);
    background-color: rgba(44, 30, 11, 0.95);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    padding: 20px;
    margin-bottom: 20px;
}

.mobile-nav li {
    margin-bottom: 15px;
    text-align: center;
}

.mobile-nav a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav li:last-child a {
    border-bottom: none;
}

/* Language Switcher */
.language-switcher {
    margin-left: 20px;
}

.lang-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.lang-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 163, 57, 0.3);
}

.mobile-lang-switcher {
    margin-top: 10px;
    text-align: center;
}

.mobile-lang-switcher .lang-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 10px;
}

.mobile-lang-switcher .lang-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* メインビジュアル */
.main-visual {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero/hero-main.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.main-visual-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-visual-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* お知らせ */
.news {
    background-color: var(--light-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item {
    display: flex;
    align-items: center;
}

.news-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    margin-right: 15px;
}

/* 当店について */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 料理の特徴 */
.features {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-item p {
    color: #666;
    line-height: 1.7;
}

/* メニュー */
.menu {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.menu-tab {
    padding: 10px 30px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid var(--border-color);
    font-size: 18px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.menu-tab.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.menu-group {
    display: none;
}

.menu-group.active {
    display: block;
}

.menu-category {
    margin-bottom: 40px;
}

.menu-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    gap: 15px;
}

.menu-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-content {
    flex: 1;
}

.menu-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.menu-item-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.menu-item-content p {
    font-size: 14px;
    color: #666;
}

.menu-item-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.menu-note {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.menu-more {
    text-align: center;
    margin-top: 40px;
}

/* ご予約 */
.reservation {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.reservation-content {
    display: flex;
    gap: 50px;
}

.reservation-text {
    flex: 1;
}

.reservation-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.reservation-tel {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reservation-tel a {
    color: var(--primary-color);
}

.reservation-tel i {
    margin-right: 10px;
}

.reservation-hours, .reservation-closed {
    font-size: 16px;
    margin-bottom: 10px;
}

.reservation-links {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reservation-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.reservation-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-reservation {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 10px;
}

.btn-reservation.hotpepper {
    background-color: #ff6b35;
    color: white;
}

.btn-reservation.hotpepper:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.btn-reservation.gurunavi {
    background-color: #00a0e9;
    color: white;
}

.btn-reservation.gurunavi:hover {
    background-color: #0088c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 160, 233, 0.3);
}

.btn-reservation i {
    font-size: 18px;
}

.reservation-note {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 15px;
}

/* アクセス */
.access {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.access-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.access-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.access-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.access-info-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.access-info-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.access-info-item h3 i {
    margin-right: 5px;
    color: var(--primary-color);
}

.access-info-item p {
    color: #666;
    line-height: 1.7;
}

/* SNS */
.sns {
    padding: var(--section-padding);
    background-color: var(--light-color);
    text-align: center;
}

.sns-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.sns-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s ease;
}

.sns-icon:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}

.sns-text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
}

/* フッター */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-info a {
    color: white;
}

.footer-info a:hover {
    color: var(--accent-color);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: white;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.6;
}

/* ページトップへ戻るボタン */
.page-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
}

.page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-top a:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}

/* メニューモーダル */
.menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.menu-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.menu-modal-content {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.menu-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--primary-color);
    color: white;
    border-bottom: 1px solid var(--border-color);
}

.menu-modal-header h2 {
    font-size: 24px;
    margin: 0;
}

.menu-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-modal-body {
    padding: 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.menu-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.menu-modal-tab {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu-modal-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.menu-modal-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.menu-modal-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.menu-modal-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.menu-modal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.menu-modal-item-image {
    width: 100%;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.menu-modal-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-modal-item:hover .menu-modal-item-image img {
    transform: scale(1.05);
}

.menu-modal-item-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: bold;
}

.menu-modal-item-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.menu-modal-item-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
}

.menu-modal-category {
    display: none;
}

.menu-modal-category.active {
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .access-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .reservation-content {
        flex-direction: column;
    }
    
    .reservation-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-reservation {
        flex: 1;
        min-width: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .pc-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .language-switcher {
        display: none;
    }
    
    /* スマホ表示時のヘッダーレイアウト調整 */
    .header-inner {
        padding: 12px 20px;
        flex-wrap: nowrap;
    }
    
    .logo {
        flex: 1;
        min-width: 0;
    }
    
    .logo h1 {
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .logo p {
        font-size: 10px;
    }
    
    .mobile-menu-btn {
        flex-shrink: 0;
        margin-left: 15px;
    }
    
    .main-visual-content h2 {
        font-size: 36px;
    }
    
    .main-visual-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .header-inner {
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 18px;
        margin-bottom: 1px;
    }
    
    .logo p {
        font-size: 9px;
    }
    
    .mobile-menu-btn {
        width: 25px;
        height: 18px;
    }
    
    .main-visual-content h2 {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-tab {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item-content {
        margin-bottom: 10px;
    }
    
    .reservation-buttons {
        flex-direction: column;
    }
    
    .btn-reservation {
        width: 100%;
        min-width: auto;
    }
    
    .access-info {
        grid-template-columns: 1fr;
    }
    
    /* モーダルレスポンシブ */
    .menu-modal.active {
        padding: 10px;
    }
    
    .menu-modal-content {
        max-height: 95vh;
    }
    
    .menu-modal-header {
        padding: 15px 20px;
    }
    
    .menu-modal-header h2 {
        font-size: 20px;
    }
    
    .menu-modal-body {
        padding: 20px;
    }
    
    .menu-modal-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .menu-modal-tab {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    
    .menu-modal-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-modal-item {
        padding: 15px;
    }
    
    .menu-modal-item-image {
        height: 120px;
    }
}