.site-footer {
    clear: both;
    margin-top: 32px;
    padding: 28px 16px;
    background: #101c35;
    text-align: center;
}

.site-footer-nav {
    max-width: 960px;
    margin: 0 auto;
}

.site-footer .site-footer-title {
    padding: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

.site-footer li a {
    display: block;
    padding: 7px 12px;
    border: 1px solid #53637d;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.site-footer li a:hover {
    background: #25395d;
}

.site-footer li a:focus-visible,
.football-home .team-link:focus-visible {
    outline: 2px solid #4680d9;
    outline-offset: 3px;
}

.site-footer .site-footer-copy {
    padding: 0;
    color: #cbd5e1;
    font-size: 13px;
    text-align: center;
}

.football-home #base {
    background: #f1f5fa;
}

:is(.football-home, .football-match) #base img {
    max-width: 100%;
    height: auto;
}

:is(.football-home, .football-match) #wrap {
    box-sizing: border-box;
    display: flow-root;
    width: 100%;
    max-width: 1020px;
    padding: 0 12px;
}

:is(.football-home, .football-match) #contents {
    width: 100%;
    text-align: left;
}

:is(.football-home, .football-match) #side_person {
    box-sizing: border-box;
    max-width: 100%;
}

@media (min-width: 1000px) {
    :is(.football-home, .football-match) #contents {
        width: calc(100% - 326px);
    }
}

@media (max-width: 999px) {
    :is(.football-home, .football-match) #side {
        float: none;
        clear: both;
        width: auto;
    }
}

.football-match #contents img {
    max-width: calc(100% - 10px);
}

.football-home h1 {
    height: auto;
    margin: 0;
    padding: 24px 16px;
    background: #101c35;
    color: #fff;
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.4;
    text-indent: 0;
}

.football-home .team-card {
    margin: 16px 0;
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #fff;
}

.football-home #contents .team-card h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #101c35;
    font-size: clamp(17px, 2.5vw, 22px);
}

.football-home #contents .team-card p {
    margin: 8px 0 16px;
    padding: 0;
}

.football-home .team-card table {
    width: 100%;
    margin-bottom: 12px;
    border-collapse: collapse;
}

.football-home .team-card th,
.football-home .team-card td {
    padding: 8px;
    border: 1px solid #dbe4ef;
}

.football-home .team-card th {
    background: #f1f5fa;
    text-align: left;
}

.football-home .team-diagrams {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.football-home #contents .team-diagrams img {
    width: calc(50% - 4px);
    max-width: 250px;
    align-self: start;
    margin: 0;
}

.football-home .team-link {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 16px;
    border-radius: 8px;
    background: #18417b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.football-home .team-link:hover {
    background: #101c35;
}
