@charset "UTF-8";
/* MyPage UIkit */

#mypage {
  color: #222222;
  font-family: "Noto Sans JP", sans-serif;
}
@media (max-width: 639px) {
  #mypage {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 326px);
    margin-bottom: 1.5rem;
  }
}
nav {
  position: relative;
  z-index: 1;
}
#mypage form table {
  color: #222;
}
#mypage .mypage-button {
  text-align: center;
  margin-top: 2rem;
}
#mypage .mypage-button.button-bottom {
  margin-top: 1rem;
}
#mypage .mypage-button a,
#mypage .mypage-button input[type="button"],
#mypage .mypage-button input[type="submit"] {
  width: 100%;
  max-width: 316px;
  padding: 0.4rem 0;
  border-radius: 4px;
  color: #1e87f0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  border-color: #1e87f0;
}

#mypage .mypage-button.secondary a 
,#mypage .mypage-button.secondary input[type="button"] 
,#mypage .mypage-button.secondary input[type="submit"] {
  color: #fff;
  background-color: #1e87f0;
  border-color: #1e87f0;
}

/* マウスオーバー・マウスダウン・タッチスタート時 */
#mypage a:hover,
#mypage a:active {
  color: #2f64cd;
  opacity: 0.9;
}
#mypage .mypage-button a:hover,
#mypage .mypage-button a:active,
#mypage .mypage-button input[type="button"]:hover,
#mypage .mypage-button input[type="button"]:active,
#mypage .mypage-button input[type="submit"]:hover,
#mypage .mypage-button input[type="submit"]:active {
  color: #2f64cd;
  border-color: #2f64cd;
  opacity: 0.9;
}
#mypage .mypage-button.secondary a:hover,
#mypage .mypage-button.secondary a:active,
#mypage .mypage-button.secondary input[type="button"]:hover,
#mypage .mypage-button.secondary input[type="button"]:active,
#mypage .mypage-button.secondary input[type="submit"]:hover,
#mypage .mypage-button.secondary input[type="submit"]:active {
  color: #fff;
  background-color: #2f64cd;
  border-color: #2f64cd;
  opacity: 0.9;
}
#mypage .uk-card-header {
  white-space: nowrap;
}

/* LoginTable */
#mypage .login-table {
  width: 100%;
  max-width: 320px;
}
#mypage .login-table tr {
  display: block;
  margin-bottom: 0.65rem;
}
#mypage .login-table tr:last-child {
  margin-bottom: 0;
}
#mypage .login-table th,
#mypage .login-table td {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 0.45rem;
}
#mypage .login-table .uk-input {
  border-radius: 4px;
  border-width: 1px;
}
#mypage .login-table input.uk-input.login-field-error {
  border-color: #ff0000;
  border-width: 2px;
  border-style: solid;
}
#mypage .login-table .login-field-error-msg {
  margin: 0.5rem 0 0;
  color: #ff0000;
  font-size: 0.875rem;
  line-height: 1.5;
}

#mypage .login-table-submit {
  max-width: 316px;
  padding: 30px 0 20px 4px;
}
#mypage .login-table-submit input[type="submit"] {
  width: 100%;
  padding: 0.4rem 0;
  border-radius: 4px;
  background-color: #1e87f0;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}
#mypage .login-table-submit input[type="submit"]:hover,
#mypage .login-table-submit input[type="submit"]:active {
  background-color: #2f64cd;
  opacity: 0.9;
}
#mypage .login-notice {
  display: block;
  width: 100%;
  max-width: 316px;
  text-align: left;
}
#mypage .login-notice p {
  margin: 0.5rem 0;
}
#mypage .login-notice a {
  color: #222222;
  font-size: 0.9rem;
}
#mypage .login-notice-icon {
  color: #1e87f0;
}
#mypage .login-txt {
  max-width: 310px;
  margin: 1.5rem auto;
  text-align: left;
  font-size: 0.875rem;
  color: #222;
}
#mypage .form-alert {
  max-width: 320px;
  margin: 1.5rem auto;
  text-align: left;
  line-height: 1.8;
  font-size: 0.875rem;
  color: #ff0000;
}
@media (max-width: 639px) {
  #mypage .uk-card-body {
    padding: 0;
  }
  #mypage .login-table {
    width: 100%;
    max-width: 100%;
    padding: 2rem 0 0;
  }
  #mypage .form-alert {
    max-width: 100%;
    margin: 1.5rem auto 0;
  }
  #mypage .form-alert p {
    margin-bottom: 0;
  }

}

