/*
 * みんなの巨木｜個別ページ UI補正 v1.10.1
 * - 口コミ1件は「大写真 + 読める本文」の横長カード
 * - 総合評価をカード横の細い列から上段の横バーへ
 * - 口コミ投稿CTAをセクション右上へ固定
 * - 行ってみたいは1個だけ残し、Googleマップ直下の第2CTAに統一
 */

/* =========================================================
   REVIEW SECTION HEADER
   ========================================================= */
html body.single-kyoboku .mkd1-reviews .mkd1-section-head,
html body.single-kyoboku #reviews .mkd1-section-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  width:100% !important;
  margin:0 0 14px !important;
}

html body.single-kyoboku .mkd1-reviews .mkd1-review-open,
html body.single-kyoboku #reviews .mkd1-review-open{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  float:none !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:150px !important;
  min-height:44px !important;
  margin:0 !important;
  padding:0 18px !important;
  border-radius:999px !important;
  white-space:nowrap !important;
}

/* =========================================================
   REVIEW SUMMARY + CARD AREA
   ========================================================= */
html body.single-kyoboku .mkd1-reviews .mkd1-review-layout,
html body.single-kyoboku #reviews .mkd1-review-layout{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
}

/* 総合評価は細い左カラムではなく横一列 */
html body.single-kyoboku .mkd1-reviews .mkd1-rating-summary,
html body.single-kyoboku #reviews .mkd1-rating-summary{
  box-sizing:border-box !important;
  display:flex !important;
  width:100% !important;
  min-height:66px !important;
  margin:0 0 16px !important;
  padding:12px 16px !important;
  align-items:center !important;
  gap:12px !important;
  border:1px solid #e1e9df !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:none !important;
}

html body.single-kyoboku .mkd1-rating-summary > span{
  flex:0 0 auto !important;
  margin:0 !important;
  color:#7c847c !important;
  font-size:12px !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}

