/* === common.css (最終版) === */

/* --- 全ページ共通ヘッダー --- */
.page-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 50px 0;
    box-sizing: border-box;
}
.global-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 48px;
}

.global-nav a,
.global-nav .nav-text {
    font-family: 'League Spartan', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    padding: 2px 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.global-nav a {
    transition: opacity 0.3s ease;
}

.global-nav a:hover {
    opacity: 0.7;
}

.global-nav .nav-text {
    cursor: default;
}

.nav-icon {
    width: 16px;
    height: 16px;
}


/* --- 全ページ共通フッター (PC版の基本スタイル) --- */
.contact-section {
    background-color: #333232;
    color: #fff;
    position: relative;
    box-sizing: border-box;
    text-align: center;
    padding: 166px 20px;
}
.contact-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}
.contact-section .section-title {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    font-family: 'League Spartan', sans-serif;
    margin: 0 0 50px 0;
}
.contact-container .section-title::before {
    display: none;
}
.contact-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #eee;
    margin: 0 0 50px 0;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 50px;
    border: 1px solid #fff;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    background-color: transparent;
}
.contact-btn:hover {
    background-color: #fff;
    color: #333;
}

.contact-btn img {
    width: 19px;
    height: 19px;
    transition: filter 0.3s;
}
.contact-btn:hover img {
    filter: invert(1);
}

.copyright-container {
    position: absolute;
    right: 32px;
    bottom: 18px;
}
.copyright {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

/* ===============================================
   スマートフォン用のスタイル (画面幅が768px以下の場合)
   =============================================== */
@media (max-width: 768px) {

    /* --- 全ページ共通ヘッダー (スマホ) --- */
    .page-header {
        padding: 15px 20px 0;
    }
    .global-nav ul {
        gap: 20px;
    }
    
    .global-nav a,
    .global-nav .nav-text {
        font-size: 18px;
        padding: 1px 3px;
        gap: 5px;
    }
    
    .nav-icon {
        width: 12px;
        height: 12px;
    }


    /* --- 全ページ共通フッター (スマホ) --- */
    .contact-section {
        position: relative;
        padding: 70px 20px 86px;
    }
    .contact-section .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .contact-text {
        font-size: clamp(13px, 3.7vw, 14px); 
        margin-bottom: 20px;
        line-height: 1.7;
        text-align: left;
    }
    .contact-text br {
        display: none;
    }
    .contact-btn {
        padding: 10px 30px;
        font-size: 16px;
    }
    .contact-container {
        margin-bottom: 0;
    }
    .copyright-container {
        position: absolute;
        width: 100%;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        bottom: 4px;
    }
    .copyright {
        font-size: 10px;
    }
}