/* Contract */
#mypage .contract-detail {
  max-width: 900px;
  margin: 1.5rem auto 4rem;
  text-align: left;
  line-height: 1.8;
  color: #222;
  font-size: 0.88rem;
}

#mypage .contract-detail-table {
  border: 1px solid #e5e5e5;
}
#mypage .contract-detail-table td {
  padding-left: 1.2em;
  padding-right: 1.2em;
}
#mypage .contract-detail-table td:first-child {
  background-color: #f5f5f5;
  border-right: 1px solid #e5e5e5;
  text-align: left;
}

@media (max-width: 639px) {
  #mypage .contract-detail {
    max-width: 100%;
    line-height: 1.6;
  }
  #mypage .contract-detail-table {
    display: block;
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 1px solid #e5e5e5;
  }
  #mypage .contract-detail-table tr {
    display: block;
    width: 100%;
    border: 0;
  }
  
  #mypage .contract-detail-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    box-sizing: border-box;
  }
  #mypage .contract-detail-table td:first-child {
    font-size: 0.875rem;
  }
  #mypage .contract-detail-table td:first-child br {
    display: none;
  }
  #mypage .contract-detail-table td.uk-align-center {
    margin: 0;
  }
  
}


/* PCMenu */
#mypage .uk-text-meta {
  color: #222;
}
#mypage .pcmenu-main-title {
  position: relative;
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  padding-bottom: .8em;
  margin-bottom: 1.3em;
}
#mypage .pcmenu-main-title:before,#mypage .pcmenu-main-title:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 16px;
  height: 6px;
  background-color: #5395d4;
}
#mypage .pcmenu-main-title:after {
  background-color: #0072d8;
  width: 8px;
  right: 8px;
}
@media (max-width: 639px) {
  #mypage .pcmenu-main-title {
    font-size: 1.5rem;
    margin-bottom: 1em;
  }
}



#mypage .pcmenu-detail {
  max-width: 900px;
  margin: 2.5rem auto 0;
  text-align: left;
  line-height: 1.8;
  color: #222;
}

#mypage .pcmenu-notice {
  box-sizing: border-box;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #CC0000;
}
#mypage .pcmenu-notice a {
  color: #CC0000;
}

#mypage .pcmenu-detail-table {
  color: #222;
  font-size: 1rem;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}
#mypage .pcmenu-detail-table td {
  padding-left: 1.2em;
  padding-right: 1.2em;
  border-left: 1px solid #e5e5e5;
}
#mypage .pcmenu-detail-table td:nth-child(odd) {
  width: calc(210px - 2.4em);
  background-color: #f5f5f5;
}

#mypage .pc-menu-user .user-name {
  display: flex;
  align-items: flex-end;
  gap: 1em;
  margin-bottom: 1em;
  margin-bottom: 2em;
  font-size: 1rem;
  line-height: 1;
}
#mypage .pc-menu-user .user-name img {
  width: 32px;
  height: auto;
  margin-bottom: -0.3rem;
}
#mypage .pc-menu-user .user-name .name {
  font-size: 1.5rem;
}

@media (max-width: 639px) {
  #mypage .pcmenu-detail {
    margin: 1.5rem auto .5em;
  }
  
  #mypage .pcmenu-detail-table {
    font-size: .88rem;
    margin-bottom: 0;
  }
  #mypage .pcmenu-detail-table tr {
    display: flex;
    flex-wrap: wrap;
  }
  #mypage .pcmenu-detail-table td {
    display: block;
    width: 65%;
    padding: .6em 1em;
    box-sizing: border-box;
  }
  #mypage .pcmenu-detail-table td:nth-child(odd) {
    width: 35%;
  }
  #mypage .pcmenu-detail-table td:nth-child(3),  #mypage .pcmenu-detail-table td:nth-child(4) {
    border-top: 1px solid #e5e5e5;
  }
  #mypage .pc-menu-user .user-name {
    gap: 0.6em;
    margin-bottom: 1em;
    font-size: 0.88rem;
  }
  #mypage .pc-menu-user .user-name img {
    width: 23px;
    height: auto;
    margin-bottom: 0;
  }
  #mypage .pc-menu-user .user-name .name {
    font-size: 1.25rem;
  }
}


