
/***********
contact
************/

.contact{
  font-family: var(--font-family-gothic02);
}
.contact-half {
  display: flex;
  gap: 0 1.5em;
}
.contact-half-item {
  flex: 1;
}

.contact-table {
  width: 100%;
}

.contact-table tr {
  border-bottom: 1px solid var(--color-sub03);
}

.contact-table th {
  text-align: left;
  vertical-align: top;
  padding: 1.5em 60px 1em 0;
  font-weight: 500;
  line-height: 1.5;
  width: 16em;
  position: relative;
}

.contact-table td {
  padding: 1.2em 0 1.2em 1.5em;
}

.contact-table-item:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--color-sub03);
  margin-bottom: 20px;
}

.contact-table-title {
  font-weight: 500;
  margin-bottom: 0.3em;
}

.contact-frame {
  margin: 30px 0;
  height: 200px;
  overflow: auto;
  border: 1px solid #ddd;
  background-color: #f6f6f6;
}
.contact-frame-inner {
  padding: 25px;
}

.contact-agreement {
  text-align: center;
  padding: 4em 0 0;
}
.contact-agreement a {
  cursor: pointer;;
}
.contact-agreement-title {
  font-size: 170%;
  font-weight: 600;
}
.contact-agreement-title::after {
  content: "";
  display: block;
  width: 3em;
  height: 2px;
  background-color: #000;
  margin: 0.4em auto 0.8em;
}
.contact-agreement-text {
  line-height: 1.8;
  font-size: 0.8rem;
}

.contact-agreement-check {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding-top: 20px;
  cursor: pointer;
}
.contact-agreement-check label {
  cursor: pointer;
}

.contact-submit {
  text-align: center;
  padding-top: 2em;
}

.contact-submit-btn {
  appearance: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
    width: 100%;
    max-width: 480px;
  }

}

/***********
linkCard
************/

.l-linkCard {
  display: flex;
  flex-wrap: wrap;
  margin-left: -2%;
  margin-bottom: -2%;
}
.l-linkCard li {
  margin-left: 2%;
  margin-bottom: 2%;
}
.l-linkCard.-half li {
  width: 48%;
}
.l-linkCard.-trisect li {
  width: 31.3%;
}

.l-linkCard .contact-submit-btn {
  width: 100%;
  min-width: initial;
  max-width: initial;
}

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

  .l-linkCard.-trisect li {
    width: 48%;
  }

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

  .l-linkCard {
    display: block;
    margin-left: 0;
    margin-bottom: -5px;
  }
  .l-linkCard li {
    margin-left: 0;
    margin-bottom: 5px;
  }
  .l-linkCard.-half li ,
  .l-linkCard.-trisect li {
    width: 100%;
    text-align: center;
  }

  .l-linkCard .contact-submit-btn {
    display: inline-flex;
    width: auto;
    min-width: 16em;
    max-width: initial;
  }

}

/***********
btn
************/

.contact-submit-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: auto;
  min-width: 16em;
  min-height: 3.8em;
  padding: 1em 3.5em 1em 3.5em;
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--font-family-gothic);
  line-height: 1.35;
  text-decoration: none !important;
  background-color: #000;
  color: var(--color-base);
  transition: all 0.2s ease;
  position: relative;
}
.contact-submit-btn::before {
  content: "";
  display: block;
  width: 1em;
  aspect-ratio: 1 / 1;
  background: url(../../img/icon/arrow_wt.png) no-repeat center center / 100% auto;
  position: absolute;
  right: 0.8em;
  top: 50%;
  z-index: 2;
  translate: 0 -50%;
}
.contact-submit-btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #fff3;
  scale: 0 1;
  z-index: 2;
  transform-origin: right;
  transition: scale 0.3s ease;
}
body.is-pc .contact-submit-btn:not(:disabled):hover::after {
  scale: 1 1;
  transform-origin: left;
}
.contact-submit-btn > span {
  display: inline-block;
}
.contact-submit-btn > span::after {
  content: "";
  display: block;
  width: 2em;
  height: 2px;
  background: linear-gradient(to right, #000 0.6em, #fff 0.6em);
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 3;
  translate: -0.6em -50%;
}

.contact-submit-btn.-back {
  background-color: #f0f0f0;
  color: #bbb;
  min-height: 3em;
  min-width: 10em;
  font-size: 0.9rem;
  padding-right: 2.5em;
  padding-left: 2.5em;
  text-align: center;
}
.contact-submit-btn.-back:hover {
  background-color: #ddd;
  color: #888;
}
.contact-submit-btn.-back::before {
  display: none;
}
.contact-submit-btn.-back::after {
  display: none;
}
.contact-submit-btn.-back > span::after {
  display: none;
}

.contact-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.2;
}

