@charset "utf-8";

.map-wrap { position:relative; }
.gm-style-iw-d { overflow:visible !important; overflow: visible !important;filter: drop-shadow(3px 6px 12px rgba(0,0,0,.10)); /* x=3, y=6, ぼかし=12, 黒10% */}
.gm-style .iw a:focus:not(:focus-visible){
  outline: none;
}
.gm-style .gm-style-iw-tc::after { background:#004680;}
.gm-style .gm-style-iw-c { width:90%; border:3px solid #004680; border-radius:15px; overflow:visible !important; }
.gm-style-iw-chr { height:15px; position:relative; z-index:10; }
#sp-iw { width:95%; max-width:420px; display:none; position:absolute; top:100px; left:2.5%; right:2.5%; background:#fff; z-index:1000; border:3px solid #004680; border-radius:10px; overflow:visible; padding:10px 2.5%; }
.iw {position: relative; overflow:visible; margin-bottom:10px; }
.iw-inner{  width:100%; position: relative; }
.iw-inner a { width:100%; }
.iw-inner::before{content: "";position: absolute; top:-90px; left:8px; width:100px; height:100px; background: url("/img/buy/nanmaru_face.svg") no-repeat center / contain;pointer-events: none;/* ← クリックを邪魔しない */}
.iw-inner .favo { width:40px; height:40px; position:absolute; left:5px !important; bottom:5px !important; }
.iw-inner .arrow_normal { width:40px; height:40px; position:absolute; right:5px; bottom:0; }
.gm-style-iw-d { width:100%; }
.mapcard_bottom { display:flex; }
.img_wrap { width:100%; height:80px; display:flex; align-items:center; border:1px solid #ccc; justify-content: center; overflow:hidden; }
.img_wrap img { width:100%; height:100%; object-fit:cover;}
.img_flag_wrap { display:flex; gap:10px; margin-bottom:10px; }
.img_flag_wrap li:first-child { width:120px; }
.img_flag_wrap li:last-child { width:calc(95% - 120px); }
.estatename { width:90%; font-weight:bold; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden; line-height:1.37em; }
.iw-inner .price { width:auto; display:block; font-size:33px; letter-spacing:0.05em; margin:-45px 0 -5px 130px; }
.iw-inner .price small { font-size:17px; }
.information { width:100%; font-size:13px; margin-bottom:10px; color:#888888; }
.information {
  display:none;
  -webkit-line-clamp: 2; /* 行数制限：2行にしたい場合 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iw-close { font-size:20px; position:absolute; top:-5px; right:-5px; z-index:5; }

@media (min-width:768px) {
  .gm-style .gm-style-iw-c { width:390px; margin:0 auto; display:block; padding-bottom:0; }
  .gm-style .gm-style-iw-tc::after { height:20px; }
  .img_flag_wrap li:first-child { width:160px; }
  .img_flag_wrap li:last-child { width:calc(95% - 160px); }
  .img_wrap { width:160px; height:100px; }
  .img_flag_wrap li:last-child { width:70%; }
  .iw-inner::before{ top:-101px; }
  .iw-inner .estatename { font-size:20px; }
  .iw-inner .price { margin:0 0 0 50px; }
  .iw-inner .favo { left:0 !important; bottom:0 !important; }
  #sp-iw { margin-bottom:-150px; padding:20px; left:auto; right:30px; top:auto; bottom:50%; }
  .iw { margin-bottom:0; }
  .estatename { width:90%; }
  .information { display: -webkit-box; font-size:16px; font-weight:500; }
  .img_flag_wrap li:nth-child(2) { width:calc(100% - 160px)} 
}

/* InfoWindow 内のフォーカス時の青いアウトラインを消す */
/* InfoWindow 本体のフォーカスリングを無効化 */
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-c:focus,
.gm-style .gm-style-iw-c:focus-visible,
.gm-style .gm-style-iw-d,
.gm-style .gm-style-iw,
.gm-style .gm-style-iw-t {
  outline: none !important;
  box-shadow: none !important;
}

/* 中に入れた自分のHTML側でもフォーカスリングを消す */
.gm-style .gm-style-iw-c .iw *:focus,
.gm-style .gm-style-iw-c .iw *:focus-visible {
  outline: none !important;
}

/* 予防：Maps が付ける tabindex="0" の要素にも効かせる */
.gm-style .gm-style-iw-c[tabindex="0"] {
  outline: none !important;
  box-shadow: none !important;
}



/* バッジの並び */
.badges {display: flex;flex-wrap: wrap;gap: 6px;margin:-21px 0 4px -130px;}
.badges span { color:#fff; padding:0 5px; font-size:13px; line-height:1.5; }
@media (min-width:768px) {
  .badges { margin:0 4px 0 0;}
}

/* Googleマップ*/
.badges .land { background:#FAD53B; }
.badges .nhouse { background:#A4E240; }
.badges .uhouse { background:#6BE2E0; }
.badges .mansion { background:#FC5F6B; }
.badges .others { background:#31960C; }/*収益*/
.badges .reform { background:#FF952C; }
.badges .member { background:#0870C6; }
.badges .pd { background:#7777D3; }
.badges .new { background:#F44F45; }
.badges .oh { background:#2CB6F7; }




