@charset "UTF-8";

/**
 * トップページのスタイル
 * NOTE: トップページのスタイルは、サイト内で使いまわし可能である想定です
**/

/**
 * トップページのメインビジュアル
 * NOTE: 
**/

/* メインビジュアル 背景の調整 */
[id="main_image"] {
  background: url("../images/main_image_01.png") no-repeat left 50% bottom 0%;
  background-size: cover;
}
@media (max-width: 1080.98px) {
  [id="main_image"] {
    background-position: left 33.33% bottom 0%;
    background-size: auto 100%;
  }
}
@media (max-width: 767.98px) {
  [id="main_image"] {
    background-position: left 31% bottom 0%;
    background-size: auto 100%;
  }
}

/* メインビジュアル コンテンツの基本的な位置と幅などのスタイル */
[id="main_image"] > .base_wrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 640px;
}
@media (max-width: 1080.98px) {
  [id="main_image"] > .base_wrap {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  [id="main_image"] > .base_wrap {
    display: block;
    width: 100%;
    height: auto;
    padding: 72px 0;
  }
}


/* メインビジュアル コンテンツの内部のスタイル */
.main_image__inner {
  text-align: center;
  max-width: 672px;
  width: 100%;
}


/* メインビジュアル ロゴ */
.main_image__logo {
  width: auto;
  height: 204px;
}
@media (max-width: 767.98px) {
  .main_image__logo {
    width: auto;
    height: 96px;
  }
}


/* メインビジュアル サイト名（デフォルト不使用） */
.main_image__title {
  color: var(--font-c);
  font-size: 28px;
  font-weight: 900;
  line-height: 32px;
}
*+.main_image__title {
  margin-top: 32px;
}
@media (max-width: 767.98px) {
  .main_image__title {
    font-size: 18px;
    line-height: 24px;
  }
  *+.main_image__title {
    margin-top: 16px;
  }
}


/* メインビジュアル キャッチコピー */
.main_image__slogan {
  color: var(--font-c);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
*+.main_image__slogan {
  margin-top: 24px;
}
.main_image__title+.main_image__slogan {
  margin-top: 16px;
}
@media (max-width: 767.98px) {
  .main_image__slogan {
    font-size: 14px;
    line-height: 24px;
  }
  *+.main_image__slogan {
    margin-top: 16px;
  }
  .main_image__title+.main_image__slogan {
    margin-top: 16px;
  }
}


/* メインビジュアル 検索部品 */
/* メインビジュアル 検索部品 ラッパー */
.main_image__search {
  margin-top: 40px;
}
@media (max-width: 959.98px) {
  .main_image__search {
    margin-top: 20px;
  }
}
/* メインビジュアル 検索部品 コンテンツラッパー */
.main_image__search_inner {
  max-width: 672px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 959.98px) {
  .main_image__search_inner {
    max-width: 672px;
  }
}
@media (max-width: 767.98px) {
  .main_image__search_inner {
    max-width: 360px;
  }
}
/* メインビジュアル 検索部品 フォームタグ */
.main_image__form {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 16px;
}
@media (max-width: 767.98px) {
  .main_image__form {
    gap: 0;
  }
}
/* メインビジュアル 検索部品 セレクト */
.main_image__form_select {
  max-width: 200px;
  width: 100%;
}
.main_image__form_select .select {
  display: block;
  width: 100%;
}
.main_image__form_select .select select {
  height: var(--site-btn-height);
}
@media (max-width: 767.98px) {
  .main_image__form_select {
    max-width: none;
    width: 100%;
  }
}
/* メインビジュアル 検索部品 結合アイコン */
.main_image__form_sep {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  color: var(--site-c-main);
  font-size: 32px;
  line-height: 1;
}
@media (max-width: 767.98px) {
  .main_image__form_sep {
    width: 100%;
    height: 36px;
  }
}
/* メインビジュアル 検索部品 送信ボタン */
.main_image__form_submit {
  max-width: 136px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .main_image__form_submit {
    max-width: none;
    margin: 12px auto 0;
  }
}


/**
 * トップページのコンテンツ
 * NOTE: 
**/


/**
 * トップページのセクション
 * NOTE: .home_wrap01は旧バージョン互換
**/

.home_wrap01,
.home_section {
  padding: 56px 0;
}
@media (max-width: 959.98px) {
  .home_wrap01,
  .home_section {
    padding: 40px 0;
  }
}
@media (max-width: 767.98px) {
  .home_wrap01,
  .home_section {
    padding: 32px 0;
  }
}


/**
 * トップページの2col セクション
 * NOTE: .base_wrapにdisplay: flexなどを指定し、その直下に.home_left_wrap、および.home_right_wrapを配置し使用します。
**/

.home_left_wrap {
  width: calc(100% - 300px);
}
@media (max-width: 959.98px) {
  .home_left_wrap {
    width: 100%;
    max-width: none;
  }
}

.home_right_wrap,
.home_specialty_wrap {
  width: 260px;
}
@media (max-width: 959.98px) {
  .home_right_wrap,
  .home_specialty_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    max-width: none;
    width: 100%;
    margin: 20px auto;
    padding: 0;
  }
}


/**
 * area map
 * NOTE: 
**/

.area_wrap {
  position: relative;
  padding: 0 2px;
  margin: 0 0 64px;
}
@media (max-width: 767.98px) {
  .area_wrap {
    display: none;
  }
}
.area_wrap a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 0 4px;
  margin: 0 0 4px 2px;
  background: #fff;
  color: var(--site-c-gray);
  border: solid 2px;
  border-radius: 2em;
  font-size: 12px;
  font-weight: 700;
  width: 88px;
  height: 24px;
}
.area_wrap p {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding: 0;
}
.area_wrap img {
  width: 100%;
  height: auto;
}
.area_wrap__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 1300.98px) {
  .area_wrap__box {
    font-size: 8.125px;
  }
}
.area_wrap > div {
  position: absolute;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.area_wrap .map_color {
  fill: #ebebeb;
}
.area_wrap .pref_color {
  fill: none;
  stroke: #ffffff;
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-miterlimit: 100;
}
.area_wrap .box_color {
  opacity: 0.8;
}
.area_wrap .box_fill_color {
  fill: #ffffff;
}
.area_wrap .box_line_color {
  fill: none;
  stroke: var(--site-c-main);
  stroke-width: 0.5;
  stroke-miterlimit: 100;
}
.area_wrap .line_color {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: none;
  stroke: var(--site-c-main);
  stroke-miterlimit: 10;
}
.area_wrap .pin_color {
  fill: var(--site-c-main);
}
.area_wrap .area_name {
  fill: var(--site-c-main);
  font-weight: 700;
}

[id="map"] {
  display: block;
  max-width: 1024px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
[id="map"] .area_name,
[id="map"] .pref_name {
  font-size: 14px;
}


/**
 * search forms
 * NOTE: 
**/

/* home_search_wrap */
.home_search_wrap {
  margin: 0 0 64px;
}
@media (max-width: 767.98px) {
  .home_search_wrap {
    padding: 16px 8px;
  }
}

/* box_search_list */
.box_search_list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
}
.box_search_list__item {}
.box_search_list__item .select {
  width: 100%;
}
.box_search_list__item select {
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 62px;
  width: 100%;
  height: 64px;
  padding: 0 14px;
}

/* home_kodawari_wrap */
.home_kodawari_wrap {
  position: relative;
}
@media (max-width: 767.98px) {
  .home_kodawari_wrap {
    margin: 0 -2px;
    padding: 0 8px;
  }
}

/* box_kodawari */
.box_kodawari {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.box_kodawari > a {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  background: #fff;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  height: 64px;
  width: calc((100% - 4px * 2 ) / 3);
  margin: 0;
  padding: 0 16px;
}
@media (max-width: 767.98px) {
  .box_kodawari > a,
  .box_kodawari > div {
    width: calc((100% - 4px * 1 ) / 2);
  }
}


/**
 * コラム
 * NOTE: 
**/

.topics_wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  gap: 32px;
}
@media (max-width: 767.98px) {
  .topics_wrap {
    flex-flow: column nowrap;
    justify-content: flex-start;
  }
}

.topics_left,
.topics_right {
  width: 100%;
  padding: 0;
  position: relative;
}
@media (min-width: 768px) {
  .topics_left:has(.box_more),
  .topics_right:has(.box_more) {
    padding: 0 0 calc( 16px + var(--site-btn-height) );
  }
}


.topics_wrap .box_more {
  display: flex;
  justify-content: center;
  align-items: center;
}
.topics_wrap .box_more .btn {
  max-width: 280px;
}
@media (min-width: 768px) {
  .topics_wrap .box_more {
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
  }
}
@media (max-width: 767.98px) {
  .topics_wrap .box_more {
    margin-top: 16px;
  }
}

.topics_wrap .c_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: solid 2px var(--site-c-main);
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 20px;
  margin-bottom: 16px;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .topics_wrap .c_title {
    border-width: 1px;
    font-size: 16px;
    padding: 12px 16px;
    gap: 12px;
  }
}
.topics_wrap .c_title::after {
  content: attr(data-small);
  display: block;
  color: var(--font-c);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin: 0 0 0 auto;
  transform-origin: right center;
}
.topics_wrap .c_title:has(a)::after {
  display: none;
}

