/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* daidai */

@font-face {
  font-family: 'ShipporiMincho';
  src: url(../font/ShipporiMincho-ExtraBold.ttf) format("truetype");
  font-family: 'DMSerifDisplay';
  src: url(../font/DMSerifDisplay-Italic.ttf) format("truetype");
}

* {
  box-sizing: border-box;
  position: relative;
}

img,
source {
  width: 100%;
  height: auto;
}

ul,
li {
  list-style: none;
  margin: 0;
  height: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0;
}

a {
  color: rgb(5, 5, 5);
  text-decoration: none;
}

body {
  background-color: rgb(5, 5, 5);
  font-family: 'ShipporiMincho', serif;
}

/* ヘッダー */

header {
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 2;
  top: 0;
  background-color: rgb(5, 5, 5);
  font-size: 20px;
}

header,
header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav,
header nav ul {
  width: 100%;
  height: 80px;
}

header a {
  display: block;
  width: 10%;
  height: 80px;
  padding: 20px 0;
}

header a img {
  display: block;
  width: 50px;
  height: auto;
  margin: 0 auto;
}

header nav {
  width: 90%;
}

header nav ul li {
  display: block;
  background-color: rgb(250, 140, 0);
  width: calc(100% / 5);
  height: 100%;
  position: relative;
  border-left: solid 2px rgb(5, 5, 5);
}

header nav ul li:first-child {
  border: none;
}

header nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  font-family: 'DMSerifDisplay', serif;
  text-align: center;
  padding-top: 50px;
  transition: all .3s;
}

header nav ul li a:hover {
  padding-top: 30px;
}



/* メインビジュアル(ヘッダー下から最初の区切り線まで) */

.background {
  width: 100%;
  height: 100vh;
  background-size: auto 100%;
  background-position: right;
  background-repeat: no-repeat;
  position: fixed;
  top: 56px;
}

.webp .background {
  background-image: url(../img/bg-mainvisual.webp);
}

.no-webp .background {
  background-image: url(../img/bg-mainvisual.jpg);
}

section#mainvisual {
  margin-top: 80px;
}

section#mainvisual .logo-top {
  height: calc(100vh - 88px);
}

section#mainvisual img {
  width: 600px;
  padding: 32px;
}

section#mainvisual article.lead {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: rgba(5, 5, 5, .5);
  color: rgb(250, 250, 250);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

section#mainvisual article.lead div.catchcopy {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 32px;
  padding: 40px;
}

.webp section#mainvisual article.lead div.catchcopy {
  background-image: url(../img/bg-brush-circle.webp);
}

.no-webp section#mainvisual article.lead div.catchcopy {
  background-image: url(../img/bg-brush-circle.png);
}

section#mainvisual article.lead div.catchcopy span {
  display: block;
  letter-spacing: 4px;
  line-height: 1.7;
  filter: drop-shadow(4px 4px 0 rgb(40, 40, 40));
  font-style: normal;
}

section#mainvisual article.lead div.catchcopy span:nth-child(1) {
  margin-bottom: 80px;
}

section#mainvisual article.lead div.catchcopy span:nth-child(2) {
  margin-top: 40px;
}

section#mainvisual article.lead div.catchcopy span:nth-child(3) {
  margin-top: 80px;
}

section#mainvisual article.lead div.leadtext {
  height: 400px;
  padding: 16px 40px;
  line-height: 2.5;
  font-style: normal;
}

hr {
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 40px 0;
  background-color: rgba(5, 5, 5, .5);
  background-size: auto 50%;
  background-position-y: center;
  background-repeat: repeat-x;
  border: none;
  box-sizing: border-box;
}

.webp hr {
  background-image: url(../img/deco-line.webp);
}

.webp hr {
  background-image: url(../img/deco-line.png);
}

/* gallery */

section#gallery {
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

h1 {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 24px;
  border-left: solid 8px rgb(250, 140, 0);
  color: rgb(250, 140, 0);
  font-size: 40px;
  font-family: 'DMSerifDisplay', serif;
  letter-spacing: 4px;
}

section#gallery .img-con {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

section#gallery picture {
  width: calc(100% / 5.2);
  height: 250px;
  object-fit: contain;
}

/* MENU */

section#menu {
  height: auto;
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#menu article.menu-con {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