#mypage .pcmenu-container {
  margin-top: 0;
}

/* PCMenu Modal（02_PCMenu-modal） */
#modal-container-password-policy .uk-modal-dialog.password-policy-modal-dialog {
  max-width: 840px !important;
  width: 80%;
  margin: 60px auto;
  padding: 5.5rem 4rem 5rem;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  position: relative;
  text-align: center;
}
#modal-container-password-policy .uk-modal-close-default {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #222;
}
#modal-container-password-policy .uk-modal-close-default svg {
  width: 23px;
}
#modal-container-password-policy .password-policy-modal-count {
  position: absolute;
  top: 35px;
  left: 2.5rem;
  display: block;
  width: max-content;
  /* max-width: calc(100% - 8rem); */
  margin: 0;
  padding: 0;
  color: #222;
  /* font-size: 0.875rem; */
  font-weight: normal;
  line-height: 1.4;
  text-align: left;
}
#modal-container-password-policy .password-policy-modal-count-current {
  font-weight: bold;
}
#modal-container-password-policy .password-policy-modal-count-separator {
  margin: 0 0.6em;
}
#modal-container-password-policy .password-policy-modal-title {
  position: relative;
  margin: 0 0 2rem;
  padding-bottom: 2rem;
  color: #222;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: center;
  white-space: normal;
}
#modal-container-password-policy .password-policy-modal-title:before,
#modal-container-password-policy .password-policy-modal-title:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 16px;
  height: 6px;
  background-color: #5395d4;
}
#modal-container-password-policy .password-policy-modal-title:after {
  background-color: #0082e6;
  width: 8px;
  right: 8px;
}
#modal-container-password-policy .password-policy-modal-message {
  margin-top: 2.8rem;
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
}

#modal-container-password-policy .password-policy-modal-link {
  width: 100%;
  max-width: 320px;
  margin-top: 2rem;
  padding: 1rem 0;
  border-radius: 4px;
  background: #1e87f0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
#modal-container-password-policy .password-policy-modal-link:hover,
#modal-container-password-policy .password-policy-modal-link:active {
  color: #fff;
  background: #2f64cd;
  text-decoration: none;
  opacity: 0.9;
}
@media (max-width: 639px) {
  #modal-container-password-policy .uk-modal-dialog.password-policy-modal-dialog {
    width: 95%;
    padding: 3.5rem 1.5rem 2rem;;
  }
  #modal-container-password-policy .uk-modal-close-default {
    position: absolute;
    top: 16px;
    right: 18px;
    color: #222;
  }
  #modal-container-password-policy .uk-modal-close-default svg {
    width: 20px;
  }
  #modal-container-password-policy .password-policy-modal-count {
    top: 22px;
    left: 1.5rem;
    font-size: 0.875rem;
  }
  
  #modal-container-password-policy .password-policy-modal-title {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
  #modal-container-password-policy .password-policy-modal-message {
    margin-top: 1.5rem;
    font-size: 0.88rem;
  }
  #modal-container-password-policy .password-policy-modal-link {
    margin-top: 0.5rem;
    padding: 1rem 0;
    font-size: 0.88rem;
    max-width: 100%;
  }
}

/* 各ブロックごと */
#mypage .pcmenu-block {
  margin-bottom: 2rem;
  padding: 2rem 2rem 3.5rem 2rem;
  background-color: #f8f8f8;
  border-radius: 20px;
}
#mypage .pcmenu-block .pcmenu-tit {
  text-align: left;
  font-weight: bold;
  font-size: 1.5rem;
  position: relative;
  padding: 0 1em;
  margin: 0.3em auto 1.5em;
  line-height: 1;
}
#mypage .pcmenu-block .pcmenu-tit:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: .35em;
  height: 6px;
  background-color: #0072d8;
}
#mypage .pcmenu-block .pcmenu-tit:after {
  content: "";
  position: absolute;
  left: 0.35em;
  bottom: 0.1em;
  width: .35em;
  height: 6px;
  background-color: #5395d4;
}

