/* JOYNT スーツケースハーネス LP（モバイルファースト） */
:root {
  --yellow: #ffe600;
  --ink: #222;
  --text: #333;
  --bg-outer: #f4f4f4;
  --page-max: 640px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; height: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: #fff;
}

/* ---------- FV スライダー ---------- */
.fv__viewport {
  overflow: hidden;
  touch-action: pan-y; /* 縦スクロールはブラウザ任せ、横の指の動きはスライダーが受け取る */
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.fv__viewport.is-dragging { cursor: grabbing; }
.fv__viewport:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

.fv__track {
  display: flex;
  will-change: transform;
}
.fv__track.is-animating { transition: transform .6s cubic-bezier(.25, .8, .25, 1); }

.fv__slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  background: var(--yellow);
}
.fv__slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.fv__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 4px;
}

.fv__arrow {
  position: relative;
  flex: 0 0 auto;
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.fv__arrow::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.fv__arrow--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.fv__arrow--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.fv__arrow:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.fv__dots {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.fv__dot {
  width: 24px; height: 24px; /* 押しやすい大きさ。見た目の点は::beforeで小さく */
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.fv__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: background .2s, transform .2s;
}
.fv__dot[aria-selected="true"]::before { background: var(--ink); transform: scale(1.25); }
.fv__dot:focus-visible { outline: 2px solid var(--ink); border-radius: 4px; }

/* ---------- 本文 ---------- */
.story { padding: 16px 0 48px; }

.summary {
  list-style: none;
  margin: 0 16px 24px;
  padding: 16px 16px 16px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}
.summary li {
  position: relative;
  padding-left: 28px;
}
.summary li + li { margin-top: 12px; }
.summary li::before {
  /* 黄色丸＋チェック（Makuakeの要約欄と同じ見た目） */
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat;
}

.text {
  margin: 20px 16px;
  color: #000;
}

mark {
  background: var(--yellow);
  color: inherit;
  font-weight: 700;
  padding: 0 1px;
}

.heading {
  margin: 48px 16px 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.images { margin: 16px 16px 0; }
.images img { width: 100%; }
.images > * + * { margin-top: 12px; }

/* 装着の様子の動画（縦長）。画面幅の6割ほどで中央に置く */
.clip {
  width: 60%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.clip video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #eee;
}

/* ---------- よくある質問 ---------- */
.faq { margin: 16px 16px 0; }
.faq__item { margin-top: 20px; }
.faq__item:first-child { margin-top: 0; }
.faq__q { margin: 0 0 4px; font-weight: 700; color: #000; }
.faq__a { margin: 0; color: #333; }
.faq__note { color: #fb2032; }

/* ---------- 申し込みボタン ---------- */
.cta {
  margin: 32px 16px 0;
  text-align: center;
}
.cta__button {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 4px 0 #c9b400;
  transition: transform .15s, box-shadow .15s;
}
.cta__button:hover { transform: translateY(2px); box-shadow: 0 2px 0 #c9b400; }
.cta__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- 追従の申し込みボタン ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .1);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__button {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 0 #c9b400;
}
.sticky-cta__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- 画面が広いとき ---------- */
@media (min-width: 641px) {
  body { background: var(--bg-outer); }
  .page { box-shadow: 0 0 24px rgba(0, 0, 0, .06); }
  body { font-size: 16px; }
  .summary { font-size: 15px; }
  .heading { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .fv__track.is-animating { transition: none; }
  .fv__dot::before { transition: none; }
  .sticky-cta { transition: none; }
}
