@charset "utf-8";
/* CSS Document */

img {
  max-width: 100%;
  height: auto;
}

/* ナビゲーション */
.custom_post_nav {
  margin: 0 0 36px 0;
}

.custom_post_nav ul, .custom_post_loop ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.custom_post_nav ul li, .custom_post_loop ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.custom_post_nav ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 3px;
  width: -webkit-calc(33% - 6px);
  width: calc(33% - 6px);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.custom_post_nav ul li a {
  display: block;
  color: #3E4F63;
  font-size: 14px;
  text-decoration: none;
  background: #FFF;
  color: #3E4F63;
  border: 1px solid #3E4F63;
  border-radius: 3px;
  text-align: center;
  padding: 3px 0;
}

.custom_post_nav ul li a:hover {
  color: #FFF;
  background-color: #3E4F63;
  border: 1px solid #3E4F63;
}

.custom_post_nav ul li a.current {
  color: #FFF;
  background: #942827;
  border: 1px solid #942827;
}


.custom_post_nav ul#tax1 {
  margin-bottom: 16px;
}

.custom_post_nav h3 {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 6px;
}

.custom_post_nav h3 i {
  color: #3E4F63;
}

/* 繰り返し */
.custom_post_loop {
  margin: 0;
  padding: 0 0 36px 0;
}

.custom_post_loop ul li.post h3 {
  margin: 6px 0 12px 0;
  padding: 0;
}

.custom_post_loop ul li.post h3 a {
  color: #333;
}

.custom_post_loop ul li.post h3 a:hover {
  color: #3E4F63;
  text-decoration: none;
}

table.loop_table {
  font-size: 14px;
}

table.loop_table {
  border-top: 1px solid #CFCFCF;
  border-left: 0px solid #CFCFCF;
}

table.loop_table th, table.loop_table td {
  border-bottom: 1px solid #CFCFCF;
  border-right: 0px solid #CFCFCF;
  padding: 8px 6px;
}

table.loop_table th {
  background-color: #F5F5F5;
  text-align: center;
  font-weight: normal;
}


.view_detail_btn {
  margin-top: 12px;
  margin-right: 0px;
  display: flex;
  flex-direction: row-reverse
}

.view_detail_btn.to_home {
  margin-top: 48px;
  justify-content: center;
}

.view_detail_btn a {
  background-image: url(../images/arrow_accent.svg);
  background-repeat: no-repeat;
  display: inline-block;
  padding-top: 5px;
  padding-bottom: 6px;
  padding-right: 46px;
  padding-left: 26px;
  background-size: 20px auto;
  background-position: right 10px center;
  color: #333333 !important;
  text-decoration: none;
  border: 1px solid #942827;
  font-size: 12px;
  border-radius: 24px;
  text-decoration: none !important;
}

.view_detail_btn a:hover {
  color: #942827 !important;
  text-decoration: none !important;
}


/* ページネーション */

.pagination {
  margin: 40px 0 0;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 15px;
  color: #3E4F63;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #3E4F63;
  text-decoration: none;
}

.pagination .page-numbers:hover {
  background: #3E4F63;
  color: #fff;
}

.pagination .current {
  background: #3E4F63;
  color: #fff;
}

.pagination .prev,
.pagination .next {
  background: transparent;
  box-shadow: none;
  color: #3E4F63;
}

.pagination .dots {
  background: transparent;
  box-shadow: none;
  border: none;
}


/* イベント */
.custom_post_event ul li.post {
  width: 100%;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #D4D4D4;
}

.custom_post_event ul li.post .inner {
  display: flex;
  justify-content: space-between;
}

.custom_post_event_column_img {
  width: 33%;
}

.custom_post_event_column_detail {
  width: calc(67% - 20px);
  margin-left: 20px;
}

.custom_post_event_column_detail .view_detail_btn {
  margin-top: 20px;
  margin-right: 14px;
}

.custom_post_event_column_detail table.loop_table th {
  width: 120px;
}

/* 20250516追加部分（タイトルヘッダ・ボタン位置の変更） */
.event__ttl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.event__ttl-header-left {
  width: 820px;
}

.event__ttl-header-right {
  width: 340px;
}

.view_detail_btn-header {
  margin-top: 0px;
  margin-right: 0px;
  display: flex;
  justify-content: flex-end;
}

