/* MW WP Form を WF フォームの見た目に合わせる */
.ik-form-slot,
.ik-form-slot * {
  box-sizing: border-box;
}
.ik-form-slot .mw_wp_form {
  margin: 0;
}
.ik-form-slot .mw_wp_form form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}
.ik-form-slot .mw_wp_form form > p,
.ik-form-slot .mw_wp_form form > br {
  display: none;
}
.ik-form-slot .mw_wp_form form > dl {
  display: grid !important;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: start;
  margin: 0;
  width: 100%;
}
.ik-form-slot .mw_wp_form dt {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-top: 12px;
  margin: 0;
  color: #2e2a26;
}
.ik-form-slot .mw_wp_form dd {
  margin: 0;
  min-width: 0;
}
.ik-form-slot .ik-wf-req {
  font-size: 11px;
  color: #c0392b;
  margin-left: 8px;
  font-weight: 400;
}
.ik-form-slot .ik-wf-opt {
  font-size: 11px;
  color: #7a7268;
  margin-left: 8px;
  font-weight: 400;
}
.ik-form-slot input[type="text"],
.ik-form-slot input[type="email"],
.ik-form-slot input[type="tel"],
.ik-form-slot input[type="number"],
.ik-form-slot input[type="datetime-local"],
.ik-form-slot input[type="date"],
.ik-form-slot select,
.ik-form-slot textarea {
  width: 100%;
  max-width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid #ddd5c8;
  background: #fff;
  color: #2e2a26;
  border-radius: 0;
}
.ik-form-slot input[type="text"],
.ik-form-slot input[type="email"],
.ik-form-slot input[type="tel"],
.ik-form-slot input[type="number"],
.ik-form-slot select,
.ik-form-slot textarea {
  appearance: none;
}
.ik-form-slot select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%237a7268' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ik-form-slot textarea {
  resize: vertical;
  min-height: 120px;
}
.ik-form-slot input:focus,
.ik-form-slot select:focus,
.ik-form-slot textarea:focus {
  outline: 2px solid #46a1b5;
  outline-offset: 1px;
}
.ik-form-slot .ik-wf-zip {
  width: 180px;
  max-width: 100%;
}
.ik-form-slot .ik-wf-note {
  display: block;
  font-size: 12px;
  color: #7a7268;
  line-height: 1.9;
  margin: 6px 0 0;
}
.ik-form-slot dd > p {
  display: contents;
}
.ik-form-slot dd > br,
.ik-form-slot .ik-wf-zip-row br {
  display: none !important;
}
.ik-form-slot dd:has(.mwform-radio-field),
.ik-form-slot dd:has(.mwform-checkbox-field) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}
.ik-form-slot .mwform-radio-field,
.ik-form-slot .mwform-checkbox-field,
.ik-form-slot .horizontal-item,
.ik-form-slot .mw_wp_form .horizontal-item + .horizontal-item {
  display: flex;
  margin: 0 !important;
  vertical-align: top;
}
.ik-form-slot .mwform-radio-field label,
.ik-form-slot .mwform-checkbox-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 16px 6px 0;
  cursor: pointer;
  background: transparent;
  border: none;
}
.ik-form-slot input[type="radio"],
.ik-form-slot input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  accent-color: #46a1b5;
  cursor: pointer;
}
.ik-form-slot .ik-wf-dates {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ik-form-slot .ik-wf-date-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ik-form-slot .ik-wf-date-row > span:not(.error) {
  flex: none;
  width: 62px;
  font-size: 13px;
  color: #5c554b;
}
.ik-form-slot .ik-wf-date-row > .error {
  flex: 1 0 100%;
  width: 100%;
}
.ik-form-slot .ik-wf-date-row input {
  flex: 1 1 auto;
  min-width: 0;
}
.ik-form-slot .ik-wf-date-row {
  position: relative;
}
.ik-form-slot .ik-wf-datetime-value {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
  overflow: hidden;
}
.ik-form-slot .ik-wf-datetime-ui {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ik-form-slot .ik-wf-datetime-date {
  flex: 1 1 150px;
  min-width: 0;
}
.ik-form-slot .ik-wf-datetime-hour,
.ik-form-slot .ik-wf-datetime-min {
  flex: 0 0 72px;
  width: 72px;
  max-width: 72px;
}
.ik-form-slot .ik-wf-datetime-sep {
  flex: none;
  color: #5c554b;
}
.ik-form-slot .ik-wf-guests dd {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.ik-form-slot .ik-wf-guest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #5c554b;
}
.ik-form-slot .ik-wf-num,
.ik-form-slot input.ik-wf-num {
  width: 90px;
}
.ik-form-slot .ik-wf-places dd,
.ik-form-slot .ik-wf-places dd:has(.mwform-radio-field) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.ik-form-slot .ik-wf-places input[type="hidden"],
.ik-form-slot .ik-wf-guests br {
  display: none !important;
}
.ik-form-slot .ik-wf-places .mwform-radio-field {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
}
.ik-form-slot .ik-wf-place-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd5c8;
  cursor: pointer;
  overflow: hidden;
}
.ik-form-slot .ik-wf-place-card.is-checked {
  border-color: #46a1b5;
  box-shadow: 0 0 0 1px #46a1b5;
}
.ik-form-slot .ik-wf-place-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  flex: none;
}
.ik-form-slot .ik-wf-place-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 0;
  flex: 1 1 auto;
  width: 100%;
  min-height: calc(1.6em * 2 + 24px);
}
.ik-form-slot .ik-wf-place-card .mwform-radio-field-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.ik-form-slot .contact-txt-area {
  background: #fff;
  padding: 18px 20px;
  margin: 0;
}
.ik-form-slot .ik-wf-pp-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ik-form-slot .ik-wf-pp-body,
.ik-form-slot .recaptcha-pplink {
  font-size: 11px;
  color: #5c554b;
  line-height: 1.95;
  margin-top: 8px;
}
.ik-form-slot .recaptcha-pplink a {
  color: #46a1b5;
  text-decoration: underline;
}
.ik-form-slot .ik-wf-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.ik-form-slot .ik-wf-agree .mwform-checkbox-field {
  margin: 0;
}
.ik-form-slot .ik-wf-agree label {
  font-size: 14px;
  font-weight: 700;
  padding: 0;
}
.ik-form-slot .ik-wf-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.ik-form-slot .contact-btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.ik-form-slot .contact-btn br {
  display: none;
}
.ik-form-slot .contact-btn button {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  border-radius: 0;
}
.ik-form-slot .contact-btn button.check,
.ik-form-slot .contact-btn button[name="submit"] {
  background: #46a1b5;
  color: #fff !important;
}
.ik-form-slot .contact-btn button.back {
  background: #fff;
  color: #46a1b5 !important;
  border: 1px solid #46a1b5;
}
.ik-form-slot .ik-wf-foot {
  font-size: 12px;
  color: #7a7268;
  line-height: 1.9;
  margin: 14px 0 0;
  text-align: center;
}
.ik-form-slot input[type="datetime-local"],
.ik-form-slot input[type="date"] {
  min-height: 46px;
}
.ik-form-slot .ik-wf-pp-body a {
  color: #46a1b5;
  text-decoration: underline;
}

