/*--------------------------------------------------*/
/* tab-wrap */
/*--------------------------------------------------*/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  margin-bottom: 60px;
}

@media screen and (max-width: 767px) {
  .tab-wrap {
    margin-bottom: 30px;
  }
}

.tab-label {
    color: #888888;
    padding: 20px 10px;
    margin: 0;
    background-color: #F8F8F8;
    text-align: center;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    border-right: 1px solid #E2E2E2;
    border-top: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
}

.tab-label:first-of-type {
	border-left: 1px solid #E2E2E2;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.tab-label:last-of-type {
	border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

@media (max-width: 767px) {
	.tab-label {
        color: #222222;
        font-size: 13px;
        font-weight: 400;
        padding: 20px 5px;
	}
    .tab-label:first-of-type {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin-left: -15px;
    }
    .tab-label:last-of-type {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-right: -15px;
    }
}

.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
	background-color: #fff;
  padding: 0!important;
}
.tab-content .c-section__inner-w900 {
  padding-top: 40px!important;
}

/* アクティブなタブ */
.tab-switch:checked+.tab-label{
 background-color:#0072BC;/*背景色*/
 color: #fff;
 border-radius: 6px;
 box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
 padding: 35px;
}
.tab-switch:checked+.tab-label:after{
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% + 5px);
  margin-left: -15px;
  border: 10px solid transparent;
  border-top:10px solid #0072BC;
  width: 0;
  height: 0;
}

.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: visible;
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: .5s opacity;
}

@media (min-width: 768px) {
    /* アクティブなタブ */
    .tab-switch:checked+.tab-label,
    .tab-label:hover{
         background-color:#0072BC;/*背景色*/
         color: #fff;
         border-radius: 6px;
         box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
         padding: 35px;
    }
    .tab-switch:checked+.tab-label:after,
    .tab-label:hover:after{
        content: "";
        position: absolute;
        top: 100%;
        left: calc(50% + 5px);
        margin-left: -15px;
        border: 10px solid transparent;
        border-top:10px solid #0072BC;
        width: 0;
        height: 0;
    }

}

@media (max-width: 767px) {
    .tab-switch:checked+.tab-label{
        font-weight: 700;
        padding: 30px 5px;
    }

}


