/* Fonts */
.noto-sans-jp-regular {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Base Setting */
* {
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0; padding: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

h1,h2,h3,h4,h5,h6,p {
    display: block;
    margin: auto; padding: 8px;
}

header, nav, main, footer {
    position: relative;
    margin: 0; padding: 0;
    width: 100%;
}

.inner {
    display: block;
    margin: 0; padding: 0;
    width: 100%;
    max-width: 1024px;
}

/* HEADER */
header {
    height: 120px;
    display: flex;
    justify-content: center;
    flex-grow: 0;
}

header .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header h1 {
    margin: auto;
    display: block;
    line-height: 1em;
}

header a {
    margin: auto;
}

#headerLogoImage {
    display: inline-block;
    vertical-align: bottom;
    margin: 0; padding: 0;
    width: 160px; height: auto;
}

/* MAIN */
main {
    display: flex;
    justify-content: center;
    color: #333;
}

main .inner {
    position: relative;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#mainHeaderContainer {
    position: relative;
    overflow: hidden;
    margin: 0; padding: 0;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 875 / 388;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ddf; */
}

/* HOME SLIDESHOW */
.homeHeaderImage {
    position: absolute;
    width: 100%; height: auto;
    object-fit: cover;
    animation: slideshow-animation 30s infinite;
}

.homeHeaderImage {
    position: absolute;
    width: 100%; height: auto;
    object-fit: cover;
    opacity: 0;
}

.slideImage01 {
    animation-name: slideshow-animation;
    animation-delay: 0s;
    animation-duration: 30s;
    animation-iteration-count: infinite;
}

.slideImage02 {
    animation-name: slideshow-animation;
    animation-delay: 10s;
    animation-duration: 30s;
    animation-iteration-count: infinite;
}

.slideImage03 {
    animation-name: slideshow-animation;
    animation-delay: 20s;
    animation-duration: 30s;
    animation-iteration-count: infinite;
}

@keyframes slideshow-animation {
    0% {opacity: 0; z-index: 2;}
    10% {opacity: 1; z-index: 2;}
    40% {opacity: 1; z-index: 1;}
    50% {opacity: 0; z-index: 1;}
    100% {opacity: 0; z-index: 1;}
}

/* PAGE HEADERS */
.pageHeader {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 875 / 200;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    letter-spacing: 0.11em;
    background-size: cover;
    background-repeat: no-repeat;
    /* border: 1px solid #eef; */
    animation-name: element_fadeIn;
    animation-duration: 1.2s;
}

#pageHeaderStory {
    background-image: url("./img/img_header_story.jpg");
}

#pageHeaderDinner {
    background-image: url("./img/img_header_dinner.jpg");
}

#pageHeaderLunch {
    background-image: url("./img/img_header_lunch.jpg");
}

#pageHeaderStaff {
    background-image: url("./img/img_header_staff.jpg");
}

#pageHeaderAccess {
    background-image: url("./img/img_header_access.jpg");
}

@keyframes element_fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* STORY BLOCK */
#storyMain {
    position: relative;
    padding: 1em 2em;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.storyBlock_mulchColumn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.storyBlock_mulchColumnRev {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.storyBlock_singleColumn {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

#storyMain h3 {
    position: relative;
    display: block;
    margin: 0; padding: 0 0 1em 0;
    font-size: 1.2em;
}

#storyMain .storyText {
    position: relative;
    display: inline-block;
    font-size: 1em;
    flex-grow: 1;
}

#storyMain .story_img {
    position: relative;
    width: 46%;
    animation-name: element_fadeIn;
    animation-duration: 1.2s;
}

#story01 .storyText {
    display: block;
    margin-left: 1em;
}

#story01 h3 {
    display: block;
    font-size: 1em;
    text-align: center;
}

#story02 {
    margin-top: 2em;
}

#story02 h3 {
    display: block;
    font-size: 1em;
    text-align: center;
}

#story03 {
    margin-top: 2em;
}

#story03 .storyText {
    display: block;
    margin-right: 1em;
}

#story03 h3 {
    display: block;
    font-size: 1em;
    text-align: center;
}

#story04 {
    display: block;
    width: 100%;
    margin: 2em 0 0 0; padding: 0;
    text-align: left;
}

#story05 {
    display: block;
    width: 100%;
    margin: 1em 0 0 0; padding: 0;
    text-align: left;
}

