@charset "UTF-8";

body {
  min-width: auto;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main > section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 32px;
  gap: 40px;
}

main a {
  color: var(--primary);
}

main h2.title {
  width: 100%;
  font-size: 28px;
  text-align: center;
  line-height: 1.5;
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  word-break: keep-all;
}

main h2.title span {
  font-size: 16px;
}

@media (max-width: 767px) {
  main > section {
    padding: 48px 24px;
    gap: 24px;
  }

  main h2.title {
    font-size: 24px;
  }

  main h2.title span {
    font-size: 14px;
    font-weight: normal;
  }
}

/* ログイン
-------------------------------------*/
#login {
  display: flex;
  padding: 64px 0px 56px 0px;
  flex-direction: column;
  align-items: center;
}

#login h1 {
  font-size: 32px;
}

.login_container {
  display: flex;
  max-width: calc(1024px + 32px);
  padding: 0 16px;
  width: 100%;
  margin: auto;
  padding-top: 56px;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
}

.member {
  display: flex;
  padding: 24px 56px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 16px;
  background: var(--background-blue);
  max-width: 496px;
  width: 100%;
  height: 100%;
}

.member .cvButton {
  margin: 0;
}

.member_ttl {
  font-size: 24px;
}

.member_txt_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.login_list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
}

.login_list_item a {
  position: relative;
  display: flex;
  padding: 24px 64px 24px 24px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  transition: 0.3s ease;
  color: var(--black);
}

.login_list_item a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  margin: auto;
  font-size: 2.4em;
  font-weight: normal;
  height: fit-content;
  transition: 0.3s ease;
  color: var(--primary);
  content: "\f105";
  font-family: "FontAwesome";
}

@media (hover: hover) {
  .login_list_item a:hover {
    background-color: var(--background-blue);
  }
}

.login_list_item:not(:last-of-type) {
  border-bottom: 1px solid #e7e7e7;
}

.login_ttl_wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.login_ttl {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

@media screen and (max-width: 869px) {
  #login {
    padding: 48px 24px;
  }

  #login h1 {
    font-size: 24px;
  }

  .login_container {
    flex-direction: column;
    gap: 0;
    padding: 32px 0 0;
  }

  .member_sp a {
    position: relative;
    display: flex;
    padding: 24px 44px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--background-blue);
    color: var(--black);
  }

  .member_sp a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    font-size: 2.4em;
    font-weight: normal;
    height: fit-content;
    transition: 0.3s ease;
    color: var(--primary);
    content: "\f105";
    font-family: "FontAwesome";
  }

  .member_ttl_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .member_ttl {
    color: var(--primary);
  }

  .member_ttl,
  .login_ttl {
    font-size: 18px;
  }
}

/* お申し込み
-------------------------------------*/
#contracts {
  width: 100%;
  background: var(--background-blue);
  padding: 64px 32px;
}

#contracts .boxNotice {
  max-width: 1024px;
}

#contracts .contracts_wrap {
  width: 100%;
  max-width: 1024px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 auto;
  position: relative;
  justify-content: center;
}

#contracts section {
  flex: 1;
}

#contracts .white-cnt {
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.08);
  border: var(--white) 3px solid;
  color: var(--black);
  transition: 0.3s;
  height: 100%;
}

#contracts .white-cnt h2 {
  width: 100%;
  font-size: 24px;
  text-align: center;
  margin-bottom: 40px;
}

#contracts .white-cnt h3 {
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.3;
}

#contracts .white-cnt img {
  margin-bottom: 32px;
  width: 90%;
  max-width: 180px;
  transition: 0.3s;
}

#contracts .white-cnt .button {
  width: 100%;
  padding: 12px 40px;
  max-width: 200px;
  min-width: auto;
  position: relative;
  border-radius: 200px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  color: var(--white);
  background: var(--primary);
  border: 2px solid var(--primary);
  line-height: 1;
  transition: 0.3s;
}

#contracts .white-cnt .button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  margin: auto;
  font-size: 1.6em;
  font-weight: normal;
  height: -moz-fit-content;
  height: fit-content;
  transition: 0.3s;
  color: var(--white);
  content: "\f105";
  font-family: "FontAwesome";
}

