@charset "UTF-8";

/* color */
:root {
  --base-color: #fcfdf5;
  --main-color: #e9e7e1;
  --sub-color: #d9d8d7;
  --text-color: #333;
  --gray1: #9a9a9a;
  --gray2: #4c524c;
  --white: #fff;
}

/* general styling */
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  font-family: 'Noto Serif JP', serif;
  color: var(--text-color);
  background: var(--base-color);
  font-size: 0.875rem;
}

/* common */
#loading {
  z-index: 9999;
  background: rgba(233, 231, 225, 1);
  backdrop-filter: blur(10px);
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
}
.spinner {
  animation: rotate 3s linear infinite;
  width: 50px;
  height: 50px;
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loaded {
  opacity: 0;
  visibility: hidden;
}
p {
  line-height: 2;
}
.space {
  display: inline-block;
  margin-bottom: 1rem;
}
img {
  max-width: 100%;
}
.border {
  text-decoration: underline;
}
.section-title {
  position: relative;
  display: block;
  margin-bottom: 6rem;
}
.front-title {
  font-family: 'EB Garamond', serif;
  font-size: 1.125rem;
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1;
  display: block;
  line-height: 1;
  letter-spacing: 0.1rem;
  text-align: center;
}
.back-title {
  font-family: 'Tenor Sans', sans-serif;
  display: block;
  line-height: 1;
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--main-color);
  font-size: 2rem;
  letter-spacing: 0.04rem;
}

.section-btn {
  display: block;
  position: relative;
  text-align: center;
  width: 200px;
  margin: 6rem auto 11rem;
  line-height: 3;
  font-size: 0.875rem;
  font-family: 'EB Garamond', serif;
}
.section-btn::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background: var(--base-color);
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.section-btn::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--main-color);
  z-index: -1;
}

.back-btn {
  position: relative;
  display: block;
  text-align: center;
  width: 50px;
  margin: 6rem auto 11rem;
  line-height: 3;
  letter-spacing: 0.16rem;
  font-size: 0.875rem;
  font-family: 'EB Garamond', serif;
}
.back-btn::after {
  content: '';
  display: block;
  width: 70%;
  height: 1px;
  position: absolute;
  bottom: 8px;
  left: 7px;
  background: var(--gray2);
  z-index: -1;
  transform: scale(1, 1);
  transform-origin: right top;
  transition: transform 0.3s cubic-bezier(0.16, 0.5, 0.43, 1);
}
.more-btn {
  position: relative;
  display: block;
  text-align: center;
  margin-left: auto;
  padding: 0.5rem;
  width: 50px;
  line-height: 2;
  letter-spacing: 0.16rem;
  font-size: 0.875rem;
  font-family: 'EB Garamond', serif;
}
.more-btn::after {
  content: '';
  display: block;
  width: 70%;
  height: 1px;
  position: absolute;
  bottom: 8px;
  left: 9px;
  background: var(--gray2);
  z-index: -1;
  transform: scale(1, 1);
  transform-origin: right top;
  transition: transform 0.3s cubic-bezier(0.16, 0.5, 0.43, 1);
}
/* layout */
.wrapper {
  max-width: 1280px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* header */
header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1 {
  width: 9rem;
  padding: 0.2rem 1.5rem;
}
header {
  position: fixed;
  z-index: 3;
  background: rgba(252, 253, 245, 0.7);
  width: 100%;
  padding: 0.2rem 0;
}
.reservation-btn {
  display: inline-block;
  position: absolute;
  top: 1.3rem;
  right: 4.2rem;
  border: solid 1px var(--gray1);
  font-family: 'EB Garamond', serif;
  padding: 0.4rem;
}

/* navigation */
.btn-menu {
  position: absolute;
  right: 0.2rem;
  top: 0.2rem;
  z-index: 4;
  height: 4rem;
  width: 4rem;
  padding: 0.5rem 1rem;
  transition: 0.4s;
}
.btn-menu svg {
  height: 2rem;
  width: 2rem;
  margin-top: 0.25rem;
}
#menu-close svg {
  fill: var(--white);
}
#menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: max(20vw, 20rem);
  height: 100vh;
  padding: 8rem 2rem 2rem;
  background: var(--gray2);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
  transform: translateX(100vw);
}
#menu-panel .reservation-btn {
  color: var(--white);
}
#menu-panel img {
  width: 44px;
}
.menu-list li {
  margin: 2rem 0;
  opacity: 0;
}
.menu-list a {
  color: var(--white);
  font-size: 1rem;
  font-family: 'EB Garamond', serif;
}
.menu-panel-sns li {
  display: inline-block;
  margin-top: 7rem;
  margin-right: 2.75rem;
}
.menu-panel-sns li a {
  display: block;
}
.reservation-btn a {
  font-size: 0.875rem;
}
.main-nav {
  display: none;
}

