/*-------------------------------------------
    マイページ
-------------------------------------------*/
html{
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}
body{
  padding: 0;
  margin: 0;
  font-size: 1.3rem;
  color: #000000;
  background: #ffffff;
  line-height: 1;
}
select,
input[type="submit"] {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}
footer .footer-copy {
  bottom: auto;
}
button {
  cursor: pointer;
}

/*影（共通）*/
header.mypage-header,
div.mypage-content-box,
.button-body,
.button-back {
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
}
/*ホバーアニメーション*/
.button-body:hover,
.header-logout:hover{
  transition:0.2s;
}

.center-wrapper {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.center-text{
  display: inline-block;
  text-align: left;
}
/*エラーメッセージ*/
.error-message {
  color: red;
  font-size: 1.6rem;
  position: relative;
  text-align: center;
  line-height: 1.5em;
}
.error-message-next {
  color: #C40A00;
}
.error-message p{
  margin: 10px 0;
  color: #C40A00;
}
.error-message-value {
  font-size: 1.6rem;
  padding: 15px;
  background:#FFEEEE;
  margin-bottom: 35px;
}
.error-center {
  text-align: center;
}

div#device-option-error-message,
div#plan-id-error-message {
  text-align: center;
  margin: 20px 0;
}

div#device-option-error-message label,
div#plan-id-error-message label {
  font-size: 2.0rem;
}
label.validator-error {
  font-size: 1.2rem;
  display: block;
  padding-top: 5px;
  margin-top: 0;
  color: #C40A00;
}
table.table-base td.leave-td label.validator-error{
  background: #ffffff;
}
/*ヘッダー*/
header.mypage-header {
  background-color: #D9EFF6;
  height: 80px;
  display: flex;
  align-items: center;
  margin-top: 0;
  text-align: center;
  position: relative;
  width: 100%;
  z-index: 10000;
}
header.mypage-header div.header-wrapper {
  width: 100%;
  margin: 0 auto;
  font-size: 12px;
  max-width: 1100px;
}
header.mypage-header nav.header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 2px;
  line-height: 20px;
  padding: 0;
}
header.mypage-header nav.header-item > div{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header.mypage-header p.header-logo{
  padding-left: 10px;
  line-height: 0;
}
header.mypage-header p.header-logo a img {
  width: auto;
  height: 40px;
  image-rendering: -webkit-optimize-contrast;
  padding: 20px;
  margin: 0;
}
header.mypage-header div.current-tab-name-box {
  border: none;
  margin: 0;
  padding: 0 5px;
  position: relative;
  bottom: 2px;
}
header.mypage-header p.current-tab-name {
  color: #505356;
  border-left: 1px solid #000;
  padding-left: 20px;
  margin-left: 0;
  font-weight: bold;
  font-size: 1.3rem;
  text-align: left;
}

/*セレクトボックス*/
select {
  font-size: 1.3rem;
  width: 35%;
  cursor: pointer;
}
#cancel-contract-checkbox,
#cancel-contract-checkbox + label {
  cursor: pointer;
}
div.mypage-contract-select-container select {
  position: relative;
  margin: 0;
  border: 1px solid #0173b8;
  background: #ffffff;
  width: 100%;
}
main.mypage-main select{
  border-radius: 0;
  background-color: #ffffff;
  border: 1px solid #0173b8;
}
main.mypage-main select._dataplans{
  opacity: 1;
}
main.mypage-main select._dataplans:disabled{
  background-color: #bcbcbc;
  opacity: 0.4;
  border: 1px solid #0173b8;
}
main.mypage-contents select {
  height: 50px;
  width: 100%;
  padding: 0 5px;
  font-size: 1.5rem;
}
main.mypage-contents select.address {
  width: 65%;
}
main.mypage-contents select.card {
  width: 60%;
}

/*ログアウト*/
div.header-logout {
  width: 150px;
  padding: 1em;
  background-color: white;
}
div.header-logout-create {
  padding: 0;
}
.header-logout:hover{
  outline: 4px solid #f5e77e;
  outline-offset: -4px;
}
div.header-logout a.logout-wrap{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
a.logout-wrap-create {
  padding: 1em;
}
div.header-logout img {
  width: 30px;
}
div.header-logout p {
  font-weight: bold;
  color: black;
}
div.header-logout a.logout-wrap > span.button-triangle{
  width: 10px;
  transform: rotate(45deg) translate(0,0);
}

/*フッター*/
div.mypage-footer-main {
  width: 100%;
  height: auto;
  text-align: center;
  background-color: #0173b8;
  color: white;
  bottom: 0;
  font-size: 12px;
  padding: 7px 0;
  display: flex;
  justify-content: left;
}
div.mypage-footer-main a {
  color: white;
}

div.mypage-footer-main .wrapper {
  width: 100%;
  max-width: 1170px;
  text-align: left;
  margin: 0 auto;
}

div.mypage-footer-main ul {
  list-style: none;
  text-align: left;
  margin: 15px 0;
}
div.mypage-footer-main ul li {
  display: inline-block;
  font-size: 12px;
  margin: 0 15px;
  text-decoration: none;
}
div.mypage-footer-main ul li:first-child {
  margin-left: 0;
}

div.mypage-footer-main ul li.mypage-footer-copyright {
  float: right;
}

div.mypage-footer-main .mypage-footer-copyright-sp {
  text-align: center;
  font-weight: normal;
  margin-bottom: 15px;
}

div.mypage-footer-main div.mypage-footer-copyright-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  div.header-logout {
    width: 120px;
    padding: 0.8em 0.5em;
    margin-right: 10px;
  }
  div.header-logout img {
    width: 25px;
  }
  div.header-wrapper {
    height: auto;
  }
  header.mypage-header p.header-logo a img {
    height: 45px;
    padding: 10px;
  }
  div.header-logout a.logout-wrap > span.button-triangle{
    width: 5px;
    height: 5px;
  }
  header.mypage-header p.current-tab-name {
    padding-left: 10px;
  }
  div.mypage-top-element,
  div.mypage-nav-wrapper {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  }

  /*セクション毎の余白調整*/
  div.mypage-content-box.category-option{
    margin-top: 65px;
  }
  .corp-category,
  .button.category{
    margin-bottom: 65px;
  }

  div.mypage-footer-main ul {
    text-align: center;
  }

  div.mypage-footer-main ul li:first-child {
    margin-left: 15px;
  }

  div.mypage-footer-main ul li.mypage-footer-copyright {
    display: none;
  }
  div.mypage-footer-main div.mypage-footer-copyright-sp {
    display: block;
  }

  div.mypage-footer-main .wrapper {
    width: 100%;
    padding: 0px 4%;
  }
  div.padding-content {
    padding-bottom: 0;
  }
}


