@charset "utf-8";
/* =========================================================================================
PAGE HEADER
=========================================================================================*/
body.komataisen-monomesse .page-header {
    background: #fcd508;
}

/* =========================================================================================
H2
=========================================================================================*/
.entry-content h2 {
    width: 80%;
    max-width: 740px;
    margin-inline: auto;
    translate: 10% 0;
}
.entry-content h2 + p {
    width: fit-content;
    margin-top: 80px;
}
@media only screen and (max-width: 820px) {
    .entry-content h2 + p {
        margin-top: 40px;
    }
}

/* =========================================================================================
H3
=========================================================================================*/
section h3 {
    color: #ffffff;
    font-weight: var(--bold-font-weight);
    font-size: clamp(1.625rem, calc(0.993rem + 2.697vw), 2.375rem); /* min: 26px, max: 38px */
    text-align: center;
    line-height: 1.4;
    padding: 0.25em;
    border-radius: 50px;
    margin-bottom: 30px;
}
section.school-list h3 {
    background-color: #ffb552;
}
section.team-list h3 {
    background-color: #5ae2d6;
    margin-bottom: 0;
}
section.sponsor-list h3 {
    background-color: #6ad9ff;
}

/* =========================================================================================
LAYOUT
=========================================================================================*/
#main {
    background: #ffeacc;
}
section.school-list {
    padding-block: 0;
}
section.team-list {
    padding-bottom: 0;
}
/* =========================================================================================
参加校
=========================================================================================*/
.school-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px 40px;
    width: fit-content;
    margin-inline: auto;
}
.school-list ul li {
    font-size: clamp(1.25rem, calc(-0.099rem + 2.632vw), 1.875rem); /* min: 20px, max: 30px */
    position: relative;
    padding-left: 2.5em;
}
.school-list ul li a {
    text-decoration: none !important;
}
.school-list ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2em;
    aspect-ratio: 1 / 1;
}
.school-list ul li:nth-child(odd):before {
    background: url("../images/page/event/komataisen-monomesse/icon-koma-orange.svg") no-repeat center/contain;
}
.school-list ul li:nth-child(even):before {
    background: url("../images/page/event/komataisen-monomesse/icon-koma-blue.svg") no-repeat center/contain;
}
@media only screen and (max-width: 820px) {
    .school-list ul {
        gap: 20px;
    }
    .school-list ul li {
        font-size: clamp(1.125rem, calc(1.02rem + 0.449vw), 1.25rem); /* min: 18px, max: 20px */
        line-height: 1.5;
        padding-left: 55px;
    }
    .school-list ul li::before {
        width: 45px;
        height: 45px;
    }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
チーム紹介 / 学校名
=========================================================================================*/
.school_name-header {
    display: flex;
    justify-content: end;
    position: relative;
    width: 100%;
    margin-block: 60px 40px;
}
.school_name-header .icon-koma {
    position: absolute;
    width: 110px;
    height: 110px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
}
.school_name-header .icon-koma img {
    width: 100%;
    height: auto;
}
.school_name-header h4 {
    width: 95%;
    text-align: center;
    padding: 0.25em 1em 0.25em 1.5em;
    font-size: clamp(1.5rem, calc(-0.658rem + 4.211vw), 2.5rem); /* min: 24px, max: 40px */
    font-weight: var(--black-font-weight);
}
.team-list .inner > div {
    padding-top: 15px;
}
.team-list div[id]:nth-child(even) h4 {
    background: #fff2b5;
}
.team-list div[id]:nth-child(odd) h4 {
    background: #f0f0ff;
}
@media only screen and (max-width: 820px) {
    .school_name-header {
        margin-block: 20px 20px;
    }
    .school_name-header .icon-koma {
        width: 60px;
        height: 60px;
    }
    .school_name-header h4 {
        width: 93%;
        line-height: 1.4;
    }
}
@media only screen and (max-width: 468px) {
    .school_name-header h4 {
        width: 91%;
    }
}

/* =========================================================================================
チーム紹介
=========================================================================================*/
section.team-list div.photo {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 15px;
}
section.team-list ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    position: relative;
    padding-block: 30px;
    align-items: center;
}
section.team-list ul li::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: radial-gradient(circle, #333 2px, transparent 2px);
    background-size: 10px 4px;
    background-repeat: repeat-x;
}
section.team-list ul li:last-child:before {
    display: none;
}
section.team-list ul li div.title {
    font-weight: var(--black-font-weight);
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    font-size: clamp(1.5rem, calc(1.079rem + 1.798vw), 2rem); /* min: 24px, max: 32px */
    padding-inline: 1em;
}
section.team-list div[id]:nth-child(even) div.title {
    color: #f18702;
}
section.team-list div[id]:nth-child(odd) div.title {
    color: #41cfff;
}
section.team-list ul li div.text {
    font-size: clamp(1.25rem, calc(0.618rem + 2.697vw), 2rem); /* min: 20px, max: 32px */
    line-height: 1.3;
}
section.team-list h5 {
    color: #04d5c2;
    text-align: center;
    font-weight: var(--black-font-weight);
    font-size: clamp(1.5rem, calc(0.657rem + 3.596vw), 2.5rem); /* min: 24px, max: 40px */
    margin-bottom: 1em;
    line-height: 1.4;
}
section.team-list hr {
    width: 100%;
    max-width: 100%;
    height: 2px;
    border: none;
    background-color: #707070;
    margin: 3vh auto 5vh;
}
section.team-list #sukumo-kougyou hr {
    margin: 5vh auto;
}
@media only screen and (max-width: 820px) {
    section.team-list div.photo.half {
        width: fit-content;
    }
    section.team-list ul li {
        display: block;
    }
    section.team-list ul li div.title {
        text-align: left;
        margin-bottom: 0.5em;
        padding: 0;
    }
    section.team-list ul li div.text {
        line-height: 1.6;
    }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
スポンサー企業
=========================================================================================*/
section.sponsor-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    padding-top: 1em;
}
section.sponsor-list ul li {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media only screen and (max-width: 820px) {
    section.sponsor-list ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}
@media only screen and (max-width: 468px) {
}
