/* ==================== Common ==================== */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: #fff7e9;
  word-wrap: break-word;
  color: #43300a;
  font-size: 1.6em;
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

@media (max-width: 767px) {
  body {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0;
  }
}

main {
  overflow: hidden;
}

/* ==================== Navbar ==================== */

#mainNav {
  background-color: rgba(0,0,0,0);
  padding: 2rem 1rem;
  font-weight: 900;
  z-index: 100;
  width: 100%;
  top: 0;
  position: absolute;
}

@media (min-width: 768px) {
  #mainNav {
    position: fixed;
  }
}

@media (max-width: 991px) {
  #mainNav {
    padding: 2rem 0.5rem;
  }
}

@media (max-width: 767px) {
  #mainNav {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 575px) {
  #mainNav {
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 359px) {
  #mainNav {
    padding: 0.8rem;
  }
}

.logo {
  width: 165px;
}

@media (max-width: 1199px) {
  .logo {
    width: 138px;
  }
}

@media (max-width: 991px) {
  .logo {
    width: 110px;
  }
}

@media (max-width: 767px) {
  .logo {
    width: 133px;
  }
}

@media (max-width: 575px) {
  .logo {
    width: 93px;
  }
}

#mainNav li {
  display: inline-block;
  vertical-align: middle;
}

/* sns */

.shareList__item:hover {
  opacity: 0.7;
}

.sns-share-sp {
  margin-bottom: 2rem;
}

.sns-share-pc {
  margin-top: 0.2rem;
  margin-right: 0.3rem;
  z-index: 2;
}

@media (max-width: 991px) {
  .sns-share-pc {
    display: none;
  }
}

@media (min-width: 992px) {
  .sns-share-sp {
    display: none;
  }
}

@media (min-width: 992px) {
  .section-sns.sp {
    display: none;
  }
}

.section-sns {
  text-align: center;
}

.section-sns li {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .section-sns {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767px) {
  .section-sns {
    margin-bottom: 2rem;
  }
}

.shareList__item:not(:last-child) {
  margin-right: 25px;
}

@media (max-width: 767px) {
  .shareList__item:not(:last-child) {
    margin-right: 22px;
  }
}

.shareList__link img {
  width: 46px;
}

@media (max-width: 767px) {
  .shareList__link img {
    width: 32px;
  }
}

/* ==================== Footer ==================== */

.footer {
  padding: 3rem 0;
  background-color: #ba1d24;
  color: #fff;
  width: 100%;
  font-size: 2.2rem;
  text-align: center;
}

@media (max-width: 767px) {
  .footer {
    padding: 1.53rem 0;
    font-size: 1.1rem;
  }
}

@media (max-width: 991px) {
  .footer-nav {
    margin-top: 2rem;
  }
}

.footer li {
  display: inline-block;
  vertical-align: middle;
}

/* ==================== Scroll To Top Button ==================== */

.page-top {
  width: 50px;
  height: 82px;
  z-index: 999;
  position: fixed;
  bottom: 40px;
  right: 2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s .4s;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  will-change: opacity, transform;
}

@media (max-width: 767px) {
  .page-top {
    width: 36px;
    height: 58px;
  }
}

.page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}

@media (hover: hover) {
  .page-top:hover {
    opacity: 0.8;
  }
}

.btn.page-top:active, .btn.page-top:focus {
  outline: none;
  box-shadow: none;
}

.page-top:active {
  opacity: 1;
}

.page-top.btn:hover, .page-top.btn:active, .page-top.btn:focus {
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

