
/*---------------------------
  共通
---------------------------*/
body {
  font-family: Arial, sans-serif;
}

body.no_scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  color: #222;
}

a:hover {
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

button {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  opacity: 0.7;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}

.zenkaku-new {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.robot {
  font-family: "Roboto", sans-serif;
}

.robot_condensed {
  font-family: "Roboto Condensed", sans-serif;
}

.main_container {
  background-color: #f8f6f2;
}

@media (min-width: 768px) {
  .list_container {
    height: 100vh;
  }
}

.error_message {
  display: none;
  margin-top: 0.7vw;
  color: #d3405a;
  font-size: 2.3vw;
  font-style: normal;
  font-weight: 500;
  line-height: 2.79vw;
}
@media (min-width: 768px) {
  .error_message {
    font-size: 12px;
    line-height: 20px;
    padding-top: 3px;
  }
}

.card_update_container {
  margin: 8.0vw 5.87vw;
}
@media (min-width: 768px) {
  .card_update_container {
    margin: 30px 22px;
  }
}

/*---------------------------
  ページ上部ラベル
---------------------------*/
.top_box {
  width: 100vw;
  position: fixed;
  display: flex;
  height: 10.47vw;
  margin-top: 14.42vw;
  background-color: #C3DF9EF2;
  z-index: 10;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .top_box {
    width: 430px;
    height: 45px;
    margin-top: 62px;
    margin-left: auto;
    margin-right: auto;
  }
}

.top_text {
  display: block;
  padding-top: 3.02vw;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 4.65vw;
  font-style: normal;
  font-weight: 700;
  line-height: 4.19vw;
  letter-spacing: 0.09vw;
  z-index: 11;
}
@media (min-width: 768px) {
  .top_text {
    padding-top: 13px;
    font-size: 20px;
    line-height: 18px;
    letter-spacing: 0.4px;
  }
}

/*---------------------------
  登録枚数(5枚)文言
---------------------------*/
.card_update_header {
  display: flex;
  width: 100%;
  height: 21.33vw;
  margin: 0 auto;
  padding-top: 28.53vw;
  border-bottom: solid 0.27vw #D3D3D3;
}
@media (min-width: 768px) {
  .card_update_header {
    height: 80px;
    padding-top: 107px;
    border-bottom: solid 1px #D3D3D3;
  }
}

.cart_update_header_text {
  margin: 8.0vw 0vw 0vw 5.87vw;
  color: #222;
  font-size: 4.27vw;
  font-style: normal;
  font-weight: 500;
  line-height: 4.27vww;
  letter-spacing: 0.09vw;
}
@media (min-width: 768px) {
  .cart_update_header_text {
    margin: 30px 0px 0px 22px;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.32px;
  }
}

/*---------------------------
  登録済みカード
---------------------------*/
.registered_card_info_box {
  display: flex;
  align-items: center;
  width: 90vw;
  margin-top: 3.49vw;
  border-radius: 2.33vw;
  box-shadow: 0px 0px 1.16vw 0px rgba(0, 0, 0, 0.15);
  margin-bottom: 3.49vw;
  transition: background-color 0.3s;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .registered_card_info_box {
    width: 387px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
  }
}

.registered_card_info_box:hover {
  background-color: #f9f9f9;
}

.registered_card_info {
  display: flex;
  width: 100%;
  margin: 4.8vw 7.47vw;
}
@media (min-width: 768px) {
  .registered_card_info {
    margin: 18px 28px;
  }
}

.registered_card_info .card_info_detail {
  display: grid;
}

.registered_card_info_header {
  display: flex;
}

.registered_card_info_title {
  width: 100%;
  margin: 0vw;
  color: #222;
  font-size: 3.49vw;
  font-style: normal;
  font-weight: 700;
  line-height: 4.65vw;
  letter-spacing: 0.07vw;
}
@media (min-width: 768px) {
  .registered_card_info_title {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.3px;
  }
}

.registered_card_info_header_delete {
  width: 16.98vw;
  height: 8.14vw;
  text-align: center;
  align-content: center;
  color: #d3405a;
  font-size: 3.72vw;
  font-style: normal;
  font-weight: 500;
  line-height: 2.79vw;
  border-radius: 2.33vw;
  border: 0.28vw solid #e89ba9;
}
@media (min-width: 768px) {
  .registered_card_info_header_delete {
      width: 73px;
      height: 35px;
      font-size: 16px;
      line-height: 12px;
      border-radius: 10px;
      border: 1.2px solid #e89ba9;
  }
}

.card_info_section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0.7vw;
}
@media (min-width: 768px) {
  .card_info_section {
    padding-top: 3px;
  }
}

.card_info_section_img {
  width: 13.33vw;
  height: 6.98vw;
  object-fit: contain;
}
@media (min-width: 768px) {
  .card_info_section_img {
    width: 50px;
    height: 30px;
  }
}

.card_info_section_textbox {
  margin-left: 1.86vw;
  color: #222;
  font-size: 3.02vw;
  font-style: normal;
  font-weight: 500;
  line-height: 5.81vw;
  letter-spacing: 0.24vw;
}
@media (min-width: 768px) {
  .card_info_section_textbox {
    margin-left: 8px;
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 1.04px;
  }
}

.card_info_section_mask {
  letter-spacing: -0.24vw;
  margin-right: 1.16vw;
}
@media (min-width: 768px) {
  .card_info_section_mask {
    letter-spacing: -1.04px;
    margin-right: 5px;
  }
}

.card_info_section_value {
  margin-right: 2.67vw;
  font-size: 3.72vw;
}
@media (min-width: 768px) {
  .card_info_section_value {
    margin-right: 10px;
    font-size: 16px;
  }
}

.card_info_section_text_expiration {
  margin-right: 2.33vw;
  color: #222;
  font-size: 3.02vw;
  font-style: normal;
  font-weight: 400;
  line-height: 5.81vw;
  letter-spacing: 0.06vw;
}
@media (min-width: 768px) {
  .card_info_section_text_expiration {
    margin-right: 10px;
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 0.26px;
  }
}

.card_info_holder {
  padding-top: 1.16vw;
  color: #222;
  font-size: 3.95vw;
  font-style: normal;
  font-weight: 400;
  line-height: 5.81vw;
  letter-spacing: 0.08vw;
}
@media (min-width: 768px) {
  .card_info_holder {
    padding-top: 5px;
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 0.34px;
  }
}

.card_info_expiration_warning {
  display: none;
  margin-top: 1.33vw;
  color: #D3405A;
  font-size: 3.2vw;
  font-style: normal;
  font-weight: 500;
  line-height: 3.2vw;
}
@media (min-width: 768px) {
  .card_info_expiration_warning {
    margin-top: 5px;
    font-size: 12px;
    line-height: 12px;
  }
}

.card_delete_section {
  display: flex;
  margin: 0 0 0 auto;
}

.card_delete_icon_img {
  width: 4.53vw;
  height: 5.07vw;
  margin: auto;
  cursor: pointer;
}
@media (min-width: 768px) {
  .card_delete_icon_img {
    width: 17px;
    height: 19px;
  }
}
/*---------------------------
  新しいカードを登録する
---------------------------*/
.add_card_btn-box {
  display: flex;
  align-items: center;
  width: 90vw;
  margin-top: 3.49vw;
  border-radius: 2.33vw;
  box-shadow: 0px 0px 1.16vw 0px rgba(0, 0, 0, 0.15);
  margin-bottom: 3.49vw;
  transition: background-color 0.3s;
}
@media (min-width: 768px) {
  .add_card_btn-box {
    width: 387px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
  }
}

.add_card_btn-style {
  display: flex;
  width: 100%;
  padding: 8.0vw 6.93vw;
  background-color: #FFFFFF;
  border: none;
  border-radius: 2.67vw;
}
@media (min-width: 768px) {
  .add_card_btn-style {
    padding: 30px 26px;
    border-radius: 10px;
  }
}

.add_card_plus_img {
  width: 4.27vw;
  height: 4.27vw;
}
@media (min-width: 768px) {
  .add_card_plus_img {
    width: 16px;
    height: 16px;
  }
}

.add_card_btn-text {
  margin-left: 2.67vw;
  color: #222;
  font-size: 4.0vw;
  font-style: normal;
  font-weight: 700;
  line-height: 4.0vw;
  letter-spacing: 0.08vw;
}
@media (min-width: 768px) {
  .add_card_btn-text {
    margin-left: 10px;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: 0.3px;
  }
}