/*-------------------------------------------
    ナビ
-------------------------------------------*/
div.mypage-nav-wrapper {
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}
div.mypage-nav {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.mypage-nav a {
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  text-align: center;
  font-weight: bold;
  color: #000000;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

div.mypage-nav a p {
  position: relative;
}

div.mypage-nav a .icon-external {
  display: inline-block;
  vertical-align: 0;
  width: 15px;
  height: 15px;
  margin-left: 7px;
  background-image: url(../img/icon-new-tab.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

div.mypage-nav-item{
  width: 90%;
  height: 60px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

div.mypage-nav a::after {
  position: absolute;
  bottom: -4px;
  left: 5%;
  content: '';
  width: 90%;
  height: 2px;
  background: #0173b8;
  transform: scale(1, 1);
  transform-origin: center top;
  transition: transform .3s;
  z-index: 3;
}
@media screen and (min-width: 767px) {
  div.mypage-nav a:hover::after {
    transform: scale(0, 1);
  }
}

/*-------------------------------------------
    ボタン
-------------------------------------------*/
.button{
  display: flex;
  flex-direction: row-reverse;
  position: relative;
}
.button a{
  color: #000000;
}
.button-text {
  display: block;
  overflow-wrap: break-word;
  text-decoration: none;
  color: #000000;
}
.button-text-create {
  margin-top: 35px;
}
.button-text-create-next {
  margin-right: 35px;
}
.button-text:nth-child(2){
  margin-left: 35px;
  margin-right: 35px;
}
.button-text.button-margin-right-0 {
  margin-right: 0;
}
.sim-mypage-top .button-text:nth-child(2){
  margin-left: 88px;
  margin-right: 0;
}

.button-body {
  width: calc((1100px - 250px - 1.5em) / 3);
  padding: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: #fff;
}
.button-body:nth-child(2){
  margin: 35px 35px 0 35px;
}

.button-body:hover{
  outline: 6px solid #f5e77e;
  outline-offset: -6px;
}
.button-body.hover-none:hover{
  transition: none;
  outline: none;
}

.sim-mypage-top .button-body{
  width: calc((1100px - 250px - 1.5em) / 2);
  padding: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}

.button-next{
  width: 50px;
  display: flex;
  justify-content: center;
}
.button-next img{
  width: 40px;
  height: 40px;
}
.button-body p{
  width: 100%;
  margin-left: -10px;
  text-align: center;
}

span.button-triangle{
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  width: 12px;
  height: 10px;
  top: 0;
  position: relative;
  transform: rotate(45deg) translate(0,50%);
  color: #000000;
}
.mypage-top-boxes span.button-triangle {
  top: -3px;
}
span.icon-external {
  display: inline-block;
  vertical-align: 0;
  position: relative;
  top: 3px;
  width: 20px;
  height: 20px;
  background-image: url(../img/icon-new-tab.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
span.button-triangle.down{
  transform: rotate(135deg);
}
.button-back >span.button-triangle{
  width: 10px;
  transform: rotate(-135deg);
}

/*サービス解約ページ　ボタン調整*/
div.mypage-user-container a.button-text p{
  text-align: center;
}

.cancel_initial_over {
  opacity: 0.5;
}

.cancel_initial_over.button-body-plan:hover {
  outline: none;
  cursor: default;
}

.button-right:last-child {
  flex-direction: row-reverse;
}

/*法人　ポップアップ内のボタン*/
.procedure-button-body:hover {
  outline: 4px solid #ffeb00;
  outline-offset: -4px;
  transition:0.2s;
}

/*202110～ GIGAボーナス*/
/*非活性*/
.procedure-button-body-received {
  opacity: 0.4;
  cursor: default;
}
.procedure-button-body.procedure-button-body-upper-left.procedure-button-body-received:hover{
  outline: none;
}

/*戻るボタン*/
.button-back {
  height: 40px;
  background-color: #E6E6E6;
}
.button:last-child,
.left{
  flex-direction: row;
}
.right:last-child{
  flex-direction: row-reverse;
}

@media screen and (max-width: 767px) {
  .button{
    align-items: center;
    flex-direction: column;
  }
  .button-text {
    font-size: 1.5rem;
  }
  .button-text:nth-child(2){
    margin-left: 0px;
    margin-right: 0px;
  }
  .button-body,
  .button-body:nth-child(2) {
    width: calc(100% - 42px);
    height: 60px;
  }
  .error-box div.right .button-body{
    margin: auto;
  }
  .button-body p{
    margin-left: -15px;
  }

  div.right,
  div.right:last-of-type{
    display:flex;
    align-items: center;
    flex-direction: column-reverse;
  }
  .button:last-child,
  .left{
    flex-direction: row;
    display: flex;
    justify-content: center;
  }

  .button-body#entry_user_submit{
    width: calc((1100px - 310px - 1.5em) / 3);
  }
  .button-body.button-width#entry_user_submit {
    width: calc((1100px - 250px - 1.5em) / 3);
  }
  .button-back{
    height: 45px;
  }
  .button-text-create-next {
    margin-right: 0;
  }
}

/*------------------------------
    レイアウト
/*------------------------------*/
div.mypage-container {
  width: 100%;
  padding-bottom: 50px;
  margin-top: -1px;
  min-height: calc(100vh - 65px - 60px - 70px - 35px - 5px);
  position: relative;
  overflow: hidden;
}
div.bg-login{
  min-height: calc(100vh - 80px - 70px - 35px);
  overflow: hidden;
}

.mypage-nav-wrapper + .mypage-main.mypage-contents div.mypage-container {
  min-height: calc(100vh - 255px);
}
div.mypage-section-container {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

div.mypage-description {
  font-size: 1.3rem;
  text-align: left;
  position: relative;
  z-index: 1;
  color: #000;
}
div.mypage-description.mypage-payment-history-description {
  font-size: 1.6rem;
  font-weight: bold;
}
div.not-inputted-items-hidden {
  display: none;
}
div.not-inputted-items {
  color: red;
  background-color: white;
  margin: 10px 0;
  padding: 10px;
  height: auto;
  max-width: 750px;
  margin: 0 auto;
}

div.mypage-contract-select-container.mypage-overseas-select-container table tbody tr td{
  width: 25%;
}

/*？ ホバーで吹き出しコメント表示*/
div.question-mark{
  position: relative;
  cursor: default;
}
div.question-mark img{
  position: absolute;
  width: 20px;
  top: -3px;
  right: 5px;
  transform: translateX(-50%);
}
div.question-mark:hover .comment {
  display: inline;
  cursor: pointer;
}
.comment {
  display: none;
  position: absolute;
  left: 110px;
  bottom: 10px;
  margin: 1.5em 0;
  padding: 7px 16px;
  width: 130px;
  color: #3C3C3C;
  font-size: 1.3rem;
  background: white;
  border: 1px solid #3C3C3C;
  z-index: 1;
}
.comment:after{
  content: "";
  position: absolute;
  bottom: -27px;
  left: 66px;
  margin-left: 50px;
  margin-top:30px;
  border: 14px solid transparent;
  border-top: 14px solid white;
}

table.table-mini .comment{
  left: 40px;
}

div.corp-imei-select-overseas .comment{
  left: 24px;
  bottom: 22px;
}

@media screen and (max-width: 767px) {
  div.mypage-description.mypage-payment-history-description {
    font-size: 1.4rem;
  }

  div.mypage-section-container {
    max-width: 90%;
  }

  div.mypage-contract-select-container.mypage-overseas-select-container table tbody tr td{
    width: 45%;
    padding-left: 4%;
  }
  .comment {
    bottom: 30px;
    left: 5px;
  }
  .comment:after{
    left: 10px;
  }
  div.question-mark img{
    position: absolute;
    width: 18px;
    top: 3px;
    right: -3px;
  }

  table.table-mini .comment{
    left: -20px;
  }
  table.table-mini .comment:after{
    left: -10px;
  }
  table.table-mini div.question-mark img{
    right: 4px;
    top: 13px;
    width: 14px;
  }
  div.question-mark:active .comment {
    display: inline;
  }
  div.corp-imei-select-overseas .comment{
    left: 105px;
  }
  div.corp-imei-select-overseas .comment:after{
    left: 80px;
  }
  .error-message {
    bottom: 0px;
    text-align: left;
  }
}
@media screen and (max-width: 320px) {
  div.question-mark img{
    right: -8px;
  }
}
table.form-table {
  table-layout: fixed;
}
table.form-table tr {
  height: 5rem;
}
table.form-table th,
table.form-table td {
  text-align: left;
  vertical-align: top;
}
table.form-table th {
  width: 250px;
  font-size: 1.3rem;
  margin-bottom: 15px;
  vertical-align: middle;
}

div.support-contact-container div.form-user-background{
  padding: 20px 0;
}
div.user-link {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
div.user-link div {
  text-align: right;
}
div.entry-user-link {
  height: 70px;
  align-items: center;
}
.mypage-confirm-dialog{
  max-width: 400px!important;
  height: 277px!important;
  position: fixed!important;
  background-color: #f5e77e!important;
  margin: auto!important;
  z-index: 1000000000002!important;
  top: 50%!important;
  left: 50%!important;
  transform: translate(-50%,-50%)!important;
  box-shadow: 15px 15px 25px 0 rgb(0 0 0 / 20%)!important;
}

@media screen and (max-width: 767px) {
  .ui-dialog-buttonpane{
    display: flex;
    justify-content: center;
  }
  table.form-table {
    width: 100%;
  }
  table.form-table th,
  table.form-table td {
    display: block;
    text-align: left;
    width: 100%;
  }
  table.form-table th{
    margin: 10px 0 5px;
  }
  table.selection-table td {
    display: block;
    text-align: left;
    width: 100%;
  }
}
div.mypage-data-flow-wrapper-hidden,
.mypage-user-info-detail-hidden,
.mypage-invoice-info-detail-hidden,
.mypage-delivery-info-detail-hidden,
div.mypage-contract-wrapper-hidden,
div.mypage-payment-history-wrapper-hidden,
.corp-payment-info-detail-hidden{
  display: none;
}

/************/
/* user */
/************/

div.mypage-user-container {
  max-width: 1024px;
  padding-bottom: 30px;
  text-align: left;
  z-index: 2;
}

/***********/
/* Override jquery ui */
/***********/
.ui-dialog {
  z-index: 10000000 !important;
}

.ui-dialog .ui-dialog-title {
  width: 100% !important;
  background-color: #f5e77e !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  margin-top: 28px !important;
  border-bottom: solid 2px black;
  white-space: unset !important;
}

.ui-draggable .ui-dialog-titlebar {
  cursor: move;
  background-color: #f5e77e!important;
  padding: 0px 39px !important;
}

.ui-widget-header {
  background-color: #f5e77e!important;
  border: 0px !important;
  background: #f5e77e url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x!important;
}

.ui-dialog {
  border: solid 5px #f5e77e !important;
  text-align: center;
  padding: 0!important;
}

.ui-widget-content {
  border: none!important;
  background: #ffffff;
  color: #c40a00;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
  border-bottom-right-radius: 15px!important;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
  border-bottom-left-radius: 15px!important;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
  border-top-right-radius: 15px!important;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
  border-top-left-radius: 15px!important;
}

.ui-dialog .ui-dialog-buttonpane {
  text-align: left;
  border-width: 1px 0 0 0;
  background-image: none;
  margin-top: 33px!important;
  padding: 0!important;
  border-bottom-right-radius: 15px!important;
  border-bottom-left-radius: 15px!important;
  max-width: 400px!important;
  height: 70px!important;
}

.ui-widget {
  font-family: "Montserrat", "Noto Sans JP", sans-serif!important;
}

.ui-dialog .ui-dialog-content {
  margin-top: 24px !important;
  font-size: 13px !important;
}

.popup-data-charge-text {
  margin-top: 30px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  border: solid 2px #000000;
  background-color: white;
  padding: 6px;
  width: 338px !important;
  text-align: center;
  margin: 0 auto;
  border-radius: 5px;
}

.popup-kaigai-text {
  margin-top: 30px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  border: solid 2px #000000;
  background-color: white;
  padding: 6px;
  width: 338px !important;
  text-align: center;
  margin: 0 auto;
  border-radius: 5px;
}

.mypage-popup-data-pop-second-text-margin {
  margin-top: 34px !important;
  margin-bottom: 30px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
}

.mypage-popup-data-pop-anshin-text-margin {
  margin-top: 10px !important;
  margin-bottom: -6px !important;
}

button.ui-button.ui-dialog-titlebar-close {
  display: none;
}

.dialog-btn-green {
  background: white !important;
  border-radius: 0 !important;
  border: solid black 1px !important;
  color: black !important;
  outline: 0;
}

.dialog-btn-green:hover {
  background-color: #f5e77e !important;
}

button.dialog-btn-neg {
  background: black !important;
  border-radius: 0 !important;
  border: solid black 2px !important;
  color: #f5e77e !important;
  outline: 0;
  margin: 13px 49px 0 auto !important;
  height: 44px !important;
  width: 121px !important;
  font-size: 15px !important;
}

button.dialog-btn-neg:hover {
  background: #f5e77e !important;
  border-radius: 0 !important;
  border: solid black 2px !important;
  color: black !important;
  outline: 0;
  font-weight: bold !important;
  margin: 13px 49px 0 auto !important;
  height: 44px !important;
  width: 121px !important;
  font-size: 15px !important;
}

button.dialog-btn-red {
  background: #f5e77e !important;
  border-radius: 0 !important;
  border: solid black 2px !important;
  color: black !important;
  outline: 0;
  font-weight: bold !important;
  margin: 13px 52px auto auto !important;
  height: 44px !important;
  width: 121px !important;
  font-size: 15px !important;
}

button.dialog-btn-red:hover {
  background: black !important;
  border-radius: 0 !important;
  border: solid black 2px !important;
  color: #f5e77e !important;
  outline: 0;
  font-weight: normal !important;
  margin: 13px 52px auto auto !important;
  height: 44px !important;
  width: 121px !important;
  font-size: 15px !important;
}

@media screen and (max-width: 767px) {
  .ui-dialog .ui-dialog-title {
    width: 100% !important;
    background-color: #f5e77e !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    margin-top: 28px !important;
    border-bottom: solid 2px black;
  }
  .ui-draggable .ui-dialog-titlebar {
    cursor: move;
    background-color: #f5e77e!important;
    padding: 0px 24px !important;
  }
  button.dialog-btn-neg {
    background: black !important;
    border-radius: 0 !important;
    border: solid black 2px !important;
    color: #f5e77e !important;
    outline: 0;
    margin: 13px 18px 0 auto !important;
    height: 44px !important;
    width: 121px !important;
    font-size: 15px !important;
  }
  button.dialog-btn-neg:hover {
    background: #f5e77e !important;
    border-radius: 0 !important;
    border: solid black 2px !important;
    color: black !important;
    outline: 0;
    font-weight: bold !important;
    margin: 13px 18px 0 auto !important;
    height: 44px !important;
    width: 121px !important;
    font-size: 15px !important;
  }
  button.dialog-btn-red {
    background: #f5e77e !important;
    border-radius: 0 !important;
    border: solid black 2px !important;
    color: black !important;
    outline: 0;
    font-weight: bold !important;
    margin: 13px 0px auto auto !important;
    height: 44px !important;
    width: 121px !important;
    font-size: 15px !important;
  }
  button.dialog-btn-red:hover {
    background: black !important;
    border-radius: 0 !important;
    border: solid black 2px !important;
    color: #f5e77e !important;
    outline: 0;
    font-weight: normal !important;
    margin: 13px 0px auto auto !important;
    height: 44px !important;
    width: 121px !important;
    font-size: 15px !important;
  }
  .popup-data-charge-text {
    margin-top: 30px !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    border: solid 2px #000000;
    background-color: white;
    padding: 6px;
    width: 258px !important;
    text-align: center;
    margin: 0 auto;
    border-radius: 5px;
  }
  .ui-dialog .ui-dialog-content {
    margin-top: 29px !important;
    font-size: 13px !important;
  }
  .popup-kaigai-text {
    margin-top: 30px !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    border: solid 2px #000000;
    background-color: white;
    padding: 6px;
    width: 258px !important;
    text-align: center;
    margin: 0 auto;
    border-radius: 5px;
  }
}

@media screen and (max-width: 341px) {
  button.dialog-btn-neg {
    margin: 13px 0px 0 auto !important;
  }
  button.dialog-btn-neg:hover {
    margin: 13px 0px 0 auto !important;
  }
}

/*************/
/* FAQ        */
/*************/
div.mypage-faq-contents {
  text-align: left;
  font-size: 1.3rem;
}

div.lp-faq-contents-v2 {
  padding: 0 40px;
  margin: 70px 0;
}

h2.faq-h2 {
  font-size: 1.3rem;
  padding: 5px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

span.lp-faq-question-label {
  margin-right: 30px;
}

div.faq-answer-text {
  padding-top: 15px;
}


div.lp-faq-content img.faq-question-icon {
  width: 40px;
  height: 40px;
  padding:0 30px;
}

div.faq-question-text {
  width: 100%;
  text-align: left;
  padding-right: 10px;
}

@media screen and (max-width: 767px) {
  div.lp-faq-content img.faq-question-icon {
    padding:0 17px;
  }
  span.lp-faq-question-label {
    margin-right: 15px;
  }

}

span.lp-faq-question-label img {
  width: 15px;
}

div #support-faq-content{
  padding: 0;
  margin: 10px 0;
}

div.lp-faq-contents-v2 div.lp-faq-content {
  margin: 10px 0;
}

div.lp-faq-contents-v2 div.faq-answer-text {
  padding-top: 5px;
  padding-right: 15px;
}

div.lp-faq-contents-v2 div.faq-question-text {
  font-size: 1.5rem;
}
div.lp-faq-contents-v2 h2.faq-h2 {
  padding: 20px 0;
  background-color: #d9eff6;
}

div.lp-faq-contents-v2 h2.lp-faq-question-open {
  background-color: #0173b8;
  color: white;
}

div.lp-faq-contents-v2 div.lp-faq-answer.lp-faq-answer-hidden {
  display: none;
}

div.lp-faq-contents-v2 div.lp-faq-answer{
  padding: 15px 0;
  box-sizing: border-box;
  display: flex;
  border: solid 3px #0173b8;
}
div.lp-faq-contents-v2 div.faq-answer-text p{
  line-height: 2.5rem;
  font-weight: 400;
}
div.lp-faq-contents-v2 div.lp-faq-content img.faq-question-icon {
  padding: 0 30px;
}
div.lp-faq-contents-v2 div.lp-faq-answer img.faq-question-icon {
  padding-left: 26px;
  padding-right: 28px;
}

div.white-content-box-faq-v2 {
  padding-bottom: 10px;
}

div.white-content-box-faq-v2.inactive {
  display: none;
}
div.white-content-box-faq-v2.active {
  display: "block";
  animation: show 1s linear 0s;
}
@keyframes show{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

div.white-content-box-inner-callcenter-faq {
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  div.white-content-box-inner-callcenter-faq,
  div.white-content-box-inner-callcenter-faq div.faq-category-box div.sub-dir-nav-box {
    width: 100px;
  }
  div.lp-faq-contents-v2 {
    padding: 5%;
    margin: 10px 0;
  }
  div.lp-faq-content img.faq-question-icon {
    width: 20px;
  }
  div.lp-faq-contents-v2 div.lp-faq-content img.faq-question-icon {
    padding: 0 15px;
  }
  div.lp-faq-contents-v2 div.lp-faq-answer img.faq-question-icon {
    padding: 0 10px;
  }

  div.lp-faq-contents-v2 div.faq-question-text {
    font-size: 1.2rem;
  }
  div.lp-faq-contents-v2 h2.faq-h2,
  div.lp-faq-contents-v2 div.faq-h2 {
    padding: 10px 0;
  }

  span.lp-faq-question-label img {
    width: 10px;
  }

  div.faq-answer-text {
    padding-right: 10px;
  }
}
/*Mypage Input*/
table.mypage-form-input-table {
  text-align: left;
}

table.mypage-form-input-table th {
  width: 25%;
  font-size: 1.3rem;
}

input.mypage-input-border,
input.mypage-login-input-border,
input.mypage-cancel-input-border{
  box-sizing: border-box;
  width: 100%;
  padding: 0.3em 0.5em;
  margin: 0;
  letter-spacing: 1px;
  border: none;
  height: 50px;
  font-size: 1.5rem;
}
input.mypage-login-input-border{
  background-color: #d9eff6;
}

input.mypage-cancel-input-border{
  border: 1px solid #AAAAAA;
}

input.mypage-input-border-security-code {
  width: 60%;
}

td.credit_card_input {
  width: 70%;
}
input.mypage-input-border.payment-method-input{
  width: 60%;
}

@media (max-width: 767px) {
  input.mypage-input-border {
    height: 37.5px;
    font-size: 1.4rem;
  }
  input.mypage-input-border.col20{
    width: 28.2% !important;
  }
  main.mypage-main select {
    font-size: 1.4rem;
    width:100%;
  }
  div.expire_month select{
    width: 40%;
  }
  td.password-td input.mypage-login-input-border + span.field-icon.field-icon-mypage.input-eye{
    top: 13px;
  }

  td.credit_card_input {
    width: 70%;
  }
  input.mypage-input-border-security-code {
    width: 100%;
  }

  input.mypage-input-border.payment-method-input{
    width: 100%;
  }
  select[name="expire_month"]{
    width: 105px;
  }
}

input.mypage-input-border-invalid {
  background-color: #FFFFAA;
}

input.mypage-input-border:focus,
input.mypage-login-input-border:focus{
  outline: none;
  border: 2px solid #f5e77e;
  background-color: #d9eff6;
}

div.complete-buttons {
  text-align: center;
}

div.text-under-button {
  text-align: right;
  position: relative;
  top: 10px;
  right: 10px;
}

/*Mypage Top*/
div.mypage-top-boxes {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 20px auto;
}

div.mypage-top-boxes.sim-mypage-top-boxes{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px auto;
}

div.mypage-top-element {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color:#ffffff;
  position: relative;
}

div.mypage-top-element div.mypage-top-icon {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
}

div.mypage-top-element div.mypage-top-icon img {
  height: 80px;
  padding: 5px;
}

div.mypage-top-element p.mypage-top-title {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0px;
}

/*利用規約と同意ボタン*/
div.mypage-top-element p.mypage-top-title-row2 {
  margin-top: -20px;
}

div.leave-checkbox-box {
  border: 6px solid #f5e77e;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  position: relative;
}
.leave-checkbox-box span{
  font-weight: bold;
}
div.leave-checkbox-box-margin {
  margin-bottom: 50px;
}

p.leave-checkbox-box-title {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 20px 0;
}

p.leave-checkbox-box-title-size {
  font-size: 2.0rem;
}

div.leave-checkbox-box-desciption {
  font-size: 1.3rem;
  text-align: left;
  padding: 0 40px;
  margin: 20px 0;
}

div.leave-checkbox-box-desciption p.terms-agree::before{
  position: relative;
  top: 0px;
  left: -0.7em;
  display: inline-block;
  width: 10px;
  height: 10px;
  content: '';
  border-radius: 100%;
  background: red;
}

div.leave-checkbox-box-desciption p.terms-agree-contents::before{
  position: relative;
  top: 0px;
  left: -0.7em;
  display: inline-block;
  width: 10px;
  height: 10px;
  content: '';
  border-radius: 100%;
}

span.text-annotation{
  font-size: 1.1rem;
}

div.box-hidden {
  display: none;
}

table.form-table-multi-column td {
  width: 35%;
  position: relative;
  font-size: 1.5rem;
}
@media (max-width: 767px) {
  table.form-table-multi-column td {
    width: 100%;
    font-size: 1.4rem;
  }
}

/*申し込み確認画面での変更ポップアップ*/
div.form-black-background,
div.form-black-background-plan,
div.form-black-background-device-option,
div.form-black-background-present-limit,
div.form-black-background-present-pay-error {
  position: fixed;
  background-color: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  z-index: 10000;

}
div.form-black-background-device-option {
  z-index: 10000;
}
div.form-black-background,
div.form-black-background-credit-card {
  position: fixed;
  background-color: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}
div.form-black-background-credit-card {
  z-index: 10000;
}
div.form-black-background,
div.form-black-background-credit-card-name {
  position: fixed;
  background-color: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}
div.form-black-background-credit-card-name {
  z-index: 10000;
}
div.form-black-background {
  z-index: 1;
}

div.mypage-confirm-hidden-form {
  display: none;
}

div.edit-partial-plan,
div.edit-partial-plan-topping1,
div.edit-partial-device-option,
div.edit-partial-contractor,
div.edit-partial-address,
div.edit-partial-user,
div.edit-partial-corp-contact,
div.edit-partial-delivery {
  position: fixed;
  max-width: 1100px;
  margin: auto;
  z-index: 1000000000002;
  background-color: white;
  top: 20px;
  left: 0;
  right: 0;
  bottom: 20px;
  overflow-y: auto;
  display: none;
}

div.edit-partial-plan{
  max-height: 722px;
}

div.edit-partial-device-option div.mypage-user-container div.form-user-background div.topping-2-head-text-right{
  justify-content: flex-end;
}

@media (max-width: 767px) {
  p.leave-checkbox-box-title {
    text-align: center;
    padding: 0;
  }

  div.edit-partial-plan,
  div.edit-partial-plan-topping1,
  div.edit-partial-device-option,
  div.edit-partial-contractor,
  div.edit-partial-address,
  div.edit-partial-user,
  div.edit-partial-corp-contact,
  div.edit-partial-delivery {
    width: 95%;
  }
  div.leave-checkbox-box-desciption {
    padding: 0;
    margin: 20px 1.5em;
  }

}

div.mypage-confirm-hidden-form {
  z-index: 1000000000003;
}

div.edit-partial-plan form,
div.edit-partial-plan-topping1 form,
div.edit-partial-device-option form,
div.edit-partial-contractor form,
div.edit-partial-address form,
div.edit-partial-user form,
div.edit-partial-corp-contact form,
div.edit-partial-delivery form {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
div.edit-partial-plan form div.mypage-user-container,
div.edit-partial-plan-topping1 form div.mypage-user-container,
div.edit-partial-device-option form div.mypage-user-container,
div.edit-partial-contractor form div.mypage-user-container,
div.edit-partial-address form div.mypage-user-container,
div.edit-partial-user form div.mypage-user-container,
div.edit-partial-corp-contact form div.mypage-user-container,
div.edit-partial-delivery form div.mypage-user-container {
  width: 100%;
}

input.cardno-box {
  width: 10%;
}
@media (max-width: 767px) {
  input.cardno-box {
    width: 20%;
  }
}

div.device-option-confirm-popup {
  max-width: 400px;
  height: 200px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}

div.device-option-confirm-popup-already {
  max-width: 850px;
  height: 520px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}

div.contact-initial-cancel-popup {
  height: 535px;
}

div.contact-initial-cancel-popup .device-option-confirm-popup-title p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #000;
  font-size: 1.9rem;
  line-height: 1.3;
}

div.contact-initial-cancel-popup img.yellow-notion-icon:last-child {
  margin: auto 10px auto 0;
}

div.credit-card-confirm-popup {
  max-width: 480px;
  height: 260px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
div.credit-card-name-confirm-popup {
  max-width: 480px;
  height: 240px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
div.present-limit-confirm-popup {
  max-width: 480px;
  height: 240px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
div.present-pay-error-confirm-popup {
  max-width: 480px;
  height: max-content;
  padding: 10px;
  position: fixed;
  background-color: white;
  border: solid 20px #f5e77e;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
div.user-form-confirm-popup {
  height: 265px;
  text-align: center;
}

div.user-form-confirm-popup p {
  line-height: 2.7rem;
}

div.device-option-confirm-popup-title p {
  margin: 10px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.credit-card-confirm-popup-title p {
  margin: 10px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.credit-card-name-confirm-popup-title p {
  margin: 10px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

div.present-limit-confirm-popup-title p {
  margin: 10px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.present-pay-error-confirm-popup-title p {
  margin: 10px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.device-option-confirm-popup-body {
  margin: 10px 10px;
  text-align: center;
}

div.device-option-confirm-popup-body-already {
  margin: 30px 10px;
  text-align: left;
}
div.present-limit-confirm-popup-body-already,
div.present-pay-error-confirm-popup-body-already {
  margin: 10px 10px;
  text-align: center;
}
div.credit-card-confirm-popup-body {
  margin: 10px 10px;
}
div.credit-card-name-confirm-popup-body {
  margin: 10px 10px;
}
div.present-limit-confirm-popup-body {
  margin: 10px 10px;
}
div.present-pay-error-confirm-popup-body {
  margin: 10px 10px;
}
div.credit-card-name-confirm-popup-body div.credit-card-name-flex{
  margin: 15px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
div.credit-card-name-confirm-popup-body div.credit-card-name-flex.credit-card-name-flex-top{
  margin-bottom: 2px;
}
div.credit-card-name-confirm-popup-body div.credit-card-name-flex.credit-card-name-flex-bottom{
  margin-top: 2px;
}
div.credit-card-name-confirm-popup-body div.credit-card-name-flex p{
  width: 50%
}
div.credit-card-name-confirm-popup-body div.credit-card-name-flex p.credit-card-name-kana{
  vertical-align: middle;
  line-height: 40px;
}
div.device-option-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.credit-card-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.credit-card-name-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.device-option-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: black;
  color: #f5e77e;
}
div.present-limit-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.credit-card-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: black;
  color: #f5e77e;
}
div.credit-card-name-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: black;
  color: #f5e77e;
}
div.present-limit-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: black;
  color: #f5e77e;
}
div.present-pay-error-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: black;
  color: #f5e77e;
}
div.contact-initial-cancel-button {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: relative;
}

@media (max-width: 767px) {
  div.device-option-confirm-popup {
    height: 200px;
    border: solid 10px #f5e77e;
    width: 80%;
  }
  div.device-option-confirm-popup.contact-initial-cancel{
    height: 80vh;
    overflow-y: scroll;
  }
  div.credit-card-confirm-popup {
    height: 335px;
    border: solid 10px #f5e77e;
    width: 80%;
  }
  div.credit-card-name-confirm-popup {
    height: 340px;
    border: solid 10px #f5e77e;
    width: 80%;
  }
  div.present-limit-confirm-popup {
    height: max-content;
    border: solid 10px #f5e77e;
    width: 80%;
  }

  div.present-pay-error-confirm-popup {
    height: max-content;
    border: solid 10px #f5e77e;
    width: 80%;
  }
  div.user-form-confirm-popup {
    height: 270px;
  }

  div.device-option-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.device-option-confirm-button {
    padding: 0 10px;
  }
  div.present-limit-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.present-limit-confirm-button {
    padding: 0 10px;
  }
  div.present-limit-confirm-buttons{
    position: static;
  }
  div.present-pay-error-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.present-pay-error-confirm-button {
    padding: 0 10px;
  }
  div.credit-card-confirm-button {
    width: 47%;
    height: 40px;
  }
  div.credit-card-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.credit-card-confirm-button {
    padding: 0 10px;
  }
  div.credit-card-name-confirm-button {
    width: 47%;
    height: 40px;
  }
  div.credit-card-name-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.credit-card-name-confirm-button {
    padding: 0 10px;
  }
  div.credit-card-name-confirm-popup-body div.credit-card-name-flex p{
    width: 100%;
    margin-top: 10px;
  }
  div.credit-card-name-confirm-popup-body div.credit-card-name-flex p.credit-card-name-kana{
    line-height: initial;
  }
  div.credit-card-name-confirm-popup-body #input-credit-card-kana {
    margin-top: 2px
  }
  div.credit-card-name-confirm-popup-body #input-credit-card-name {
    margin-top: 2px
  }
  div.user-form-confirm-button {
    width: 150px;
  }
}


/*規約  同意するボタン*/
div.confirm-box {
  width: 200px;
  height: 30px;
  background-color: #ffffff;
  border: 2px solid #c40a00;
  color: #c40a00;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: 0.5s;
  cursor: pointer;
}
div.confirm-box * {
  cursor: pointer;
}
div.confirm-box-selected {
  background-color: #c40a00;
}
div.confirm-box input {
  position: absolute;
  left: -20px;
  margin: auto 0;
}
.confirm-box.confirm-box-selected > label.custom-check-box p{
  color: #ffffff;
}
div.vaidation-error-area,
div.vaidation-error-area-remark {
  height: auto;
}
div.gender-label-box {
  margin-bottom: 5px;
  height: 25px;
}

@media (max-width: 767px) {
  div.gender-label-box {
    margin-top: 5px;
    margin-bottom: 10px;
  }
}

input[name="securitycode"] {
  font-size: 1.5rem;
  border: solid #acacac 1px;
}

.expire_month span{
  margin: 0 2px;
}

table.form-entry {
  width: 100%;
  max-width: 1000px;
}

div.entry-confirm-plan-edit-links p {
  line-height: 30px;
}

/* Custom checkbox */

/*  DEMO 01 CHECKBOX */
label.custom-check-box {
  position: relative;
}

label.custom-check-box input[type="checkbox"] + span::before,
label.custom-check-box input[type="radio"] + span::before {
  border-color: #333;
}
label.custom-check-box input[type="checkbox"]:checked + span::before,
label.custom-check-box input[type="radio"]:checked + span::before {
  background-color: #333;
}

label.custom-check-box span {
  display: inline-block;
}
label.custom-check-box input[type="checkbox"],
label.custom-check-box input[type="radio"] {
  opacity: 0;
  cursor: pointer;
}
label.custom-check-box input[type="checkbox"] ~ label,
label.custom-check-box input[type="radio"] ~ label,
label.custom-check-box input[type="checkbox"] ~ span,
label.custom-check-box input[type="radio"] ~ span {
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"],
input[type="checkbox"] ~ label,
input[type="radio"] ~ label,
input[type="checkbox"] ~ span,
input[type="radio"] ~ span {
  cursor: pointer;
}
label.custom-check-box input[type="checkbox"] + span::before,
label.custom-check-box input[type="checkbox"] + span::after,
label.custom-check-box input[type="radio"] + span::before,
label.custom-check-box input[type="radio"] + span::after {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-block;
  content: '';
  box-sizing: border-box;
}
label.custom-check-box input[type="checkbox"] + span::before,
label.custom-check-box input[type="radio"] + span::before {
  z-index: 0;
  background-color: #E6E6E6;
  width: 20px;
  height: 20px;
  border-radius: 0;
}
label.custom-check-box input[type="checkbox"] + span::after,
label.custom-check-box input[type="radio"] + span::after {
  z-index: 1;
  margin: 3px 6px;
  width: 7px;
  height: 10px;
}
label.custom-check-box input[type="checkbox"]:checked + span::before,
label.custom-check-box input[type="radio"]:checked + span::before  {
  background-color: #ffffff;
}
label.custom-check-box input[type="checkbox"]:checked + span::after,
label.custom-check-box input[type="radio"]:checked + span::after {
  border: 2px solid #000000;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

div.confirm-box input[type="checkbox"] + span::after,
div.confirm-box input[type="radio"] + span::after {
  margin: 0px 7px;
}

label.custom-check-box.user-radio{
  display: block;
}
label.custom-check-box.user-radio:first-of-type{
  margin-bottom: 10px;
}
label.custom-check-box.user-radio span{
  display: inline;
}

label.custom-check-box.user-radio input[type="radio"]:checked + span::before{
  background-color: #ffffff;
  border: 1px solid #bcbcbc;
}

@media (max-width: 767px) {
  label.custom-check-box input[type="checkbox"] + span::before,
  label.custom-check-box input[type="radio"] + span::before {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    top: -1px;
  }
  label.custom-check-box input[type="checkbox"] + span::after,
  label.custom-check-box input[type="radio"] + span::after {
    margin: 1px 6px;
    width: 7px;
    height: 10px;
  }
  label.custom-check-box span {
    margin-right: 5px;
  }

  div.plan-select-box-inner label.custom-check-box input[type="checkbox"] + span::before,
  div.plan-select-box-inner label.custom-check-box input[type="radio"] + span::before {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    top: -1px;
  }
  div.plan-select-box-inner label.custom-check-box input[type="checkbox"] + span::after,
  div.plan-select-box-inner label.custom-check-box input[type="radio"] + span::after {
    margin: 0px 5px;
    width: 5px;
    height: 8px;
  }

  div.option-select-area label.custom-check-box input[type="checkbox"] + span::before,
  div.option-select-area label.custom-check-box input[type="radio"] + span::before {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    top: -1px;
  }
  div.option-select-area label.custom-check-box input[type="checkbox"] + span::after,
  div.option-select-area label.custom-check-box input[type="radio"] + span::after {
    margin: 0px 5px;
    width: 5px;
    height: 8px;
  }

  div.confirm-box label.custom-check-box input[type="checkbox"] + span::before,
  div.confirm-box label.custom-check-box input[type="checkbox"] + span::before {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    top: -1px;
  }

  div.confirm-box label.custom-check-box input[type="checkbox"] + span::after,
  div.confirm-box label.custom-check-box input[type="radio"] + span::after {
    margin: -2px 5px;
    width: 5px;
    height: 8px;
  }
  label.custom-check-box.user-radio{
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

}

/* end Custom checkbox */

label.label-input {
  display: inline-block;
  margin: 5px 20px 0 0;
  width: 50px;
}

label.label-input label {
  width: 200px;
  margin-left: -5px;
  position: absolute;
  top: -2px;
  left: 30px;
}
div.confirm-box span {
  position: absolute;
  left: -50px;
  top: 3px;
}


/* *********** */
/* New with plan-select limited/unlimited */
/* *********** */

/* new form step */
@media (max-width: 767px) {
  div.confirm-box span {
    top: 7px;
  }
}

/* new form */
div.form-step-image-area {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  margin-bottom: 30px;
}
div.form-step-image-area img {
  width: 100%;
}

div.form-plan-option-box-desciption-title-box {
  margin: 30px 0;
}

div.form-plan-option-extra-description {
  box-sizing: border-box;
}
div.form-application-container div.mypage-user-container {
  max-width: 750px;
  margin: 0 auto;
}

table.mypage-form-input-table {
  margin: 20px 0;
}

div.total-price-box-history {
  margin-top: 10px;
}

div.edit-partial-plan div.form-user-background,
div.edit-partial-plan-topping1 div.form-user-background,
div.edit-partial-device-option div.form-user-background,
div.edit-partial-contractor div.form-user-background,
div.edit-partial-address div.form-user-background,
div.edit-partial-user div.form-user-background,
div.edit-partial-corp-contact div.form-user-background,
div.edit-partial-delivery div.form-user-background {
  max-width: 750px;
  margin: 0 auto;
}

div.corp-mypage-description {
  max-width: 750px;
  margin: 0 auto;
  color: #000;
}

div.form-plan-option-detail-description-button-area {
  background-color: black;
  width: 240px;
  height: 50px;
  color: #FFEB00;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

div.form-plan-option-detail-description-button div.decoration-button-wrapper,
div.form-plan-option-detail-description-button-pink div.decoration-button-wrapper {
  justify-content: flex-end;
  margin-top: -55px;
  margin-bottom: 20px;
}

div.form-plan-option-detail-description-button-area span.decoration-button-next {
  position: absolute;
  right: 20px;
}

div.decoration-button-area-form-v2 {
  width: 240px;
  margin: 10px;
  margin-right: 0px;
  text-align: center;
}

@media (max-width: 767px) {
  div.decoration-button-area-form-v2 {
    width: 150px;
  }
  div.decoration-button-area-form-v2-long {
    width: 310px;
  }
  div.decoration-button div.text-2line {
    width: 110%;
    margin-left: -10%;
  }
  div.decoration-button div.text-2line span.decoration-button-next {
    padding-right: 0;
  }
}

select.form-item-delivery {
  width: 40%;
}
div.leave-checkbox-box span::before {
  margin-top: -3px !important;
}
/* new form step */
div.form-step-image-area {
  width: 100%;
  margin-bottom: 30px;
}
div.form-step-image-area img {
  width: 100%;
}

/**************/
/* New desgin */
/* 2021/01/18~ */
/**************/

div.mypage-content-box-inner p{
  color: #000000;
  word-break: break-word;
  text-align: left;
}

/*PC・SPでの表示・非表示を切り替える*/
div.shown-pc{
  display: contents;
}

div.shown-sp{
  display: none;
}

@media screen and (max-width: 767px) {
  div.shown-pc{
    display: none;
  }

  div.shown-sp{
    display: contents;
  }
}

div.form-price-estimate-flex {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

div.form-price-table-left {
  width: 50%;
}
div.form-price-table-right {
  width: 50%;
  display: flex;
  justify-content: center;
}

div.form-price-table-total-box,
div.total-price-box-total-box{
  height: 30px;
  background-color: #ffeb00;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin: 0 5px;
}
div.total-price-box-total-box {
  background-color: #eeecec;
}
span.form-price-table-total {
  font-size: 1.2rem;
  font-weight: bold;
}
span.total-price-box-total {
  color: black;
  font-size: 2.3rem;
}
div.total-price-box-history-title-box {
  height: 30px;
  display: flex;
  align-items: center;
  margin: 0 5px;
}
span.total-price-box-history-title {
  font-size: 1.2rem;
}

div.form-plan-option-detail-description-body p {
  font-size: 1.3rem;
}

table.form-campaign-table,
table.price-estimate-table {
  width: 100%;
}
table.form-campaign-table th,
table.reset-form th {
  width: 30%;
}
table.form-campaign-table td,
table.reset-form td {
  width: 70%;
}
table.reset-form th,
table.reset-form td {
  text-align: center;
}

table.price-estimate-table th {
  width: 70%;
  text-align: left;
  padding: 5px 10px;
}
table.price-estimate-table td {
  width: 20%;
  text-align: right;
}
table.price-estimate-table td.yen {
  width: 10%;
  background-color: transparent;
  text-align: left;
}
table.price-estimate-table-contract {
  padding-top: 30px;
}

table.price-estimate-table-contract th {
  width: 60%;
}
table.price-estimate-table-contract td {
  width: 30%;
}
table.price-estimate-table-contract td.yen {
  width: 10%;
  font-size: 0.6rem;
  padding: auto 2px 0;
  white-space: nowrap;
}
div.form-top-emptry-area {
  height: 50px;
}
div.form-confirm-price {
  float: right;
  width: auto;
  margin: 20px 0;
}

table.reset-form {
  width: 100%;
  margin: 30px 0;
}

div.form-title {
  width: 300px;
  height: 100px;
  margin: 0 auto;
  position: relative;
}

div.mypage-content-box-title{
  padding: 30px 0;
  text-align: left;
  color: white;
}
div.mypage-content-box-title p {
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  line-height: 25px;
}
div.mypage-content-box-title p span {
  font-size: 1.3rem;
  letter-spacing: 0;
  padding-left: 1em;
}
div.cancel p.cancel-caution-text,
div.mypage-content-box-inner p.cancel-caution-text,
.cancel-caution-text {
  color: #c40a00;
  text-indent: -1em;
  padding-left: 1em;
  font-weight: 600;
}
.terms-agree-contents.terms-agree-red,
.terms-agree-red {
  color: #c40a00;
  font-weight: 600;
}

.cancel-font-red {
  color: #c40a00;
  font-weight: bold;
}

div.mypage-content-box-inner p span.bold {
  font-weight: bold;
}
.font-size-create {
  font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
  div.mypage-content-box-title {
    padding: 0px 0px 20px;
  }

  div.mypage-content-box-title p {
    margin-left: 0.3em;
    font-size: 1.4em;
  }
}


/* New mypage common */
div.mypage-title-area {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 90px;
  margin-top: 30px;
}
p.mypage-titile-area-title,
h1.mypage-titile-area-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-align: left;
}
div.mypage-title-area-icon {
  margin: 15px 30px 15px 0;
  width: 60px;
  height: 60px;

}
div.mypage-title-area-icon img{
  width: 100%;
  height: 100%;

}
@media screen and (max-width: 767px) {
  div.mypage-nav {
    padding: 0;
  }
  div.mypage-title-area {
    display: flex;
    align-items: flex-start;
    padding: 0 0 20px;
    height: auto;
  }
  div.mypage-title-area-icon {
    margin: 0 30px 0 0;
  }

  div.mypage-nav-item{
    width:calc(100% - 10px - 5%);
  }
}
@media screen and (max-width: 320px) {
  div.mypage-nav-item{
    height: 78px;
  }
}
div.decoration-button-area-mypage-icon {
  width: 185px;
  margin-left: 50px;
}
div.decoration-button-area-mypage-icon div.decoration-button {
  height: 40px;
}
div.decoration-button-area-mypage-icon div.decoration-button::after {
  height: 40px;
}
div.decoration-button-area-mypage-icon div.decoration-button div.text {
  padding-top: 5px;
  padding-left: 30px;
}
div.decoration-button-shokikaiyaku div.text {
  padding-left: 20px;
}

div.mypage-contract-description {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
div.mypage-contract-description div.mypage-description {
  width: 50%;
}

div.mypage-contract-description div.mypage-contract-select-container {
  width: 40%;
}
div.mypage-contract-description div.mypage-payment-history-select-container{
  width: 20%;
}
div.mypage-contract-description div.mypage-payment-history-select-container table tbody tr td{
  border:none;
  padding:0;
}

div.mypage-contract-select-container table{
  border-collapse: collapse;
}

div.mypage-contract-select-container table th {
  padding: 0 !important;
}
div.mypage-contract-select-container table td {
  background-color: white;
}

div.mypage-description-flex-left {
  text-align: left;
}

@media screen and (max-width: 767px) {
  div.mypage-description select {
    width: 100%;
    height: auto;
  }
  div.mypage-description-flex-left {
    width: 100%;
  }
  div.mypage-contract-description div.mypage-contract-select-container {
    width: 100%;
    padding: 15px 0;
  }

  p.mypage-titile-area-title,
  h1.mypage-titile-area-title {
    font-size: 2.4rem;
    line-height: 30px;
    letter-spacing: 0.06em;
  }
  p.mypage-titile-area-title-sub {
    font-size: 1.4rem;
    text-indent: 0.3rem;
  }
}

/*FAQ 回答の文字色を変更*/
div.faq-answer-text p{
  color: #000;
}

/*New Table layout*
 *2021/01/19~*
*/

table.table-base {
  border-collapse: separate;
  table-layout: fixed;
  border-spacing: 5px;
  width: 100%;
  margin: 0 auto;
  word-break: break-word;

}
table.table-base p{
  color: #000;
}
table.table-base.user-input p{
  margin-top: 0.5em;
  font-size: 1.1rem;
  line-height: 1.5rem;
}

table.table-base th,
table.table-base td {
  box-sizing: border-box;
  height: 50px;
  font-size: 1.3rem;
  padding: 0;
}
table.table-base th{
  width: 30%;
  font-weight: bold;
  text-align: center;
  position: relative;
  padding: 0 10px;
  color: #ffffff;
  background-color: #0173b8;
}
table.table-base.user-input th{
  color: #000000;
  background-color: transparent;
}
table.table-base.user-input tr:first-child th{
  border-top: 1px solid #0173b8;
}
table.table-base.user-input th:before{
  position: absolute;
  content: '';
  bottom: -2.5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #0173b8;
}
table.table-base.user-input tr:last-child th::before{
  bottom: 0;
}
table.table-base td,
table.payment-history-table th {
  color: #000;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background-color: #f2f2f2;
  vertical-align: middle;
  padding: 0 0.5em;
}
td.colmn-center{
  text-align: center;
}
#purchase-overseas-plan table.sp-long td{
  background-color: transparent;
  padding: 0;
}
#purchase-overseas-plan main.mypage-main select{
  padding: 0 0.5em;
}
div.mypage-content-box-inner.table-paymenthistory-wrapper {
  margin-top: 20px;
  padding-top: 0;
}
table.table-base.table-paymenthistory.table-paymenthistory-top {
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
}
table.table-base.table-paymenthistory{
  border-spacing: 5px 2.5px;
}
.payment-history-printing-button-wrap.payment_wrap {
    text-align: center;
}
.payment-history-printing-button-wrap.payment_wrap .payment_button{
    border: none;
    font-weight: 700;
    cursor: pointer;
    background-color: #c8f4fb;
}
table.table-paymenthistory span.imei-balloon-mypage {
    width: 290px;
    padding: 10px;
    text-align: left;
    left: 0;
    background: #fff;
    border: 1px solid var(--fuji-po-blue-1);
    color: #000;
    font-size: 1.4rem;
    border-radius: 8px;
    font-weight: normal;
}
span.imei-balloon-mypage {
    display: none;
    position: absolute;
    margin: 1.5em 0;
    padding: 0 10px;
    left: 76px;
    bottom: 19px;
    font-size: 16px;
    background: #ebebeb;
    border: 1px solid #000000;
    z-index: 1000000000000000;
}

table.table-paymenthistory span.text-bold {
    font-weight: bold;
}
table.table-paymenthistory span.balloon-text {
   display: block;
}
div.contact-imei-attention:hover span.imei-balloon-mypage {
  display: inline;
}
.paymenthistory-wrap table.table-paymenthistory span.imei-balloon-mypage::after {
    border-top: 12px solid #fff;
}

span.imei-balloon-mypage:after {
    border-top: 12px solid #ebebeb;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -12px;
    left: 40%;
    content: "";
    position: absolute;
}
table.table-paymenthistory span.imei-select-img img {
    left: 34px;
}
table.table-paymenthistory .payment-history-printing-button-wrap {
    position: relative;
}
table.table-paymenthistory .payment-history-printing-button-wrap::before {
    width: 14px;
    height: 14px;
    content: "";
    background-image: url(https://d1q08lkutgkcx2.cloudfront.net/image/download_black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 0px;
    bottom: 0;
    right: 6px;
    margin: auto;
}
.payment_container_top {
  display: flex;
  margin-left: 14px;
}
.payment_container_top .payment_box {
    display: flex;
    align-items: center;
}
.payment_container_top .payment_select {
    width: 150px;
    margin-left: 10px;
}
.payment_container_top .payment_box + .payment_box
 {
    margin-left: 30px;
}
.payment-history-printing-button-wrap.payment_wrap {
  cursor: pointer;
}
.payment-history-link {
  color: var(--fuji-po-red-2);
  border-bottom: 1px solid;
  font-family: "Noto Sans JP";
}

.mypage_scrollbar {
  max-height: 386px;
  overflow-y: auto;
  display: block;
}

.mypage_scrollbar::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.mypage_scrollbar::-webkit-scrollbar
{
	width: 4px;
	background-color: #F5F5F5;
}

.mypage_scrollbar::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}


table.table-paymenthistory tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.mypage-description-flex-left.my_page {
  font-size: 16px;
  font-weight: 700;
}

.paymenthistory-wrap .not_paid p {
    font-size: 1.5rem;
    color: #FFF;
}


.paymenthistory-wrap .not_paid .attention {
    padding-left: 1em;
    text-indent: -1em;
    font-size: 1.2rem;
    font-weight: lighter;
}
.paymenthistory-wrap .my_page p, .paymenthistory-wrap .not_paid p {
    font-size: 1.5rem;
}
div.mypage-content-box-inner p + p {
    margin-top: 6px;
}
div.mypage-content-box-inner p {
    word-break: break-word;
    text-align: left;
}

div.mypage-content-box-inner p.table-attention {
  margin-right: 10px;
  text-align: right;
}

.not_paid-wrapper table.table-base.table-paymenthistory {
  font-weight: 700;
}

.mypage-contract-description.top {
  margin-left: 10px;
}

.table-paymenthistory-top tbody tr {
  display: none;
}

.table-paymenthistory-top tbody tr.show {
  display: inline-table;
}
table.table-base td.payment-history-pdf-button{
  background-color: #c8f4fb;
}
.mypage-contract-description.not_paid {
  margin-left: 10px;
}
@media (max-width: 767px) {
  table.table-base th{
    width: 35%;
    font-size: 1.2rem;
    line-height: 1.5em;
    height: auto;
    padding: 5px 0;
  }
  table.table-base td{
    height: auto;
    padding: 10px 5px;
  }
  table.table-base.user-input tr th{
    margin-top: 1em;
  }
  table.table-base.user-input tr:first-child th{
    border: none;
    margin-top: 0;
  }
  table.table-base th:before,
  table.table-base th:after{
    display: none;
  }

  table.table-base th.hight-colmn{
    padding: 2rem 0;
  }

  table.sp-long{
    border-spacing: 0px;
  }

  table.sp-long th,
  table.sp-long td{
    width: 98%;
    border-collapse: none;
    border: none;
    margin: 0 auto;
    display: block;
  }

  table.sp-long th{
    margin:auto;
    padding: 2.5%;
  }
  main.mypage-main select{
    height: 40px;
  }
  #purchase-overseas-plan table.sp-long th{
    width: 98%;
    border: 1px solid #0173b8;
    margin-bottom: 0;
  }
  #purchase-overseas-plan table.sp-long td{
    width: 98%;
    background-color: transparent;
    padding: 0;
    margin-bottom: 1em;
  }
  #purchase-overseas-plan main.mypage-main select{
    margin-bottom: 0;
  }
  .table-paymenthistory-top td.heading {
    background-color: #0173b8;
    color: #fff;
  }
  .payment-history-last-row:not(:last-child) {
    margin-bottom: 15px;
  }
  table.table-base.table-paymenthistory.table-paymenthistory-top {
    margin-top: 10px;
  }
  div.mypage-content-box-inner p.table-attention-sp {
    margin-top: 10px;
    padding: 0 10px;
    text-align: right;
  }
}

/*カラム内結合・分割*/
table.table-split {
  border-collapse: separate;
  border-spacing: 1px 0;
  width: 100%;
  margin: 0 auto;
}

tr.split-row{
  display: table-row;
}

table.table-split th.under-bar,
table.table-split td.under-bar{
  border-bottom: 5px solid #ffffff;
}

table.table-split tr > td{
  padding: 0.8em 0.5em;
  height: auto;
}

table.payment-history-table th {
  text-align: center;
  width: 15%;
}
.split-colmn{
  width: 45%;
}
.price{
  width: 28.5%;
  text-align: center;
}

table.table-split td.pending {
  color: #c40a00;
}

/*合計のセルを黄色にする*/
table.table-base th.total,
table.table-base td.total,
table.table-split th.total,
table.table-split td.total{
  text-align: center;
  font-weight: bold;
  background-color: #f5e77e;
  color: #000000;
  border:none;
  padding: 11px 0;
}
table.table-split th.total{
  border-right: 1px solid #ffffff;
}

table.table-split td.total{
  border-left: 1px solid #ffffff;
}

table.sp-table th,
table.sp-table td {
  border: none;
}

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


  table.table-split {
    border-spacing: 5px 0;
  }

  table.table-split th{
    border-bottom:5px #ffffff solid;
  }
  table.table-split th.total{
    border-bottom:none;
  }

  table.table-base th.total,
  table.table-split th.total{
    padding: 5px 0;
  }

  table.table-split tr > td{
    text-align: left;
    height: 0.8em;
  }

  table.table-split td.pending{
    border-bottom:5px #ffffff solid;
  }

  table.table-split th.under-bar{
    border-bottom: none;
  }
}

td.password-td {
  position: relative;
}

td.password-td span.field-icon {
  position: absolute;
  right: 10px;
  top: 12px;
}

td.password-td span.field-icon.field-icon-mypage {
  right: 5%;
  top: 5px;
}

table.table-base.user-input button {
  height: 50px;
  padding: 6px 10px;
  margin-left: 9px;
  background-color: #ffffff;
  border: 1px solid #0173b8;
  color: #0173b8;
}

/*ログイン画面用*/
td.password-td span.field-icon.field-icon-mypage.input-eye {
  right: 8%;
  top: 17px;
}

@media (max-width: 767px) {
  td.password-td input{
    width: 100%;
  }
  table.table-white{
    width: 100%;
  }
}
/*少し小さめの表*/
table.table-mini{
  width: calc(100% - 13em);
}
@media (max-width: 767px) {
  table.table-mini{
    width: 100%;
  }
}

/*背景が白色の時のテーブル設定*/
table.table-white{
  width: 63%;
  margin: 0 auto 0 0;
}
table.table-white th{
  background-color: #0173b8;
}
table.table-white th:before,
table.table-white th:after{
  display: none;
}
table.table-white th.leave-th {
  border-bottom: 1px solid #0173b8;
}
table.table-white td.leave-td {
  padding: 0;
}

td.password-td span.field-icon{
  left: auto;
  right: 5%;
  top: 32%;
}
/*入力できる表
  inputのマージンを調整*/
table.td-input td{
  padding:0;
  background-color: transparent;
  color: #000;
}

table.td-input td span.field-icon{
  color: #000000;
}

/*カードの有効期限の日付幅調整*/
table.td-input select.pulldown{
  width: 25%;
}

tr.invoice_input td input:disabled{
  cursor: default;
  background: #DDDDDD;
  width: 60%;
}

@media (max-width: 767px) {
  table.table-white{
    width: 100%;
  }

  table.td-input th{
    width:95%;
    display: block;
    border-collapse: none;
    padding: 10px 2.5%;
    border: none;
    text-align: left
  }
  table.td-input td{
    display: block;
    height: auto;
  }
  table.td-input span.field-icon.field-icon-mypage{
    top: 0;
  }
  table.table-base.user-input th,
  table.table-base.user-input td{
    height: auto;
    align-items: center;
    justify-content: flex-start;
  }
  table.table-base.user-input td{
    width: 98%;
  }
  table.table-base.user-input td.leave-td{
    padding: 0;
  }

  table.table-base.user-input th{
    text-align: left;
    padding: 5px 0;
    margin-top: 1.5em;

  }
  table.table-base.user-input td input[type="text"],
  table.table-base.user-input td input[type="email"],
  table.table-base.user-input td input[type="tel"],
  table.table-base.user-input td input[type="password"]{
    height: 50px;
    margin: 0 3px;
  }
  table.table-base.user-input td.leave-td input[type="text"],
  table.table-base.user-input td.leave-td input[type="password"]{
    width: 100%;
    margin: 0;
  }

  table.table-base.user-input.td-spread td{
    padding: 15px 5px;
  }

  table.td-input select.pay-pulldown{
    height: 50px;
    width: calc(100% - 2px);
    padding: 0 10px;
    margin-left: 3px;
  }
  table.table-base.user-input button {
    margin-left: 0;
    padding: 6px 10px;
    font-size: 1.3rem;
    width: calc(98% - 57% - 22px);
  }
  /*カードの有効期限の日付幅調整*/
  table.td-input select.pulldown{
    width: 36%;
    height: 45px;
    margin-left: 5px;
  }
  tr.invoice_input td input:disabled{
    width: 100%;
  }
}
input.mypage-input-border.form-item-contractor{
  background: #f2f2f2;
}


@media screen and (max-width: 767px) {
  th {
    font-size: 1rem;
  }
  table.td-input input.mypage-input-border.col20 + span{
    margin: 0 1px;
  }
}

/*右端の小さい選択表*/
div.small-select{
  width: 40%;
  margin-right: 60%;
  position: relative;
  z-index: 1;
}
div.small-select th{
  width: 50%;
}
@media screen and (max-width: 767px) {
  div.small-select{
  width: 100%;
  margin: auto;
  }
  div.small-select th{
    width: 35%;
  }
}

/*mypage/footerのレイアウト修正
 *2021/01~
*/
footer.mypage-footer {
  padding: 0;
}

div.mypage-footer-main ul li.footer-copy{
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  div.mypage-footer-main ul li.footer-copy{
    display: none;
  }
}
/***********/
/* Mypage data usage table */
/************/
table.data-usage-table {
  border-collapse: separate;
  width: 100%;
  table-layout: fixed;
  word-break: break-word;
  box-sizing: border-box;
  border-spacing: 5px;
}

table.data-usage-table td {
  text-align: center;
  padding: 11px 0;
  background-color: #f2f2f2;
}

table.data-usage-table th {
  background-color: #0173b8;
  color: #fff;
  text-align: center;
  width: 30%;
}
/* dataflow */
textarea.text-area-inquery {
  width: 100%;
  height: 100px;
  border: solid 1px black;
}

div.scroll-box{
  overflow-y: scroll;
  max-height: 90px;
}
.scroll-box::-webkit-scrollbar {
  background:#ccc;
  width:10px;
}
.scroll-box::-webkit-scrollbar-thumb {
  background:#3c3c3c;
  border-radius: 50px;
  height: 50px;
}

div.scroll-box p{
  color: #000000;
  line-height: 2.3em;
}
@media screen and (max-width: 768px) {
  div.scroll-box{
    width: 100%;
    max-height: 100px;
  }
  div.scroll-box p{
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.5em;
  }
  .data-usage-month{
    margin-bottom: 30px;
  }
  table.data-usage-table th {
    width: 50%;
  }
}

div.payment-history-button-area{
  display: flex;
  justify-content: flex-start;
}

div.payment-history-billing-usage-switch{
  display:flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
}
div.mypage-payment-history-select-container{
  margin-left: 15px;
}
div.mypage-overseas-select-container{
  margin-left: 50%;
  z-index: 1;
}
div.corpmypage-overseas-select-container{
  z-index: 1;
}
div.decoration-button-area-square{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
  margin-right: 15px;
  transition: 0.5s;
  cursor: pointer;
  background-color: #e6e6e6;
}
div.decoration-button-area-square:hover,
div.decoration-button-area-square-selected{
  background-color: #f5e77e;
}
div.decoration-button-area-square:last-child{
  margin-right:0;
}
div.decoration-button-area-square .arrow{
  margin-left: 15px;
}
@media screen and (max-width: 767px) {
  div.payment-history-billing-usage-switch{
    flex-wrap: wrap;
  }
  div.payment-history-button-area{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  div.decoration-button-area-square{
    width: 45%;
  }
  div.mypage-payment-history-select-container{
    margin: 0;
  }
  main.mypage-main select[name="mypage-payment-history-select"]{
    height: 50px;
  }
  div.mypage-contract-description div.mypage-payment-history-select-container{
    width: 100%;
  }
}

/* mypage overseas-sub-dir */
div.mypage-contract-select-container.mypage-overseas-select-container.mypage-contract-select-container select{
  padding: 0 5%;
  text-align: center;
}

div.mypage-top-element-wrapper {
  position: relative;
  margin-bottom: 20px;
}

div.search-by-area {
  position: relative;
  height: 450px;
}
.search-by-area-image{
  height: 110%;
  background: #D9EFF6;
}
.select2 {
  border: solid 2px #0173b8;
  background-color: #ffffff;
  box-sizing: border-box;
}
.select2-container--open {
  border: solid 2px #f5e77e;
}

.corp-imei-search{
  background-color: none;
}
.corp-imei-search input{
  width: 267px;
  font-size: 1em;
  margin: 0;
}
.corp-imei-search input.mypage-input-border{
  padding: 5px 10px;
  height: 44px;
  background: transparent;
}
.corp-imei-search input.mypage-input-border:focus{
  outline: solid 1px #f5e77e;
}

@media (min-width: 768px) and (max-width: 1280px) {
  div.search-by-area {
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  span.select2 {
    width: 100%!important;
  }
}

img.worldmap-img {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  margin: 50px auto;
}

span.remark-text-small {
  font-size: 0.7rem;
}

@media screen and (max-width: 767px) {
  div.mypage-overseas-select-container{
    margin-left: 0;
    margin-top: 10px;
  }

  div.mypage-nav a {
    font-size: 1.16rem;
  }
  div.mypage-top-element div.mypage-top-title-box {
    height: 50px;
    padding-top: 10px;
    display: inline-flex;
    align-items: center;
  }

  div.mypage-top-element-wrapper {
    width: 150px;
    height: 150px;
    margin-left: 5px;
    margin-right: 5px;
  }

  div.mypage-top-element p.mypage-top-title {
    display: inline-block;
    font-size: 1.3rem;
  }
  div.mypage-top-element div.mypage-top-icon img {
    height: 50px;
  }
  div.mypage-nav a {
    font-weight: 400;
  }
  div.mypage-top-boxes {
    justify-content: center;
  }
  div.mypage-top-boxes a{
    color: #000000;
    margin-right: 2%;
  }
  div.mypage-top-element .icon-external {
    width: 15px;
    height: 15px;
    margin-left: 5px;
  }
}
/* iPhone 5*/


@media screen and (max-width: 360px) {
  div.mypage-top-element-wrapper  {
    width: 134px;
    height: 134px;
  }
  div.mypage-top-element-wrapper:hover {
    width: 130px;
    height: 130px;
  }

  div.mypage-top-element p.mypage-top-title{
    font-size: 1.2rem;
  }

  p.mypage-titile-area-title-sub {
    font-size: 1.8rem;
  }
  div.decoration-button-area-long {
    width: 210px;
  }
  table.payment-history-table th {
    font-size: 1.0rem;
  }
  table.payment-history-table td {
    font-size: 1.2rem;
  }
}

div.search-by-country-name,
div.search-by-area {
  text-align: left;
  margin: 20px 0;
}

div.search-by-country-name select {
  width: 330px;
}
select.search-by-country-name-select {
  width: 30%;
}

/*海外プラン*/
div.search-by-country-name-title,
div.search-by-area-title {
  background-color: #0173b8;
  width: 165px;
  color: white;
  padding: 5px 0 5px 6rem;
  margin-bottom: 20px;
  height: 40px;
  display: flex;
  align-items: center;
}
div.search-by-country-name-title p,
div.search-by-area-title p{
  font-size: 1.3rem;
}
main.mypage-contents select
select._dataplans:disabled  {
  background-color: #E6E6E6;
  border: 2px solid #0173b8;
}


@media screen and (max-width: 767px) {
  div.search-by-country-name-title,
  div.search-by-area-title {
    width: 40%;
    padding:0 1em;
  }

  /*スマホの時はテキスト中央*/
  div.search-by-country-name-title p,
  div.search-by-area-title p{
    width: 100%;
    text-align: center;
  }
  .search-by-area-image{
    width: 100%;
    aspect-ratio: 1.75;
  }
  img.worldmap-img {
    width: 95%;
    margin: 10px auto;
  }
  div.search-by-area {
    height: auto;
  }
  select.search-by-country-name-select {
    width: 100%;
  }
  label.label-select-country {
    margin-left: 0;
  }
}

input.mypage-user-half {
  width: 49.5%;
}

@media screen and (min-width: 767px) {
  tr.div-sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  input.mypage-user-half {
    width: calc(45% - -6px);
  }
}

div.mypage-contract-select-container table tbody tr th {
  text-align: center;
}

/*あんしん解約サポート*/

div.mypage-content-box .anshin-kaiyaku {
  text-align: left;
}

div.anshin-kaiyaku-notion{
  border: none;
  margin: 0;
  padding: 0;
  position: static;
}
div.anshin-kaiyaku-notion ul{
  padding-left: 22px;
}

div.anshin-kaiyaku-notion ul li{
  padding-bottom: 0.5em;
  text-indent: -1em;
}

div.anshin-kaiyaku-notion ul li::before{
  top:2px;
}

div.anshin-kaiyaku-notion-mypage {
  border: none;
  margin-top: 0;
  padding: 0;
}

div.anshin-kaiyaku-reason {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.reason-inner {
  width: 100%;
}

.reason-inner:first-child {
  margin-right: 35px;
}

.reason-flex{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

div.reason-inner .reason-title{
  color: #fff;
  background-color: #282828;
  width: auto;
  padding: 15px 0;
  margin: 5px 0 20px;
  height: auto;
  display: block;
  text-align: center;
}

@media screen and (max-width: 767px) {
  div.anshin-kaiyaku-reason{
    display: block;
  }
  div.anshin-kaiyaku-reason div.reason-inner {
    width: 100%;
    margin-top: 35px;
  }
  div.nav-icon-box-initial-cancel div.sub-dir-nav-box div.nav-box-text p{
    font-size:1.1rem;
  }
}

table.mypage-select-table th{
  background-color: #0173b8;
}
table.mypage-select-table tr:first-child th{
  border: none;
}
table.mypage-select-table th:before,
table.mypage-select-table th:after{
  display: none;
}

table.mypage-select-table td{
  padding-bottom: 0;
  padding-top: 0;
}
table.mypage-select-table th,
table.mypage-select-table td{
  height:auto;
}
div.row{
  margin: 0;
}
div.leave > p span{
  color: #c40a00;
}
div.leave > p span.font-bold{
  font-weight: bold;
}

.select2-selection__rendered {
  line-height: 45px !important;
}
.select2-container .select2-selection--single,
.select2-selection__arrow {
  height: 45px !important;
}

.select2-container--default .select2-selection--single {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
}
tr.data-flow-total th,
tr.data-flow-total td {
  color: #000000;
  background-color: #f5e77e;
}
tr.data-flow-total th {
  border-right: transparent;
}
tr.data-flow-total td {
  border-left: transparent;
  font-weight: bold;
}

div.data-flow-last-update {
  margin: 5px 5px 5px 0;
  color:white;
}
div.data-flow-last-update p{
  text-align: right;
}

@media screen and (max-width: 767px) {
  div.data-flow-years div.white-content-box-title.white-content-box-title-mypage {
    padding-top: 30px;
    padding-bottom: 10px;
  }
}

.corp-imei-select{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
}
.corp-imei-select-overseas{
  margin: 0;
}
.corp-imei-select p{
  background-color: black;
  color: white;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-right: 5px;
  border: 2px solid #444444;
}
.corp-imei-select div.question-mark{
  background-color: black;
  color: white;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 35px 0 20px;
  margin-right: 5px;
  border: 2px solid #444444;
}

.corp-imei-select div.question-mark img{
  top: 13px;
  right: -3px;
}

.corp-imei-select select,
.corp-imei-select-overseas.corp-imei-select select{
  width: 300px;
}

@media screen and (max-width: 767px) {
  .corp-imei-select{
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
  }
  .corp-imei-select p{
    width: 88%;
    justify-content: center;
    margin: 0;
  }
  .corp-imei-select div,
  .corp-imei-select select{
    width: 100%;
  }
  div.corp-imei-select-overseas .corp-imei-select{
    width: 100%;
  }
  .corp-imei-select div.question-mark{
    justify-content: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .corp-imei-select div.question-mark img{
    right: 19%;
    top: 53%;
    transform: translate(-50%,-50%);
  }
}

/* Mypage form change */

div.decoration-button-wrapper-back-button {
  justify-content: flex-start;
  padding-left: 50px;
  box-sizing: border-box;
}

div.mypage-nav-arrow {
  display: none;
}

/* Override decoration button in mypage for sp */
@media screen and (max-width: 767px) {
  div.decoration-button-area-long {
    width: 180px;
  }
  /* override faq icon */
  div.lp-faq-content img.faq-question-icon {
    width: 30px;
    height: 30px;
  }
  div.lp-faq-contents-v2 div.lp-faq-answer img.faq-question-icon{
    padding: 0 12px;
  }

  div.mypage-nav-wrapper {
    padding-bottom: 1em;
    overflow: hidden;
    position: relative;
  }
  div.mypage-nav {
    width: 200vw;
    margin-left: 0;
    max-width: initial;
  }
  div.mypage-nav-moved {
    margin-left: -100%;

  }
  div.mypage-nav-arrow {
    position: absolute;
    display: block;
    width: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  div.mypage-nav-arrow-left {
    left: 5px;
    z-index: 1;
  }
  div.mypage-nav-arrow-right {
    right: 5px;
    z-index: 1;
    transform: translateY(-50%) rotate(180deg);
  }

  div.mypage-nav-arrow-shown {
    display: block;
  }
  div.mypage-nav-arrow-hidden {
    display: none;
  }
  .corp-imei-search input{
    width: 100%;
    font-size: 1em;
    margin: 0;
  }
}
.leave-survey-wrapper {
  margin-top: 20px;
  margin-bottom: 10px;
}
.reason-for-cancellation-td-margin {
  margin-top: -23px;
  display: block;
}
@media screen and (max-width: 767px){
  .reason-for-cancellation-td-margin{
    margin: 0;
  }
}
@media screen and (max-width: 320px){
  div.mypage-nav-arrow img {
    position: relative;
    top: 10px;
  }
}

@media(min-width: 767px){
  a[href^="tel:"]{
    pointer-events: none;
  }
  div.mypage-content-box-inner {
    height: auto;
    margin: 50px 50px auto;
    padding-top: 20px;
  }
  div.mypage-content-box-inner.payment-box-inner {
    margin-top: 40px;
    padding-top: 40px;
  }
  div.mypage-content-box-inner.no-title{
    padding-top: 35px;
  }
}

@media(min-width: 1281px){
  div.mypage-content-box.edit-overseas{
    margin-top: 160px;
  }
}

/*data-flow data-charge*/

@media(max-width: 767px){
  div.mypage-content-box-inner {
    margin: auto 10px;
  }
  div.mypage-content-box.edit-overseas{
    margin-top: 25px;
  }

  div.mypage-content-box-data-flow-inner{
    margin: auto 25px;
  }
  span.font-space-narrow{
    letter-spacing: -0.06em;
    font-size: 1.9rem;
  }
  td.leave-td span.field-icon.field-icon-mypage.input-eye{
    top: 13px;
  }

}
.fas fa-eye toggle-password{
  position: relative;
  top:4px;
}

.fa-eye:before,
.fa-eye-slash:before{
  position: relative;
  top: 3px;
}
.password_check_eye{
  position: relative;
  top: 11px;
  cursor: pointer;
}

/*Edge・IEのみ
 *ブラウザのデフォルトで目のマークが出るので非表示にさせる
*/
input::-ms-reveal {
  visibility:hidden;
}

@media(max-width: 767px){
  .fa-eye:before,
  .fa-eye-slash:before{
    top: 8px;
  }
}
div.mypage-content-box {
  background-color: #FFFFFF;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  width: 100%;
  height: auto;
  position: relative;
  padding-bottom : 35px;
  z-index: 1;
  margin-top: 30px;
}
div.mypage-content-box.datacharge {
  padding-bottom : 45px;
}

/*タイトルなしのセクション　余白調整*/
div.edit-pass {
  padding-top : 35px;
}

div.upper-box {
  padding-bottom: 20px;
}
.margin-up{
  margin-top: 35px;
}

div.cancel{
  background-color: #fff;
}

div.cancel p{
  color: #000;
}
div.inner-upper-box{
  margin-top: 0;
}
@media(max-width: 767px){
  div.mypage-content-box{
    padding: 25px 0 30px;
  }
  div.upper-box {
    padding: 15px 0;
  }
  div.upper-box.error-box{
    margin-top: -15px;
  }
}

div.vertical-characters{
  writing-mode: vertical-rl;
  font-family: 'Montserrat bold';
  font-weight: bold;
  font-size: 10rem;
  color: #bcbcbc;
  position: absolute;
  z-index: -1;
  right: 0;
  white-space: nowrap;
  top: 20px;
  line-height: 90px;
  text-align: center;
  overflow-x: hidden;
}
div.cancel-popup-data-charge p{
  color:#000000;
}

/*任意項目のテキスト*/
span.any-text{
  font-size: 1.2rem;
  vertical-align: bottom;
}

/*初期契約解除*/
/*ページ内ナビ*/
div.guide-nav-icons{
  padding: 0;
  display: flex;
  justify-content: space-between;
}
div.guide-nav-icons .button-body p span{
  margin-right: 1em;
  margin-left: -0.5em;
}
div.guide-nav-icons .button-next{
  width: 55px;
}
div.guide-nav-icons .button-next img{
  width: 55px;
  height: 55px;
}
div.guide-nav-icons .button-body:hover{
  outline: none;
  background: #d9eff6;
}
@media screen and (max-width: 767px){
  div.guide-nav-icons{
    padding-top: 0px;
    flex-wrap: wrap;
    justify-content: center;
  }
  div.guide-nav-icons .button-next img{
    width: 50px;
    height: 50px;
  }
}

div.inital-cancel-title{
  display: flex;
  justify-content: center;
  width: auto;
  font-size: 2em;
  padding: 15px 0 30px;
}
div.inital-cancel-title p{
  font-size: 3rem;
  letter-spacing: 0;
  line-height: 35px;
  text-align: center;
}

div.cancel-step{
  font-weight: bold;
  text-align:center;
  margin-right:35px;
  margin-left: -105px;
  margin-top: 4px;
}

div.cancel-step-img img{
  width: 70px;
}

span.small-caption{
  font-size: 0.6em;
}
.cancel-text{
  width: 80%;
  text-align: left;
  margin:auto;
}
.cancel-text p{
  margin:auto;
}
.cancel-text1 p{
  width: 48%;
  margin: auto;
}
div.cancel-text2 p.cancel-notes{
  text-align: center;
  width: 90%;
}
div.cancel-text3 p.cancel-notes{
  text-align: center;
  width: 100%;
}
.cancel-figure{
  padding-top: 3em;
}

.cancel-figure img{
  width: 40%;
  display: block;
  margin: auto;
}

div.mypage-content-box-inner p.attention{
  display: inline-flex;
  justify-content: space-between;
  margin-top: 0.6em;
  font-size: 1.2rem;
}
img.yellow-notion-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 0.5em 0 0;
}

div.device-option-confirm-button{
  background-color: #f5e77e;
  color: black;
}
div.device-option-confirm-button a{
  text-decoration: none;
  color: black;
}

div.device-option-confirm-button.device-option-confirm-button-back {
    background-color: black;
    color: #f5e77e;
}

div.present-limit-confirm-button{
  background-color: #f5e77e;
  color: black;
}
div.present-limit-confirm-button a{
  text-decoration: none;
  color: black;
}
div.present-limit-confirm-button.present-limit-confirm-button-back {
  background-color: black;
  color: #f5e77e;
}

div.present-pay-error-confirm-button{
  background-color: #f5e77e;
  color: black;
}
div.present-pay-error-confirm-button a{
  text-decoration: none;
  color: black;
}
div.present-pay-error-confirm-button.present-pay-error-confirm-button-back {
  background-color: black;
  color: #f5e77e;
}

/*わからないことがあるときは*/
div.custmer-contract{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

div.initial-cancel-contact {
  margin-left: 2em;
}
div.initial-cancel-contact p{
  text-align: center;
}

p.contract-initial-cancel-contact-title {
  font-size: 2.5rem;
}

div.initial-cancel-contact a{
  text-decoration: none;
  color:#fff;
}

div.initial-cancel-contact p.l1 {
  font-size: 3.0rem;
  line-height: 4.0rem;
}
div.initial-cancel-contact p.l2 {
  font-size: 6.0rem;
  line-height: 6.0rem;
  margin-bottom: 20px;
  font-weight: bold;
}
div.initial-cancel-contact p.l3,
div.initial-cancel-contact p.l4{
  font-size: 1.5rem;
}

div.troubled-person-image {
  position: static;
  right: 0;
  bottom: 0;
  margin-left: -15%;
  width: 15%;
}

div.contract-area p{
  text-align: right;
  color: #fff;
  margin-bottom: -30px;
}

@media screen and (max-width: 767px) {
  div.cancel-step{
    margin-right: 10px;
    margin-left: -30px;
    margin-top: 7px;
  }
  div.guide-nav-icon-box{
    width: 30%;
    height: 80px;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box {
    width: 100%;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-icon{
    top: 2.5em;
    left:calc((100% - 80px) /2);
    height: 50%;
    width: 80px;
    display: flex;
    justify-content: center;
  }
  div.sub-dir-nav-box div.nav-box-number {
    font-size: 2.0rem;
    left: 6px;
    top: 6px;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-icon img {
    height: 30px;
    width: auto;
    left: 0;
    right: 0;
    margin: auto;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-icon1 img {
      height: 26px;
      margin-left: 12px;
      margin-top: 10px;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-icon2 img {
    height: 31px;
    margin-left: 20px;
    margin-top: 6px;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-icon3 img {
    height: 25px;
    margin-left: 9px;
    margin-top: 11px;
  }
  div.guide-nav-icon-box div.nav-arrow-box {
    width: 15px;
    height: 10px;
    left: 42%;
    bottom: -7px;
  }
  div.guide-nav-icon-box div.sub-dir-nav-box div.nav-box-text {
    top: 5px;
    left: 5%;
    width: 95%;
    text-align: center;
  }
  .nav-box-number{
    font-size: 1.2rem;
  }


  div.inital-cancel-title{
    font-size: 1.5em;
  }

  /*タイトル横のアイコン*/
  div.cancel-step-img img{
    width: 40px;
  }

  div.inital-cancel-title p{
    font-size: 2rem;
  }

  span.small-caption{
    font-size: 0.6em;
  }

  .cancel-figure{
    margin-top: 2em;
  }

  .cancel-figure img{
    width: 70%;
  }

  div.custmer-contract{
    display: block;
    margin: 35px 0 0 0;
  }
  div.initial-cancel-contact{
    margin: 0;
  }

  div.troubled-person-image {
    display: none;
  }

  div.initial-cancel-contact p.l1 {
    font-size: 2.3rem;
    line-height: 3rem;
    margin-top: 2.7rem;
  }
  div.initial-cancel-contact p.l2 {
    font-size: 3.5rem;
    line-height: 4rem;
    margin-bottom: 0.6rem;
  }

  div.contract-area {
    float: none;
    width: 100%;
    margin-top: 2.7rem;
  }
  div.contract-area p{
    text-align: center;
  }

  p.contract-initial-cancel-contact-title {
    line-height: 1.3em;
  }

  .cancel-text1 p{
    width: 100%;
  }

  div.cancel-text2 p.cancel-notes,
  div.cancel-text3 p.cancel-notes{
    text-align: left;
  }
  div.cancel-text2 p.cancel-notes{
    width: 100%;
  }
  div.mypage-content-box-inner p.attention{
    margin-top: 1em;
  }
  img.yellow-notion-icon {
    margin: 0.2em 0.5em 0 0;
  }

}
/*timeout処理*/
.timeout-title p,
div.timeout p{
  color: #000000;
}

div.timeout{
  background-color: #ffffff;
}

div.timeout-margin{
  margin-top: 35px;
}

/*データチャージの画面微調整*/
p.custom-check-box-v2-select-text.datacharge{
  padding: 4px 18px;
  margin-top: 10px;
  width: max-content;
}

.payment-history-printing-button-padding {
  text-align: right;
}
.payment-history-printing-button {
  background-color: #d9eff6;
  color: #000000;
  cursor: pointer;
  margin-top: 34px;
  padding: 8px 0;
  font-weight: bold;
  font-size: 1.3rem;
  border: none;
  width: 257.5px;
  transition: 0.5s;
}
.payment-history-printing-button:hover {
  background-color: #f5e77e;
}

@media screen and (max-width: 767px) {
  .payment-history-printing-button-wrap.payment_wrap .payment_button {
    padding: 0 20px 0 0;
    line-height: 1;
  }
  .payment-history-printing-button {
    width: 100%;
    margin-top: 39px;
  }
}

div.mypage-user-container-button {
  text-align: left;
  z-index: 2;
}

table.form-table {
    border-spacing: 7px;
    margin: 0 auto;
}

table.form-table span {
  color: #1E1E1E;
}

table.form-table span.mandatory {
  background-color: #c40a00;
  color: white;
  border-radius: 8px;
  position: relative;
  text-align: center;
  padding: 5px 15px;
  font-size: 1.3rem;
  margin-right: 5px;
}

table.form-table span.gray {
  background-color: gray;
  color: white;
  border-radius: 8px;
  position: relative;
  text-align: center;
  padding: 5px 15px;
  font-size: 1.3rem;
  margin-right: 5px;
}

table.form-table span.cannot_be_changed {
  color: #757575;
  margin-left: 10px;
  font-size: 1.2rem;
}

table.form-table th.reason-for-cancellation {
  vertical-align: top;
}

table.form-table tr.reason-for-cancellation-margin {
  margin-top: 50px;
}

table.form-table tr.reason-for-cancellation-space {
  height: 15px;
}

table.form-table td {
  vertical-align: top;
  padding: 0;
}

input.mypage-input-border {
  margin: 0;
  padding: 25px 10px;
  background-color: #d9eff6;
  border: none;
  border-radius: 0;
}

table.form-table td.flex-gender-area {
  display: flex;
  align-items: center;
}

p.terms-agree {
  margin-bottom: 15px;
}

p.terms-agree-contents.return-address{
  margin-bottom: 15px;
  margin-left: 0.7em;
}
div.leave-checkbox-box-desciption p.terms-agree-contents.return-address::before{
  content: none;
}

p.terms-agree-red {
  color: red;
  margin-bottom: 15px;
}

div.mandatory {
  background-color: #c40a00;
  color: white;
  width: 45px;
  border-radius: 7px;
  position: relative;
  top: 41px;
  left: 269px;
  text-align: center;
  z-index: 1;
}

div.confirm-box-entry {
  width: 100%;
  height: 60px;
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
  padding-bottom: 15px;
}

th.reason-for-cancellation span.mandatory{
    margin-left: 10px;
}

label.leave-checkbox {
  margin-left: 10px;
  cursor: pointer;
}

div.mandatory.agree-check {
  left: 340px;
  top: 30px;
  background-color: #c40a00;
}

.complete-text {
  margin: 5px 0px;
}

div.mypage-content-box-inner p.complete-text-yellow {
  color: #c40a00;
}

.complete-text-top {
  margin-top: 30px;
}

.complete-text-bottom {
  margin-bottom: 30px;
}

div.inner-upper-box-cancel{
  margin-top: 15px;
}

.button-body-cancel {
  margin-top: 20px;
}

div.device-option-confirm-button,
div.present-limit-confirm-button,
div.present-pay-error-confirm-button {
  background-color: #f5e77e;
  color: black;
  text-align: center;
}

div.device-option-confirm-button.device-option-confirm-button-back,
div.present-limit-confirm-button.present-limit-confirm-button-back,
div.present-pay-error-confirm-button.present-pay-error-confirm-button-back {
  background-color: black;
  color: #f5e77e;
}
div.present-pay-error-confirm-button.present-pay-error-confirm-button-back{
  margin: auto;
}
.cancel_move_button a {
  color: black;
  text-decoration:none;
}

@media screen and (max-width: 767px) {
  div.mypage-title-area {
    display: flex;
    align-items: flex-start;
    margin-top: 35px;
    padding: 0 0 30px;
  }

  .error-message-value {
    font-size: 1.6rem;
    padding: 15px;
    background: #FFEEEE;
    margin-bottom: 35px;
    margin-top: 30px;
    text-align: center;
  }

  label.custom-check-box.entry {
    margin-left: 60px;
  }
  div.mandatory.agree-check {
    top: -6px;
    left: 22%;
    transform: translateX(-30%);
  }
  div.mandatory.agree-check.agree-check-red-dec {
    left: 47%;
  }
}

div.content-box-inner-mypage p {
  font-size: 1.4rem;
}

div.present-limit-confirm-popup-body-already a,
div.present-pay-error-confirm-popup-body-already a{
  text-decoration: none;
  color: #c40a00;
}
table.table-base td.cancel-reason-padding {
  padding: 1em 0.7em;
}
div.cancel-reason-question{
  margin-top: 12px;
}
div.cancel-reason-answer {
  margin: 7px 0;
}
div.cancel-reason-answer:last-child{
  margin-bottom: 12px;
}

@media screen and (max-width: 767px) {
  div.content-box-title p {
    margin-bottom: 0px;
    padding-top: 30px;
    text-align: center;
  }

  div.content-box-inner-mypage p.call-time-box-mypage {
    font-size: 1rem;
    width: calc(17% - 5px);
    padding: 10px 5px;
  }

  div.content-box-inner-mypage p.call-mail-mypage {
    letter-spacing: 0em;
    font-size: 1.4rem;
  }

  div.content-box-inner-mypage p.call-time {
    font-size: 1.2rem;
  }
  div.present-limit-confirm-popup-body-already,
  div.present-pay-error-confirm-popup-body-already{
    text-align: left;
  }


  div.present-pay-error-confirm-button.present-pay-error-confirm-button-back {
    margin: auto;
  }

  div.cancel-reason-question {
    margin-top: 15px;
  }

  div.cancel-reason-answer {
    margin-bottom: 6px;
    margin-left: 12px;
  }

  table.table-base td.cancel-reason-padding {
    padding: 5px 10px;
  }
}

/* imei-balloon-corp start */
div.contact-imei-attention {
  position: relative;
}
div.contact-imei-attention:hover span.imei-balloon-corp {
  display: inline;
}
span.imei-balloon-corp {
  display: none;
  position: absolute;
  margin: 1.5em 0;
  padding: 0 10px;
  width: 150px;
  right: -44px;
  bottom: 19px;
  font-size: 16px;
  background: #ebebeb;
  border: 1px solid #000000;
  z-index: 1000000000000000;
}
span.imei-balloon-corp:before {
  border-top: 12px solid #000000;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  bottom: -13px;
  left : 30%;
  content: "";
  position: absolute;
}
span.imei-balloon-corp:after {
  border-top: 12px solid #ebebeb;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  bottom: -12px;
  left : 30%;
  content: "";
  position: absolute;
}
@media screen and (max-width: 767px) {
  span.imei-balloon-corp {
    bottom: -65%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 140px;
  }
  div.contact-imei-attention {
    position: static;
  }
}
div.question-mark-corp {
  position: relative;
  cursor: default;
}
span.imei-select-img img {
  position: absolute;
  width: 20px;
  top: -3px;
  right: 50%;
  transform: translateX(7em);
}
@media screen and (max-width: 767px) {
  span.imei-select-img img {
    width: 18px;
    top: 1.6em;
    transform: translateX(3.5em);
  }
}
@media screen and (max-width: 320px) {
  span.imei-select-img img {
    right: -8px;
  }
}
.corp-imei-select div.question-mark-corp {
  background-color: #0173b8;
  color: white;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 35px 0 20px;
  margin-right: 5px;
}
@media screen and (max-width: 767px) {
  .corp-imei-select div.question-mark-corp {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
  }
  .corp-imei-select span.imei-select-img img {
    right: calc(50% - 7.5em);
    left: auto;
    top: 50%;
    transform: translate(-50%,-50%);
  }
}
/* imei-balloon-corp end */
/* ご契約端末一覧 start */
div.mypage-content-box-corp {
  background-color: #282828;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
div.mypage-content-box-corp-caution {
  background-color: white;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-top: 30px;
  display:flex;
}
div.mypage-content-box-corp-caution-icon {
  margin: 10px 5px auto 5px;
}

th.table-space{
  width: 150px;
}

div.mypage-content-box-corp table,
div.mypage-content-box-corp th,
div.mypage-content-box-corp td {
  border-collapse: collapse;
  background-color: #f2f2f2;
}

div.mypage-content-box-corp table{
  width: 100%;
}
div.mypage-content-box-corp th,
div.mypage-content-box-corp td {
  padding: 6px 5.2px;
  vertical-align: middle;
  text-align: center;
  font-size: 1.2rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
div.mypage-content-box-corp th {
  padding: 8px;
  background-color: #0173b8;
  color:white;
  border-bottom: 4px solid #fff;
}

#myTable{
  border-left: 1px solid #fff;
}
div.mypage-content-box-corp th:last-child,
div.mypage-content-box-corp td:last-child,
div.mypage-content-box-corp td.view-the-details {
  border-right: none;
}

div.mypage-content-box-corp-select {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}
div.mypage-content-box-corp-select table,
div.mypage-content-box-corp-select th,
div.mypage-content-box-corp-select td {
  border-collapse: collapse;
  background-color: #fff;
}
div.mypage-content-box-corp-select th,
div.mypage-content-box-corp-select td {
  padding: 5px 27.15px;
  vertical-align: middle;
  text-align: center;
}
div.mypage-content-box-corp-select th {
  color:white;
}
table.table-base-corp {
  table-layout: auto;
}
table.table-base-corp td {
  border-bottom: none;
}
button.select-button {
  width: 100%;
  padding: 5px 0;
  border: none;
  border-radius: 5px;
  background-color: #f5e77e;
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
}
.margin-up-corp {
  margin-top: 30px;
}
.view-the-details {
  width: 109px;
}
.no-contracted-terminal {
  margin: 5px 0;
}
@media screen and (max-width: 767px) {
  table.table-base-corp {
    table-layout: auto;
  }
  table.table-base-corp td {
    width: 65%;
  }
  table.table-base td.search-by-select-corp-year {
    width: 65%;
    margin-bottom: 5px;
  }
  table.table-base td.corp-year-button {
    width: 65%;
  }
  table.table-base input.select-start-year {
    width: 85%;
  }
  div.select-corp-button-position {
    width: 30%;
  }
  div.select-corp-button {
    width: 100%;
  }
  div.select-corp-title {
    font-size: 1.4em;
    color: #fff;
    margin-top: 11px;
  }
  div.mypage-content-box-corp table,
  div.mypage-content-box-corp th,
  div.mypage-content-box-corp td {
    border: 5px solid #fff;
  }
  div.mypage-content-box-corp-select table,
  div.mypage-content-box-corp-select th,
  div.mypage-content-box-corp-select td {
    border: 5px solid #fff;
  }
  div.select-corp-button-cancel {
    width: 30%;
  }

  div.mypage-content-box-corp th{
    padding: 15px 8px;
  }
  div.mypage-content-box-corp th.row-option{
    padding: 5px;
  }
  #myTable{
    border-left: none;
  }
  button.select-button {
    width: 90%;
    line-height: 0;
    padding: 1.3em 0;
  }
}
@media screen and (min-width: 767px) {
  div.mypage-content-box-inner-no-contracted-terminal {
    margin-top: 0px;
  }
}
/*PC・SPでの表示・非表示を切り替える corpmypage/contract start*/
div.shown-pc-corp {
  display: block;
}
div.shown-sp-corp {
  display: none;
}
@media screen and (max-width: 767px) {
  div.shown-pc-corp{
    display: none;
  }
  div.shown-sp-corp{
    display: block;
  }
}
/*PC・SPでの表示・非表示を切り替える corpmypage/contract end*/
/* ご契約端末一覧 end */
/*法人マイページポップアップ start*/
/*ポップアップの背景を暗くする*/
div.procedure-notion-black-background {
  position: fixed;
  background-color: #000000;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000000000001;
}
/*ポップアップ全体のサイズ*/
div.white-content-box-procedure-notion {
  position: fixed;
  max-height: calc(100% - 150px - 35px - 200px);
  max-width: 920px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding: 60px 0;
  margin: auto;
  z-index: 1000000000002;
  background-color: #F3F3F3;
}
div.white-content-box-procedure-notion-two {
  position: fixed;
  max-height: calc(100% - 150px - 35px - 200px);
  max-width: 920px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding: 60px 0;
  margin: auto;
  z-index: 1000000000002;
  background-color: #F3F3F3;
}
div.white-content-box-procedure-notion-three {
  position: fixed;
  max-height: calc(100% - 150px - 35px - 200px);
  max-width: 920px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  padding: 60px 0;
  margin: auto;
  z-index: 1000000000002;
  background-color: #F3F3F3;
}
div.white-content-box-procedure-notion-expansion {
  background-color: #FFFFFF;
  outline: 10px solid #f5e77e;
  outline-offset: -3px;
}
div.white-content-box-title-procedure-notion p {
  color: #000000;
  text-align: center;
  font-size: 2.5rem;
}
div.white-content-box-body-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}
div.white-content-box-body-bottom {
  margin-top: 50px;
}
.procedure-button-body {
  width: calc((1100px - 250px - 1.5em) / 3);
  padding: 20px;
  display: flex;
  align-items: center;
  height: 50px;
  background-color: #3c3c3c;
  z-index: 1;
  cursor: pointer;

}
.procedure-button-body p {
  width: 100%;
  color: white;
  position: relative;
  right: 8px;
  text-align: center;
}
.procedure-button-body-upper-left {
  margin-right: 50px;
}

.button-center:last-child {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
/*表示エリア*/
div.white-content-box-procedure-notion div.white-content-box-inner-procedure {
  width: 90%;
  height: 90%;
  overflow-x: hidden;
  margin: 30px auto 0;
}
div.white-content-box-procedure-notion-two div.white-content-box-inner-procedure {
  width: 90%;
  height: 90%;
  overflow-x: hidden;
  margin: 30px auto 0;
}
div.white-content-box-procedure-notion-three div.white-content-box-inner-procedure {
  width: 90%;
  height: 90%;
  overflow-x: hidden;
  margin: 30px auto 0;
}
/*ポップアップ閉じるボタン*/
div.procedure-popup-close-button {
  width: 35px;
  height: 35px;
  position: absolute;
  right: -15px;
  top: -15px;
  text-align: center;
  background-color: #000000;
  border-radius: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.fa-times {
  font-size: 2rem;
}
div.procedure-popup-close-button img {
  width: 50%;
}
/*ポップアップ内タイトル*/
div.white-content-box-procedure-notion div.white-content-box-title-notion {
  padding: 0;
  margin-top: 0;
}
div.white-content-box-procedure-notion-two div.white-content-box-title-notion {
  padding: 0;
  margin-top: 0;
}
div.white-content-box-procedure-notion-three div.white-content-box-title-notion {
  padding: 0;
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  div.white-content-box-procedure-notion {
    position: fixed;
    max-height: 100%;
    max-width: 90%;
    left: 0;
    right: 0;
    padding: 60px 0;
    margin: auto;
    z-index: 1000000000002;
  }
  div.white-content-box-procedure-notion-two {
    position: fixed;
    max-height: 100%;
    max-width: 90%;
    left: 0;
    right: 0;
    padding: 60px 0;
    margin: auto;
    z-index: 1000000000002;
  }
  div.white-content-box-procedure-notion-three {
    position: fixed;
    max-height: 100%;
    max-width: 90%;
    left: 0;
    right: 0;
    padding: 60px 0;
    margin: auto;
    z-index: 1000000000002;
  }
  div.white-content-box-title-procedure-notion p {
    font-size: 18px;
  }
  div.white-content-box-body-flex {
    display: block;
  }
  .procedure-button-body {
    width: calc(100% - 42px);
  }
  div.white-content-box-procedure-notion div.white-content-box-inner-procedure {
    margin: 0 auto;
  }
  div.white-content-box-procedure-notion-two div.white-content-box-inner-procedure {
    margin: 0 auto;
  }
  div.white-content-box-procedure-notion-three div.white-content-box-inner-procedure {
    margin: 0 auto;
  }
  div.white-content-box-body-bottom {
    margin-top: 15px;
  }
  .procedure-button-body-upper-left {
    margin-right: 0;
    margin-bottom: 15px;
  }
}
/*法人マイページポップアップ end*/
/*法人マイページポップアップ 一時切り替え start*/
.hide {
  display: none;
}
/*法人マイページポップアップ 一時切り替え end*/
/*プレゼント受け取り済 or 未納の場合でキャンペーンボタン押したときのポップアップ start*/
div.procedure-campaign-received-confirm-popup {
  max-width: 490px;
  height: 215px;
  position: fixed;
  background-color: white;
  border: solid 20px #FFEB00;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 90px;
  left: 0;
  right: 0;
  display: none;
}
div.procedure-campaign-received-confirm-popup-unpaid {
  max-width: 525px;
  height: 288px;
  position: fixed;
  background-color: white;
  border: solid 20px #FFEB00;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 90px;
  left: 0;
  right: 0;
  display: none;
}
div.procedure-campaign-received-confirm-popup-title p {
  margin: 20px 0;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
div.procedure-campaign-received-confirm-popup-body {
  margin: 10px 10px;
  text-align: center;
}
div.procedure-campaign-received-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.procedure-campaign-received-confirm-button {
  width: 170px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: #FFEB00;
  color: black;
  text-align: center;
}
div.procedure-campaign-received-confirm-button-back {
  background-color: black;
  color: #FFEB00;
}
div.procedure-campaign-received-confirm-button a{
  text-decoration: none;
  color: black;
}
.procedure-dataflow-button a {
  color: black;
  text-decoration:none;
}
div.procedure-campaign-received-black-background {
  position: fixed;
  background-color: black;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}
div.procedure-campaign-received-black-background {
  z-index: 10000;
}

@media (min-width: 768px) and (max-width: 1037px) {
  div.white-content-box-procedure-notion-expansion {
    max-width: 90%;
  }
  div.white-content-box-procedure-notion-expansion .button-body {
    width: calc((990px - 250px - 1.5em) / 3);
  }
}

@media (max-width: 767px) {
  div.procedure-campaign-received-confirm-popup {
    height: 295px;
    border: solid 10px #FFEB00;
    width: 80%;
    bottom: 0;
  }
  div.procedure-campaign-received-confirm-popup-unpaid {
    height: 386px;
    border: solid 10px #FFEB00;
    width: 80%;
    bottom: 0;
  }
  div.procedure-campaign-received-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.white-content-box-procedure-notion-expansion {
    border: 3px solid #ddd;
  }

}
/*プレゼント受け取り済 or 未納の場合でキャンペーンボタン押したときのポップアップ end*/

/*秋キャンペーン おかわりGIGA*/
div.form-capacity-select.cp-charge-select{
  width: 55%;
  margin: auto;
}
div.form-capacity-select.cp-charge-select label{
  pointer-events: none;
}

div.form-capacity-select.cp-charge-select .form-capacity-select-area.datacharge{
  height: auto;
}
div.form-capacity-select-area.datacharge.cp-charge.selected .form-capacity-select-checkbox-area{
  line-height: 0;
}

div.form-capacity-select-area.cp-charge{
  align-items: center;
  border: none;
  background: transparent;
  transition: none;
}

div.form-capacity-select-area.cp-charge .form-capacity-select-image{
  width: 100%;
  box-sizing: initial;
  border: none;
  transition: none;
  border-radius: 0;
}

div.form-capacity-select-area.cp-charge div.form-capacity-select-checkbox-area{
  transform: none;
  position: static;
}
@media (max-width: 767px) {

  div.form-capacity-select.cp-charge-select{
    width: 100%;
  }
}
label.charge-img{
  width:100%;
}
.no-bottom{
  bottom: 0;
}

  /************/
  /* overseas */
  /************/
  div.overseas-step-icon-box-image.active div.overseas-step-icon-box-image-pos img {
    opacity: 1;
    transition: all 0.5s ease-out;
  }

  div.overseas-step-icon-box-image.active div.overseas-step-icon-box-image-neg img {
    opacity: 0;
    transition: all 0.5s ease-out;
  }
  div.overseas-step-icon-box-image.inactive div.overseas-step-icon-box-image-pos img {
    opacity: 0;
    transition: all 0.5s ease-out;
  }

  div.overseas-step-icon-box-image.inactive div.overseas-step-icon-box-image-neg img {
    opacity: 1;
    transition: all 0.5s ease-out;
  }

/* world map */
img.worldmap-img.active {
  opacity: 1;
  transition: all 0.2s ease-out;
}
img.worldmap-img.inactive {
  opacity: 0;
  transition: all 0.5s ease-out;
}

/*初期契約解除*/
.cancel-flexbox{
  display: flex;
  justify-content: space-between;
}
.cancel-flexbox .white-content-box-body{
  width: 70%;
}
.cancel-image{
  width: 20%;
}
.cancel-image.rental{
  width: 24%;
  margin-top: 10px;
  padding-bottom: 10px;
}
.cancel-image.rental.contract {
  margin-top: 0;
  padding-bottom: 0;
}
.cancel-image.rental > img {
  width: 100%;
}

div.mypage-content-box-inner .cancel-title p{
  text-align: center;
  font-size: 3rem;
  line-height: 3rem;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
div.mypage-content-box-inner .cancel-title p span{
  margin-right: 1em;
}
@media (max-width: 767px) {
  .button-body.guide-nav{
    margin-top: 0;
  }
  .cancel-flexbox{
    flex-direction: column;
    align-items: center;
  }
  .cancel-flexbox .white-content-box-body{
    width: auto;
  }
  .cancel-image{
    width: 60%;
    margin-top: 20px;
  }
  #guide-section-1 .mypage-content-box-inner,
  #guide-section-2 .mypage-content-box-inner,
  #guide-section-3 .mypage-content-box-inner{
    margin: auto 20px;
  }
  div.mypage-content-box-inner .cancel-title p{
    font-size: 2.4rem;
    line-height: 2.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }
  div.mypage-content-box-inner .cancel-title p span{
    margin-right: 0.8em;
  }
  .cancel-image.rental{
    width: 60%;
  }
}

/*2021/05～
  コールセンターのご案内
*/
.call-title-mypage{
  display: block;
  padding: 10px 0;
  font-size: 1.3em;
  text-align: center;
}

.customer-area-mypage{
  display: flex;
  justify-content: center;
}

h3.customer{
  font-size: 2.5em;
  text-align: center;
}

.call-info{
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.call-info img,
p.call-time-box{
  display: block;
  width: 90px;
}

p.call-time-box-mypage{
  display: block;
  width: 80px;
}

.call-info img{
  margin-bottom: 0.5em;
}

p.call-tel a,
p.call-time,
p.call-mail{
  margin-left: 25px;
}

p.call-mail-mypage{
  margin-left: 25px;
}

p.call-tel a{
  font-size: 3.3em;
  font-family: 'Montserrat 700';
  font-weight: bold;
  color: #c40a00;
  text-decoration: none;
}

div.mypage-content-box-inner p.call-time-box{
  width: 60px;
  padding: 10px;
  text-align: center;
}

div.mypage-content-box-inner p.call-time-box-mypage{
  width: 60px;
  padding: 15px;
  text-align: center;
  background: #d9eff6;
}

p.call-mail{
  font-weight: bold;
  letter-spacing: 0.2em;
  font-size: 1.2em;
}
p.call-mail-mypage{
  letter-spacing: 0.2em;
  font-size: 1.2em;
}
.white-content-box-sub-title.customer{
  text-align: center;
  margin: auto;
}

.white-content-box-sub-title.customer > div{
  text-align: left;
  display: inline-block;
}

@media (max-width: 767px) {
  .white-content-box-sub-title.customer{
    text-align: left;
  }

  .white-content-box-sub-title.customer p{
    font-size: 1.4rem;
  }

  p.call-tel a,
  p.call-time,
  p.call-mail{
  margin-left: 0px;
  }
  .call-title-mypage{
    padding: 0 0 15px;
    font-size: 1em;
  }
  p.call-mail-mypage{
    margin-left: 0px;
    font-size: 1em;
  }

  .callcenter{
    margin: 20px 0;
  }

  .callcenter::before{
    content: "";
    background-size: 75px;
    width: 75px;
    height: 90px;
    top: calc(0% - 90px - -30px - -1.25em);
    right: -15px;
  }

  .call-title{
    padding: 15px 45px 15px 15px;
    font-size: 4vmin;
    letter-spacing: 0em;
  }

  .customer-area{
    padding: 20px 0px;
  }

  .customer-area > div{
    margin: auto;
    width: 90%;
  }

  .customer-area-mypage{
    padding: 0;
  }

  .customer-area-mypage > div{
    margin: auto;
    width: 90%;
  }

  .call-info img,
  p.call-time-box{
    width: 60px;
    margin-right: 5%;
  }

  p.call-time-box-mypage{
    width: 17%;
    margin-right: 5%;
  }

  .call-info img{
    margin-bottom: 0.5em;
  }

  p.call-tel a{
    font-size: 27px;
  }

  div.content-box-inner p.call-time-box-mypage{
    font-size: 1rem;
    width: calc(17% - 5px);
    padding: 10px 5px;
  }

  div.content-box-inner p.call-time{
    font-size: 1.2rem;
  }

  div.content-box-inner p.call-mail{
    font-weight: bold;
    letter-spacing: 0em;
    font-size: 1.4rem;
  }

  div.content-box-inner p.call-mail-mypage{
    font-weight: bold;
    letter-spacing: 0em;
  }
  div.mypage-content-box-inner p.call-time-box-mypage{
    width: 55px;
    padding: 10px 2.5px;
  }
}

@media (max-width: 320px) {
  p.call-tel a{
    font-size: 1.9em;
  }

  .call-info img,
  p.call-time-box{
    width: 17%;
    margin-right: 19px;
  }

  p.call-time-box-mypage{
    width: 17%;
    margin-right: 19px;
  }

  .call-info img{
    margin-left: 6px;
  }

  div.content-box-inner p.call-time-box{
    font-size: 1.2rem;
    margin-right: 16px;
  }
  div.content-box-inner p.call-time-box-mypage{
    font-size: 1.2rem;
    margin-right: 16px;
  }
  div.content-box-inner p.call-mail{
    font-size: 1.3rem;
  }
}

/* Custom select */
label.custom-check-box-v2 {
  position: relative;
  margin: 0 15.5px 10px 2.5px;
  cursor: pointer;
}
label.custom-check-box-v2 span {
  display: inline-block;
}
label.custom-check-box-v2 input[type="checkbox"],
label.custom-check-box-v2 input[type="radio"] {
  opacity: 0;
  display: none;
}
label.custom-check-box-v2 input[type="checkbox"] + span::before,
label.custom-check-box-v2 input[type="checkbox"] + span::after,
label.custom-check-box-v2 input[type="radio"] + span::before,
label.custom-check-box-v2 input[type="radio"] + span::after {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-block;
  content: '';
  box-sizing: border-box;
}
label.custom-check-box-v2 input[type="checkbox"] + span::before,
label.custom-check-box-v2 input[type="radio"] + span::before {
  z-index: 0;
  background-color: #fff;
  width: 27px;
  height: 27px;
  border: 1px #000 solid;
  display: none;
}
label.custom-check-box-v2 input[type="checkbox"] + span::after,
label.custom-check-box-v2 input[type="radio"] + span::after {
  z-index: 1;
  margin: 1px 8px;
  width: 12px;
  height: 17px;
  display: none;
}
label.custom-check-box-v2 input[type="checkbox"]:checked + span::after,
label.custom-check-box-v2 input[type="radio"]:checked + span::after {
  border: 1.5px solid #000;
  border-width: 0 1.5px 1.5px 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
p.custom-check-box-v2-select-text {
  font-weight: 600;
  border:1px solid #505356;
  padding:5px 30px;
  margin: 5px 5px 0 5px;
  background-color: #fff;
}
p.custom-check-box-v2-select-text.div-sp {
  display: none;
}
@media screen and (max-width: 767px) {
  p.custom-check-box-v2-select-text.div-sp {
    display: block;
  }
  p.custom-check-box-v2-select-text.div-pc {
    display: none;
  }
  p.custom-check-box-v2-select-text.datacharge{
    margin-top: 5px;
  }
}

/* Form capacity */
div.form-capacity-selects {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
div.form-capacity-select {
  width: 210px;
  position: relative;
  height: auto;
}
div.form-capacity-select-area.datacharge {
  box-sizing: border-box;
  width: 100%;
  height: 336px;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
  border: 2px solid #0173b8;
  border-radius: 0;
}

div.form-capacity-remarks {
  text-align: right;
  font-size: 1.1rem;
}
div.form-capacity-select-area.active,
div.form-capacity-select-area.selected {
  box-sizing: border-box;
  border: solid 5px #c40a00;
  transition: border 0.1s;
}
div.form-capacity-select-area.active p.custom-check-box-v2-select-text,
div.form-capacity-select-area.selected p.custom-check-box-v2-select-text{
  background-color: #c40a00;
  word-break: normal;
  color: #ffffff;
  border: 0px;
  transition: border 0.1s 0.1s;
}
div.form-capacity-select-image img {
  width: 100%;
}
div.form-capacity-select-area.datacharge.active,
div.form-capacity-select-area.datacharge.selected {
  border: unset;
  outline: solid 5px #c40a00;
}

/*-------------------------------------------
    エラー画面
-------------------------------------------*/

/*タイムアウトページ*/
.button-body {
  width: calc((1100px - 250px - 1.5em) / 3);
  padding: 20px;
  display: flex;
  align-items: center;
  margin-top: 35px;
  height: 50px;
  z-index:1;
  cursor: pointer;
}

.button-body-create {
  margin-top: 0;
}

.button-body-back {
  width: calc((1020px - 40px) / 5);
  box-sizing: border-box;
  height: 40px;
  margin: 0;
  padding: 0 10px 0 20px;
}

.button-renew {
  margin-top: 35px;
}

@media screen and (max-width: 767px) {
  div.form-capacity-select-area.datacharge {
    height: auto;
  }
  div.form-capacity-select-image img {
    vertical-align: middle;
  }
}
div.form-capacity-select-checkbox-area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  div.form-capacity-select-checkbox-area {
    top: 60%;
    left: 60%;
    transform: translate(0,-50%);
  }
  div.form-capacity-selects {
    flex-wrap: wrap;
  }
  div.form-capacity-select {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin: 0 10px;
  }
  div.form-capacity-select-area {
    height: auto;
  }
}
div.decoration-button-area-disabled,
a.decoration-button-area-disabled{
  opacity: 0.5;
  pointer-events: none;
}

.overseas-popup-button:has(.decoration-button-area-disabled) {
  pointer-events: none;
}

.bg-plain-gray{
  background-color: #F3F3F3;
}

.bg-plain-gray .mypage-content-box{
  box-shadow: none;
}


.bg-plain-gray .button-body{
  box-shadow: none;
  background: #505356;
}

.bg-plain-gray .button-body p{
  color: #ffffff;
}
.bg-plain-gray span.button-triangle{
  border: none;
  transform: none;
  color: #ffffff;
  margin-left: 1em;
}

.mypage-payment-history-year-corp {
  width: 100%;
}

.button-body-corp-contract {
  margin-bottom: 5px;
}

@media screen and (max-width: 767px) {
  .button-body-corp-contract {
    width: calc((1100px - 300px - 1.5em) / 3);
  }
}

table.table-base th.payment-history-campaign {
  width: 20%;
}

div.form-capacity-notice.payment-select-caution {
  display: flex;
  align-items: center;
  margin: 40px auto;
  padding: 0;
}

div.form-capacity-notice-icon {
  width: 35px;
}

div.form-capacity-notice p {
  margin: 0 10px;
  letter-spacing: 0.11rem;
}

div.form-capacity-notice.payment span.strong {
  color: #c40a00;
  font-size: 1.7rem;
  font-weight: 600;
}

div.payment-edit-caution {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  div.form-capacity-notice.payment-select-caution {
    margin: 30px auto;
    padding: 0;
    align-items: start;
  }

  div.form-capacity-notice-icon {
    width: 25%;
  }

  div.form-capacity-notice.payment span.strong {
    font-size: 1.4rem;
  }
}

div.mypage-nav a.sp {
  display: none;
}

table.table-base.user-input caption {
  margin-top: 1em;
  caption-side: bottom;
  text-align: left;
}

table.table-base.user-input caption span {
  padding-bottom: 0.5em;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  div.mypage-nav a.sp {
    display: inline-block;
  }
}

p.unexpected-news{
  background: #f6e0d9;
  text-align: center;
  font-size: 1.8rem;
  padding: 15px 0 10px;
  font-weight: bold;
  margin-top: 45px;
}

p.unexpected-news a{
  text-decoration: none;
}


/* 契約情報 */
.contract-comment {
  padding: 15px 0;
}
.contract-comment tr:first-of-type td{
  font-size: 1.6rem;
  line-height: 2.5rem;
}
.contract-comment tr td{
  line-height: 1.8rem;
}
tr.contract-cancel-attention td{
  background: #FFFFFF;
  line-height: 1.8rem;
  padding: 10px 0;
}
@media screen and (min-width: 768px) {
  div.mypage-content-box-corp td.contract_text_left {
    text-align: left; 
    font-size: 1.1rem;
  }
}

/*-------------------------------------------
    Cancel
-------------------------------------------*/

/*解約前に乗り換えのご案内*/
.mypage-content-box.cancel-transfer{
  margin-bottom: 60px;
}
.transfer-area p span{
  font-weight: bold;
  color: #c40a00;
}

.transfer-reason{
  display: flex;
  justify-content: space-between;
  margin: 25px auto 40px;
}

.transfer-reason span{
  font-weight: bold;
}

.transfer-banner{
  margin: 25px auto;
}
.banner-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.banner-flex > img{
  width: 32%;
}

.banner-flex > .banner{
  flex-direction: column;
  align-items: center;
  width: 65%;
  margin: 0;
}

.banner-flex .banner > a{
  transition: all .2s;
}
.banner-flex .banner > a:hover{
  opacity: 0.8;
}

.banner-flex .banner > a img{
  filter: drop-shadow(0 5px 3px #999999);
}

.transfer-area div.transfer-merit{
  border: 3px solid #D9EFF6;
  margin-bottom: 30px;
}

.transfer-merit p,
.transfer-merit div h3{
  width: 80%;
  margin: 0 auto;
}

.transfer-merit p{
  margin-top: 15px;
}

.transfer-merit .center-wrapper {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.transfer-merit .center-text{
  display: inline-block;
  text-align: left;
  font-size: 1.2em;
  line-height: 1.5em;
}

.transfer-area div.transfer-info{
  background: #D9EFF6;
  padding: 15px 0;
  margin-bottom: 0; 
}

.transfer-area div.transfer-info h3{
  font-size: 1.75rem;
  padding-bottom: 15px;
}

.transfer-area div.transfer-info{
  margin: 15px auto 0;
}

.transfer-info p{
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .transfer-reason{
    margin: 25px auto 0;
    flex-direction: column;
  }

  .mypage-content-box.cancel-transfer{
    margin-bottom: 40px;
  }

  .transfer-merit .center-wrapper{
    max-width: 100%;
  }
  .transfer-area div.transfer-merit{
    margin: 30px auto 10px;
  }
  .transfer-reason .triangle{
    margin: 0 auto 10px;
  }

  .reason-flex{
    width: 50%;
    margin-bottom: 15px;
    padding: 15px ;
    background-color: #f2f5f5;
  }

  div.mypage-content-box-inner .reason-flex p{
    font-size: 12px;
  }
  .banner-flex{
    margin-top: 25px;
    flex-direction: column;
  }
  .banner-flex > img{
    width: 80%;
    margin-bottom: 20px;
  }
  .banner-flex > .banner{
    width: 98%;
  }

  .banner-flex .banner > a div{
    margin: 15px auto 0;
  }
  
  .banner-flex .banner > a img{
    width: 100%;
  }
}

/*解約申請した人向け WiMAX乗り換え*/
.mypage-content-box.cancel-transfer.cancelled{
  margin: auto;
  padding-bottom: 0;
  border-bottom: 5px solid #0173b8;
}
.mypage-content-box.cancel-transfer.cancelled .transfer-banner{
  margin: auto;
}
.mypage-content-box.cancel-transfer.cancelled div.mypage-content-box-inner{
  padding-top: 0;
  margin: 50px auto auto;
}
.mypage-content-box.cancel-transfer.cancelled .transfer-area{
  padding: 30px 50px 25px;
}
.mypage-content-box.cancel-transfer.cancelled div.mypage-content-box-title{
  padding: 30px 50px;
  background: #0173b8;
}
.mypage-content-box.cancel-transfer.cancelled div.mypage-content-box-title p{
  font-weight: bold;
  color: #ffffff;
  margin-left: 0;
  text-align: center;
}

.cancelled .banner-flex .banner{
  width: 60%; 
}
.cancelled .banner-flex .banner a img{
  width: 100%;
  filter: none;
  outline: 8px solid #f5e77e;
  outline-offset: -3px;
}
.transfer-point{
  width: 37%;
}

.transfer-point h3{
  margin: 0;
  padding-bottom: 0.5em;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}


/*解約申請した人向け WiMAX乗り換え ポップアップ*/

/*ポップアップの背景を暗くする*/
div.transfer-notion-black-background{
  position: fixed;
  background-color: #000000;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000000000001;
}
/*ポップアップ全体のサイズ*/
div.white-content-box-transfer-notion{
  position: fixed;
  max-height: 80vh;
  max-width: 1100px;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 50px 0;
  margin: auto;
  z-index: 1000000000002;
  background-color: #FFFFFF;
}
/*表示エリア*/
div.white-content-box-transfer-notion div.white-content-box-inner-transfer{
  width: 90%;
  height: auto;
  max-height: 80vh;
  margin: 0 auto;
  padding: 0 5%;
  overflow-x: hidden;
}
/*ポップアップ閉じるボタン*/
div.transfer-popup-close-button{
  width: 35px;
  height: 35px;
  position: absolute;
  right: -15px;
  top: -15px;
  text-align: center;
  background-color: #000000;
  border-radius: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
div.transfer-popup-close-button img{
  width: 50%;
}
div.white-content-box-transfer-notion div.mypage-content-box-title{
  padding: 0 0 30px;
}
div.white-content-box-transfer-notion div.mypage-content-box-title p{
  margin-left: 0;
  color: #000000;
}
@media screen and (max-width: 1440px){
  div.white-content-box-support-notion div.white-content-box-inner-support{
    width: 75%;
    height: 75%;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 767px) {
  /*解約申請した人向け WiMAX乗り換え*/
  .mypage-content-box.cancel-transfer.cancelled{
    padding: 0;
  }
  .mypage-content-box.cancel-transfer.cancelled .transfer-area{
    padding: 30px 20px 25px;
  }
  .mypage-content-box.cancel-transfer.cancelled div.mypage-content-box-title{
    padding: 20px;
  }
  div.white-content-box-transfer-notion div.white-content-box-inner-transfer{
    width: 90%;
    overflow: scroll;
  }
  .transfer-point h3{
    font-size: 1.6em;
  }
  .cancelled .banner-flex .banner{
    width: 100%; 
  }
  .transfer-point{
    width: 100%;
    margin-bottom: 25px;
  } 
  div.white-content-box-transfer-notion{
    margin: 0 5%;
    padding: 30px 0;
    height: 80vh;
  }
  .transfer-banner{
    margin: auto;
  }
  div.white-content-box-transfer-notion div.mypage-content-box-title{
    padding: 0 0 15px 0;
  }
  div.white-content-box-transfer-notion{
    bottom: 50px;
  }
  .cancelled .banner-flex {
    margin-top: 0;
  }
  
  .cancelled .banner-flex .banner a img {
    outline: 6px solid #f5e77e;
    outline-offset: 0px;
  }
}
/* 新→新乗り換え　認証画面 */
main.auth .button {
  justify-content: space-between;
}
main.auth .button-body.back {
  background-color: #F3F3F3;
}
main.auth .button-body.back span.button-triangle {
  transform: rotate(225deg) translate(0,0%);
}
main.mypage-main.auth select {
  border: none;
  background-color: #d7eef7;
  width: 20%;
  height: 50px;
}
main.mypage-main.auth select:focus-visible {
  outline: solid 2px #ffdd8d;
}
main.auth input.mypage-input-border.form-item-contractor {
  background-color: #d7eef7;
  width: 20%;
}
main.auth p.mypage-titile-area-title {
  line-height: 60px;
}
main.auth div.mypage-content-box-inner {
  padding-top: 35px;
}
@media screen and (max-width: 767px) {
  main.auth input.mypage-input-border.form-item-contractor {
    width: 25%;
  }
  main.auth table.table-base.user-input td input[type="email"] {
    width: 92%;
  }
  main.auth div.mypage-content-box-inner {
    padding-top: 0px;
  }
  main.mypage-main.auth select {
    width: 25%;
    margin: 0 3px;
  }
  main.auth p.mypage-titile-area-title {
    line-height: initial;
  }
  
}

/* 新→新乗り換え 解約画面*/

.transfer-merit .transfer-info p{
  margin: 0 auto;
  text-indent: -1em;
}
.reason-flex{
  position: relative;
  width: 31%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 15px 0 0;
  border-radius: 100vh;
  background-color: #FFFFFF;
  outline: 2px solid #0173b8;
}

.reason-flex .reason-icon{
  width: 45px;
  height: 45px;
  margin: 0 0.5em 0 -1px;
  background: #0173b8;
  align-items: center;
  display: flex;
  padding: 10px;
  border-radius: 10vh;
}
.reason-flex .reason-icon img{
  width: 45px;
  height: 45px;
}
.transfer-reason{
  margin: 25px auto;
}
.transfer-area div.transfer-info{
  margin: 0 auto;
}
.transfer-banner{
  margin: 25px auto 0;
}
.banner-flex{
  margin: 0 auto 15px;
}
.transfer-merit p{
  margin: 15px auto;
}
.transfer-area div.transfer-info h3{
  padding-bottom: 0.75em;
}
@media screen and (max-width: 767px) {
  div.mypage-content-box-inner p + img{
    margin-top: 15px;
  }
  .transfer-banner{
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .transfer-reason{
    width: 100%;
    margin: -15px auto 0;
  }
  .transfer-banner img{
    width: 30%;
  }
  .banner-flex{
    margin-top: 10px;
  }
  .reason-flex{
    width: 100%;
    padding: 0;
  }
  .reason-flex img{
    height: 40px;
  }
  .reason-flex .reason-icon,
  .reason-flex .reason-icon img{
    width: 30px;
    height: 30px;
  }
  .reason-flex .reason-icon{
    padding: 5px;
  }
  .banner-flex .banner > a div{
    margin: 0;
  }
  .transfer-area div.transfer-info h3{
    text-align: center;
  }
  .transfer-merit .transfer-info p{
    width: 83%;
    line-height: 20px;
  }

  .transfer-merit p{
    width: 85%;
  }
}

.cancelled .banner-flex{
  margin: 25px auto 15px;
  justify-content: space-between;
}

  .cancelled .transfer-point{
  margin: 0;
}
.cancelled .transfer-reason{
  display: block;
  margin: 0 auto;
}
.cancelled .transfer-point h3{
  border-bottom: 6px solid #f5e77e;
  padding-bottom: 0.5em;
  font-size: 1.6em;
}

.cancelled .reason-flex{
  width: 100%;
  margin: 15px auto;
  padding: 0;
}
.cancelled .reason-flex:last-of-type{
  margin: 15px auto 0;
}
.cancelled .reason-flex .reason-icon,
.cancelled .reason-flex .reason-icon img{
  width: 35px;
  height: 35px;
}
.cancelled .reason-flex .reason-icon{
  margin: 0 1em 0 0px;
}
.cancelled .reason-flex .reason-icon img{
  margin-left: -1px;
}
.cancelled .banner-flex .banner a img{
  margin-left: 1em;
}
.cancelled .banner-flex .banner a.banner-link-coin img {
  margin-left: 0;
}
.cancelled .banner-flex .banner a.banner-link-coin {
  margin-left: 1em;
}
.white-content-box-transfer-notion .reason-flex p{
  font-size: 1.4rem;
}

@media screen and (max-width: 767px) {
  .cancelled .banner-flex{
    width: 100%;
    margin: 25px auto 15px;
  }
  .cancelled .banner-flex .banner {
    margin-top: 25px;
  }
  .cancelled .banner-flex{
    margin: 20px auto 10px;
  }
  .cancelled .reason-flex:first-of-type{
    margin: 20px auto 15px;
  }
  div.mypage-content-box-inner .reason-flex p{
    margin: 0 auto 0 1.5em;
  }
  .cancelled .banner-flex .banner a img{
    margin-left: 0;
  }
  .cancelled .banner-flex .banner a img{
    margin-left: 0;
  }
  div.white-content-box-transfer-notion div.white-content-box-inner-transfer .transfer-area > p + img{
    margin-top: 1em;
  }
  .white-content-box-transfer-notion .reason-flex p{
    font-size: 1.2rem;
  }
}
/* 会員IDを忘れた方はこちら */
div.text-under-button small:nth-of-type(2) {
  display: inline-block;
  margin-top: 8px;
}

.mypage-edit-table-bottom{
  width: calc(100% - 13em);
  margin: 0 auto;
  padding-left: 315px;
  font-size: 1.1rem;
  line-height: 1.5rem;
}

/* 202212～ プラン変更ボタン追加による変更 */
.button.between{
  display: flex;
  flex-direction: row-reverse; 
  position: relative;
  justify-content: space-between;
}

.mypage-content-plan-text {
  width: calc((1100px - 140px) / 3);
  margin: 0 auto 0 0;
  margin-top: 15px;
  color: #000;
  font-size: 1.2rem;
  text-align: left;
}

div.leave-checkbox-box-plan {
  outline-offset: -1px;
  text-align: center;
  background-color: #FFFFFF;
  padding-top: 20px;
  padding-bottom: 30px;
  margin: 0 auto 0.1em;
  position: relative;
  width: calc(100% - 13.8em);
}

div.leave-checkbox-box-plan p {
  color: #000;
  text-align: unset;
}

.leave-checkbox-box-desciption.plan-change-desciption {
  margin-bottom: -12px;
  padding: 0px 55px;
}

p.terms-agree-plan-change,
p.terms-agree-plan-change-1, 
p.terms-agree-plan-change-2, 
p.terms-agree-plan-change-3, 
p.terms-agree-plan-change-4 {
  margin-bottom: 10px;
}

table.plan-password-table-margin {
  margin-top: 30px;
}

table.table-base td.change-plan-password-td {
  background-color: #fff;
  border: none;
}

.confirm-box-plan label.leave-checkbox {
  margin: 0;
}

div.leave-checkbox-box-plan div.confirm-box p {
  color: #c40a00;
}

div.mandatory.agree-check-plan {
  left: 195px;
  top: 27px;
}

div.mandatory.agree-check-plan p {
  color: #fff;
}

table.table-base th.after-plan-table {
  background-color: #ffffff;
  color: #0173b8;
  border: 1px solid #0173b8;
}

table.table-base td.after-plan-box {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plan-change-reservation .mypage-content-plan-text {
  margin: 15px 0 auto 0;
}

.button-contract.plan-change-reservation {
  flex-direction: column;
  align-items: end;
}

.button-next_contract{
  width: 50px;
  display: flex;
  justify-content: center;
}

.plan-cancel-popup {
  text-align: left;
}

.device-option-confirm-popup.changing_plan {
  height: 262px;
}

img.yellow-notion-icon:last-child {
  margin: auto 0.5em auto 0;
}

div.plan-confirm-button {
  width: 150px;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
  background-color: #FFEB00;
  color: black;
}
div.plan-confirm-popup {
  max-width: 400px;
  height: 200px;
  position: fixed;
  background-color: white;
  border: solid 20px #FFEB00;
  margin: auto;
  z-index: 1000000000002;
  text-align: center;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}

.plan-confirm-popup-title{
  margin: 10px 0px;
  font-size: 2rem;
}
div.plan-confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
div.plan-confirm-button-back {
  background-color: black;
  color: #FFEB00;
}
div.plan-confirm-popup-end {
  max-width: 400px;
  height: 150px;
  position: fixed;
  background-color: white;
  border: solid 20px #FFEB00;
  margin: auto;
  z-index: 1000000000002;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  text-align: center;
}

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

  div.leave-checkbox-box-plan {
    width: 97%;
    outline-offset: -1px;
    text-align: center;
    background-color: #FFFFFF;
    padding-top: 20px;
    position: relative;
  }

  div.leave-checkbox-box-plan p.leave-checkbox-box-title {
    padding: 20px 0;
  }

  div.leave-checkbox-box-plan div.mandatory.agree-check-plan {
    left: calc(50% - 135px);
    transform: none;
  }

  div.leave-checkbox-box-plan .confirm-box {
    width: 160px;
  }

  div.confirm-box-plan label.custom-check-box.entry {
    margin-left: 0;
  }

  div.confirm-box-plan span {
    left: -30px;
  }

  table.table-base td.change-plan-password-td {
    padding: 0px 5px;
  }
  
  div.button-contract.plan-change-reservation {
    flex-direction: column;
  }

  .device-option-confirm-popup.changing_plan {
    height: 285px;
  }

  div.plan-confirm-button, div.present-limit-confirm-button {
    width: 100px;
    height: 50px;
  }
  div.plan-confirm-popup {
    height: 200px;
    border: solid 10px #FFEB00;
    width: 80%;
  }
  div.plan-confirm-buttons {
    margin: 10px auto;
  }
  div.plan-confirm-popup-end {
    height: 160px;
    border: solid 10px #FFEB00;
    width: 80%;
  }
}
.button-text-plan img,
.plan-change-button img {
  width: 60px;
  height: 60px;
  padding-left: 15px;
}

@media screen and (max-width: 767px){
  .mypage-edit-table-bottom{
    width: 98%;
    margin: 6px auto 0;
    padding: 0 3px;
    box-sizing: border-box;
  }
}

/* atoneボタンを隠す(!importantでatone APIのstyleを上書き) */
.atone-button {
  display: none !important;
}

.button-text.editpayment-button-hidden {
  display: none;
}

#mypage-r2 .mypage-contents {
  display: flex;
  flex: 1;
}
#mypage-r2 #container {
  display: flex;
  flex: 1;
}
#mypage-r2 .mypage-section-container {
  max-width: 520px;
  margin-bottom: 50px;
}
#mypage-r2 .mypage-title-area {
  margin-top: 50px;
  padding: 0;
  height: auto;
}
#mypage-r2 .mypage-title-area-icon {
  margin: 0 15px 0 0;
}
#mypage-r2 .mypage-titile-area-title {
  font-size: 2.4rem;
  line-height: 1;
}
#mypage-r2 .mypage-description-flex-left p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: 20px;
}
#mypage-r2 .mypage-description-flex-left .notes {
  color: #717171;
  font-size: 1.24rem;
  margin-top: 5px;
}
#mypage-r2 .mypage-content-box {
  margin-top: 40px;
  padding: 0;
  box-shadow: none;
}
#mypage-r2 .mypage-content-box-inner {
  margin: 0;
  padding: 0;
}
#mypage-r2 .input-group {
  list-style: none;
}
#mypage-r2 .input-group li {
  margin-bottom: 25px;
}
#mypage-r2 .mypage-login-input-border {
  font-size: 1.6rem;
  height: 50px;
  padding: 0 12px;
  background-color: #eee;
  border: 2px  solid #eee;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
}
#mypage-r2 .input-password .mypage-login-input-border {
  padding-right: 48px;
}
#mypage-r2 .mypage-login-input-border:focus {
  border: 2px solid #eaf805;
  background-color: #ffffff;
}
#mypage-r2 .mypage-login-input-border::placeholder {
  color: #aaa;
}
#mypage-r2 .mypage-login-input-border:focus::placeholder {
  color: #ddd;
}
#mypage-r2 .input-password {
  position: relative;
}
#mypage-r2 .input-password .field-icon-mypage {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  width: 18px;
  height: 50px;
}
.toggle-password {
  cursor: pointer;
}
#mypage-r2 .input-password .field-icon-mypage .toggle-password {
  font-size: 1.6rem;
}
#mypage-r2 .input-password .field-icon-mypage .toggle-password::before {
  top: 1px;
  color: #717171;
}
#mypage-r2 .text-under-button {
  top: 0;
  right: 0;
  padding: 0;
  margin-top: -5px;
}
#mypage-r2 .text-under-button p {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
#mypage-r2 .text-under-notes p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #717171;
}
#mypage-r2 .button {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 36px;
  width: 100%;
  margin: 40px 0 0;
}
#mypage-r2 .button.center {
  justify-content: center;
}
#mypage-r2 .button-body p {
  margin-left: -20px;
}
#mypage-r2 #button-submit {
  display: none;
}
#mypage-r2 [for="button-submit"],
#mypage-r2 .button-text,
#mypage-r2 .user-220309 {
  font-size: 1.4rem;
  line-height: 1.3;
  width: 50%;
}
#mypage-r2 [for="button-submit"] {
  font-weight: bold;
}
#mypage-r2 .button-body:hover {
  outline: 4px solid #f5e77e;
  outline-offset: -4px;
}
#mypage-r2 span.button-triangle {
  transform: rotate(45deg) translate(-50%, 50%);
}
#mypage-r2 .user-220309 .link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-align: center;
  height: 100%;
  background-color: #0173B8;
  padding: 0 15px 0 25px;
  box-sizing: border-box;
  transition: all .2s;
}
#mypage-r2 .user-220309 .button-text {
  display: flex;
  align-items: center;
  flex: 1;
  color: #fff;
  margin-left: 10px;
}
#mypage-r2 .user-220309 .button-triangle {
  width: 10px;
  border-right-color: #fff;
  border-top-color: #fff;
}
#mypage-r2 .user-220309 .link-btn:hover {
  background-color: #555;
}
#mypage-r2 .button-body {
  width: 100%;
  height: 60px;
  padding: 15px;
  margin: 0;
  box-sizing: border-box;
}
#mypage-r2 .button-next img {
  width: 36px;
  height: 36px;
  margin-left: -18px;
}
#mypage-r2 .button-next .icon-contact {
  width: 32px;
  height: 32px;
  margin-left: -15px;
  margin-top: -3px;
}
#mypage-r2 .error-message-value {
  margin: 20px 0;
}
#mypage-r2 .mypage-content-complete .mypage-content-box-title + p {
  font-size: 1.4rem;
  line-height: 1.7;
}
@media (max-width: 767px) {
  #mypage-r2 .mypage-section-container {
    padding: 0 20px;
  }
  #mypage-r2 .mypage-title-area {
    align-items: center;
    margin-top: 40px;
  }
  #mypage-r2 p.mypage-titile-area-title {
    font-size: 2.2rem;
  }
  #mypage-r2 .mypage-titile-area-title-sub {
    display: none;
  }
  #mypage-r2 .mypage-content-box {
    margin-top: 30px;
  }
  #mypage-r2 .mypage-login-input-border {
    height: 60px;
  }
  #mypage-r2 .input-password .field-icon-mypage {
    height: 60px;
  }
  #mypage-r2 .input-group li:first-of-type {
    margin-bottom: 15px;
  }
  #mypage-r2 .button {
    flex-wrap: wrap;
    gap: 20px;
  }
  #mypage-r2 [for="button-submit"],
  #mypage-r2 .button-text,
  #mypage-r2 .user-220309 {
    width: 100%;
    height: 60px;
    max-width: 230px;
    margin: 0 auto;
  }
}

