@charset "utf-8";

html {
  scroll-behavior: smooth;
  min-height: 200vh;
}

body {
  font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
  color: #37383C;
  background-color: #EFE8DD;
  font-size: 15px;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
}


.body-wrapper {
  overflow: hidden;
}

.header {
  width: 100vw;
  height: 90vh;
  top: 0;
}

/* ===========================
  MENU
  =========================== */
/* メニューを画面上部に固定表示しています */
.gMenu {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 99;
}
/* メニューアイコンを画面右上に固定しています */
.gMenu .menu-icon {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 12px;
  padding-top: 5px;
  height: 12px;
}
/* メニューアイコン（三本線）の真ん中の線です */
.gMenu .menu-icon .navicon {
  background: #ffc107; /* 色は自由に変更可能です */
  display: block;
  height: 2px; /* 太さ */
  width: 31px; /* 長さ */
  position: relative;
  transition: background .4s ease-out; /* 形が変わる時のアニメーション */
}
/* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: #ffc107; /* 色は自由に変更可能です */
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .4s ease-out; /* 形が変わる時のアニメーション */
  width: 100%;
}
.gMenu .menu-icon .navicon::before {top: 10px;} /* 位置を上にずらしています */
.gMenu .menu-icon .navicon::after {top: -10px;} /* 位置を下にずらしています */
/* 表示されるメニューです */
.gMenu .menu {
  max-width: 20%; /* メニューの最大幅を画面幅の20%に設定 */
  margin-right: 10px; /* メニューの右側に10ピクセルの余白を設定 */
  margin-left: auto; /* メニューを右寄せにする */
  background-color: rgba(255,255,255,0.9);
  overflow: hidden;
  max-height: 0; /* ★最初は高さを0にして非表示状態に */
  transition: max-height .6s; /* 表示されるときのアニメーション */
  text-align: center;
}
/* メニュー部分のデザインです */
.gMenu .menu li:first-of-type {
  padding-top: 50px;
}
.gMenu .menu li a {
  display: block;
  padding: 24px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.gMenu .menu li a:hover {
  background-color: #f4f4f4;
}
/* チェックボックスは常に非表示です */
.gMenu .menu-btn {
  display: none;
}
/* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
.gMenu .menu-btn:checked ~ .menu {
  max-height: 338px; /* ★チェックボックスがオンの時高さを338pxにして表示させます */
  transition: max-height .6s;
}
/* メニューボタンの中央の線を非表示に */
.gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;}

/* メニューボタンの上下の線を45度傾けて✕印を作ります */
.gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg);top: 0;}
.gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg);top: 0;}
/* サイトに合わせてオリジナルカスタマイズ */
.gMenu .menu-icon {
  top: 26px;
}

/* ===========================
  footer
  =========================== */
footer {
  position: relative;
}

.contact {
  text-align: center;
  background-image: url(../img/bakery-footer.png);
  /*background-color: rgb(203, 232, 243);*/
  /*画像差し込み予定*/
  background-size: cover;
  background-repeat: no-repeat;
  /*画像を差し込む際*/
  background-position: center;
  /*画像を差し込む際*/
  max-width: 100%;
  height: 500px;
  padding: 100px 0 0 0;
}

.contact-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.contact-img {
  width: 800;
  margin: 40px 0;
}

.footer-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 5px;
  background-color: #EFD1BD;
}

small {
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 12px;
}

/* ページトップへ戻るボタン */

#page-top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: #7A4B43;
  opacity: 0.9;
  border-radius: 50%;
}

#page-top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}

#page-top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102'; /*https://use.fontawesome.com/releases/v5.6.4/css/all.css内のf102を指定している*/
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page-top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

@media screen and (min-width: 920px) {
  .body-wrapper {
      display: flex;
  }
}

