@charset "UTF-8";

/********************
 * CSS for meal page.
 ********************/

.MealIndexPage #main_contents {
    position: relative;
    width: 100%;
    padding: 5em 0;
}

.MealIndexPage #main_contents #meal {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
}

/**
 * Menu board style.
 */
.MealIndexPage #main_contents #meal #menu_board {
    width: 100%;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../media/wood.jpg');
}

.MealIndexPage #main_contents #meal #menu_board div {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.MealIndexPage #main_contents #meal #menu_board div a {
    box-shadow: 0.2em 0.2em 0.2em rgba(0,0,0,0.4);
}

.MealIndexPage #main_contents #meal #menu_board div a img {
    display: block;
}

/**
 * Shop information style.
 */
.MealIndexPage #main_contents #meal .shop {
    width: 100%;
    max-width: 1000px;
    margin-top: 5em;
}

/**
 * Slideshow style.
 */
.MealIndexPage #main_contents #meal .shop .slideshow {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.MealIndexPage #main_contents #meal .shop .slideshow ol {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.MealIndexPage #main_contents #meal .shop .slideshow .slide li img {
    width: calc(100vw - 2em);
    max-width: calc(1000px - 2em);
    border: 1px solid #ccc;
}

.MealIndexPage #main_contents #meal .shop .slideshow .navigation {
    margin-top: 0.5em;
}

.MealIndexPage #main_contents #meal .shop .slideshow .navigation li {
    margin: 0 0.3em;
}

.MealIndexPage #main_contents #meal .shop .slideshow .navigation li button {
    padding: 0;
    border: none;
    background: rgba(180,180,180,0.8);
    box-shadow: none;
    color: #fff;
    font-size: 0.6em;
}

.MealIndexPage #main_contents #meal .shop .slideshow .navigation li button:hover {
    transform: none;
}

/**
 * Description style.
 */
.MealIndexPage #main_contents #meal .shop .description {
    padding: 1.5em 1em 0;
}

.MealIndexPage #main_contents #meal .shop .description .images img {
    width: 100%;
    border: 1px solid #ccc;
}

.MealIndexPage #main_contents #meal .shop .description .table table {
    margin-bottom: 1em;
}

.MealIndexPage #main_contents #meal .shop .description .table table th {
    width: 4em;
}

.MealIndexPage #main_contents #meal .shop .description .table img.payment_method {
    height: 1em;
    margin-left: 0.4em;
    transform: translateY(0.15em) scale(1.5);
}

.MealIndexPage #main_contents #meal .shop .description .table ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: start;
}

.MealIndexPage #main_contents #meal .shop .description .table ul li p:first-child {
    margin-right: 0.5em;
}

.MealIndexPage #main_contents #meal .shop .description .menu a {
    margin-bottom: 0.5em;
}

.MealIndexPage #main_contents #meal .shop .description .menu p {
    font-size: 0.8em;
}
