:root {
    --main-color: #dca000;
    --text-color: #dca000;
    --button-color: white;
    --black: #000000;
    --gray: #aaaaaa;
}

.cover-section {
    position: relative;
    height: 100vh;
}

.cover-section img {
    height: auto;
}

.cover-text h1 {
    text-align: left;
    font-size: 2.4rem;
    font-family: Noto Serif JP;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 30px;

}

.cover-text h2 {
    font-size: 6.5rem;
    font-family: Oswald;
    font-weight: 200;
    margin-bottom: 50px;
    letter-spacing: 10px;
    line-height: 1.3;
}

.cover-text h2 span {
    font-size: 2.4rem;
    font-family: Noto Serif JP;
    font-weight: 600;
    letter-spacing: 1px;
}

.title h2,
.title p {
    text-align: left;
}

.cover-warapper {
    display: flex;
    position: static;
    align-items: center;
}

.cover-text {
    color: black;
    transform: none;
    position: static;
    flex: 1;
    padding: 0 100px;
    display: flex;
    justify-content: center;
    /* 横中央 */
    height: 100%;

}

.cover-text .title {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.cover-text .title p {
    font-size: 1.6rem;
}

.cover-text .company {
    font-size: 1.2rem !important;
    margin-top: 50px;
}

.open-circle {
    width: 280px;
    height: 280px;
    aspect-ratio: 1;
    background: #ffe100;
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #111;

    position: absolute;
    bottom: 40px;
    right: 40%;
    z-index: 10;
    gap: 0;
}

/* Now Open! */
.open-circle .en {
    font-size: 2rem;
    font-weight: 700;
    font-family: Oswald;
}

/* 応募受付締切 */
.deadline {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    width: fit-content;
    letter-spacing: 5px;
}

.deadline::before,
.deadline::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #111;
}

.deadline::before {
    top: 0;
}

.deadline::after {
    bottom: 0;
}

/* 年 */
.year {
    font-size: 1.6rem;
    letter-spacing: 2px;

}

/* 日付 */
.date {

    line-height: 1;
}

.gray {
    color: var(--gray);
}

.date .month,
.date .day {
    font-size: 6rem;
    font-weight: 500;
    line-height: 0;
}

.date {
    font-size: 40px;
}

/* Scroll */
.scroll {
    font-size: 1.6rem;
    font-family: Oswald;
}

.scroll span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    transform: rotate(45deg);
    margin: 0 auto;
    margin-top: 0;
}

figcaption {
    margin-top: 8px;
    font-size: 1.2rem;
    text-align: right;
    line-height: 1.5;
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: 5%;
}

.img-wrap {
    flex: 1;
    position: relative;
}

.img-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 30%;
    /* グラデーションの高さ */

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0) 100%);

    pointer-events: none;
    z-index: 1;

}

.top-title h1 {
    font-size: 1.8rem;
    line-height: 1;
}

.top-title span {
    font-size: 1.4rem;
    text-align: right;
}

.top-title .text p {
    border-bottom: solid 1px white;
    font-size: 2.4rem;
    font-family: Noto Serif JP;

}

.bg-black {
    background-color: black;
}

.bg-yellow {
    background-color: #f7f5ee;
}

.top-section {
    padding-top: 20px;
    padding-bottom: 70px;
}

.gold {
    color: #dca000;
}

.top-title h2 {
    font-family: Noto Serif JP;
    font-size: 3.2rem;
}

.category2 .top-title h2 {
    font-family: Oswald;
    font-size: 5.6rem;
    font-weight: 300;
    line-height: 1;
}

.category2 .top-title h1 {
    width: 100%;
}

.category2 {
    padding-top: 70px;
    padding-bottom: 70px;
}



.center {
    text-align: center;
}

/* グリッド */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-top {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 16px;
}

/* 2・3行目は5:5 */
.gallery-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.card {
    position: relative;
    overflow: hidden;
}



.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* セルいっぱいに表示してトリミング */

/* 黒グラデーション */
.card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* キャプション */
.caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: Noto Serif JP;
}



.company {
    font-size: 1.2rem;
    font-family: Noto Sans JP;
    font-weight: 400;
}

.block {
    display: block;
}

.item h1,
.item h2,
.item p {
    text-align: center;
    width: 100%;
}

