/* 2026-12-01 TOP「お客様の声」の見せ方（プラグイン MDR Google Reviews の出力に重ねる）。
   帰属表示（投稿者名・顔の絵・投稿者ページへのリンク・Gマーク・Googleへのリンク）は消さないこと。 */
html body #voice .vo2 .mgr_list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html body #voice .vo2 .mgr_item{position:relative;display:flex;flex-direction:column;background:#fff;transition:border-color .2s,transform .2s,box-shadow .2s}
html body #voice .vo2 .mgr_item:hover{border-color:#8DB53C;transform:translateY(-2px);box-shadow:0 10px 24px rgba(27,36,31,.08)}
/* いちばん上（評価がいちばん高い1件）を大きく見せる */
html body #voice .vo2 .mgr_item:first-child{grid-column:1/-1;padding:34px 36px 30px;border:1.5px solid #8DB53C;background:linear-gradient(180deg,#F6FAEC 0,#fff 120px)}
html body #voice .vo2 .mgr_item:first-child .mgr_item_txt{font-size:15.5px;line-height:2.05;color:#1B241F}
html body #voice .vo2 .mgr_item:first-child .mgr_item_name{font-size:15.5px}
html body #voice .vo2 .mgr_item:last-child:nth-child(even){grid-column:1/-1}
html body #voice .vo2 .vo2-top{position:absolute;left:28px;top:-13px;background:#2F3A32;color:#fff;font-size:11.5px;font-weight:700;letter-spacing:.12em;padding:5px 12px;border-radius:999px}
/* 長い口コミは途中で切り、「続きを読む」で開く */
html body #voice .vo2.vo2-js .mgr_item_txt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
html body #voice .vo2.vo2-js .mgr_item:first-child .mgr_item_txt{-webkit-line-clamp:6}
html body #voice .vo2.vo2-js .mgr_item.is-open .mgr_item_txt{display:block;-webkit-line-clamp:unset;overflow:visible}
html body #voice .vo2 .vo2-more{align-self:flex-start;margin-top:10px;appearance:none;border:0;background:none;padding:0;font:inherit;font-size:12.5px;font-weight:700;color:#4A7A14;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body #voice .vo2 .vo2-sort{margin:10px 0 0;font-size:11.5px;color:#6E7C71;line-height:1.6}
/* 星が1つずつ光る・点数が数え上がる（画面に入ったとき） */
html body #voice .vo2.vo2-js .mgr_summary .mgr_star{opacity:.18;transform:scale(.6)}
html body #voice .vo2.vo2-go .mgr_summary .mgr_star{animation:vo2Star .4s cubic-bezier(.34,1.56,.64,1) forwards}
html body #voice .vo2.vo2-go .mgr_summary .mgr_star:nth-child(2){animation-delay:.12s}
html body #voice .vo2.vo2-go .mgr_summary .mgr_star:nth-child(3){animation-delay:.24s}
html body #voice .vo2.vo2-go .mgr_summary .mgr_star:nth-child(4){animation-delay:.36s}
html body #voice .vo2.vo2-go .mgr_summary .mgr_star:nth-child(5){animation-delay:.48s}
@keyframes vo2Star{to{opacity:1;transform:none}}
html body #voice .vo2 .mgr_summary_num{font-variant-numeric:tabular-nums}
/* 枠に乗せると、山田がお礼を言う（マウスのある画面だけ） */
@media(hover:hover){
  html body #voice .vo2 .mgr_item::before{content:"";position:absolute;right:14px;top:-22px;width:44px;height:44px;border-radius:50%;background:#fff url(images/ysay-smile.webp) center/cover;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #8DB53C;opacity:0;transform:translateY(14px) scale(.7);transition:opacity .2s,transform .3s cubic-bezier(.34,1.56,.64,1);pointer-events:none;z-index:2}
  html body #voice .vo2 .mgr_item::after{content:"ありがとうございます！";position:absolute;right:66px;top:-16px;background:#2F3A32;color:#fff;font-size:12px;font-weight:700;line-height:1;padding:9px 12px;border-radius:12px 12px 2px 12px;white-space:nowrap;opacity:0;transform:translateX(8px);transition:opacity .2s .08s,transform .25s .08s;pointer-events:none;z-index:2}
  html body #voice .vo2 .mgr_item:nth-child(2)::after{content:"うれしいです！"}
  html body #voice .vo2 .mgr_item:nth-child(3)::after{content:"励みになります！"}
  html body #voice .vo2 .mgr_item:nth-child(4)::after{content:"また頑張れます！"}
  html body #voice .vo2 .mgr_item:nth-child(5)::after{content:"泣きそうです…"}
  html body #voice .vo2 .mgr_item:hover::before,html body #voice .vo2 .mgr_item:focus-within::before{opacity:1;transform:none}
  html body #voice .vo2 .mgr_item:hover::after,html body #voice .vo2 .mgr_item:focus-within::after{opacity:1;transform:none}
}
html.is-yami body #voice .vo2 .mgr_item::before{filter:invert(1) hue-rotate(180deg)}
html body #voice .vo2 .vo2-pg{display:none}
/* スマホは横にめくる */
@media(max-width:700px){
  html body #voice .vo2 .mgr_list{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -20px;padding:16px 20px 6px;scrollbar-width:none}
  html body #voice .vo2 .mgr_list::-webkit-scrollbar{display:none}
  html body #voice .vo2 .mgr_item,html body #voice .vo2 .mgr_item:first-child{flex:0 0 84%;scroll-snap-align:center;padding:24px 20px 20px}
  html body #voice .vo2 .mgr_item:first-child .mgr_item_txt{font-size:14px;line-height:2}
  html body #voice .vo2 .vo2-top{left:16px}
  html body #voice .vo2 .mgr_item:hover{transform:none}
  html body #voice .vo2 .vo2-pg{display:block;margin:8px 0 0;text-align:center;font-size:12px;font-weight:700;color:#6E7C71;letter-spacing:.06em}
}
@media(prefers-reduced-motion:reduce){html body #voice .vo2.vo2-js .mgr_summary .mgr_star{opacity:1;transform:none;animation:none}html body #voice .vo2 .mgr_item,html body #voice .vo2 .mgr_item::before,html body #voice .vo2 .mgr_item::after{transition:none}}