html body.single-kyoboku .mkd1-rating-summary > strong{
  flex:0 0 auto !important;
  margin:0 !important;
  font-size:32px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

html body.single-kyoboku .mkd1-rating-summary .mkd1-stars{
  flex:0 0 auto !important;
  margin:0 !important;
  font-size:18px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

html body.single-kyoboku .mkd1-rating-summary small{
  margin:0 0 0 auto !important;
  color:#8a928a !important;
  font-size:11px !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
}

html body.single-kyoboku .mkfit190-card-list{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
}

/* 口コミ1件：横長。高さを抑えて、写真を十分大きく。 */
html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1{
  display:block !important;
}

html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card{
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr) !important;
  width:100% !important;
  max-width:none !important;
  height:clamp(390px,36vw,470px) !important;
  min-height:390px !important;
  max-height:470px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid #dce8da !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 8px 26px rgba(37,76,49,.07) !important;
}

html body.single-kyoboku .mkfit190-card-media{
  position:relative !important;
  display:block !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  overflow:hidden !important;
  background:#edf4eb !important;
}

html body.single-kyoboku .mkfit190-card-media > *,
html body.single-kyoboku .mkfit190-card-media a,
html body.single-kyoboku .mkfit190-card-media button,
html body.single-kyoboku .mkfit190-card-media figure{
  box-sizing:border-box !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

html body.single-kyoboku .mkfit190-card-media img{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:0 !important;
}

html body.single-kyoboku .mkfit190-card-content{
  box-sizing:border-box !important;
  display:flex !important;
  min-width:0 !important;
  min-height:0 !important;
  height:100% !important;
  padding:20px 22px 18px !important;
  overflow:hidden !important;
  flex-direction:column !important;
  background:#fff !important;
}

html body.single-kyoboku .mkfit190-card-content .mkd1-review-top{
  flex:0 0 auto !important;
  margin:0 0 14px !important;
  padding:0 !important;
}

html body.single-kyoboku .mkfit190-card-content .mkd1-review-body{
  display:block !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

html body.single-kyoboku .mkfit190-card-content .mkd1-review-body p,
html body.single-kyoboku .mkfit190-card-content > p{
  display:-webkit-box !important;
  margin:0 !important;
  overflow:hidden !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:7 !important;
  color:#4b584e !important;
  font-size:14px !important;
  line-height:1.85 !important;
}

html body.single-kyoboku .mkfit190-card-content .mkfit190-open{
  box-sizing:border-box !important;
  display:flex !important;
  flex:0 0 auto !important;
  width:100% !important;
  min-height:44px !important;
  margin:auto 0 0 !important;
  padding:0 12px !important;
  align-items:center !important;
  justify-content:space-between !important;
  border:1px solid #d3e3d1 !important;
  border-radius:10px !important;
  background:#f7faf5 !important;
  color:#2f7442 !important;
  font-size:12px !important;
  font-weight:800 !important;
  text-decoration:none !important;
}

html body.single-kyoboku .mkfit190-empty-photo-shell{
  display:none !important;
}

/* 2件以上：PCは2列、写真比率は4:3 */
html body.single-kyoboku .mkfit190-card-list:not(.mkfit190-count-1){
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}

html body.single-kyoboku .mkfit190-card-list:not(.mkfit190-count-1) .mkfit190-card{
  display:flex !important;
  min-width:0 !important;
  overflow:hidden !important;
  flex-direction:column !important;
  border:1px solid #dce8da !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 6px 20px rgba(37,76,49,.06) !important;
}

html body.single-kyoboku .mkfit190-card-list:not(.mkfit190-count-1) .mkfit190-card-media{
  height:auto !important;
  aspect-ratio:4 / 3 !important;
}

html body.single-kyoboku .mkfit190-card-list:not(.mkfit190-count-1) .mkfit190-card-content{
  height:auto !important;
  min-height:220px !important;
  padding:16px !important;
}

/* =========================================================
   ACCESS / WANT TO GO
   ========================================================= */
html body.single-kyoboku .mkd1-access{
  display:grid !important;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr) !important;
  align-items:center !important;
  gap:28px !important;
}

html body.single-kyoboku .mkd1-access .mkd1-access-copy{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  min-width:0 !important;
}

html body.single-kyoboku .mkd1-access .mkd1-map-button{
  width:100% !important;
}

html body.single-kyoboku .mkfit190-want-row{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  margin-top:10px !important;
}

html body.single-kyoboku .mkfit190-want-button{
  box-sizing:border-box !important;
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  min-height:46px !important;
  margin:0 !important;
  padding:0 15px !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border:1px solid #bfd3bf !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#2f7442 !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  box-shadow:none !important;
}

html body.single-kyoboku .mkfit190-want-button .mkwg-heart,
html body.single-kyoboku .mkfit190-want-button [class*="heart"]{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#cc6d66 !important;
  font-size:18px !important;
  line-height:1 !important;
}

html body.single-kyoboku .mkfit190-want-button.is-saved,
html body.single-kyoboku .mkfit190-want-button[aria-pressed="true"]{
  border-color:#a9c7ad !important;
  background:#edf6ea !important;
  color:#286f42 !important;
}

html body.single-kyoboku .mkfit190-want-note{
  display:block !important;
  margin:7px 2px 0 !important;
  color:#778179 !important;
  font-size:10.5px !important;
  line-height:1.5 !important;
  text-align:left !important;
}

html body.single-kyoboku .mkfit190-hide-duplicate-want,
html body.single-kyoboku .mkfit190-hide-old-copy{
  display:none !important;
}

@media(max-width:820px){
  html body.single-kyoboku .mkd1-reviews .mkd1-section-head,
  html body.single-kyoboku #reviews .mkd1-section-head{
    align-items:flex-start !important;
  }

  html body.single-kyoboku .mkd1-reviews .mkd1-review-open,
  html body.single-kyoboku #reviews .mkd1-review-open{
    min-width:0 !important;
    min-height:40px !important;
    padding:0 14px !important;
    font-size:12px !important;
  }

  html body.single-kyoboku .mkd1-rating-summary{
    flex-wrap:wrap !important;
    gap:8px 10px !important;
  }

  html body.single-kyoboku .mkd1-rating-summary small{
    width:100% !important;
    margin:0 !important;
  }

  html body.single-kyoboku .mkfit190-card-list,
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1,
  html body.single-kyoboku .mkfit190-card-list:not(.mkfit190-count-1){
    display:block !important;
    width:100% !important;
  }

  html body.single-kyoboku .mkfit190-card-list .mkfit190-card,
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card{
    display:flex !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    flex-direction:column !important;
  }

  html body.single-kyoboku .mkfit190-card-media,
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-media{
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:4 / 3 !important;
  }

  html body.single-kyoboku .mkfit190-card-media img{
    height:100% !important;
    aspect-ratio:4 / 3 !important;
  }

  html body.single-kyoboku .mkfit190-card-content{
    height:auto !important;
    min-height:220px !important;
    padding:16px !important;
  }

  html body.single-kyoboku .mkd1-access{
    display:block !important;
  }

  html body.single-kyoboku .mkd1-access .mkd1-map{
    margin-top:17px !important;
  }
}


