@charset 'utf-8';

/*メディアクエリー
スマホ @media (max-width: 768px)
タブレットのみ @media (min-width:768px) and (max-width:1000px)
タブレット・PC @media (min-width:768px)
PCのみ　@media (max-width: 1000px)
PC大 @media (min-width:1200px) 
※上記以外のブレイクポイントは、例外的に設定。その場合はコメントアウトを記載すること。
*/

html, body{
  overflow-x: hidden;
  color:#1B1B1B; 
}

/* タブ表示 */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* iframeのチラ見え防止 */
iframe.lp_list { width: 100%; height: 600px; border: 0; opacity: 0; transition: opacity .15s ease; }
iframe.lp_list.is-ready { opacity: 1; }

/*LPで共通のもの*/
h2 { width:100%; text-align:center; font-size:32px; margin-bottom:16px; line-height:1.2em; }
p { width:100%; text-align: justify;}
.green { color:#007440; }
.yellow { color:#FAF063; }
@media screen and (min-width: 768px) {
  .tel-link {pointer-events: none;cursor: default;}
  footer { margin-top:50px; }
.side_footer_fixed_button span {
    width: 24px;
    text-align: center;
    display: inline-block;
    font-family: 'GenJyuuGothic-Bold', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}
.is-chrome .side_footer_fixed_button span {
    letter-spacing: -0.2em; /* まずは弱めから */
}
}

@media (max-width: 767px) {
  .side_footer_fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .side_footer_fixed.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.width100 { width:100%; }

.inner .tabs {width:100%; display: flex;gap: 8px;margin-bottom: 16px; }
.tabs{ width:90%; display:flex; background:#E0EBE1; justify-content: center; margin:0 auto 24px auto; gap:10px; padding:16px 0; flex-wrap:wrap; border-radius:4px; }
.tab_wrap { margin-top:16px; }
.tab.all { width: calc(90% + 10px); margin:0 auto; text-align:center; }
.tab { width:45%; padding: 13px 0;border: 1px solid #ccc;background: #fff;cursor: pointer; text-align:center; }
.tab-content h3 { width:90%; margin:0 5%; display:inline-block; font-size:24px; position:relative; line-height:1.7em; }
.tab-content h3::before {content: '';position: absolute;bottom: -6px;left: 50%;transform: translateX(-50%);width:100%;height: 3px;background: linear-gradient(to right, #5C9062 40%, #E2E2E2 30%);}
.bukken_wrap h2 { color:#007440; margin-bottom:48px; letter-spacing:0.04em; }
@media screen and (min-width: 768px) {
  .tab_wrap { width:100%; max-width:1300px; margin:10px auto 0 auto; display:block; }
  .tabs{ width:90%; max-width:720px; display:flex; background:#E0EBE1; justify-content: center; margin:0 auto 48px auto; gap:10px; padding:10px 0}
  .tab { max-width:224px; text-align:center; }
  .tab.all { width:224px; margin:initial; }
  .bukken_wrap h2 { margin-bottom:64px; }
  .bukken_wrap h2.title_text { width:100%; text-align:center; font-size:32px; margin-bottom:60px; line-height:1.2em; }
  .tab-content h3 { font-size:32px; width:auto; margin:0 auto; }
}


.tab.active {color: #38BF83; border:1px solid #38BF83; border-radius:4px; }
.tab-content {display: none;}
.tab-content.active {display: block;}
.tab {transition: all 0.3s ease; border-radius:4px; }
.tab:hover { color: #38BF83; border:1px solid #38BF83; }
.lp_list {width: 100%;height: 600px;border: none;overflow: hidden;}
.box_contents .inner.top { margin-top:0; }
.tab-content iframe.lp_list {opacity: 0;transition: opacity .15s;}
.tab-content iframe.lp_list.is-ready {opacity: 1;}
main { margin-top:0; }
.area-wrap .area_type li.disabled a::after {background-image: url("/img/arrow_menu_gray.svg");}
.area-wrap .area_type li.disabled {pointer-events: none;color: #bbbbbb;}


.button_contact { width:300px; position: relative;line-height:64px; border-radius: 9999px; margin:30px auto 0 auto; display:flex; align-items:center;background:#FAF063; color:#1B1B1B; font-size:20px; font-family: 'GenJyuuGothic-Bold'; letter-spacing: 0.02em; justify-content:center; text-align:center; position:relative;transition: background-color 0.3s ease; color:#007440; }
.button_contact::before {content: "";position: absolute;right: 16px;top: 50%;transform: translateY(-50%);width: 22px;height: 22px;background-image: url('/img/arrow_contact_green.svg');background-size: contain;background-repeat: no-repeat;transition: right 0.3s ease;}
.button_contact.maru::before {content: "";position: absolute;right: 16px;top: 50%;transform: translateY(-50%);width: 22px;height: 22px;background-image: url('../img/arrow_right_maru.png');background-size: contain;background-repeat: no-repeat;transition: right 0.3s ease;}
.button_contact:hover {background: #fff;transition: background-color 0.3s ease;}
.button_contact:hover::before {right: 12px; }
@media screen and ( min-width:768px) {
  .button_contact { width:360px; height:64px; font-size:24px; line-height:64px; }
  .button_contact::before { width:32px; height:32px; right:30px; }
  .button_contact.maru::before { width:32px; height:32px; }
}
@media screen and ( min-width:768px) {
  .tel_wrap { width:auto; margin:0 auto; display:block;}
  .tel_wrap span { width:auto; margin:0 auto; display:block; line-height:3.6rem; }
  .button_contact span { font-size:28px; letter-spacing:0.04em; margin:0 auto; line-height:36px;}
  .tel img { width:37px; margin-bottom:4px; }
  .button_contact img {width:37px; }
}




/*非表示にするもの*/
.box_contact_wrap { display:none; }


.title_wrap { width:100%; margin-top:60px; }
.title_wrap h1 { width:80%; margin:0 auto; display:block; }
.title_wrap img { width:100%; margin-top:-10px; }
.title_tokushu_pc { display:none; }
.title_tokushu_sp_wrap { margin-top:-13vw; display:block; } 
.title_tokushu_sp { width:100%; display:block; margin-top:-10px; }
 @media (min-width: 768px) {
  .title_tokushu_sp_wrap { display:none; }
  .title_wrap { margin-top:87px; margin-bottom:0; }
  .title_tokushu_pc {
  width:100%;
  text-align:center;
  justify-content:center; 
  display:flex;
  align-items:center;
  background-color: #F9ED6E;
  background-image:
    linear-gradient(#ffffff40 1px, transparent 1px),
    linear-gradient(90deg, #ffffff40 1px, transparent 1px);
  background-size: 30px 30px;
  padding:20px 0; 
}
.title_tokushu_sp { display:none; }
  .title_tokushu_pc img { width:64%; max-width:1100px; }
  .title_wrap img { margin-top:initial; }
 }

.contact_wrap { width:100%; height:auto; background: url("../img/bg_contact_sp.jpg"); padding:64px 28px;}
.contact_inner { width:88%; position:relative; margin:0 auto; }
.contact_inner .staff_sp { width:35%; position:absolute; right:-5%; top:18vw; }
.contact_inner strong { font-size:18px; color:#fff; line-height:1.7em; }
@media (min-width:414px) {
  .contact_inner strong { font-size:20px; margin-top:4vw; margin-bottom:50px; }
}
@media (min-width: 768px) {
  .contact_inner { width:100%; }
  .contact_inner strong { margin-top:20px; }
}

.contact_inner strong em { background:#FAF063; border-radius:4px; font-size:24px; line-height:44px; display:inline-block; padding:0 10px; margin:0 10px 10px 0; }
.contact_wrap img { width:100%; margin-left:2%;}
.title_inner { width:100%; margin-top:25px;}
.contact_inner .starbucks { margin-top:50px; }
@media (min-width: 414px) {
.contact_inner .starbucks { margin-top:0; }
}
.contact_inner .button_contact { margin-top:0; }
@media (min-width: 768px) {
  .contact_inner strong em { font-size:32px; margin-bottom:25px; }
  .contact_inner strong .yellow { font-size:32px; }
.title_wrap{
  width:100%;
  aspect-ratio:1440/550;
  background:url("../img/bg_title_pc.jpg") no-repeat right center / cover;
  position:relative;
  overflow:hidden;
}

.title_wrap_inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
}

.title_wrap h1 { width:100%; }
.title_wrap h1 img { width:100%; }
.title_inner { width:70%; display:block; margin:30px 0 0 15%; position:relative; z-index:1; }
.title_wrap img.starbucks_pc.inline_pc { width:100%; display:block; margin-top:20px; }
.contact_wrap { width:100%; height:auto; background: url("../img/bg_contact.jpg");  position:relative; padding:64px 0; }
.contact_wrap img { width:70%;}
.contact_wrap .button_contact { margin-top:16px; }
.contact_wrap .fontsize_m { font-size:20px; }
.contact_wrap .fontsize_s { font-size:20px; }
@media (min-width: 414px) {
  .contact_wrap .fontsize_m { font-size:22px; }
}
@media (min-width: 768px) {
  .title_wrap h1 { margin-bottom:2vw; }
  .title_inner { width:30%; display:block; margin:3vw 0 0 15%;}
  .contact_wrap { height:720px; padding:80px 0; }
  .contact_wrap .button_contact { margin-top:32px; }
}

@media (max-width:768px) {
.side_footer_fixed { padding-top:14px; }

}


/*スターバックス*/
.starbucks_wrap { width:86%; margin:0 auto; display:block; }
.starbucks_wrap.sp { display:block; }
.starbucks_wrap.sp .starbucks .starbucks_inner strong.line1 { margin-top:5vw; }
.starbucks_wrap.pc { display:none; }
.starbucks { width:100%; position:relative; }
.starbucks .inline_sp { width:110%; margin:-5px auto 0 -5%; }
.starbucks .starbucks_inner { width:95%; margin:15vw 2.5% 0 2.5%; float:left; position:relative; }
.starbucks .starbucks_inner em { width:100%; text-align:center; display:inline-block; font-size:16px; line-height:1.5em; }
.starbucks .starbucks_inner small { width:95%; font-size:10px; line-height:1.5em; display:block; text-align: justify; margin:0 auto; }
.starbucks .starbucks_inner strong.line1 { font-size:24px; /*font-family: "Noto Sans JP", sans-serif;*/font-weight:600; position:relative;z-index:1; color:#1B1B1B; margin-top:2vw; margin-bottom:0; }
.starbucks .starbucks_inner strong.line1::after {content: "";position: absolute;left: 0; bottom:0.2em;width: 100%;height: 0.3em; background: white; z-index:-1; }
.starbucks .starbucks_inner strong.line2 { font-size:24px; /*font-family: "Noto Sans JP", sans-serif;*/font-weight:600; position:relative;z-index:1; color:#1B1B1B;margin-top:-10px; margin-bottom:0; }
.starbucks .starbucks_inner strong.line2::after {content: "";position: absolute;left: 0; bottom:0.7em; width: 100%;height: 0.3em; background: white; z-index:-1; }
.starbucks .starbucks_inner strong em { font-size:48px; width:auto; font-weight:bold;letter-spacing:0; background:none; padding:0; margin:0;}
.starbucks .starbucks_inner small { margin-bottom:0; margin-top:-5px; }
@media (min-width:414px) {
  .starbucks .starbucks_inner { height:50vw; margin:15vw 5% 0 5%; }
  .starbucks .starbucks_inner small { width:95%; margin:0; }
  .starbucks .starbucks_inner strong.line1 { margin-top:8vw; }
}
@media (min-width: 768px) {
  .starbucks_wrap { width:100%; }
  .contact_wrap .contact_inner { width:90%; max-width:880px; position:relative; margin:0 auto; }
  .contact_wrap .starbucks { width:560px; position:relative; }
  .contact_wrap .starbucks .inline_pc { width:100%; }
  .contact_wrap .starbucks .starbucks_inner { width:80%; height:initial;  margin-top:5vw; margin-left:10%; }
  .starbucks { width:100%; margin:0 auto; display:block; position:relative; }
  .starbucks .inline_pc { display:block; }
  .starbucks .starbucks_inner strong.line1 { font-size:32px; margin-bottom:0; }
  .starbucks .starbucks_inner strong.line2 { font-size:32px; margin-bottom:0; }
  .starbucks .starbucks_inner strong.line1 { margin-top:initial; }
  .starbucks .starbucks_inner strong.line1::after { bottom:-0.1em; }
  .starbucks .starbucks_inner strong.line2::after { bottom:0.5em; }
  .contact_inner .staff_sp { width:210px; position:absolute; right:-5%; top:0; margin:0; }
  .starbucks_wrap.sp { display:none; }
  .starbucks_wrap.pc { display:block; }
  .starbucks .starbucks_inner { height:initial; margin-top:initial; }
  .title_wrap .title_wrap_inner .starbucks_wrap.pc { width:100%; display:block; }
  .starbucks_wrap.pc .starbucks .starbucks_inner { width:80%; margin-top:5vw; margin-left:10%; height:auto; }
  .starbucks_wrap.pc .starbucks .starbucks_inner em { margin-bottom:10px; }
}
@media (min-width:1025px) {
 .contact_inner .staff_sp { right:5%; }
}

/*お知らせメール登録*/
.oshirase_wrap { width:100%; padding:56px 0; background:#E0EBE1; }
.oshirase_sp { width:90%; margin:0 auto; display:block; }
.oshirase_pc { display:none; }
.oshirase_wrap .button_contact { width:100%; background:#fff; border:2px solid #007440; color:#007440;}
.oshirase_message { background:#fff; border-radius:10px; text-align:center; font-size:20px; padding:16px 0; margin-bottom:16px; }
.oshirase_message span { position:relative; z-index:1; }
.oshirase_message span::after {content: "";position: absolute;left: 0;bottom:0.5vw;width: 100%;height: 0.3em;   background:#F9ED6E;z-index: -1;     }
.oshirase_message p { font-size:16px; line-height:1.5em;}
.oshirase_inner { width:84%; position:relative; margin:0 auto; }
.oshirase_inner p { font-size:16px; line-height:1.4em; }
.oshirase_inner .illust_oshirase { width:32%; position:absolute; right:0; top:25vw; z-index:1; }
@media (min-width:375px) {
  .oshirase_inner .illust_oshirase { top:30vw; }
}
@media (min-width:414px) {
  .oshirase_inner .illust_oshirase { top:25vw; }
}
@media (min-width: 768px) {
  .button_contact { margin-top:-100px; }
  .oshirase_message { max-width:640px; font-size:24px; text-align:left; padding:31px 64px; line-height:1.7em; }
  .oshirase_message strong { line-height:1.5em; }
  .oshirase_wrap  { padding:80px 0 64px 0;}
  .oshirase_inner .illust_oshirase { width:220px; top:100px; right:-10px; }
  .oshirase_inner p { margin-bottom:32px; }
  .oshirase_inner .button_contact { width:320px; height:64px; margin-top:initial; font-size:20px; }
  .oshirase_message span::after {bottom:0.25vw; }

}
@media (min-width: 768px) and (max-width: 1024px) {
 .oshirase_inner { width:90%; max-width:828px; margin:0 auto; display:block; }
}
@media (min-width:1025px) {
  .oshirase_inner { max-width:828px; margin:0 auto; }
}

/*購入までの流れ*/
.flow_wrap { width:100%; padding:80px 20px 43px 20px; display:flex; flex-wrap:wrap; }
.flow_wrap .flow { width:100%; display:flex; gap:30px; flex-wrap:wrap; margin-top:32px; margin-bottom:43px; }
.flow_wrap .flow li { width:100%; }
.flow_wrap .flow .flow_inner { border:1px solid #007440; background:#fff; border-radius:10px; padding:24px 5%; text-align:center; position:relative; }
.flow_wrap .flow .flow_inner::after {content: "";position: absolute;bottom:-47px;transform: translateY(-50%);width:10px; height:30px;background: url("../img/flow.png") no-repeat center / contain;}
.flow_wrap .flow .flow_inner.step7::after { content: none;}
.flow_wrap .flow .flow_inner.step7 { background:#a7d2ab;}
.flow_wrap .flow .flow_inner.step7 .flow_title strong { color:#fff; }
.flow_wrap .flow .flow_inner.step7 .flow_title { border-bottom:1px solid #fff; }
.flow_wrap .flow .flow_inner .button_contact { width:240px; height:56px; line-height:56px; background:#007440; color:#fff; display: inline-block; text-align: center; font-size:16px; margin-bottom:20px; }
.flow_wrap .flow .flow_inner .button_contact::before {content: "";position: absolute;right: 16px;top: 50%;transform: translateY(-50%);width: 22px;height: 22px;background-image: url('../img/arrow_right_maru.png');background-size: contain;background-repeat: no-repeat;transition: right 0.3s ease; }
.flow_wrap .flow .flow_inner .button_contact:hover::before { right:12px; }
.flow_wrap .flow li .tel-link { width:80%; margin:10px auto 0 auto; display:block; }
.flow_wrap .flow li .tel-link { color:#fff; }
.flow_wrap .flow li .tel-link img { width:190px; }
.flow_inner .flow_title { width:100%; text-align:center; border-bottom:1px solid #007440 ; padding-bottom:10px; }
.flow_inner .flow_title strong { font-size:12px; line-height:1.7em; font-family:"Roboto", sans-serif; font-weight:bold; }
.flow_inner .flow_title strong em { font-size:24px; font-family:"Roboto", sans-serif; font-weight:bold;}
.flow_inner .flow_title h3 { width:100%; text-align:center; font-size:24px; margin-top:10px; }
.flow_inner .flow_image { width:100%; text-align:center; }
.flow_inner .flow_image img { width:120px; height:120px; margin:10px auto 0 auto; }
.flow_bottom { width:100%; text-align:center; font-size:24px; line-height:1.5em; }
.flow_bottom small { font-size:20px; }
.h2_wrap p { font-size:16px; line-height:1.6em; }
.h2_wrap h2 { margin-bottom:30px; }
@media (min-width: 768px) {
  .h2_wrap { width:640px; margin:24px auto 60px auto; display:block; }
  .flow_wrap { display:block; }
  .flow_wrap h2 { font-size:48px; margin-bottom:30px; }
  .h2_wrap p { font-size:18px; }
  .flow_wrap.beige_back { padding-bottom:90px; }
  .flow_wrap .flow .flow_inner { padding-top:38px; padding-right:40px; padding-left:40px; padding-bottom:0; }
  .flow_inner .flow_title h3 { margin-top:initial; }
  .flow_wrap .flow li .tel-link img { width:100%; }
  .h2_wrapp { width:100%; text-align:left; }
  .flow_wrap .flow { width:90%; max-width:800px; margin:0 auto; }
  .flow_inner .flow_image img { margin-bottom:10px; }
  .flow_inner .flow_title strong em { font-size:12px; margin-left:5px; }
  .flow_wrap .flow .flow_inner::after { left:50%; }
  .flow_inner{
  display:grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: auto auto;
  align-items:start;
  }


  /* 画像を左2行分にまたがせる */
  .flow_image{
  grid-column:1;
  grid-row:1 / 3;
  }

  /* タイトルは右上 */
  .flow_title{
  grid-column:2;
  grid-row:1;
  display:flex; 
  flex-wrap:wrap; 
  }

  /* テキストはタイトルの下 */
  .flow_text{
  grid-column:2;
  grid-row:2;
  margin-bottom:15px; 
  }
  .flow_inner .flow_title h3 { width:100%; text-align:left; }
  .flow_inner .flow_title strong { margin-bottom:5px; }
  .flow_bottom{ margin:72px 0 0 0; font-size:40px; }
  .flow_bottom small { font-size:24px; }
  .button_tel_wrap { width:100%; display:flex; align-items:center; margin-top:10px; }
  .button_tel_wrap .button_contact { width:240px; height:56px; line-height:56px; margin-top:initial; font-size:16px; justify-content: space-between; text-align:center; }
  .flow_wrap .flow li .tel-link { width:48%; margin:10px 0 0 0; }
  .flow_wrap .flow .flow_inner { padding-top:35px; padding-bottom:7px; }
  .flow_wrap .flow .flow_inner .button_contact { margin-bottom:0; }



}

.kensu_wrap { width:100%; background:url("../img/bg_kensu_sp.jpg"); background-size:cover; background-repeat: no-repeat; padding-bottom:40px; }
.kensu_wrap_title{ width:100%; background:#FAF063; padding:24px 0; }
.kensu_wrap_title strong { width:100%; text-align:center; font-size:24px; }
.kensu_wrap_title strong.kensu { font-size:32px; margin-top:16px; }
.kensu_wrap_title strong.kensu em { font-size:72px; color:#007440; margin-top:30px; display:flex; align-items: center;justify-content:center;}
.kensu_wrap_title strong.kensu em small { font-size:48px; }
.kensu_sp { width:81%; margin:50px auto 0 auto; display:block; }
.kensu_pc { display:none; }
.kensu_wrap .caution { width:80%; margin:10px auto 0 auto; color:#fff; display:block; text-align:right; }
@media (min-width: 768px){
  .kensu_wrap {background:url("../img/bg_kensu.jpg"); padding-top:80px; background-size: cover;}
  .kensu_wrap_title strong.kensu em { width:auto; display:inline-block; margin-top:0; margin-left:10px; }
  .kensu_wrap_title strong.kensu { font-size:48px; }
  .kensu_sp { display:none; }
  .kensu_pc { width:60%; display:block; margin:0 auto; } 
  .kensu_wrap .caution { width:80%; max-width:880px; }
  .flow_inner .flow_image img { width:156px; height:156px; margin:-10px auto 0 auto; }



}

@media (min-width: 768px) and (max-width: 1024px) {
.kensu_wrap_title { width:80%; margin:0 auto 20px auto; }
}
@media (min-width:1025px){
.kensu_wrap_title { width:61%; max-width:880px; margin:0 auto 32px auto; }
}


.bukken_wrap { width:100%; background:#F6F5F0; padding:100px 0; }



/*物件読み込み*/
.tab-contents { width:90%; margin:0 auto; background:#fff; padding-top:30px; }
.tab1-frame .box_contents.list{ margin-top:0; }
.tab1-frame .box_contents.beige_back { display:none; }
@media (min-width: 768px){
  .tab-contents  { width:initial; padding-top:100px; }
  .box_contents .inner.top { padding-top:0; }
  .bukken_wrap .center {text-align:center; }
  .bukken_wrap h2 { font-size:48px; letter-spacing:0.1em;}
  .center_ichiran_wrap { text-align:center; }
  .center_ichiran_wrap h3 span { letter-spacing:0.1em; }

}

/* どこかで固定されてても無効化する */
.tab-contents,
.tab-content{
  height: auto !important;
  min-height: 0 !important;
}

/* 念のため：iframeの min-height が不要なら下げる（必要なら400のままでOK） */
iframe.lp_list{
  min-height: 0 !important;
}

.footer_lp { width:90%; margin:0 auto; display:flex; flex-wrap:wrap; }
.footer_lp li { width:100%; }
@media (min-width: 768px){
  .footer_lp { max-width:1100px; justify-content:space-between; }
  .footer_lp li { width:auto; }
}

.footer_contact_link { width:88%; margin:24px auto 56px auto; display:block; }
.footer_contact_link img { width:100%; }
.footer_info { width:60%; margin:0 auto 48px auto; display:block; }
@media screen and ( min-width:768px) {
  .footer_contact_link {max-width:560px; margin: 32px auto 64px auto ; pointer-events: none; }
  .footer_info { width:290px; }
}

.copy { color:#bbbbbb;}
.copy.inline_pc { display:none; }
.copy.inline_sp { display:block; }
@media screen and ( min-width:768px) {
  .copy.inline_pc { display:block; margin-top:32px; }
  .copy.inline_sp { display:none; }
  .privacy { text-align:right; }  
}

/*表ぐみ*/:root {
  --bg-cell: #f7f7f7;
  --bg-head: #ebe9e3;
  --border: #e7e2d9;
  --green: #008043;
  --text: #111;
  --land: #e98b15;
  --used-house: #4a8fcb;
  --new-house: #6c43a7;
  --mansion: #c33191;
  --sp-label-w: 42px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.property-count {
  width: 90%;
}

.property-count__inner {
  width: 100%;
}

/* =========================
   base
========================= */
.property-count__table {
  width: 100%;
}

.count {
  color: var(--green);
  font-weight: 700;
  line-height: 1;
}

.unit {
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  margin-left: 0.08em;
  margin-top: 24px;
}

/* =========================
   SP
========================= */
@media (max-width: 767px) {
  html {
  -webkit-text-size-adjust: 100%;
}
  .property-count { width:100%; margin:0 auto; padding:40px 40px 0 40px;}

  .property-count__table,
  .property-count__table thead,
  .property-count__table tbody,
  .property-count__table tr,
  .property-count__table th,
  .property-count__table td {
    display: block;
  }

  .property-count__table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .property-count__table thead {
    display: none;
  }

  .property-count__table tbody {
    display: grid;
    grid-template-columns: var(--sp-label-w) 1fr 1fr;
    grid-template-rows: auto repeat(4, 1fr);
    position: relative;
    font-family: 'GenJyuuGothic-Bold';
  }

  .property-count__table tbody tr {
    display: contents;
  }

  .property-count__table tbody th.school,
  .property-count__table tbody td {
    margin: 0;
    border: 2px solid var(--border);
    border-left: 0;
    background: #fff;
    text-align: center;
  }

  .property-count__table tbody th.school {
    background: var(--bg-head);
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    padding: 7px 8px;
    font-family: 'GenJyuuGothic-Bold';
  }

  .property-count__table tbody tr:first-child th.school {
    grid-column: 2;
    grid-row: 1;
  }

  .property-count__table tbody tr:last-child th.school {
    grid-column: 3;
    grid-row: 1;
    border-left: 2px solid var(--border);
  }

  .property-count__table tbody td {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    background: #fff;
  }

  .property-count__table tbody tr:first-child td:nth-of-type(1) {
    grid-column: 2;
    grid-row: 2;
  }
  .property-count__table tbody tr:first-child td:nth-of-type(2) {
    grid-column: 2;
    grid-row: 3;
  }
  .property-count__table tbody tr:first-child td:nth-of-type(3) {
    grid-column: 2;
    grid-row: 4;
  }
  .property-count__table tbody tr:first-child td:nth-of-type(4) {
    grid-column: 2;
    grid-row: 5;
  }

  .property-count__table tbody tr:last-child td:nth-of-type(1) {
    grid-column: 3;
    grid-row: 2;
    border-left: 2px solid var(--border);
  }
  .property-count__table tbody tr:last-child td:nth-of-type(2) {
    grid-column: 3;
    grid-row: 3;
    border-left: 2px solid var(--border);
  }
  .property-count__table tbody tr:last-child td:nth-of-type(3) {
    grid-column: 3;
    grid-row: 4;
    border-left: 2px solid var(--border);
  }
  .property-count__table tbody tr:last-child td:nth-of-type(4) {
    grid-column: 3;
    grid-row: 5;
    border-left: 2px solid var(--border);
  }

  /* 左ラベル */
  .property-count__table tbody tr:first-child td {
    position: relative;
    overflow: visible;
    font-family: 'GenJyuuGothic-Bold';
  }

  .property-count__table tbody tr:first-child td::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--sp-label-w) - 2px);
    top: -2px;
    width: var(--sp-label-w);
    height: calc(100% + 4px);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: #fff;
    border: 2px solid currentColor;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    font-weight: 700;
    font-size: clamp(14px, 3.8vw, 14px);
    line-height: 1;
    letter-spacing: 0.08em;
    z-index: 2;
    white-space: nowrap;
  }

  
.property-count__table tbody tr:first-child td:nth-of-type(1)::before {
  background-image: url("../img/land.png");
   background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: center;
  border-color: var(--land);
}

.property-count__table tbody tr:first-child td:nth-of-type(2)::before {
  background-image: url("../img/used-house.png");
   background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: center;
  border-color: var(--used-house);
}

.property-count__table tbody tr:first-child td:nth-of-type(3)::before {
  background-image: url("../img/new-house.png");
   background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: center;
  border-color: var(--new-house);
}

.property-count__table tbody tr:first-child td:nth-of-type(4)::before {
  background-image: url("../img/mansion.png");
  background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: center;
  border-color: var(--mansion);
}

  .count {
    font-size: clamp(46px, 14vw, 86px);
  }

  .unit {
    font-size: clamp(18px, 5vw, 28px);
  }
}

/* =========================
   PC
========================= */
@media (min-width: 768px) {
  .property-count { width: 80%; max-width: 880px; margin: 0 auto; }

  .property-count__table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
  }

  .property-count__table thead {
    display: table-header-group;
  }

  .property-count__table tbody {
    display: table-row-group;
  }

  .property-count__table tr {
    display: table-row;
  }

  .property-count__table th,
  .property-count__table td {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }

  .property-count__table thead th {
    background: transparent;
    border: 0;
    padding: 10px 8px 10px 0;
    vertical-align: bottom;
    text-align: center;
  }

  .property-count__table thead th:last-child {
    padding-right: 0;
  }

  .property-count__table thead .corner {
    width: 15%;
  }

  /* ここからタグ部分だけ細くする調整 */
  .property-count__table thead .cat {
    position: relative;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 10px 0 0 0;
    font-size: 0; /* 元の文字を非表示 */
    line-height: 1;
    white-space: nowrap;
  }

  .property-count__table thead .cat::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:90%; /* ←タグの横幅。ここで調整 */
    min-height: 52px;
    padding: 11px 8px;
    background: #fff;
    border: 3px solid currentColor;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .property-count__table thead .cat--land {
    color: var(--land);
  }

  .property-count__table thead .cat--land::before {
    content: "土地";
  }

  .property-count__table thead .cat--used-house {
    color: var(--used-house);
  }

  .property-count__table thead .cat--used-house::before {
    content: "中古戸建";
  }

  .property-count__table thead .cat--new-house {
    color: var(--new-house);
  }

  .property-count__table thead .cat--new-house::before {
    content: "新築戸建";
  }

  .property-count__table thead .cat--mansion {
    color: var(--mansion);
  }

  .property-count__table thead .cat--mansion::before {
    content: "中古マンション";
  }
  /* ここまで */

  .property-count__table tbody th.school,
  .property-count__table tbody td {
    background: #fff;
    border: 2px solid var(--border);
  }

  .property-count__table tbody th.school {
    width: 15%;
    background: var(--bg-head);
    font-size: clamp(30px, 2.7vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    padding: 0 auto;
    white-space: nowrap;
    font-size: 24px;
  }

  .property-count__table tbody td {
    width: 21.25%;
    padding: 19px 10px;
  }

  .property-count__table tbody td + td,
  .property-count__table tbody th.school + td {
    border-left: 0;
  }

  .property-count__table tbody tr + tr th,
  .property-count__table tbody tr + tr td {
    border-top: 0;
  }

  .count {
    font-size: clamp(32px, 5vw, 48px);
    font-family: 'GenJyuuGothic-Bold';
  }

  .unit {
    font-size: clamp(22px, 1.8vw, 24px);
    font-family: 'GenJyuuGothic-Bold';
  }
}

@media screen and ( min-width:768px) {
  .property-count__table tbody th.school { font-size:18px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
.property-count__table thead .cat::before { font-size:16px; letter-spacing:0; }
}

@media screen and ( min-width:1200px) {
  .property-count__table tbody th.school { font-size:24px; }
  
}



.contact_tel { width:88%; /*margin:0 auto 100px auto; */position: relative; padding:17px 0 17px 0; border-radius:10px; background:#5C9062; color:#fff; text-align:center; }
.contact_tel a img { width:265px; margin:0 auto 10px auto; display:block; }
@media screen and ( min-width:768px) {
  .contact_tel { width:560px; height:125px; margin: 0 auto 64px auto ; padding:30px 0 25px 0; }
  .contact_tel a img { width:340px; }
  .contact_tel .inline_pc { width:340px; margin:0 auto; display:block; }
  .contact_tel span.time { width:auto; text-align:center; display:inline-block; margin-left:60px; }

}
.contact_tel { margin:32px auto 80px auto; }