/* base */
*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #222;
    background: #fff;
    -webkit-text-size-adjust: 100%
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom
}

a {
    color: #1a56c4
}

a:focus-visible {
    outline: 2px solid #ef7c00;
    outline-offset: 2px
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

p {
    margin: 0
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* header */
.site-header {
    padding: 24px 0 32px;
    text-align: center
}

.site-header h1 {
    margin: 0;
    font-size: 0
}

.site-header img {
    width: auto;
    max-height: 200px
}

/* section */
.section-title {
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5
}

.label-pill {
    display: inline-block;
    margin: 0 0 16px;
    padding: 2px 20px;
    border-radius: 999px;
    background: #e60039;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.8
}

/* info-list */
.info-list {
    margin: 0
}

.info-list dt {
    margin: 24px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #a9c4f0;
    color: #2a6fdb;
    font-size: .9rem;
    font-weight: 700
}

.info-list dt::before {
    content: "◆"
}

.info-list dt:first-child {
    margin-top: 0
}

.info-list dd {
    margin: 0
}

.info-list ul li {
    padding-left: 1em;
    text-indent: -1em
}

.info-list ul li::before {
    content: "・"
}

.info-list .sub-title {
    margin-top: 12px;
    font-weight: 700
}

.info-list .sub-title:first-child {
    margin-top: 0
}

/* footer */
.site-footer {
    margin-top: 80px;
    padding: 48px 0
}

.site-footer .inner {
    position: relative;
    text-align: center
}

.copyright {
    font-size: .75rem
}

.pagetop {
    position: absolute;
    right: 20px;
    bottom: -16px;
    display: block;
    width: 32px;
    opacity: 1;
    transition: opacity .3s ease
}

.pagetop:hover {
    opacity: .6
}

/* sp */
@media (max-width:1200px) {
    body {
        font-size: 14px
    }

    .inner {
        padding: 0 16px
    }

    .site-header {
        padding: 16px 0 24px
    }

    .site-header img {
        max-height: 140px
    }

    .section-title {
        font-size: 1.25rem
    }

    .site-footer {
        margin-top: 56px;
        padding: 40px 0 56px
    }

    .pagetop {
        right: 16px;
        bottom: -32px
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .pagetop {
        transition: none
    }
}

/* company */
.company {
    margin-top: 40px
}

.company:first-child {
    margin-top: 0
}

.company-name {
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5
}

.company-lead-text {
    margin: 0 0 16px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.7
}

.company-lead-photo {
    max-width: 600px;
    margin: 0 auto 32px
}

.company-lead-photo img {
    width: 100%
}

@media (max-width:1200px) {
    .company {
        margin-top: 32px
    }

    .company-name {
        font-size: 1.125rem
    }

    .company-lead-text {
        font-size: 1rem
    }

    .company-lead-photo {
        margin-bottom: 24px
    }
}

/* hero */
.hero {
    margin: 0 0 32px;
    text-align: center
}

.hero img {
    width: 100%;
    max-width: 500px
}

.lead-text {
    margin: 0 0 56px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.9
}

/* entry-list */
.guidelines {
    padding: 24px 28px;
    border: 1px solid #a9c4f0;
    border-radius: 4px
}

.entry-list {
    margin: 0
}

.entry-list dt {
    margin: 20px 0 4px;
    color: #2a6fdb;
    font-size: .9rem;
    font-weight: 700
}

.entry-list dt:first-child {
    margin-top: 0
}

.entry-list dd {
    margin: 0
}

.entry-list ul li {
    padding-left: 1em;
    text-indent: -1em
}

.entry-list ul li::before {
    content: "・"
}

.judge {
    display: block
}

.entry-method {
    display: flex
}

.entry-method-label {
    flex: none;
    width: 5em;
    white-space: nowrap
}

/* sponsor */
.challenge {
    margin: 64px 0 32px;
    font-size: 1.125rem;
    font-weight: 700
}

.sponsor {
    margin-top: 48px
}

.sponsor-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start
}

.sponsor-photo img {
    width: 100%
}

.sponsor-text h3 {
    margin: 24px 0 4px;
    color: #2a6fdb;
    font-size: .9rem;
    font-weight: 700
}

.sponsor-text h3:first-child {
    margin-top: 0
}

.sponsor-text p+p {
    margin-top: 8px
}

/* points */
.points {
    margin-top: 64px;
    padding: 24px 28px;
    background: #f2f6fd;
    border-radius: 4px
}

.points dt {
    display: inline-block;
    margin: 0 0 4px;
    padding: 0 16px;
    border-radius: 999px;
    background: #2a6fdb;
    color: #fff;
    font-size: .8rem;
    font-weight: 700
}

.points dd {
    margin: 0 0 20px
}

.points dd:last-child {
    margin-bottom: 0
}

/* entry-button */
.entry-button {
    margin-top: 48px;
    text-align: center
}

.entry-button a {
    display: inline-block;
    min-width: 240px;
    padding: 12px 32px;
    border-radius: 6px;
    background: #e60039;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .3s ease
}

.entry-button a:hover {
    opacity: .8
}

@media (max-width:1200px) {
    .hero {
        margin-bottom: 24px
    }

    .lead-text {
        margin-bottom: 40px;
        font-size: 1rem
    }

    .guidelines {
        padding: 16px
    }

    .entry-method {
        display: block
    }

    .entry-method-label {
        display: block;
        width: auto
    }

    .challenge {
        margin-top: 48px;
        font-size: 1rem
    }

    .sponsor {
        margin-top: 40px
    }

    .sponsor-body {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .points {
        margin-top: 48px;
        padding: 16px
    }

    .points br.pc {
        display: none
    }

    .entry-button {
        margin-top: 40px
    }

    .entry-button a {
        display: block;
        min-width: 0
    }
}

@media (prefers-reduced-motion:reduce) {
    .entry-button a {
        transition: none
    }
}