:root {
  --base-vw: 640;
  --fit-vw: 414;
  --aspect: 1.5458937198;
  /*calc(--base-vw/--fit-vw)*/
}

#contents .headingArea {
  height: 316px;
}

#contents .headingArea div {
  background: url("../img/form-reservation/heading_bg.jpg") no-repeat center top;
}

@media screen and (max-width: 673px) {
  #contents .headingArea div {
    background: url("../img/form-reservation/heading_bg_sp.jpg") no-repeat center top;
    height: calc(175px * var(--aspect));
    background-size: cover;
  }

}

#contents .headingArea div h2 {
  width: 1024px;
  margin: 0 auto;
}

@media screen and (max-width: 673px) {
  #contents .headingArea div h2 img {
    width: auto;
    width: calc(414px * var(--aspect));
    height: auto;
    aspect-ratio: 750/316;
  }
}

#contents .bnaviArea .inner {
  min-height: 218px;
}

#contents .bnaviArea .inner img {
  width: 376px;
  height: auto;
  aspect-ratio: 376/33;
}

@media screen and (max-width: 673px) {
  #contents .bnaviArea .inner img {
    width: 90%;
    height: auto;
    aspect-ratio: 638/54;
  }
}


#contents .contentsArea,
#contents #toTop_f,
#contents .btnArea {
  background: #f4f2ed;
}

#contents .contentsArea {
  padding-bottom: 5px;
}

#contents .contentsArea .inner .form-list-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-list-wrap img.text {
    width: auto;
    width: calc(220px * var(--aspect));
    /* height: 100%; */
    height: auto;
    aspect-ratio: 220/31;
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-list-wrap .req img {
    width: calc(40px * var(--aspect));
    height: auto;
    aspect-ratio: 40/18;
  }
}

#contents .contentsArea .inner .form-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-text {
    margin-top: calc(10px * var(--aspect));
    font-size: calc(18px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list {
  margin-top: 20px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list {
    grid-template-columns: 1fr;
    gap: calc(5px * var(--aspect));
  }

}


#contents .contentsArea .inner .form-check-list .check-item {
  font-size: 16px;
  background-color: #F2F0EB;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .check-item {
    font-size: 16px;
    flex-direction: row;
    justify-content: space-between;
    gap: calc(19px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .hidden-list {
  display: none;
}

#contents .contentsArea .inner .form-check-list .item-inner {
  position: relative;
  padding: 20px 20px;
  cursor: pointer;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .item-inner {
    display: flex;
    align-items: center;
    gap: calc(19px * var(--aspect));
    padding-top: calc(7.75px * var(--aspect));
    padding-right: 0;
    padding-bottom: calc(7.75px * var(--aspect));
    padding-left: calc(10px * var(--aspect));
    font-size: 16px;
  }
}

#contents .contentsArea .inner .form-check-list input[type="checkbox"] {
  position: absolute;
  display: block;
  font-size: 16px;
  opacity: 0;
}

#contents .contentsArea .inner .form .dib {
  display: flex;
  align-items: center;
  gap: 15px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form .dib {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

#contents .contentsArea .inner .form select {
  display: inline-block;
  font-size: 16px;
  border: 0.1428571429em solid #dcdcd5;
  border: 1px solid #dcdcd5;
  padding: 0.5em;
  padding: 8.5px 16px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form span.time {
    position: relative;
  }

  #contents .contentsArea .inner .form span.time::before {
    position: absolute;
    top: 50%;
    right: 15px;
    content: "";
    transform: translate(0, -50%);
    width: 20px;
    height: 20px;
    /* font-size: 14px; */
    z-index: 10;
    background: url("../img/form-reservation/icon_bottom.svg") no-repeat center / contain;
  }

  #contents .contentsArea .inner .form select {
    appearance: none;
    position: relative;
    width: calc(150px * var(--aspect));
    color: #000;
    background-color: #fff;
    border: 0.1428571429em solid #dcdcd5;
    font-size: 20rem;
    padding: 1em;
  }
}

