.contact-wrapper {
  padding-top: 60px;
}

.ec-errorMessage {
  color: #EF2864;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  margin-top: 4px;
}

/* Contact Content Section */
.contact-content-section {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.contact-notice-text {
  width: 465px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #111111;
  text-align: center;
  margin: 0;
}
/* Contact Form */
.contact-form {
  width: 1040px;
  margin: 0 auto;
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Form Field */
.form-field {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #CACACA;
}

/* Form Field Header */
.form-field-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  flex-shrink: 0;
}

.form-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25em;
  color: #000000;
}

.required-badge {
  background-color: #EF2864;
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 1000px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25em;
  white-space: nowrap;
}

/* Form Field Inputs */
.form-field-inputs {
  display: flex;
  gap: 16px;
  flex: 1;
}

.email-field-inputs, .password-field-inputs {
  flex-direction: column;
  gap: 16px;
}

.form-input-wrapper, .form-input-full-wrapper, .form-textarea-wrapper {
  flex: 1;
  width: 100%;
}

.form-input {
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  width: 100%;
}

.form-input::placeholder {
  color: #BBBBBB;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

.error .form-input, .error .form-input-full, .error .prefecture-select {
  border: 1px solid #EF2864;
}

/* Address Field Specific */
.form-field-address {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.postal-code-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.postal-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  margin-right: 4px;
}

.postal-input {
  width: 280px;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
}

.postal-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

.postal-input::placeholder {
  color: #BBBBBB;
}

.postal-search-btn {
  background-color: #000000;
  color: #FFFFFF;
  padding: 6px 28px;
  border: none;
  border-radius: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.postal-search-btn:hover {
  background-color: #333333;
}

.prefecture-section {
  display: flex;
  gap: 8px;
}

.prefecture-select {
  width: 300px;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3e%3cpath d='M1 4L6 9L11 4' stroke='%23CACACA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 12px;
  padding-right: 50px;
}

.prefecture-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

.form-input-full {
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  width: 100%;
}

.form-input-full::placeholder {
  color: #BBBBBB;
}

.form-input-full:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

/* Textarea */
.form-textarea {
  width: 100%;
  height: 200px;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  resize: vertical;
}

.form-textarea::placeholder {
  color: #BBBBBB;
}

.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

/* Form Confirm Value (for confirmation page) */
.form-confirm-value {
  flex: 1;
  width: 100%;
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #000000;
  min-height: 52px;
  display: flex;
  align-items: center;
}

.form-confirm-textarea {

}

/* Contact Complete Section */
.contact-complete-section {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.contact-complete-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.contact-complete-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5em;
  color: #000000;
  margin: 0 0 24px 0;
}

.contact-complete-message {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #111111;
  margin: 0;
}

/* Submit Button */
.submit-section {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.submit-buttons-wrapper {
  display: flex;
  gap: 24px;
  align-items: center;
}

.submit-btn {
  width: 400px;
  height: 55px;
  background-color: #FBE800;
  border: none;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

a.submit-btn {
  text-decoration: none;
}

.submit-btn-primary {
  background-color: #FBE800;
  color: black;
}

.submit-btn-primary:hover {
  background-color: #e5d400;
  color: black;
  transform: translateY(-1px);
}

.submit-btn-secondary {
  background-color: #FFFFFF;
  border: 2px solid #000000;
  color: #000000;
}

.submit-btn-secondary:hover {
  background-color: #F5F5F5;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Login Page Styles */

.custom-shopping-login-form {
  max-width: 800px;
}
.custom-login-form .form-field{
  justify-content: center;
}
.custom-login-form .form-field-inputs {
  max-width: 400px;
}

.login-checkbox-wrapper {
  flex: 1;
  width: 100%;
}

.login-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
}

.login-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #00A854;
}

.login-checkbox-text {
  user-select: none;
}

.login-success-message {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #00A854;
  margin: 0;
}

.login-links-section {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 40px;
}

.login-links-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #00A854;
}

.login-link-separator {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #CACACA;
}

/* Entry Form Styles */
.birth-date-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.birth-select {
  padding: 16px 20px;
  background-color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25em;
  color: #000000;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3e%3cpath d='M1 4L6 9L11 4' stroke='%23CACACA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 12px;
  padding-right: 50px;
  min-width: 120px;
}

.birth-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FBE800;
}

.birth-separator {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
}

.gender-radio-wrapper {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
}

.gender-radio-wrapper input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #00A854;
}