#story05 strong {
    font-size: 1em;
    font-weight: bold;
}

/* DINNER BLOCK */
#dinnerInfo {
    margin: 1em 0.5em 0 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#dinnerInfo h3 {
    font-weight: bold;
}

#dinnerInfo p {
    text-align: center;
}

#dinnerPhotos {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 1em 0.5em 0 0.5em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#dinnerPhotos .dinnerPhotoThum {
    width: 130px; height: 130px;
    margin: 2px;
    object-fit: cover;
    opacity: 0;
    will-change: opacity;
    animation-name: element_fadeIn;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
}

#dinnerMenu {
    position: relative;
    margin-top: 1em;
    min-height: 500px;
}

#dinnerMenu .dinnerMenuImage {
    position: relative;
    width: 100%; height: auto;
}


/* LUNCH BLOCK */
#lunchInfo {
    margin: 1em 0.5em 0 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* STAFF BLOCK */
#staffMain {
    position: relative;
    padding: 1em 2em;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
}

#staffOwnerBlock {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

#staffRegularBlock {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

#staffMain .staffImage {
    display: block;
    height: 320px; width: auto;
    animation-name: element_fadeIn;
    animation-duration: 1.2s;
    flex-grow: 0;
}

#staffMain .staffInfo {
    display: block;
    margin: 0 0 0 1em;
    flex-grow: 1;
}

.staffInfo h3 {
    position: relative;
    display: block;
    margin: 0; padding: 0;
    font-size: 1.2em;
}

#staffMain p {
    position: relative;
    display: block;
    margin: 0.5em 0 0 0; padding: 0;
}

#staffSubHeader {
    display: block;
    margin: 1em 0; padding: 0;
    text-align: center;
    border-bottom: 1px solid #888;
}

#staffNowHiring {
    background-color: #eee;
    margin: 2em 0 0 0; padding: 1em;
    text-align: center;
    border-radius: 8px;
}

#staffNowHiring p {
    display: inline-block;
    margin: 0; padding: 0;
    text-align: left;
}

/* ACCESS BLOCK */
#restaurantPhotoContainer {
    margin: 1em 0.5em 0 0.5em;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.restaurantPhoto {
    margin: 3px;
    height: 240px; width: auto;
    animation-name: element_fadeIn;
    animation-duration: 1.2s;
}

#restaurantInfoContainer {
    position: relative;
    margin: 1em 0.5em 0 0.5em;
}

#restaurantInfo {
    margin: 0; padding: 0;
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    border: none;
}

#restaurantInfo tr,th,td {
    padding: 0.5em 1em;
    text-align: left;
    vertical-align: top;
}

#restaurantInfo th{
    background-color: #eee;
}

#googleMapContainer {
    position: relative;
    margin: 1em 0.5em 0 0.5em; padding: 0 0.5em;
    width: 100%; height: 400px;
    max-width: 600px;
}

#innoverMapImage {
    position: relative;
    margin: 1em 0.5em 0 0.5em; padding: 0 0.5em;
    width: 100%; height: auto;
    max-width: 500px;
}

/* MAIN NAV */
nav {
    min-height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 0;
}

nav .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.homeNavHeight {
    height: 120px;
}

#bottomPageNav {
    margin: 0; padding: 0;
    height: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;
    text-align: center;
    line-height: 1em;
}

#bottomPageNav .pageLink {
    width: 5em;
}

#bottomPageNav .pageLink a {
    display: block;
    color: #888;
    text-decoration: none;
}

#bottomPageNav .pageLink a:hover {
  color: #000155;
  transition: background-color 0.125s;
}

#bottomPageNav .linkSeparator {
    position: relative;
    top: -0.1em;
    width: 1em;
    color: #ccc;
}

/* FOOTER */
footer {
    min-height: 5em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
}

footer .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #888;
}

#otherLinkBlock {
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
}

.otherLinkImage {
    display: block;
    margin: 2px 4px;
    width: 152px;
}

.snsLink {
    width: 32px; height: 32px;
    margin: 2px; padding: 0;
    background-color: #888;
    border-radius: 8px;
}

.snsIconI {
    display: block;
    margin: 25%;
    width:50%; height:50%;
}

.snsIconF {
    display: block;
    margin: 22%;
    width:56%; height:56%;
}

small {
    margin: 2px;
    display: block;
    font-size: 1em;
}

