/* ベースとなるスタイル */
html,
body {
    margin: 0;
    padding: 12;
    width: 100%;
    height: 100%;
}

/* タブレットサイズ */
@media (max-width: 768px) {
    .menu {
        font-size: 14px;
        padding: 8px;
    }
}

/* モバイルサイズ */
@media (max-width: 480px) {
    .menu {
        font-size: 12px;
        padding: 5px;
    }
}

.b {
    width: 535px;
    position: relative;
    display: none;
}
/* ------- */

/* トップ */
.header {
    align-self: stretch;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100vw;
    background-color: #e4f7ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 40px 16px;
    box-sizing: border-box;
    text-align: left;
    font-size: 40px;
    color: #8c243f;
    z-index: 5;
}
.font2 {
    font-size: 24px;
    font-family: Inter;
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header {
        font-size: 30px;
    }
    .font2{
        font-size: 20px;
    }
}

/* さらに小さな画面幅、例えば500px以下の場合、もっと小さくする */
@media (max-width: 425px) {
    .header {
        font-size: 22px;
        padding: 20px 20px 12px;
    }
    .font2{
        font-size: 12px;
    }
}

@media (max-width: 405px) {
    .header {
        font-size: 20px;
    }

}

@media (max-width: 375px) {
    .header {
        font-size: 18px;
        padding: 20px 20px 12px;
    }

    .font2 {
        font-size: 12px;
    }
}
@media (max-width: 320px) {
    .header{
        font-size:16px;
        padding: 20px 12px 12px;
    }
}

.top-parent {
    width: 100%;
    position: relative;
    background-color: #e4f7ff;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 48px;
    color: #8c243f;
    font-family: Inter;
}
@media (max-width: 425px) {
    .top-parent {
        font-size: 32px;
    }
}
@media (max-width: 375px) {
    .top-parent {
        font-size: 24px;
    }
}
@media (max-width: 320px) {
    .top-parent {
        font-size: 20px;
    }
}

.christmas-tree-img {
    width: 100%;
    position: absolute;
    align-items: center;
    top: 62px;
    height: 1611.1px;
    object-fit: cover;
    z-index: 0;
}
@media screen and (max-width: 768px) {
    .christmas-tree-img {
        width: 100%;
        /* スマホで表示する際は画像を100%の幅にして調整 */
        max-width: 900px;
        /* 最大幅を300pxに制限（スマホでの大きさに調整） */
        height: auto;
        top: 70px;
    }
}

@media screen and (max-width: 425px) {
    .christmas-tree-img {
        width: 100%;
        /* スマホで表示する際は画像を100%の幅にして調整 */
        max-width: 500px;
        /* 最大幅を300pxに制限（スマホでの大きさに調整） */
        height: auto;
        top: 54px;
    }
}

.image-white-overlay {
    align-self: stretch;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
    z-index: 2
}

.header-overlay {
    width: 100%;
    align-self: stretch;
    height:  200px;
    align-items: center;
}

.image-transparent-overlay {
    box-sizing: border-box;
    width: 100%;
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0);
    height: 500px;
}
@media screen and (max-width: 768px) {
    .image-transparent-overlay{
        height: 200px;
    }
}

@media screen and (max-width: 425px) {
    .image-transparent-overlay {
        height: 40px;
    }
}

@media screen and (max-width: 375px) {
    .image-transparent-overlay {
        height: 20px;
    }
}
@media screen and (max-width: 320px) {
    .image-transparent-overlay {
        height: 0px;
    }
}

.christmas-font {
    position: relative;
    font-family: 'Kaisei Tokumin';
    cursor: pointer;
}

.wrapper {
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px 44px;
    font-size: 92px;
}

@media (max-width: 1200px) {
    .wrapper {
        font-size: 72px;
    }
}

@media (max-width: 992px) {
    .wrapper {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        font-size: 40px;
    }
}

