@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

html {
    font-size: 16px;
}

body {
    /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;
    /* ←相対位置 */
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #0080f6;

}

main {
    min-height: 100vh;
    /* margin-top: 45px; */

}

p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

#ulccwidparent {
    font-weight: 400;
    font-size: 1rem;
}

button {
    font-family: "Zen Kaku Gothic New";
}

.border-title {
    display: flex;
    align-items: center;
    text-align: center;
    color: #333;
    font-size: 1.4rem;
    margin: 1rem auto 2rem;
    max-width: 400px;
}

.border-title::before,
.border-title::after {
    content: "";
    flex: 1;
    border-top: 2px solid #4d4d4d;
    margin: 0 16px;
}

button .main-button {
    display: block;
    background-color: #fff500;
    /* 黄色 */
    color: #000;
    /* テキストは黒で見やすく */
    padding: 0.75rem 1.25rem;
    width: 80%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    /* 少し落ち着いた影 */
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.1rem;
    margin: 2rem auto;
    text-align: center;
}

button .main-button:hover {
    background-color: #ffd600;
    /* 少し明るく */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* ホバー時に影を強める */
}

/* --- 共通ボタンスタイル --- */
.btn {
    flex: 1;
    /* 横幅を均等に */
    padding: 12px 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.2s ease;
    text-align: center;
}

/* --- 新規登録ボタン --- */
.btn-primary {
    background: #28a745;
    color: #fff;
    display: flex;
    /* ← フレックスボックスを有効化 */
    align-items: center;
    /* ← 縦方向中央揃え */
    justify-content: center;
    /* ← 横方向中央揃え */
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* --- ログインボタン --- */
.btn-secondary {
    background: #007bff;
    color: #fff;
}

.btn-secondary:hover {
    background: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) {

    html {
        font-size: 20px;
    }

    main {
        max-width: 80%;
        margin: auto;
    }

    .br-sp {
        display: none;
    }
}



/*====================================================================
お知らせ欄
====================================================================*/

.notice-section {
    padding: 16px;
    background-color: #f3f4f6;
    padding-bottom: 2rem;
}

.notice-section h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* 特定ページ用：背景色なし */
.notice-section.no-bg {
    background-color: transparent;
}


.notice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notice-item {
    padding-bottom: 8px;
    border-bottom: 1px solid #d1d5db;
}

.notice-date {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0;
}

.notice-content {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.notice-toggle-btn {
    margin-top: 12px;
    padding: 8px 16px;
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 20px auto;
    font-weight: 400;
}

.notice-toggle-btn:hover {
    background-color: transparent;
    color: black;
}

.hidden {
    display: none;
}

@media screen and (min-width: 768px) {
    .notice-section h1 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .notice-list {
        width: 70%;
        margin: auto;
    }

    .notice-item {
        padding-left: 10rem;
    }

    .notice-date {
        text-align: left;
        font-size: 1.2rem;
    }

    .notice-content {
        text-align: left;
        font-size: 1.3rem;
    }

}