@charset "utf-8";

:root {
  --color-red: #f12617;
}


/* =====================================================
#　utility
===================================================== */
.mbs-15 {
  margin-block-start: 15px !important;
}

.mbe-15 {
  margin-block-end: 15px !important;
}

.red {
  color: var(--color-red);
}


/* =====================================================
#　flex
===================================================== */
.flex {
  display: flex;
  align-items: center;
  gap: 30px;

  &:first-of-type {
    margin-block-start: 0 !important;
  }

  &:nth-of-type(n+1) {
    margin-block-start: 15px;
  }

  & span {
    width: 100px;
  }
}

@media screen and (max-width: 767px) {
  .flex {
    gap: 20px;

    &:nth-of-type(n+1) {
      margin-block-start: 15px !important;
    }

    & span {
      width: 80px;
    }
  }
}

/* =====================================================
#　flex_box
===================================================== */
.flex_box {
  display: block;
  width: calc(100% / 2 - 15px);

  & input {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .flex_box {
    width: calc(100% / 2 - 10px);

    & input {
      width: 100%;
    }
  }
}


/* =====================================================
#　flex_box
===================================================== */
.title_box {
  width: calc(100% - 100px);
}

/* =====================================================
#　textCenter
===================================================== */
.textCenter {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .textCenter {
    text-align: left;
  }
}

/* =====================================================
#　placeholder
===================================================== */
::placeholder {
  color: #9b9b9b;
}

/* =====================================================
#　small
===================================================== */
small {
  font-size: 12px;
  margin-block-start: 10px;
}

/* =====================================================
#　PrivacyPolicy
===================================================== */
.PrivacyPolicy {
  margin: 0 5%;
}

/* =====================================================
#　attention
===================================================== */
.attention {
  background-color: #d1f5ff;
  background-image: linear-gradient(300deg, #c3eaf5 0%, #d6f5ff 100%);
  padding: 30px;

  & ul li {
    list-style: none;
  }
}

/* =====================================================
#　border none　　　　　
===================================================== */
.border_none {
  border: none !important;
}

/* =====================================================
#　form Step　　　　　
===================================================== */
.form_step {
  text-align: center;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form_step span:last-child:after {
  border-left-color: transparent;
}

.form_step1,
.form_step2,
.form_step3 {
  display: inline-block;
  width: 30%;
  line-height: 30px;
  padding: 10px 0;
  font-size: 1.3rem;
  font-weight: bold;
  position: relative;
  color: #fff;
}

.form_step1:after,
.form_step2:after,
.form_step3:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  position: absolute;
  right: -25px;
  top: 0;
  z-index: 1;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 25px solid #00a9c9;
}

.form_step1 {
  background-color: #00a9c9;
}

.form_step1:after {
  border-left-color: #00a9c9;
}

.form_step2 {
  background-color: #dddddd;
}

.form_step2:after {
  border-left-color: #dddddd;
}

.form_step3 {
  background-color: #bbbbbb;
}

.form_step3:after {
  border-left-color: #bbbbbb;
}

/* =====================================================
#　title-LV2　　　　　
===================================================== */
.title-LV2:first-of-type {
  display: block;
  border-left: solid 10px #00a9c9;
  border-top: inherit;
  border-right: inherit;
  border-bottom: inherit;
  color: #00a9c9;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.5rem auto;
  padding: 0.5rem 0 0.5rem 1rem;
  background-color: #f5f5f5;
  width: 100%;
}

.title-LV2:first-of-type {
  display: block;
  border-left: solid 10px #00a9c9;
  border-top: inherit;
  border-right: inherit;
  border-bottom: inherit;
  color: #00a9c9;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 50px auto 0;
  padding: 0.5rem 0 0.5rem 1rem;
  background-color: #f5f5f5;
  width: 100%;
}

/* =====================================================
#　title-LV3
===================================================== */
.title-LV3 {
  font-size: 18px;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .title-LV3 {
    font-size: 16px;
    margin-block-end: 10px;
  }
}

/* =====================================================
#　require
===================================================== */
.require {
  display: inline-block;
  color: #fff;
  background: #ff6666;
  padding: 0 0.4rem;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-left: 0.5rem;
  margin-right: 2px;
  border-radius: 2px;
}

/* =====================================================
#　optional
===================================================== */
.optional {
  display: inline-block;
  color: #fff;
  background: #ac9a62;
  padding: 0 0.4rem;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-left: 0.5rem;
  margin-right: 2px;
  border-radius: 2px;
}

/* =====================================================
#　input
===================================================== */
input {
  width: 100%;
  height: 50px;
  padding: 5px 10px;
  border: solid 1px #dddddd;
  border-radius: 5px;
}

input:disabled {
  width: 300px;
  background-color: #f5f5f5;
}

@media screen and (max-width: 767px) {
  input {
    width: 100%;
  }

  input:disabled {
    width: 100%;
    margin-block-start: 10px;
  }
}


/* =====================================================
#　input[name="etc"]
===================================================== */
input[name="etc"] {
  width: 400px;
  height: 50px;
  padding: 5px 10px;
  border: solid 1px #dddddd;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  input[name="etc"] {
    width: 100%;
  }
}


/* =====================================================
#　input[name="keyword"]
===================================================== */
input[name="keyword"] {
  width: 400px;
  height: 50px;
  padding: 5px 10px;
  border: solid 1px #dddddd;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  input[name="keyword"] {
    width: 100%;
  }
}



