/* ========================================
   リセット・基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FFFBDB;
    line-height: 1.6;
}

/* ========================================
   ヘッダー
======================================== */
header {
    background-color: #B53925;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 40px;
}

nav li {
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

.nav-english {
    font-size: 11px;
    font-weight: 300;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.nav-japanese {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: none;
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon,
.instagram-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.phone-link:hover .phone-icon,
.instagram-link:hover .instagram-icon {
    transform: scale(1.1);
}

/* ロゴテキスト（モバイル用） */
.mobile-logo {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* サイドバーメニュー */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #B53925;
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    background: none;
    border: none;
    padding: 5px;
}

.close-btn:hover {
    opacity: 0.8;
}

.close-icon {
    font-size: 24px;
    line-height: 1;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-menu a {
    display: block;
    padding: 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu .nav-english {
    display: block;
    font-size: 11px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.sidebar-menu .nav-japanese {
    display: block;
    font-size: 16px;
}

/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.overlay.active {
    display: block;
}

/* ========================================
   メインコンテンツ
======================================== */
main {
    min-height: calc(100vh - 60px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   フッター（マップセクション）
======================================== */
.map-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 40px 0 0 0;
    overflow: hidden;
}

.map-container {
    min-height: 400px;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.info-container {
    background-color: #B53925;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    text-align: left;
    padding: 15px 20px 15px 0;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: top;
    width: 80px;
}

.info-table td {
    padding: 15px 0;
    line-height: 1.6;
}

.info-footer {
    margin-top: 40px;
    padding-top: 20px;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    .desktop-menu {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .mobile-logo {
        display: block;
    }

    nav {
        justify-content: space-between;
        position: relative;
    }

    .phone-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        font-size: 16px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .sidebar {
        width: 250px;
        left: -250px;
    }

    .info-container {
        padding: 20px;
    }
}