.cart_step1_option_page #in_cart_box #option_form {
  display: inline-flex;
  margin: 10px;
  position: relative;
  border: 1px solid #000;
  cursor: pointer;
}

.cart_step1_option_page #in_cart_box #option_form:after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 25px;
}

.cart_step1_option_page #in_cart_box #option_form:hover {
  opacity: 0.7;
  text-decoration: none;
}

.cart_step1_option_page #in_cart_box input[type="submit"] {
  -webkit-appearance: none;
  padding: 0;
  display: inline-block;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  background-color: transparent;
  color: #222222;
  padding: 10px 50px;
  border-radius: 3px;
  position: relative;
  border: 0;
  cursor: pointer;
}

.cart_step1_option_page #in_cart_box .estimate_btn {
  border: 1px solid #eee;
}


.cart_step1_login_page .member_login_submit {
  display: inline-flex;
  margin: 10px;
  position: relative;
  border: 1px solid #000;
  border-radius: 3px;
  cursor: pointer;
}

.cart_step1_login_page .member_login_submit:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 35px;
}

.cart_step1_login_page .member_login_submit #member_login {
  -webkit-appearance: none;
  padding: 0;
  display: inline-block;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
  background-color: transparent;
  color: #222222;
  padding: 10px 50px;
  border-radius: 3px;
  position: relative;
  border: 0;
  cursor: pointer;
}

/*====================================================================
    step1-cart-draft-web-submission
/*==================================================================*/
.cart_step1_draft_page .button_next {
  background-color: #fff;
}

/*====================================================================
    step1-cart-draft-web-submission
/*==================================================================*/
/* .cart_step1_draft_web_submission .alert, .cart_step1_draft_web_submission .mess4 {
  display: none;
}

.cart_step1_draft_web_submission .alert.show, .cart_step1_draft_web_submission .mess4.show {
  display: block;
} */

.cart_step1_draft_web_submission .editapp-preview {
  height: auto;
  max-width: 100%;
}


/*====================================================================
    step1-cart-draft-web-submission
/*==================================================================*/
.cart_step4_page .button_buy {
  background-color: #fff;
}


/* ===== Zeus 3Dセキュア 2.0 ===== */

/* 3DS Method用iframe：テーマのiframe指定で表示されないよう念のため固定 */
section.cart_step4_page [id^="3ds_secureapi_"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
}

/* チャレンジiframeが入った時だけ、コンテナを全画面オーバーレイにする */
section.cart_step4_page [id="3dscontainer"]:has(> [id="3ds_challenge"]) {
  position: fixed;
  inset: 0;
  z-index: 100000;           /* 固定ヘッダー等より上 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .6);
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* チャレンジ画面本体（EMVCo推奨サイズ 390x400〜500x600 を収める） */
section.cart_step4_page [id="3ds_challenge"] {
  display: block;
  width: 100%;               /* HTML属性の width/height はCSSで上書き可 */
  max-width: 500px;
  height: min(600px, calc(100dvh - 32px));
  min-height: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

/* 認証中は背景スクロールを止める */
body:has([id="3ds_challenge"]) {
  overflow: hidden;
}

/* スマホは全画面にする */
@media (max-width: 600px) {
  section.cart_step4_page [id="3dscontainer"]:has(> [id="3ds_challenge"]) {
    padding: 0;
    background: #fff;
  }
  section.cart_step4_page [id="3ds_challenge"] {
    max-width: none;
    height: 100dvh;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