/* =========================================================
   v1.10.1 FINAL BALANCE OVERRIDES
   写真を主役にしつつ、1件カードの巨大化・右側の空白を抑える。
   ========================================================= */
@media(min-width:821px){
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1{
    max-width:1080px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card{
    grid-template-columns:minmax(0,1.58fr) minmax(330px,.92fr) !important;
    height:clamp(340px,31vw,410px) !important;
    min-height:340px !important;
    max-height:410px !important;
    border-radius:18px !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-media img{
    object-position:center 46% !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content{
    padding:20px 22px !important;
    justify-content:flex-start !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content .mkd1-review-top{
    margin-bottom:12px !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content .mkd1-review-body{
    flex:0 1 auto !important;
    overflow:visible !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content .mkd1-review-body p,
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content > p{
    -webkit-line-clamp:6 !important;
    font-size:14px !important;
    line-height:1.8 !important;
  }

  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-content .mkfit190-open{
    margin:16px 0 0 !important;
    min-height:42px !important;
  }
}

/* 行ってみたい：意味が一目で分かる第二CTA */
html body.single-kyoboku .mkfit190-want-button{
  min-height:48px !important;
  border-color:#c9d9c8 !important;
  background:#ffffff !important;
  color:#2f7442 !important;
  font-size:13px !important;
  letter-spacing:.01em !important;
}

html body.single-kyoboku .mkfit190-want-button:hover{
  background:#f5faf3 !important;
}

html body.single-kyoboku .mkfit190-want-note{
  margin-top:6px !important;
  color:#78837a !important;
  font-size:10px !important;
  text-align:center !important;
}

/* モバイルは写真を大きく、本文は詰め過ぎない */
@media(max-width:820px){
  html body.single-kyoboku .mkfit190-card-list .mkfit190-card-media,
  html body.single-kyoboku .mkfit190-card-list.mkfit190-count-1 .mkfit190-card-media{
    aspect-ratio:1 / 1 !important;
  }

  html body.single-kyoboku .mkfit190-card-media img{
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    object-position:center 45% !important;
  }

  html body.single-kyoboku .mkfit190-card-content{
    min-height:0 !important;
    padding:15px !important;
  }
}


/* =========================================================
   v1.10.1 FINAL CTA POLISH
   レイアウトはv1.9.0を維持し、行動導線だけ明確化。
   ========================================================= */
html body.single-kyoboku .mkfit190-card-content .mkfit190-open{
  min-height:42px !important;
  margin:14px 0 0 !important;
  padding:0 14px !important;
  justify-content:center !important;
  border:1px solid #c9dec8 !important;
  border-radius:10px !important;
  background:#f1f7ef !important;
  color:#276b3c !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  text-align:center !important;
  white-space:nowrap !important;
  box-shadow:none !important;
}
html body.single-kyoboku .mkfit190-card-content .mkfit190-open:hover{
  background:#e8f3e6 !important;
  border-color:#b9d4b9 !important;
}

html body.single-kyoboku .mkfit190-want-button{
  min-height:46px !important;
  background:#fff !important;
  border-color:#c9d9c8 !important;
  color:#2f7442 !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html body.single-kyoboku .mkfit190-want-button.is-saved,
html body.single-kyoboku .mkfit190-want-button[aria-pressed="true"]{
  background:#edf6ea !important;
  border-color:#a9c7ad !important;
  color:#286f42 !important;
}
html body.single-kyoboku .mkfit190-want-note{
  margin-top:6px !important;
  color:#78837a !important;
  font-size:10px !important;
  line-height:1.45 !important;
  text-align:center !important;
}


/* v1.10.1: 詳細CTA文言の最終保証 */
html body.single-kyoboku #reviews .mkfit190-open,
html body.single-kyoboku .mkd1-reviews .mkfit190-open{
  cursor:pointer !important;
}

/* v1.11.0: 口コミ0件時の無意味な「もっと見る」を非表示 */
html body.single-kyoboku .mkfit1110-hide-empty-more{
  display:none !important;
}
