@charset "UTF-8";
/* CSS Document */
.header {
  position: sticky; /* headerを追従にする */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

.header-pc {
	height: 50px;
	background-color: #FFDE59;

}

.menu-pc a {
	text-decoration: none;
	color: #000000;
	font-size: 1.3rem;
	font-weight: 550;
}
	

.menu-pc img {
	height: 30px;
}


.menu-pc {
  display: flex;
  height: 50px;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.menu-language__pc {
	margin-right: 10px;
}
	

.menu-links__pc,
.menu-sns__pc {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-sns__pc {
	padding-top: 8px;
}
	
.menu-sns img {
  width: 20px;
  height: 20px;
  display: block;
}

.header-sp {
	height: 30px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* ハンバーガーボタンのデザイン */
.drawer__button {
  position: relative;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
}
/* ハンバーガーボタン内の線 */
.drawer__button > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2px;
  background-color: black;
  transform: translateX(-50%);
}
.drawer__button > span:first-child {
  transform: translate(-50%, calc(-50% - 0.5rem));
  transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
  transform: translate(-50%, calc(-50% + 0.5rem));
  transition: transform 0.3s ease;
}
/* 展開時のデザイン */
.drawer__button.active > span:first-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.drawer__button.active > span:nth-child(2) {
  opacity: 0;
}
.drawer__button.active > span:last-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
/* メニューのデザイン */
.drawer__nav {
  position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.drawer__nav.active {
  opacity: 1;
  visibility: visible;
}
.drawer__nav__inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ffdc61;
  padding: 4rem 1.5rem 1rem;
  margin: 0 0 0 auto;
  overflow: scroll;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.drawer__nav.active .drawer__nav__inner {
  transform: translateX(0);
}
.drawer__nav__menu {
  list-style: none;
  padding-left: 0;
}
.drawer__nav__link {
  display: block;
  color: black;
  text-decoration: none;
  padding: 1rem 1rem;
  border-bottom: solid 1px #000;
  font-weight: bold;
}

.menu-sns {
	padding: 10px;
}

.menu-sns li{
	display: inline-block;
	padding: 10px;
}

.menu-sns li img{
	width: 30px;
}

.menu-language {
  display: flex;
  gap: 10px; /* JPとENの間の余白 */
  justify-content: flex-start; /* 左寄せ */
  margin-top: 20px;
  padding-left: 16px;
  border-radius: 6px;
  width: fit-content;
}

.menu-language a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 0.8em;
  padding: 4px 10px;
  border: 1px solid #000;
  border-radius: 4px;
}

.menu-language a:hover {
  background-color: #f0f0f0;
}


/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
  height: 100%;
  overflow: hidden;
}


/*スマホ対応*/
@media (min-width: 800px) {
.drawer__button {
display: none;
}
}

@media (max-width: 800px) {
 .header-pc {
	 display: none;
}
.menu-sns li img {
	height: 30px;
}
}