@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

html,
body {
    /* font-family: "PT Serif", serif; */
    background-color: #FFF8F3;
    font-size: 14px;
}

body.ja {
    font-family: "Shippori Mincho", "Noto Serif JP", "Arial", "Roboto", sans-serif;
}

/* 英語ページのフォント（例：Roboto） */
body.en {
    font-family: "Helvetica", "Arial", "Roboto", sans-serif;
}

body {
    padding-top: 55px;
    min-height: 100vh;
    /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;
    font-weight: 600;
}


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

main {
    margin-bottom: 50px;
}

/* PC（例: 1024px以上の画面）のときに横幅を狭くする */
@media screen and (min-width: 768px) {
    main {
        max-width: 60%;
        /* デスクトップで狭くしたい幅 */
        margin: auto;
        font-size: 1.6rem;
        margin-bottom: 100px;
    }

    .br-sp {
        display: none;
    }
}



h1 {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    color: #000000;
    position: relative;
    margin: 1rem auto 1.5rem;
}

h2 {
    font-size: 1.3rem;
    text-align: center;
    color: #000000;
    position: relative;
    padding-bottom: 0.5rem;
    padding: 1rem 0.75rem;
}

h3 {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: #000000;
    position: relative;
    margin: 0.5rem;
    word-break: keep-all;
    overflow-wrap: break-word;

}

p,
ul,
li {
    font-size: 1rem;
    margin: 0;
}

button {
    padding: 14px 16px;
    display: block;
    margin: 16px auto;
    border: 2px solid #E7352B;
    color: #E7352B;
    background-color: white;
    /* 任意のパディング */
    border-radius: 4px;
    /* 任意の角丸 */
    cursor: pointer;
    /* ホバー時にカーソル変更 */
    font-size: 1rem;
    font-weight: 800;
    word-break: keep-all;
    overflow-wrap: break-word;
}

button:hover {
    background-color: #E7352B;
    color: white;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 0px solid #E7352B;
}

.prize-note {
    font-size: 1rem;
    color: #555;
    margin: 1rem;

}

@media (min-width: 768px) {
    h1 {
        font-size: 2.3rem;
        margin: 3rem 0.7rem 3rem 1rem;
    }

    h2 {
        font-size: 1.6rem;
        text-align: center;
        font-weight: 500;
        color: #000000;
        position: relative;
        padding-bottom: 0.5rem;
        margin: 1rem 0.75rem;
    }

    h3 {
        font-size: 1.4rem;

    }


    p {
        font-size: 1.3rem;
        margin: 10px 20px;
        text-align: center;
    }

    ul,
    li {
        font-size: 1.3rem;
    }

    button {
        font-size: 1.3rem;
    }

    .prize-note {

        text-align: center;
        margin-bottom: 2rem;
    }
}




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

.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: 8px 0;
    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;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.notice-toggle-btn:hover {
    background-color: #1d4ed8;
}

.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-date {
        font-size: 1.2rem;
    }

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