/**
 * MOKICHI TRATTORIA - Main Styles
 * 全ページ共通のスタイル定義
 */

/* =====================
   共通レイアウト
===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   ヘッダー
===================== */
.site-header,
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/header/header_black.jpeg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 36px;
    width: auto;
}

/* テキストロゴ */
.logo-text {
    font-family: var(--font-serif-en), 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
}

.logo-name {
    font-weight: 500;
}

.logo-type {
    font-weight: 300;
}

.logo-text:hover {
    color: #fff;
    text-shadow: none;
}

/* Navigation */
.main-nav,
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: none;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 0;
}

.nav-link.active {
    color: #fff;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 1rem 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.nav-list-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-mobile {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-mobile {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: none;
}

.nav-link-mobile:hover {
    color: #fff;
}

.nav-cta {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
}

/* ハンバーガーボタンのアクティブ状態 */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

/* =====================
   フッター
===================== */
.site-footer {
    background-color: var(--color-kurazane-dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

/* フッター用テキストロゴ */
.logo-text-white {
    font-family: var(--font-serif-en), 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.footer-info {
    margin-bottom: 1.5rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: none;
}

.social-link:hover {
    background-color: var(--color-kurazane-red);
    transform: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-kurazane-red);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =====================
   レスポンシブ対応
===================== */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .hamburger {
        display: block;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-container {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        gap: 0.2rem;
        white-space: nowrap;
    }
    
    .logo-type {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .mobile-menu {
        top: 60px;
    }
}

/* =====================
   ボタンスタイル
===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: none;
    text-decoration: none;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #1B5E41;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1B5E41;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: #fff;
    color: #1B5E41;
    border: 2px solid #1B5E41;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1B5E41;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: #1B5E41;
    border: 2px solid #1B5E41;
}

.btn-outline:hover {
    background-color: transparent;
    color: #1B5E41;
    transform: none;
    box-shadow: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* =====================
   共通セクションスタイル
===================== */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: #fff;
}

.section-dark {
    background-color: var(--color-kurazane-dark);
    color: #fff;
}

.section-cream {
    background-color: var(--color-light-cream);
}

/* パディング調整用ユーティリティクラス */
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pt-lg { padding-top: 7rem; }
.pb-lg { padding-bottom: 7rem; }
.pt-md { padding-top: 3.5rem; }
.pb-md { padding-bottom: 3.5rem; }
.pt-sm { padding-top: 1.5rem; }
.pb-sm { padding-bottom: 1.5rem; }

/* マージン調整用ユーティリティクラス */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 5rem; }
.mb-lg { margin-bottom: 5rem; }
.mt-md { margin-top: 3rem; }
.mb-md { margin-bottom: 3rem; }
.mt-sm { margin-top: 1.5rem; }
.mb-sm { margin-bottom: 1.5rem; } 