body {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  color: #3c301e;
}

body.is-fixed {
  overflow: hidden;
}

img {
  width: 100%;
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  border-bottom: 1px solid rgba(241, 238, 228, 0.25);
  width: 100%;
  text-align: center;
  padding: 12px;
}

.header-logo {
  width: 200px;
  margin: 0 auto;
}

.header-nav {
  margin-top: 10px;
}

.header-nav-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.header-nav-link {
  color: #ffffff;
}

.header-nav-item-menu{
  position: relative;
  /* text-align: center; */
  /* display: block; */
}

.drawer{
  color: #ffffff;
  background-color: rgba(60, 48, 30, 0.5);
  /* background-color: black; */
  padding: 10px;
  line-height: 30px;
  font-size: 12px;
  position: absolute;
  top: 29px;
  /* right: 0; */
  /* left: 0; */
  /* margin: 0 auto; */
  left: 50%;
  transform: translateX(-50%);
  /* text-align: center; */
  /* display: block; */
  width: 80px;
  display: none;
  
}

/* 共通クラス */
.inner {
  padding: 0 40px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading-l {
  color: #fff;
}

.section-heading-main {
  display: block;
  font-size: 40px;
}

.section-heading-sub {
  display: block;
  font-size: 12px;
}

/* ファーストビュー */

/* 767pxで崩れていたのを修正（画像右側に空白が出来ていた） */
/* 動画内では触れられなかったけど、この記述が無い場合は、
 PCサイズで画面幅を画像サイズ(2880px)より大きくしても同様に崩れた。 */
.fv-picture img {
  width: 100%;
}

/* aboutセクション */
.about {
  padding: 40px 0;
  background-color: #f1eee4;
}

.about-text-contents {
  margin-top: 20px;
}

.about-text {
  font-size: 14px;
  line-height: 2;
}

.about-text + .about-text {
  margin-top: 16px;
}

/* menuセクション */
.menu {
  background-color: #f1eee4;
  padding: 80px 0;
}

.menu-item + .menu-item {
  margin-top: 62px;
}

.menu-text-contents {
  text-align: center;
  padding: 16px 10px;
}

.menu-name-main {
  font-size: 18px;
  display: block;
}

.menu-name-sub {
  font-size: 12px;
  color: #a98c5f;
  display: block;
  margin-top: 8px;
}

.menu-text {
  font-size: 14px;
  color: #a98c5f;
  margin-top: 16px;
}

/* menuセクション(モーダル) */
.menu-img img{
  cursor: pointer;
  transition: opacity 0.3s;
}

.menu-img img:hover {
  opacity: 0.7;
}

#grayDisplay{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* コンテンツ全てに対して固定的に 1160pxとか指定されているときの対応で、
  ダサいが!importantつける（←らしい・・・） */
  max-width: 100% !important;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);

  /* 「ページトップへ戻るボタン」より手前にするため */
  z-index: 40;
}

#grayDisplay img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  height: 90%;
  /* 要素の縦横比を保ちながら、親要素の中に完全に収まるようにメディアをリサイズ */
  object-fit: contain;
}

/* shopセクション */
.shop {
  background-image: url(../img/sp/bg-shop.png);
  background-position: center center;
  background-size: cover;
  padding: 80px 0;
}

.shop-inner {
  padding: 0 20px;
}

.shop-text {
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 2;
}

.form {
  margin-top: 40px;
}

.form-input {
  width: 100%;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  padding: 14px;
}

/* placeholderにスタイルを当てる場合に使用 */
/*.form-input::placeholder {
  color: red;
}*/

.form-submit {
  border-radius: 4px;
  border: none;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  display: block;
  margin: 10px auto 0;
  width: 120px;
  padding: 12px 10px;
  color: #fff;
  background-color: #a98c5f;
}

/* footer */
.footer {
  background-color: #3c301e;
  text-align: center;
  padding-top: 46px;
  color: #fff;
}

.footer-logo {
  width: 200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 12px;
}

.footer-nav-list {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
}

.footer-nav-link-text {
  font-size: 12px;
  margin-top: 12px;
}

