@charset "utf-8";
/* CSS Document */

/*==================================================
  FORM PARTS
==================================================*/
input {
  padding: 5px;
}

input[type="radio"] {
  width: auto;
}

input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  padding: 20px;
  cursor: pointer;
  border: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  -webkit-appearance: button;
  appearance: button;
  text-indent: .01px;
  text-overflow: "";
  padding: 10px;
  border: 1px solid #aaaaaa;
  background: #fff;
  -moz-box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.5s;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="radio"]:focus,
textarea:focus,
input[type="text"]:hover,
input[type="password"]:hover,
textarea:hover,
select:hover {
  border: 1px solid var(--color-lightblue);
  box-shadow: 0px 0px 5px 0px rgba(102, 175, 233, 0.4);
}

input[type="checkbox"] {
  border: 1px solid #aaaaaa;
  vertical-align: -8px;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  margin-right: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  background: #e2e2e2;
  background: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
}

input[type="checkbox"]:checked {
  background: #666666;
  background: linear-gradient(to bottom, #666666 0%, #333 100%);
  border: 1px solid var(--color-black);
}

input[type="checkbox"]:checked:before {
  position: absolute;
  left: 1px;
  top: 16px;
  display: block;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  content: "";
  width: 10px;
  height: 4px;
  background: #ffffff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: right center;
  transform-origin: right center;
}

input[type="checkbox"]:checked:after {
  display: block;
  position: absolute;
  left: 9px;
  top: 16px;
  content: "";
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  width: 16px;
  height: 4px;
  background: #ffffff;
  -webkit-transform: rotate(-53deg);
  transform: rotate(-53deg);
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

/*複数アイテム*/
.wpcf7-form-control-wrap .wpcf7-list-item {
  margin-bottom: 10px;
}

/*個人情報保護のチェック*/
.wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
  margin-bottom: 0;
}

/*==================================================
  FORM OPTIONS
==================================================*/
/*フォーム見出し*/
.formTtl {
  text-align: center;
  margin: 1em auto;
  font-size: clamp(18px, 5vw, 36px);
}

/*フローチャート*/
.form__flowchart ol {
  margin: var(--gutter-narrow) 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.form__flowchart li {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  width: 240px;
  max-width: 33.3%;
  background-color: #E7E7E6;
  color: var(--color-darkgray);
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1em;
}

.form__flowchart li:not(:last-child)::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -9px;
  border-style: solid;
  border-color: transparent transparent transparent #E7E7E6;
  border-width: 30px 0 30px 10px;
  z-index: 2;
}

.form__flowchart li:not(:last-child)::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -10px;
  border-style: solid;
  border-color: transparent transparent transparent #FFF;
  border-width: 30px 0 30px 10px;
  z-index: 1;
}

.form__flowchart li.prev::after {
  border-color: transparent transparent transparent var(--color-gray);
}

.form__flowchart li.here {
  background-color: #666;
  color: #fff;
}

.form__flowchart li.here::before {
  display: none;
}

.form__flowchart li.here::after {
  border-color: transparent transparent transparent #666;
}

.form__flowchart .flowchart__step {
  margin-top: -5px;
}

.form__flowchart .flowchart__step__num {
  font-size: 1.5em;
}

/*フォームtable*/
.entrytbl {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.entrytbl a {
  text-decoration: underline;
}

.entrytbl .brdr_td {
  border-bottom: 1px dashed #B3B3B3;
}

.entrytbl th {
  border-bottom: 1px dashed #B3B3B3;
}

.entrytbl td {
  border-bottom: 1px dashed #B3B3B3;
}

.entrytbl td p {
  margin-top: 10px;
}

.entrytbl td.entry_innerTblWrap {
  padding: 0;
}

.entrytbl .entry_innerTbl td {
  border-bottom: none;
}

.entrytbl .entry_innerTbl label {
  margin-right: 1em;
}

.entry_item {
  display: inline-block;
  margin: 0 1em 0 0;
}

/*************** フォーム注釈 ****************/
.entrytbl_caption {
  margin: 0 auto 1em;
  border-top: 1px solid;
  padding: 1em 0;
}

.required,
.arbitrary,
.empty {
  position: relative;
}

.required::after,
.arbitrary::after {
  display: inline-block;
}

.required::after {
  content: "※";
  color: var(--color-red);
  margin-left: .5em;
}

/*
.arbitrary::after {
  content: "任意";
  background: var(--color-darkgray);
}
*/

/*注釈*/
.form_caution {
  display: inline-block;
  font-size: 0.8em;
}

/*郵便番号リンク*/
.form_link_zip {
  display: inline-block;
  padding: 0.5em 1.5em 0.5em 0.5em;
  background: var(--color-darkgray);
  color: #fff;
  position: relative;
  font-size: 0.9em;
  text-decoration: none !important;
  position: relative;
}

.form_link_zip::after {
  position: absolute;
  content: '';
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  top: 50%;
  right: 1em;
}

/*datepicker定休日*/
.class-holiday span {
  color: var(--color-red) !important;
}

/*イベントタイトル*/
#select-title {
  width: 80%;
}

/*cf7送信ボタン*/
.submit_warning {
  text-align: center;
}

.submit_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: var(--gutter-narrow) auto 0;
}

.submit_box input[type="submit"] {
  margin-bottom: 1em;
  background-color: var(--color-main);
}

.submit_box input[disabled] {
  background-color: var(--color-gray);
}

/*バリデーションメッセージ表示位置調整*/
.entrytbl .brdr_td:has(.wpcf7-not-valid-tip) {
  padding-bottom: 3.5em;
  position: relative;
}

.entrytbl .brdr_td:has(.wpcf7-not-valid-tip) .wpcf7-form-control-wrap {
  position: static;
}

