@charset "UTF-8";

/* ==================================================
	Common Elements
================================================== */

/* Form Elements */
form {
  display: inline;
}

label {
  vertical-align: middle;
}

input,
select,
optgroup,
option,
textarea {
  font-size: 1.6rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

textarea {
  height: 300px;
  overflow: hidden;
}

input[type="radio"] {
  margin-right: 0.3em;
}

input[type="checkbox"] {
  margin-right: 0.8em;
  width: 20px;
  height: 20px;
}
.mb-20px {
  margin-bottom: 20px;
}
.step-jump {
	padding: 30px 0;
	text-align: center;
	display: grid;
	gap: 20px;
}

/* ==================================================
	Button List Styles
================================================== */

.btn_list  {
  margin-top: 30px;
  display: grid;
  gap: 20px;
  display: grid;
}
.btn_list input[type=radio] {
  display: none;
}
.btn_list input[type=radio] + label {
 /* width: clamp(50px, 100%, 600px);*/
  background: #f1f1f1;
  outline: 1px solid #c8c8c8;
  padding: 15px;
  margin: auto;
  box-sizing: border-box;
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
  position: relative;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  border-radius: 5px;
  box-shadow: 0 2px 1px 0 rgba(87, 87, 87, 0.3);
  transition: all 0.2s ease;
}
.btn_list input[type=radio]:checked + label {
  outline: 1px solid #ffb3b3;
  background: #ffd1d1;
}
.btn_list input[type=radio] + label:hover {
  box-shadow: 0 1px 0 0 rgba(87, 87, 87, 0.3);
}

@media print, screen and (min-width: 768px) {
  .btn_list  {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================================================
	Contact Input Styles
================================================== */

/* Table Layout */
.form_content_box{
  margin-bottom: 20px;
  padding: 20px 3%;
  border-radius: 10px;
  background: white;
}
.form_input_style > dl {
  margin: auto;
  padding: 20px 0 30px;
  border-bottom: 1px solid #e4e4e4;
}
.form_input_style > dl:last-child {
  border: none;
}
.form_input_style > dl > dt {
  margin-bottom: 10px;
}
.conf > dl > dd {
  font-size: 1.6rem;
}
/*
.form_input_style .zip .zip_code input {
  width: 7em;
}
  */
/*
.form_input_style .zip dl dt,
.form_input_style .zip dl dd {
  margin-top: 5px;
}
  */

/* Required/Optional Icons */
.form_input_style .required,
.form_input_style .any {
  position: relative;
}
.form_input_style .required::before,
.form_input_style .any::before {
  margin-right: 10px;
  display: inline-block;
  padding: 0 8px;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 10px;
}
.form_input_style .required::before {
  content: "必須";
  background-color: #ff5353;
}
.form_input_style .any::before {
  content: "任意";
  background-color: #adadad;
}
.form_input_style .two_two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form_input_style .space_btw {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Consent Text */
.consent_txt {
  margin-top: 30px;
  text-align: center;
  line-height: 1.8;
}
.consent_txt label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}


.form_input_style #card_input{
  padding: 20px 10px;
  margin: 50px auto 0;
  border-radius: 10px;
  background: rgb(227 230 255);
}
.form_input_style #password,
.form_input_style #email{
  margin-bottom:10px;
}

.form_input_style #tel1,
.form_input_style #tel2,
.form_input_style #tel3,
.form_input_style #deli_tel1,
.form_input_style #deli_tel2,
.form_input_style #deli_tel3,
.form_input_style #sender_tel1,
.form_input_style #sender_tel2,
.form_input_style #sender_tel3{
  width: 30%;
}

.form_input_style #state,
.form_input_style #address1,
.form_input_style #deli_state,
.form_input_style #deli_address1,
.form_input_style #sender_state,
.form_input_style #sender_address1{
  margin-bottom: 20px;
}

.form_input_style input[type="password"],
#pw-input2 input[type="password"]{
  width: 70%;
}

.form_input_style #zip1,
.form_input_style #zip2,
.form_input_style #deli_zip1,
.form_input_style #deli_zip2,
.form_input_style #sender_zip1,
.form_input_style #sender_zip2{
  width: 7em;
  margin-bottom: 20px;
}
.form_input_style .form_inner_alert {
  padding: 3vw;
  margin-top: 20px;
  background: #f0ffc0;
  border-radius: 5px;
}

@media only screen and (min-width: 768px){

  .form_input_style #card_input{
    padding: 40px;
    background: #fbfdff;
    width: 300px;
    filter: drop-shadow(0px 1px 4px rgba(0,0,0,0.16));
  }
  .form_input_style #card_number,
  .form_input_style #cardholderName{
    width:300px;
  }
  .form_input_style #cc-csc{
    width: 150px;
  }
  .form_input_style input[type="password"],
  #pw-input2 input[type="password"]{
    width: 50%;
  }
  .form_input_style .form_inner_alert {
    padding: 20px;
  }
}



/* ==================================================
	Submit Buttons
================================================== */

#cart-pw .form_submit_btn,
.form_submit_btn {
  text-align: center;
}

#cart-pw .form_submit_btn input,
 .form_submit_btn input,
 .form_submit_btn a {
  display: inline-block;
  width: 100%;
  padding: 18px 0;
  border-radius: 5px;
  background-color: #10593B;
  color: #fff;
  font-size: 1.6rem;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid white;
  box-shadow: 0 2px 2px rgba(0,0,0,.6);
}

 .form_submit_btn input.back,
 .form_submit_btn a.back {
  background-color: #aaa;
}

 .form_submit_btn .btn_style a {
  padding: 12px 0;
  font-size: 1.6rem;
  font-weight: normal;
}

/* ==================================================
	Messages
================================================== */

/* Error Message */
.error_txt {
  margin: 50px 10px;
  color: #ff3b30;
  font-weight: bold;
  text-align: center;
}
/* Completion Message */
.completion_txt {
  margin: 50px 10px;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.8;
}

/* ==================================================
	Media Queries
================================================== */

@media print, screen and (min-width: 768px) {

  .form_content_box{
    margin-bottom: 30px;
    padding: 30px;
    background: rgb(0 0 0 /2%);
  }
  
  .form_input_style {
    background: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 10px 0;
    margin: 20px 0;
  }

  .form_input_style > dl {
    width: 605px;
  }

  .conf > dl {
    width: 350px;
    padding: 20px 10px;
  }

  .form_input_style > dl > dt,
  .form_input_style > dl > dd {
    vertical-align: top;
  }
  #cart-pw .form_submit_btn input,
  .form_submit_btn input,
  .form_submit_btn a {
    width: clamp(0px, 100%, 420px);
    margin: auto;
  }
  #cart-pw .form_submit_btn input:hover,
  .form_submit_btn input:hover,
  .form_submit_btn a:hover {
    background-color: #111;
    box-shadow: none;
  }
/*
  .form_submit_btn .btn_style {
    width: 40%;
  }
*/
  .completion_txt {
    width: 500px;
    margin: 30px 0;
    margin: auto;
  }
}