@charset "UTF-8";

/* =========================================
   Component: 申し込みフロー (Apply Flow)
   ========================================= */

ul.bgl-applyFlowUl {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  padding: 0; /* リセット用に追加 */
}

ul.bgl-applyFlowUl li {
  margin: 0 15px;
}

/* HTML側にはありませんでしたが、元のスタイルに存在したためbgl-を付与して残しています */
.bgl-arrowUi {
  width: 30px;
}

@media screen and (max-width: 768px) {
  ul.bgl-applyFlowUl {
    flex-direction: column;
  }
}
/* =========================================
   料金/スペック表のパディング（余白）上書き
   ========================================= */
/* すべてのセル（th, td）の余白を詰める */
.p-table th,
.p-table td {
  padding: 8px 10px !important; /* 上下8px、左右10pxに縮小 */
  vertical-align: middle !important; /* ついでに縦位置も中央揃えで統一 */
}
/* 1列目（活用シーン）だけは、文字が壁にくっつきすぎないよう左右の余白を少しだけ確保 */
.p-table tbody th:first-child {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
/* 容量（GB、MBなど）が並ぶヘッダー2行目の背景色を指定 */
.p-table thead tr:nth-child(2) th {
  background-color: #FAFAFB !important;
}
/* 「●」マークのスタイルを元のデザインに合わせる */
.p-table__apply span {
  color: var(--bgl-color-primary, #008CFF); /* ブランドカラーの青色 */
  font-size: 24px; /* 大きくする */
  line-height: 1;
  vertical-align: middle;
}

/* =========================================
   料金表３種
   ========================================= */
#bgl-data-sim.p-media__col.p-media__col__s__12.p-media__col__l__6{
    background-color: #b6d344;
    position: relative;
    margin-top: 3rem;
}
#bgl-voice.p-media__col.p-media__col__s__12.p-media__col__l__6{
    background-color: #77d1f6;
    position: relative;
    margin-top: 3rem;
}
#bgl-iot.p-media__col.p-media__col__s__12.p-media__col__l__6{
    background-color: #01A87B;
    position: relative;
    max-width: 1200px;
    width: 100%;
}
#bgl-data-sim > h3.c-titleB.u-tac, #bgl-voice > h3.c-titleB.u-tac {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}
#bgl-data-sim p.c-text.u-marginC.c-text--large, #bgl-voice p.c-text.u-marginC.c-text--large, #bgl-iot p.c-text.u-marginC.c-text--large {
    display: none;
}
#bgl-data-sim > .c-buttonA.c-buttonA__white.u-marginC, #bgl-voice > .c-buttonA.c-buttonA__white.u-marginC, #bgl-iot > .c-buttonA.c-buttonA__white.u-marginC {
    margin-bottom: 20px;
}
#bgl-data-sim > .c-buttonA__white a.c-buttonA__icon-arrow::after, #bgl-voice > .c-buttonA__white a.c-buttonA__icon-arrow::after, #bgl-iot > .c-buttonA__white a.c-buttonA__icon-arrow::after {
    filter: brightness(0) saturate(100%) invert(16%) sepia(46%);
}
#bgl-data-sim > .c-buttonA__white a, #bgl-voice > .c-buttonA__white a, #bgl-iot > .c-buttonA__white a {
    background: #FFEE27;
    border: none;
    color: #1A3347;
}
#bgl-iot > .bgl-price_panel > .bgl-ribbon {
    max-width: 550px;
}


.bgl-pricetextbox:hover {
  text-decoration: none;
  opacity: 0.5;
}

.bgl-price_wrap_title {
  font-weight: bold;
  margin-bottom: 0.625rem;
}

.bgl-btn_fake {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 16px;
  background-color: #FFEE27;
  font-weight: bold;
}

.bgl-price_panel {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 15%);
  position: relative;
}

.bgl-ribbon {
    position: relative;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0 30px;
    font-size: 18px;
    background: #E54CB3;
    color: #FFF;
    box-sizing: border-box;
    font-weight: bold;
    justify-content: center;
    display: flex;
    max-width: 420px;
    margin: 0 auto 10px;
}

