@charset "UTF-8";
/*デスクトップ用*/
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: #4B2A2A;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

header ul li {
  list-style: none;
}

a {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
a:link, a:visited, a:active {
  color: #ffffff !important;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  position: relative;
  background-image: url(../img/coffee-header.jpg);
  width: 100%;
  height: 70vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

header h1 {
  margin: 0;
}

.hamburger {
  position: fixed;
  margin-top: 0;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  z-index: 100;
  outline: none;
}
.hamburger__bar {
  text-align: center;
  display: block;
  background-color: #ffffff;
  width: 100%;
  height: 2px;
  position: absolute;
  border-radius: 2px;
}

.hamburger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.hamburger__bar:nth-child(1) {
  top: 0;
}

.hamburger__bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger__bar:nth-child(3) {
  bottom: 0;
}

.header__nav {
  position: relative;
  background: none;
  width: 100%;
  height: 40vh;
  margin: 0 auto;
}

.hamburger.is_active .hamburger__bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

.hamburger.is_active .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is_active .hamburger__bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 99;
  background: #4B2A2A;
  display: block;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.24s;
  pointer-events: none;
  height: 100vh;
  text-align: center;
  font-size: 1rem;
}
.header__nav ul li a {
  cursor: pointer;
}
.header__nav img {
  width: 20%;
}

.header__nav.is_active {
  opacity: 1;
  pointer-events: auto;
}

.header__nav__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header__nav-item {
  text-align: center;
}
.header__nav-item:hover {
  padding: 10px 50px;
  transition: 0.3s;
  background-color: none;
}

.header__copy {
  position: relative;
  background-image: url(../img/Xmas-cafe.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px;
  border-radius: 30px;
  overflow: hidden;
  margin: auto 5px;
}
.header__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(68, 35, 35, 0.3);
  z-index: 0;
}
.header__copy__text {
  position: relative;
  z-index: 1;
}

.header__logo__images {
  position: fixed;
  top: 20px;
  left: 20px;
  display: block;
  z-index: 10;
}

.header__logo__images-coffee img {
  width: 50px;
  height: auto;
}
.header__logo__images-x img, .header__logo__images-insta img {
  width: 30px;
  height: auto;
  margin-left: 10px;
}

.header__logo {
  margin: 0;
  /* h1のデフォルト余白を消す */
}

.header__main-copy {
  position: relative;
  text-align: right;
  font-size: 2rem;
  right: 0;
  top: 30vh;
  margin: 0;
}

.header__menu__title,
.header__recruit__title,
.header__privacy__title,
.header__terms__title,
.header__contact__title {
  position: relative;
  text-align: right;
  font-size: 2rem;
  right: 0;
  top: 30vh;
  margin: 0;
}

body {
  background-position: 80%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/cafe-counter.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.8;
  z-index: -1;
}

.main {
  margin: auto 50px;
}
.main img {
  border-radius: 30px;
}

.index__text {
  margin: 50px auto 100px auto;
  line-height: 2;
  font-size: 1.2rem;
}

.about {
  margin-bottom: 200px;
}
.about__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.index-menu {
  margin-bottom: 200px;
}
.index-menu__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.news {
  margin-bottom: 200px;
}
.news__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.index-contact {
  margin-bottom: 200px;
}
.index-contact__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.index-recruit {
  margin-bottom: 200px;
}
.index-recruit__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.access {
  margin-bottom: 200px;
}
.access img {
  width: 300px;
}
.access__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.voice {
  margin-bottom: 200px;
}
.voice img {
  width: 300px;
}
.voice__title {
  font-size: 2rem;
  margin-bottom: 80px;
}

.section--button {
  cursor: pointer;
  padding: 30px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.section__button-wrapper--center {
  text-align: center;
  margin-top: 100px;
}

.site-ending {
  margin: 500px 0 200px;
}

.line {
  width: 100%;
  margin-bottom: 300px;
}

/*メニュースライダー*/
.menu__items {
  margin-top: 100px;
  height: 150px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.menu__items__inner {
  display: flex !important;
  width: max-content;
  animation: scroll 60s linear infinite;
}

.menu__items__inner img {
  width: 200px;
  flex-shrink: 0;
  margin-left: 10px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3100px);
  }
}
.footer {
  text-align: center;
}
.footer__text {
  margin: 100px 0 0 0;
}
.footer__tel-number {
  margin-top: 0;
  font-size: 2rem;
}
.footer__button {
  margin-top: 50px;
}
.footer__table {
  margin: 100px auto;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.footer__table th, .footer__table td {
  text-align: center;
}
.footer__button, .footer__button--map {
  cursor: pointer;
  padding: 20px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.5);
}
.footer__nav li {
  list-style: none;
  line-height: 2;
}
.footer__nav ul {
  margin: 80px 0;
}
.footer img {
  width: 200px;
}

.menu__main {
  margin: auto 5px;
  text-align: center;
  gap: 30px;
}
.menu__main img {
  width: 300px;
  border-radius: 30px;
}

.menu__item {
  margin-top: 100px;
}

.recruit__main {
  margin: auto 10px;
}

.recruit__title {
  font-size: 1rem;
}

.recruit__table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 200px;
}
.recruit__table caption {
  display: none;
}
.recruit__table th {
  font-size: 1rem;
  text-align: left;
  padding: 25px 50px;
  height: 200px;
}
.recruit__table td {
  font-size: 1rem;
}
.recruit__table td a {
  cursor: pointer;
  text-decoration: underline;
  color: #ffffff;
}
.recruit__table td a:active {
  color: #ffffff;
}
.recruit__table tr {
  border-bottom: 1px solid #ffffff;
}