section#menu article.menu-con div {
  width: calc(100% / 2.1);
}

section#menu article.menu-con div h2 {
  background-color: rgb(250, 140, 0);
  padding: 2px 24px;
  font-size: 16px;
}

section#menu article.menu-con dl {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
}

section#menu article.menu-con dl dt,
section#menu article.menu-con dl dd {
  margin: 0;
  padding: 0;
  height: 40px;
  line-height: 40px;
  color: rgb(250, 250, 250);
  border-bottom: solid 1px rgb(250, 250, 250);
  filter: drop-shadow(0 0 3px rgba(250, 250, 250, .5));
}

section#menu article.menu-con dl dt {
  width: 70%;
}

section#menu article.menu-con dl dd {
  width: 30%;
  text-align: right;
}


/* NEWS */

section#news {
  height: auto;
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#news article.news-con dl {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
}

section#news article.news-con dl dt,
section#news article.news-con dl dd {
  margin: 0;
  padding: 0;
  height: 40px;
  line-height: 40px;
  color: rgb(250, 250, 250);
  border-bottom: solid 1px rgb(250, 250, 250);
  filter: drop-shadow(0 0 3px rgba(250, 250, 250, .5));
}

section#news article.news-con dl dt {
  width: 30%;
}

section#news article.news-con dl dd {
  width: 70%;
  text-align: right;
}



/* インスタ */

section#instagram {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  background-color: rgb(250, 140, 0);
}

section#instagram article.tokyocalendar {
  width: 30%;
  height: 100%;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section#instagram article.tokyocalendar img {
  display: block;
  width: 200px;
  margin: 0 auto;
}

section#instagram article.tokyocalendar h1 {
  border: none;
  color: rgb(5, 5, 5);
  text-align: center;
  margin: 0;
  font-size: 20px;
  width: 100%;
  height: auto;
  letter-spacing: 0;
}

section#instagram>a {
  width: 70%;
  height: 400px;
  margin: 24px 0;
}

section#instagram>a>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* take out */

section#takeout {
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#takeout .order-con {
  display: flex;
  /* justify-content: space-between; */
  gap: 5%;
  width: 100%;
}

section#takeout .order-con article {
  width: calc(100% / 3.1);
  background-color: rgb(250, 250, 250);
  border-radius: 8px;
}

section#takeout .order-con article.chompy {
  background-color: rgb(255, 117, 117);
}

section#takeout .order-con article img {
  display: block;
  width: 60%;
  margin: 32px auto;
}

section#takeout .order-con article a {
  display: block;
  background-color: rgb(5, 5, 5);
  color: rgb(250, 250, 250);
  width: 90%;
  text-align: center;
  margin: 0 auto 32px auto;
  border-radius: 100px;
  padding: 24px 0;
  font-size: 24px;
  transition: all .1s;
  filter: drop-shadow(6px 6px 0 rgb(180, 180, 180));
}

section#takeout .order-con article a:active {
  position: relative;
  top: 6px;
  left: 6px;
  filter: none;
}

section#takeout .order-con article a span {
  display: block;
  font-size: 14px;
  width: 100%;
  text-align: center;
}

/* access */

section#access {
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#access .access-con {
  display: flex;
  justify-content: space-between;
}

section#access .access-con picture {
  width: calc(100% / 3.1);
  height: 500px;
  object-fit: cover;
  object-position: top;
}

section#access .access-con div {
  width: calc(100% / 3.1 * 2);
}

section#access .access-con dl {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: rgb(250, 250, 250);
}

section#access .access-con dl dt {
  width: 20%;
}

section#access .access-con dl dd {
  width: 80%;
}

section#access .access-con dl dd span {
  font-size: 12px;
}

section#access iframe {
  width: 100%;
  height: 400px;
  margin: 40px 0;
  -webkit-filter: invert(100%) grayscale(1);
  filter: invert(90%) grayscale(1);
}

/* contact */

section#contact {
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#contact label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  color: rgb(250, 250, 250);
}

section#contact label p {
  width: 15%;
  margin-top: 32px;
}

section#contact label span {
  display: block;
  width: 5%;
  background-color: rgb(250, 140, 0);
  color: rgb(5, 5, 5);
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  margin-top: 24px;
}

