/*==============================================
	reset font
===============================================*/
body {

}

#wrapper .header {
	margin: 0;
	width: 100%;
	/*min-width: 980px;*/
	position: relative;
	/*background-image: url(../shared/back_plus.png);
	background-position: center top;*/
	
	font:14px/1.231 arial,helvetica,clean,sans-serif;
	*font-size:small; /* for IE */
	*font:x-small; /* for IE in quirks mode */
	font-family: "ヒラギノ角ゴ Pro W3", "Lucida Grande", "Hiragino Kaku Gothic Pro", "メイリオ", Verdana, "ＭＳ Ｐゴシック", sans-serif;
}



/*==================================================
  responsive
==================================================*/
@media only screen and (max-width:571px) {

#wrapper {
	min-width: inherit;
}

}



/* ==============================
		headermenu
============================== */
.header :where(img) {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	image-rendering: pixelated;
}

.header :where(button) {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
	appearance: none;
}
.header {
	--blue: #004b9e;
	--header-height: 14.66vw;
	--duration: 0.3s;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 1000;
	height: var(--header-height);
	padding-right: 4.53vw;
	padding-left: 3.2vw;
	box-sizing: border-box;
	background: white;
  @media only screen and (max-width: 767px) {
    gap: 15px;
  }
}

.header-logo {
	width: 39.2vw;
}
.header-logo img{
	max-width: 100%;
}

@media (min-width: 768px) {
	.header {
		--header-height: 97px;
		gap: 32px;
		box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
		padding-inline: 20px;
	}

	.header-logo {
		width: 217px;
	}
}

@media (min-width: 1136px) {
	.header {
		gap: 48px;
	}
}

@media (any-hover: hover) {
	.header-logo-link {
		transition: opacity var(--duration);
	}
	.header-logo-link:hover {
		opacity: 0.7;
	}
}

.header-trigger {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
	appearance: none;
	position: relative;
	width: 37.6vw;
	padding-right: 4.27vw;
	box-sizing: border-box;
  @media (min-width: 767px) {
      width: 33.6vw;
  }
}

@media (min-width: 768px) {
	.header-trigger {
		display: none;
	}
}

.header-trigger::after {
	content: "";
	clip-path: polygon(50% 85%, 0 15%, 100% 15%);
	position: absolute;
	width: 2.67vw;
	height: 2.67vw;
	margin-left: auto;
	background: var(--blue);
	inset: 0;
  bottom: 0;
  top: auto;
}

.header-trigger.is-open::after {
	scale: 1 -1;
}

@media (max-width: 767px) {
	.nav {
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: var(--header-height);
		left: 0;
		z-index: 1;
		width: 37.6vw;
		width: 100%;
		padding: 5.87vw;
		box-sizing: border-box;
		background: var(--blue);
		transition: opacity var(--duration), visibility var(--duration);
	}

	.nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.nav-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 3.2vw;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav-list-item-link {
		display: grid;
		place-items: center;
		height: 19.2vw;
		overflow: clip;
		border-radius: 1.07vw;
		background: white;
	}

	.nav-list-item-link img {
		width: auto;
		height: 7.47vw;
	}

	.nav-list-item-link.nav-list-item-link-large img {
		height: 13.6vw;
	}
}

@media (min-width: 768px) {
	.nav-list {
		display: flex;
		gap: 20px;
		justify-content: flex-end;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.nav-list-item-link img {
		width: auto;
		height: 37px;
	}

	.nav-list-item-link.nav-list-item-link-large img {
		height: 61px;
	}
}

@media (any-hover: hover) {
	.nav-list-item-link {
		transition: opacity var(--duration);
	}

	.nav-list-item-link:hover {
		opacity: 0.7;
	}
}

.overlay {
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.overlay.is-open {
	visibility: visible;
}

@media (min-width: 768px) {
	.overlay {
		display: none;
	}
}

@media (min-width: 768px) {
	.sp-sub-header.is-open {
		visibility: hidden;
	}
}





/* 多言語用ボタン */
.nav-language{
  position: relative;
  @media only screen and (max-width: 768px) {
    font-size: 12px;
  }
}

.nav-language-button{
  padding: 10px 40px 10px 15px;
  border:2px solid #3B8FD1;
  border-radius: 50cqh;
  cursor: pointer;
  @media only screen and (max-width: 768px) {
    padding: 8px 30px 8px 10px;
  }
}

.nav-language-list{
  display: none;
  position: absolute;
  top:50px;
  background-color: #fff;
  padding: 10px 0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  @media only screen and (max-width: 571px) {
    right: 0;
    width: 120%;
  }
}

.nav-language-list.is-active{
  display: block;
}

.nav-language-list li a{
  color: #3B8FD1;
  text-decoration: none;
  display: block;
  padding: 10px 30px;
}

@media (hover: hover){
  .nav-language-list li a:hover{
    color: #fff;
    background-color: #3B8FD1;
  }
}

.nav-language-button::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: calc(50% - 10px);
  right: 17px;
  transform: rotate(90deg);
  width: 10px;
  height: 17px;
  background: url(../../shared/icon_arrow_right_blue.svg) center no-repeat;
  background-size: 100%;
  transition: .25s;
}

#jp .nav-language-list li a.jp,
#zh-cn .nav-language-list li a.zh-cn,
#zh-tw .nav-language-list li a.zh-tw,
#ko .nav-language-list li a.ko,
#en .nav-language-list li a.en
{
  color: #fff;
  background-color: #3B8FD1;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 20px;
}