.topics_wrap .c_title > span {
  display: block;
}
.topics_wrap .c_title > a {
  display: block;
  color: var(--font-c);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05ex;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  margin: 0 0 0 auto;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  transform: translate(0,0);
}
.topics_wrap .c_title > a::before {
  display: none;
}


/**
 * 都道府県検索
 * NOTE: 
**/

.box_pref {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  padding: 0 0 14px;
}
@media (max-width: 767.98px) {
  .box_pref {
    padding: 0 6px 6px;
  }
}

.box_pref + .box_pref {
  border-top: solid 2px #f2f2f2;
  padding: 14px 0;
}
@media (max-width: 767.98px) {
  .box_pref + .box_pref {
    padding: 6px;
  }
}

.box_pref::before {
  display: block;
  width: 72px;
  content: attr(data-pref-area-name);
  color: var(--site-c-main);
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 767.98px) {
  .box_pref::before {
    width: 100%;
    margin: 0 0 6px;
  }
}

.box_pref > li {
  margin-right: 8px;
}
@media (max-width: 767.98px) {
  .box_pref > li {
    width: 25%;
    margin: 0;
    padding: 2px;
  }
}

.box_pref a {
  display: block;
  border: solid 2px var(--site-c-main-light);
  border-radius: 4px;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  color: inherit;
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  padding: 12px;
  width: 80px;
  text-align: center;
}
@media (max-width: 767.98px) {
  .box_pref a {
    padding: 8px;
    width: auto;
  }
}


