/* HARITA トップ アプリ風UI — 並び順は変えず、見た目だけ整える */

#hrn{background:#F0EADF!important}

/* 各ブロックを白いカードにする */
#hrn>section:not(:first-child){
  max-width:1200px!important;
  margin:12px auto!important;
  background:#fff!important;
  border:1px solid #E6DCC9!important;
  border-bottom:1px solid #E6DCC9!important;
  border-radius:16px!important;
  padding:12px 18px 14px!important;
}
#hrn>section:not(:first-child)>div{
  max-width:none!important;
  padding-left:0!important;padding-right:0!important;
  margin-left:0!important;margin-right:0!important;
}

/* ヒーローも同じ幅感にそろえる */
#hrn>section:first-child{border-radius:0 0 18px 18px}

/* 見出しの作りをそろえる */
#hrn>section:not(:first-child) h2{font-size:17px!important;letter-spacing:.01em}
#hrn>section:not(:first-child) h2+span,
#hrn>section:not(:first-child) h3+span{color:#8a7b6c}

/* 押せるところを大きく・角をそろえる */
#hrn button.ct{border-radius:12px!important}
#hrn .tl{border-radius:12px!important}
#hsm .hsm-t{border-radius:12px!important}

/* 区切り線は薄く1本だけ */
#hrn hr,#hrn .sep{border-color:#EFE7D9!important}

@media (max-width:900px){
  #hrn>section:not(:first-child){
    margin:9px 8px!important;
    border-radius:14px!important;
    padding:10px 12px 12px!important;
    max-width:none!important;
  }
  #hrn>section:first-child{border-radius:0 0 16px 16px}
  #hrn>section:not(:first-child) h2{font-size:15.5px!important}

  /* スマホは指で押しやすい大きさに */
  #hrn button.ct{min-height:46px!important}
  #hsm .hsm-t{min-height:46px!important}
  #hrn .tl{min-height:44px!important}
  #hsm .hsm-list a{min-height:40px}
  #hsm .hsm-tk{min-height:34px}
}

/* ── 「設備から探す」のタイルを大きく（PCのみ。スマホは従来のまま） ── */
@media (min-width:901px){
  #hrn .hap-big button.ct{
    flex:0 0 calc(25% - 6px)!important;
    max-width:calc(25% - 6px)!important;
    min-height:68px!important;
    padding:8px 12px 8px 8px!important;
    border-radius:14px!important;
    border-color:#E6DCC9!important;
    background:color-mix(in srgb, var(--hc,#A54334) 9%, #fff)!important;
    transition:background .18s,border-color .18s,transform .18s;
  }
  #hrn .hap-big button.ct:hover{
    background:color-mix(in srgb, var(--hc,#A54334) 16%, #fff)!important;
    border-color:var(--hc,#A54334)!important;
    transform:translateY(-1px);
  }
  #hrn .hap-big button.ct[aria-pressed="true"]{
    background:color-mix(in srgb, var(--hc,#A54334) 15%, #fff)!important;
    border-color:var(--hc,#A54334)!important;
    box-shadow:inset 4px 0 0 var(--hc,#A54334);
  }
  #hrn .hap-big button.ct>span:first-child{gap:11px!important}

  #hrn .hap-big .hti-chip{width:38px!important;height:38px!important;min-width:38px;border-radius:12px!important}
  #hrn .hap-big button.ct[aria-pressed="true"] .hti-chip{border-radius:50%!important}
  #hrn .hap-big .hti-ic{width:23px!important;height:23px!important}

  #hrn .hap-big .hti-nm{font-size:14.5px!important;line-height:1.3!important}
  #hrn .hap-big .hti-ts{
    font-size:11.5px!important;line-height:1.35!important;color:#7d6e5f;
    white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }

  #hrn .hap-big button.ct>span:last-child{
    font-size:11px!important;
    padding:3px 9px;
    border-radius:999px;
    background:color-mix(in srgb, var(--hc,#A54334) 14%, #fff);
    color:var(--hc,#A54334)!important;
    white-space:nowrap;
  }
}
@media (min-width:901px) and (prefers-reduced-motion:reduce){
  #hrn .hap-big button.ct{transition:none}
  #hrn .hap-big button.ct:hover{transform:none}
}