/* アクティブを外す not-active */
body .tab-switch:checked+.tab-label.not-active {
    background-color: #F8F8F8;
    color: #888888;
    box-shadow: none;
    padding: 20px 10px;
    border-radius: 0;
}
body .tab-switch:checked+.tab-label:first-of-type.not-active {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
body .tab-switch:checked+.tab-label:last-of-type.not-active {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
    body .tab-switch:checked+.tab-label.not-active:after {
        content: none;
    }
@media (max-width: 767px) {
    body .tab-switch:checked+.tab-label.not-active {
        font-weight: 400;
        padding: 20px 5px;
    }
}

/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

/*.tab-wrap .c-column__grid {
	margin: 24px 0 -24px;
}*/

.tab-wrap .c-column__grid {
	margin: 24px 0 -24px;
}
@media screen and (max-width: 767px) {
  .tab-wrap .c-column__grid > [class^="c-column"] {
    padding-right: 0!important;
    padding-left: 0!important;
  }
}



/*--------------------------------------------------*/
/* title */
/*--------------------------------------------------*/

h4.procedure {
  display: flex;
  align-items: center;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  padding: 15px 20px;
  background: #E7F2FC;
  word-break: break-all;
  border-radius: 12px;
}

h4.procedure span {
  color: #0072BC;
  font-size: 18px;
  top: 0;
  left: 0;
  display: block;
  padding: 7px 15px;
  margin-right: 18px;
  border-radius: 15px;
  line-height: 1;
  background: #FFF;
}
@media screen and (max-width: 767px) {
  h4.procedure {
    flex-direction: column;
    justify-content: center;
  }

  h4.procedure span {
    margin-bottom: 10px;
  }
}
/*--------------------------------------------------*/
/* common */
/*--------------------------------------------------*/

p.c-text{
  font-size: 16px;
  font-size: 1.6rem;
  margin: 17px 0 30px;
}

/*--------------------------------------------------*/
/* c-list__arrow */
/*--------------------------------------------------*/
.c-list__arrow {
  position: relative;
}
ul.c-list__arrow:after {
  border-top: 16px solid #E7F2FC;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  content: "";
  position: absolute;
  bottom: -28px;
  left: 50%;
  margin-left: -20px;
}
.c-list__arrow li span.bl_box {
  display: inline-block;
	color: #FFF;
  background: #0072BC;
  padding: 5px 10px!important;
}


@media screen and (max-width: 767px) {
  .c-list__arrow {
    flex-direction: column!important;
    flex-wrap: nowrap;
    margin-top: -6px;
    width: 100%;
  }
  ul.c-list__arrow:after {
    border-top: 16px solid #E7F2FC;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    margin-left: -20px;
  }
  .c-list__arrow + .c-list__arrow {
    margin-top: 40px;
  }
  .c-list__arrow li{
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .c-list__arrow li span.c-space__mr24{
    display: block;
    width: 100%!important;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 0!important;
  }
  .c-list__arrow li:not(:last-of-type) {
    margin-bottom: 50px;
  }
  .c-list__arrow li:nth-child(n + 2):before {
    display: inline-block;
    position: absolute;
    width: 24px;
    height: 25px;
    top:-37px;
    left: calc(50% - 12px);
    margin: 0;
    transform: rotate( 90deg );
  }
}


/*--------------------------------------------------*/
/* 事前準備ボックス */
/*--------------------------------------------------*/
.preparationBox {
  position: relative;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 56px 24px 36px;
  border: 2px solid #F2F2F7;
  border-top: 4px solid transparent;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, .1);
}


.preparationBox::before {
  position: absolute;
  top: -4px;
  right: -2px;
  left: -2px;
  height: 4px;
  background: #0072BC;
  content: "";
}

.preparationBox.-l::before {
  background: #E7F2FC;
}

.preparationBox__title,
.preparationBox__subheading {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding: 4px 24px;
  border-radius: 999px;
  background: #0072BC;
  color: #fff;
  font-size: 16px !important;
  line-height: 1.2;
  text-align: center;
}

.preparationBox__title {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  padding-right: 16px;
  padding-left: 16px;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 96px;
}

.preparationBox__title span {
  font-size: 22px;
}

.preparationBox__title.-step {
  width: 88px;
  height: 29px;
  padding: 0;
  line-height: 24px;
  white-space: nowrap;
}

.preparationBox__title.-l,
.preparationBox__subheading.-l{
  background: #E7F2FC;
  color:#0072BC;
}

.preparationBox__subheading {
  margin: 32px auto 24px;
  width: auto;
  max-width: 88px;
}

@media screen and (max-width: 767px) {
  .preparationBox {
    margin-top: 48px;
    padding: 40px 16px 28px;
  }
}

/*--------------------------------------------------*/
/* STEPの2カラム */
/*--------------------------------------------------*/
.stepColumns {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 430px);
  gap: 64px;
  justify-content: center;
  max-width: 790px;
  margin: 0 auto;
}

.stepColumns__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 330px;
}

.stepColumns__content {
  display: flex;
  flex-direction: column;
}

.stepColumns__heading {
  margin: 0;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;

}

.stepColumns__list {
  box-sizing: border-box;
  max-width: 100%;
  margin: 10px 0 0;
  padding-left: 1.5em;
  list-style: decimal;
  text-align: left;
}

@media screen and (max-width: 767px) {
  .stepColumns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .stepColumns__media img {
    margin-inline: auto;
  }

  .stepColumns__content {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
  }

  #step1Title + .stepColumns .stepColumns__content,
  #corporateStep1Title + .stepColumns .stepColumns__content {
    width: fit-content;
    max-width: 100%;
  }
}

.preparationBox.-noArrow::after {
  content: none;
}

/* 動画モーダル関連
-------------------------------------------------- */
.modal__bnr{
    padding: 0 20px;
}

.modal__bnr .__bnr img{
    border-radius: 20px;
    transition: opacity 0.3s ease;
    max-width: 320px;
    height: auto;

    &:hover{
        opacity:0.7;
    }
}

.modal__bnr .__bnr:after{
    display: none;
}

@media (max-width: 991px) {
    .c-modal__inner {
        padding:20px;
    }
}

