@charset "UTF-8";

/* -------------------------------------- */
/* デフォルトの非表示設定 (JSで表示を制御する) */
/* -------------------------------------- */
.translate-normal,
.translate-safari {
	display: none; /* すべての要素を一旦非表示にする */
	width: 100%;
	left: -0;
	position: relative;
}

/**       多言語用       **/
.skiptranslate iframe {
	display: none;
}

.flags {
	position: absolute;
	margin: 0;
	display: inline-block;
	right: 0px;
	top: 110px;
}

.flags .icon {
	height: 28px;
	margin: 0;
	cursor: pointer;
}

.flags .icon:hover {
	cursor: pointer;
}

.flags .languageBox {
	display: none;
	position: absolute;
	padding: 0;
	right: 0;
	overflow: hidden;
}

.flags .transSpace  {
	/*height: 12px;*/
}

.transTitle  {
	background-color: #000000;
	color: #ffffff;
	padding: 5px 10px;
	white-space: nowrap;
	line-height: 1.5em;
	font-size: 90%;
}

.flags .languageinBox {
	right: 0;
	text-align: center;
}

.flags a {
	padding: 10px 20px!important;
	display: block;
	line-height: 1em;
	white-space: nowrap;
	background-color: #ffffff;
	border: #000000 solid;
	border-width: 0 1px 1px 1px;
	transition: 0.2s;
	color: #000000;
}

.flags a:hover {
	background-color: #666666;
	color: #ffffff;
	transition: 0.2s;
}

.translator_eng {
	display: none;
}

.flags_sp {
	display: none;
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1500px) {
/* ------------------------------------------------------ */
.flags {
	top: 130px;
}
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1024px) {
/* ------------------------------------------------------ */
header nav .flags {
	display: none;
}
	
header nav .sp_menu_list .flags {
	display: block;
	padding: 0;
	text-align: center;
	position: relative;
	left: auto;
	top: auto;
}

.flags .languageBox {
	display: block;
	position: relative;
}
	
header nav .flags_sp .icon {
	width: 60px;
	padding: 0 0 5px 0;
	display: block;
	margin: 0 auto 5px auto;
}
	
/* スマホメニュー内の翻訳アイコン周りの反応を完全に殺す */
header nav .sp_menu_list .flags, 
header nav .sp_menu_list .flags .icon {
    cursor: default !important;
    pointer-events: none; /* これでマウスオーバー自体が無効化されます */
}

/* ただし、言語のリンク(aタグ)だけはクリックできるように戻す */
header nav .sp_menu_list .flags a.flag {
    pointer-events: auto;
    cursor: pointer;
	border: #000000 solid;
	border-width: 1px;
}

header nav .flags_sp a {
	padding: 5px 10px!important;
	display: inline-block;
}
	
.transTitle {
	background-color: transparent;
	color: #000000;
}

.langBox {
	display: flex;
	gap: 10px; 
}

.langBox a {
	width: 25%;
border-radius: 5px;
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1250px) {
/* ------------------------------------------------------ */
/*.flags {
	display: none;
}

.transTitle  {
	background-color: #ffffff;
	color: #000000;
	padding: 0 0 5px 0;
	font-size: 90%;
}

header nav .flags_sp a {
	border: #000000 solid;
	border-width: 1px;
	margin: 0 3px;
}*/

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 820px) {
/* ------------------------------------------------------ */


}

/* ------------------------------------------------------ */
@media only screen and (max-width : 500px) {
/* ------------------------------------------------------ */
.langBox {
	flex-wrap: wrap;
}

.langBox a {
	width: calc(50% - 5px);
}

}