

@layer views {

  .v-hero__ja--right {
    left: auto;

    right: max(96px, calc((100% - var(--content-max)) / 2 - 34px));
    top: calc(50% - 40px);
    text-align: right;
  }

  .v-section-head--indent .v-section-head__ja {
    padding-left: 270px;
  }

  .v-section-head--indent .v-section-head__lead {
    padding-inline: 270px;
    padding-block: 36px 0;
  }

  .v-contact {
    display: flex;
    flex-direction: column;
    gap: 160px;
    padding-block: 100px 120px;
    background: var(--bg-beige-light);
  }

  .v-contact__action {
    padding-top: 64px;
    padding-inline: 270px;
  }

  @media (max-width: 767px) {

    .v-section-head--indent .v-section-head__ja,
    .v-section-head--indent .v-section-head__lead,
    .v-contact__action {
      padding-inline: var(--gutter);
    }

    .v-section-head--indent .v-section-head__lead {
      padding-block: 17px 0;
    }

    .v-section-head--indent .v-section-head__ja {
      font-size: 2.4rem;
    }

    .v-content-section .v-section-head--indent .v-section-head__ja {
      font-size: 2.8rem;
      line-height: 1.43;
    }

    .v-contact {
      gap: 94px;
      padding-block: 61px 126px;
    }

    .v-contact__action {
      padding-top: 48px;
    }

    .v-contact__action:has(.v-btn) {
      padding-top: 60px;
    }

    .v-hero__ja--right {
      right: auto;
      text-align: left;
    }
  }
}

