@charset "utf-8";
/* CSS Document */
/* ==== ヘッダー ==== */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2000;
}
/* ==== ハンバーガー ==== */
/* ハンバーガー位置を右上に */
.hamburger {
  position: fixed;
  top: 10px; /* ヘッダーと揃える */
  right: calc(50% - 300px + 10px); /* 中央寄せ600px幅の右端 */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3000;
}
.hamburger span {
  display: block;
  width: 35px;
  height: 3px;
  margin: 3px 0;
  background-color: #000;
  transition: all 0.3s ease;
}
/* ×に変形 */
.hamburger.active span:nth-child(1) {
  transform: rotate(35deg) translate(5px, 5px);
  background-color: #231815;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(325deg) translate(5px, -5px);
  background-color: #231815;
  margin-top: revert-layer;
}
@media (min-width:1201px) {
  .site-header {
    max-width: 1200px;
  }
  .hamburger {
    right: calc(50% - 600px + 10px);
  }
}
@media (max-width:1200px) {
  div#hamburger {
    right: 10px;
  }
}
/* ==== オーバーレイ ==== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 2000;
}
#overlay .overlay-content {
  max-width: 700px;
  width: 100%;
}
.overlay-content .m1 a {
  border-bottom: 1px solid #4E4E4E;
}
#overlay .overlay-content .cap {
  font-size: 24px;
  color: #3E3A39;
  padding: 20px;
}
#overlay .overlay-content div {
  padding-left: 30px;
  padding-right: 30px;
  border-bottom: 1px solid #3B3B3B;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
.overlay-content a {
  color: #3e3a39;
  font-size: 24px;
  text-decoration: none;
  display: block;
  padding: 20px;
}