.item h1 {
    font-size: 1.4rem;
    font-family: Noto Sans JP;
    line-height: 1;
    color: black;
    font-weight: 700;
}

.item h2 {
    margin: 10px 0;
    letter-spacing: 1.5;
    font-size: 2rem;
}

.item {
    border: solid 1px #dca000;
    border-radius: 15px;
    width: calc((100% - 40px) / 3);
    padding: 40px 20px;
}

.hgc-blk {
    gap: 15px;
}

.Judg-section {
    padding-bottom: 70px;
}

.Judg-section .text p {
    padding: 20px 0;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding: 30px 100px 30px 0;
    /* 右側に数字分の余白 */
    border-bottom: 1px solid #bdbdbd;
    font-weight: 700;
}

.Judg-section span {
    font-size: 1.6rem;
    font-weight: 400;
}

.Judg-section .text p:first-child {
    border-top: solid 1px #bdbdbd;
}

.Judg-section p::after {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 56px;
    font-family: "Noto Serif JP", serif;
    color: #dca000;
    font-weight: 500;
}

/* 番号 */
.Judg-section .text p:nth-child(1)::after {
    content: "01";
}

.Judg-section .text p:nth-child(2)::after {
    content: "02";
}

.Judg-section .text p:nth-child(3)::after {
    content: "03";
}

.Judg-section .text p:nth-child(4)::after {
    content: "04";
}

.Judg-section .text p:nth-child(5)::after {
    content: "05";
}

.btn-wrap {
    display: flex;
    gap: 20px;
}

.top-btn a {
    background: var(--main-color);
    color: var(--button-color);
    border: 1px solid var(--main-color);
}

.top-btn a:hover {
    background: var(--button-color);
    color: var(--text-color);
}

.btn-arrow-right a::after {
    border-top: 2px solid var(--button-color);
    border-right: 2px solid var(--button-color);
}

.btn-arrow-right a:hover::after {
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
}

#apply .item {
    width: 100%;
    padding: 40px;
}

#apply .item h1,
#apply .item h2,
#apply .item p {
    text-align: left;
}

#apply .item h2 {
    margin: 0;
}

.apply-category {
    padding-bottom: 60px;
}

.archive-blk .item {
    border: none;
}

.archive-blk h2 {
    font-size: 1.6rem;
    line-height: 1.5;
}

.archive-blk span {
    font-family: Oswald;
    font-size: 1.6rem;
}

.archive-blk p {
    font-size: 2rem !important;
    font-family: Noto Serif JP !important;
    font-weight: 700;
    line-height: 1.5;
}

.archive-link span {
    font-weight: 400;
    font-size: 1.4rem;
}

.archive-blk .company {
    font-size: 1.4rem !important;
}

@media screen and (max-width: 1024px) {
    .caption {
        position: absolute;
        left: auto;
        right: 5x;
        bottom: 12px;
        z-index: 1;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        font-family: Noto Serif JP;
    }

    figcaption {
        bottom: 20px;
        color: var(--button-color);
        letter-spacing: 2;
    }

    .cover-warapper {
        flex-direction: column;

    }

    .cover-section {
        height: fit-content;
    }

    .cover-text {
        padding: 0;
        padding-top: 40px;
        padding-bottom: 370px;
    }

    .open-circle {
        left: 50%;
        transform: translateX(-50%);
    }

    .cover-text h1 {
        font-size: 1.6rem;
    }

    .cover-text h2 {
        font-size: 4.5rem;
    }

    .top-title .text p {
        font-size: 2rem;
    }

    .is-flex {
        flex-direction: column;
    }

    .item {
        width: auto;
    }

    .item h2 {
        margin: 20px 0;
    }

    .Judg-section {
        padding-top: 70px;
    }

    .Judg-section p::after {
        font-size: 4rem;
        top: 30%;
    }

    #apply .item {
        width: auto;
    }

    .category2 .top-title h2 {
        font-size: 4rem;
    }

    .gallery-bottom {
        grid-template-columns: 1fr;
    }

    .gallery-top {
        grid-template-columns: 1fr;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .archive-blk .item {
        padding: 0;
        margin-bottom: 40px;
    }

    .top-title {
        margin-bottom: 30px;
    }

    .pb-0 {
        padding-bottom: 0;
    }

    .top-title span {
        text-align: right;
        width: 100%;
    }
}