/* --- 外向けページ専用：public_style.css --- */

body {
    background-color: #f4f7f9;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

/* ヘッダー：信頼感のある濃いネイビー */
.public-header {
    background: #001529;
    color: white;
    padding: 0 30px;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.public-header-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* 団員ログイン：右上にひっそりと配置 */
.public-login-link {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.public-login-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* メインコンテンツエリア */
.public-main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: calc(100vh - 250px);
}

/* お知らせなどのカード */
.public-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.public-card h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #001529;
    border-bottom: 3px solid #1890ff;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

/* フッター：しっかりとした余白で締める */
.public-footer {
    background: #ffffff;
    color: #999;
    text-align: center;
    padding: 50px 20px;
    font-size: 0.85rem;
    border-top: 1px solid #eef1f4;
}

.public-copyright {
    margin-top: 10px;
    letter-spacing: 0.5px;
}
/* ハンバーガーボタンのスタイル */
.menu-trigger {
    display: inline-block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    padding: 0;
}

/* スマホ用引き出しメニュー（オーバーレイ） */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* 最初は画面の外 */
    width: 80%;
    height: 100%;
    background: #001529;
    z-index: 1000;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    right: 0; /* 画面内に出てくる */
}

/* メニュー内のリンク */
.mobile-menu a {
    display: block;
    color: white;
    padding: 20px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 背景を暗くする幕 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}
