@charset "UTF-8";

/* ==========================
   contact（PC基準）
========================== */
.contact-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-wrap h2 {
  font-size: 1.45rem;
  color: #2B3467;
}
.contact-wrap .contact-lead {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.contact-wrap .contact-lead a {
  color: #EB455F;
  text-decoration: underline;
}

.contact-form {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  font-size: 1rem;
  display: flex;
  font-size: 1rem;
  margin-bottom: 8px;
  gap: 8px;
  align-items: center;
}

.form-group label:first-child {
  color: #2B3467;
}

.form-group .required {
  color: #fff;
  background-color: #EB455F;
  font-size: 0.75rem;
  padding: 3px;
  border-radius: 3px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #ccc;
}

.form-group input[type=text],
.form-group input[type=tel],
.form-group input[type=email],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.form-group input[type=radio]{
  width: 18px;
  height: 18px;
}

.form-group input[type=checkbox] {
  width: 18px;
  height: 18px;
}

.form-group textarea {
  min-height: 126px;
  resize: vertical;
}

.form-group .name-group {
  display: flex;
  gap: 10px;
}

.form-group p {
  font-size:0.75rem;
}

.form-group p a {
  color: #EB455F;
  font-weight: bold;
}

.form-group label.checkbox {
  display: flex;
  align-items: center;
}

.form-left .form-group .two {
  display: none;
}

.contact-note {
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: auto;
  margin-bottom: 0;
}

.form-left .contact-note {
  display: block;
}

.form-right .contact-note {
  display: none;
}

.contact-note .tel {
  color: #EB455F;
  font-weight: bold;
}

.contact-note a {
  color: #EB455F;
  font-weight: bold;
}

.checkbox {
  font-size: 0.8rem;
}
.checkbox a {
  color: #EB455F;
  text-decoration: underline;
  margin-left: 6px;
}

.checkbox .link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn {
  margin-top: auto;
  padding: 14px 0;
  border-radius: 8px;
  background: #EB455F;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

/* 物件をご検討中 */
/* .radio-group-bukken {
  display: flex;
  gap: 12px;
  align-items: center;
} */

/* .radio-group-bukken label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
} */

.radio-group-bukken label:first-child {
  color: #333;
}

/* .radio-group-bukken .other-input {
  width: 160px;
  flex: 1;
} */

/* .radio-group-bukken label:nth-child(2) {
  position: relative;
} */

/* .radio-group-bukken label:nth-child(2)::before {
  content: "※小規模オフィス";
  position: absolute;
  bottom: -15px;
  font-size: 0.75rem;
  width: 145%;
} */


/* 物件テーブル */

.bukken-table {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  display: block;
}

.bukken-table table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
}

.bukken-table table th {
  font-weight: 700;
  font-size: 13px;
  color: #2B3467;
  background-color: #BAD7E9;
}

.bukken-table table td .photo {
  width: 60px;
  margin: 0 auto;
}

.bukken-table.second {
  display: none;
}

/* ==========================
   1100px 以下（タブレット）
========================== */
@media (max-width: 1100px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px;
  }

  .submit-btn {
    margin-top: 8px;
  }

  .form-left .contact-note {
    display: none;
  }

  .form-right .contact-note {
    display: block;
  }

  .bukken-table {
    display: none;
  }

  .bukken-table.second {
    display: block;
  }

  .bukken-table.second th {
    border-bottom: 1px solid #e6e6e6;
  }

  .bukken-table.second tr:last-child th {
    border-bottom: none;
  }

  .bukken-table.second td {
    padding: 10px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid #e6e6e6;
  }

  .bukken-table.second tr:last-child td {
    border-bottom: none;
  }

  .bukken-table.second td .photo {
    margin: auto 0;
  }

  .sp-hide {
    display: none;
  }
}

/* ==========================
   680px 以下（スマホ）
========================== */
@media (max-width: 780px) {
  .contact-wrap {
    padding: 0 16px;
  }

  .contact-wrap h2 {
    font-size: 1.3rem;
  }

  .radio-group,
  .radio-group-bukken {
    flex-direction: column;
    align-items:normal;
  }

  .radio-group .other-input,
  .radio-group-bukken .other-input {
    width: 100%;
  }

  .submit-btn {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 0;
    border: none;
  }
}


.form-group input[type=radio],
.form-group input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #2B3467;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 18px;
}

/* .radio-group-bukken {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
} */

/* .radio-group-bukken label {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
} */

.radio-group-bukken .other-input {
  width: 160px;
  flex: 1;
  min-width: 140px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}

.checkbox input[type=checkbox] {
  margin-right: 2px;
}

