/*--------------------------------------------------------------
	header
--------------------------------------------------------------*/
/* .hd */
.hd {
  font-family: "Noto Sans JP", sans-serif;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease;
}
@media screen and (min-width: 811px) {
  .hd {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
  }
  .hd.scrolled {
    background-color: rgba(255, 255, 255, 1);
  }
}
@media screen and (max-width: 810px) {
  .hd {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
  }
  .hd.scrolled {
    background-color: rgba(255, 255, 255, 1);
  }
}
.hd_wrapper {
  padding: 10px 0;
  position: relative;
  display: flex;
  justify-content: flex-start;
  max-width: 1240px;
  width: 100%;
  align-items: center;
}
@media screen and (max-width: 810px) {
  .hd_wrapper {
    justify-content: flex-start;
    position: relative;
  }
  .hd_logo {
    flex: 0 0 auto;
    text-align: left;
    margin-left: 10px;
  }
}
@media screen and (min-width: 811px) {
  .hd_wrapper {
    padding: 20px 0;
  }
}
@media screen and (max-width: 810px) {
  .hd_wrapper {
    padding: 10px 0;
  }
}
.hd_logo a {
  display: block;
  margin: 0 auto;
}
.hd_logo img {
  display: block;
  width: auto;
  margin: 0 auto;
}
@media screen and (min-width: 811px) {
  .hd_logo img {
    height: 46px;
  }
}
@media screen and (max-width: 810px) {
  .hd_logo a {
    margin: 0;
  }
  .hd_logo img {
    height:27px;
    margin-top: -5px;
    margin: 0;
  }
}
.hd_navi {
  display: flex;
  justify-content: space-between;
  margin-left: 8%;
  font-weight: 100;
  font-weight: 100;
  font-size: 13px;
}
.hd_navi li {
  margin: 15px 0px;
  text-align: center;
  padding: 0px 20px;
  border-right: solid 1px lightgray;
}
.hd_navi li:last-child {
  border-right: none;
}
.hd_navi li a {
  color: #333333;
  font-weight: 100;
}
@media screen and (max-width: 810px) {
  .hd_navi {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    flex-direction: column;
    margin-left: 0;
    padding: 80px 0 20px 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    justify-content: flex-start;
    align-items: stretch;
    display: flex;
  }
  .hd_navi.active {
    transform: translateX(0);
    display: flex;
  }
  .hd_navi li {
    margin: 0;
    padding: 20px;
    border-right: none;
    border-bottom: 1px solid #eee;
    text-align: left;
    flex: 0 0 auto;
  }
  .hd_navi li:last-child {
    border-bottom: none;
  }
  .hd_navi li a {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
  }
  body.menu-open {
    overflow: hidden;
  }
}
.hd .right {
  position: absolute;
  right: 10px;
  width: auto;
  height: 40px;
  padding: 5px 10px;
  background-color: #0c0c0c;
  vertical-align: middle;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media screen and (max-width: 810px) {
  .hd .right {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    right:-5px !important;
    top: 10% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    height: auto;
    z-index: 102 !important;
    align-items: center;
    gap: 2px;
    width: auto !important;
    margin: 0 !important;
    border-radius: 0px;
    font-size: 0;
    
  }
  .hd .right a {
    font-size: 12px;
  }
}
.hd .right a {
  color: white;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid #1A1A1A;
}
/* 日本語時：JA リンク（.current）だけ白背景・黒文字・ボタン風 */
.hd.hd-lang-ja .right a.current {
  background-color: #fff !important;
  color: #1A1A1A !important;
  border: 1px solid #1A1A1A !important;
  padding: 4px 12px;
  margin: 0 -2px;
  border-radius: 6px;
}
@media screen and (max-width: 810px) {
  .hd .right a {
    color: #1A1A1A;
    font-size: 12px !important;
    font-weight: 500;
  }
  .hd.hd-lang-ja .right a.current {
    background-color: #fff !important;
    color: #1A1A1A !important;
    border: 1px solid #1A1A1A !important;
    border-radius: 6px;
  }
}
.hd .right a img {
  width: 30px;
  border: solid 1px red;
}

/* ハンバーガーメニュー */
.hd_btn {
  display: none;
  cursor: pointer;
  z-index: 100;
}
@media screen and (max-width: 810px) {
  .hd_btn {
    display: block;
    position: absolute;
    right:0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    padding: 10px;
  }
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .2s;
  box-sizing: border-box;
}

.menu-trigger {
  position: relative;
  height: 18px;
  width: 25px;
  display: block;
}
@media screen and (max-width: 810px) {
  .menu-trigger {
    height: 20px;
    width: 25px;
  }
  .menu-trigger.active {
    height: 20px;
    width: 25px;
  }
}
@media screen and (min-width: 811px) {
  .menu-trigger {
    display: none;
  }
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #1A1A1A;
}
@media screen and (max-width: 810px) {
  .menu-trigger span {
    height: 1.5px;
    background-color: #1A1A1A;
  }
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 8px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 1.5px;
}

.menu-trigger.active span {
  background-color: #1A1A1A;
}

.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(8px) rotate(-45deg);
  transform: translateY(8px) rotate(-45deg);
  background-color: #1A1A1A;
}

.menu-trigger.active span:nth-of-type(2) {
  left: 50%;
  opacity: 0;
  -webkit-animation: active-menu-bar02 .6s forwards;
  animation: active-menu-bar02 .6s forwards;
}

@-webkit-keyframes active-menu-bar02 {
  100% {
    height: 0;
  }
}
@keyframes active-menu-bar02 {
  100% {
    height: 0;
  }
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-8px) rotate(45deg);
  transform: translateY(-8px) rotate(45deg);
  background-color: #1A1A1A;
}
@media screen and (max-width: 810px) {
  .menu-trigger.active span {
    background-color: #1A1A1A;
  }
  .menu-trigger.active span:nth-of-type(1),
  .menu-trigger.active span:nth-of-type(3) {
    background-color: #1A1A1A;
    width: 100%;
  }
  .hd_btn {
    z-index: 101;
  }
}

/* PCオンリー */
/* SPオンリー */
.spnav {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  border-top: 1px solid #1A1A1A;
  background-color: #fff;
}
@media screen and (min-width: 811px) {
  .spnav {
    display: none;
  }
}
.spnav ul {
  display: flex;
}
.spnav ul li {
  width: 20%;
}
.spnav ul li a {
  display: flex;
  height: 54px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 9px;
}
.spnav ul li a img {
  height: 20px;
  width: auto;
}