/**
 * お知らせ
 * NOTE: 
**/

.home_news_list {
  margin-bottom: 12.5px;
}
@media only screen and (max-width: 767.98px) {
  .home_news_list {
    font-size: 12px;
  }
}
.home_news_list > li,
.home_news_list > li > a {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--font-c);
}
.home_news_list > li {
  padding: 16px;
}
.home_news_list > li + li {
  border-top: solid 1px var(--site-c-gray);
}
.home_news_list > li time {
  color: var(--site-c-gray);
}
.home_news_list > li p {
  width: calc(100% - 120px);
}
@media only screen and (max-width: 767.98px) {
  .home_news_list > li p {
    width: calc(100% - 96px);
  }
}


/**
 * ===================================
 * MD CLINIC BASE トップページ カスタムスタイル
 * ===================================
 */

/* ============================
   共通ボタン
   ============================ */
.md_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  padding: 12px 24px;
  transition: opacity 0.2s, background-color 0.2s;
  cursor: pointer;
  border: none;
}
.md_btn--primary {
  background: var(--md-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10,22,69,0.2);
}
.md_btn--primary:hover { opacity: 0.9; }
.md_btn--outline {
  background: #fff;
  color: var(--md-primary);
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.md_btn--outline:hover { background: #f9fafb; }
.md_btn--orange {
  background: #f97316;
  color: #fff;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.md_btn--orange:hover { background: #ea580c; }
.md_btn--full { width: 100%; }
.md_btn--round { border-radius: 9999px; }
.md_btn--lg {
  padding: 14px 32px;
  font-size: 14px;
  max-width: 320px;
  width: 100%;
}
/* 物件もっと見るボタン（デザイン準拠: product-btn） */
.md_btn--product {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto 0;
  width: 100%;
  max-width: 480px;
  height: 60px;
  background: #fff;
  border: 1px solid #D1D5D8;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  color: #314158;
  text-decoration: none;
  padding: 0;
}
@media (max-width: 767.98px) {
  .md_btn--product {
    margin-top: 40px;
    max-width: 100%;
    height: 40px;
    font-size: 13px;
  }
}
.md_btn--sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 9999px;
}
.md_btn .material-symbols-outlined {
  font-size: 16px;
}

/* ============================
   セクション共通
   ============================ */
.md_section {
  padding: 80px 0;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section {
    padding: 50px 0;
  }
}
.md_section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--md-primary);
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .md_section__title {
    font-size: 18px;
    gap: 10px;
    margin-bottom: 20px;
  }
}
.md_section__title--center {
  justify-content: center;
  font-size: 30px;
  gap: 10px;
}
@media (max-width: 767.98px) {
  .md_section__title--center {
    font-size: 20px;
    gap: 10px;
    margin-bottom: 30px;
  }
}
.md_section__title_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.md_section__title_icon img {
  width: 30px;
  height: 30px;
  display: block;
}
.md_section__title_icon--center img {
  width: 60px;
  height: 60px;
}
@media (max-width: 767.98px) {
  .md_section__title_icon img {
    width: 20px;
    height: 20px;
  }
  .md_section__title_icon--center img {
    width: 30px;
    height: 30px;
  }
}
.md_section__title_bar {
  width: 40px;
  height: 4px;
  background: var(--md-gold);
  margin: -16px auto 32px;
  border-radius: 9999px;
}
@media (max-width: 767.98px) {
  .md_section__title_bar {
    margin: -8px auto 24px;
  }
}
.md_section__more {
  margin-top: 0;
}
@media (max-width: 767.98px) {
  .md_section__more {
    margin-top: 0;
  }
}
.md_section__sub_link {
  text-align: right;
  margin-top: 8px;
  padding: 0 4px;
}
.md_section__sub_link a {
  font-size: 12px;
  color: #1e293b;
  text-decoration: underline;
  opacity: 0.8;
}
.md_section__sub_txt {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  color: #314158;
}
.md_section__sub_txt a {
  color: #314158;
  text-decoration: underline;
}
@media (max-width: 767.98px) {
  .md_section__sub_txt {
    margin-top: 30px;
    font-size: 14px;
  }
}
.md_section__more_link {
  text-align: right;
  margin-top: 40px;
  padding: 0;
}
.md_section__more_link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #314158;
  text-decoration: none;
}
.md_section__more_link a .material-symbols-outlined {
  font-size: 16px;
  width: 12px;
}
@media (max-width: 767.98px) {
  .md_section__more_link {
    margin-top: 20px;
  }
  .md_section__more_link a {
    font-size: 14px;
    gap: 8px;
  }
}

