@charset "UTF-8";
/* --------------------------------------------
   ギフト注文フォーム
-------------------------------------------- */
@-webkit-keyframes giftOrderFadeIn {
  from {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes giftOrderFadeIn {
  from {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
.gift-order-form [hidden] {
  display: none !important;
}
.gift-order-form select,
.gift-order-form textarea,
.gift-order-form input[type=text],
.gift-order-form input[type=tel] {
  max-width: 100%;
  padding: 0.4em 0.6em;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 1em;
  vertical-align: middle;
}
.gift-order-form select {
  min-width: 8em;
  background-color: #fff;
}
.gift-order-form textarea {
  width: 100%;
}
.gift-order-form label {
  display: inline-block;
  margin-bottom: 0.3em;
  cursor: pointer;
}
.gift-order-form input[type=radio] {
  width: auto;
  margin: 0 0.4em 0 0;
  padding: 0;
}

/* お届け先ブロック */
.gift-order-delivery {
  -webkit-box-shadow: inset 4px 0 0 #1abc9c;
  -webkit-animation: giftOrderFadeIn 0.25s ease-out;
  position: relative;
  box-shadow: inset 4px 0 0 #1abc9c;
  animation: giftOrderFadeIn 0.25s ease-out;
}
.gift-order-delivery + .gift-order-delivery {
  margin-top: 1.5em !important;
}

.gift-order-delivery-title {
  margin: 0 0 0.5em;
  padding: 0.3em 0 0.3em 0.6em;
  color: #0e8c73;
  font-size: 1.15em;
  font-weight: bold;
}

.gift-order-delivery-number,
.gift-order-item-number {
  display: inline-block;
  min-width: 1.6em;
  margin-left: 0.2em;
  padding: 0 0.4em;
  border-radius: 1em;
  background-color: #1abc9c;
  color: #fff;
  font-size: 0.85em;
  line-height: 1.6;
  text-align: center;
}

.gift-order-delivery-actions,
.gift-order-item-actions {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* ご注文内容ブロック */
.gift-order-items {
  padding-left: 0.6em;
}

.gift-order-item {
  -webkit-animation: giftOrderFadeIn 0.25s ease-out;
  position: relative;
  animation: giftOrderFadeIn 0.25s ease-out;
}
.gift-order-item h4 {
  margin: 0 0 0.5em;
  font-weight: bold;
}

/* ボタン */
.gift-order-add-delivery,
.gift-order-add-item,
.gift-order-remove-delivery,
.gift-order-remove-item {
  -webkit-transition: background-color 0.2s, color 0.2s, opacity 0.2s;
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.gift-order-add-delivery:disabled,
.gift-order-add-item:disabled,
.gift-order-remove-delivery:disabled,
.gift-order-remove-item:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.gift-order-add-delivery,
.gift-order-add-item {
  min-width: 16em;
  padding: 0.7em 1.5em;
  border: 2px solid #1abc9c;
  border-radius: 4px;
  background-color: #fff;
  color: #0e8c73;
  font-size: 1em;
  font-weight: bold;
}
.gift-order-add-delivery:hover:not(:disabled), .gift-order-add-delivery:focus-visible,
.gift-order-add-item:hover:not(:disabled),
.gift-order-add-item:focus-visible {
  background-color: #1abc9c;
  color: #fff;
}

.gift-order-add-delivery {
  -webkit-box-shadow: 0 3px 0 #0e8c73;
  box-shadow: 0 3px 0 #0e8c73;
  font-size: 1.1em;
}
.gift-order-add-delivery:active:not(:disabled) {
  -webkit-transform: translateY(3px);
  -webkit-box-shadow: none;
  transform: translateY(3px);
  box-shadow: none;
}

.gift-order-remove-delivery,
.gift-order-remove-item {
  padding: 0.3em 0.8em;
  border: 1px solid #f33c14;
  border-radius: 3px;
  background-color: #fff;
  color: #f33c14;
  font-size: 12px;
}
.gift-order-remove-delivery:hover:not(:disabled), .gift-order-remove-delivery:focus-visible,
.gift-order-remove-item:hover:not(:disabled),
.gift-order-remove-item:focus-visible {
  background-color: #f33c14;
  color: #fff;
}

/* エラー */
form.wpcf7-form .gift-order-field-invalid {
  border-color: #f33c14;
  background-color: #fff5f3;
}

.gift-order-tip {
  display: block;
}

.gift-order-errors {
  margin: 1em 5px 0;
  padding: 1em 1.2em;
  border: 2px solid #f33c14;
  background-color: #fff5f3;
  color: #f33c14;
  font-size: 14px;
}
.gift-order-errors:empty {
  display: none;
}
.gift-order-errors ul {
  margin: 0.5em 0 0;
  padding-left: 1.2em;
}
.gift-order-errors li {
  margin: 0.2em 0;
  list-style: disc;
}

.gift-order-errors-title {
  margin: 0;
  font-weight: bold;
}

/* 確認画面 */
.gift-order-confirmation-delivery {
  -webkit-box-shadow: inset 4px 0 0 #1abc9c;
  margin: 5px 5px 1.5em;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  box-shadow: inset 4px 0 0 #1abc9c;
}

.gift-order-confirmation-title {
  margin: 0 0 0.5em;
  padding-left: 0.6em;
  color: #0e8c73;
  font-size: 1.15em;
  font-weight: bold;
}

.gift-order-confirmation-item {
  margin: 1em 0 0 0.6em;
  padding: 10px;
  border: 1px solid #e5e5e5;
  background-color: #fafafa;
}

.gift-order-confirmation-item-title {
  margin: 0 0 0.3em;
  font-weight: bold;
}

@media screen and (max-width: 480px) {
  .gift-order-form select {
    width: 100%;
  }
  .gift-order-delivery-actions,
.gift-order-item-actions {
    position: static;
    margin-bottom: 0.5em;
    text-align: right;
  }
  .gift-order-items {
    padding-left: 0;
  }
  .gift-order-add-delivery,
.gift-order-add-item {
    width: 100%;
    min-width: 0;
  }
  .gift-order-confirmation-item {
    margin-left: 0;
  }
}