@charset "utf-8";

html{
    overscroll-behavior-y: none;
}

body{
    background-image: url(../img/meri_works_43_5.png);
    background-size: 80px;
}


.datetime{
    color: #fff;
    border: groove 2px #000;
    width: fit-content;
    font-family: "Doto", sans-serif;
    font-size: .9rem;
    padding: 3px;
    color: var(--color-main);
}

main{
}

.main_contents{
    width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--size-gap);
}

.main_contents_title{
    display: flex;
    gap: 15px;
    align-items: center;
}
.main_contents_title img.pizza{
    margin-top: 10px;
    width: 100px;
    height: 138px;
}

.marquee_sp{
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    width: 800px;
}

marquee{
    visibility: hidden;
}

.marquee-container {
  width: 800px;
  height: 30px;
  overflow: hidden;
  position: relative;
}

.marquee-content {
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    color: #fff;
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: 50px;
  animation: swing 1s linear infinite alternate;
}

@keyframes swing {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}

.main_contents__counter{
    color: deeppink;
    display: flex;
}

.main_contents__text{
    color: #fff;
    margin-bottom: 20px;
}
.main_contents__menu table img.imgA{
    width: 300px;
    height: auto;
    margin: 8px 25px 8px 14px;
}
.main_contents__menu table img.imgB{
    width: 250px;
    /* height: 150px; */
    margin: 8px 25px 20px 14px;
}
.main_contents__menu a{
    color: blue;
    font-size: 2rem;
    text-decoration: underline;
    display: block;
}
.main_contents__menu_btn{
    display: flex;
    justify-content: center;
}
.main_contents__mail{
    color: #fff;
    text-align: center;
}
.main_contents__mail a{
    color: red
}


.container_image{
    width: 100vw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-y: hidden;
    overflow-x: hidden;
}

#image {
    width: auto;
    height: 100vh;
    background-color: #000;
    transition: opacity 1s ease-in-out;
    z-index: -999;
}
.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

/* pc */
@media screen and (min-width:1024px) {
.container_image{
    width: 100vw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
}
#image {
    width: 100vw;
    height: auto;
    transition: opacity 1s ease-in-out;
    background-color: #000;
}

marquee{
    visibility: visible;
    font-size: 1.8rem;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    width: 800px;
}
.marquee-container,.marquee-content{
    visibility: hidden;
}

}

/* ipad */
@media screen and (min-width:768px) and ( max-width:1024px) {
.container_image{
    width: 100vw;
    height: 100dvh;
}
#image {
    width: auto;
    height: 100vh;
}

}

 /* デバイス横向き */
@media screen and (min-width: 667px) and (max-width: 1024px) and (orientation: landscape) {
#image {
    width: 100vw;
    height: auto;
}

}