/* セクション背景 */
.md_section--recommend {
  background: #F8FAFC;
  padding: 60px 0 80px;
  border-top: none;
}
@media (max-width: 767.98px) {
  .md_section--recommend {
    padding: 40px 0 50px;
  }
}
.md_section--private {
  background: #fff;
  padding: 80px 0 120px;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--private {
    padding: 50px 0;
  }
}
.md_section--reason {
  background: #F8FAFC;
  padding: 80px 0 100px;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--reason {
    padding: 50px 0;
  }
}
.md_section--new {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--new {
    padding: 50px 0;
  }
}
.md_section--seminar {
  background: #F8FAFC;
  padding: 80px 0 100px;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--seminar {
    padding: 40px 0;
  }
}
.md_section--articles {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--articles {
    padding: 50px 0;
  }
}
.md_section--faq {
  background: #F8FAFC;
  padding: 80px 0 100px;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--faq {
    padding: 50px 0;
  }
}
.md_section--cta {
  background: #fff;
  padding: 70px 0 80px;
  text-align: center;
  border-top: 1px solid #e9eced;
}
@media (max-width: 767.98px) {
  .md_section--cta {
    padding: 50px 24px;
  }
}

/* ============================
   ヒーローセクション
   ============================ */
.md_hero {
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  min-height: 718px;
}
@media (max-width: 767.98px) {
  .md_hero {
    min-height: auto;
  }
}
.md_hero__bg {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: 0;
}
.md_hero__bg_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.95) brightness(1.05);
}
.md_hero__bg_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.20), rgba(255,255,255,0.60));
}

.md_hero > .base_wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 718px;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 767.98px) {
  .md_hero > .base_wrap {
    min-height: auto;
    display: block;
    padding-top: 40px;
    padding-bottom: 48px;
  }
}
.md_hero__inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 767.98px) {
  .md_hero__inner {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.md_hero__subtitle {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--md-primary);
  letter-spacing: 2px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .md_hero__subtitle {
    font-size: 15px;
    letter-spacing: 1px;
  }
}

.md_hero__title {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-size: 60px;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.2;
  letter-spacing: 1px;
  margin-top: 40px;
  margin-bottom: 50px;
}
@media (max-width: 767.98px) {
  .md_hero__title {
    font-size: 25px;
    letter-spacing: 0;
    margin-top: 25px;
    margin-bottom: 30px;
  }
}

.md_hero__features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}
.md_hero__feature_item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 900;
  color: var(--md-primary);
  line-height: 1.4;
}
.md_hero__feature_icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}
.md_hero__feature_gold {
  font-size: 30px;
  font-weight: 800;
  color: #9E7C1F;
}
.md_hero__feature_text {
  font-size: 24px;
  font-weight: 700;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_hero__feature_item { font-size: 15px; margin-bottom: 5px; }
  .md_hero__feature_gold { font-size: 20px; }
  .md_hero__feature_text { font-size: 15px; }
  .md_hero__feature_icon { width: 22px; height: 22px; }
}

/* ヒーロー検索バー */
.md_hero__search {
  max-width: 824px;
  margin: 45px auto 0;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
}
@media (max-width: 767.98px) {
  .md_hero__search {
    margin-top: 30px;
    padding: 10px;
    border-radius: 5px;
  }
}
.md_hero__search_form {
  display: flex;
  align-items: center;
  gap: 0;
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.md_hero__search_select {
  flex: 1;
}
.md_hero__search_select select {
  width: 100%;
  height: 56px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 0 40px 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
@media (max-width: 767.98px) {
  .md_hero__search_select select {
    height: 44px;
    font-size: 14px;
    padding: 0 30px 0 12px;
    border-radius: 8px;
  }
}
.md_hero__search_sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #94a3b8;
  flex-shrink: 0;
  width: auto;
  height: auto;
  background: none;
}
.md_hero__search_sep .material-symbols-outlined {
  display: block;
  font-size: 20px;
}
@media (max-width: 767.98px) {
  .md_hero__search_sep {
    padding: 0 5px;
  }
  .md_hero__search_sep .material-symbols-outlined {
    font-size: 16px;
  }
}
.md_hero__search_btn {
  width: 56px;
  height: 56px;
  background: var(--md-primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-left: 10px;
}
.md_hero__search_btn:hover {
  background: #0d1f5c;
}
.md_hero__search_btn:active {
  transform: scale(0.95);
}
.md_hero__search_btn .material-symbols-outlined {
  font-size: 24px;
}
@media (max-width: 767.98px) {
  .md_hero__search_btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    margin-left: 5px;
  }
}

/* ============================
   物件カード共通（デザイン準拠: product-item）
   ============================ */
.md_card {
  position: relative;
  background: #fff;
  border: 2px solid #2A7FAA;
  border-radius: 5px;
  overflow: hidden;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767.98px) {
  .md_card {
    padding: 32px 20px 20px;
  }
  .md_card--private {
    padding: 8px;
    padding-top: 28px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
  }
}
.md_card--private {
  padding: 40px 20px 20px;
}

/* ランクバッジ */
.md_card__rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  width: max-content;
  height: 30px;
  border-bottom-right-radius: 10px;
  background: #2A7FAA;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 767.98px) {
  .md_card__rank {
    height: 20px;
    font-size: 12px;
  }
}
.md_card__rank--s {
  background: var(--md-rank-s);
}
.md_card__rank--a {
  background: #2A7FAA;
}
.md_card__rank--b {
  background: var(--md-rank-b);
}
.md_card__rank--c {
  background: var(--md-rank-c);
}

