body {
  overflow-x: hidden;
}

/* ----------------- header --------------------- */
.l-header {
  background: #fff;
  width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (max-width: 757px) {
  .l-container {
    padding: 0;
    max-width: 90%;
  }
}

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

/* ロゴ */
.l-header-logo img {
  height: 40px;
  width: auto;
  display: block;
}
@media screen and (max-width: 757px) {
  .l-header-logo img {
    width: 100px !important;
    height:auto;
  }
}
@media screen and (max-width: 757px) {
  .l-header-logo {
    width: 100px !important;
  }
}

/* ナビ */
.l-global-nav {
  margin-left: auto;
  display: flex;
  gap: 32px;
  margin-right:50px;
}
@media screen and (max-width: 757px) {
  .l-global-nav {
    display:none;
  }
}

.l-global-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.l-global-nav a {
  text-decoration: none;
  color: #222;
  font-size: 18px;
  letter-spacing: 0.1em;
}

/* メニューボタン */
.menu-button {
  width: 72px;
  height: 72px;
  background: linear-gradient(to bottom, #38AFCB, #0C4281);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}
@media screen and (max-width: 757px) {
  .menu-button {
    width: 60px !important;
    height: 60px !important;
  }
}

.menu-button .bar {
  width: 30px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}
@media screen and (max-width: 757px) {
  .menu-button .bar {
    width: 25px;
    height: 2px;
  }
}

/* ハンバーガー開閉時のアニメーション */
.menu-button.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-button.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-button.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}



.hamburger-menu {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 375px;
  height: 100vh;
  background: linear-gradient(to bottom, #38AFCB, #0C4281);
  padding: 30px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
@media screen and (max-width: 757px) {
  .hamburger-menu { max-width:100%; padding: 10px 20px; height: 95vh; }
}

.hamburger-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 757px) {
  .menu-logo { 
    flex-wrap: nowrap;
    min-width: 0;
   }
}

.menu-logo img {
  width: 100px;
}

.menu-close {
  width: 72px;
  height: 72px;
  background: linear-gradient(to bottom, #38AFCB, #0C4281);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 60px;
  line-height: 1.2;
  cursor: pointer;
  position:relative;
}
@media screen and (max-width: 757px) {
  .menu-close {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: relative;
    flex-shrink: 0;
  }
}


@media screen and (max-width: 757px) {
  .menu-logo {
    flex-wrap: nowrap;
    min-width: 0;
    align-items: center;
    gap: 0; /* 念のため追加 */
  }

  .menu-close {
    width: 60px !important;
    height: 60px !important;
    min-width: unset !important;  /* ← これ追加 */
    min-height: unset !important; /* ← これ追加 */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
    padding: 0 !important; /* 念のため */
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
  }
}

@media screen and (max-width: 757px) {
  .menu-logo {
    width: 100%;
    justify-content: space-between;
  }
}



.menu-close .close-bar {
  position: absolute;
  right: 0;
  left:0;
  margin:auto;
  width: 35px;
  height: 3px;
  background-color: #fff;
  transition: 0.3s;
}
@media screen and (max-width: 757px) {
  .menu-close .close-bar  {
    width: 25px;
    height: 2px;
  }
}

.menu-close .close-bar:first-child {
  transform: rotate(45deg);
}

.menu-close .close-bar:last-child {
  transform: rotate(-45deg);
}

.menu-list {
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.menu-list li {
  margin-bottom: 10px;
}

.menu-list li a {
  color: #fff;
  font-size: 35px;
  font-family: "futura-pt", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo;
  letter-spacing: 0.15em;
  text-decoration: none;
  display: block;
}

.privacy {
  margin-top: auto;
}
@media screen and (max-width: 757px) {
  .privacy {
    margin-bottom:30px;
  }
}


.privacy a {
  color: #fff;
  font-size: 15px;
  font-family: "futura-pt", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo;
  letter-spacing: 0.15em;
  font-weight:100;
}