.mypage-faq-box {
  font-family: "Noto Sans JP", sans-serif;
}
.mypage-faq-box div.white-content-box-title-sub-dir p {
  text-align: center;
  margin: 20px 0;
}
.mypage-faq-box div.faq-category-title p {
  text-align: center;
}
@media (max-width: 767px) {
  .mypage-faq-box div.white-content-box-title-sub-dir p {
    font-size: 2.4rem;
    margin: 5px 0 30px;
    padding: 0;
  }
}

@media (min-width: 768px) {
  div.payment-edit-caution table.table-base {
    border-spacing: 0;
  }
  div.payment-edit-caution table.table-base.user-input th:before {
    content: none;
  }
  div.payment-edit-caution table.td-input th,
  div.payment-edit-caution table.td-input td {
    border-top: 1px solid #0173b8;
  }
  div.payment-edit-caution table.td-input tr:last-child th,
  div.payment-edit-caution table.td-input tr:last-child td {
    border-bottom: 1px solid #0173b8;
  }
  div.payment-edit-caution table.td-input td {
    padding: 10px 0;
  }
  div.device-option-confirm-popup-body-already {
    margin: 30px;
  }
}
@media (max-width: 767px) {
  div.payment-edit-caution table.table-base.user-input th, 
  div.payment-edit-caution table.table-base.user-input td {
    height: auto;
  }
  div.payment-edit-caution table.td-input td {
    margin-bottom: 10px;
  }
}

