@charset "UTF-8";

/* 共通部分
--------------------------- */
html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #000;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}

/* スライダー
------------------------------ */
.slide-box {
  width: 100%;
  height: 100vh;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
}
.imgs {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  animation: slider 28s linear infinite;
  opacity: 0;
}
.src1 {
  background: url(images/img1.jpg) no-repeat center center/cover;
}
.src2 {
  background: url(images/img2.jpg) no-repeat center center/cover;
  animation-delay: 7s;
}
.src3 {
  background: url(images/img3.jpg) no-repeat center center/cover;
  animation-delay: 14s;
}
.src4 {
  background: url(images/img4.jpg) no-repeat center center/cover;
  animation-delay: 21s;
}

@keyframes slider {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }  
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* header
----------------------------- */
.main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 5em;
  left: 5em;
}
.main-nav li {
  font-family: 'Cormorant', serif;
  font-size: 24px;
  list-style: none;
}
.main-nav a {
  color: #000;
}

/* SNS
------------------------------ */
.sns-icon {
  position: absolute;
  top: 3em;
  right: 3em;
}
.sns img {
  width: 40px;
}
.sns {
  margin-right: 10px;
}

/* タイトル
------------------------------- */
.ttl {
  position: absolute;
  bottom: 8em;
  right: 14em;
}
h1 {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 60px;
}
.ttl p {
  font-family: 'Ubuntu Mono', monospace;
  letter-spacing: 2px;
  font-size: 30px;
  line-height: 0;
  padding-left: 4px;
}

/* スクロール
----------------------------- */
.scroll {
  position: absolute;
  left: 50%;
  bottom: 10px;
  height: 50px;
}
.scroll p {
  position: absolute;
  left: -15px;
  top: -15px;
  color: #000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background-color: #000;
  animation: scrollmove 1.4s ease-in-out infinite;
  opacity: 0;
}

@keyframes scrollmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/* 英字文章
------------------------------- */
.heading {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h2 {
  font-family: 'Parisienne', cursive;
  font-size: 40px;
}
.sub-h2 {
  font-family: 'Parisienne', cursive;
  font-size: 25px;
}

/* フェードアップ */
.fade {
  opacity: 0;
  transform: translateY(100px); 
  transition: all .7s;
}
.js-fade {
  opacity: 1;
  transform: translateY(0);
}

/* cafe
--------------------------- */
.cafe {
  margin-top: 10em;
  margin-bottom: 30em;
  background-color: dimgray;
  height: 250vh;
  position: relative;
}
.main1 {
  position: absolute;
  width: 40%;
  top: -5em;
  right: 0;
}
.main2 {
  position: absolute;
  width: 35%;
  top: 15em;
  left: 1em;
}
.main3 {
  position: absolute;
  width: 30%;
  top: 43em;
  right:5em;
}
.main4 {
  position: absolute;
  width: 35%;
  top: 62em;
  left: 10em;
}
.cafe-text {
  position: absolute;
  bottom: 7em;
  right: 20em;
  font-family: 'Kosugi', sans-serif;
  font-size: 15px;
}

/* menu
----------------------------- */
.menu {
  font-family: 'Cormorant', serif;
}
h3 {
  font-size: 42px;
  text-align: center;
}
.menu-list {
  margin-top: 5em;
  margin-bottom: 4em;
  display: flex;
  justify-content: center;
}
.menu-list img {
  width: 450px;
  height: 320px;
  object-fit: cover;
  margin-left: 30px;
  margin-right: 30px;
}
.menu-list p {
  padding-top: .5em;
  font-size: 20px;
  padding-left: 5em;
}
.view {
  font-size: 20px;
  display: block;
  text-align: right;
  margin-right: 8em;
  position: relative;
  margin-bottom: 11em;
}
.view::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  width: 200px;
  height: 1px;
  background-color: #000;
}

