html.reset {
  font-size: initial; /* リセット */
  font-size: min(10px);
}
p {
  font-size: 16px;
}
.request-new .sp {
  display: none;
}
.required {
  color: #fff;
  background-color: #e60012;
  font-size: 14px;
  width: 43px;
  height: 20px;
  line-height: 1.5;
  margin-right: 7px;
  text-align: center;
  display: block;
}

.any {
  color: #fff;
  background-color: #808080;
  font-size: 14px;
  width: 43px;
  height: 20px;
  line-height: 1.5;
  margin-right: 7px;
  text-align: center;
  display: block;
}
main.request-info {
  max-width: 880px;
  margin: 0 auto;
  width: 95%;
  font-size: initial;
  font-size: 16px;
  text-size-adjust: none;
  font-weight: 800;
}
.request-info-h2 {
  min-height: 58px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.step {
  display: flex;
  text-align: center;
}
.step p {
  width: 33.3%;
  color: #2c2c2c;
  font-weight: 600;
  padding: 18px 0;
  font-weight: 800;
}

.step .bg-blue {
  background-color: #004399;
  color: #fff;
  position: relative;
}
.first {
  z-index: 20;
  font-size: min(16px, 1.8vw);
  line-height: 27px;
  height: 66px;
}
.second {
  z-index: 10;
}
.bg-blue::after {
  content: "";
  position: absolute;
  /* display: inline-block; */
  width: 0;
  height: 0;
  border: 33px solid transparent;
  border-left: 22px solid #004399;
  right: -54px;
  bottom: 0;
}

.bg-darkgray {
  background-color: #e6e6e6;
  position: relative;
}

.bg-darkgray::after {
  content: "";
  position: absolute;
  /* display: inline-block; */
  width: 0;
  height: 0;
  border: 33px solid transparent;
  border-left: 22px solid #e6e6e6;
  right: -54px;
  bottom: 0;
}
.bg-gray {
  background-color: #f2f2f2;
  position: relative;
}
.bg-gray::after {
  content: "";
  position: absolute;
  /* display: inline-block; */
  width: 0;
  height: 0;
  border: 33px solid transparent;
  border-left: 22px solid #f2f2f2;
  right: -54px;
  bottom: 0;
}

.step p:last-child::after {
  content: unset;
}

/* タブ */
body {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN",
    sans-serif;
}
.base-container {
  padding: 0 50px 50px;
}
.orange-block {
  display: flex;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 20px;
}
.orange-block::before {
  content: "";
  display: inline-block;
  min-width: 20px;
  min-height: 20px;
  background-color: #fcb326;
  margin-right: 10px;
}
.midashi {
  display: flex;
  align-items: center;
  font-weight: 800;
}

/* ------------------------- */
/* タブ */
/* ------------------------- */
.tab-area {
  display: flex;
  cursor: pointer;
  width: 100%;
  margin: 0 auto;
  max-height: 50px;
  font-size: 18px;
}
.tab {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% / 3);
  padding: 10px;
  background-color: #ebe9e7;
  margin-bottom: 0;
}
.tab:nth-child(n + 2) {
  border-left: 4px solid #fff;
}
.tab.active {
  background-color: #fcb326;
}
.tab-section {
  margin-bottom: 30px;
}
/* ------------------------- */
/* タブの中身 */
/* ------------------------- */
.panel {
  display: none;
  background-color: #fff;
  border: 4px solid #fcb326;

  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}
.panel.active {
  display: block;
}
.panel-ul {
  line-height: 1.8;
  padding: 20px 30px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin: 0 auto;
  column-gap: 35px;
  row-gap: 25px;
}
.panel-wrap {
  display: flex;
}
.panel-li {
  margin-bottom: 0;
}
.corporate.select .panel-li:last-child {
  padding-left: 22px;
  text-indent: -22px;
}

main.request-info .form-table tbody tr td p {
  margin: 6px 0;
  font-size: 16px;
}
.page_group-service_page main .panel-li p {
  background-color: #e6e6e6;
  color: #666666;
  padding: 0 5px;
  font-size: 14px;
  margin: 0 0 0 24px;
  font-weight: 800;
}

/*チェックボックス*/
.checkboxItem {
  align-items: center;
  column-gap: 4px;
  width: fit-content;
  line-height: 1;
  cursor: pointer;
  vertical-align: top;
}

.checkboxItem:not(:last-of-type) {
  margin-bottom: 16px;
}

.checkbox {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #b8b0ab;
  border-radius: 2px;
  cursor: pointer;
  vertical-align: text-top;
  margin: 3px 3px 3px 0;
}

.checkbox:checked {
  background-color: #fcb326;
  border: none;
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 12px;
  height: 6px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}

/*フォーム*/
.request-info tr {
  display: flex;
  justify-content: start;
  margin-bottom: 30px;
}
.request-info .soufusaki tr:nth-child(3) {
  margin-bottom: 0;
}
.request-info th {
  min-width: 200px;
  display: flex;
  align-items: center;
  margin-right: 20px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
}
.request-info td {
  width: 100%;
  max-width: 640px;
  text-align: start;
  display: block;
}