div.payment-history-billing-usage-switch .mypage-contract-select-container select{
  height: 43px;
}
.about-payment-area {
  margin: 0 0 0 75px;
}
.about-payment-area p {
  line-height: 2.5rem;
  font-size: 1.2rem;
}
.about-payment-area p a {
  text-decoration: underline;
  color: #c40a00;
}

@media (max-width: 767px) {
  div.payment-history-billing-usage-switch div.mypage-payment-history-select-container table.mypage-payment-history-table select{
    height: 43px;
  }
  div.payment-history-billing-usage-switch div.mypage-contract-select-container {
    margin-top: 5px !important;
  }
  .about-payment-area {
    margin: 23px 0 0 auto;
  }
}

/* マイページ　ボタン横並び　start */
.flex-btns-container {
  display: flex;
  justify-content: space-between;
}
.flex-btns-container.type-right {
  justify-content: right;
  gap: 25px;
}
.flex-btns-container .button {
  margin-top: 0;
}
div.mypage-section-container .flex-btns-container div.button:last-of-type {
  margin-bottom: 0px;
}
@media (max-width: 767px) {
  .flex-btns-container {
    flex-direction: column;
  }
  .flex-btns-container .button-body {
    margin-top: 0;
  }
  .flex-btns-container .button-body.button-text-create {
    margin-top: 35px;
  }
  .flex-btns-container .down-top-create {
    margin-top: 25px;
  }
  .flex-btns-container.sort-btns {
    flex-direction: column-reverse;
  }
}
/* マイページ　ボタン横並び　end */

