@charset "UTF-8";
header {
  background-color: var(--cl-header);
  position: fixed; /* 固定配置 */
  top: 0; /* 上端にぴったり */
  left: 0; /* 左端にぴったり */
  z-index: 99999;
  width: 100%;
  height: 62px;
  overflow: hidden;
}
header nav {
  max-width: 1800px;
  min-width: 1024px;
  margin: 0 auto;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 8%;
}
header nav ul li {
  margin: 16px 0 0 24px;
}
header nav ul li a {
  color: var(--cls-blk);
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: 500;
}
header nav ul li:nth-of-type(1) {
  margin: 16px 0 0 0;
}
header nav ul li.push-right {
  margin-left: auto;
}

/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;
  overflow: hidden;
}

#pageTop {
  position: fixed;
  right: 20px;
  bottom: -80px; /* 初期は隠しておく */
  width: 56px;
  height: 56px;
  line-height: 56px;
  background-color: var(--cls-blk);
  color: white;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%; /* 完全な円形 */
  z-index: 9999;
  transition: all 0.4s ease;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
}

#pageTop:hover {
  background-color: var(--cls-red, #c40000);
  transform: scale(1.1);
}

#pageTop.show {
  bottom: 40px;
  opacity: 1;
  pointer-events: auto;
}