/* カード本体 */
.md_card__body {
  flex: 1;
}
.md_card__tag {
  display: block;
  background: #DBEAFE;
  color: var(--md-primary);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: max-content;
  max-width: 100%;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 22px;
}
@media (max-width: 767.98px) {
  .md_card__tag {
    font-size: 13px;
    max-width: 100%;
    height: auto;
    line-height: 1.4;
  }
}
.md_card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}
@media (max-width: 767.98px) {
  .md_card__name {
    font-size: 14px;
  }
}

/* カード情報行 */
.md_card__info_row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}
@media (max-width: 767.98px) {
  .md_card__info_row {
    gap: 10px;
  }
}
.md_card__thumb {
  width: 100px;
  aspect-ratio: 1;
  flex-shrink: 0;
  background: #F7F7F7;
  border-radius: 6px;
  overflow: hidden;
  z-index: 20;
}
@media (max-width: 767.98px) {
  .md_card__thumb {
    width: 80px;
  }
  .md_card--private .md_card__thumb {
    width: 64px;
    height: 64px;
    aspect-ratio: 1;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
}
.md_card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md_card__specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.md_card__spec {
  display: flex;
  align-items: baseline;
  gap: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  border: none;
  margin-bottom: 10px;
}
.md_card__spec:last-child {
  margin-bottom: 0;
}
.md_card__spec--rent {
  background: none;
  border: none;
}
.md_card__spec--area {
  background: none;
  border: none;
}
.md_card__spec_label {
  font-size: 14px;
  font-weight: 400;
  color: #62748C;
  line-height: 1;
  flex-shrink: 0;
  margin-right: 4px;
}
@media (max-width: 767.98px) {
  .md_card__spec_label {
    font-size: 12px;
  }
}
.md_card__spec_value {
  font-size: 14px;
  font-weight: 700;
  color: #314158;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767.98px) {
  .md_card__spec_value {
    font-size: 12px;
  }
}
.md_card__spec_value--rent {
  font-size: 30px;
  font-weight: 700;
  color: #D82729;
}
@media (max-width: 767.98px) {
  .md_card__spec_value--rent {
    font-size: 20px;
  }
}
.md_card__spec_unit {
  font-size: 14px;
  color: #314158;
}
@media (max-width: 767.98px) {
  .md_card__spec_unit {
    font-size: 12px;
  }
}

/* メタ情報（所在地・階数・居抜き等） */
.md_card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  .md_card__meta {
    margin-bottom: 10px;
  }
}
.md_card__meta_item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_card__meta_item {
    font-size: 12px;
  }
}
.md_card__meta .material-symbols-outlined {
  font-size: 20px;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_card__meta .material-symbols-outlined {
    font-size: 14px;
  }
}
.md_card__meta > span:not(.material-symbols-outlined) {
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* grid fallback for existing markup */
.md_card__meta[style*="grid"],
.md_card__meta:not(.md_card__meta--flex) {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
}

/* カードボタン */
.md_card__buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 0;
}
.md_card__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 16px;
  font-weight: 700;
  padding: 0 2px;
  border-radius: var(--btn-radius, 6px);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
  line-height: 1;
}
@media (max-width: 767.98px) {
  .md_card__btn {
    height: 32px;
    font-size: 13px;
  }
}
.md_card__btn--detail {
  background: #F1F5F9;
  border: 1px solid #F1F5F9;
  color: #62748C;
}
.md_card__btn--detail:hover { background: #e2e8f0; }
.md_card__btn--contact {
  flex: 1;
  background: var(--md-primary);
  border: 1px solid var(--md-primary);
  color: #fff;
}
.md_card__btn--contact:hover { opacity: 0.9; }

/* 非公開オーバーレイ */
.md_card__private_overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: rgba(255,255,255,0.7);
  z-index: 25;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 767.98px) {
  .md_card__private_overlay {
    padding: 0 0 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.8);
  }
}
.md_card__private_overlay_contact {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.md_card__private_overlay .material-symbols-outlined {
  font-size: 30px;
  color: #6b7280;
  margin-bottom: 4px;
}
.md_card__private_overlay p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  color: #6B737E;
}
@media (max-width: 767.98px) {
  .md_card__private_overlay p {
    margin-bottom: 10px;
    font-size: 13px;
  }
}
.md_card__private_overlay .md_btn--orange {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 180px;
  height: 60px;
  background: #F97316;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 767.98px) {
  .md_card__private_overlay .md_btn--orange {
    max-width: none;
    width: auto;
    height: auto;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  }
}

