/* common.css */

/* --- 基本設定 --- */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #e6f0fa;
    --highlight: #ff9900;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
}

/* --- 共通ヘッダー設定 --- */
.global-nav {
    background-color: #fff;
    padding: 10px 0; /* 高さを少し調整 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* これで垂直方向の中央揃えを強制します */
}

/* ロゴエリアの修正 */
.nav-logo-group {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    text-decoration: none;
    line-height: 1.2;
    transition: opacity 0.3s;
}
.nav-logo-group:hover {
    opacity: 0.7;
}

.nav-logo-main {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.nav-logo-sub {
    font-size: 0.65rem; /* 小さく表示 */
    color: var(--text-gray);
    font-weight: normal;
    letter-spacing: 0.5px;
}

/* メニューリンクエリアの修正 */
.nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    align-items: center; /* ここも垂直中央揃え */
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* お問い合わせボタン */
.nav-btn-contact {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
    line-height: 1; /* ボタン内の行間を詰めてズレを防ぐ */
    display: inline-flex; /* フレックスにして */
    align-items: center; /* 文字をど真ん中に */
    height: auto;
}

.nav-btn-contact:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* スマホ対応（簡易） */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* スマホでは一旦非表示（必要ならハンバーガーメニュー実装） */
    }
}