/* ImageViewer */
#ivFrame {
    position: fixed;
    z-index: 1000;
    width: 100%; height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#ivMainContainer{
    position: relative;
    margin: auto; padding: 0;
    width: 98%;
    height: 98dvh;
    max-width: 98%;
    max-height: 98dvh;
    display: flex;
    flex-direction: column;
    /* background-color: rgba(255, 255, 255, 0.8); */
}

/*
#ivFrame .ivLandscape {
    width: 98%; height: auto;
    aspect-ratio: 4 / 3;
}

#ivFrame .ivPortrait {
    width: auto; height: 98dvh;
    aspect-ratio: 3 / 4;
}
*/

#ivImgContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

#ivFrame .ivImage {
    position: absolute;
    width: 98%;
    height: 98%;
    object-fit: contain;
}

#ivCaption {
    display: block;
    padding: 0 0.5em 0.25em 0.5em;
    flex-grow: 0;
    text-align: center;
    color: #ccc;
}

#ivUIContainer {
    position: absolute;
    margin: auto; padding: 0;
    width: 99%;
    height: 99dvh;
}

#ivButtonIVClose {
    position: absolute;
    top: 0; right: 0;
    z-index: 1012;
    width: 10%; height: 10%;
    background-image: url("./img/img_imageViewer_windowClose.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 50%;
    opacity: 0.3;
    /* border: 1px solid #888; */
}

#ivButtonToPrev {
    position: absolute;
    top: 30%; left: 0;
    z-index: 1010;
    width: 20%; height: 40%;
    background-image: url("./img/img_imageViewer_prev.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 25%;
    opacity: 0.3;
    /* border: 1px solid #888; */
}

#ivButtonToNext {
    position: absolute;
    top: 30%; right: 0;
    z-index: 1011;
    width: 20%; height: 40%;
    background-image: url("./img/img_imageViewer_next.png");
    background-position: right;
    background-repeat: no-repeat;
    background-size: 25%;
    opacity: 0.3;
    /* border: 1px solid #888; */
}

/* imageViewer animation */
.imgView_fade_in {
    animation: imgViewFadeIn 0.375s;
    animation-fill-mode: forwards;
}

.imgView_zoom_in {
    animation: imgViewZoomIn 0.375s;
    animation-fill-mode: forwards;
}

.imgView_fade_out {
    animation: imgViewFadeOut 0.375s;
    animation-fill-mode: forwards;
}

.imgView_zoom_out {
    animation: imgViewZoomOut 0.375s;
    animation-fill-mode: forwards;
}

.imgView_left_in {
    animation: imgViewLeftIn 0.375s;
    animation-fill-mode: forwards;
}

.imgView_right_out {
    animation: imgViewRightOut 0.375s;
    animation-fill-mode: forwards;
}

.imgView_right_in {
    animation: imgViewRightIn 0.375s;
    animation-fill-mode: forwards;
}

.imgView_left_out {
    animation: imgViewLeftOut 0.375s;
    animation-fill-mode: forwards;
}

@keyframes imgViewFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes imgViewFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes imgViewZoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1.0); }
}

@keyframes imgViewZoomOut {
    from { transform: scale(1.0); }
    to { transform: scale(0.8); }
}

@keyframes imgViewFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes imgViewFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes imgViewLeftIn {
    from { transform: translateX(-120px); opacity: 0; z-index: 1002; }
    to { transform: translateX(0px); opacity: 1; z-index: 1002;}
}

@keyframes imgViewRightOut {
    from { transform: translateX(0px); opacity: 1; z-index: 1001; }
    to { transform: translateX(120px); opacity: 0; z-index: 1001; }
}

@keyframes imgViewRightIn {
    from { transform: translateX(120px); opacity: 0; z-index: 1002; }
    to { transform: translateX(0px); opacity: 1; z-index: 1002; }
}

@keyframes imgViewLeftOut {
    from { transform: translateX(0px); opacity: 1; z-index: 1001; }
    to { transform: translateX(-120px); opacity: 0; z-index: 1001; }
}

/* MOBILE FOOTER NAV */
#mobileFotterNav {
    position: fixed;
    left: 0; bottom: -90px;
    /* display: flex; */
    display: none;
    align-items: center;
    background-color: #000155;
    opacity: 0.9;
    transition: all 0.5s;
}

#mobileFotterNav.open {
    bottom: 0;
    opacity: 1.0;
}

#mobileFotterNav .inner {
    margin: 0 0 16px 0; padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
}