#mypage .pcmenu-block-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2em 1.5em;
  width: 100%;
}

#mypage .pcmenu-item {
  width: calc((100% - 3em) / 3 - 3.5em);
  overflow: hidden;
  position: relative;
  padding: 1.6em 1.5em 2.2em 2em;
  background-color: #fff;
  text-align: left;
  color: #222;
  border-radius: 20px;
  transition: all 0.2s ease;
}
#mypage .pcmenu-item:hover {
  cursor: pointer;
  box-shadow: 0 0 30px 0 rgba(83, 149, 212, 0.2);
}
#mypage .pcmenu-item:hover a {
  text-decoration: none;
}
#mypage .pcmenu-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background-color: #0072d8;
}
#mypage .pcmenu-icon {
  width: 32px;
  height: auto;
  display: block;
}
#mypage .pcmenu-item-tit {
  display: flex;
  gap: 1.2em;
  height: 3em;
  margin: .8em 0 1em;
  line-height: 1.5;
  font-size: 1.25rem;
  color: #222;
  font-weight: 500;
}
#mypage .pcmenu-item-tit:after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.52em;
  border-top: 3px solid #0072d8;
  border-right: 3px solid #0072d8;
  transform: rotate(45deg);
}

#mypage .pcmenu-text-meta {
  margin: 0;
  line-height: 1.6;
  font-size: 0.88rem;
  color: #222;
}

/* 解約済みユーザーメニュー（PCResignMenu）: 囲いを3つ横並びにする */
#mypage .pcmenu-resign .pcmenu-block {
  height: 100%;
  margin-bottom: 0;
  padding: 2rem 1.8rem 2.5rem 1.8rem;
  box-sizing: border-box;
}
#mypage .pcmenu-resign .pcmenu-item {
  width: 100%;
}

@media (max-width: 639px) {
  #mypage .pcmenu-container {
    margin-top: 0;
  }
  
  /* 各ブロックごと */
  #mypage .pcmenu-block {
    margin-bottom: 1rem;
    padding: 2rem 1.8rem 3.5rem 1.8rem;
    border-radius: 0;
    box-sizing: border-box;
  }
  #mypage .pcmenu-block .pcmenu-tit {
    font-size: 1.25rem;
    padding: 0 .8em;
    margin: 0 auto 1.2em;
  }
  #mypage .pcmenu-block .pcmenu-tit:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: .25em;
    height: 5px;
    background-color: #0072d8;
  }
  #mypage .pcmenu-block .pcmenu-tit:after {
    content: "";
    position: absolute;
    left: 0.25em;
    bottom: 0.1em;
    width: .25em;
    height: 5px;
    background-color: #5395d4;
  }
  
  #mypage .pcmenu-block-content {
    display: flex;
    flex-direction: column;
    gap: .6em;
    width: 100%;
    box-sizing: border-box;
  }
  
  #mypage .pcmenu-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.2em 2.5em 1.5em 1.2em;
    border-radius: 10px;
    box-sizing: border-box;
  }
  #mypage .pcmenu-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #0072d8;
  }
  #mypage .pcmenu-icon {
    width: 28px;
    height: auto;
  }
  #mypage .pcmenu-item-tit {
    display: flex;
    gap: 1.2em;
    height: auto;
    margin: .5em 0 1.5em;
    line-height: 1.5;
    font-size: 1rem;
  }
  #mypage .pcmenu-item-tit br {
    display: none;
  }
  #mypage .pcmenu-item-tit:after {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: 0.52em;
    border-top: 2px solid #0072d8;
    border-right: 2px solid #0072d8;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    right: 1em;
    bottom: 45%;
  }
  
  #mypage .pcmenu-text-meta {
    font-size: 0.875rem;
  }
}