/* オンライン相談：WFと同じ余白・ボタン矢印 */
#wf-online .ik-form-slot .mw_wp_form form {
  gap: 0;
}
#wf-online .ik-form-slot dl,
#wf-online .ik-form-slot dt,
#wf-online .ik-form-slot dd {
  border: none;
  background: transparent;
  box-shadow: none;
}
#wf-online .ik-form-slot .mw_wp_form form > dl {
  margin-bottom: 22px;
}
#wf-online .ik-form-slot .mw_wp_form form > dl:last-of-type {
  margin-bottom: 0;
}
#wf-online .ik-form-slot .contact-txt-area {
  margin-top: 26px;
}
#wf-online .ik-form-slot .ik-wf-agree {
  margin-top: 18px;
}
#wf-online .ik-form-slot .contact-btn {
  margin-top: 18px;
}
#wf-online .ik-form-slot .contact-btn button.check::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}

/* 資料請求：WFと同じ項目配置・余白・検索ボタン */
#wf-rokkostyle .ik-form-slot .mw_wp_form form {
  gap: 0;
}
#wf-rokkostyle .ik-form-slot dl,
#wf-rokkostyle .ik-form-slot dt,
#wf-rokkostyle .ik-form-slot dd {
  border: none;
  background: transparent;
  box-shadow: none;
}
#wf-rokkostyle .ik-form-slot .mw_wp_form form > dl {
  margin-bottom: 22px;
}
#wf-rokkostyle .ik-form-slot .mw_wp_form form > dl:last-of-type {
  margin-bottom: 0;
}
#wf-rokkostyle .ik-form-slot .contact-txt-area {
  background: #f6f4ef;
  margin-top: 26px;
}
#wf-rokkostyle .ik-form-slot .ik-wf-agree {
  margin-top: 18px;
}
#wf-rokkostyle .ik-form-slot .contact-btn {
  margin-top: 18px;
}
#wf-rokkostyle .ik-form-slot .contact-btn button.check::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}