/* =====================================================
#　input[type="checkbox"]
===================================================== */
input[type="checkbox"] {
  display: none;
}

.checkbox,
.checkbox_intext {
  padding: 0.5rem;
  position: relative;
  display: block;
  cursor: pointer;
  text-indent: 2rem;
}

.checkbox:before,
.checkbox_intext:before {
  content: "";
  border: solid 2px #dddddd;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  transform: translateY(-50%);
  left: 10px;
  top: 50%;
  transition: 0.3s;
}

input[type="checkbox"]:checked+.checkbox:before,
input[type="checkbox"]:checked+.checkbox_intext:before {
  content: "";
  width: 1rem;
  height: 0.5rem;
  border-top: none;
  border-right: none;
  border-left: solid 3px #00a9c9;
  border-bottom: solid 3px #00a9c9;
  position: absolute;
  transform: rotate(-45deg);
  transform-origin: right bottom;
  left: 10px;
  top: 15%;
}

input[type="checkbox"]+.checkbox>div {
  display: inline-block;
  text-indent: 0rem;
}

input[type="checkbox"]+.checkbox_intext {
  display: flex;
  align-items: center;
}

input[type="checkbox"]+.checkbox_intext>div {
  margin-inline-end: 1rem;
}

/* =====================================================
#　input[type="radio"]
===================================================== */
input[type="radio"] {
  display: none;
}

.radio,
.radio_intext {
  display: block;
  position: relative;
  text-indent: 2rem;
  width: 100%;
  padding: 0.3rem 0;
  cursor: pointer;
}

.radio:before,
.radio_intext:before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border: solid 1px #dddddd;
  border-radius: 1rem;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.radio:after,
.radio_intext:after {
  content: "";
  background-color: #00a9c9;
  width: 0rem;
  height: 0rem;
  border-radius: 1rem;
  display: inline-block;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s;
}

input[type="radio"]+.radio_intext>div {
  margin-right: 1rem;
}

input[type="radio"]+.radio_intext {
  display: flex;
}

input[type="radio"]:checked+.radio:after {
  width: 0.9rem;
  height: 0.9rem;
  left: 2.25px;
}

input[type="radio"]:checked+.radio_intext:after {
  width: 0.9rem;
  height: 0.9rem;
  left: 13.7px;
}

input[type="radio"].error+label {
  border: 1px solid red;
  background: rgba(255, 0, 0, 0.1);
}

/* =====================================================
#　select
===================================================== */
select {
  appearance: auto;
  width: 100%;
  height: 50px;
  padding: 5px 10px;
  border: solid 1px #dddddd;
  border-radius: 5px;
  cursor: pointer;
}

