@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;
}

.item {
  object-fit: cover;
  width: 100%;
  height: 350px;
}

.logo {
  max-width: 30%;
}

/*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;
}
.cafe-logo {
  width: 12%;
}

h1 {
  font-size: 30px;
}

.cafe-name {
  font-family: "Abril Fatface", cursive;
  font-family: "Pattaya", sans-serif;
  color: black;
  font-size: 40px;
}

.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;
}

.main-nav a {
  color: black;
}

.main-nav a:hover {
  color: #bf360c;
}

section#about {
  /*コンテンツの横幅は960pxで横のパディングは4%（コーディング仕様）*/
  /*要素の幅と高さを指定（テキスト参考ページ：P113）*/
  /*左右の余白を自動で最適化（テキスト参考ページ：P114）*/
  /*テキストを中央に寄せよう（テキスト参考ページ：P116）*/
  width: 100%;
  padding: 0 4%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

section#about h2 {
  /*displayの表示形式について（テキスト参考ページ：P115）*/
  /*テキストを中央に寄せよう（テキスト参考ページ：P116）*/
  /*枠線を付けよう（テキスト参考ページ：P152～153）*/
  /*テキストの大きさを指定しよう（テキスト参考ページ：P160）*/
  display: inline-block;
  text-align: center;
}

section#about div {
  /*flexレイアウト（テキスト参考ページ：P121）*/
  display: flex;
}

section#about img {
  /*要素の幅と高さを指定（テキスト参考ページ：P113）*/
  /*角を丸めよう（テキスト参考ページ：P164～165）*/
  /*余白の設定（テキスト参考ページ：P160）*/
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-right: 50px;
  margin-left: 150px;
}

section#about table {
  /*テキストを左に寄せよう（テキスト参考ページ：P117）*/
  text-align: left;
}

td {
  font-size: 22px;
}

.master-td {
  padding-left: 60px;
}
/*----ハンバーガーメニューの非表示----------*/

@media only screen and (min-width: 800px) {
  .hamburger-menu {
    display: none;
  }
  .menu-content {
    display: none;
  }
}

/*見出し------
--------------------*/
.page-title {
  font-size: 80px;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 16px;
  font-family: "Sen", sans-serif;
}

/*menu------
--------------------*/

.menu-table {
  padding: 24px 18px;
}

.grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 4%;
  margin-bottom: 50px;
}

.page-subtitle {
  padding-top: 50px;
  font-size: 30px;
}

.item-detail {
  text-align: center;
  font-size: 18px;
}

.menu-detail {
  text-align: right;
  font-weight: bold;
  padding: 13px;
}

b {
  font-size: 23px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2つの列を均等に分割 */
  grid-gap: 10px; /* 要素間の余白 */
}

.element {
  /* 各要素のスタイルを設定 */
  padding: 10px;
}

/* .foodmenu {
  border-radius: 76% 24% 39% 61% / 37% 37% 63% 63%;
} */

/* .item { */
/* border-radius: 33% 67% 62% 38% / 30% 30% 70% 70%;
} */

/*footer------
--------------------*/

footer {
  background: #6d4c41;
  text-align: center;
  padding: 50px 0;
}

footer p {
  color: #fff;
  font-size: 0.875rem;
  font-size: 25px;
}

.Tokiwa a {
  text-align: right;
  color: #fff;
}

/*--PC--*/
@media screen and (min-width: 1025px) {
  ul li {
    overflow: hidden;
  }

  ul li img {
    width: 200px;
    float: left; /*--フロートを指定--*/
    margin-right: 2em;
  }
}

/*スマホ対応------
--------------------*/
@media (max-width: 800px) {
  .menu-wrapper {
    margin: 30px;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2列のグリッドを作成 */
    grid-gap: 85px; /* グリッドアイテム間の余白 */
  }

  .page-subtitle {
    font-size: 20px;
    padding-top: 90px;
  }

  b {
    font-size: 25px;
  }
  .item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .item img {
    max-width: 100%;
    max-height: 100%;
    padding: 40px;
  }

  .item-detail {
    height: 40px;
    margin-bottom: 20px;
  }

  .pc-view {
    display: none;
  }

  .main-nav li {
    font-size: 10px;
  }
  .cafe-name {
    font-size: 20px;
  }
  .page-title {
    font-size: 40px;
  }
  p {
    font-size: 15px;
  }

  .main-nav {
    display: none;
  }

  footer p {
    font-size: 15px;
  }

  .cafe-logo {
    width: 25%;
  }

  .menu-detail {
    text-align: center;
    font-size: 13px;
  }

  /* =================
ハンバーガーボタンの実装
================= */
  .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-content a:hover {
    color: #bf360c;
  }

  /* 三本線の実装 */
  .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 {
    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;
    font-family: "Sen", sans-serif;
  }
  #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;
  }
}