.checkbox a {
  color: #EB455F;
  text-decoration: underline;
  margin-left: 0;
}

.checkbox .link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

@media (max-width: 780px) {

  .radio-group-bukken {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ← 左寄せ */
    gap: 12px;
  }

  .radio-group-bukken label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%; /* ← 左に揃えるため重要 */
    gap: 8px;
  }

  .radio-group-bukken input[type="radio"] {
    margin: 0;
  }

}


/* 使用用途 */
.form-group input[type=radio],
.form-group input[type=checkbox] {
  appearance: auto;
  -webkit-appearance: auto;
  accent-color: #2B3467;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 18px;
}

.radio-group-bukken {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.radio-group-bukken .radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}

.radio-soho {
  position: relative;
  padding-bottom: 14px;
}

.radio-soho small {
  position: absolute;
  left: 24px;
  bottom: 0;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  color: #333;
}

.radio-other-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.radio-group-bukken .other-input {
  width: 160px;
  min-width: 160px;
  flex: 0 0 160px;
}

@media (max-width: 780px) {
  .contact-wrap {
    padding: 0 16px;
  }

  .contact-wrap h2 {
    font-size: 1.3rem;
  }

  .radio-group-bukken {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .radio-group-bukken .radio-item {
    width: auto;
  }

  .radio-other-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .radio-group-bukken .other-input {
    width: 140px;
    min-width: 140px;
    flex: 0 0 140px;
  }

  .submit-btn {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 0;
    border: none;
  }
}

.radio-group-bukken .radio-item,
.radio-other-wrap {
  display: inline-flex;
  align-items: center;
  /* min-height: 42px; */
}

.radio-soho {
  position: relative;
  padding-bottom: 0;
}

.radio-soho small {
  position: absolute;
  left: 24px;
  top: calc(100% - 2px);
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  color: #333;
}

/* ご希望条件・ご相談内容 */
#comment {
  height: 130px;
}

.button-wrap {
  display: flex;
  gap: 20px;
}

.button-wrap .c-button {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact.confirmation .confirm-value {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.radio-group-bukken {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-group-bukken .other-input {
  width: auto;
  min-width: 120px;
  flex: 1;
}

.contact {
  width: min(1080px, 100%) !important;
}


.correct .radio-group-bukken.modify {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.correct .radio-group-bukken.modify .radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.correct .radio-group-bukken.modify .radio-other-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
}

.correct .radio-group-bukken.modify .other-input {
  width: 76px;
  min-width: 76px;
  flex: 0 0 76px;
}

.correct .form-left {
  justify-content: flex-start;
}

.correct .form-left .form-group:last-of-type {
  margin-bottom: 36px;
}

.correct .radio-group-bukken.modify {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.correct .radio-group-bukken.modify .radio-item {
  flex: 0 0 auto;
  white-space: nowrap;
}

.correct .radio-group-bukken.modify .radio-other-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.correct .radio-group-bukken.modify .other-input {
  flex: 1;
  min-width: 0;
  width: 100%;
}

@media (max-width: 780px) {
  .correct .radio-group-bukken.modify {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .correct .radio-group-bukken.modify .radio-item {
    width: 100%;
    justify-content: flex-start;
  }

  .correct .radio-group-bukken.modify .radio-other-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .correct .radio-group-bukken.modify label {
    justify-content: flex-start;
  }
}

.bukken-table table th,
.bukken-table table td {
  vertical-align: middle;
}

.form-group.bukken .radio-group-bukken label:nth-child(2) {
  position: relative;
}

.form-group.bukken .radio-group-bukken label:nth-child(2)::before {
  content: "※小規模オフィス";
  position: absolute;
  bottom: -15px;
  font-size: 0.75rem;
  width: 145%;
}

@media (max-width: 780px) {
  .radio-group-bukken {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .radio-group-bukken .radio-item {
    width: auto;
  }

  .radio-other-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    white-space: normal;
  }

  .radio-group-bukken .other-input {
    width: 100%;
    min-width: 0;
    flex: none;
  }
}

.radio-group-bukken {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.radio-group-bukken .radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
  flex: 0 0 auto;
}

.radio-other-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.radio-group-bukken .other-input {
  width: 100%;
  min-width: 0;
  flex: 1;
}

@media (max-width: 780px) {
  .radio-group-bukken {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .radio-group-bukken .radio-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 8px;
  }

  .radio-other-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    white-space: normal;
  }

  .radio-other-wrap .radio-item {
    width: 100%;
    justify-content: flex-start;
  }

  .radio-group-bukken .other-input {
    width: 100%;
    min-width: 0;
    flex: none;
  }
}

.contact-form label,
.contact-form select {
  cursor: default;
}