select.error {
  border: 1px solid red;
  background: rgba(255, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
  select {
    width: 100%;
  }
}

/* =====================================================
#　textarea
===================================================== */
textarea {
  border: solid 1px #dddddd;
  border-radius: 5px;
  padding: 5px 10px;
  margin-inline-start: 10px;
}

/* =====================================================
#　radio_side
===================================================== */
.radio_side {
  display: inline-block;
  cursor: pointer;
  border: solid 1px #dddddd;
  padding: 10px;
  width: 200px;
  text-align: center;
  transition: 0.3s;
}

.radio_side:last-of-type {
  margin-inline-start: -6px;
}

@media screen and (max-width: 767px) {
  .radio_side {
    font-size: 12px;
    padding: 10px;
    width: 50%;
  }
}

input[type="radio"]:checked+.radio_side {
  color: #fff;
  background-color: #00a9c9;
}

/*** 理想のおうちづくり診断(３階層判別) ***/

.acd-analysis-cont {
  border: solid #00a9c9 1px;
  padding: 30px 0;
}

.acd-analysis-cont .acd-title {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.acd-analysis-cont .acd-intro {
  text-align: center;
}

.acd-analysis-cont .analysis-btn {
  display: block;
  background-color: #00a9c9;
  border: solid 1px #00a9c9;
  color: #fff;
  padding: 10px 0;
  width: 350px;
  text-align: center;
  margin: 20px auto 0;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  transition: 0.3s;
}

.acd-analysis-cont .analysis-btn::after {
  content: "";
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-top: solid #fff 1px;
  border-right: solid #fff 1px;
  top: 50%;
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
}

.acd-analysis-cont .analysis-btn:hover {
  border: solid 1px #00a9c9;
  color: #00a9c9;
  background-color: #fff;
}

#analysis-btn:checked~.acd-intro {
  display: none;
}

#analysis-btn:checked~.analysis-btn {
  display: none;
}

.acd-analysis-cont .acd-analysis-item {
  display: none;
}

#analysis-btn:checked~.acd-analysis-item {
  display: block;
  padding: 20px;
}

@media screen and (max-width: 767px) {
  .acd-analysis-cont {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  }

  .radio_image_wrap>label img {
    width: 100%;
  }

  #analysis-btn:checked~.acd-analysis-item {
    padding: 10px;
  }

  .acd-analysis-cont .analysis-btn {
    width: 90%;
  }
}

/* 画像で選択させるラジオボタン(理想のおうちづくり) */

.radio_image_wrap>label {
  cursor: pointer;
  position: relative;
  transition: 0.5s;
}

.radio_image_wrap>input[type="radio"]+label.false {
  opacity: 0.3;
}

/*************************************************/

/* =====================================================
#　datepicker
===================================================== */
#datepicker {
  cursor: pointer;
}

/* =====================================================
#　submit
===================================================== */
.submit {
  width: 400px;
  padding: 1rem;
  border-radius: 5px;
  background-color: #ea830a;
  color: #fff;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .submit {
    width: 100%;
  }
}

/* =====================================================
#　back
===================================================== */
.back {
  width: 400px;
  padding: 1rem;
  border-radius: 5px;
  background-color: #aaaaaa;
  color: #fff;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .back {
    width: 100%;
    margin-block-start: 20px;
  }
}

.thanks_message {
  font-size: 1rem;
  padding: 0 0 100px;
}

.thanks_message .contact {
  margin-top: 10px;
}

/* レスポンシブ */
@media screen and (max-width: 797px) {
  small {
    font-size: 11px;
  }

  .attention {
    padding: 20px 5%;
  }

  .form_step1,
  .form_step2,
  .form_step3 {
    font-size: 1rem;
  }

  .form_step1:after,
  .form_step2:after,
  .form_step3:after {
    border-left-width: 15px;
    right: -15px;
  }

  .form_step3:after {
    right: 0;
  }

  input[type="checkbox"]+label>span {
    display: block;
    margin-left: 2rem;
    text-indent: 0;
    width: 90%;
  }

  /* テキストエリア */
  textarea {
    width: 100%;
    margin-inline-start: 0;
  }

  /* チェックボックス SP */
  input[type="checkbox"] {
    display: none;
  }

  .checkbox,
  .checkbox_intext {
    width: 100%;
    border: solid 1px #dddddd;
    border-radius: 5px;
    margin: 0 0 10px;
  }

  input[type="checkbox"]:checked+.checkbox,
  input[type="checkbox"]:checked+.checkbox_intext {
    border-color: #00a9c9;
    border-width: 2px;
  }

  .checkbox:before,
  .checkbox_intext:before {
    content: "";
    border: solid 2px #dddddd;
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    transform: translateY(-50%);
    left: 10px;
    top: 50%;
  }

  input[type="checkbox"]:checked+.checkbox:before,
  input[type="checkbox"]:checked+.checkbox_intext:before {
    content: "";
    width: 1em;
    height: 0.5em;
    border-top: none;
    border-right: none;
    border-left: solid 3px #00a9c9;
    border-bottom: solid 3px #00a9c9;
    position: absolute;
    transform: rotate(-45deg);
    left: 10px;
    top: 15%;
  }

  .checkbox_intext:before {
    top: 20%;
  }

  input[type="checkbox"]:checked+.checkbox_intext:before {
    top: 5%;
  }

  input[type="checkbox"]+.checkbox>div {
    width: 90%;
  }

  input[type="checkbox"]+.checkbox_intext {
    display: block;
  }

  /* ラジオボタン SP */
  input[type="radio"]:checked+.radio:after {
    left: 2.25px;
  }

  select {
    width: 100%;
  }

  .select_wrap:after {
    content: "";
    /* left: 97%; */
  }

  .privacy_attention {
    width: 90%;
    margin: auto;
  }

  .thanks_message {
    font-size: 1rem;
    padding: 0 5% 10%;
  }

  .thanks_message .contact {
    margin-top: 10px;
  }
}