#contracts .white-cnt .button .tertiary-button {
  opacity: 0.5;
}

@media (hover: hover) {
  #contracts .white-cnt:hover,
  #contracts .white-cnt:focus {
    background: #f8fcff;
    border: var(--primary) 3px solid;
    border-radius: 16px;
  }
}

#contracts .change {
  position: relative;
}

#contracts .change .white-cnt {
  position: relative;
}

#contracts .change .white-cnt .text {
  font-size: 12px;
  margin-top: 16px;
}

#contracts .change .white-cnt h2 {
  margin-bottom: 32px;
}

@media (max-width: 620px) {
  #contracts .boxNotice {
    max-width: 446px;
  }

  #contracts {
    padding: 40px 24px;
  }

  #contracts .mainte_wrap {
    max-width: 446px;
    padding: 16px 24px;
    gap: 4px;
    flex-direction: column;
    align-items: center;
  }

  #contracts .mainte_wrap .mainte_txt_ttl {
    font-size: 16px;
    width: auto;
  }

  #contracts .contracts_wrap {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
  }

  #contracts section {
    max-width: 446px;
    width: 100%;
  }

  #contracts .white-cnt {
    padding: 24px;
    height: auto;
    border-radius: 8px;
    position: relative;
    text-align: left;
    align-items: start;
    gap: 0;
  }

  #contracts .white-cnt .button {
    display: none;
  }

  #contracts .white-cnt h2 {
    width: auto;
    margin-bottom: 0;
    font-size: 18px;
  }

  #contracts .change .white-cnt h2 {
    margin-bottom: 0;
  }

  #contracts .white-cnt:hover,
  #contracts .white-cnt:focus {
    background: var(--white);
    border: none;
    border-radius: 8px;
  }

  #contracts .white-cnt img {
    display: none;
  }

  #contracts .white-cnt .text {
    word-break: keep-all;
    margin-top: 12px;
  }

  #contracts .white-cnt::after {
    content: "\f105";
    font-family: "FontAwesome";
    position: absolute;
    right: 20px;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 46px;
    font-size: 28px;
    color: var(--primary);
    font-weight: bold;
  }

  .change #contracts .white-cnt h2 {
    margin-bottom: 0;
  }
}

/* キャンペーン
-------------------------------------*/
#cp {
  padding-bottom: 32px;
}

#cp a img {
  transition: 0.3s;
}

@media (hover: hover) {
  #cp a img:hover {
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  #cp {
    width: 100%;
    max-width: 494px;
  }
}

/* 動作確認済み端末
-------------------------------------*/
#device-list .list_box {
  width: 100%;
  max-width: 1024px;
  height: 600px;
  overflow: scroll;
  border-radius: 16px;
  background: #f8f8f8;
}

#device-list .list_box #confirmed_operation_device .device_select_box {
  padding: 48px 0 0;
}

#device-list .list_box #confirmed_operation_device #smartphoneList {
  background: transparent;
  padding-top: 48px;
}

#device-list .list_box #confirmed_operation_device #smartphoneList section {
  align-items: center;
}

#device-list
  .list_box
  #confirmed_operation_device
  #smartphoneList
  h2.brand-title {
  margin-bottom: 0;
}

#device-list .list_box #confirmed_operation_device h2 {
  align-items: start;
}

@media (max-width: 767px) {
  #device-list .list_box {
    padding: 32px 16px;
    border-radius: 8px;
    height: 400px;
    max-width: 446px;
  }

  #device-list .list_box #confirmed_operation_device .device_select_box {
    padding: 0;
  }
}

/* 機種変更の流れ
-------------------------------------*/
#flow {
  background: var(--background-blue);
}

#flow .sec_wrap {
  width: 100%;
  max-width: 1024px;
}

#flow .steps {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-top: 16px;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  margin-top: 48px;
  row-gap: 8px;
}

#flow .steps .box {
  display: flex;
  padding: 40px 24px 24px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex: 1;
  align-self: stretch;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.08);
  font-weight: bold;
  position: relative;
  text-align: center;
  word-break: keep-all;
}