/* 非公開カード SP専用スタイル */
@media (max-width: 767.98px) {
  .md_card--private .md_card__tag {
    font-size: 12px;
    padding: 2px 6px;
    margin-bottom: 4px;
    height: auto;
    line-height: 1.4;
  }
  .md_card--private .md_card__name {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.02em;
  }
  .md_card--private .md_card__info_row {
    gap: 6px;
    margin-bottom: 8px;
  }
  .md_card--private .md_card__specs {
    height: 64px;
    justify-content: space-between;
  }
  .md_card--private .md_card__spec {
    background: #FEF2F2;
    padding: 2px 4px;
    border-radius: 6px;
    border: 1px solid #FEE2E2;
    margin-bottom: 0;
  }
  .md_card--private .md_card__spec--area {
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
  }
  .md_card--private .md_card__spec_label {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
  }
  .md_card--private .md_card__spec_value--rent {
    font-size: 17px;
    letter-spacing: -0.05em;
  }
  .md_card--private .md_card__spec_value {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.05em;
  }
  .md_card--private .md_card__spec_unit {
    font-size: 12px;
  }
  .md_card--private .md_card__meta {
    margin-bottom: 8px;
    gap: 4px 6px;
    padding: 0 4px;
  }
  .md_card--private .md_card__meta .material-symbols-outlined {
    font-size: 15px;
    color: #9CA3AF;
  }
  .md_card--private .md_card__meta > span:not(.material-symbols-outlined) {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
  }
  .md_card--private .md_card__buttons {
    gap: 4px;
    padding-top: 4px;
  }
  .md_card--private .md_card__btn {
    height: 28px;
    font-size: 12px;
    letter-spacing: -0.05em;
    border-radius: 6px;
  }
}

/* ============================
   非公開物件グリッド（SP:2列グリッド / PC:横スクロール）
   ============================ */
.md_private_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* ============================
   新着物件グリッド（SP:2列グリッド / PC:横スクロール）
   ============================ */
.md_new_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
/* 新着カード SP専用スタイル（非公開カードと同じコンパクト表示） */
@media (max-width: 767.98px) {
  .md_new_grid .md_card {
    padding: 8px;
    padding-top: 28px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
  }
  .md_new_grid .md_card__tag {
    font-size: 12px;
    padding: 2px 6px;
    margin-bottom: 4px;
    height: auto;
    line-height: 1.4;
  }
  .md_new_grid .md_card__name {
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.02em;
  }
  .md_new_grid .md_card__thumb {
    width: 64px;
    height: 64px;
    aspect-ratio: 1;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  .md_new_grid .md_card__info_row {
    gap: 6px;
    margin-bottom: 8px;
  }
  .md_new_grid .md_card__specs {
    height: 64px;
    justify-content: space-between;
  }
  .md_new_grid .md_card__spec {
    background: #FEF2F2;
    padding: 2px 4px;
    border-radius: 6px;
    border: 1px solid #FEE2E2;
    margin-bottom: 0;
  }
  .md_new_grid .md_card__spec--area {
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
  }
  .md_new_grid .md_card__spec_label {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
  }
  .md_new_grid .md_card__spec_value--rent {
    font-size: 17px;
    letter-spacing: -0.05em;
  }
  .md_new_grid .md_card__spec_value {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.05em;
  }
  .md_new_grid .md_card__spec_unit {
    font-size: 12px;
  }
  .md_new_grid .md_card__meta {
    margin-bottom: 8px;
    gap: 4px 6px;
    padding: 0 4px;
  }
  .md_new_grid .md_card__meta .material-symbols-outlined {
    font-size: 15px;
    color: #9CA3AF;
  }
  .md_new_grid .md_card__meta > span:not(.material-symbols-outlined) {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
  }
  .md_new_grid .md_card__buttons {
    gap: 4px;
    padding-top: 4px;
  }
  .md_new_grid .md_card__btn {
    height: 28px;
    font-size: 12px;
    letter-spacing: -0.05em;
    border-radius: 6px;
  }
  .md_new_grid .md_card__btn--contact {
    flex: 1.5;
  }
}

/* ============================
   先生に選ばれる理由
   ============================ */
.md_reason_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .md_reason_list {
    flex-direction: row;
    gap: 50px;
  }
}
.md_reason_item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
@media (min-width: 768px) {
  .md_reason_item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }
}
.md_reason_item__icon {
  width: 65px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .md_reason_item__icon {
    width: 100px;
    margin: 0 auto 40px;
  }
}
.md_reason_item__icon img {
  width: 100%;
  height: auto;
}
/* reason icon colors removed - now using image icons */
.md_reason_item__content {
  flex: 1;
}
.md_reason_item__title {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_reason_item__title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 13px;
  }
}
.md_reason_item__dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  margin: 0 auto;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .md_reason_item__dot {
    width: 10px;
    height: 10px;
    margin: 0;
  }
}
.md_reason_item__dot--blue { background: #3C82F6; }
.md_reason_item__dot--green { background: #10B981; }
.md_reason_item__dot--orange { background: #FA7318; }
.md_reason_item__text {
  font-size: 16px;
  color: #62748C;
  line-height: 1.625;
}
@media (max-width: 767.98px) {
  .md_reason_item__text {
    font-size: 13px;
  }
}

/* ============================
   セミナーリスト
   ============================ */
.md_seminar_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .md_seminar_list {
    display: block;
  }
}

/* セミナーカード */
.md_seminar_item {
  width: calc((100% - 20px) / 2);
}
@media (max-width: 767.98px) {
  .md_seminar_item {
    width: 100%;
    margin-bottom: 15px;
  }
  .md_seminar_item:last-child {
    margin-bottom: 0;
  }
}
.md_seminar_item a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border: 1px solid #D1D5D8;
  border-radius: 5px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
  text-decoration: none;
  color: inherit;
}
@media (max-width: 767.98px) {
  .md_seminar_item a {
    gap: 12px;
    padding: 12px;
  }
}
.md_seminar_item__thumb {
  position: relative;
  width: 100px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .md_seminar_item__thumb {
    width: 95px;
  }
}
.md_seminar_item__thumb_frame {
  width: 100%;
  aspect-ratio: 1;
  background: #F7F7F7;
}
.md_seminar_item__thumb_frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md_seminar_item__badge {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  width: max-content;
  height: 22px;
  border-bottom-right-radius: 10px;
  background: #DC2626;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 767.98px) {
  .md_seminar_item__badge {
    height: 20px;
    font-size: 12px;
  }
}
.md_seminar_item__body {
  flex: 1;
  min-width: 0;
}
.md_seminar_item__dates {
  margin-bottom: 5px;
  font-size: 14px;
  color: #9CA4B1;
}
@media (max-width: 767.98px) {
  .md_seminar_item__dates {
    font-size: 12px;
  }
}
.md_seminar_item__title {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.4;
}
@media (max-width: 767.98px) {
  .md_seminar_item__title {
    font-size: 13px;
  }
}
.md_seminar_item__desc {
  font-size: 14px;
  color: #62748C;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  .md_seminar_item__desc {
    font-size: 12px;
  }
}

