/* ふくふく接骨院・整骨院 トップ：v4 で足した部分 */

/* ===== ① 最初の画面：中央揃え ===== */
.fv-cap{align-items:center;text-align:center}
.fv-eyebrow{align-self:center}
.fv-body{grid-template-columns:1fr;max-width:760px;justify-items:center;text-align:center;gap:16px}
.fv-body>div{width:100%}
.creds{justify-content:center}
.fv-body .cta-pair{margin:0 auto}
.fv-note .fvn-date::before{content:"｜"}
@media (max-width:768px){.fv-note .fvn-date{display:block}.fv-note .fvn-date::before{content:none}}

/* 最初の画面の写真は、あとで動画に差し替えられる入れ物（.fv-media）に入れている。
   video を入れても写真と同じ大きさ・切り抜き位置になる */
.fv-media{position:relative}
.fv-media video{display:block;width:100%;height:560px;object-fit:cover;object-position:60% 35%;background:#15332F}
@media (max-width:768px){
  .fv-media video{height:auto;aspect-ratio:390/470;object-position:50% 6%}
}

/* ===== ①-2 声のスライドの見出しまわり：中央揃え ===== */
.trust-head{flex-direction:column;align-items:center;text-align:center;gap:14px}
.trust-head>div{width:100%;max-width:640px}
.trust-nums{justify-content:center}
.trust-meta{text-align:center}
.trust-foot{flex-direction:column;justify-content:center;text-align:center}
.trust-foot .small-note{max-width:760px}
@media (max-width:768px){
  .trust-meta{text-align:center;margin-top:6px}
  .trust-nums{max-width:360px;margin:0 auto}
}

/* ===== 院長：スマホ（1列）では見出しをほかの章とそろえて中央に ===== */
@media (max-width:1023px){
  .dir-copy>.label,.dir-copy>.sec-title{text-align:center}
  .dir-name{text-align:center}
}
@media (max-width:768px){
  .dir-quote{text-align:center}
}

/* ===== 声のスライド（v4）：1枚ずつ別々に動かす =====
   v3 は26枚を横一列に並べた幅約7,700pxの帯を丸ごと動かしていた。
   帯が大きすぎるとブラウザが一部しか描いておけず、上下にスクロールした瞬間に
   描けていない所が白く抜ける。v4 は13枚を同じ場所に重ね、1枚ずつ右端→左端へ
   流して1周させる（動くのはカード1枚分の小さな面だけ）。 */
.marquee{overflow:hidden}
.marquee-track{display:grid;width:auto;animation:none;transform:none}
.mq{grid-area:1/1;width:280px;animation:mqi 70s linear infinite;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}
/* 1枚の受け持ち＝カード280px＋すき間16px＝296px、13枚で1周3,848px */
@keyframes mqi{from{transform:translate3d(3552px,0,0)}to{transform:translate3d(-296px,0,0)}}
@keyframes mqi-sp{from{transform:translate3d(3072px,0,0)}to{transform:translate3d(-256px,0,0)}}
.marquee:hover .mq,.marquee:focus-within .mq,.marquee.paused .mq,.marquee.off .mq{animation-play-state:paused}
@media (max-width:768px){
  /* スマホ：カード240px＋16px＝256px、13枚で1周3,328px */
  .mq{width:240px;animation-name:mqi-sp}
}
@media (prefers-reduced-motion:reduce){
  .marquee-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 10px}
  .mq{grid-area:auto;flex:0 0 240px;animation:none;will-change:auto;transform:none}
}
