@charset "utf-8";
html {
  scroll-padding-top: 60px;
}

body {
  background-color: #f8f7ee;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  color: #0a0a0a;
}

.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  color: #f8f7ee;
  font-family: "Noto Serif JP", serif;
}

.wrapper {
  width: 90%;
  max-width: 1296px;
  margin: auto;
}

.button {
  display: inline-block;
  width: 216px;
  padding: 12px;
  background-color: #992626;
  color: #f8f7ee;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 0 5px #992626 inset, 0 0 0 6px #c9a932 inset;
}

.button_area {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.tel_time {
  text-align: center;
  white-space: nowrap;
}

.feature {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.4);
  background-blend-mode: lighten;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 4px 0px 3px #000;
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  height: 60px;
  background-color: #f8f7ee;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.16);
}

.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  z-index: 10;
}

.logo {
  width: 120px;
}

.header_img_box {
  display: none;
}

.header_nav_box {
  position: fixed;
  z-index: 100;
  transition: transform 0.3s;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #c9a932;
  transform: translateX(100%);
}

.header_nav {
  height: calc(100vh - 60px);
  width: 100%;
}

.header_nav > ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8vw;
  color: #f8f7ee;
  font-size: 16px;
  text-shadow: 3px 3px 5px #000;
  padding-top: 40px;
}

.sp_header_tel {
  border-top: 1px solid #f8f7ee;
  text-align: center;
  line-height: 2;
  border-bottom: 1px solid #f8f7ee;
  padding: 20px;
}

.nav_img {
  width: 190px;
}

/* スライドしてメニューを表示 */
.open .header_nav_box {
  transform: translateX(0);
}
/* ハンバーガーメニューを出しているときはスクロールさせない */
.open {
  overflow: hidden;
}

/* ナビゲーションボタン */
.navbtn {
  cursor: pointer;
  font-size: 35px;
  display: block;
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  z-index: 200;
}
/* ハンバーガーアイコン */
.navbtn .fa-bars {
  display: block;
  color: #0a0a0a;
}
/* ハンバーガーメニューが開いたときのハンバーガーアイコン */
.open .navbtn .fa-bars {
  display: none;
}
/* 閉じるアイコン */
.navbtn .fa-xmark {
  display: none;
}

/* ハンバーガーメニューが開いたときの閉じるアイコン */
.open .navbtn .fa-xmark {
  display: block;
  color: #0a0a0a;
}

/* ヘッダー下追従ボタン */
.header_tel_button {
  position: fixed;
  top: 60px;
  right: 0;
  z-index: 10;
  display: inline-block;
  width: 169px;
  padding: 5px;
  background-color: #992626;
  color: #f8f7ee;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 0 5px #992626 inset, 0 0 0 6px #f8f7ee inset;
}

.header_calendar_button {
  position: fixed;
  top: 94px;
  right: 10px;
  width: 48px;
  z-index: 10;
}

.open .header_tel_button {
  display: none;
}

.open .header_calendar_button {
  display: none;
}

/*以下トップに戻るボタン*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(50px, 5.5vw, 80px);
  height: clamp(50px, 5.5vw, 80px);
  background-image: url(../images/totop.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}

/* #page-top a:hover {
  opacity: 0.6;
} */

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}

/*上に上がる動き*/
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*下に下がる動き*/
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

/*以上トップに戻るボタン*/

/* ここからfooter */
.footer_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.footer_box .button_area {
  padding: 0;
}

.footer_box p {
  margin-bottom: 10px;
  text-shadow: 4px 0px 3px #000;
}

.footer_box small{
  margin-top: 20px;
}

.footer_container {
  color: #f8f7ee;
  background-color: #949926;
}

/* アニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  35% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    z-index: 9;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  35% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    z-index: 9;
  }

  100% {
    opacity: 0;
  }
}

/* スライド */
.slick-slider .slick-slide {
  margin: 5px;
  position: relative;
  overflow: hidden;
}

.slick-slider .slick-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* メディアクエリここから */
@media (min-width: 768px) {
  html {
    scroll-padding-top: 200px;
  }

  body {
    font-size: clamp(16px, 1.1vw, 20px);
  }

  .button_area {
    padding: 70px 0;
  }

  /* ここからheader */
  .header {
    height: 180px;
    display: flex;
    align-items: center;
  }

  .header_container {
    padding: 0;
    justify-content: space-between;
    gap: 5vw;
  }

  .logo {
    width: 200px;
    height: auto;
    object-fit: contain;
  }

  .header_img_box {
    display: block;
  }

  .header_img_box img {
    width: min(20vw, 340px);
    height: auto;
  }

  .header_nav_box {
    position: static;
    background-color: transparent;
    transform: none;
    height: auto;
    width: auto;
  }

  .header_nav {
    height: 100px;
  }

  .header_nav ul {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: right;
    color: #0a0a0a;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    gap: 3vw;
    text-shadow: none;
    height: 100%;
    padding-top: 0;
    margin: auto 0;
  }

  .header_nav ul li {
    writing-mode: vertical-lr;
  }

  .navbtn {
    display: none;
  }

  .nav_img {
    display: none;
  }

  .sp_header_tel {
    display: none;
  }

  /* ヘッダー下追従ボタン */
  .header_tel_button {
    position: fixed;
    top: 180px;
    right: 0;
    z-index: 10;
    display: inline-block;
    width: 240px;
    padding: 10px;
    font-size: 24px;
  }

  .header_calendar_button {
    position: fixed;
    top: 235px;
    right: 17px;
    width: 80px;
  }

  .feature {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 4px 0px 3px #000;
  }

  .button {
    width: 300px;
    padding: 18px;
    font-size: 21px;
  }

  /* メディアクエリこの上に書く */
}
