/* ================== 共通 ================= */
html {
  scroll-behavior: smooth;
  font-size: 10px;
  font-family: Arial, sans-serif;
  touch-action: manipulation;
}

body {
  width: 100%;
  color: #212121;
  font-size: 10px;
  background-color: #3E3939;
  overflow-x: hidden;
}

.wrapper {
  background-color: #F4F0E8;
}

a {
  text-decoration: none;
  color: #fff;
}

img {
  width: 100%;
}

.inner {
  margin: 0 auto;
  padding: 0 20px;
  width: 90vw;
  max-width: 1000px;
  box-sizing: border-box;
}

/* ================== header ================= */
header {
  position: fixed;
  z-index: 900;
  padding: 8px 0;
  width: 100%;
  color: #fff;
  background-color: #3E3939;
}

header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  width: 70px;
}

header ul {
  display: flex;
}

.header_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
}

header .global_navi li {
  margin-left: 30px;
  text-align: center;
  font-size: 1.2rem;
}

header .global_navi li a:hover {
  color: rgb(244, 215, 64);
}

header .sns_navi {
  align-items: center;
}

header .sns_navi li {
  margin-left: 12px;
  width: 20px;
}

header .sns_navi li a img:hover {
  filter: sepia(1) saturate(10) hue-rotate(-20deg);
}

.responsive_btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 26px;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.menu_line {
  background: #fff;
  border-radius: 2px;
  width: 100%;
  height: 3px;
  margin: 3px 0;
}

.line01 {
  position: absolute;
  transition: all 0.4s;
}
.line02 {
  top: 0;
  position: absolute;
  transition: all 0.4s;
}
.line03 {
  bottom: 0;
  position: absolute;
}

.line01.open {
  top: 10px;
  transform: rotate(45deg);
  transition: all 0.4s;
}
.line02.open {
  opacity: 0;
}
.line03.open {
  top: 10px;
  transform: rotate(-45deg);
  transition: all 0.4s;
}

/* ================== main ================= */
#page_title {
  width: 100%;
  height: 50vh;
  box-sizing: border-box;
  background-color: #fff;
  background-image: url(../img/main_page_title_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#page_title .inner h2 {
  margin-top: 30px;
  font-size: 4.2rem;
  font-weight: bold;
}

#page_title .inner p {
  margin: 20px 0 0;
  font-size: 1.4rem;
  line-height: 1.5;
}

main .button {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 130px;
  padding: 14px;
  background-color: #E14444;
  border-radius: 3px;
  text-align: center;
  font-size: 1.2rem;
}

main .button:hover {
  background-color: #ccc;
}

main .button .allow {
  position: absolute;
  top: 15px;
  right: 10px;
  margin-left: 10px;
  font-size: 0.9rem;
}

/* ================== footer ================== */
footer {
  margin-top: 100px;
  background-color: #3E3939;
  color: #fff;
  font-size: 1.4rem;
}

footer .group {
  margin: 0 auto;
  padding: 60px 0 36px;
  max-width: 1024px;
}

footer .group .block {
  display: flex;
}

footer .group .block h2 {
  width: 75px;
  margin-bottom: 12px;
}

footer .group .block .left-area {
  padding-bottom: 10px;
  width: 300px;
}

footer .group .block .left-area h2 {
  width: 100px;
}

footer .group .block .left-area h3 {
  color: #fff;
  font-weight: bold;
}

footer .group .block .right-area {
  padding: 0 0 10px 35px;
  width: 300px;

  border-left: 1px solid #fff;
}

footer .group .block .right-area h2 {
  width: 200px;
}

footer .group .block .right-area .map {
  padding-top: 14px;
}

footer .group .copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 1.0rem;
}

#top_back {
  position: fixed;
  right: 50px;
  bottom: 70px;
  z-index: 800;
  padding-top: 15px;
  width: 70px;
  height: 70px;
  box-sizing: border-box;
  background-color: #212121;
  border-radius: 50%;
  text-align: center;
  font-size: 25px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

#top_back.show {
  opacity: 1;
  visibility: visible;
}

#yoyaku {
  position: fixed;
  right: 30px;
  bottom: 10px;
  z-index: 900;
  width: 150px;
  filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.3));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0.5s;
  animation: shoot 0.5s ease-out forwards;
}

#yoyaku.show {
  opacity: 1;
  visibility: visible;
}

@keyframes shoot {
  0%{
    bottom: -200px;
  }
  100%{
    bottom: 10px;
  }
}

@keyframes fadeInAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#top_back:hover {
  background-color: #fff;
  color: #3E3939;
}

#top_back .mini_text {
  position: absolute;
  top: 42px;
  left: 20px;
  font-size: 10px;
}


@media screen and (max-width: 768px) {
  body {
    min-width: none;
    overflow-x: hidden;
  }
  header .global_navi {
    flex-direction: column;
    display: block;
    margin-top: 50px;
    width: 41%;
  }
  header .global_navi li {
    text-align: left;
    margin: 30px 0 0;
    font-size: 1.4rem;
  }

  header .sns_navi {
    margin-top: 60px;
    gap: 24px;
  }

  header .sns_navi li {
    margin: 0;
  }

  .responsive_btn {
    display: flex;
  }
  .header_nav {
    flex-direction: column;
    justify-content: flex-start;
    background: #3E3939;
    width: 100%;
    height: 100vh;
    padding: 80px 0 0 0;
    position: fixed;
    top: 0;
    right: -100%;
    transition: all 0.7s;
  }
  .inner {
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
  }

  #page_title {
    height: 37vh;
    background-size: 100%;
  }

  #page_title .inner h2 {
    font-size: 3.2rem;
  }
  #page_title .inner h3 {
    margin: 20px 30px 0;
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: left;
  }
  
  footer .inner{
    padding: 60px 30px 36px;
  }

  footer .block{
    flex-direction: column;
  }

  footer .group .block .right-area {
      border: none;
      padding: 30px 0 0;
  }

  #top_back {
      right: 20px;
      bottom: 20px;
  }
  #top_back:hover {
    background-color: #212121;
    color: #fff;
  }
  #yoyaku {
    right: 20px;
    bottom: 10px;
    width: 100px;
    filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.3));
  }
}

/* ================== ハンバーガーメニュー用 ================= */
/* js function "menuToggle" starting only */
.menu_active {
  right: 0;
}

.no-scroll {
  overflow: hidden;
} 


/* 印刷禁止 */
@media print {
  body { display: none }
}