/* mypage */
div.form-capacity-select-area.datacharge.button-body-create,
div.button-body-create {
  margin: 0;
}
.focus-area-topunder {
  margin: 10px 0;
}
div.button-text-create {
  margin-top: 35px;
}
.scroll-box-paindex {
  padding: 0 0.5em;
}
table.table-base .pa-index-0 {
  padding: 0;
}
.focus-decoration-black:focus-visible,
.dialog-btn-neg.ui-button.ui-corner-all.ui-widget:focus-visible,
.dialog-btn-red.ui-button.ui-corner-all.ui-widget:focus-visible {
  outline: solid 2px #000;
}
.focus-target-none,
.focus-target-none-2 {
  outline: none;
}
.text-font-create {
  font-size: 1.1rem;
}

.focus-top-area-sp {
  height: 150px;
  margin: 0 5px 20px 5px;
}

@media (max-width: 767px) {
  .scroll-box-paindex {
    padding: 0;
  }
}
/* サービス解約 */
.leave-survey-title h3 {
  font-size: 2.4rem;
}
.leave-survey-title h3 span.mandatory {
  background-color: var(--fuji-po-red);
  color: white;
  border-radius: 8px;
  position: relative;
  text-align: center;
  padding: 5px 15px;
  font-size: 1.1rem;
  margin-right: 5px;
  top: -5px;
}
@media (max-width: 767px) {
  .leave-survey-title h3 {
    font-size: 2rem;
  }
  .leave-survey-title h3 span.mandatory {
    padding: 3px 10px;
    font-size: 1rem;
    top: -3px;
  }
}