.request-info .soufusaki tr:first-child td,
.request-info .corporate:not(.soufusaki).form-table:not(.soufusaki-kakunin) tr:nth-child(4) td,
.estimate .form-table:not(.soufusaki).form-table:not(.soufusaki-kakunin) tr:nth-child(4) td,
.personal .form-table:not(.soufusaki) tbody tr:nth-child(3) td {
  width: 30%;
}
.request-info td input {
  width: 100%;
  height: 50px;
  border: 3px solid #b8b0ab;
  min-width: 400px;
  padding-left: 25px;
  max-width: 640px;
  font-size: 16px;
  font-weight: 400;
}
.request-info .soufusaki tbody tr:first-child td input,
.request-info .corporate tr:nth-child(4) td input,
.request-info .estimate tr:nth-child(4) td input,
.personal .form-table:not(.soufusaki) tbody tr:nth-child(3) td input {
  min-width: 250px;
  width: 50%;
}
.contact-body textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  height: 150px;
  font-weight: 400;
}

::placeholder {
  color: #b3b3b3;
  font-weight: 600;
}
.request-info td p {
  text-align: left;
  /* font-size: 14px; */
  font-weight: 600;
}

.building {
  padding-bottom: 20px;
}
.personal-info {
  background-color: #ebe9e7;
  padding: 30px;
  margin-top: 15px;
  margin-bottom: 30px;
}

main.request-info .form .personal-info p {
  font-weight: 600;
  margin: 0;
}
.personal-info a {
  text-decoration: underline;
}
.consent {
  text-align: center;
}

.confirmation-btn input {
  display: block;
  padding: 10px 0;
  margin: 60px auto 20px;
  width: 220px;
  text-align: center;
  border: unset;
  background-color: #ffcf00 !important;
}
.attention {
  margin-top: 80px;
}
.attention p {
  font-size: 14px;
  font-weight: 600;
  margin: 80px 0;
}
/* confirmation */
.kakunin .orange-block {
  margin-bottom: 60px;
}
.step-under-text {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  margin: 30px 0 0;
}
.panel.active.confirmation {
  border: 4px solid #b8b0ab;
}
.confirmation-checkactive {
  display: inline-block;
  appearance: none;
  background-color: #fcb326;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  vertical-align: text-top;
  margin: 3px 3px 3px 0;
}
.confirmation-checkactive::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 12px;
  height: 6px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}
.request-info .form-check tr {
  border-bottom: 3px solid #b8b0ab;
  padding-bottom: 15px;
}
.kakunin .form-check tr {
  margin-bottom: 40px;
  padding-bottom: 40px;
}

.request-info .form-check td {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}
.corporate .form-check .form-table:not(.soufusaki-kakunin) tbody tr:nth-child(5),
.estimate .form-check .form-table:not(.soufusaki-kakunin) tbody tr:nth-child(5),
.personal .form-check .form-table:not(.soufusaki-kakunin) tbody tr:nth-child(4) {
  border-bottom: unset;
  margin-bottom: 0;
}
.form-check .form-table tbody th {
  min-width: 260px;
}
.form-check td p {
  color: #808080;
}
.form-check td .mail-kakunin {
  margin-bottom: 20px;
}
.btn-wrap form {
  display: flex;
  justify-content: center;
  gap: 5%;
  margin-top: 50px;
}
.back-btn input {
  background-color: #cccccc;
  width: 220px;
  display: block;
  text-align: center;
  line-height: 50px;
  border: unset;
}
.send-btn input {
  background-color: #ffcf00;
  width: 220px;
  display: block;
  text-align: center;
  line-height: 50px;
  border: unset;
}
.send-btn a {
  background-color: #ffcf00;
  width: 220px;
  display: block;
  text-align: center;
  line-height: 50px;
  border: unset;
  margin: 0 auto;
}

.back-btn {
  height: 50px;

  display: block;
}

.send-btn {
  height: 50px;
  display: block;
}
/* completion */
.completion-btn {
  margin: 90px auto 0;
}

/* 個人 */
.individual-select ul {
  display: flex;
  gap: 6%;
  padding: 0 30px;
}
.personal .dlebook a {
  display: block;
  margin: 0 0 10px 0;
  background-image: url(/request/ebook/icon_dl.png);
  background-position: 3px 1px;
  background-repeat: no-repeat;
  padding: 0 0 0 20px;
  font-size: 12px;
  font-weight: 500;
}

.personal .individual-select ul li {
  width: 47%;
}
.personal .individual-select .dlebook {
  width: 100%;
}

.tel-error {
  display: none;
}
.message {
  display: block;
  color: #e60012;
}

.form-textarea {
  width: 100%;
  height: 160px;
  border: 3px solid #b8b0ab;
  font-size: 16px;
}

