* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background: #f9f9f9;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.04em
}

.logo a{
  text-decoration: none;
  color: #333;
}

/*  フッター */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999; /* 他の要素より上に表示 */
  background: rgba(255, 255, 255, 0.9); /* 背景が透けすぎないように */
  backdrop-filter: blur(10px); /* 背景ぼかしで高級感を出す（任意） */
  transition: background 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}

/* ナビ */
.nav {
  display: none; /* モバイルでは非表示 */
   z-index: 2000;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-list a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  position: relative;
}

/* 下線アニメーション */
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 0.3s ease;
}
.nav-list a:hover::after {
  width: 100%;
}

/* ハンバーガー */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
}

.bar {
  height: 2px;           /* 太さを調整 */
  width: 100%;
  background: #333;      /* 黒にして背景とコントラストを出す */
  border-radius: 2px;
  display: block;
}

/* PC表示 */
@media (min-width: 768px) {
  .nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}

/* モバイル時のドロップダウン */
.nav.open {
  display: block;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav.open .nav-list {
  flex-direction: column;
  gap: 0;
}
.nav.open .nav-list li {
  border-bottom: 1px solid #eee;
}
.nav.open .nav-list a {
  padding: 12px 20px;
  display: block;
}










/* Footer */
.site-footer {
  background-color: #d9d9d9; /* 薄いグレー */
  padding: 40px 60px;
  position: relative;
  margin-top: 130px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.footer-logo a{
  font-weight: bold;
  font-size: 20px;
  list-style: none;
  margin-top: auto; /* 下に寄せる */
  text-decoration: none;
  color: #353535;

}

.back-to-top {
  position: absolute;
  right: 40px;
  bottom: 40px;
  font-size: 20px;
  text-decoration: none;
  color: black;
  transition: transform 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
}



/* オーバーレイはデフォルト非表示 */
.overlay {
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1500; /* nav は 2000、button は 2001 より下に */
}

/* メニューが開いた時だけ表示 */
.nav.open + .overlay,
.overlay.active {
  display: block;
}


.profile-text p {
  font-variant: normal;
}






