/*全体*/
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    margin: 0 0 0 0;
    padding-top: 145px;
    margin-top: -145px;
}
.nav a:link {
    color: aliceblue;
}
.nav a:visited {
    color: aliceblue;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.hero {  
    margin: 0;
    margin-top: 145px;
    padding: 137px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
    text-shadow: -1.5px -1.5px 0 red, -1.5px 0 0 red, -1.5px 1.5px 0 red,
                  0 -1.5px 0 red,                  0 1.5px 0 red,
                1.5px -1.5px 0 red,  1.5px 0 0 red,  1.5px 1.5px 0 red;
}
.hero.index {
    padding: 230px 0;
    opacity: 0.8;
    background-image: url(../images/access-hero.jpg);
}
article {
    margin: 90px auto 90px auto;
    max-width: 1000px;
}
article h2 {
    margin: 60px 0 20px 0;
    border-bottom: 2px solid forestgreen;
    padding: 0 0 5px 0;
    color: forestgreen;
    font-size: 1.3rem;
}
.gotop {
    display: block;
}

.gotop_image {
    display: block;
    margin: 0 auto;
}

.copyright {
    margin-top: 20px;
    margin-bottom: 0px;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: forestgreen;
    color: #FFFFFF;
    text-align: center;
}
.headline {
    margin-top: 145px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    padding-top: 50px;
    border-bottom: 2px solid forestgreen;
    color: forestgreen;
}
.event {
    width: 40%;
}
.caution {
    color: red;
    margin-top: 0;
}

/*ヘッダー*/
header {
    width: 100%;
    height: 145px;
    background-color: forestgreen;
    position: fixed;
    z-index: 5;
    top: 0;
}
header .container {
    display: flex;
    background-color: forestgreen;
    height: 100px;
    align-items: center;
}

#logo {
    height: 60px;
}

#logo_image {
    height: 100%;
}

#heading {
    color: aliceblue;
    text-decoration: none;
}

.hamburger {
    margin-right: 15px;
    margin-left: auto;
    cursor: pointer;
}

.nav ul {
    margin: 0;
    padding: 0 0 20px 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

#news {
    padding-top: 145px;
    margin-top: -145px;
}

#news ul {
    height: 120px;
    overflow-y: scroll;
}

#shop {
    padding-top: 145px;
    margin-top: -145px;
}

/*メイン テーブル*/
.shop-info {
    border-collapse: collapse;
}
.shop-info th, .shop-info td {
    border: 1px solid #DBDBDB;
    padding: 20px;
}
.shop-info th {
    width: 112px;
    text-align: left;
    vertical-align: top;
}

/*access*/
.iframe-wrp {
    position: relative;
    width: 100%;
    padding-top: 75%; /* = height ÷ width * 100 */
}
.iframe-wrp iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*menu*/
.items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.item {
    position: relative;
}

.rice-explanation {
    display: block;
    position: absolute;
    top: 0;
    z-index: 3;
    color: black;
    background-color: #DBDBDB;
    border: 3px solid dimgray;
    opacity: 0.8;
    display: none;
}

.soldout {
    position: absolute;
    top: 25%;
    right: 0;
}

.text {
    background-color: #DBDBDB;
    opacity: 0.8;
    font-size: 24px;
}

.hide {
    display: none;
}

/*knowledge*/
.eiyou {
    text-align: center;
}

/*contact*/
.contact-form {
    text-decoration: none;
}

/*ハンバーガーメニュー*/
.hamburgermenu {
    width: 250px;
    height: 500px;
    background-color: #DBDBDB;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    opacity: 0.9;
    display: none;
    animation-duration: 1s;
    animation-name: slidein;
    animation-iteration-count: 1;
}
.hamburgermenu a:hover {
    background-color: dimgray;
    color: #FFFFFF;
}
#close-nav {
    width: 66px;
    height: 66px;
    color: dimgray;
    font-size: 50px;
    margin: 0;
    text-align: center;
    list-style-type: none;
    float: right;
    cursor: pointer;
}
.hamburgermenu ul {
    padding: 0;
    list-style-type: none;
    margin-top: 66px;
}
.hamburgermenu li a {
    display: block;
    margin-top: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    padding-left: 15px;
    margin-left: 15px;
    text-decoration: none;
    color: rgb(77, 77, 77);
    border-bottom: 1px solid dimgray;
    width: 70%;
}

/* モバイル対応 */
@media(max-width: 767px) {
    .hero {
        margin-top: 100px;
    }
    #news {
        padding-top: 100px;
        margin-top: -100px;
    }
    
    #shop {
        padding-top: 100px;
        margin-top: -100px;
    }
    .header {
        width: 100%;
        height: 100px;
    }
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;
        display: none;
    }
    main {
        padding: 4%;
    }
    .headline {
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .items {
        grid-template-columns: 1fr 1fr;
    }
    .text {
        font-size: 12px;
    }
    .rice-explanation {
        font-size: 12px;
    }
    .event {
        width: 80%;
    }
    .hamburgermenu {
        width: 100%;
        height: 100%;
    }
    .hamburgermenu li a {
        text-align: center;
        margin: 0 auto;
        margin-top: 10%;
        padding: 5px;
    }
}

@media(max-width: 330px) {
    .hero {
        margin-top: 100px;
    }
    #news {
        padding-top: 100px;
        margin-top: -100px;
    }
    
    #shop {
        padding-top: 100px;
        margin-top: -100px;
    }
    .header {
        height: 100px;
    }
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;
        display: none;
    }
    .shoplogo img {
        display: none;
    }
    .shoplogo h1 {
        margin-left: 20px;
    }
    main {
        padding: 4%;
    }
}

/*--------------------
 吹き出しを作る
--------------------*/
.balloon {
    margin-bottom: 2em;
    position: relative;
    }
    .balloon:before,.balloon:after {
    clear: both;
    content: "";
    display: block;
    }
    .balloon figure {
    width: 60px;
    height: 65px;
    }
    .balloon-image-left {
    float: left;
    margin-right: 20px;
    }
    .balloon-image-right {
    float: right;
    margin-left: 20px;
    }
    .balloon figure img {
    width: 100%;
    height: 100%;
    margin: 0;
    }
    .balloon-image-description {
    padding: 5px 0 0;
    font-size: 10px;
    text-align: center;
    }
    .balloon-text-right,.balloon-text-left {
    position: relative;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
    max-width: -webkit-calc(100% - 150px);
    max-width: calc(100% - 150px);
    display: inline-block;
    }
    .balloon-text-right {
    border-color: #aaa;
    }
    .balloon-text-left {
    border-color: #aaa;
    }
    .balloon-text-right {
    float: left;
    }
    .balloon-text-left {
    float: right;
    }
    .balloon p {
    margin: 0 0 20px;
    }
    .balloon p:last-child {
    margin-bottom: 0;
    }
    /* 三角部分 */
    .balloon-text-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #aaa;
    top: 15px;
    left: -20px;
    }
    .balloon-text-right:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 15px;
    left: -19px;
    }
    .balloon-text-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #aaa;
    top: 15px;
    right: -20px;
    }
    .balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff;
    top: 15px;
    right: -19px;
    }

/* animation */
@keyframes slidein {
    from {
        opacity: 0;
    }
  
    to {
        opacity: 0.9;
    }
  }