/* オプションブロック */
#mypage .pcmenu-item-op {
  padding: 0em 1em 2em 2em;
  font-feature-settings: "palt";
}
#mypage .pcmenu-item-op:hover {
  box-shadow: none;
  cursor: inherit;
}
#mypage .pcmenu-item-op .mt-08{
  margin-top: 0.8em;
}
#mypage .pcmenu-item-op .pcmenu-item-tit {
  height: auto;
  margin: 1em 0 .6em;
}

#mypage .pcmenu-item-op .pcmenu-item-tit:after {
  display: none;
}
#mypage .pcmenu-item-op .pcmenu-item-subtit {
  font-size: 1rem;
  margin: 1em 0 .4em;
}
#mypage .pcmenu-item-op .pcmenu-item-text {
  font-size: 0.88rem;
  margin: .8em 0 .4em;
  line-height: 1.7;
}
#mypage .pcmenu-item-op .pcmenu-item-text .small {
  font-size: 0.875rem;
}

#mypage .pcmenu-item-op .pcmenu-item-op-link {
  font-size: 0.88rem;
  display: block;
  padding: 0.2em 0;
  white-space: nowrap;
}
#mypage .pcmenu-item-op .pcmenu-item-op-link:before {
  content: "";
  line-height: 1.2;
  vertical-align: middle;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-bottom: 2px;
  margin-right: 0.8em;
  border-top: 2px solid #0072d8;
  border-right: 2px solid #0072d8;
  transform: rotate(45deg);
}
#mypage .pcmenu-item-op .external-link:after {
  content: "";
  background-image: url(../images/icons/icon-external.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
  margin-left: 0.5em;
  margin-bottom: -2px;
  display: inline-block;
}
@media (max-width: 639px) {
  #mypage .pcmenu-item-op {
    padding: 0em 1em 1em 1.2em;
  }
  #mypage .pcmenu-item-op .mt-08{
    margin-top: 0.8em;
  }
  #mypage .pcmenu-item-op .pcmenu-item-subtit {
    font-size: 0.88rem;
    margin: 1em 0 .4em;
  }
  #mypage .pcmenu-item-op .pcmenu-item-op-link {
    padding: 0.4em 0;
  }
  #mypage .pcmenu-item-op .pcmenu-item-op-link:before {
    width: 5px;
    height: 5px;
  }
}


/* シリアルキー等コピーボタン */
.serial-container {
  margin-bottom: 0.1em;
}
.serial-label {
  margin: 0;
  font-size: 0.88em;
}

.copy-text-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 4px;
  margin-left: -4px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.copy-text-trigger:hover {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}
.js-copy-target {
  text-align: left;
  line-height: 1.5;
  font-size: 0.88rem;
  letter-spacing: -0.05em;
}
.js-copy-target:after {
  content: "";
  background-image: url(../images/icons/icon-copy.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 15px;
  margin-left: 0.3em;
  margin-bottom: -2px;
  display: inline-block;
}

.tooltip-label {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
   background-color: #222; 
  color: #fff;
  font-size: 0.88em;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.tooltip-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}
.copy-text-trigger:hover .tooltip-label,
.copy-text-trigger.is-copied .tooltip-label {
  opacity: 1;
  visibility: visible;
  bottom: 130%;
}

@media (max-width: 639px) {
  .copy-text-trigger:hover .tooltip-label {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .copy-text-trigger.is-copied .tooltip-label {
    display: block;
    opacity: 1;
    visibility: visible;
    bottom: 130%;
  }
}


/* CreditCardForm */
#mypage .credit-card-form {
  max-width: 322px;
  margin: 1.5rem auto 0;
  line-height: 1.8;
  color: #222;
  font-size: 0.88rem;
  text-align: left;
}

#mypage .credit-card-form input {
  border-radius: 4px;
  border-width: 1px;
}

#mypage .credit-card-form input::placeholder {
  color: #b3b3b3;
}
#mypage .credit-card-form .credit-card-image {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
#mypage .credit-card-form .credit-card-image img {
  max-width: 100%;
  height: auto;
}
#mypage .credit-card-form .credit-card-form-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
#mypage .credit-card-form .credit-card-form-txt {
  font-size: 0.875rem;
  margin: 0.5rem 0;
  font-weight: normal;
}
#mypage .credit-card-form .credit-card-form-icon {
  font-size: 1rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