section#contact label input,
section#contact label textarea {
  display: block;
  width: 70%;
  font-size: 20px;
  margin-top: 24px;
  padding: 8px;
  line-height: 1.5;
}

section#contact input[type="submit"] {
  display: block;
  width: 40%;
  background-color: rgb(250, 140, 0);
  border-radius: 100px;
  color: rgb(5, 5, 5);
  border: none;
  line-height: 3;
  margin: 48px auto 0 auto;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all .3s;
}

section#contact input[type="submit"]:hover {
  background-color: rgb(77, 77, 77);
  color: rgb(250, 250, 250);
}

section#contact input:invalid,
section#contact label textarea:invalid {
  filter: drop-shadow(0 0 3px rgb(250, 140, 0))
}

/* links */

section#links {
  background-color: rgba(5, 5, 5, .9);
  box-sizing: border-box;
}

section#links .links-con {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

section#links picture {
  width: calc(100% / 4.1);
  height: 150px;
  object-fit: contain;
}

/* フッター上コンタクトボタン */

section#footer-contact {
  width: 100%;
  display: flex;
  position: fixed;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
}


section#footer-contact a {
  display: block;
  width: 50%;
  height: 56px;
  text-align: center;
  font-size: 24px;
  line-height: 56px;
  font-family: 'DMSerifDisplay', serif;
}

section#footer-contact a img {
  width: 32px;
}

section#footer-contact a.tel {
  background-color: rgb(153, 153, 153);
}

section#footer-contact a.mail {
  background-color: rgb(102, 102, 102);
}

/* フッター */

footer {
  background-color: rgb(250, 140, 0);
  color: rgb(5, 5, 5);
  text-align: center;
  padding: 24px 0 88px 0;
  font-family: 'DMSerifDisplay', serif;
}

/* padding調整 */

section#gallery,
section#menu,
section#news,
section#takeout,
section#access,
section#contact {
  padding: 88px 56px 24px 56px;
}

section#instagram,
section#links {
  padding: 88px 56px;
}

/* 1000px以下 */
@media (max-width:1000px) {

  section#gallery,
  section#menu,
  section#news,
  section#takeout,
  section#access,
  section#contact {
    padding: 88px 24px 24px 24px;
  }

  section#instagram,
  section#links {
    padding: 88px 24px;
  }
}

/* 900px以下 */
@media (max-width:900px) {
  section#instagram>a {
    height: 300px;
  }

  section#contact label {
    flex-wrap: wrap;
  }

  section#contact label p {
    width: 90%;
  }

  section#contact label span {
    width: 10%;
  }

  section#contact label input,
  section#contact label textarea {
    width: 100%;
    margin-top: 8px;
  }
}

/* 800px以下 */
@media (max-width:800px) {
  section#mainvisual article.lead {
    flex-wrap: wrap;
    height: 100vh;
  }

  section#gallery,
  section#menu,
  section#news,
  section#access,
  section#contact {
    padding: 40px 24px 24px 24px;
  }

  section#instagram,
  section#takeout,
  section#links {
    padding: 40px 24px;
  }

  section#gallery .img-con {
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: hidden;
    height: 200px;
  }

  section#gallery::after {
    content: '→';
    font-size: 24px;
    color: rgb(240, 150, 0);
    position: absolute;
    right: 24px;
    bottom: -8px;
    z-index: 3;
    animation: fluffy1 3s ease infinite;
  }

  @keyframes fluffy1 {
    0% {
      transform: translateX(0)
    }

    5% {
      transform: translateX(0)
    }

    10% {
      transform: translateX(0)
    }

    20% {
      transform: translateX(-15px)
    }

    25% {
      transform: translateX(0)
    }

    30% {
      transform: translateX(-15px)
    }

    50% {
      transform: translateX(0)
    }

    100% {
      transform: translateX(0)
    }
  }

  section#gallery picture {
    display: flex;
  }

  section#gallery picture,
  section#gallery picture img {
    width: 200px;
    height: 200px;
    margin-right: 16px;
  }

  section#instagram {
    flex-wrap: wrap;
  }

  section#instagram article.tokyocalendar {
    width: 100%;
    flex-direction: unset;
    align-items: center;
  }

  section#instagram article.tokyocalendar img {
    margin: 0;
  }

  section#instagram article.tokyocalendar h1 {
    width: auto;
  }

  section#instagram>a {
    width: 100%;
  }

  section#access .access-con picture {
    width: 49%;
  }

  section#access .access-con div {
    width: 80%;
  }

  section#access .access-con dl {
    flex-wrap: wrap;
    margin: 0;
    margin-bottom: 8px;
    font-size: 90%;
  }

  section#access .access-con dl dt {
    width: 100%;
  }

  section#access .access-con dl dd {
    width: 100%;
    margin-inline-start: 0px;
    margin-top: 4px;
  }
}