/* お客様情報 */
table.table-base.user-input .black-font {
  color: #000;
}
/* ご契約情報・解約 */
.button.between.btn-row-create {
  flex-direction: row;
}

@media (max-width: 767px) {
  .button.between.btn-row-create {
    flex-direction: column;
  }
}

/* ポップアップ */
.popup-container-payment-method {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 80%;
  max-width: 600px;
  text-align: center;
}

.popup-container-payment-method.hidden-popup-payment-method.active {
  display: block; /* アクティブ時に表示 */
}

.popup-close-button-payment-method {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.popup-content-payment-method h2 {
  margin: 30px 0;
  font-size: 2.5rem;
}

.popup-content-payment-method p {
  text-align: left;
}

div.popup-close-button-payment-method {
  padding: 10px 15px;
  border-radius: 30px;
  background-color: #F3F3F3;
}

.popup-container-payment-method {
  display: none; /* 非表示がデフォルト */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  z-index: 1000;
  width: 80%;
  max-width: 600px;
}

.popup-container-payment-method.active {
  display: block; /* 表示する際の設定 */
}

.close-global-data {
  opacity: 0.5;
}

div.mypage-nav a.mypage-link-black::after {
  background-color: #fff;
}

a.pink-link.news-link{
  position: relative;
  padding-right: 1rem;
}
a.pink-link.news-link::after{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--fuji-po-red-2);
}