/* お見積り */
.estimate {
  margin-top: 60px;
}
.estimate p {
  font-size: 16px;
}
.estimate .panel.active {
  padding: 0 30px;
}

.estimate .panel.active .orange-block {
  margin-top: 20px;
}
.estimate .panel.active p {
  margin-top: 0;
}
.mitsumori-target li {
  width: 20%;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
  td {
    font-size: 15px;
  }
  .request-new .sp {
    display: block;
  }

  main.request-info {
    max-width: unset;
    width: 100%;
  }
  .panel {
    max-width: unset;
  }

  .request-info tr {
    display: block;
  }

  .request-info th {
    margin-bottom: 5px;
  }
  .corporate .form-table tbody tr:nth-child(5) {
    margin-bottom: 0;
  }
  .request-info tr:last-child {
    margin-bottom: 0;
  }
  .request-info td input {
    min-width: unset;
    padding-left: 20px;
  }
  .request-info .soufusaki tr:first-child td {
    width: 180px;
  }
  .bg-blue::after {
    border-left: 13px solid #004399;
    right: -46px;
  }

  .bg-darkgray::after {
    border-left: 13px solid #e6e6e6;
    right: -46px;
  }

  .bg-gray::after {
    border-left: 13px solid #f2f2f2;
    right: -46px;
  }
  .step p {
    font-size: min(13px, 3.3vw);
  }

  .first {
    line-height: 17px;
    height: 67px;
  }
  .step .second {
    padding-left: 12px;
    line-height: 2.5;
  }

  .step .third {
    line-height: 2.5;
  }
  .tab-section {
    width: 90%;
    margin: 0 auto;
  }
  .tab-area {
    text-align: center;
    font-size: 16px;
    word-break: auto-phrase;
  }
  .tab {
    padding: 7px;
    line-height: 1.2;
  }
  .orange-block {
    margin-top: 40px;
    font-size: 18px;
    line-height: 24px;
    align-items: start;
  }
  .orange-block::before {
    margin-right: 7px;
    margin-top: 3px;
  }
  .required {
    margin-top: 3px;
    width: 40px;
    margin-left: 3px;
    height: 100%;
    font-size: 13px;
  }
  .any {
    margin-top: 3px;
    width: 40px;
    margin-left: 3px;
    font-size: 13px;
  }
  .request-info .form-check tr {
    font-size: 13px;
  }
  .building {
    padding-bottom: 0;
  }
  .panel-ul {
    display: block;
    padding: 0 18px;
  }

  .panel-li {
    margin-bottom: 15px;
  }
  .corporate.select .panel-li:last-child {
    padding-left: 26px;
    text-indent: -26px;
  }

  .checkbox {
    margin: 3px 6px 3px 0;
  }
  .midashi {
    margin-top: 30px;
  }
  .confirmation-btn {
    margin: 40px auto 20px;
  }

  .personal-info {
    padding: 20px;
  }
  /* confirmation */
  .kakunin .orange-block {
    margin-bottom: 25px;
  }
  .kakunin .form-check .form-table {
    padding-bottom: 20px;
  }
  .kakunin .form-check tr {
    padding-bottom: 20px;
  }
  .step-under-text {
    font-size: 15px;
  }
  .confirmation-contents {
    width: 90%;
    margin: 0 auto;
  }
  .form-check .form-table tbody th {
    padding-bottom: 15px;
  }
  .kakunin .corporate .form-table tbody tr:nth-child(6) th {
    padding-bottom: 0;
  }
  .form-check .corporate .form-table tbody tr:nth-child(5) {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .request-info .form-check td {
    padding-left: 20px;
  }
  .form-check td p {
    max-width: unset;
  }
  .form-check td .mail-kakunin {
    margin-bottom: 5px;
  }
  main.request-info .form-table tbody tr td p {
    font-size: 16px;
    margin: 0;
  }
  main .kakunin .form-table tbody tr td p {
    margin: 0 0 10px 0;
  }
  .btn-wrap form {
    flex-direction: column-reverse;
    margin-top: 15px;
  }
  .btn-wrap div {
    font-size: 16px;
  }
  .back-btn {
    margin: 20px auto 0;
  }
  .send-btn {
    margin: 20px auto 0;
  }
  .request-info .contact-body {
    width: 100%;
    display: block;
  }
  /* 個人 */
  .personal {
    width: 90%;
    margin: 0 auto;
  }
  .individual-select ul {
    display: block;
  }
  .personal .individual-select ul li {
    width: 100%;
  }
  /* 個人 */
  .estimate {
    width: 90%;
    margin: 40 auto;
  }
  .mitsumori-target li {
    width: 100%;
  }
  .estimate .form-table tbody tr:nth-child(5) {
    margin-bottom: 0;
  }
  .kakunin .estimate .panel-ul {
    padding: 0;
  }
  .kakunin .estimate .panel-li {
    margin-bottom: 0;
    margin: 10px 0;
  }
}