#wf-contact .ik-form-slot .mw_wp_form form {
  gap: 0;
}
#wf-contact .ik-form-slot .mw_wp_form form > dl {
  margin-bottom: 22px;
}
#wf-contact .ik-form-slot .mw_wp_form form > dl:last-of-type {
  margin-bottom: 0;
}
#wf-contact .ik-form-slot .contact-txt-area {
  margin-top: 26px;
}
#wf-contact .ik-form-slot .ik-wf-agree {
  margin-top: 18px;
}
#wf-contact .ik-form-slot .contact-btn {
  margin-top: 18px;
}
#wf-contact .ik-form-slot .contact-btn button.check::after,
#wf-contact .ik-form-slot .contact-btn button[name="submit"]::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}

/* 見学予約（comoa / COMORUMO）：WFと同じ余白・ボタン矢印 */
#wf-comoa .ik-form-slot .mw_wp_form form,
#wf-comorumo .ik-form-slot .mw_wp_form form {
  gap: 0;
}
#wf-comoa .ik-form-slot dl,
#wf-comoa .ik-form-slot dt,
#wf-comoa .ik-form-slot dd,
#wf-comorumo .ik-form-slot dl,
#wf-comorumo .ik-form-slot dt,
#wf-comorumo .ik-form-slot dd {
  border: none;
  background: transparent;
  box-shadow: none;
}
#wf-comoa .ik-form-slot .mw_wp_form form > dl,
#wf-comorumo .ik-form-slot .mw_wp_form form > dl {
  margin-bottom: 22px;
}
#wf-comoa .ik-form-slot .mw_wp_form form > dl:last-of-type,
#wf-comorumo .ik-form-slot .mw_wp_form form > dl:last-of-type {
  margin-bottom: 0;
}
#wf-comoa .ik-form-slot .contact-txt-area,
#wf-comorumo .ik-form-slot .contact-txt-area {
  margin-top: 26px;
}
#wf-comoa .ik-form-slot .ik-wf-agree,
#wf-comorumo .ik-form-slot .ik-wf-agree {
  margin-top: 18px;
}
#wf-comoa .ik-form-slot .contact-btn,
#wf-comorumo .ik-form-slot .contact-btn {
  margin-top: 18px;
}
#wf-comoa .ik-form-slot .contact-btn button.check::after,
#wf-comorumo .ik-form-slot .contact-btn button.check::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}
#wf-comoa .ik-form-slot textarea,
#wf-comorumo .ik-form-slot textarea {
  min-height: 108px;
}
.ik-form-slot .ik-wf-zip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ik-form-slot .ik-wf-zip-row .ik-wf-zip {
  width: 180px;
  max-width: 100%;
}
.ik-form-slot .ik-wf-zip-btn {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #46a1b5;
  background: #fff;
  border: 1px solid #46a1b5;
  padding: 12px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ik-form-slot .ik-wf-zip-btn i {
  font-size: 11px;
}
.ik-form-slot .error,
.ik-form-slot .mwform-error {
  font-size: 13px;
  color: #c0392b;
  line-height: 1.9;
  margin: 8px 0 0;
  background: #fdf1ef;
  padding: 8px 12px;
  scroll-margin-top: 120px;
}
#ik-wf-first-error {
  scroll-margin-top: 160px;
}
@media (max-width: 767px) {
  #ik-wf-first-error {
    scroll-margin-top: 140px;
  }
}
.ik-form-slot .mw_wp_form_confirm dd,
.ik-form-slot .mw_wp_form_preview dd {
  font-size: 15px;
  line-height: 1.8;
  padding-top: 10px;
}