/* table */
table {
  margin: 4rem 0 0;
  width: 100%;
}
th {
  font-weight: normal;
  background: rgba(233, 231, 225, 0.5);
  vertical-align: middle;
  padding: 1rem;
}
td {
  line-height: 1.5;
  padding: 1rem;
}
th,
td {
  display: block;
}

.reserve-txt h2,
.cansel-txt h2 {
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.reserve-txt p {
  margin-bottom: 6rem;
}

/* footer */
.footer {
  margin-top: 11rem;
  background: var(--main-color);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.footer-info {
  padding-right: 2rem;
  margin-bottom: 4rem;
}
.footer-info address {
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.tel {
  display: inline-block;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-info p {
  font-size: 0.75rem;
  line-height: 1.5;
}
.footer-menu {
  height: 226px;
  padding-right: 2rem;
  margin-bottom: 4rem;
}
.footer-menu ul li {
  display: block;
  font-family: 'EB Garamond', serif;
  width: 50%;
  float: left;
  margin-bottom: 2.5rem;
}
.sns {
  margin-bottom: 4rem;
}
.sns ul li {
  display: inline-block;
  margin-right: 2.75rem;
}
.sns ul li a {
  display: block;
}
.sns img {
  width: 44px;
}
.footer-logo {
  width: 6rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  body {
    font-size: 1rem;
  }
  .spinner {
    width: 100px;
    height: 100px;
  }
  .section-title {
    margin-bottom: 10rem;
  }
  .front-title {
    font-size: 1.25rem;
    top: 24px;
  }
  .back-title {
    font-size: 3rem;
  }
  .section-btn {
    font-size: 1rem;
    margin-bottom: 20rem;
  }
  a:hover {
    color: var(--gray1);
  }
  .section-btn:hover {
    background: var(--gray1);
    color: var(--base-color);
    transition: 0.5s ease-in-out;
  }
  .back-btn:hover {
    color: var(--gray1);
  }
  .reservation-btn:hover {
    background: var(--gray1);
    color: var(--white);
    transition: 0.5s;
  }
  .border:hover {
    text-decoration: none;
    color: var(--gray1);
  }
  .more-btn:hover {
    color: var(--gray1);
  }
  .more-btn:hover::after {
    background: var(--gray1);
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform 0.3s cubic-bezier(0.16, 0.5, 0.43, 1);
  }
  .back-btn:hover::after {
    background: var(--gray1);
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform 0.3s cubic-bezier(0.16, 0.5, 0.43, 1);
  }
  table {
    margin: 6rem 0 0;
  }
  td {
    border-bottom: dotted 2px var(--main-color);
  }
  th,
  td {
    padding: 1.25rem;
    display: table-cell;
  }
  header {
    background: var(--base-color);
  }
  .menu-list li {
    margin-bottom: 4rem;
  }
  .menu-list a {
    font-size: 1.25rem;
  }
  .reservation-btn a {
    font-size: 1rem;
  }
  .shop-info {
    display: flex;
    justify-content: space-between;
  }
  .reserve-txt {
    width: 45%;
  }
  .cansel-txt {
    width: 45%;
  }
  .footer {
    margin-top: 8rem;
  }
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .footer h3 {
    font-size: 1.125rem;
    font-weight: 600;
  }
  .footer-info address,
  .tel,
  .footer-info p,
  .footer-menu ul li {
    font-size: 0.875rem;
  }
  .footer-menu ul li a:hover {
    color: var(--gray1);
  }
}