@layer views {

  .v-form {
    display: flex;
    flex-direction: column;

    gap: 36px;

    padding-top: 72px;
    padding-inline: 270px;
  }

  .v-form__row {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .v-form__row--choice {
    gap: 16px;
  }

  .v-form__row--choice > .v-form__label {
    margin-block-end: 16px;
  }

  .v-form__label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 2px;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  .v-form__req {
    display: grid;
    place-items: center;
    height: 21px;
    padding-inline: 8px;
    background: var(--text-main);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    text-box: trim-both cap alphabetic;
  }

  .v-form__input {
    width: 100%;

    padding: 8px 17px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;

    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  .v-form__input--area {
    height: 120px;
    resize: vertical;
  }

  .v-form__input::placeholder {
    color: rgba(51, 51, 51, 0.5);
  }

  @supports (-webkit-touch-callout: none) {
    .v-form__input {
      font-size: 1.6rem;
      line-height: 1.575;
    }
  }

  .v-form__row--split {
    flex-direction: row;
    gap: 40px;
  }

  .v-form__row--split > .v-form__row {
    flex: 1 0 0;
    min-width: 0;
  }

  .v-form__choices {
    display: flex;
    gap: 40px;
  }

  .v-form__choice {
    display: inline-flex;
    align-items: center;
    min-height: 1.8em;
    gap: 6px;
    color: var(--text-sub);
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.02em;

    cursor: pointer;
  }

  .v-form__choice input {
    width: 16px;
    height: 16px;

    margin-block: 0;
    margin-inline: 0;
    accent-color: var(--text-main);
  }

  .v-form__choice > span {
    text-box: trim-both cap alphabetic;
  }

  .v-form__choice a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: text-decoration-color var(--dur-hover) var(--ease-hover);
  }

  @media (hover: hover) and (pointer: fine) {
    .v-form__choice a:hover {
      text-decoration-color: transparent;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .v-form__choice a {
      transition: none;
    }
  }

  .v-form__row--agree .v-form__choice {
    align-self: flex-start;
  }

  .v-form__row--agree .v-form__choice input {
    appearance: none;
    border: 1px solid #767676;
    border-radius: 50%;
    background-color: var(--bg-white);
  }

  .v-form__row--agree .v-form__choice input:checked {
    border-color: var(--bg-black);
    background-color: var(--bg-black);
    box-shadow: inset 0 0 0 3px var(--bg-white);
  }

  @media (forced-colors: active) {
    .v-form__row--agree .v-form__choice input,
    .v-form__row--agree .v-form__choice input:checked {
      appearance: auto;
      border: 0;
      border-radius: 0;
      background-color: initial;
      box-shadow: none;
    }
  }

  .v-form__actions {
    display: flex;
    justify-content: center;
    padding-top: 28px;
  }

  .v-form__actions--pair {
    gap: 24px;
  }

  .v-section-head__group + .v-section-head__lead {
    padding-top: 25px;
  }

  .v-form__back {
    display: flex;
    padding-top: 72px;
    padding-inline: 270px;
  }

  .v-form,
  .v-form__back,
  .v-contact__action,
  .v-section-head--indent .v-section-head__ja,
  .v-section-head--indent .v-section-head__lead {

    --contact-max: 900px;

    width: 100%;
    max-width: calc(var(--contact-max) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .v-confirm {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .v-confirm__row {
    display: flex;
    gap: 40px;
    padding-block: 0 40px;
    padding-left: 2px;
    border-bottom: 1px solid var(--line);
  }

  .v-confirm__label {
    flex: 0 0 250px;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-box: trim-both cap alphabetic;
  }

  .v-confirm__value {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--text-sub);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-box: trim-both cap alphabetic;

    overflow-wrap: break-word;
  }

  .v-form {

    --form-error: #b3123c;
  }

  .v-form__summary[hidden] {
    display: none;
  }

  .v-form__summary {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-block-end: 4px;
    color: var(--form-error);
  }

  .v-form__summary img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    padding: 2px;
  }

  .v-form__summary-text {
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-box: trim-both cap alphabetic;
  }

  .v-form__error[hidden] {
    display: none;
  }

  .v-form__error {

    display: flex;
    align-items: flex-start;

    gap: 8px;
    padding-left: 2px;
    color: var(--form-error);

    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .v-form__error::before {
    content: '';
    flex: 0 0 20px;
    width: 20px;
    height: 1.6em;
    background: url("/img/common/icon_error.svg") center / 16px 16px no-repeat;
  }

  .is-error .v-form__input {
    border-color: var(--form-error);
  }

  @media (max-width: 767px) {
    .v-form,
    .v-form__back {
      padding-inline: var(--gutter);
    }

    .v-form {
      padding-top: 60px;
    }

    .v-content-section {
      padding-bottom: 120px;
    }

    .v-form__back {
      padding-top: 61px;
    }

    .v-form__row--split {
      flex-direction: column;
    }

    .v-form__choices {
      flex-direction: column;
      gap: 12px;
    }

    .v-form__actions {
      padding-top: 24px;
    }

    .v-form__actions .v-btn {
      width: 100%;
    }

    .v-form__actions--pair .v-btn {
      flex: 1 1 0;
      min-width: 0;
    }

    .v-confirm__row {
      flex-direction: column;
      gap: 20px;
      padding-block: 0 32px;
    }

    .v-confirm {
      gap: 24px;
    }

    .v-confirm__label {
      flex: 0 0 auto;
    }

    .v-content-section--beige {
      padding-top: 62px;
    }

    .v-section-head__group {
      gap: 61px;
    }

    .v-section-head__group + .v-section-head__lead {
      padding-top: 17px;
    }

    .v-form:has(.v-confirm) {
      padding-top: 38px;
    }

    .v-section-head--indent .v-section-head__lead > p {
      font-size: 1.6rem;
    }
  }
}

@layer views {

  .v-section-head__en img[src$="/heading_reservation-form_g.svg"] {
    --en-lsb: 0.09em;
  }

  @media (max-width: 767px) {

    .v-section-head__en img[src$="/heading_reservation-form_g.svg"] {
      --cap: 93.492px;
    }
  }

  .v-form__row .v-select {
    width: 100%;
  }

  .v-date {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
  }

  .v-date::-webkit-date-and-time-value {
    text-align: left;
  }

  @supports (-webkit-touch-callout: none) {
    .v-date {
      color: FieldText;
      -webkit-text-fill-color: FieldText;
    }

    .v-date::-webkit-date-and-time-value {
      color: FieldText;
      -webkit-text-fill-color: FieldText;
    }
  }

  .v-date::-webkit-calendar-picker-indicator {
    width: 11.667px;
    height: 11.667px;
    margin: 0 0 0 16px;
    padding: 0;
    background: url("/img/common/icon_calendar.svg") center / contain no-repeat;
    cursor: pointer;
  }

  @supports (hanging-punctuation: first) {
    .v-date {
      display: flex;
      align-items: center;
      padding: 0 43.667px 0 16px;
      background-image: url("/img/common/icon_calendar.svg");
      background-position: right 16px center;
      background-size: 11.667px 11.667px;
      background-repeat: no-repeat;
    }

    .v-date::-webkit-calendar-picker-indicator {
      display: none;
    }
  }

  .v-date-field {
    position: relative;
  }

  .v-date:focus:not(:focus-visible) {
    outline: 2px solid #595959;
    outline-offset: 0;
  }

  .v-date-field__placeholder {
    position: absolute;

    inset: 1px 43.667px 1px 1px;

    border-radius: 3px 0 0 3px;
    display: flex;
    align-items: center;
    padding-inline-start: 16px;
    background: var(--bg-white);
    color: var(--text-main);
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    pointer-events: none;
  }

  .v-date:valid + .v-date-field__placeholder,
  .v-date:out-of-range + .v-date-field__placeholder,
  .v-date:focus + .v-date-field__placeholder {
    opacity: 0;
  }

  .v-form__notes {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  @media (max-width: 767px) {

    .v-form__notes .v-note {
      font-size: 1.2rem;
    }
  }

  @media (max-width: 767px) {
    .v-form__hint {
      font-size: 1.2rem;
    }
  }

}