.button_box {
  margin: 2em 0 3em;
  text-align: center;
}

button.submit_button:hover,
button.back_button:hover {
  opacity: 0.8;
  transition: 0.3s;
  cursor: pointer;
}

/* =====================================================
#　error　　　　　
===================================================== */
.error {
  font-size: 13px;
  color: #ff7171;
}

/* =====================================================
#　scroll　　　　　
===================================================== */
.scroll {
  overflow: auto;
  white-space: normal;
  margin-block-start: 25px;
}

.scroll::-webkit-scrollbar {
  block-size: 5px;
}

.scroll::-webkit-scrollbar-track {
  background: #efefef;
}

.scroll::-webkit-scrollbar-thumb {
  background: #efefef;
}

.scroll table {
  width: 752.5px;
  border: none;
  text-align: center;
  font-size: 13px;
}

.scroll table thead th:first-of-type {
  background-color: #efefef;
}

.scroll table thead th:nth-of-type(2) {
  background-color: #efefef;
}

.scroll table thead th:nth-of-type(3) {
  background-color: #efefef;
}

.scroll table thead th:nth-of-type(4) {
  background-color: #efefef;
}

.scroll table thead th:nth-of-type(5) {
  background-color: #efefef;
}

.scroll table thead th:nth-of-type(6) {
  background-color: #efefef;
}

.scroll table thead th:last-of-type {
  border-right: none;
  background-color: #efefef;
}

.scroll table td:last-of-type {
  border-right: none;
}

.scroll table th {
  padding-inline: 15px;
  padding-block: 10px;
  border-right: 1px solid #003a57;
  border-bottom: 1px solid #003a57;
}

.scroll table tbody th {
  background-color: #efefef;
  border-right: 1px solid #003a57;
  writing-mode: rl-tb;
  vertical-align: middle;
  white-space: nowrap;
}

.scroll table td {
  padding-inline: 15px;
  padding-block: 10px;
  border-right: 1px solid #003a57;
  border-bottom: 1px solid #003a57;
}

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

  .scroll table th,
  .scroll table td {
    font-size: 14px !important;
  }
}

.SlantedLine {
  background-image: linear-gradient(to right top, transparent calc(50% - 0.5px), #999 50%, #999 calc(50% + 0.5px), transparent calc(50% + 1px));
}

/* =====================================================
#　confirmTable
===================================================== */
.confirmTable {
  width: 100%;
  font-size: 15px;
}

.confirmTable tr {
  display: flex;
  border-bottom: solid 1px #003a57;
  padding: 15px;
}

.confirmTable th {
  width: 500px;
  border-right: solid 1px #003a57;
}

.confirmTable td {
  width: calc(100% - 500px);
  padding-inline: 15px 0;
}

@media screen and (max-width: 767px) {
  .confirmTable tr {
    flex-direction: column;
    padding: 15px 0;
  }

  .confirmTable th {
    width: 100%;
    font-size: 14px;
    border-right: none;
  }

  .confirmTable td {
    width: 100%;
    padding: 0;
    font-size: 14px;
  }
}