@media (max-width: 767px) {
  .ik-form-slot .mw_wp_form form {
    gap: 16px;
  }
  #wf-rokkostyle .ik-form-slot .mw_wp_form form,
  #wf-online .ik-form-slot .mw_wp_form form,
  #wf-comoa .ik-form-slot .mw_wp_form form,
  #wf-comorumo .ik-form-slot .mw_wp_form form {
    gap: 0;
  }
  #wf-rokkostyle .ik-form-slot .mw_wp_form form > dl,
  #wf-online .ik-form-slot .mw_wp_form form > dl,
  #wf-comoa .ik-form-slot .mw_wp_form form > dl,
  #wf-comorumo .ik-form-slot .mw_wp_form form > dl {
    margin-bottom: 16px;
  }
  .ik-form-slot .mw_wp_form form > dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ik-form-slot .ik-wf-places dd,
  .ik-form-slot .ik-wf-places dd:has(.mwform-radio-field) {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ik-form-slot .ik-wf-place-card label {
    padding: 10px;
    min-height: calc(1.6em * 2 + 20px);
  }
  .ik-form-slot .ik-wf-place-card .mwform-radio-field-text {
    font-size: 12px;
  }
  .ik-form-slot .mw_wp_form dt {
    padding-top: 0;
  }
  #wf-contact .ik-form-slot .mw_wp_form form {
    gap: 0;
  }
  #wf-contact .ik-form-slot .mw_wp_form form > dl {
    margin-bottom: 16px;
  }
  #wf-contact .ik-form-slot .contact-txt-area {
    margin-top: 26px;
  }
  #wf-contact .ik-form-slot .ik-wf-agree {
    margin-top: 18px;
  }
  #wf-contact .ik-form-slot .contact-btn {
    margin-top: 18px;
  }
  .ik-form-slot input[type="text"],
  .ik-form-slot input[type="email"],
  .ik-form-slot input[type="tel"],
  .ik-form-slot input[type="datetime-local"],
  .ik-form-slot input[type="date"],
  .ik-form-slot select,
  .ik-form-slot textarea {
    padding: 11px 12px;
  }
  .ik-form-slot .contact-txt-area {
    max-height: 160px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ik-form-slot .ik-wf-date-row {
    align-items: flex-start;
  }
  .ik-form-slot .ik-wf-date-row > span:not(.error) {
    padding-top: 12px;
    line-height: 1.5;
  }
  .ik-form-slot .ik-wf-date-row > .error {
    flex: 1 0 100%;
    width: 100%;
  }
  .ik-form-slot .ik-wf-datetime-ui {
    flex-wrap: wrap;
  }
  .ik-form-slot .ik-wf-datetime-date {
    flex: 1 1 100%;
  }
  .ik-form-slot .ik-wf-datetime-hour,
  .ik-form-slot .ik-wf-datetime-min {
    flex: 1 1 72px;
    width: auto;
    max-width: none;
  }
  #wf-online .ik-form-slot .ik-wf-date-row > span:not(.error) {
    width: 62px;
  }
}