.mobileNavUl {
    position: relative;
    margin: 0;
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: center;
    text-align: center;
}

#navMobileHeader {
    padding: 6px 0 2px 0;
}

#navMobileLink {
    padding: 8px 0 9px 0;
}

#navTelAndMap {
    padding: 8px 0;
}

.leftSpace {
    width: 30px; height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 0;
}

.rightSpace {
    width: 30px; height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 0;
}

.mnHeader {
    color: #fff;
    flex-grow: 1;
}

.mnLink {
    width: 20%;
    vertical-align: middle;
    flex-grow: 1;
}

.mnSeparator {
    position: relative;
    top: -0.1em;
    width: 2%;
    vertical-align: middle;
    color: #cce;
    flex-grow: 0;
}

.mnIcon {
    margin: 0 2px 2px 0; padding: 0;
    width: 1em; height: auto;
    vertical-align: middle;
}

#mobileFotterNav .mnLink a {
    display: inline;
    color: #fff;
    text-decoration: none;
}

#mobileFotterNav .mnLink a:hover {
  color: #ffcc55;
  filter: brightness(0) saturate(100%) invert(91%) sepia(63%) saturate(4941%) hue-rotate(315deg) brightness(103%) contrast(101%);
  transition: background-color 0.125s;
}

.mnBottomLine {
    border-bottom: 1px solid #cce;
}

#mobileNavControlUI {
    position: relative;
    width: 26px; height: 26px;
    margin-left: auto;
    /* border: 1px solid #eef;
    border-radius: 5px; */
}

#mnControlUISpan,
#mnControlUISpan::before,
#mnControlUISpan::after {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.5s;
}

#mnControlUISpan {
    left: 2px; 
}
#mnControlUISpan::before,
#mnControlUISpan::after {
    left: 0;
}

#mnControlUISpan {
    top: 50%; transform: translateY(-50%);
}
#mnControlUISpan::before { content: ""; top: -7px; }
#mnControlUISpan::after  { content: ""; top: 7px; }

#mnControlUISpan.open {
  background-color: transparent;
}
#mnControlUISpan.open::before {
  transform: translateY(7px) rotate(45deg);
}
#mnControlUISpan.open::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Adjust */
@media screen and (max-width: 850px) {
    #dinnerPhotos {
        max-width: 600px;
    }
}

/* MOBILE */
.showOnMobileBR {
    display: none;
}

@media screen and (max-width: 640px) {
    .showOnMobileBR {
        display: inline;
    }

    .hideOnMobile {
        display: none;
    }

    /* STORY BLOCK */
    #storyMain {
        padding: 1em 1.5em 0 1.5em;
    }

    #storyMain .story_img {
        width: 80%;
    }

    #storyMain h3 {
        text-align: center;
    }

    .storyBlock_mulchColumn {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .storyBlock_mulchColumnRev {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    #story01 .storyText {
        margin: 1em 0 0 0;
    }

    #story02 .storyText {
        margin: 1em 0 1em 0;
    }

    #story03 .storyText {
        margin: 1em 0 1em 0;
    }

    #story05 {
        text-align: center;
    }

    /* DINNER BLOCK */
    #dinnerPhotos {
        padding: 0 2px;
        max-width: 560px;
    }

    #dinnerPhotos .dinnerPhotoThum {
        width: 120px; height: 120px;
    }

    /* STAFF BLOCK */
    #staffMain {
        padding: 1em 1.5em;
    }

    #staffOwnerBlock {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    #staffRegularBlock {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .staffInfo h3 {
        margin-top: 0.5em;
        text-align: center;
    }

    /* ACCESS BLOCK */
    .restaurantPhoto {
        height: 180px; width: auto;
    }

    /* ImageViewer */
    #ivMainContainer{
        /* 2 : 3 */
        max-height: calc(99dvw * 1.5);
    }

    #ivUIContainer {
        width: 98%;
        height: 98dvh;
        max-height: calc(99dvw * 1.5);
    }

    #ivButtonIVClose {
        background-size: 80%;
    }

    #ivButtonToPrev {
        background-size: 35%;
    }

    #ivButtonToNext {
        background-size: 35%;
    }

    /* MOBILE FOOTER NAV */
    #mobileFotterNav {
        display: flex;
    }

    /* FOOTER */
    footer {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 480px) {
    #mobileFotterNav .inner {
        padding: 0 10px;
    }
}