@charset "UTF-8";

.visual {
    display: block;
    width: 100%;
    height: 70px;
    background-image: url(../../img/fair-visual.jpg);
}

.fair-page {
    text-align: start;
}

h2,
h3 {
    text-align: center;
}

h5 {
    font-size: 1.2rem;
    margin-top: 80px;
    margin-bottom: 24px;
}

.fair-inner img {
    width: 100%;
}

.first-view p {
    margin: 8px;
}

.row {
    display: flex;
}

.row p {
    display: inline-block;
    padding: 0 8px;
    margin: 8px 4px;
    line-height: 1.2rem;
    font-size: 0.7rem;
    color: #fff;
    border: 1px solid #9c9c9c;
    border-radius: 9999px;
    background-color: #9c9c9c;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    position: relative;
}

th:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background-color: #9c9c9c;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 24px auto;
    padding-bottom: 11.5px;
    background-color: #9c9c9c;
}

.reservation-days {
    display: block;
    width: 90%;
    padding: 8px 0;
    margin: 12px 0;
    background-color: #fff;
}

.reservation-list {
    width: 90%;
    background-color: #fff;
}

.reservation-time {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    text-align: start;
    border-bottom: 0.5px solid #9c9c9c;
}

.rsv-left p:last-child {
    font-size: 0.8rem;
}

.rsv-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rsv-right a {
    display: block;
    padding: 8px;
    color: #fff;
    background-color: #b4a382;
}

.special-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sp-left {
    width: 30%;
    position: relative;
    overflow: hidden;
}

.square {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.sp-right {
    width: 65%;
}

.sp-right h6 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.flow-item {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 24px;
}

.flow-item h6 {
    font-weight: 500;
    color: #b4a382;
}

.flow-item h6 span {
    font-size: 1.3rem;
    margin-right: 4px;
}

.fair-buttom {
    margin: 80px auto;
    text-align: center;
    width: 200px;
}

.rsv-fair {
    line-height: 1.2rem;
    margin-bottom: 24px;
}

.rsv-fair a {
    display: block;
    padding: 8px;
    color: #fff;
    background-color: #b4a382;
    border-radius: 2px;
}

.fair-back {
    position: relative;
    padding-bottom: 12px;
    line-height: 1.2rem;
    border-bottom: 1px solid #9c9c9c;
}

.fair-back a {
    display: block;
}

.fair-back .arrow {
    font-weight: 200;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

.fair-back:hover .arrow {
    transform: translateY(-50%) translateX(-5px);
}

@media screen and (min-width:900px) {

    .fair-row {
        display: flex;
    }

    .fair-row img {
        max-width: 450px;
    }

    .row {
        margin-top: 12px;
    }

    .first-view table {
        margin-top: 40px;
    }

    .reservation-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: min-content 1fr;
        padding: 0 24px 12px 24px;
        margin-top: 80px;
    }

    .reservation-days {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .reservation-list {
        grid-column: 2/3;
        grid-row: 1/3;
        width: 100%;
        margin-top: 12px;
    }

    .spesial,
    .flow {
        margin-left: auto;
        margin-right: auto;
    }
}

/*=======min-width:900px=======*/