*{
  font-family: ui-monospace !important;
}
html,body{
  margin: 0 !important;
  scroll-behavior: smooth;
}
main{
  background-image: url(../images/top/bg.webp);
  margin: 0;
  scroll-behavior: smooth;
}
header{
  background-color: #fff;
  padding: 8px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}
.contents img {
  width: 20%;
  max-width: 180px;
}
.contents .nav {
  display: flex;
  gap: 6px;
}
.contents .nav a {
  color: #1c1366;
  font-weight: 500;
  text-decoration: none;
}
.contents .nav a:hover {
  opacity: .8;
}
.nav a{
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}
.hamburger{
  display: none;
}
footer{
  background-color: #1d2b54;
  color: #fff;
  text-align: center;
  padding: 8px;
}
#sb-loading-inner{
  display: none;
}

/* --- SP用スタイル --- */
@media screen and (max-width: 767px){
  .contents img{
    width: 40%;
  }
  /* ボタンの見た目 */
  .hamburger{
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 100;
    cursor: pointer;
  }
  .hamburger span{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
  }
  .hamburger span:nth-child(1){
    top: 0;
  }
  .hamburger span:nth-child(2){
    top: 11px;
  }
  .hamburger span:nth-child(3){
    bottom: 0;
  }
  /* ×印に変化 */
  .hamburger.is-open span:nth-child(1){
    transform: translateY(11px) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2){
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3){
    transform: translateY(-11px) rotate(-45deg);
    }
  /* メニューを全画面で隠しておく */
  .nav{
    position: fixed;
    top: 0;
    right: -100%;
    /* 右側に隠す */
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 90;
  }
  /* 開いた時の動き */
  .nav.is-open{
    right: 0;
  }
  .nav a{
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
  }
}
