@charset "shift_JIS";
/* CSS Document */
html {
  height: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #5A473D;
  background-color: #faf7f2;
  font-family: "Zen Maru Gothic", 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1rem, 0.5rem + 0.63vw, 1.25rem);
  line-height: 0;
}
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a img {
  border: none;
  outline: none;
}
ul li {
  list-style: none;
}
/*
---------------------------------------------------ヘッダー
*/
header {
  width: 90%;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  line-height: 1em;
}
header h1 {
  width: 12%;
}
header h1 img {
  width: 100%;
  height: auto;
}
header h1 img:hover {
  animation: logo 2s ease-in-out infinite;
}
@keyframes logo {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}
/*
---------------------------------------------------ナビ
*/
nav .naviBtn {
  display: none;
}
nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
nav ul li {
  margin: 0 1em;
  font-size: 0.9em;
  text-align: center;
}
nav ul li span {}
nav ul li span::before {
  content: "\A";
  white-space: pre;
}
nav ul li a {
  text-decoration: none;
  color: #5A473D;
  -webkit-text-stroke: 3px #fff;
  paint-order: stroke fill;
}
nav ul li img:hover {
  animation: navi 1s ease-in-out infinite;
}
@keyframes navi {
  0%, 100% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}
/*
---------------------------------------------------メインカラム
*/
main {
  display: block;
  flex: 1;
  width: 100%;
  line-height: 2em;
}
main a {
  display: inline-block;
  text-decoration: none;
}
main a:hover {}
/*
---------------------------------------------------フッター
*/
footer {
  position: relative;
  width: 100%;
}
#enName {
  width: fit-content;
  margin: auto auto 1em;
  line-height: 2em;
  text-align: center;
  padding-top: 2em;
  background-image: url("../images/line.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
#enName .name {
  font-size: 1.5em;
  color: #3A5A40;
}
#enName .address {
  margin-bottom: 1em;
}
#enName .phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#enName .phone a {
  display: inline-block;
  text-decoration: none;
  color: #FAF7F2;
  padding: 0.25em 2em;
  background-color: #88B97F;
  border-radius: 2em;
}
#enName .phone a span {
  position: relative;
  font-size: 1.2em;
  padding-right: 0.5em;
  top: 0.25em;
}
#enName .phone a:hover {
  background-color: #3A5A40;
}
.pagetop {
  position: absolute;
  width: 8vw;
  right: 1em;
  bottom: 1em;
  animation: pagetop 3s ease-in-out infinite;
  z-index: 10
}
.pagetop img {
  width: 100%;
  height: auto;
}
@keyframes pagetop {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.copyright {
  width: 100%;
  height: 2em;
  padding: 0.5em 0;
  line-height: 1em;
  background-color: #3A5A40;
  color: #FAF7F2;
  font-size: 0.6em;
  text-align: center;
  z-index: 20
}
/*
---------------------------------------------------レスポンシブ1366
*/
@media screen and (max-width:1366px) {
  /*
---------------------------------------------------1366ここまで
*/
}
/*
---------------------------------------------------レスポンシブ1024
*/
@media screen and (max-width: 1024px) {
  header h1 {
    width: 30%;
  }
  nav {
    width: 25%;
    height: 100%;
    z-index: 9998;
  }
  nav .naviBtn {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    justify-content: center;
    align-items: center;
    width: 3em;
    height: 3em;
    color: #FAF7F2;
    cursor: pointer;
    z-index: 9999;
    background-color: #3A5A40;
    border-radius: 2em;
    text-align: center;
    padding: 0.5em;
  }
  nav .naviBtn span {
    font-size: 2em;
  }
  nav .naviBox {
    position: fixed;
    top: 0;
    right: -25vw;
    width: 25vw;
    height: 100vh;
    background: #839E67;
    overflow-y: auto;
    transition: right .3s ease;
  }
  nav .naviBox ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4em;
    padding: 0;
    list-style: none;
  }
  nav .naviBox ul li {
    margin-top: 1em;
    font-size: 0.9rem;
  }
  nav .naviBox.naviOpen {
    right: 0;
  }
  nav ul li img {
    width: 100%;
    height: auto;
  }
  /*
---------------------------------------------------1024ここまで
*/
}
/*
---------------------------------------------------レスポンシブ480
*/
@media screen and (max-width: 480px) {
  nav .naviBox ul {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  nav .naviBox ul li {
    margin-top: 1em;
    font-size: 0.6rem;
  }
  .pagetop {
    position: absolute;
    width: 15vw;
    right: 1em;
    bottom: 1em;
    animation: pagetop 3s ease-in-out infinite;
    z-index: 10
  }
  /*
---------------------------------------------------480ここまで
*/
}