/* お客様の声セクション（今のサイトのデザインに合わせた配色）
   ほかの部分に影響しないよう、すべて .tkv の中だけに効くようにしています */
.tkv {
  --tkv-ink: #0a0a0a;
  --tkv-sub: #888;
  --tkv-faint: #ababab;
  --tkv-line: #e4e4e2;
  --tkv-bg: #f6f6f4;
  --tkv-card: #fff;
  --tkv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tkv-gutter: clamp(20px, 5vw, 40px);
  --tkv-side: max(var(--tkv-gutter), calc((100% - 1240px) / 2 + var(--tkv-gutter)));
  position: relative;
  background: var(--tkv-bg);
  color: var(--tkv-ink);
  font-family: "DM Sans", system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  padding: 100px 0 90px;
  overflow: hidden;
  scroll-margin-top: 72px;
}
.tkv *, .tkv *::before, .tkv *::after { box-sizing: border-box; }
.tkv :where(p, h2, figure, blockquote) { margin: 0; padding: 0; }

.tkv__inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--tkv-gutter); }

/* 見出し */
.tkv__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.tkv__label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--tkv-faint); margin-bottom: 8px; }
.tkv__heading { font-family: "Syne", "Hiragino Sans", system-ui, sans-serif; font-weight: 700; font-size: clamp(22px, 3.2vw, 40px); letter-spacing: -0.01em; line-height: 1.3; }
.tkv__intro { margin-top: 14px; font-size: 14px; line-height: 1.9; color: #3d3d3d; max-width: 520px; }

.tkv__nav { display: flex; align-items: center; gap: 10px; }
.tkv__count { font-size: 12px; letter-spacing: .12em; color: var(--tkv-sub); margin-right: 8px; font-variant-numeric: tabular-nums; }
.tkv__count b { color: var(--tkv-ink); font-weight: 500; }
.tkv__arrow {
  appearance: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d6d6d3; background: transparent; color: var(--tkv-ink);
  font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: background .4s var(--tkv-ease), color .4s, border-color .4s, transform .4s var(--tkv-ease);
}
.tkv__arrow:hover { background: var(--tkv-ink); color: #fff; border-color: var(--tkv-ink); }
.tkv__arrow:active { transform: scale(.94); }
.tkv__arrow:focus-visible { outline: 2px solid var(--tkv-ink); outline-offset: 3px; }

/* 横スクロール */
.tkv__track {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--tkv-side);
  padding: 8px var(--tkv-side) 28px; scrollbar-width: none; cursor: grab; outline: none;
}
.tkv__track::-webkit-scrollbar { display: none; }
.tkv__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tkv__track.is-drag .tkv__card { pointer-events: none; }
.tkv__track:focus-visible { outline: 2px solid var(--tkv-ink); outline-offset: -2px; }

/* カード */
.tkv__card {
  flex: 0 0 min(86%, 400px); scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--tkv-card); border: 1px solid var(--tkv-line); border-radius: 18px; padding: 28px 26px 24px;
  transition: transform .5s var(--tkv-ease), box-shadow .5s var(--tkv-ease), border-color .4s;
}
.tkv__card:hover { transform: translateY(-6px); border-color: #d2d2cf; box-shadow: 0 26px 50px -30px rgba(0,0,0,.35); }
.tkv__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; height: 40px; }
.tkv__quote { font-family: "Syne", Georgia, serif; font-weight: 800; font-size: 72px; line-height: .9; color: var(--tkv-ink); }
.tkv__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tkv__service, .tkv__sample { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tkv__service { border: 1px solid var(--tkv-line); color: var(--tkv-sub); }
.tkv__sample { background: #ffe9b8; color: #7a5200; }
.tkv__stars { margin-top: 14px !important; display: flex; gap: 2px; font-size: 13px; letter-spacing: 0; }
.tkv__stars i { font-style: normal; color: #d9d9d6; }
.tkv__stars i.on { color: var(--tkv-ink); }
.tkv__text { margin-top: 14px !important; font-size: 14px; line-height: 2; color: #2b2b2b; letter-spacing: .02em; flex: 1; }
.tkv__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--tkv-line); }
.tkv__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--tkv-ink); color: #fff; font-size: 15px; font-weight: 600; }
.tkv__who b { display: block; font-size: 14px; font-weight: 600; }
.tkv__who small { display: block; font-size: 11px; color: var(--tkv-sub); letter-spacing: .06em; margin-top: 2px; }

/* 写真（1〜2枚） */
.tkv__photos { display: grid; gap: 6px; margin: -8px -8px 22px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.tkv__photos--2 { grid-template-columns: 1fr 1fr; }
.tkv__photo { appearance: none; border: 0; padding: 0; margin: 0; background: #ecece9; cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; min-height: 0; }
.tkv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tkv-ease); -webkit-user-drag: none; }
.tkv__photo:hover img { transform: scale(1.06); }
.tkv__photo:focus-visible { outline: 2px solid var(--tkv-ink); outline-offset: -2px; }

/* 写真の拡大表示 */
.tkv-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 8, 8, .94); display: grid; place-items: center; padding: 72px 16px 88px; opacity: 0; transition: opacity .35s ease; font-family: "DM Sans", system-ui, "Hiragino Sans", sans-serif; }
.tkv-lb[hidden] { display: none; }
.tkv-lb.is-open { opacity: 1; }
.tkv-lb__img { max-width: min(100%, 1200px); max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); border-radius: 8px; object-fit: contain; transform: scale(.97); transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1); }
.tkv-lb.is-open .tkv-lb__img { transform: none; }
.tkv-lb__close { position: absolute; top: 18px; right: clamp(16px, 4vw, 40px); appearance: none; border: 0; background: none; color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }
.tkv-lb__nav { position: absolute; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font-size: 16px; cursor: pointer; transition: background .3s, color .3s; }
.tkv-lb__nav:hover { background: #fff; color: #0a0a0a; }
.tkv-lb__prev { left: clamp(16px, 4vw, 40px); }
.tkv-lb__next { right: clamp(16px, 4vw, 40px); }
.tkv-lb.is-single .tkv-lb__nav { display: none; }
.tkv-lb__cap { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: calc(100% - 150px); margin: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 進み具合のバー */
.tkv__bar { height: 1px; background: #dcdcd9; margin-top: 4px; overflow: hidden; }
.tkv__bar span { display: block; height: 100%; background: var(--tkv-ink); transform-origin: left; transform: scaleX(.08); transition: transform .3s; }

@media (max-width: 600px) {
  .tkv__nav { width: 100%; justify-content: flex-end; }
  .tkv__arrow { width: 42px; height: 42px; }
}

/* アニメーション（JSが動くときだけ有効） */
.tkv--anim .tkv-fade { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--tkv-ease), transform 1.1s var(--tkv-ease); }
.tkv--anim.is-in .tkv-fade { opacity: 1; transform: none; }
.tkv--anim .tkv__card { opacity: 0; }
.tkv--anim.is-in .tkv__card { opacity: 1; animation: tkvIn 1s var(--tkv-ease) backwards; animation-delay: calc(min(var(--i), 4) * .09s + .1s); }
@keyframes tkvIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tkv *, .tkv *::before { transition: none !important; animation: none !important; }
}
