@charset "UTF-8";
:root {
  --legend-output-margin-top: 0;
  --calculation-padding: 20px 0;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-weight: 400;
}

/*===フォームreset===*/

::-moz-placeholder {
  font-size: 1.6rem;
  color: #adadad;
}

::placeholder {
  font-size: 1.6rem;
  color: #adadad;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #000;
}

select:has(option:checked[value=ng]) {
  color: gray;
}

input,
select,
textarea {
  width: calc(100% - 2px);
  padding: 10px 14px;
  font-size: 1.6rem;
  border: 1px solid #e4ecf0;
  background-color: #F9FBFC;
  border-radius: 3px;
  box-sizing: border-box;
}

.main {
  position: relative;
}
.main__h1 {
  display: block;
  width: 90%;
  max-width: 980px;
  padding-bottom: 20px;
  font-size: 4.2rem;
  text-align: center;
  color: #2d2d2d;
  margin: 30px auto 20px;
  border-bottom: 3px solid #efefef;
}
.main__desc {
  display: block;
  font-size: 1.4rem;
  text-align: center;
}
.main__desc span {
  color: #ff0000;
}

.c-form {
  width: 90%;
  max-width: 980px;
  margin: 0 auto 95px;
  padding-top: 50px;
  font-size: 1.6rem;
}

.c-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 15px 22px 30px;
}
.c-item:nth-child(2n) {
  background-color: #fafcff;
}
.c-item__fieldset {
  display: contents;
}
.c-item__legend {
  position: relative;
  width: 24%;
  margin-top: var(--legend-output-margin-top);
  font-size: 1.8rem;
  padding-right: 1em;
}
.c-item__legend--required::after {
  content: "*";
  position: absolute;
  display: inline-block;
  padding: 0;
  color: #ff0000;
  margin-left: 0.2em;
  font-size: 1em;
  font-style: normal;
  vertical-align: super;
  border-radius: 3px;
}
.c-item__legend .note {
  position: absolute;
  top: 100%;
  left: -0.4em;
  font-size: 0.7em;
}
.c-item__input {
  /*===項目要素===*/
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 34%;
}
.c-item__input--flex-row {
  flex-direction: row;
}
.c-item__input--fullrength {
  width: 75%;
}
.c-item__error {
  position: absolute;
  top: 100%;
  display: block;
  width: 100%;
  color: #ff0000;
  margin-top: 5px;
}
.c-item__output {
  /*===個別見積もり===*/
  position: relative;
  width: 40%;
  margin-top: var(--legend-output-margin-top);
  margin-left: 2%;
  color: #a2a2a2;
  font-size: 1.8rem;
  text-align: right;
}

/*===個別css（入居日・退去日）===*/
input[name=move_in],
input[name=move_out],
select[name=property] {
  width: 80%;
}

/*===個別css（ラジオボタン）===*/
input[type=radio] {
  display: none;
}

input[type=radio] + label {
  position: relative;
  display: flex;
  align-items: center;
  width: -moz-max-content;
  width: max-content;
  min-width: 40%;
  cursor: pointer;
}

input[type=radio] + label::before {
  content: "";
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  border: 1px solid #e4ecf0;
  background-color: #F9FBFC;
  border-radius: 3px;
}

input[type=radio]:checked + label::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 0.14em;
  width: 0.6em;
  aspect-ratio: 1/0.7;
  border-left: 0.2em solid red;
  border-bottom: 0.2em solid red;
  transform: rotate(-45deg);
}

/*===個別css（人数・ペット）===*/
select[name=pet],
select[name=people] {
  width: 6rem;
  padding-right: 1.4em;
  text-align: right;
}

.c-form__select-unit {
  position: relative;
  min-width: 1px;
  height: 1.6rem;
  margin-left: 0.2em;
}
.c-form__select-unit::before, .c-form__select-unit::after {
  content: "";
  position: absolute;
  left: -1em;
  width: 7px;
  aspect-ratio: 3/2;
  background-color: #535353;
  content: "";
  pointer-events: none;
}
.c-form__select-unit::before {
  top: calc(50% - 7px);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.c-form__select-unit::after {
  bottom: calc(50% - 7px);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

textarea[name=request] {
  height: 16em;
  font-family: inherit;
}

.calculation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 1;
  font-size: 2.4rem;
  font-weight: 700;
  background-color: #fff;
  box-shadow: 0px 0px 15px -5px #b8b8b8;
}
.calculation__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 90%;
  max-width: 980px;
  margin: auto;
}
.calculation__h2 {
  padding: var(--calculation-padding);
}
.calculation__estimate {
  padding: var(--calculation-padding);
  margin-left: auto;
}
.calculation__tax {
  display: inline-block;
  padding: var(--calculation-padding);
  font-size: 1.8rem;
}
.calculation__tax::before, .calculation__tax::after {
  font-size: 1em;
}
.calculation__tax::before {
  content: "（";
}
.calculation__tax::after {
  content: "）";
}

