@charset "utf-8";

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    text-align: center;
    font-size: 16px;
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.75;
    color: #353535;
    -webkit-tap-highlight-color: transparent;
}

header {
    padding: 0.25em;
    border-bottom: solid 2px #C6130A;
    text-align: center;
    background: #EAE7E7;
}

header > div {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0.25em;
    border-top: solid 2px #C6130A;
    text-align: center;
    background: #fff;
}

footer > div {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.75em;
    color: #666;
}

main {
    padding: 0;
    text-align: left;
}

.base-bg {
    background-image: url(/common/images/bg.jpg);
    background-repeat: repeat;
}

.gin-select {
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.gin-select img {
    max-width: 350px;
}

@media (max-width: 787px) {
    .gin-select img {
        max-width: 150px;
    }

    .gin-select .item {
        font-size: 0.8rem;
    }

    .gin-select .item:after {
        border-width: 0 0 20px 20px;
    }
}

@media (min-width: 788px) {
    .gin-select .item {
        font-size: 1.2rem;
    }
    .gin-select .item:after {
        border-width: 0 0 30px 30px;
    }
    .item:hover .hover-menu {
        visibility: visible;
    }
}

.gin-select .item {
    z-index: 2;
    position: relative;
    margin: 1rem;
    padding-bottom: 1rem;
    border: 3px solid #410401;
    background-color: white;
    text-align: center;
    color: #410401;
}

.gin-select a {
    text-decoration: none;
    color: #410401;
}

.gin-select .item:after {
    content: "";
    position: absolute;
    bottom: 4px;
    right: 4px;
    border-style: solid;
    border-color: transparent #fff #C6130A transparent;
}

.item .hover-menu {
    z-index: 4;
    visibility: hidden;
    background-color: #E0D7CD;
    position: absolute;
    width: 100%;
    height: 100%;
}

.menu-item .wrap:after {
    content: "";
    position: absolute;
    bottom: 4px;
    right: 4px;
    border-style: solid;
    border-color: transparent #fff #C6130A transparent;
    border-width: 0 0 25px 25px;
}


.menu-item {
    position: relative;
    margin: 8px auto;
    padding: 1rem;
    width: 70%;
    color: white;
    font-weight: bold;
}

.menu-item:hover {
    background-color: #C6130A;
    color: white;
    transition: 0.25s;
}

.detail {
    background-color: #410401;
}

.detail a {
    color: white !important;
}

.menu-item a:hover {
    color: white;
}

.brand {
    color: #410401;
    background-color: white;
}

.v-flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.spacer {
    margin: 10rem;
}

.item-link {
    z-index: 3;
    position: absolute;
    content: '';
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