@media screen and (max-width:640px) {
  .contact-submit-btn {
    font-size: 1.1rem;
  }
}

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

  .contact{
  }

  .contact-table,
  .contact-table thead,
  .contact-table tbody,
  .contact-table tfoot,
  .contact-table tr,
  .contact-table th,
  .contact-table td {
    display: block;
    width: 100%;
  }
  .contact-table tr {
    padding: 20px 0;
  }

  .contact-table th {
    padding: 0 0 10px 3rem;
  }

  .contact-table td {
    padding: 0;
  }

  .contact-table-item:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: none;
    margin-bottom: 10px;
  }

  .contact-frame {
    margin: 15px 0;
    height: 120px;
    font-size: 0.85rem;
  }
  .contact-frame-inner {
    padding: 15px;
  }

  .contact-agreement {
    padding: 15px 0;
  }
  .contact-agreement-title {
  }
  .contact-agreement-text {
    line-height: 1.8;
    text-align: left;
  }

  .contact-agreement-check {
    padding-top: 20px;
    letter-spacing: 0;
  }

  .contact-submit {
    text-align: center;
    padding: 20px 0 40px;
  }

  .contact-submit-btn{
    min-width: 16em;
  }

}

/***********
input
************/

.input-icon {
  display: inline-block;
  width: 3.6em;
  padding: 5px 0px;
  font-size: 0.7rem;
  border-radius: 3px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  position: absolute;
  right: 1em;
  top: 1.5rem;
}

.input-icon.input-icon-required {
  background-color: #de0000;
  color: #fff;
}

.input-icon.input-icon-option {
  background-color: #ddd;
}
.input-icon.input-icon-confirm {
  background-color: #05c;
  color: #fff;
}
.is-completed .input-icon {
  background-color: #00e852;
  color: #fff;
}


.input-text,
.input-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 10px;
  font-size: clamp(16px,1rem, 1rem);
  min-height: 2.2em;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #f0f0f0;
  font-family: var(--font-family-gothic02);
}
.input-text{
  line-height: 44px;
}
.input-textarea{
  padding: 5px 10px;
  line-height: 1.5;
}

.input-text:focus,
.input-textarea:focus,
.input-select:focus {
  box-shadow: 0 0 6px #09f;
  background-color: #fff;
}

.input-file{
  background-color: #f0f0f0;
  padding: 15px 20px;
  width: 100%;
  border-radius: 5px;
}

.input-select {
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../../img/select_arrow.png) no-repeat right center;
  padding: 0 25px 0 10px;
  min-height: 2.2em;
  line-height: 2.2em;
  font-size: clamp(16px,1rem, 1rem);
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #f0f0f0;
  font-family: var(--font-family-gothic02);
}

.input-full {
  width: 100%;
  box-sizing: border-box;
}

.input-half {
  width: 100%;
  max-width: 30em;
  box-sizing: border-box;
}

.input-small {
  width: 100%;
  max-width: 14em;
  box-sizing: border-box;
}

.input-xsmall {
  width: 6em;
  box-sizing: border-box;
}