.sns-img {
  width: 56px;
}

.footer-copy-wrapper {
  border-top: 1px solid rgba(241, 238, 228, 0.25);
  padding: 12px;
  margin-top: 46px;
}

.footer-copyright {
  font-size: 12px;
}

/* ページトップへ戻るボタン */
.pagetop{
  height: 55px;
  width: 55px;
  position: fixed;
  right: 30px;
  bottom: 30px;
    /* background: #ffffff; */
  background-color: #fff;
  /* border: none; */
  border: 2px solid #3c301e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  display: none;

  /* menuのモーダルより奥にするため（モーダル表示時の本ボタン無効化） */
  z-index: 30;

}

.pagetop__arrow{
  color: #3c301e;
  font-weight: 900;
  /* display: block; */
  /* height: 10px; */
  /* width: 10px; */
  /* border-top: 3px solid #3c301e; */
  /* border-right: 3px solid #3c301e; */
  /* transform: translateX(-50%) translateY(20%) rotate(-45deg); */

  /* left: 50%; */
  /* transform: translateX(-50%); */
}

/* タブレット、PCサイズの表示 */
@media screen and (min-width: 768px) {
  .header {
    padding: 16px;
  }

  .header-inner {
    max-width: 1080px;
    padding: 0 40px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }

  .header-logo {
    margin: 0;
  }

  .header-nav-list {
    gap: 40px;
  }

  .header-nav-link {
    transition: opacity 0.3s;
  }

  .header-nav-link:hover {
    opacity: 0.7;
  }

  .drawer{
    color: #ffffff;
    background-color: rgba(60, 48, 30, 0.5);
    /* background-color: black; */
    padding: 10px;
    line-height: 30px;
    font-size: 12px;
    position: absolute;
    top: 38px;
    /* right: 0; */
    /* left: 0; */
    /* margin: 0 auto; */
    left: 50%;
    transform: translateX(-50%);
    /* text-align: center; */
    /* display: block; */
    width: 80px;
    display: none;
    
  }

  .inner {
    max-width: 1080px;
    padding: 0 40px;
    margin: 0 auto;
    /* max-widthの他の書き方例（calc） */
    /* max-width: calc(1000px + 40px * 2); */
  }

  .section-heading-main {
    font-size: 64px;
  }

  .about {
    padding: 100px 0;
  }

  .about-contents {
    display: flex;
    gap: 40px;
    align-items: center;
  }

  .about-img {
    width: 300px;
  }

  .about-text-contents {
    margin-top: 0;
  }

  .about-text {
    font-size: 15px;
  }

  .about-text + .about-text {
    margin-top: 30px;
  }

  .menu {
    padding: 0 0 100px;
  }

  .menu-list {
    display: flex;
    gap: 20px;
  }

  .menu-item + .menu-item {
    margin-top: 0;
  }

/* menuセクション(モーダル)(タブレット、PCサイズの表示) */
#grayDisplay img{
  /* position: absolute; */
  /* top: 0; */
  /* bottom: 0; */
  /* left: 0; */
  /* right: 0; */
  /* margin: auto; */
  max-width: 60%; /* タブレットの場合の画像サイズ調整 */
  max-height: 55%; /* PCの場合の画像サイズ調整 */
  height: 90%;
  /* 要素の縦横比を保ちながら、親要素の中に完全に収まるようにメディアをリサイズ */
  /* object-fit: contain; */
}

  .shop {
    background-image: url(../img/bg-shop.png);
    background-position: center center;
    background-size: cover;
    padding: 60px 0;
  }

  .shop-inner {
    max-width: 600px;
    margin: 0 auto;
  }

  .form {
    display: flex;
    gap: 20px;
  }

  .form-submit {
    margin-top: 0;
    transition: opacity 0.3s;
  }

  .form-submit:hover {
    opacity: 0.7;
    cursor: pointer;
  }

  .footer-text {
    margin-top: 12px;
  }

  .footer-nav-list {
    gap: 40px;
  }

  .footer-copyright {
    font-size: 13px;
  }
}