.privacy-policy {
  margin: auto 50px;
  margin-bottom: 200px;
}
.privacy-policy__text {
  margin-top: 50px;
  margin-bottom: 100px;
}

.terms {
  margin: auto 50px;
  margin-bottom: 200px;
}
.terms__text {
  margin-top: 50px;
  margin-bottom: 100px;
}

.contact {
  text-align: center;
  margin: auto 50px;
}
.contact__title--mail {
  margin: 80px 0 0 0;
  font-size: 1.3rem;
}
.contact__form--text {
  font-size: 1rem;
  margin-top: 50px;
}
.contact__text {
  font-size: 2rem;
}

textarea {
  width: 300px;
  height: 200px;
}

input[type=submit] {
  width: 80px;
  margin-bottom: 200px;
}

.contact__form--text select,
input[type=text],
input[type=email],
input[type=date] {
  width: 300px;
  height: 30px;
  font-size: 1rem;
  padding: 5px;
}

.inquiry_type,
.reservation_date {
  font-size: 1rem;
}

/*header*/
@media (min-width: 768px) {
  .header__logo__images img {
    cursor: pointer;
  }
  .header__main-copy {
    font-size: 3rem;
  }
  .header__copy {
    position: relative;
    background-image: url(../img/Xmas-cafe.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    padding: 10%;
    margin: 80px;
    overflow: hidden;
  }
  .header__copy::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background-color: rgba(68, 35, 35, 0.3);
    z-index: 0;
    transform: translate(-50%, -50%);
  }
  .header__copy__text {
    position: relative;
    z-index: 1;
    font-size: 2rem;
  }
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background: #4B2A2A;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.24s;
    pointer-events: none;
    height: 100vh;
    text-align: center;
    font-size: 20px;
  }
  .header__nav img {
    position: absolute;
    width: 10%;
    transform: translateY(-170%) translateX(-70%);
  }
  /*index*/
  .index__text {
    position: relative;
    left: 30vw;
    font-size: 2rem;
    margin-top: 300px;
    margin-bottom: 500px;
  }
  .about__title,
  .index-menu__title,
  .news__title,
  .index-contact__title,
  .index-recruit__title,
  .access__title,
  .voice__title {
    font-size: 2.8rem;
  }
  .main {
    margin: auto 300px;
  }
  .about__text,
  .menu__text,
  .index-news__text,
  .index-contact__text,
  .index-recruit__text,
  .access__text,
  .voice__text,
  .site-ending {
    font-size: 1.5rem;
  }
  .menu__items {
    margin-left: -200px;
    margin-right: -200px;
    width: calc(100% + 400px);
  }
  .menu__items__inner {
    animation: scroll 40s linear infinite;
  }
  .contact {
    text-align: left;
    margin: 0;
  }
  .access__inner {
    display: flex;
    gap: 50px;
  }
  .access__inner img {
    width: 50%;
    height: 50%;
  }
  .access__inner a {
    cursor: pointer;
  }
  .voice__img {
    display: flex;
    flex-wrap: wrap;
    margin-left: -200px;
    margin-right: -200px;
    width: calc(100% + 400px);
    gap: 10px;
  }
  .voice__img img {
    width: 32%;
  }
  /*footer*/
  .line {
    margin-bottom: 0;
  }
  .footer {
    display: flex;
    text-align: left;
    margin: auto 350px;
    font-size: 1rem;
  }
  .footer-left a img {
    width: 40%;
    border-radius: 0;
  }
  .footer__text {
    margin-top: 20px;
  }
  .footer__tel-number {
    font-size: 2rem;
  }
  .footer__table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 1rem;
  }
  .footer__table th,
  .footer__table td {
    text-align: left;
    padding: 10px 15px;
  }
  .footer__table th {
    width: 20%;
  }
  .footer__table td {
    width: 60%;
  }
  .footer__button--map {
    height: 30px;
    padding-bottom: 40px;
    width: 40%;
  }
  .footer a {
    cursor: pointer;
  }
  .footer__nav ul li {
    font-size: 1rem;
    line-height: 250%;
  }
  .footer__copy {
    font-size: 1rem;
    margin-top: 50%;
    width: calc(100% + 400px);
  }
  /*menu*/
  .menu {
    font-size: 1.5rem;
  }
  .menu__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .menu__box img {
    width: 100%;
  }
  .menu__item figure {
    text-align: center;
  }
  /*recruit*/
  .recruit__title {
    font-size: 1.5rem;
  }
  .recruit__main {
    margin: auto 300px;
  }
  /*contact*/
  .contact__main {
    margin: auto 550px;
  }
  /*privacy-policy*/
  .privacy-policy {
    margin: auto 300px;
  }
  /*terms*/
  .terms {
    margin: auto 300px;
  }
  /*アニメーション*/
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 3s ease-out forwards;
  }
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .fade-in-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  .fade-in-visible {
    opacity: 1;
    transform: translateY(0);
  }
}