@charset "utf-8";

.osechi-order {
  padding: 30px 15px 100px;
  background: #000;
}

.osechi-order__inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.osechi-order h2 {
  margin-bottom: 12px;
  color: #d9a7a7;
  font-size: 2.2rem;
  text-align: center;
  letter-spacing: .08em;
}

.osechi-order__lead {
  margin-bottom: 35px;
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
}

.osechi-order__tel {
  margin: 0 auto 35px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.osechi-order__tel p {
  margin-bottom: 5px;
  color: #666;
}

.osechi-order__tel a {
  display: inline;
  color: #bb8f55;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.osechi-order__closed {
  padding: 35px 20px;
  border-radius: 10px;
  background: #fff;
  color: #a0522d;
  font-size: 1.1rem;
  text-align: center;
}

#osechiOrderForm {
  padding: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

#osechiOrderForm > label {
  display: block;
  margin-top: 22px;
  color: #555;
  line-height: 1.6;
}

#osechiOrderForm > label:first-of-type {
  margin-top: 0;
}

#osechiOrderForm input[type="text"],
#osechiOrderForm input[type="email"],
#osechiOrderForm input[type="tel"],
#osechiOrderForm input[type="number"],
#osechiOrderForm select,
#osechiOrderForm textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #fff;
  color: #4a4a4a;
  font-size: 1rem;
  transition: border-color .3s ease;
}

#osechiOrderForm input:focus,
#osechiOrderForm select:focus,
#osechiOrderForm textarea:focus {
  border-color: #666;
  outline: none;
}

#osechiOrderForm input[readonly] {
  background: #f5f5f5;
  color: #555;
}

#osechiOrderForm textarea {
  min-height: 120px;
  resize: vertical;
}

#osechiOrderForm .required {
  display: inline-block;
  margin-left: 4px;
  color: #c00;
  white-space: nowrap;
}

.osechi-order__summary {
  margin-top: 25px;
  padding: 18px;
  border-radius: 5px;
  background: #f7f2ee;
  color: #555;
}

.osechi-order__summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 25px;
  margin: 0;
}

.osechi-order__summary dt,
.osechi-order__summary dd {
  margin: 0;
}

.osechi-order__summary dd {
  text-align: right;
}

.osechi-order__summary-total {
  margin-top: 4px !important;
  padding-top: 12px;
  border-top: 1px solid #d8ccc3;
  font-weight: 700;
}

#orderTotal {
  color: #a0522d;
  font-size: 1.4rem;
}

.osechi-order__note {
  margin-top: 8px;
  color: #666;
  font-size: .85rem;
  line-height: 1.7;
  text-align: right;
}

#osechiOrderForm .privacy-agreement {
  margin-top: 30px;
  text-align: center;
}

#osechiOrderForm .privacy-agreement label {
  display: inline-flex;
  align-items: center;
  color: #555;
  line-height: 1.7;
  text-align: left;
}

#osechiOrderForm .privacy-agreement label span {
  white-space: nowrap;
}

#osechiOrderForm input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  margin: 0 10px 0 0;
  accent-color: #a0522d;
  transform: scale(1.2);
}

#osechiOrderForm a {
  display: inline;
  color: #a0522d;
  text-decoration: underline;
}

#osechiOrderForm button {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 14px 25px;
  border: 0;
  border-radius: 5px;
  background: #d9a7a7;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity .3s ease;
}

#osechiOrderForm button:hover {
  opacity: .6;
}

#osechiOrderForm button:disabled {
  cursor: wait;
  opacity: .6;
}

.osechi-order__legal,
.recaptcha-notice {
  margin-top: 22px;
  color: #666;
  font-size: .8rem;
  line-height: 1.7;
  text-align: center;
}

.recaptcha-notice {
  margin-top: 12px;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

@media screen and (max-width: 640px) {
  .osechi-order {
    padding: 10px 15px 60px;
  }

  .osechi-order h2 {
    font-size: 1.8rem;
  }

  #osechiOrderForm {
    padding: 25px 18px;
  }

  #orderTotal {
    font-size: 1.2rem;
  }

  .osechi-order__note {
    text-align: left;
  }
}