.view_detail_btn-header a {
  background-image: url(../images/arrow_accent.svg);
  background-repeat: no-repeat;
  display: inline-block;
  padding-top: 5px;
  padding-bottom: 6px;
  padding-right: 42px;
  padding-left: 22px;
  background-size: 20px auto;
  background-position: right 10px center;
  color: #333333 !important;
  text-decoration: none;
  border: 1px solid #942827;
  font-size: 12px;
  border-radius: 24px;
  text-decoration: none !important;
  margin-left: 6px;
}

.view_detail_btn-header a:hover {
  color: #942827 !important;
}

.view_detail_btn-header a.reservation_link {
  background-image: url(../images/white_arr.svg);
  background-color: #942827 ;
  color: #ffffff !important;
  border: 1px solid #942827;
}

.view_detail_btn-header a.reservation_link:hover {
  color: #ffffff !important;
  background-color: #fd7200 ;
}






h2.midashi_txt{
  border-left: 3px solid #942827;
  padding-left: 12px;
}

/* 新築施工実例 */
.custom_post_casestudy ul li.post {
  width: calc(33% - 44px);
  margin: 0 10px 36px 10px;
  padding: 12px;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
}

.custom_post_casestudy ul li.post .cat {
  font-size: 12px;
  font-family: Arial, Helvetica, "sans-serif";
  color: #8E8E8E;
}

.custom_post_casestudy ul li.post h3 {
  font-size: 14px;
  line-height: 1.4em;
}


/* お役立ちブログ */

.custom_post_useful ul li.post {
  width: 100%;
  margin: 0 0 24px 0;
  padding: 0 0 24px 0;
  border-bottom: 1px solid #E5E5E5;
  border-radius: 6px;
  display: flex;
}

.custom_post_useful .custom_post_useful_img {
  width: 200px;
}

.custom_post_useful .custom_post_useful_cont {
  margin-left: 32px;
  width: calc(100% - 200px - 32px);
}


.custom_post_useful ul li.post .post_meta {
  font-size: 13px;
  line-height: 1.4em;
  margin-bottom: 12px;
}

.custom_post_useful ul li.post .post_meta a {
  color: #333;
}

.custom_post_useful ul li.post .post_meta a:hover {
  color: #942827;
}


.custom_post_useful ul li.post h3 {
  font-size: 14px;
  line-height: 1.4em;
}

.custom_post_useful ul li.post article {
  font-size: 13px;
}



/* 不動産情報 */
tr[data-href] {
  cursor: pointer;
}

.custom_post_housingdata table.loop_table tr:hover {
  background-color: #F0F7FF;
}

.custom_post_housingdata table.loop_table img {
  width: 120px;
  height: auto;
}

.loop_table .status {
  width: 100px;
}

.loop_table .tumnail {
  width: 140px;
}

.loop_table .price,
.loop_table .area,
.loop_table .tsuboprice {
  width: 140px;
}

h3.housingdata_cat_ttl {
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 18px;
  font-weight: normal;

}

/* 不動産情報（statusアイコン） */
.status_ico {
  display: inline-block;
  font-size: 12px;
  line-height: 1em;
  color: #FFF;
  background-color: #942827;
  border: #942827 solid 1px;
  padding: 2px 12px;
}

.status_ico.status_ico_02 {
  color: #FFF;
  background-color: #942827;
  border: #942827 solid 1px;
}

.status_ico.status_ico_03 {
  color: #942827;
  background-color: #FFFFFF;
  border: #942827 solid 1px;
}

.single_housingdata_explanation .status_ico {
  margin-bottom: 12px;
}


/* お知らせ（インフォメーション） */
.custom_post_information ul li.post {
  width: 100%;
  margin: 0 0 24px 0;
  padding: 0 0 24px 0;
  border-bottom: 1px solid #E5E5E5;
  border-radius: 6px;
}

.custom_post_information ul li.post .post_meta {
  font-size: 13px;
  line-height: 1.4em;
  margin-bottom: 12px;
}

.custom_post_information ul li.post .post_meta a {
  color: #333;
}

.custom_post_information ul li.post .post_meta a:hover {
  color: #942827;
}

.custom_post_information ul li.post h3 {
  font-size: 16px;
  line-height: 1.4em;
}

.custom_post_information ul li.post article {
  font-size: 13px;
}



/* お客様の声 */

.custom_post_voice ul li.post {
  width: calc(33% - 52px);
  margin: 0 10px 36px 10px;
  padding: 16px;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  position: relative;
}

.custom_post_voice ul li.post .cat {
  font-size: 12px;
  font-family: Arial, Helvetica, "sans-serif";
  color: #8E8E8E;
}

