.lang-switch {
  position: fixed;
  right: 140px;
  top: 38px;
  width: 130px;
}
.ja-header .lang-switch {
  top: 88px;
}
.lang-switch_wrap {
  background: rgba(255, 255, 255, 0.9);
  display: block;
  height: 100%;
  position: relative;
  text-align: center;
}
.lang-switch_wrap:hover .lang-switch_list,.lang-switch_wrap:focus-within .lang-switch_list {
  position: absolute;
  transition: 0.3s ease all;
}

.lang-switch_current {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.lang-switch_list {
  display: block;
  height: 0;
  overflow: visible;
  position: absolute;
  transition: 0.3s ease all;
  width: 100%;
}
.lang-switch_list > li {
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: 14px;
  height: 0;
  justify-content: center;
  max-height: 40px;
  margin-top: 0;
  padding: 0;
  text-align: center;
  transition: 0.3s ease all;
  width: 100%;
}
.lang-switch_wrap:hover .lang-switch_list > li,.lang-switch_wrap:focus-within .lang-switch_list > li {
  height: 40px;
  padding: 0.4em 0;
}

.lang-switch_wrap:hover .lang-switch_list > li a,.lang-switch_wrap:focus-within .lang-switch_list > li a {
  display: flex;
}
.lang-switch_list > li a {
  align-items: center;
  display: none;
  height: auto;
  justify-content: center;
  width: 100%;
  color: #3E3735;
}

.lang-switch_icon {
  left: -20px;
  position: absolute;
  top: 0;
  z-index: 1;
}
.lang-switch_first {
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  align-items: center;
  display: flex;
  font-size: 14px;
  height: 40px;
  justify-content: center;
  max-height: 40px;
  padding: 0.4em 0;  
  width: 100%;
}
.lang-switch_first:after {
  border-bottom: solid 2px #298948;
  border-left: solid 2px #298948;
  color: #000;
  content: "";
  display: block;
  height: 4px;
  position: absolute;
  right: 1em;
  width: 4px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: 0.3s ease all;
}
.lang-switch_wrap:hover .lang-switch_first:after,.lang-switch_wrap .lang-switch_first:focus-visible:after {
  transform: rotate(-225deg);
  -webkit-transform: rotate(-225deg);
  transition: 0.3s ease all;
}

.lang-switch_first:hover {
  cursor: pointer;
}
footer .foot_lang-switch_icon {
}
footer .foot_lang-switch {
  /*border-left: 0;
  border-right: 0;*/
  /*float: right;*/
  /*margin-right: 2em;*/
}
@media screen and (max-width: 940px) {
  footer .foot_lang-switch {
  float: none;
  clear: both;
}
}
footer .foot_lang-switch {
  border-left: 0;
}
.foot_lang-switch_icon {
  margin-right: 0.5em;
  /*vertical-align: middle;*/
  vertical-align: -4px;
}


@media screen and (min-width: 770px) {
footer .btmArea > .subnav:first-child{
  border-top: 1px solid #fff;
  width: 100%;
}
}

@media screen and (min-width: 1260px) {
footer .btmArea > .subnav:first-child{
  margin-right: 255px;
  width: auto;
}
}


footer .btmArea ul.foot_lang-switch_list li {
  border-left: 0;
  border-right: 0;
  padding: 0 0.5em;
  position: relative;
}
footer .btmArea ul.foot_lang-switch_list li:first-child {
  padding: 0;
  vertical-align: middle;
}

footer .foot_lang-switch_list li:after {
  background-color: #fff;
  display: inline-block;
  content: "";
  height: 1px;
  position: absolute;
  top: 6px;
  width: 15px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
footer .foot_lang-switch_list li:first-child:after {
  display: none;
}
footer .foot_lang-switch_list li:last-child:after {
  display: none;
}

/* 追記 */
.foot_lang-switch_normal {
  color: #808080;
}
a:hover .foot_lang-switch_normal {
  color: #298948;
}
/* 追記 */

@media screen and (max-width: 769px) {
  .lang-switch {
    left: 40%;
    right: auto;
    top: 5.5555555556vw;
  }
  .ja-header .lang-switch {
    top: calc(5.5555555556vw + 50px);
  }
  .lang-switch_wrap {
    background: none;
  }
  .lang-switch_list a {
    pointer-events: none;
  }
  .lang-switch_list {
    left: -40vw;
    top: 7vw;
    width: 45vw;
  }
  .lang-switch_wrap:hover .lang-switch_list:before {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 50%, #298948 50.5%) no-repeat top left/50% 100%,
      linear-gradient(to bottom left, rgba(255, 255, 255, 0) 50%, #298948 50.5%) no-repeat top right/50% 100%;
    content: "";
    display: block;
    height: 1em;
    position: absolute;
    right: 0.5em;
    top: -1em;
    width: 1em;
  }
  .lang-switch_wrap:hover .lang-switch_list a {
    pointer-events: visible;
  }
  .lang-switch_first {
    height: auto;
    padding: 0;
  }
  .lang-switch_first span {
    display: none;
  }
  .lang-switch_first:after {
    left: 0.5em;
    right: auto;
    top: 0.25em;
  }
  .lang-switch_icon {
    width: 1em;
  }
  .lang-switch_current {
    background: #298948;
    color: #fff;
  }
  .lang-switch_wrap:hover .lang-switch_list > li {
    padding: 0;
  }
  footer .btmArea {
    display: flex;
    flex-direction: column;
  }
  footer .btmArea ul {
    /*order: 4;*/
  }
  footer .foot_lang-switch {
    float: none;
    margin: 0.75em 0 1.2em;
    /*order: 3;*/
  }

  /* 追記 */
  .foot_lang-switch_normal {
    color: #808080;
  }
  a:hover .foot_lang-switch_normal {
    color: #298948;
  }
  /* 追記 */
}