.input-heading{
  line-height: 40px;
  margin: 2px 5px 0 2px;
  text-align: center;
  font-weight: 500;
}
.input-zip{
  width: 9em;
}

.input-zip-btn{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  box-sizing: border-box;
  height: 44px;
  line-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--color-sub03);
  border-radius: 5px;
  background-color: var(--color-main);
  color: var(--color-base);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-family-gothic02);
  text-decoration: none;
  vertical-align: middle;
  margin-left: 10px;
  cursor: pointer;
}


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

  .input-icon {
    width: 3.2em;
    right: auto;
    left: 0;
    top: 0;
    translate: 0 -0;
  }

  .input-text,
  .input-textarea {
  }
  .input-text{
    line-height: 1.5;
  }
  .input-textarea{
  }

  .input-select {
  }

  .input-full {
    width: 100%;
  }

  .input-half {
    width: 100%;
  }

  .input-small {
  }

  .input-heading{
  }
  .input-zip{
  }

  .input-zip-btn{
    height: 44px;
    line-height: 44px;
    font-size: 12px;
    padding: 0 5px;
    margin-left: 2px;
    translate: 0 -0.2em;
  }

}

/***********
radio
************/

input[type='radio']{
  margin-right: 0.5em;
}
input[type='checkbox']{
  margin-right: 0.5em;
}

.input-choice input[type='radio']:checked {
}
.input-choice input[type='checkbox']:checked {
}
.input-choice.-flex {
  display: flex;
  flex-wrap: wrap;
}
.input-choice label {
  display: inline-block;
  min-width: 10em;
  border: 1px solid #bbb;
  background-color: #fff;
  padding: 0.5em 1em 0.5em 0.5em;
  border-radius: 5px;
  letter-spacing: 0;
  font-weight: 400;
  font-feature-settings: "pkna";
  margin-right: 5px;
  margin-bottom: 5px;
  cursor: pointer;
}
.input-choice label:hover {
  border-color: #333;
}
.input-choice label:has(:checked) {
  background-color: #e7f5ff;
  border-color: #0060df;
  box-shadow: 0 0 0 1px #0060df;
}

.input-choice.-small label {
  min-width: initial;
}

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

  .input-choice label {
    min-width: 8em;
  }

}

/***********
flatpickr
************/

.flatpickr-group{
  position: relative;
}

.flatpickr-clear{
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -0.5em;
  line-height: 1;
  font-family: Arial;
  font-size: 36px;
  font-weight: normal;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.3;
}
.flatpickr-clear:hover{
  opacity: 1;
}

.flatpickr-weekday {
  color: #fff !important;
}
/* 土日祝の色(日曜はじまり) */
.flatpickr-weekday:nth-child(1) {
  color: #ff8989 !important;
}

.flatpickr-weekday:nth-child(7) {
  color: #79e0ff !important;
}



/***********
confirm
************/

.confirm{
}
.confirm-table {
  width: 100%;
  border: 1px solid #ccc;
}
.confirm-table.-estimate tr:first-child {
  display: none;
}
.confirm-table tr {
  border: 1px solid #ccc;
}
.confirm-table th {
  background-color: #f0f0f0;
  padding: 1em 1.5em;
  text-align: left;
  vertical-align: top;
  width: 18em;
}
.confirm-table td {
  padding: 1em 1.5em;
  text-align: left;
  vertical-align: top;
}


.confirm-submit {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  gap: 1em;
}
.confirm-submit li {
}
.confirm-submit .contact-submit-btn {
  align-items: center;
  text-align: center;
}


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

  .confirm-table {
    letter-spacing: 0;
    font-size: 0.9rem;
  }
  .confirm-table tr {
  }
  .confirm-table th {
    width: 10em;
    padding: 12px 10px;
  }
  .confirm-table td {
    padding: 12px 10px;
  }

  .confirm-submit {
    padding: 20px 0;
  }
  .confirm-submit li:first-child {
  }
  .confirm-submit li:last-child {
  }

}
