/* 英語・日本語・それ以外の言語 */
html[lang=ja] .lang_only_other {
  display: none;
}
html:not([lang=ja]) .lang_only_other {
  display: block;
}
html:not([lang=ja]) .lang_only_ja {
  display: none;
}

/* それ以外の言語のなかでさらに出し分け */
html[lang=en] .lang_only_en {
  display: block;
}
html:not([lang=en]) .lang_only_en {
  display: none;
}
html:not([lang=zh-Hans]) .lang_only_zh-Hans {
  display: none;
}
html[lang=zh-Hans] .lang_only_zh-Hans {
  display: block;
}
html:not([lang=ko]) .lang_only_ko {
  display: none;
}
html[lang=ko] .lang_only_ko {
  display: block;
}
html:not([lang=vi]) .lang_only_vi {
  display: none;
}
html[lang=vi] .lang_only_vi {
  display: block;
}
html:not([lang=pt]) .lang_only_pt {
  display: none;
}
html[lang=pt] .lang_only_pt {
  display: block;
}


.lang_only_other .section-cv .container .cv-guide .cv-box .icn-starter,
.lang_only_other .section-cv .container .cv-guide .cv-box .icn-member {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .lang_only_other .section-cv .container .cv-guide .cv-box .icn-starter,
  .lang_only_other .section-cv .container .cv-guide .cv-box .icn-member {
    min-height: 93px;
  }
}
@media screen and (max-width: 767px) {
  .lang_only_other .section-cv .container .cv-guide .cv-box .icn-starter,
  .lang_only_other .section-cv .container .cv-guide .cv-box .icn-member {
    padding-top: 50px;
  }
}
@media screen and (max-width: 767px) {
  .lang_only_other .section-cv .container .cv-guide .cv-box .icn-member .fs-16-sp, .section-cv .container .cv-guide .cv-board .icn-member .fs-16-sp {
    height: auto !important;
    min-height: 46px;
  }
}

@media screen and (max-width: 767px) {
  .lang_only_other .section-cv .container .cv-guide .has-subtxt {
    flex-direction: column;
    font-size: 16px;
    min-height: 52px !important;
  }
}
@media screen and (max-width: 767px) {
.lang_only_other .section-cv .container .cv-side .cv-item .btn-white-primary, .lang_only_other .section-cv .container .btn-simulation {
  height: auto;
}
}


/* 独自言語切り替えウィジェット */
/* SP時の表示位置調整 */
@media screen and (max-width: 767px) {
  #header .snav {
    flex-direction: column-reverse;
  }
}

@keyframes floating-bounced {
  0% {
    transform: scale(0);
  }
  85% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.lang-widget {
  position: relative;
}

.lang-overlay {
  z-index: 2147483646;
  position: fixed;
  display: none;
  inset: 0px;
  background: transparent;
  pointer-events: auto;
}

.lang-button {
  display: flex;
  align-items: center;
  flex-direction: column;
  border: none;
  background-color: transparent;
  margin: 0 0 0 16px;
  padding: 0;
  border-radius: 0;
}
@media screen and (max-width: 767px) {
  .lang-button {
    margin: 0 8px 0px auto;
    padding-bottom: 14px;
    flex-direction: row;
  }
}
.lang-button:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
}
.lang-button-icon {
  fill: #e93817;
}
.lang-button-text {
  color: #e93817;
  font-size: 10px;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .lang-button-icon {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  }
  .lang-button-text {
    font-size: 12px;
    font-weight: 500;
  }
}

.lang-list-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2147483646;
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
  border-radius: 5px;
  overflow: hidden;
}
.lang-list-wrapper[aria-hidden="true"] {
  display: none;
}
.lang-list-wrapper[aria-hidden="false"] {
  animation: floating-bounced .25s forwards;
  opacity: 1;
  pointer-events: auto;
}

.lang-list {
  margin: 0;
}

.lang-list-item {
  margin: 0;
}

.lang-switch {
  color: #e93817;
  border: none;
  background-color: transparent;
  margin: 0;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 28px;
  position: relative;
  transition: all .2s linear;
  white-space: nowrap;
  width: 100%;
}
.lang-switch:hover,
.lang-switch:focus,
.lang-switch[aria-current="true"] {
  background-color: #dee5ec;
}
.lang-switch::before {
  border-radius: 50%;
    content: "";
    height: 8px;
    left: 12px;
    position: absolute;
    top: calc(50% - 4px);
    width: 8px;
}
.lang-switch[aria-current="true"]::before {
  background-color: #e93817;
}

/* 独自言語切り替えウィジェット ここまで */


/* 多言語設置によるヘッダー位置調整 */
#header {
  padding-top: 22px;
}
@media screen and (max-width: 1080px) {
#header {
    padding-top: 20px;
}
}
@media screen and (max-width: 767px) {
#header {
    padding-top: 20px;
}
}

/* .undernav .adjust-widget {
  margin-top: 10px;
  z-index: 100;
}
@media screen and (max-width: 767px) {
  .undernav {
    position: relative;
    margin-bottom: 0px;
  }
  .undernav .adjust-widget {
    position: absolute;
    margin-top: 0px;
    top: 22px;
    right: 10%;
  }
} */