/* 事前準備の案内画像 */
.preparationIntro {
  position: relative;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.preparationIntro .hp_sub-ttl-1 {
  margin: 0;
}

.preparationIntro__image {
  position: absolute;
  top: -40px;
  right: -108px;
  display: block;
  width: 84px;
  height: 110px;
}

@media screen and (max-width: 767px) {
  .preparationIntro {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .preparationIntro__image {
    position: static;
    margin-top: 20px;
  }
}


/*--------------------------------------------------*/
/* ページ専用 */
/*--------------------------------------------------*/
._sp{
    display: none;
  }

.c-page-sub img{
  height: fit-content;
}

.hp_m-auto{
  margin:0 auto !important;
}

.overviewCatch {
    gap: 1em 2em;
}

.hp_sub-ttl-1{
  font-size:21px !important;
  font-weight: 700;
  text-align: center;
  line-height: 2;
}

.c-alert__text.--blue{
  color: #1A1311;
  background-image: url(' data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9IuOCsOODq+ODvOODlyAyMzgyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzNiI+PGNpcmNsZSBkYXRhLW5hbWU9IualleWGhuW9oiAxNTgiIGN4PSIxNiIgY3k9IjE2IiByPSIxNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAyKSIgZmlsbD0iIzAwNzJCQyIvPjx0ZXh0IGRhdGEtbmFtZT0i77yBIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0IDI4KSIgZmlsbD0iI2ZmZiIgZm9udC1zaXplPSIyNCIgZm9udC1mYW1pbHk9Ik5vdG9TYW5zQ0pLanAtTWVkaXVtLCBOb3RvIFNhbnMgQ0pLIEpQIiBmb250LXdlaWdodD0iNTAwIj48dHNwYW4geD0iMCIgeT0iMCI+77yBPC90c3Bhbj48L3RleHQ+PC9zdmc+');
}

.c-box_blue.--lgray{
  background-color: #F5F7FA !important;
  border-radius: 8px;
}

.preparationBox:after {
    width: 52px;
    height: 33px;
    position: absolute;
    background-image: url(/denwa/charge/myp_id/images/flow_bottom.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    display: block;
    right: 0;
    left: 0;
    bottom: -70px;
    margin-right: auto;
    margin-left: auto;
    content: "";
}

body.c-page-sub[data-page="page"] .c-link__btn.--orange{
  background-color: #FF8F20;
  border: 1px solid #FF8F20;
  color:#fff;

}

/* STEP1上の案内と左右の装飾 */
.stepFlowLead {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 88px 0 27px;
    font-size: 20px !important;
    line-height: 1.3;
    white-space: nowrap;
}

.stepFlowLead::before,
.stepFlowLead::after {
    flex: none;
    width: 24px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
}

.stepFlowLead::before {
    background-image: url('/denwa/charge/myp_id/images/left.svg');
}

.stepFlowLead::after {
    background-image: url('/denwa/charge/myp_id/images/light.svg');
}

.stepFlowLead + .preparationBox {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
  .stepFlowLead {
        font-size: 16px;
    }

   .individual-img img,
   .corporate-img img{
      margin: 0 auto;
      display: block;
      width: 100%;
  }

  .sp_mt20{
    margin-top: 20px !important;
  }

  .sp_mt40{
    margin-top: 40px !important;
  }

  .sp_mt70{
    margin-top: 70px !important;
  }

  .sp_mt80{
    margin-top: 70px !important;
  }

  .modal__bnr .__bnr img{
    max-width: 100% !important;
  }

  body.c-page-sub[data-page="page"] .c-link__btn.hp_w100 {
    width: 100% !important;
  }

  .modal__bnr{
    padding:0 !important;
  }

  .sp_none{
    display: none;
  }

  .stepColumns__heading{
    font-size: 16px !important;
  }

  ._sp{
    display: block;
  }

}

/* 法人向け動画モーダル */
#modal-2 .c-modal__overlay {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
}

#modal-2 .c-modal__container {
  position: relative;
  box-sizing: border-box;
  flex: 0 1 auto;
  min-width: 0 !important;
  width: min(1000px, calc(100vw - 48px), calc(160vh - 192px)) !important;
  width: min(1000px, calc(100vw - 48px), calc(160dvh - 192px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 16px !important;
  overflow: visible !important;
}

#modal-2 .c-modal__inner {
  position: static;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

#modal-2 .c-modal__close {
  position: absolute !important;
  top: -40px !important;
  right: 0 !important;
  z-index: 1;
}

#modal-2 iframe {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border: 0;
}

@media screen and (max-width: 767px) {
  #modal-2 .c-modal__overlay {
    padding: 12px !important;
  }

  #modal-2 .c-modal__container {
    width: min(calc(100vw - 24px), calc(160vh - 144px)) !important;
    width: min(calc(100vw - 24px), calc(160dvh - 144px)) !important;
    padding: 8px !important;
  }
}

/* 法人向け事前準備の案内画像 */
.preparationIntro .corporation__image {
  position: absolute;
  top: -24px;
  right: -140px;
  display: block;
  width: 117px;
  height: 106px;
}

@media screen and (max-width: 767px) {
  .preparationIntro .corporation__image {
    position: static;
    margin-top: 20px;
  }
}