.bgl-ribbon:before, .bgl-ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.bgl-ribbon:before {
  top: 0;
  left: -1px;
  border-width: 20px 0px 20px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.bgl-ribbon:after {
  top: 0;
  right: -1px;
  border-width: 20px 15px 20px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.bgl-mob_price {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bgl-mob_price_num {
  font-size: 4rem;
  line-height: 4rem;
  letter-spacing: -0.025em;
  padding: 0 8px;
}

.bgl-mob_price_2line {
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  align-items: flex-start;
}

.bgl-mob_price_2line_line1 {
    font-size: 1rem;
    line-height: 1rem;
    margin: 0 0 -8px;
}
.bgl-mob_price_2line {
    margin-bottom: -1px;
}

.bgl-mob_price_2line_line2 {
  font-size: 1.85rem;
  line-height: 1.85rem;
  padding-bottom: 0.925rem;
}

.bgl-ico_mov01 {
  display: block;
  position: absolute;
  left: -10px;
  bottom: -30px;
  width: 90px;
  height: auto;
}

.bgl-ico_mov02 {
  display: block;
  position: absolute;
  right: -10px;
  bottom: -30px;
  width: 90px;
  height: auto;
}

.bgl-price_line2 {
  display: flex;
  align-items: flex-end;
}


/*SP*/

@media screen and (max-width: 767px) {
  .bgl-mob_price {
    flex-direction: column;
    align-items: center;
  }
  .bgl-price_line1 {
    font-size: 6.66667vw;
  }
  .bgl-price_line2 {
    display: flex;
    align-items: center;
  }
  .bgl-ico_mov01 {
    display: none;
  }
  .bgl-ico_mov02 {
    display: none;
  }

  .bgl-ribbon {
    padding: 10px 30px;
    height: 80px;
    line-height: 30px;
    font-size: 15px;
  }
  .bgl-ribbon:before {
    border-width: 40px 0px 40px 15px;
  }
  .bgl-ribbon:after {
    border-width: 40px 15px 40px 0px;
  }
  .bgl-mob_price_2line {
    margin-bottom: -8px;
  }
}

@media (min-width: 768px) {
  #service .c-titleB {
    margin-top: 0;
  }
}

.bgl-price_table {
  width: 100%;
  margin-bottom: 2rem;
}

#bgl-data-sim > .bgl-price_table td {
  border-bottom: 1px solid #6b8e23;
  text-align: center;
  width: 33%;
}
#bgl-voice > .bgl-price_table td {
  border-bottom: 1px solid #4682b4;
  text-align: center;
  width: 33%;
}
#bgl-iot > .bgl-mob_price_tablewrap > .bgl-price_table td {
  border-bottom: 1px solid #07756F;
  text-align: center;
  width: 33%;
}

#bgl-data-sim > .bgl-price_table th:not(:first-child) {
    border-bottom: 2px solid #6b8e23;
    text-align: center;
    background-color: #6b8e23;
    color: #fff;
    font-weight: bold;
}
#bgl-voice > .bgl-price_table th:not(:first-child) {
    border-bottom: 2px solid #4682b4;
    text-align: center;
    background-color: #4682b4;
    color: #fff;
    font-weight: bold;
}
#bgl-data-sim > .bgl-price_table th:first-child {
    border-bottom: 1px solid #6b8e23;
}
#bgl-voice > .bgl-price_table th:first-child {
    border-bottom: 1px solid #4682b4;
}
#bgl-iot > .bgl-mob_price_tablewrap > .bgl-price_table th:first-child {
    border-bottom: 1px solid #07756F;
    font-weight: bold;
    color: #fff;
    background-color: #07756F;
}

.bgl-mob_price_tablewrap {
  display: flex;
  gap: 10px;
}

.bgl-mob_price_num {
  padding: 0 0.625rem;
}
.bgl-ico_mov03 {
  display: block;
  position: absolute;
  left: 40px;
  bottom: 20px;
  width:100px;
}
.bgl-ico_mov04 {
  display: block;
  position: absolute;
  right: 40px;
  bottom: 20px;
  width:100px;
}

@media (max-width: 767px) {
  .bgl-mob_price_tablewrap {
    flex-direction: column;
  }
  .bgl-ico_mov03 {
    display: none;
  }
  .bgl-ico_mov04 {
    display: none;
  }
}