/* #contents .contentsArea .inner .form span[data-name="form_check_item"] {
  opacity: 0;
  visibility: hidden;
  height: 0;
} */

#contents .contentsArea .inner .form span#form-check-item {
  display: none;
}

/* #contents .contentsArea .inner .form-check-list input:checked~.checkmark {
  background-color: #2196F3;
  border-color: #2196F3;
} */

#contents .contentsArea .inner .form-check-list .checkmark {
  position: absolute;
  left: 10px;
  top: 9.5px;
  height: 26.5px;
  width: 26.5px;
  transition: all 0.2s ease;

  margin-right: 0;
  padding: 0;
  cursor: auto;
  line-height: 1;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .checkmark {
    left: calc(5px * var(--aspect));
    top: calc(4px * var(--aspect));
    height: calc(18px * var(--aspect));
    width: calc(18px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .checkmark::before {
  content: "";
  width: 26.5px;
  height: 26.5px;
  border: 1px solid #000;
  background-color: #fff;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .checkmark::before {
    height: calc(18px * var(--aspect));
    width: calc(18px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 18px;
  background: url("../img/form-reservation/form_checked.svg") no-repeat center / contain;
  width: 19px;
  height: 14px;
  border: none;
  transform: rotate(0);
}

#contents .contentsArea .inner .form-check-list input:checked~.checkmark::after {
  display: block;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .img-wrap {
    flex: 0 1 calc(66px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list img {
  width: 100%;
  height: auto;
  aspect-ratio: 176/220;
  vertical-align: bottom;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list img {
    aspect-ratio: 66/82.5;
    object-fit: cover;
    height: auto;
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .text-wrap {
    flex: 0 1 70%;
    flex: 0 1 calc(197px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .text {
  margin-top: 10px;
  /* font-family: "Noto Sans JP", sans-serif; */
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .text {
    margin-top: 0;
    font-size: calc(14px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .tags {
  margin-top: 5px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  display: flex;
  gap: 5px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .tags {
    margin-top: calc(5px * var(--aspect));
    gap: calc(5px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .tag {
  border: 1px solid rgba(0, 0, 0, 0.50);
  color: rgba(0, 0, 0, 0.50);
  padding: 4px 9px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;

}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .tag {
    padding: calc(2px * var(--aspect)) calc(9px * var(--aspect));
    font-size: calc(12px * var(--aspect));
  }
}

#contents .contentsArea .inner .form-check-list .link {
  margin-top: auto;
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background-color: #89826E;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .form-check-list .link {
    margin-top: 0;
    writing-mode: vertical-rl;
    font-feature-settings: initial;
    /* padding: 10px 5px; */
    padding: calc(10px * var(--aspect)) calc(5px * var(--aspect));
    font-size: calc(12px * var(--aspect));
    line-height: 1.1;
  }
}



@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .customers-info {
    margin-bottom: calc(10px * var(--aspect));
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .customers-info img {
    width: auto;
    width: calc(251px * var(--aspect));
    height: auto;
    aspect-ratio: 251/31;
  }
}

/* #contents .contentsArea .inner .form-check-list label {
  width: calc(100% / 4);
} */

/* #contents .contentsArea .inner .contact-txt {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 12px;
  font-weight: bold;
} */

/* @media screen and (max-width: 673px) {
  #contents .contentsArea .inner .contact-txt {
    font-size: 26rem;
    margin-bottom: 24px;
  }
}

#contents .contentsArea .inner .tel {
  text-align: center;
  margin-bottom: 35px;
}

#contents .contentsArea .inner .tel span.wpcf7-not-valid-tip {
  text-align: left;
  margin-top: 15px;
} */

/* @media screen and (max-width: 673px) {
  #contents .contentsArea .inner .tel {
    margin-bottom: 2.5em;
  }

  #contents .contentsArea .inner .tel p {
    margin-top: 0.5em;
    font-size: 21rem;
  }
} */

#contents .contentsArea .inner h2 {
  margin-bottom: 10px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner h2 {
    width: 70%;
  }
}

#contents .contentsArea .inner div.wpcf7-validation-errors {
  background-color: #aa0000;
  border: none;
  color: #fff;
  font-weight: bold;
  width: 100%;
  margin: 2em 0;
  padding: 20px;
  box-sizing: border-box;
}

#contents .contentsArea .inner div.wpcf7-mail-sent-ok {
  background-color: #398f14;
  border: none;
  color: #fff;
  font-weight: bold;
  width: 100%;
  margin: 2em 0;
  padding: 20px;
  box-sizing: border-box;
}

#contents .contentsArea .inner .contactText {
  text-align: center;
  min-height: 10em;
  font-size: 20px;
  padding-top: 2em;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner .contactText {
    font-size: 24rem;
  }
}

#contents .contentsArea .inner p.wpcf7c-elm-step1 {
  margin-bottom: 1em;
}

#contents .contentsArea .inner form {
  margin: 0 0 15px 0;
}

#contents .contentsArea .inner form dl {
  border-top: 2px dotted #cccccc;
  overflow: hidden;
  *zoom: 1;
}

#contents .contentsArea .inner form dl.bb {
  border-bottom: 2px dotted #cccccc;
}

#contents .contentsArea .inner form dl dt {
  float: left;
  padding: 25px 2.4891774892% 25px 0;
  width: 19.1558441558%;
  position: relative;
}

#contents .contentsArea .inner form dl dt span.req {
  position: absolute;
  right: 25px;
  top: 25px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form dl dt span.req {
    width: 10%;
    position: relative;
    right: 0;
    top: 0;
    display: inline-block;
    margin-left: 0.5em;
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form dl dt {
    float: none;
    width: 100%;
    padding-bottom: 0;
  }
}

#contents .contentsArea .inner form dl dd {
  padding: 25px 3.7878787879%;
  padding: 30px 3.7878787879%;
  /**/
  width: 70.3463203463%;
  float: left;
  border-left: 2px dotted #cccccc;
}

#contents .contentsArea .inner form dl dd p .ml {
  display: inline-block;
  margin-left: 15px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form dl dd {
    float: none;
    width: calc(100% - 10px);
    border-left: none;
    padding-left: 10px;
    padding-top: 0.5em;
  }
}

#contents .contentsArea .inner form .btn {
  text-align: center;
  margin: 45px auto 0 auto;
  width: 68.1818181818%;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .btn {
    width: 80%;
  }

  #contents .contentsArea .inner form .btn input {
    width: 100%;
  }
}

