@charset "UTF-8";
/* ==========================
   contact（PC基準）
========================== */
.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-wrap h2 {
  font-size: 1.45rem;
}
.contact-wrap .contact-lead {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.contact-wrap .contact-lead a {
  color: #fe9f13;
  text-decoration: underline;
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, .1607843137);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.form-group {
  margin-bottom: 8px;
}

.form-group > label,
.form-group .form-label {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-group.adjust .checkbox {
  margin-bottom: 0;
}

.form-group .radio-group.modify label {
  margin-bottom: 0;
}

.form-group .required {
  color: #fe9f13;
  font-size: 0.75rem;
}

.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 label.checkbox {
  display: flex;
  align-items: center;
}

.form-group label.checkbox input {
  margin-right: 8px;
}

.bukken .radio-group label:nth-child(2)::before {
  content: "";
}

.radio-group.modify label:nth-child(2)::before {
  content: none;
}

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

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

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

.form-left .contact-note a {
  color: #fe9f13;
  font-weight: bold;
}

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

.form-right .contact-note a {
  color: #fe9f13;
  font-weight: bold;
}

.checkbox {
  font-size: 0.8rem;
}

.checkbox a {
  color: #fe9f13;
  text-decoration: underline;
  margin-left: 6px;
}

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

.submit-btn:hover {
  transition: all 0.3s ease;
  background-color: #ffc266;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 物件テーブル */

.bukken-table {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, .1607843137);
  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: bold;
  font-size: 13px;
  background-color: #fff6ea;
}

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

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

/* ==========================
   1200px 以下（タブレット）
========================== */
@media (max-width: 1200px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    box-shadow: none;
  }
  .submit-btn {
    margin-top: 8px;
  }
  .form-left .contact-note {
    display: none;
  }

  .form-right .contact-note {
    display: block;
  }
  .radio-group label:first-child,
  .radio-group label:nth-child(3){
    margin-bottom: 0;
  }
  .bukken-table {
    display: none;
  }

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

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

  .bukken-table.second td {
    padding: 10px 16px;
    text-align: left;
    font-size: 0.9rem;
  }

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

  .bukken-table.second td .photo {
    margin: auto 0;
  }
}
@media (max-width: 680px) {
  .contact-wrap {
    padding: 0 16px;
  }
  .contact-wrap h2 {
    font-size: 1.3rem;
  }
  .radio-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .radio-group .other-input {
    width: 100%;
  }
  .submit-btn {
    font-size: 0.95rem;
    margin-top: 0;
  }
}

.use-group .radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.use-group .soho-item {
  padding-bottom: 18px;
}

.use-group .soho-item small {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 0.75rem;
  color: #333;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .use-group .soho-item {
    padding-bottom: 0;
  }

  .use-group .soho-item small {
    position: static;
    display: block;
    margin-left: 24px;
    margin-top: 2px;
  }

  .use-group .other-input {
    width: 100%;
    min-width: auto;
  }
}

.use-group .soho-item {
  padding-bottom: 18px;
}

.use-group .soho-item small {
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 0.75rem;
  color: #333;
  white-space: nowrap;
}

.checkbox input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}

@media (max-width: 680px) {
  .use-group .soho-item {
    padding-bottom: 0;
  }

  .use-group .soho-item small {
    position: static;
    display: block;
    margin-left: 24px;
    margin-top: 2px;
  }

  .use-group .other-input {
    width: 100%;
    min-width: auto;
  }
}

.form-group .required {
  color: #fe9f13;
  font-size: 0.75rem;
  margin-left: 4px;
  font-weight: normal;
  background: none;
  padding: 0;
  border-radius: 0;
}

.contact-wrap .required-text {
  color: #fe9f13;
  font-size: 0.8rem;
  margin-left: 6px;
  font-weight: normal;
}



/*

*/

.confirm-form .confirm-value {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 0.9rem;
  box-sizing: border-box;
  line-height: 1.6;
}

.confirm-form .confirm-textarea {
  min-height: 126px;
}

.confirm-buttons {
  margin-top: auto;
}

.confirm-submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #f39800;
  text-decoration: none; /* ← 通常は下線なし */
  font-size: 0.9rem;
}

.link-back:hover {
  text-decoration: underline; /* ← ホバー時だけ下線 */
}

.submit-btn:hover,
.confirm-submit-btn:hover {
  text-decoration: none; /* ホバー時も下線なし */
}

.confirm-form .confirm-value {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 0.9rem;
  box-sizing: border-box;
  line-height: 1.6;
}

.confirm-form .confirm-textarea {
  min-height: 126px;
}

.confirm-buttons {
  margin-top: auto;
}

.confirm-submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #f39800;
  text-decoration: none;
  font-size: 0.9rem;
}

.link-back:hover {
  text-decoration: underline;
}

.submit-btn,
.confirm-submit-btn {
  text-decoration: none;
}