.c-agree {
  margin-top: 30px;
  text-align: center;
}

#form_submit_button {
  display: block;
  width: 40%;
  margin: 30px auto 0;
  padding: 18px 0;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  background: #379fff;
  border: 2px solid transparent;
  cursor: pointer;
}

#form_submit_button:hover {
  color: #379fff;
  background-color: #fff;
  border: 2px solid #379fff;
  transition: 0.4s;
}

@media screen and (max-width: 899px) {
  .c-form {
    width: 100%;
  }
  .c-item {
    padding: 15px 5% 30px;
  }
  .c-item__legend {
    width: 162px;
  }
  .c-item__input {
    width: 280px;
  }
  .c-item__output {
    position: relative;
    top: 8px;
    width: 100%;
  }
}
.sp-none {
  display: block;
}

@media screen and (max-width: 767px) {
  .sp-none {
    display: none;
  }
  :root {
    --calculation-padding: 0;
  }
  .main {
    position: relative;
  }
  .main__h1 {
    display: block;
    width: 90%;
    max-width: 980px;
    padding-bottom: 20px;
    font-size: 2.6rem;
  }
  .c-item__legend {
    width: 100%;
    margin-bottom: 8px;
    font-size: 1.6rem;
    font-weight: 700;
  }
  .c-item__legend .note {
    top: auto;
    bottom: 0;
    left: auto;
    margin-left: 10px;
  }
  .c-item__input {
    width: 100%;
  }
  input[name=move_in],
  input[name=move_out] {
    width: 100%;
  }
  select[name=property],
  select[name=pet],
  select[name=people] {
    width: calc(100% - 1.5em);
    text-align: left;
  }
  input[type=radio] + label {
    width: 100%;
  }
  input[type=radio]:first-child + label {
    margin-bottom: 5px;
  }
  .calculation {
    font-size: 1.6rem;
    font-weight: 700;
    background-color: #fff;
    box-shadow: 0px 0px 15px -5px #b8b8b8;
  }
  .calculation__h2 {
    font-size: 1.9rem;
  }
  .calculation__inner {
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .calculation__tax {
    font-size: 1.6rem;
  }
  .c-agree {
    padding-inline: 5%;
  }
}
/*===送信完了ページ===*/
.send {
  padding-top: 20vh;
  min-height: 100vh;
  font-size: 1.8rem;
  text-align: center;
}

.send__h1 {
  margin-bottom: 60px;
}

.send p {
  width: 80%;
  max-width: 670px;
  font-size: 18px;
  margin: 1.4em auto;
  text-align: left;
}

.c-item__dl {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  min-height: 2.7rem;
  padding: 15px 22px;
  box-sizing: border-box;
}
.c-item__dl:nth-child(2n) {
  background-color: #fafcff;
}
.c-item__dl--total {
  align-items: flex-end;
  margin: 30px 0 20px;
  border: double #000;
  border-width: 3px 0;
  font-weight: 700;
  background-color: #fff !important;
}
.c-item__dt {
  position: relative;
  width: 24%;
  margin-top: var(--legend-output-margin-top);
  font-size: 1.8rem;
  padding-right: 1em;
}
.c-item__dd-value {
  position: relative;
  display: flex;
  align-items: center;
  width: 34%;
}
.c-item__dd-fee { /*===個別見積もり===*/
  position: relative;
  width: 40%;
  margin-top: var(--legend-output-margin-top);
  margin-left: 2%;
  color: #a2a2a2;
  text-align: left;
}

.c-item__back-btn,
.c-item__next-btn {
  display: inline-block;
  width: 40%;
  padding: 18px 0;
  font-size: 1em;
}

.c-item__back-btn {
  margin-left: 9%;
}

.c-item__next-btn {
  margin-top: 10px;
  color: #fff;
  background: #379fff;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.c-item__next-btn:hover {
  color: #379fff;
  background-color: #fff;
  border: 2px solid #379fff;
  transition: 0.4s;
}

@media screen and (max-width: 767px) {
  .c-item__dt {
    width: 100%;
    font-weight: 700;
  }
  .c-item__dd-fee { /*===個別見積もり===*/
    width: auto;
  }
  .c-item__back-btn,
  .c-item__next-btn {
    display: block;
    width: 60%;
    margin: auto;
  }
  .c-item__next-btn {
    margin-top: 10px;
  }
}/*# sourceMappingURL=style.css.map */