#contents .contentsArea .inner form .wpcf7c-conf {
  background-color: #e8e8e8;
}

#contents .contentsArea .inner form .wpcf7c-btn-back {
  cursor: pointer;
  display: block;
  width: 295px;
  height: 69px;
  border: none;
  text-indent: -9999px;
  background: url(/wp/wp-content/themes/hokkai/shared/img/contact/btn_reset.png) no-repeat 0 0;
  float: left;
  margin-right: 20px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .wpcf7c-btn-back {
    float: none;
    margin-right: auto;
    margin-left: auto;
    background-size: 100% auto;
    height: 10em;
  }
}

#contents .contentsArea .inner form input::placeholder {
  color: #DDDDD6;
  font-size: 14px;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form input::placeholder {
    font-size: calc(14px * var(--aspect));
  }
}

#contents .contentsArea .inner form input[type="text"],
#contents .contentsArea .inner form input[type="number"],
#contents .contentsArea .inner form input[type="tel"],
#contents .contentsArea .inner form input[type="email"],
#contents .contentsArea .inner form textarea {
  border: 0.1428571429em solid #dcdcd5;
  padding: 0.5em;
  padding: 10px 16px;
  /**/
}

@media screen and (max-width: 673px) {

  #contents .contentsArea .inner form input[type="text"],
  #contents .contentsArea .inner form input[type="number"],
  #contents .contentsArea .inner form input[type="tel"],
  #contents .contentsArea .inner form input[type="email"],
  #contents .contentsArea .inner form textarea {
    padding: 1em;
    font-size: 20rem;
    /* width: 100%; */
  }
}

