@charset "UTF-8";
/*共通部分-----------
---------------------*/
html {
  font-size: 100%;
  background-color: #fff8e1;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体",
    "ヒラギノ角ゴ Pro W3 ,sans-serif";
  line-height: 1.7;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

p {
  font-size: 25px;
}

.Tokiwa a {
  text-align: right;
  color: #fff;
}

/*header----------------
---------------------*/
.page-header {
  display: flex;
  justify-content: space-between;
  position: sticky;
  background-color: #fff8e1;
  top: 0;
  z-index: 1;
  max-width: 100%;
  padding-right: 30px;
  padding-left: 30px;
}

.logo {
  width: 60px;
  margin-top: 15px;
}

h1 {
  font-size: 40px;
}

.cafe-name {
  font-family: "Abril Fatface", cuesive;
  font-family: "Pattaya", sans-serif;
  color: black;
  line-height: 40px;
}

.cafe-logo {
  width: 12%;
}

.main-nav {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-top: 35px;
  list-style: none;
  font-family: "Sen", sans-serif;
}

.main-nav li {
  margin-left: 36px;
  font-size: 22px;
}

.inf li {
  margin-left: 36px;
  font-size: 22px;
}

.main-nav a {
  color: black;
}

.main-nav a:hover {
  color: #bf360c;
}

/*access------
--------------------*/
.page-title {
  font-size: 80px;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 16px;
  font-family: "Sen", sans-serif;
}

.page-subtitle {
  margin-top: 30px;
  font-size: 30px;
}

.access-wrapper {
  margin: 30px;
}

.directions {
  margin-bottom: 80px;
}

.parking {
  margin-bottom: 80px;
}

.iframe {
  margin-bottom: 80px;
  width: 80%;
}

.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.space {
  margin-bottom: 50px;
}

.picture2 {
  margin-right: 20px;
  margin-left: 20px;
}

/*footer------
--------------------*/

footer {
  background: #6d4c41;
  text-align: center;
  padding: 50px 0;
}

footer p {
  color: #fff;
  font-size: 0.875rem;
  font-size: 25px;
}

.grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 4%;
  margin-bottom: 50px;
}

@media only screen and (min-width: 800px) {
  .hamburger-menu {
    display: none;
  }
  .menu-content {
    display: none;
  }
}

/*スマホ対応---------------------
--------------*/
@media only screen and (max-width: 800px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2列のグリッドを作成 */
    grid-gap: 5px; /* グリッドア1イテム間の余白 */
  }

  .main-nav li {
    font-size: 10px;
  }
  .cafe-name {
    font-size: 20px;
  }
  .page-title {
    font-size: 40px;
  }

  p {
    font-size: 15px;
  }

  .page-subtitle {
    font-size: 20px;
  }

  .main-nav {
    display: none;
  }

  footer p {
    font-size: 15px;
  }

  .cafe-logo {
    width: 25%;
  }

  .Tokiwa {
    text-align: center;
  }

  /* =================
ハンバーガーボタンの実装
================= */
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #6d4c41;
  }
  .menu-btn:hover {
    cursor: pointer;
  }

  /* 三本線の実装 */
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  /* チェックボックスを非表示にする */
  #menu-btn-check {
    display: none;
  }

  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(
      255,
      255,
      255,
      0
    ); /*メニューオープン時は真ん中の線を透明にする*/
  }

  /* メニューを開いている時はハンバーガーボタンが×になる */
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .menu-content ul li a {
    font-family: "Sen", sans-serif;
  }

  .menu-content a:hover {
    color: #bf360c;
  }

  /* =================
メニュー部分の実装
================= */
  .menu-content {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    /* メニューを外に出しておく */
    left: 100%;
    z-index: 80;
    background-color: #6d4c41;
    transition: all 0.5s; /*アニメーションを滑らかにする*/
  }
  .menu-content ul {
    padding: 70px 10px 0;
  }
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }
  #menu-btn-check:checked ~ .menu-content {
    left: 30%; /*メニューを画面内へ動かす*/
  }

  .item {
    position: relative;
    padding-top: 90%; /* 比率 */
  }

  .item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 60px;
  }
}