#mypage .credit-card-form .credit-card-form-cvc {
  margin-top: 1rem;
  padding: .5em 1.5em;
  background: #f8f8f8;
}
#mypage .credit-card-form .credit-card-form-notice {
  margin-top: 1.5rem;
}
#mypage .credit-card-form .credit-card-form-notice a {
  margin-left: 1.5em;
}
#mypage .credit-card-form .credit-card-form-notice .uk-icon {
  color: #0072d8;
}
#mypage .credit-card-form .credit-card-form-attention {
  margin-top: 1.5rem;
  color: #CC0000;
}

@media (max-width: 639px) {
  #mypage .credit-card-form  {
    max-width: 100%;
  }
}

/* CreditCardForm Error Message */
#mypage .credit-card-field-error-msg:empty {
  display: none;
  margin: 0;
  padding: 0;
}
#mypage .credit-card-field-error-msg:not(:empty) {
  margin: 0.5rem 0 -0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #ff0000;
}
#mypage .credit-card-form input.uk-input.credit-card-field-error {
  border-color: #ff0000;
  border-width: 2px;
  border-style: solid;
}

/* CreditCardForm Error Sample */
#mypage .credit-card-form--error-sample input.uk-input[name="CREDIT_CARD"],
#mypage .credit-card-form--error-sample input.uk-input[name="CREDIT_CARD_NAME"],
#mypage .credit-card-form--error-sample input.uk-input[name="CREDIT_MM"],
#mypage .credit-card-form--error-sample input.uk-input[name="CREDIT_YY"],
#mypage .credit-card-form--error-sample input.uk-input[name="CREDIT_SECURITY_CODE"] {
  border-color: #ff0000;
  border-width: 2px;
  border-style: solid;
}

/* CreditCardComplete */
#mypage .credit-card-complete {
  margin-bottom: 3.8em;
  text-align: center;
}
#mypage .credit-card-complete-message {
  font-size: 1.5rem;
}
#mypage .credit-card-complete-message .uk-icon {
  color: #0072d8;
}

/* ChangeRouterForm */
#mypage .form-change-router {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  font-size: 0.88rem;
}
#mypage .form-change-router label {
  margin-bottom: 1.5rem;
}
#mypage .form-change-router input[type="text"] {
  border-radius: 4px;
  border-width: 1px;
}
#mypage .form-change-router .label-bold {
  font-weight: bold;
}
#mypage .form-change-router .label-small {
  font-size: 0.875rem;
  color: #ff0000;
}
#mypage .form-change-router input[type="text"] {
  display: block;
  margin: 0.5rem 0;
  width: 55%;
}
#mypage .form-change-router .form-change-router-image {
  margin:1rem 0 4rem;
  padding: 1.8rem;
  background-color: #f8f8f8;
}

@media (max-width: 639px) {
  #mypage .form-change-router {
    max-width: 100%;
  }
  #mypage .form-change-router input[type="text"] {
    width: 100%;
  }
  #mypage .form-change-router .form-change-router-image {
    padding: 1rem;
    margin-bottom: 2rem;
  }
}
/* ChangeRouterCheck */
#mypage .change-router-check {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
  color: #222;
  font-size: 1rem;
}
#mypage .change-router-check-lead p {
  margin: .3rem 0;
}
#mypage .change-router-check-notice {
  color: #cc0000;
}
#mypage .change-router-check-table {
  margin-top: 2rem;
  border: 1px solid #e5e5e5;
  font-size: 0.88rem;
}
#mypage .change-router-check-table td {
  padding-left: 1em;
  padding-right: 1em;
}
#mypage .change-router-check-table td:first-child {
  width: 33%;
  background-color: #f5f5f5;
  border-right: 1px solid #e5e5e5;
  text-align: left;
}
#mypage .change-router-check-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
#mypage .change-router-check-actions .mypage-button {
  width: 240px;
  margin-top: 0;
}
#mypage .change-router-check-actions .change-router-confirm-form .mypage-button{
  width: 240px;
  margin-top: 0;
}
@media (max-width: 639px) {
  #mypage .change-router-check-table, #mypage .change-router-check-table tbody, #mypage .change-router-check-table tr {
    display: block;
    width: 100%;
    border: 0;
  }
  #mypage .change-router-check-table tr:first-child {
    border-top: 1px solid #e5e5e5;
  }
  #mypage .change-router-check-table td {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    border-right: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }
  #mypage .change-router-check-table td:first-child {
    display: block;
    width: 100%;
    background-color: #f5f5f5;
    border-right: 1px solid #e5e5e5;
    text-align: left;
  }
  #mypage .change-router-check-actions {
    flex-direction: column-reverse;
    margin-top: 2.5rem;
  }
  #mypage .change-router-check-actions .mypage-button {
    width: 100%;
    margin-top: 0;
  }
  #mypage .change-router-check-actions .change-router-confirm-form {
    width: 100%;
  }
  #mypage .change-router-check-actions .change-router-confirm-form .mypage-button {
    width: 100%;
  }
}

