nav.top-nav {
    padding: 0 2rem;
}
.top-nav-title img {
    width: 300px;
    height: 64px;
}
.container {
    min-height: 60vh;
}

footer {
    margin: 3rem auto;
    max-width: 112.0rem;
    padding: 0 2.0rem;
    position: relative;
    width: 100%;

    > h3 {
        margin: 2rem 0 0.5rem 0;
    }
    > a {
        display: inline-block;
        margin: 0.5rem 1.5rem;
    }
}

div.filter-item {
    margin: 0 0 1.5rem 0;
    vertical-align: top;
    > ul {
        list-style: none;
        margin-bottom: 0.2rem;
        > li {
            display: inline-block;
            margin: 0.5rem 1rem;
            padding: 0.5rem 1rem;
            border: 1px solid #c0c0c0;
            border-radius: 4px;
            cursor: pointer;
        }
        > li:hover {
            background-color: #ffffc0;;
        }
    }
}

div.content:has(table.ticket) {
    box-shadow: none;
}
table.ticket {
    width:100%;
    border-collapse:collapse;
    border:none;
    table-layout:fixed;
    height: 100vh;
    margin: 0;
    color: #000000;
}
table.ticket tr td {
    width: 50%;
    height: 32vh; /* 合計46vh*2以上だとFirefoxで空ページが入る */
    border: 1px dashed #888;
    vertical-align: top;
    text-align: left;
    padding: 1.2rem 1.5rem; /*milligramでは first-childだけ邪悪な設定が入ってるので上書き*/
}
table.ticket tr:first-child td {
    height: 56vh;
}
table.ticket tr:first-child td:first-child {
    border-top: none;
    border-left: none;
}
table.ticket tr:first-child td:last-child {
    border-top: none;
    border-right: none;
}
table.ticket tr:last-child td:first-child {
    border-bottom: none;
    border-left: none;
}
table.ticket tr:last-child td:last-child {
    border-bottom: none;
    border-right: none;
}
table.ticket .header {
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #000000;
}
table.ticket .header > * {
    display: inline-block;
    margin: 0;
    vertical-align: bottom;
}
table.ticket .header .stationName {
    width: calc(100% - 130px);
}
table.ticket .header .stationNameBody {
    font-size: 300%;
    padding-left: 1rem;
}
table.ticket .header .stationNameSuffix {
    font-size: 120%;
}
table.ticket .header .qrcode {
    font-size: 200%;
    width: 120px;
}
table.ticket div[id^="qrcode-"] {
}
table.ticket div[id^="qrcode-"] > img {
    margin: 0 auto;
}
table.ticket .footer {
    width: 100%;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #000000;
}
table.ticket .footer > p {
    float: left;
}
table.ticket .footer > img {
    float: right;
    width: 30%;
}

.screenOnly {}
.printOnly {
    display: none;
}
@media print {
    .screenOnly, nav.top-nav, footer, iframe, .message {
        display: none;
    }
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .printOnly {
        display: block;
    }
}