.gender-radio-wrapper label {
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  margin-right: 8px;
  position: relative;
  top: -4px;
}

.entry-terms-section {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 24px;
}

.entry-terms-wrapper {
  max-width: 800px;
  width: 100%;
}

.entry-terms-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #000000;
}

.entry-terms-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #00A854;
  flex-shrink: 0;
}

.entry-terms-text {
  user-select: none;
}

.entry-terms-text a {
  color: #00A854;
  text-decoration: underline;
}

.entry-terms-text a:hover {
  color: #009144;
}

/* Forgot Password Styles */
.forgot-message-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 465px;
}

/* Shopping Login Styles */
.shopping-login-wrapper {
  padding-top: 60px;
}

.shopping-login-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.shopping-login-form-section {
  display: flex;
  flex-direction: column;
}

.shopping-guest-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.guest-purchase-card {
  border: 1px solid #CACACA;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.guest-purchase-icon {
  margin-bottom: 24px;
}

.guest-purchase-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.guest-purchase-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5em;
  color: #000000;
  margin: 0 0 16px 0;
}

.guest-purchase-message {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #111111;
  margin: 0 0 32px 0;
}

.guest-purchase-btn {
  width: 100%;
  max-width: 400px;
}

@media (max-width: 1200px) {
  .contact-wrapper {
    padding-top: 28px;
  }
  .contact-notice-text {
    text-align: left;
  }
  .top-header-title-section {
    margin-bottom: 56px;
  }
  .contact-form {
    width: 100%;
  }
  .postal-input {
    width: 180px
  }
  .contact-complete-section {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .contact-complete-title {
    font-size: 20px;
  }
  .shopping-login-wrapper {
    padding-top: 28px;
  }
  .shopping-login-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guest-purchase-card {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .form-field {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
  .form-field-header {
    width: 100%;
  }
  .form-label {
    font-size: 16px;
  }
  .required-badge {
    font-size: 12px;
  }
  .contact-form {
    width: 100%;
  }
  .form-field-inputs {
    width: 100%;
    gap: 8px;
  }
  .prefecture-select {
    width: 100%;
  }
  .form-field-address {
    width: 100%;
  }
  .submit-btn {
    width: 100%;
  }
  .submit-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .submit-section {
    margin-top: 40px;
  }
  .contact-complete-section {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  .contact-complete-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .contact-complete-message {
    font-size: 14px;
  }
  .postal-code-section {
    flex-direction: column;
    gap: 16px;
  }
  .form-input-wrapper {
    width: 100%;
  }
  .form-input {
    width: 100%;
  }
  .postal-input {
    width: 100%;
  }
  .postal-code-wrap {
    width: 100%;
  }
  .login-links-section {
    margin-top: 24px;
    margin-bottom: 32px;
  }
  .login-links-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .login-link-separator {
    display: none;
  }
  .birth-date-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .birth-select {
    width: 100%;
    min-width: auto;
  }
  .birth-separator {
    display: none;
  }
  .gender-radio-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .entry-terms-wrapper {
    width: 100%;
  }
  .entry-terms-label {
    font-size: 14px;
  }
  .forgot-message-wrapper {
    width: 100%;
  }
  .shopping-login-wrapper {
    padding-top: 24px;
  }
  .shopping-login-content {
    gap: 24px;
    margin-top: 24px;
  }
  .guest-purchase-card {
    padding: 24px 16px;
  }
  .guest-purchase-title {
    font-size: 18px;
  }
  .guest-purchase-message {
    font-size: 14px;
  }
}
