/* 春ロボ・夏ロボ共有のスタイル */
:root {
    --haru: #ff92cb;
    --natu: #367D0A;
    --unei: #6c757d; /* secondaryと同色 */
}

.haru-color {
    color: var(--haru);
}
.natu-color {
    color: var(--natu);
}
.unei-color {
    color: var(--unei);
}

.text-stroked {
    text-decoration: line-through;
}

/* @media (min-width: 768px) { */
@media (min-width: 992px) {
    #nav_items li {
        display: block;
        width: 106px;
        font-size: 13px;
        padding: 0 3px;
    }
    #nav_items li:not(:first-child){
        border-left: 1px solid rgba(255, 255, 255, .3);
    }
    #nav_items li > a {
        position: relative;
        padding-top: 40px;
        margin: 0;
        width: 100%;
        height: 60px;
        text-align: center;
    }
    .nav-item > a > span::before {
        position: absolute;
        top: 0;
        left: 38%;
        font-size: 27px;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
    }
    .nav-home     > a > span::before { content: '\f015'; }
    .nav-entry    > a > span::before { content: '\f1d8'; }
    .nav-rulebook > a > span::before { content: '\f02d'; }
    .nav-history  > a > span::before { content: '\f1da'; }
    .nav-event    > a > span::before { content: '\f073'; }
    .nav-contact  > a > span::before { content: '\f0e0'; }
    /* for unei */
    .nav-about-us > a > span::before { content: '\f059'; }
    .nav-recruit  > a > span::before { content: '\f234'; }
    .nav-sponsor  > a > span::before { content: '\f4b9'; }
    .nav-document > a > span::before { content: '\f07c'; }
    .nav-minutes  > a > span::before { content: '\f0c6'; }
}

@media (max-width: 575px) {
    .d-xs-none {
        display: none;
    }
}

#container {
    padding-top: 20px;
}

.head-icon {
    width: 70px;
    height: 70px;
    color: #fefefe;
    font-size: 40px;
    padding: 5px 0;
    margin: 10px auto;
    border-radius: 35px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

section {
    margin: 20px 0 40px;
}
.section-title {
    margin-bottom: 20px;
}
.download-file a {
    padding-top: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.download-file a p {
    color: #c1c1c1;
    font-weight: lighter;
}
.download-file a h4 {
    color: #fefefe;
}

.table-no-border td {
    border-top: none;
}
.table-bottom-border tr:last-of-type td {
    border-bottom: 1px solid #dee2e6;
}

footer {
    color: rgba(255, 255, 255, 0.75);
    padding-top: 30px;
    padding-top: 20px;
}
footer strong {
    color: rgba(255, 255, 255, 1.0);
}
footer nav ul{
    text-align: right;
}
footer nav ul li{
    display: inline;
    margin-left: 20px;
}
footer nav ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
footer nav ul li a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.mail-address {
    background-clip: border-box;
    border: 1px solid var(--theme-color);
    border-radius: 0.25rem;
    padding: 12px 20px;
    margin: 10px 10px 10px 20px;
}

#contest_summary .sponsor ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
#contest_summary .sponsor ul li:not(:last-child) {
    margin-bottom: .2em;
}

#sponsor tr {
    height: min(20vw, 160px);
}
#sponsor tr td:nth-child(1) {
    width: 50%;
    vertical-align: middle;
}
#sponsor tr td:nth-child(2) {
    vertical-align: middle;
    text-align: center;
}
#sponsor tr td:nth-child(2) img {
    max-height: min(20vw, 160px);
}
#sponsor tr td:nth-child(2) img[alt="ウルトエレクトロニクス様 ロゴ画像"] {
    /* 他のロゴと比べて横に長く大きいため微調整 */
    max-height: min(18vw, 140px);
}

ul.kome li {
    list-style-type: none;
    text-indent: -1.5em;
}
ul.kome li:before {
    display: inline;
    content: "※";
    padding-right: 0.5em;
}