.custom_post_voice ul li.post h3 {
  font-size: 16px;
  line-height: 1.4em;
}

.custom_post_voice ul li.post a.voice_cat {
  font-size: 12px;
  font-family: Arial, Helvetica, "sans-serif";
  display: block;
  width: 80px;
  background-color: #942827;
  position: absolute;
  top: 12px;
  left: 12px;
  text-align: center;
  padding: 3px 0;
  color: #FFF;
  text-decoration: none;
}

.custom_post_voice ul li.post .voice_date {
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
}

.custom_post_voice ul li.post .voice_info {
  font-size: 12px;
  color: #333;
}

h4.voicelabel {
  margin: 0 0 12px 0;
  padding: 1px 12px 3px;
  font-size: 12px;
  line-height: 12px;
  font-weight: normal;
  background-color: #f7f7f7;
  color: #7a7a7a;
  display: inline-block;
  border-radius: 4px;
}




@media (max-width:768px) {

  /* ナビゲーション - sp */
  .custom_post_nav ul li a {
    font-size: 13px;
  }


  .custom_post_loop {
    margin: 0 12px;
    padding: 0 0 24px 0;
  }

  table.loop_table th {
    white-space: nowrap;
  }


  /* イベント - sp */
  .custom_post_event ul li.post .inner {
    flex-direction: column
  }

  .custom_post_event_column_img {
    width: 100%;
    margin-bottom: 6px;
  }

  .custom_post_event_column_detail {
    width: 100%;
    margin-left: 0px;
  }

  .custom_post_event_column_detail table.loop_table th {
    width: 70px;
  }



/* 20250516追加部分（タイトルヘッダ・ボタン位置の変更） - sp */
.event__ttl-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.event__ttl-header-left {
  width: auto;
}

.event__ttl-header-right {
  width: auto;
}

.view_detail_btn-header {
  margin-top: 0px;
  margin-right: 0px;
  display: flex;
  justify-content: flex-end;
}

h2.midashi_txt{
  border-left: 3px solid #942827;
  padding-left: 12px;
}


  /* 新築施工実例 - sp */
  .custom_post_casestudy ul li.post {
    width: 100%;
    margin: 0 10px 36px 10px;
    padding: 12px;
  }

  /* お役立ちブログ - sp */
  .custom_post_useful ul li.post article {
    font-size: 12px;
  }

  .custom_post_useful .custom_post_useful_img {
    width: 25%;
  }

  .custom_post_useful .custom_post_useful_cont {
    margin-left: 16px;
    width: calc(75% - 16px);
  }


  /* 不動産情報 - sp */
  .custom_post_housingdata table.loop_table th {
    display: none;
  }

  .custom_post_housingdata table.loop_table td {
    display: block;
    border-bottom: none;
    text-align: left !important;
    padding: 3px 10px;
  }

  .custom_post_housingdata table.loop_table td:nth-child(1) {
    padding-top: 8px;
  }

  .custom_post_housingdata table.loop_table td:nth-child(5) {
    border-bottom: 1px solid #666666;
  }

  .custom_post_housingdata table.loop_table img {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* お知らせ（インフォメーション） - sp */
  .custom_post_information ul li.post article {
    font-size: 12px;
  }

  /* お客様の声 - sp */
  .custom_post_voice ul li.post {
    width: 100%;
    margin: 0 10px 36px 10px;
    padding: 12px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
  }



}
/* --------------------------------------------------
 * 2026-07-28 にこいち追加（P2：ユーザビリティ）
 * イベント・モデルハウス見出しのリンク復活にともなう見た目の維持。
 * 既定のリンク色や下線を出さず、見出しの体裁のままクリックできるようにする。
 *
 * ※ style.css の `a:link / a:visited { text-decoration: underline }` と
 *   詳細度が同じ(0,1,1)だと、後から読まれる style.css に負けて下線が出る。
 *   同じ擬似クラスを併記して詳細度を(0,2,1)に上げることで解決している。
 *   !important は使わない（他の調整をさらに難しくするため）。
-------------------------------------------------- */
.event__ttl a:link,
.event__ttl a:visited {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.event__ttl a:hover,
.event__ttl a:focus-visible {
  color: #942827;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* キーボード操作でどこを選んでいるか分かるようにする */
.event__ttl a:focus-visible {
  outline: 2px solid #942827;
  outline-offset: 4px;
}
