.plantitle{
    padding-left: 50px;
    margin: 30px 0;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 2px solid;
    position: relative;
}
.plantitle::after{
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 2px #e01647;
    left: 0;
    bottom: -2px;
    width: 3%;
}
.plantitle::before{
    content: "";
    width: 50px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.japan .plantitle::before{
    background: url(../../../../img/form/flag_japan.png) left center / 80% no-repeat;
}
.korea .plantitle::before{
    background: url(../../../../img/form/flag_korea.png) left center / 80% no-repeat;
}

.korea{
  margin-bottom: 15px;
}

.section_app_in.terminals .imagebox img {
  max-width: 120px;
}

.w_slider_plan .planbox .text1_1 {
  display: inline;
  margin-right: 15px;
  font-size: 16px;
}

.w_slider_plan .planbox .pay1 {
  display: inline;
}

.w_slider_plan .planbox .text1 {
  min-height: auto;
}

.eSIM{
  line-height: 1.4;
  margin: 10px 0;
}
.eSIM>span{
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: #CC0000;
  display: block;
}

.tab-link span {
  font-size: 20px;
}

#selected_plan_label {
  font-size: 20px;
  font-weight: 600;
}

#selected_plan_label span {
  font-size: 24px;
}

.text1_1 span {
  font-size: 20px;
}

.section_app_in.terminals .imagebox .btn_more {
  margin-top: 5px;
}

@media screen and (max-width: 799px) {

  .section_app_in.terminals{
    border-radius: 8px;
  }

  .plantitle{
    margin-bottom: 20px;
    font-size: 24px;
  }

  /* モバイル(デフォルト)は3列グリッドにする */
  .tab-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    margin-bottom: 15px;
    list-style: none;
  }

  .tab-menu .plan_tab_label {
    justify-content: center;
    border-radius: 8px;
  }

  .tab-menu .plan_tab_label>span {
    font-size: 1.3rem;
    margin-right: 1px;
  }

  .tab-link {
    padding: 4px 0;
  }

  .tab-menu .plan_tab_label.active {
    background: #d6001c;
    border-color: #d6001c;
    color: #fff;
  }

  .tab-menu .plan_tab_label:focus {
    outline: 2px solid #d6001c;
    outline-offset: 2px;
  }

  .section_app_in.terminals .imagebox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .japan .section_app_in.terminals .imagebox{
    margin-bottom: 20px;
  }

  .section_app_in.terminals .imagebox img {
    width: auto;
    max-width: 80px;
    height: auto;
    margin: 0;
  }

  .section_app_in.terminals .imagebox>div {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
  }

  .imagebox .btn_more {
    display: inline-block;
  }

  .w_slider_plan .planbox .pay1{
    display: block;
  }
}