.entrytbl .brdr_td .wpcf7-not-valid-tip {
  background: #fff;
  padding: 5px;
  color: var(--color-red);
  display: block;
  width: 80%;
  position: absolute;
  bottom: 10px;
  left: 20px;
}


/*
===== Retina Display FORM SETTINGS ==========================================
*/

@media only screen and (-webkit-min-device-pixel-ratio: 2) {

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    max-width: 90%;
    width: 90%;
  }

  @media screen and (min-width: 768px) {
    .input100 {
      max-width: calc(100px + 2em) !important;
    }

    .input150 {
      max-width: calc(150px + 2em) !important;
    }

    .input200 {
      max-width: calc(200px + 2em) !important;
    }
  }
}


/*
===== PC / TABLET FORM SETTINGS ==========================================
*/
@media screen and (min-width: 768px) {

  /*フォームtable*/
  .entrytbl .entry_innerTbl br+label {
    margin-left: 1em;
  }

  .entrytbl .brdr_td {
    padding: 20px;
  }

  .entrytbl th {
    width: 25%;
    padding: 20px;
  }

  .entrytbl td {
    padding: 20px;
  }

  .entrytbl .entry_innerTbl td {
    padding: 20px;
  }

  /*************** フォーム注釈 ****************/
  .submit_box .wpcf7-spinner {
    margin-top: 10px;
  }

  /*************** フォームパーツ ****************/
  .input100 {
    max-width: calc(100px + 2em);
  }

  .input150 {
    max-width: calc(150px + 2em);
  }

  .input200 {
    max-width: calc(200px + 2em);
  }

}


/*
===== TABLET FORM SETTINGS ==========================================
*/
@media screen and (min-width: 768px) and (max-width: 1024px) {

  input[name="customer_last_name"],
  input[name="customer_first_name"],
  input[name="customer_last_name_kana"],
  input[name="customer_first_name_kana"] {
    width: 34%;
  }
}


/*
===== SP FORM SETTINGS ==========================================
*/
@media screen and (max-width: 767px) {

  .entrytbl input[type="text"],
  .entrytbl input[type="tel"],
  .entrytbl input[type="email"],
  .entrytbl input[type="password"],
  .entrytbl textarea,
  .entrytbl select {
    width: 90%;
    max-width: 320px;
  }

  select[multiple] {
    width: 80%;
    max-width: 360px;
  }

  /*contactform7 css設定*/

  .wpcf7-form textarea {
    width: 90% !important;
  }


  .contactPage .entrytbl td table {
    width: 100% !important;
  }

  .contactPage .entrytbl td span,
  .shop_reservePage .entrytbl td span {
    display: inline-block;
  }

  .contactPage .entrytbl td .font11,
  .shop_reservePage .entrytbl td .font11 {
    display: block;
  }

  .wpcf7-list-item,
  .wpcf7-list-item-label,
  .wpcf7-form-control-wrap {
    width: 100%;
    display: inline !important;
  }

  .wpcf7-form .ajax-loader {
    width: auto !important;
    height: auto !important;
  }

  .wpcf7-not-valid-tip {
    width: 80% !important;
    background: var(--color-red) !important;
    padding: 5px;
    color: #fff !important;
    display: block !important;
  }

  .wpcf7-character-count {
    display: inline-block !important;
  }

  .label_block label {
    display: block !important;
    margin-bottom: 5px;
  }

  .entrytbl.wishtbl .entry_innerTbl td:has(input[name="customer_wishes[new_house][floor_plan_codes][]"]),
  .entrytbl.wishtbl .entry_innerTbl td:has(input[name="customer_wishes[used_house][floor_plan_codes][]"]),
  .entrytbl.wishtbl .entry_innerTbl td:has(input[name="customer_wishes[used_mansion][floor_plan_codes][]"]) {
    display: table-cell;
    white-space: nowrap;
    width: 25%;
    padding: 10px 0 10px 5px;
  }

  /* フローチャート */
  .form__flowchart li {
    height: 60px;
    flex-direction: column;
    gap: 0;
  }

  .form__flowchart li:not(:last-child)::before {
    border-width: 30px 0 30px 10px;
  }

  .form__flowchart li:not(:last-child)::after {
    border-width: 30px 0 30px 10px;
  }

  /* フォームtable*/
  .entrytbl {
    width: 98%;
    margin: 10px auto var(--gutter);
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background-color: transparent;
  }

  .entrytbl a {
    text-decoration: underline;
  }

  .entrytbl tr {
    display: block;
  }

  .entrytbl th {
    border-radius: 0px;
    display: list-item;
    border: none;
    list-style-type: none;
    margin: 0px;
    padding: 1em .5em 0;
    width: 100%;
  }

  .entrytbl td {
    display: list-item;
    border: none;
    list-style-type: none;
    margin: 0px;
    word-wrap: break-word !important;
    word-break: break-all;
    padding: 1em .5em;
    width: 100%;
    border-bottom: 1px dashed var(--color-gray);
  }

  .entrytbl td span {
    display: inline-block;
  }

  .entrytbl td.entry_innerTblWrap {
    padding: 10px;
  }

  .entrytbl .entry_innerTbl {
    width: 100%;
  }

  .entrytbl .entry_innerTbl th {
    padding: .5em 0;
  }

  .entrytbl .entry_innerTbl td {
    padding: .5em 0;
  }

  /*************** フォーム注釈 ****************/
  .required,
  .arbitrary {
    padding-right: 3em !important;
  }

  .required::before,
  .arbitrary::after {
    top: 10px;
    right: 10px;
  }

  .entrytbl td .form_caution {
    display: block;
    margin-top: 0.5em;
  }

  /*郵便番号リンク*/
  .form_link_zip {
    margin-top: 1em;
  }
}