/* ============================
   最新の記事リスト
   ============================ */
.md_article_list {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.md_article_list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.md_article_list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  transition: background-color 0.15s;
}
@media (max-width: 767.98px) {
  .md_article_list li {
    gap: 12px;
    padding: 10px 0;
  }
}
.md_article_list li:last-child {
  border-bottom: none;
}
.md_article_list__empty {
  color: #62748C;
  font-weight: 400;
}
.md_article_list li:hover {
  background: #f8fafc;
}
.md_article_list li time {
  display: none;
}
.md_article_list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
  text-decoration: none;
  flex: 1;
  line-height: 1.4;
}
.md_article_list__type {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  background: #DBEAFE;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  color: var(--md-primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.md_article_list li a::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--md-primary);
  border-right: 2px solid var(--md-primary);
  transform: rotate(45deg);
  margin-left: auto;
}
.md_article_list li a p {
  flex: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .md_article_list li a {
    font-size: 13px;
    gap: 8px;
  }
  .md_article_list__type {
    min-width: 40px;
    height: 34px;
    font-size: 12px;
    padding: 0 8px;
  }
}
.md_article_list li a:hover {
  color: var(--md-primary);
}
/* column_wrap 形式（INFO記事出力）対応 */
.md_article_list .column_wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
  text-decoration: none;
  color: var(--md-primary);
  transition: background-color 0.15s;
}
@media (max-width: 767.98px) {
  .md_article_list .column_wrap {
    gap: 12px;
    padding: 10px 0;
  }
}
.md_article_list .column_wrap:last-child {
  border-bottom: none;
}
.md_article_list .column_wrap:hover {
  background: #f8fafc;
}
.md_article_list .column_wrap > div {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
@media (max-width: 767.98px) {
  .md_article_list .column_wrap > div {
    gap: 12px;
  }
}
.md_article_list .column_img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e7eb;
}
.md_article_list .column_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md_article_list .column_text {
  flex: 1;
  min-width: 0;
}
.md_article_list .column_title {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-primary);
  line-height: 1.4;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .md_article_list .column_title {
    font-size: 13px;
  }
}
.md_article_list .column_category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 36px;
  background: #DBEAFE;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  color: var(--md-primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  margin: 0 8px 0 0;
}
@media (max-width: 767.98px) {
  .md_article_list .column_category {
    width: 40px;
    height: 34px;
    font-size: 12px;
  }
}
.md_article_list .column_date {
  display: inline-flex;
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.md_article_list .column_main {
  display: none;
}

/* ============================
   FAQ
   ============================ */
.md_faq_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .md_faq_list {
    margin-bottom: 20px;
  }
}
.md_faq_item {
  background: #fff;
  border-radius: 5px;
  padding: 28px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.16);
  border: 1px solid #D1D5D8;
  transition: background-color 0.2s;
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .md_faq_item {
    padding: 14px 16px;
  }
}
.md_faq_item[open] {
  background: #EFF6FF;
}
.md_faq_item__q {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
  cursor: pointer;
  list-style: none;
}
@media (max-width: 767.98px) {
  .md_faq_item__q {
    gap: 10px;
    font-size: 13px;
  }
}
.md_faq_item__q::-webkit-details-marker {
  display: none;
}
.md_faq_item__q_icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
}
.md_faq_item__q_icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
@media (max-width: 767.98px) {
  .md_faq_item__q_icon {
    width: 14px;
  }
  .md_faq_item__q_icon img {
    width: 14px;
    height: 14px;
  }
}
.md_faq_item__q_detail {
  display: flex;
  align-items: baseline;
  flex: 1;
}
.md_faq_item__q_label {
  width: 30px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--md-primary);
	display: none
}
.md_faq_item__q_text {
  font-size: 16px;
  font-weight: 700;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_faq_item__q_label {
    width: 18px;
    font-size: 14px;
  }
  .md_faq_item__q_text {
    font-size: 13px;
  }
}
.md_faq_item__arrow {
  font-size: 20px;
  color: #94a3b8;
  transition: transform 0.3s;
  flex-shrink: 0;
  width: 12px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.md_faq_item[open] .md_faq_item__arrow {
  transform: rotate(180deg);
}
.md_faq_item__a {
  display: flex;
  align-items: baseline;
  color: var(--md-primary);
  line-height: 1.625;
  margin-top: 15px;
  padding-left: 44px;
}
@media (max-width: 767.98px) {
  .md_faq_item__a {
    margin-top: 10px;
    padding-left: 24px;
  }
}
.md_faq_item__a_label {
  width: 30px;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--md-primary);
}
.md_faq_item__a_text {
  font-size: 16px;
  color: var(--md-primary);
}
@media (max-width: 767.98px) {
  .md_faq_item__a_label {
    width: 18px;
    font-size: 14px;
  }
  .md_faq_item__a_text {
    font-size: 13px;
  }
}