#flow .steps .box span {
  width: 70px;
  height: 70px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -32px;
  border-radius: 100px;
  text-align: center;
  color: #80d4ff;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  padding-right: 6px;
}

#flow .steps .box img {
  height: 100px;
  width: auto;
}

#flow .steps .annotation {
  width: 100%;
  font-size: 12px;
}

@media (max-width: 959px) {
  #flow .steps {
    gap: 16px;
    margin-top: 32px;
  }

  #flow .steps .box {
    padding: 28px 16px 16px 16px;
    border-radius: 8px;
    font-size: 14px;
    gap: 16px;
  }

  #flow .steps .box img {
    height: 70px;
  }

  #flow .steps .box span {
    width: 48px;
    height: 48px;
    font-size: 22px;
    top: -24px;
  }
}

@media (max-width: 767px) {
  #flow .steps {
    row-gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
  }

  #flow .steps .box {
    flex: none;
    width: 100%;
    max-width: calc(50% - 16px);
    min-width: 260px;
    border-radius: 8px;
    padding: 16px 16px 16px 20px;
    gap: 20px;
    flex-direction: row-reverse;
    text-align: justify;
    justify-content: space-between;
    box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.15);
    text-align: left;
  }

  #flow .steps .box img {
    height: auto;
    max-width: 140px;
    width: 40%;
  }

  #flow .steps .box span {
    top: 0;
    left: 4px;
    border-radius: 4px;
    background: transparent;
    z-index: 1;
    opacity: 0.3;
  }
}

@media (max-width: 599px) {
  #flow .steps .box {
    width: 100%;
    max-width: 360px;
    min-width: none;
    word-break: break-all;
  }

  #flow .steps .box img {
    width: 140px;
  }
}

@media (max-width: 767px) {
  #flow .cvButton {
    margin-top: 16px;
  }
}

/* 動作確認済み端末をご用意ください
-------------------------------------*/
#device {
  width: 100%;
}

#device .cnt {
  max-width: 1024px;
  width: 100%;
  background: #ffefec;
  border-radius: 16px;
  gap: 32px;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

#device .cnt h2.title {
  color: var(--secondary);
  font-size: 24px;
}

#device .cnt .text {
  width: 100%;
  max-width: 672px;
  border-radius: 8px;
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--white);
  padding: 32px;
}

#device .cnt .text picture {
  width: 30%;
}

#device .cnt .text p {
  width: 70%;
  font-size: 16px;
  line-height: 1.7;
}

#device .cnt .listanker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  padding: 8px;
  font-weight: bold;
}

#device .cnt .listanker::after {
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 26px;
  font-weight: normal;
  transition: 0.3s;
}

@media (hover: hover) {
  #device .cnt .listanker:hover {
    text-decoration: none;
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  #device .cnt {
    max-width: 449px;
    gap: 16px;
    padding-bottom: 16px;
    border-radius: 8px;
    padding: 24px;
  }

  #device .cnt h2.title {
    margin-bottom: 8px;
    font-size: 20px;
  }

  #device .cnt .text {
    background: transparent;
    flex-direction: column-reverse;
    padding: 0;
    gap: 24px;
  }

  #device .cnt .text p {
    width: 100%;
  }

  #device .cnt .text picture {
    width: 100%;
    max-width: 200px;
  }

  #device .cnt .listanker {
    padding: 0;
    font-size: 16px;
  }

  #device .cvButton {
    margin-top: 16px;
  }
}

/* 解約
-------------------------------------*/

.retention_btn {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 16px;
  width: -moz-max-content;
  width: max-content;
  font-weight: bold;
  margin: 0 auto;
  font-size: 18px;
}

.retention_btn::after {
  font-family: "FontAwesome";
  content: "\f105";
  margin: auto;
  font-size: 20px;
}

.retention_btn:hover {
  color: var(--black);
}

.retention .boxNotice {
  max-width: 1024px;
}

@media (max-width: 767px) {
  .retention .boxNotice {
    max-width: 446px;
  }
}