#contents .contentsArea .inner form input[type="email"] {
  margin-bottom: 15px;
}

#contents .contentsArea .inner form .wpcf7-list-item:has(input[type="checkbox"]) {
  display: inline-block;
  margin-bottom: 5px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .wpcf7-list-item:has(input[type="checkbox"]) {
    display: flex;
    flex-direction: column;
    gap: calc(5px * var(--aspect));
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .wpcf7-list-item:has(input[type="checkbox"]) span {
    padding-left: calc((22.7px + 5px) * var(--aspect));
  }
}



@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form span.dib {
    display: inline-block;
  }
}

#contents .contentsArea .inner form .mt {
  display: inline-block;
  margin-top: 15px;
}

#contents .contentsArea .inner form .note {
  display: inline-block;
  margin-top: 15px;
}

#contents .contentsArea .inner form .date {
  max-width: 222px;
  width: 100%;
  margin-left: 10px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .date {
    max-width: 90%;
    width: 100%;
    /* width: auto; */
    margin-left: 0;
  }
}

#contents .contentsArea .inner form .name {
  max-width: 140px;
  width: 100%;
  margin-left: 10px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .name {
    /* max-width: calc(120px * var(--aspect)); */
    /* max-width: 100%; */
    margin-left: calc(5px * var(--aspect));
  }
}

#contents .contentsArea .inner form .address {
  max-width: 589px;
  width: 100%;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .address {
    max-width: none;
    max-width: 90%;
    /* width: auto; */
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .email {
    max-width: 90%;
    width: 100%;
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .phone {
    max-width: 90%;
    width: 100%;
  }
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .postnum {
    max-width: calc(222px * var(--aspect));
    margin-left: calc(5px * var(--aspect));
  }
}


/* #contents .contentsArea .inner form .text-01 {
  width: 33.8461538462%;
} */

/* @media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .text-01 {
    width: 90%;
  }
}

#contents .contentsArea .inner form .text-02 {
  width: 22.3076923077%;
  margin-bottom: 15px;
  margin-left: 1.5384615385%;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .text-02 {
    width: 50%;
  }
}

#contents .contentsArea .inner form .text-03 {
  width: 88.4615384615%;
  margin-bottom: 15px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form .text-03 {
    width: 90%;
  }
} */

#contents .contentsArea .inner form textarea {
  width: 88.4615384615%;
  height: 90px;
}

@media screen and (max-width: 673px) {
  #contents .contentsArea .inner form textarea {
    max-width: 90%;
    width: 100%;
    height: 10em;
  }
}

#contents .contentsArea .inner form .acceptance-note {
  margin-left: 1em;
}

#contents .contentsArea .inner form .acceptance-note a {
  text-decoration: underline;
}

@media screen and (max-width: 673px) {
  #contents .headingArea {
    height: auto;
  }

  #contents .headingArea div {
    /* background-position: 59% bottom; */
    /* background-size: auto 100%; */
  }

  #contents .bnaviArea .inner .tit {
    width: 100%;
  }

  #contents .contentsArea .inner {
    padding-bottom: 0;
  }

  #contents .ajax-loader {
    width: 16px;
  }

  #contents span.wpcf7-list-item {
    margin-left: -0.3em;
  }

  #contents input[type="radio"]+span,
  #contents .wpcf7-list-item input[type="hidden"]+span {
    padding-left: 1.4em;
    margin-right: 2em;
  }
}

.privacyLink {
  padding-top: 1em;
  padding-bottom: 0;
}

@media screen and (max-width: 673px) {
  .privacyLink {
    padding-top: 0;
    padding-bottom: 2em;
  }
}

.privacyLink p {
  text-align: center;
}

.flatpickr-calendar {
  transform: scale(1.5);
  transform-origin: left;
}