@charset "utf-8";
@import url(./style.css);

h2 {
    margin: 10 auto;
    margin-bottom: 10px;
    font-family: "基本フォント";
    writing-mode: vertical-rl;
    padding: 20px 10px;
    width: 100%;
    height: 600px;
    text-align: center;
    font-weight:bold;
    font-size:40px;
    display: flex;
    flex-direction: row;
    color: #fff;
    background-image: url("../images/visit.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.7;
}
h2 span{
    display: block;
    width: fit-content;
    margin: 5px auto;
    text-shadow: 2px 2px #000;
    opacity: 1;
}
h2::before {
    content:"";
    display: block;
    background-image: url("../images/mark_white.png");
    padding: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
h3 {
    font-weight: bold;
    border-bottom: 3px solid #BF3319;
    padding: 5px 10px 10px;
    margin-bottom: 10px;
}
p {
    padding: 14px;
}
table {
    width: 98%;
    margin: 20px auto;
}
th,td {
    padding: 28px 10px;
    border-bottom:1px dashed #333;
}
#chargeheader td {
    font-weight: bold;
    text-align: center;
}
table tr td:first-child {
    font-weight: bold;
    text-align: center;
}
table tr td:nth-child(2) {
    text-align: right;
}
table tr:last-child td{
    font-weight: normal;
    text-align: left;
    border: none;
    padding-left: 3em;
}
@media screen and (max-width: 767px) {
    main {
        width: 99%;
    }
    table tr td {
        width: 40%;
    }
    table tr td:nth-child(2) {
        text-align: center;
        width: 60%;
    }
    table tr td:last-child {
        width: 100%;
        text-align: center;
    }
    table tr {
        display: flex;
        flex-wrap: wrap;
    }

}