@media (max-width: 425px) {
    .wrapper {
        font-size: 28px;
    }
}

@media (max-width: 405px) {
    .wrapper {
        font-size: 26px;
    }

}
@media (max-width: 375px) {
    .wrapper {
        font-size: 24px;
    }
}
@media (max-width: 320px) {
    .wrapper {
        font-size: 20px;
    }
}

/* 開催概要 */
.about-button {
    align-self: stretch;
    max-width: 100vw;
    border-radius: 20px;
    background-color: #8c243f;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    margin: 0px 60px;
    box-sizing: border-box;
}
@media (max-width: 425px) {
    .about-button {
        padding: 8px 30px;
        margin: 0px 80px;
    }
}

@media (max-width: 375px) {
    .about-button {
        padding: 8px 30px;
        margin: 0px 80px;
    }
}

@media (max-width: 320px) {
    .about-button {
            padding: 4px 30px;
            margin: 0px 80px;
        }
}

.b2 {
    line-height: 38.4px;
}

.about-text-parent {
    align-self: stretch;
    align-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0px 20px;
    padding: 0px 20px;
    color: #8c243f;
    text-align: left;
}

.about-parent {
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 0px 48px;
    gap: 24px;
    color: #fff;
}
@media screen and (max-width: 768px) {
    .about-parent {
        font-size: 30px;
    }
}

@media screen and (max-width: 425px) {
    .about-parent{
        font-size: 20px;
        gap: 18px;
    }
}

@media screen and (max-width: 375px) {
    .about-parent {
        font-size: 18px;
        gap: 16px;
    }
}

@media screen and (max-width: 320px) {
    .about-parent {
            font-size: 12px;
            gap: 8px;
        }
}

.font6 {
    align-self: stretch;
    position: relative;
    font-size: 13.28px;
    line-height: 24.48px;
    font-family: Inter;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 24.5px; */
    flex-shrink: 0;
    color: #8c243f;
    padding: 0px 16px;
}
@media screen and (max-width: 425px) {
    .font6 {
        font-size: 10px;
    }
}
@media screen and (max-width: 375px) {
    .font6 {
        font-size: 10px;
    }
}
@media screen and (max-width: 320px) {
    .font6 {
        font-size: 10px;
    }
}

.about-text-detail {
    /* align-self: stretch; */
    /* position: relative; */
    padding: 0px 30px;
    font-size: 20px;
    line-height: 30px;
    font-family: Inter;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 24.5px; */
    flex-shrink: 0;
    color: #8c243f;
}

/* 参加団体 */

.participation-container {
    align-self: stretch;
    background-color: #fff7f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 24px 64px;
    gap: 56px;
}

.h1 {
    align-self: stretch;
    line-height: 76.8px;
}
@media (max-width: 425px) {
    .h1 {
        line-height: 60px;
    }
}
@media (max-width: 375px) {
    .h1 {
        line-height: 30px;
    }
}
@media (max-width: 320px) {
    .h1 {
        line-height: 20px;
    }
}

/* カード */
.h4 {
    align-self: stretch;
    position: relative;
    line-height: 24.64px;
    font-weight: 600;
    display: flex;
    align-items: center;
    height: 24.6px;
    font-size: 17.6px;
}

.h5 {
    align-self: stretch;
    position: relative;
    font-size: 13.6px;
    line-height: 24.48px;
    display: flex;
    align-items: center;
    align-self: auto;
    flex-shrink: 0;
    height: 48px;
}

.text-box-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 16px;
    gap: 8px;
    z-index: 2;
}

.moleclues-card {
    width: 338px;
    border-radius: 10px;
    border: 2px solid #8c243f;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.5s ease;
    overflow: hidden;
}

@media (max-width: 320px) {
    .moleclues-card {
        width: 180px;
    }
}

.moleclues-card-child {
    align-self: stretch;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    height: 222.7px;
    flex-shrink: 0;
    object-fit: cover;
    overflow: hidden;
}