.submit-btn:hover,
.confirm-submit-btn:hover {
  text-decoration: none;
}

.confirm-buttons {
  margin-top: auto;
  text-align: center;
}

.confirm-buttons .link-back {
  justify-content: center;
}

.radio-group.modify {
  display: flex;
  align-items: center; /* ← 縦中央揃え */
  gap: 16px;
  flex-wrap: wrap;
}

.radio-group.modify .radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radio-group.modify .other-input {
  height: 44px;           /* ← inputと高さ合わせる */
}

@media screen and (max-width: 768px) {
  .radio-group.modify {
    align-items: flex-start;   /* ← 左寄せ */
    text-align: left;          /* ← 念のため */
  }

  .radio-group.modify .radio-item {
    justify-content: flex-start;
  }
}


.bukken-table td {
  vertical-align: top;
}

.bukken-table .name {
  margin-top: 0;
}

.bukken-table .name p {
  margin: 0;
  line-height: 1.6;
}

.bukken-table td:nth-child(2) {
  text-align: center; /* ← 中央寄せ */
  padding-top: 24px;
}

.bukken-table .name {
  text-align: center;
}

.bukken-table .name p {
  margin: 0;
  line-height: 1.6;
}


/* お問い合わせ項目だけに限定 */
.use-group .radio-group label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* SOHOの注釈ぶんの高さを確保 */
/* .use-group .radio-group label:nth-child(2) {
  padding-bottom: 10px;
} */

.use-group .radio-group label:nth-child(2)::before {
  content: "※小規模オフィス";
  position: absolute;
  top: 100%;
  left: 24px;   /* ラジオボタン幅ぶん右へ */
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}

/* SPではabsoluteをやめて通常フローに戻す */
@media (max-width: 680px) {
  .use-group .radio-group label:nth-child(2) {
    padding-bottom: 0;
  }
}

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

.radio-group label {
  position: relative;
  display: inline-block;
}

.radio-group label:nth-child(2)::before {
  content: "※小規模オフィス";
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* --------------------------
   お問い合わせ項目
-------------------------- */
.use-group .radio-item input[type="radio"] {
  -webkit-appearance: radio !important;
  appearance: radio !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

/* SOHOの注釈 */
.use-group .soho-item {
  padding-bottom: 18px;
}

.use-group .soho-item::after {
  content: "※小規模オフィス";
  position: absolute;
  left: 24px;
  top: 100%;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
  color: #333;
}

/* その他入力 */
.use-group .other-input {
  width: 140px;
  min-width: 140px;
  height: 44px;
}

/* --------------------------
   SP
-------------------------- */
@media (max-width: 680px) {
  .use-group .soho-item {
    padding-bottom: 0;
  }

  .use-group .soho-item::after {
    position: static;
    display: block;
    margin-top: 2px;
    margin-left: 24px;
  }

  .use-group .other-input {
    width: 100%;
    min-width: auto;
    margin-top: 4px;
  }
}


@media (max-width: 680px) {
  .use-group .soho-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 0;
  }

  .use-group .soho-item::after {
    content: "※小規模オフィス";
    position: static;
    display: block;
    margin-top: 2px;
    margin-left: 26px;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
  }
}

.use-group .radio-group {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: nowrap;
}

.use-group .radio-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
}

.use-group .soho-item {
  padding-bottom: 18px;
}

.use-group .soho-item::after {
  content: "※小規模オフィス";
  position: absolute;
  left: 24px;
  top: 100%;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .use-group .radio-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .use-group .radio-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    white-space: normal;
  }

  .use-group .soho-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 0;
  }

  .use-group .soho-item::after {
    position: static;
    display: block;
    margin-top: 2px;
    margin-left: 26px;
  }

  .use-group .other-input {
    width: 100%;
    min-width: auto;
    margin-top: 4px;
  }
}

/* 念のため明示的に消す */
.radio-group.modify label:nth-child(2)::before {
  content: none;
  padding-bottom: 0;
}

.form-group.adjust textarea {
  min-height: 80px;
}

.form-group.adjust .checkbox {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .form-left{
    margin-bottom: 10px;
  }
  .sp-hide {
    display: none;
  }
}


/* お問い合わせ項目：PCではラジオ群とテキストボックスを縦中央 */
.use-group .radio-group.modify {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.use-group .radio-group.modify .radio-item {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
}

.use-group .radio-group.modify .other-input {
  height: 44px;
  align-self: center;
}

/* SPでは縦並び */
@media (max-width: 680px) {
  .use-group .radio-group.modify {
    flex-direction: column;
    align-items: flex-start;
  }

  .use-group .radio-group.modify .other-input {
    width: 100%;
    align-self: stretch;
  }
}

.contact-note .tel-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.contact-note .tel-inline a {
  display: inline;
  white-space: nowrap;
}