/* ChangeRouterComplete / MailSubscriptionComplete */
#mypage .change-router-complete,
#mypage .mail-subscription-complete {
  margin-bottom: 3.8em;
  text-align: center;
}
#mypage .change-router-complete-message,
#mypage .mail-subscription-complete-message {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
#mypage .change-router-complete-message .uk-icon,
#mypage .mail-subscription-complete-message .uk-icon {
  color: #0072d8;
  margin-right: 0.5rem;
}
#mypage .change-router-complete-message-txt {
  font-size: 1rem;
}
#mypage .change-router-complete-message-detail,
#mypage .mail-subscription-complete-message-detail {
  max-width: 800px;
  margin: 2.3rem auto 3rem;
  padding: 1.5rem 2rem;
  background-color: #f8f8f8;
  font-size: 0.88rem;
  text-align: left;
  line-height: 1.8;
}
#mypage .change-router-complete-message-detail p,
#mypage .mail-subscription-complete-message-detail p {
  margin: 1rem 0;
}
.change-router-complete-tel {
  text-decoration: underline;
}
#mypage .mail-subscription-complete-message-detail {
  max-width: 412px;
  padding: 1.2rem 2.5rem;
}

@media screen and (min-width: 640px) {
  .change-router-complete-tel {
    pointer-events: none;
    cursor: default;     
    text-decoration: none;
    color: inherit;
  }
}
@media (max-width: 639px) {
  #mypage .change-router-complete,
  #mypage .mail-subscription-complete {
    margin-bottom: 2.5em;
  }  
  #mypage .change-router-complete-message-detail,
  #mypage .mail-subscription-complete-message-detail {
    padding: .5rem 1.5rem;
    margin: 1rem auto 1rem;
  }
}

/* MailSubscription（09_PCMailSubscription） */
#mypage .mail-subscription {
  max-width: 410px;
  margin: 1.5rem auto 0;
  text-align: left;
  color: #222;
  line-height: 1.8;
  font-size: 0.88rem;
}
#mypage .mail-subscription-lead {
  margin: 0 0 1.5rem;
}
#mypage .mail-subscription-table {
  margin-bottom: 0.8rem;
  border: 1px solid #e5e5e5;
}
#mypage .mail-subscription-table td {
  padding: 1rem 1.2em;
}
#mypage .mail-subscription-table td:first-child {
  width: 28%;
  background-color: #f8f8f8;
  border-right: 1px solid #e5e5e5;
}
#mypage .mail-subscription-checkbox {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2em;
  background-color: #f8f8f8;
}
#mypage .mail-subscription-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  cursor: pointer;
}
#mypage .mail-subscription-note {
  margin: 0 0 0.5rem;
}
@media (max-width: 639px) {
  #mypage .mail-subscription {
    line-height: 1.6;
  }
  #mypage .mail-subscription-table td {
    padding: .5rem .8em;
  }
  #mypage .mail-subscription-table td:first-child {
    width: 30%;
  }
  #mypage .mail-subscription-checkbox {
    padding: .8rem 1em;
  }

}