/* take out
-------------------------- */
.takeout {
  text-align: center;
  position: relative;
}
.takeout img {
  width: 70%;
}
.takeout a {
  color: #000;
}
.takeout p {
  font-family: 'Cormorant', serif;
  font-size: 30px;
  background-color: rgba(255,255,255,.5);
  padding: 1.5em 7em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* store
--------------------------- */
.store {
  margin-top: 15em;
  background: url(images/store.jpg)no-repeat center center/cover;
  object-fit: cover;
  height: 70vh;
  position: relative;
}
.store-list {
  position: absolute;  
  bottom: 6em;
  right: 19em;
  display: flex;
  flex-direction: column;
}
h4 {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 24px;
}
.store-list p {
  font-family: 'Kosugi', sans-serif;
  font-size: 13px;
}

.copylight {
  text-align: center;
  font-family: 'Cormorant', serif;
  font-size: 15px;
  position: relative;
  bottom: 2em;
}


/* モバイル版
--------------------------------------- */
 /* 960px～1279px : 小型PC */
 @media screen and (min-width:960px) {
  .body{
    max-width: 100%;
  }
  .cafe {
    height: 200vh;
  }
  .cafe-text {
    right: 13em;
  }
}
/* 600px～959px : タブレット */
@media screen and (min-width:600px) and (max-width:959px) {
  .body{
    max-width: 100%;
  }
  h2 {
    font-size: 33px;
  }
  .cafe {
    margin-bottom: 27em;
    height: 130vh ;
  }
  .main1 {
    width: 35%;
  }
  .main2 {
    top: 10em;
  }
  .main3 {
    width: 33%;
    top: 33em;
    right: 3em;
  }
  .main4 {
    top: 45em;
    left: 7em;
  }
  .cafe-text {
    bottom: -4em;
    right: 4em;
  }
  .menu-list img {
    width: 280px;
    height: 230px;
    margin-left: 5px;
    margin-right: 5px;
  }
  .view {
  margin-right: 5em;
  }
  .view::before {
  right: 10%;
  }
  .takeout p {
    font-size: 27px;
    padding: 1em 3em;
  }
}
 /* ～479px : スマートフォン縦 */
 @media screen and (max-width:479px) {
  .body{
    max-width: 100%;
  }
  /* スライダー */
  .src1 {
    background: url(images/img1.jpg) no-repeat left center/cover;
  }
  /* header */
  .main-nav {
    top: 2em;
    left: 2em;
  }
  .main-nav li {
    font-size: 18px;
  }
  /* SNS */
  .sns-icon {
    top: 1.5em;
    right: 1.5em;
  }
  .sns img {
    width: 30px;
  }
  .sns {
    margin-right: 5px;
  }
  /* タイトル */
  .ttl {
    bottom: 8em;
    left: 4em;
  }
  h1 {
    font-size: 38px;
  }
  .ttl p {
    font-size: 22px;
  }
  /* 英字文章 */
  .heading {
    width: 70%;
    margin: 0 auto;
  }
  h2 {
    text-align: center;
    font-size: 22px;
  }
  .sub-h2 {
    font-size: 20px;
  }
  /* cafe */
  .cafe {
    margin-top: 7em;
    margin-bottom: 13em;
    height: 75vh;
  }
  .main2 {
    top: 3em;
  }
  .main3 {
    width: 40%;
    top: 12em;
    right:1em;
  }
  .main4 {
    width: 43%;
    top: 20em;
    left: 3em;
  }
  .cafe-text {
    bottom: 2em;
    right: 2em;
    font-size: 12px;
  }
  /* menu */
  .menu {
    text-align: center;
  }
  h3 {
    font-size: 25px;
  }
  .menu-list {
    margin-top: 1em;
    flex-direction: column;
  }
  .menu-list img {
    width: 320px;
    height: 250px;
    margin-left: 0;
    margin-right: 0;
  }
  .menu-list p {
    font-size: 17px;
    padding-left: 0;
    margin-bottom: 2em;
  }
  .view {
    font-size: 17px;
    margin-right: 1.5em;
  }
  .view::before {
    right: 15%;
    width: 150px;
  }
  /* take out*/
  .takeout img {
    width: 90%;
  }
  .takeout p {
    font-size: 20px;
    padding: 1em 2.5em;
  }
  /* store */
  .store {
    margin-top: 12em;
    height: 50vh;
  }
  .store-list {
    bottom: 7em;
    right: 4em;
  }
  h4 {
    font-size: 18px;
  }
  .store-list p {
    font-size: 10px;
  }

  .copylight {
    font-size: 13px;
  }
 }