@media print,screen {
  .dishes_list {
    list-style-type: none;
    margin: 0 auto !important;
    padding: 0 !important;
    color: #fff;
/*    max-width: 900px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .dishes_list > li {
    flex-basis: 100%;
    align-items: stretch;
    margin: 5px 10px !important;
/*    border-bottom: 1px dotted #000;*/
  }
  .dishes_gallery > li {
    flex-basis: 100px;
    margin: 0 !important;
  }
  .dishes_list > li .thumbnail,
   ul.dishes_gallery > li .thumbnail {
    background: no-repeat center / cover;
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
  }
  .dishes_list > li .thumbnail:after,
  ul.dishes_gallery > li .thumbnail:after {
    content: "";
    display: block;
    padding-top: 75%;
  }
  ul.dishes_gallery > li .thumbnail:after {
    padding-top: 100%;
  }
  .dishes_list > li .thumbnail .thumb_info,
  ul.dishes_gallery > li .thumbnail .thumb_info {
    position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 100%;
  }
  ul.dishes_gallery > li .thumbnail .thumb_info {
    bottom: auto;
    top: 100%;
    transition: top ease-in-out 0.2s, bottom ease-in-out 0.2s;
  }
  ul.dishes_gallery > li:hover .thumbnail .thumb_info {
    bottom: 0;
    top: auto;
  }
  .article .dishes_list .thumb_info,
  .article .dishes_gallery .thumb_info {
    background: rgba(160,50,65,0.7);
    padding: 5px 10px;
  }
  .article .dishes_list h3,
  .article .dishes_gallery h3 {
    padding: 0;
    color: #fff;
    font-size: 120%;
  }
  .article .dishes_gallery h3 {
    font-size: 90%;
  }
  .article .dishes_list h3:after,
  .article .dishes_gallery h3:after {
    display: none;
  }
  .category_ribbon_wrapper {
/*    text-align: right;*/
    display: none;
  }
  .category_ribbon_wrapper .category_ribbon {
    display: inline-block;
    padding: 1px 4px;
    background: #fff;
    border-radius: 5px;
    color: #333;
    font-size: 60%;
    font-weight: 700;
  }

 .gallery_wrapper {
    background: #000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc( 100vw - 17px )
 }
  ul.dishes_gallery {
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-basis: calc( 100% - 240px );
  }
  h2.dishes_gallery {
    background: #000;
    font-family: 'Yuji Syuku','Noto Serif JP', sans-serif;
    color: #fff;
    margin: 0!important;
    flex-basis: 240px;
    align-self: center;
  }
  h2.dishes_gallery:before {
    display: none;
  }

/*
  .dishes_list > li .danchi_thumblink {
    display: block;
    background: no-repeat center / cover;
    width: 150px;
    text-decoration: none;
    position: relative;
    background-image: none!important;
  }
*/
/*
  .dishes_list > li.selected .danchi_thumblink:before {
    content: "";
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: 2px;
    border: 2px solid #ffffff;
    z-index: 2;
  }
  .dishes_list > li.selected .danchi_thumblink:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 2px solid #202a69;
    z-index: 2;
  }
*/
  .dishes_list > li .danchi_thumblink h4 {
    background: transparent;
    color: #000;
    padding: 0;
    margin: 0;
  }
  .dishes_list > li .danchi_thumblink h4 span.white {
    min-width: auto;
    background: transparent;
    padding: 0;
    text-align: left;
  }
  .dishes_list > li .danchi_thumblink .catlist {
    color: #000;
    font-size: 70%;
  }
  .dishes_list > li .danchi_thumblink .layer {
    display: block;
/*    background: rgba(0,0,0,0.3);*/
    padding: 3px 8px 7px;
/*    position: absolute;*/
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .dishes_list > li .danchi_thumblink .layer .danchi_number,
  .dishes_list > li .danchi_thumblink .layer .danchi_map,
  .dishes_list > li .danchi_thumblink .layer .danchi_address,
  .dishes_list > li .danchi_thumblink .layer .danchi_img {
    display: none;
  }

  h3.danchi_title {
    padding: 8px 20px;
    font-size: 120%;
    font-weight: 700;
    margin-bottom: 0.8em!important;
  }
  p.danchi_address {
    margin-bottom: 0.8em!important;
  }
  h3.danchi_title .number,
  h3.danchi_title .area {
    font-size: 80%;
    padding: 2px 0 2px 20px;
  }
  .danchi_placeholder {
    background: no-repeat center / cover;
    position: relative;
/*    max-width: 160px;*/
    text-align: center;
    margin: 0 auto 12px;
  }
  .danchi_placeholder.noimg {
    background: #E7EAED;
  }
  .danchi_placeholder.noimg:before {
    content: "No Image";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    top: calc( 50% - 0.9em );
    color: #ffffff;
    text-align: center;
    font-size: 200%;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
  }
/*
  .danchi_placeholder:after {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
*/
  .maplink {
    text-align: center;
  }
}
@media print,screen and ( min-width: 500px ) {
  .dishes_list > li {
    flex-basis: 50%;
  }
}
@media print,screen and ( min-width: 768px ) {
  .dishes_list > li {
    flex-basis: 33%;
  }
}
@media screen and (min-width: 1024px) {
  .dishes_list > li {
    flex-basis: 25%;
  }
}
@media screen and (min-width: 1600px) {
}
@media screen and ( max-width: 834px ) {
  ul.dishes_gallery {
    flex-basis: 100%;
  }
  h2.dishes_gallery {
    flex-basis: 100%;
  }
}