.moleclues-card:hover {
    background-color: #8c243f;
    /* ホバー時の背景色 */
}

.moleclues-card:hover .h4,
.moleclues-card:hover .h5 {
    color: white;
    /* ホバー時のテキスト色 */
}

.moleclues-card-image {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    transform-origin: center center;
    overflow: hidden;
}

.moleclues-card:hover .moleclues-card-image {
    transform: scale(1.1);
    /* ホバー時に画像を1.1倍に拡大 */
}

.moleclues-card-parent {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* 個々のカードのスタイリング */
.moleclues-card {
    flex: 1 1 30%;
    max-width: 20%;
    box-sizing: border-box;
}

/* レスポンシブ対応のメディアクエリ */
@media (max-width: 1512px) {
    .moleclues-card {
        flex: 1 1 33.33%;
        /* 画面が狭い場合は3列で表示 */
        max-width: 33.33%;
    }
}

@media (max-width: 768px) {
    .moleclues-card {
        flex: 1 1 50%;
        /* タブレットサイズでは2列で表示 */
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .moleclues-card {
        flex: 1 1 100%;
        /* モバイルサイズでは1列で表示 */
        max-width: 100%;
    }
}
.font12{
    font-size: 32px;
}

.more-button{
    position: relative;
    line-height: 31.68px;
    font-weight: 600;
    border: 2px solid #8c243f;
    border-radius: 40px;
    padding: 16px 100px;
    font-size: 17.6px;
    background-color: #fff7f2;
    color: #8c243f;
    font-family: Inter;
    cursor: pointer;
}
@media (max-width: 425px) {
    .more-button {
        padding: 16px 70px;
    }
}
@media (max-width: 320px) {
    .more-button {
        padding: 16px 50px;
    }
}

.more-button:hover{
    background-color: #8c243f;
    color: #fff7f2;
    transition: transform 0.8s ease;
}

.time-schedule {
    min-width: 400px;
    max-width: 400px;
    list-style: none;
    margin: 0 auto 0 auto;
    padding-left: 20px;
    border-left: 6px solid #8c243f;
    box-sizing: border-box;
}
.time-schedule li {
    width: 100%;
    margin: 0 0;
    padding: 5px 0;
    position: relative;
}

.time-schedule span.time {
    width: auto;
    display: inline-block;
    margin-left: -8.5em;
    padding: 0 0 5px;
    margin-top: 15px;
    vertical-align: top;
    position: relative;
    text-align: right;
    box-sizing: border-box;
    font-size: 20px;
}

.time-schedule span.time::after {
    content: "";
    position: absolute;
    right: -35px;
    top: 0;
    background: #8c243f;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.time-schedule .sch_box {
    display: inline-block;
    width: 100%;
    margin-left: 30px;
    padding: 15px 10px 15px 10px;
    vertical-align: middle;
    background: #e4f7ff;
    box-sizing: border-box;
    border-radius: 6px;
}

.time-schedule .sch_title {
    font-size: 16px;
    font-weight: 700;
}

.time-schedule .sch_tx {
    font-size: 14px;
    font-weight: normal;
}

@media (max-width: 724px) {
    .time-schedule {
        min-width: 100%;
        /* 幅をデバイスに合わせる */
        max-width: 100%;
        margin: 0;
        padding-left: 0;
        /* 左の縦棒を削除 */
        border-left: none;
        /* 縦棒を非表示 */
    }

    .time-schedule li {
        display: flex;
        flex-direction: column;
        /* 縦方向に並べる */
        align-items: center;
        /* 中央揃え */
        margin: 0 0 15px;
        padding: 0 0 15px;
        border-bottom: 1px solid #ccc;
    }

    .time-schedule span.time {
        font-size: 18px;
        /* フォントサイズを少し小さく */
        margin: 0 0 10px 0;
        /* タイム部分の間隔を調整 */
        text-align: center;
        /* 中央揃え */
    }

    .time-schedule span.time::after {
        display: none;
        /* 丸を非表示 */
    }

    .time-schedule .sch_box {
        width: 90%;
        /* 幅を少し狭めて中央配置 */
        margin: 0 auto;
        /* 中央揃え */
        padding: 15px;
        /* 余白を調整 */
        font-size: 14px;
        /* 全体のフォントサイズを少し小さく */
    }

    .time-schedule .sch_title {
        font-size: 16px;
        /* タイトルは少し大きめ */
        text-align: center;
        /* タイトルを中央揃え */
    }

    .time-schedule .sch_tx {
        font-size: 13px;
        /* 補足情報を少し小さく */
        text-align: center;
        /* 補足情報も中央揃え */
    }
}
/* 昨年の様子 */
.youtube-container {
    align-self: stretch;
    background-color: #8c243f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 20px 60px;
    position: relative;
    gap: 24px;
    color: #fff;
}

.youtube-in {
    position: relative;
    overflow: hidden;
    /* オーバーフローされる内容は非表示に */
    width: 100%;
    /* コンテナの幅をビューポートに対して100%に設定 */
    padding-top: 56.25%;
    /* 16:9のアスペクト比を保持する */
}

.youtube-in iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* iframeの幅をコンテナの100%に設定 */
    height: 100%;
    /* iframeの高さをコンテナの100%に設定 */
}

/* 開催場所 */
.place-info {
    align-self: stretch;
    background-color: #fff7f2;
    padding: 36px 20px 60px;
    gap: 30px;
}
@media (max-width: 425px) {
    .place-info {
        padding: 36px 20px 20px;
    }
}

.place-info-container {
    align-self: stretch;
    gap: 32px;
    z-index: 0;
    padding: 0px 0px 12px;
}

.font3 {
    font-size: 20px;
    line-height: 24.48px;
    font-weight: 600;
}

@media (max-width: 425px) {
    .font3 {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .font3 {
        font-size: 12px;
    }
}

.place-item iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* 16:9の比率を保持 */
}

/* 実行委員より */
.coment-text-container{
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.coment-container{
    align-self: stretch;
    background-color: #fff7f2;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 30px 80px;
}
@media (max-width: 425px) {
    .coment-container{
        padding: 36px 30px 40px;
    }
}

.p {
    margin: 0;
}

/* メンバー */
.member-container {
    max-width: 100vw;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 20px;
}
@media (max-width: 425px) {
    .member-container {
        padding: 30px 20px;
    }
}

.font4 {
    align-self: stretch;
    position: relative;
    font-weight: 600;
}

.frame-member-container {
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* justify-content: space-between; */
    padding: 0 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.atoms-text-member-group {
    align-items: stretch;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    /* 子要素を両端に配置 */
    padding: 8px 20px;
    box-sizing: border-box;
}

/* メディアクエリでのレスポンシブ設定 */
@media (max-width: 1512px) {
    .atoms-text-member-group {
        flex: 1 1 33.33%;
        /* 画面が中間のサイズの場合は3列で表示 */
        max-width: 33.33%;
    }
}

@media (max-width: 768px) {
    .atoms-text-member-group {
        flex: 1 1 50%;
        /* タブレットサイズでは2列で表示 */
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .atoms-text-member-group{
        flex: 1 1 100%;
        /* モバイルサイズでは1列で表示 */
        max-width: 100%;
    }
}

.font7{
    line-height: 24.48px;
    font-size: 15px;
}

/* フッター */
.parent5 {
    align-self: stretch;
    background-color: #8c243f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 62px 30px;
    gap: 12px;
    font-size: 20px;
    color: #fff;
    font-family: 'Kaisei Tokumin';
}

.div29 {
    align-self: stretch;
    position: relative;
    font-size: 13.28px;
    line-height: 24.48px;
    font-family: Inter;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 24.5px; */
    flex-shrink: 0;
}