/* ============================
   CTA
   ============================ */
.md_cta__body {
  text-align: center;
}
.md_cta__btn {
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  height: 60px;
}
.md_cta__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  background: #091645;
  border-radius: 100px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  text-decoration: none;
}
.md_cta__btn_lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.md_cta__btn_icon {
  width: 30px;
  height: auto;
}
@media (max-width: 767.98px) {
  .md_cta__btn_icon {
    width: 20px;
  }
}
@media (max-width: 767.98px) {
  .md_cta__btn {
    max-width: 325px;
    height: 48px;
  }
  .md_cta__btn_lead {
    font-size: 15px;
  }
}
.md_cta__body .md_btn {
  margin: 0 auto;
  max-width: 480px;
  height: 60px;
  border-radius: 5px;
  background: #091645;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}
@media (max-width: 767.98px) {
  .md_cta__body .md_btn {
    max-width: 325px;
    height: 48px;
    font-size: 15px;
  }
}
.md_cta__note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  padding: 10px 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #314158;
  background: #F0F4F8;
}
.md_cta__body {
  text-align: center;
}
.md_cta__note_icon {
  font-size: 20px;
  color: var(--md-gold);
}
@media (max-width: 767.98px) {
  .md_cta__note {
    margin-top: 15px;
    font-size: 13px;
    padding: 8px 22px;
  }
}

/* ============================
   おすすめ物件スライダー（PC:横スクロール）
   ============================ */
.md_recommend_slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.md_recommend_slider::-webkit-scrollbar {
  display: none;
}
.md_recommend_slider .md_card {
  min-width: 260px;
  width: 75%;
  flex-shrink: 0;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .md_recommend_slider .md_card {
    min-width: 300px;
    width: calc(33.333% - 14px);
  }
}

/* CMS出力カード用 - カード自体にpaddingがあるためオーバーライド不要 */

/* ============================
   base_wrap の MD 用オーバーライド
   ============================ */
.page--top .md_section .base_wrap {
  max-width: 1280px;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .page--top .md_section .base_wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.md_hero > .base_wrap {
  max-width: 1280px;
}

/* ============================
   セクションタイトル行（タイトル + スライダー矢印）
   ============================ */
.md_section__title_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .md_section__title_row {
    margin-bottom: 20px;
  }
}
.md_section__title_row .md_section__title {
  margin-bottom: 0;
}

/* スライダーナビ矢印 */
.md_slider_nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.md_slider_nav__btn {
  width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.md_slider_nav__btn:hover {
  background: var(--md-primary);
  border-color: var(--md-primary);
  color: #fff;
}
.md_slider_nav__btn .material-symbols-outlined {
  font-size: 20px;
}
@media (max-width: 767.98px) {
  .md_slider_nav {
    display: none;
  }
}

/* 非公開物件・新着物件をPC時に横スクロール対応 */
@media (min-width: 768px) {
  .md_private_grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .md_private_grid::-webkit-scrollbar {
    display: none;
  }
  .md_private_grid > .md_card {
    min-width: 300px;
    width: calc(33.333% - 14px);
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .md_new_grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .md_new_grid::-webkit-scrollbar {
    display: none;
  }
  .md_new_grid > .md_card {
    min-width: 300px;
    width: calc(33.333% - 14px);
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* メインイメージのベーススタイルをオーバーライド */
.page--top [id="main_image"] {
  background: none;
}
.page--top [id="main_image"] > .base_wrap {
  display: block;
  height: auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .page--top [id="main_image"] > .base_wrap {
    padding: 0 40px;
  }
}

/* ヘッダー透過は使用しない（他ページと統一） */
