@charset "UTF-8";
/* ==========================================================================
   サイト共通追加スタイル
   （旧WordPressテーマ style.css と、トップページにインラインで書かれていた
     スタイルを統合したもの）
   ========================================================================== */

/* --- 旧テーマ style.css より（居住支援ページ用） --- */
.housing-support {
  margin: 0;
  width: 100vw;
  height: auto;
  text-align: center;
  background-image: url(../img/uploads/back.jpg);
}
.pc { display: block !important; }
.sp { display: none !important; }
.btn-support {
  font-size: 45px;
  font-weight: bold;
  display: inline-block;
  padding: 0.65em 1.5em;
  text-decoration: none;
  background: #0055A2;
  color: #FFF;
  border-bottom: solid 6px #083966;
  border-radius: 60px;
  margin-bottom: 150px;
}
.btn-support:active {
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
  border-bottom: none;
}
@media only screen and (max-width: 750px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
  .btn-support {
    font-size: 18px;
    color: #FFF !important;
    border-bottom: solid 3px #083966;
    border-radius: 25px;
    margin-bottom: 50px;
  }
  .btn-support:active {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    border-bottom: none;
  }
}
.txt-center { text-align: center; }
.btn-blue a { color: #fff; }

/* --- 注意喚起バナー（PC/SP 出し分け） --- */
.cautionpc { display: block !important; margin: auto; }
.cautionsp { display: none !important; }
@media only screen and (max-width: 430px) {
  .cautionpc { display: none !important; }
  .cautionsp { display: block !important; margin: auto; }
}

/* --- フッター 認証・加盟バナー --- */
.l-footer .banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
.l-footer .banner .banner-mirai { width: 350px; max-width: 100%; }
.l-footer .banner .banner-etoc  { width: 85px; height: auto; }
.l-footer .l-under-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* --- 新着情報 記事本文内の表（旧テーマのインラインCSSより） --- */
.news-list-wrap table,
.news-list-wrap td,
.news-list-wrap th {
  border: 1px solid #595959;
  border-collapse: collapse;
}
.news-list-wrap td,
.news-list-wrap th {
  padding: 3px;
  height: 25px;
}
.news-list-wrap .news-empty {
  padding: 60px 0;
  text-align: center;
}

/* --- お問い合わせフォーム（入力・確認・完了） --- */
/* ステップ表示 */
.is-contact .wrap-contact .form-steps {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  counter-reset: step;
}
.is-contact .wrap-contact .form-steps li {
  position: relative;
  width: 160px;
  padding: 14px 10px 14px 30px;
  background: #eff8ff;
  color: #7a98b3;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  counter-increment: step;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
  margin-left: -8px;
}
.is-contact .wrap-contact .form-steps li:first-child {
  margin-left: 0;
  padding-left: 14px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.is-contact .wrap-contact .form-steps li:before {
  content: counter(step) ".";
  margin-right: 4px;
}
.is-contact .wrap-contact .form-steps li.is-current {
  background: #155298;
  background-image: linear-gradient(to right, #155298 0, #1eaddd 100%);
  color: #fff;
}
.is-contact .wrap-contact .form-steps li.is-done {
  background: #7ccef4;
  color: #fff;
}
/* お知らせ・エラー */
.is-contact .wrap-contact .form-notice {
  margin: 0 0 30px;
  padding: 14px 20px;
  border: 2px solid #e60012;
  background: #fff3f3;
  color: #e60012;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}
.is-contact .wrap-contact .form-error {
  display: block;
  margin-top: 6px;
  color: #e60012;
  font-size: 13px;
  line-height: 1.5;
}
.is-contact .wrap-contact-form-in-date input.is-error,
.is-contact .wrap-contact-form-in-date select.is-error,
.is-contact .wrap-contact-form-in-date textarea.is-error {
  border-color: #e60012;
  background: #fff8f8;
}
.is-contact .wrap-contact-form-in-date .name-area {
  display: inline-block;
}
.is-contact .wrap-contact-form-in-date textarea {
  margin-top: 5px;
  min-height: 200px;
  resize: vertical;
}
/* ハニーポット（画面上は表示しない） */
.is-contact .wrap-contact .form-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 確認画面 */
.is-contact .contact-form.is-confirm .wrap-contact-form-in-date {
  line-height: 1.75;
  word-break: break-all;
}
.is-contact .contact-form.is-confirm .form-empty {
  color: #999;
}
.is-contact .contact-form.is-confirm .confirm-type {
  margin: 0 0 12px;
  font-weight: bold;
}
.is-contact .contact-form.is-confirm .confirm-message {
  margin: 0;
  white-space: pre-wrap;
}
/* ボタン */
.is-contact .wrap-contact .form-submit-wrap {
  margin-top: 40px;
}
.is-contact .wrap-contact .form-submit-wrap.is-confirm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.is-contact .wrap-contact .form-submit-wrap.is-confirm .form-submit,
.is-contact .wrap-contact .form-submit-wrap.is-confirm .form-back {
  margin: 0;
}
.is-contact .form-submit {
  cursor: pointer;
  transition: opacity .2s;
}
.is-contact .form-submit:hover {
  opacity: .85;
}
.is-contact .form-back {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 250px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #8a8a8a;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
  transition: opacity .2s;
}
.is-contact .form-back:hover {
  opacity: .85;
}
@media only screen and (max-width: 767px) {
  .is-contact .wrap-contact .form-steps li {
    width: 33.333%;
    padding: 10px 6px 10px 20px;
    font-size: 13px;
  }
  .is-contact .wrap-contact .form-steps li:first-child {
    padding-left: 8px;
  }
  .is-contact .wrap-contact-form-in-date .name-area {
    display: block;
    margin-right: 0;
  }
  .is-contact .form-submit,
  .is-contact .form-back {
    width: 100%;
    max-width: 300px;
  }
}
