/* 共通ヘッダー・フッタースタイル */

/* モバイル版のiPhone時計部分の白い帯（PC版では非表示） */
.mobile-status-bar {
    display: none;
}

/* ヘッダー背景（深緑の帯） */
.header-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #1a4d3a;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ヘッダーコンテンツ */
.header-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1001;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

/* PC版ナビゲーションメニューを完全削除 */
.navigation {
    display: none !important;
    visibility: hidden !important;
}

.nav-menu {
    display: none !important;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #b8d4c8;
}

/* ハンバーガーメニュー - 統合スタイル */
.hamburger-menu {
    display: block !important;
    position: fixed !important;
    top: 3px !important;
    right: 20px !important;
    z-index: 99999999 !important;
    background: rgba(26, 77, 58, 0.9);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
}

.hamburger-text {
    color: white;
    font-size: 11px;
    margin-bottom: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hamburger-icon {
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hamburger-line {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 2px 0;
    display: block;
    opacity: 1;
    visibility: visible;
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999999;
}

.mobile-menu-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 300px;
    width: 90%;
    text-align: center;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #1a4d3a;
    padding-bottom: 15px;
}

.mobile-menu-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a4d3a;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-item {
    color: #1a4d3a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-item:hover {
    background: #f0f8f4;
}

/* フッタースタイル */
.t-style-footer {
    background: #1a4d3a;
    color: white;
    padding: 60px 0 20px 0;
    margin-top: 80px;
}

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

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

.footer-brand {
    text-align: left;
}

.t-style-footer .footer-brand .footer-logo {
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 8px;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: white;
}

.footer-social {
    text-align: right;
}

.social-list {
    list-style: none;
    padding: 0;
}

.social-list li {
    margin-bottom: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    /* モバイル版のiPhone時計部分の白い帯 */
    .mobile-status-bar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: env(safe-area-inset-top, 44px) !important;
        background: white !important;
        z-index: 2147483648 !important;
    }

    /* ヘッダー背景を時計部分の下から開始 */
    .header-background {
        top: env(safe-area-inset-top, 44px) !important;
        height: 80px !important;
    }

    .header-content {
        top: env(safe-area-inset-top, 44px) !important;
    }

    /* 修正後 */
    .hamburger-menu {
        display: block !important;
        position: fixed !important;
        top: calc(-5px + env(safe-area-inset-top, 44px)) !important;
        /* ← 5px から 3px に変更 */
        right: 15px !important;
    }

    .navigation {
        display: none !important;
    }

    /* フッター調整 */
    .t-style-footer {
        padding: 60px 0 30px 0;
    }

    .footer-container {
        padding: 0 20px;
    }

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

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

    .t-style-footer .footer-brand .footer-logo {
        font-size: 36px;
        letter-spacing: 6px;
    }

    .footer-social {
        text-align: left;
    }
}