/* 700px以下 */
@media (max-width:700px) {
  section#mainvisual .logo-top {
    height: 60vh;
  }

  section#mainvisual img {
    width: 60%;
    padding: 0;
  }
}

/* 600px以下 */
@media (max-width:600px) {

  header,
  header nav,
  header nav ul {
    height: 60px;
  }

  header a {
    width: 20%;
  }

  header img {
    margin: 0 16px;
  }

  header nav {
    width: 80%;
  }

  header nav ul {
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  header nav ul li {
    width: 150px;
  }

  header nav ul li a {
    width: 150px;
    padding-top: 20px;
  }

  header nav ul li a:hover {
    padding-top: 10px;
  }

  header::after {
    content: '→';
    font-size: 24px;
    color: rgb(5, 5, 5);
    position: absolute;
    right: 0;
    bottom: -8px;
    z-index: 3;
    animation: fluffy1 3s ease infinite;
  }

  section#takeout .order-con {
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  section#takeout .order-con article {
    width: auto;
    margin-right: 24px;
  }

  section#takeout .order-con article a {
    width: 200px;
    margin: 0 16px 32px 16px;
  }

  section#takeout::after {
    content: '→';
    font-size: 24px;
    color: rgb(240, 150, 0);
    position: absolute;
    right: 24px;
    bottom: 0;
    z-index: 3;
    animation: fluffy1 3s ease infinite;
  }

  section#access {
    background-color: rgba(5, 5, 5, .3);
  }

  section#access .access-con {
    flex-wrap: wrap;
  }

  section#access .access-con picture {
    display: none;
  }

  section#links .links-con {
    flex-wrap: wrap
  }

  section#links picture {
    width: calc(100% / 2.1);
    margin-bottom: 16px;
  }
}

/* 500px以下 */
@media (max-width:500px) {
  section#mainvisual article.lead div.leadtext {
    max-width: 100%;
    line-height: 2;
    padding: 0;
  }

  section#menu article.menu-con {
    flex-wrap: wrap;
  }

  section#menu article.menu-con div {
    width: 100%;
  }

  section#news article.news-con {
    flex-wrap: wrap;
  }

  section#news article.news-con div {
    width: 100%;
  }

  section#instagram article.tokyocalendar {
    flex-wrap: wrap;
    padding: 0;
  }

  section#instagram article.tokyocalendar h1 {
    width: 100%;
  }

  section#instagram>a {
    height: 200px;
  }

  section#access iframe {
    height: 200px;
  }

  section#contact label p {
    width: 60%;
  }

  section#contact label span {
    width: 40%;
  }

  section#footer-contact {
    flex-wrap: wrap;
  }

  section#footer-contact a {
    width: 100%;
  }

  footer {
    padding-bottom: 160px;
  }
}

/* サンクスページ */

header.thanks::after {
  content: '';
}

li.thanks {
  width: 100%;
}

main#thanks section {
  background-color: rgba(5, 5, 5, .7);
}

main#thanks section.thanksmessage {
  height: 80vh;
  min-height: calc(100vh - 56px);
}

main#thanks section.thanksmessage div {
  top: 20vh;
  height: 80vh;
  min-height: calc(100vh - 56px);
}

main#thanks section.thanksmessage h1 {
  text-align: center;
  border: none;
  top: 80px;
  position: relative;
}

main#thanks section.thanksmessage a {
  display: block;
  width: 50%;
  line-height: 4;
  margin: 0 auto;
  top: 300px;
  color: rgb(5, 5, 5);
  text-align: center;
  background-color: rgb(250, 140, 0);
  border-radius: 100px;
  transition: all .3s;
}

main#thanks section.thanksmessage a:hover {
  background-color: rgb(77, 77, 77);
  color: rgb(250, 250, 250);
}

main#thanks section#footer-contact {
  position: absolute;
}