/* 車両回送ページ専用(共通の style.css に上書き) */
.k .section { padding: 72px 0; }
@media (max-width: 720px) { .k .section { padding: 56px 0; } }
.k .section h2 { margin-bottom: 12px; }
.k .grid { margin-top: 28px; }

/* ---------- ヒーロー ---------- */
.k-hero { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--bg-deep); }
.k-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(36, 40, 45, 0.96) 0%, rgba(36, 40, 45, 0.86) 50%, rgba(36, 40, 45, 0.7) 100%), url("/relocation/img/hero.webp") center / cover no-repeat;
  animation: k-zoom 24s ease-in-out infinite alternate;
}
.k-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.k-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 20px; }
.k-hero h1 .hl { background: linear-gradient(transparent 62%, rgba(217, 220, 224, 0.28) 62%); }
.k-hero p.lead2 { color: var(--muted); font-size: clamp(15px, 1.8vw, 17px); max-width: 560px; }
.k-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.k-hero .copy > * { opacity: 0; animation: k-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.k-hero .copy > *:nth-child(2) { animation-delay: 0.12s; }
.k-hero .copy > *:nth-child(3) { animation-delay: 0.24s; }
.k-hero .copy > *:nth-child(4) { animation-delay: 0.36s; }

.k-stage { position: relative; height: 520px; }
.k-stage .phone { position: absolute; width: 230px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.k-stage .p1 { left: 8%; top: 40px; animation: k-in-left 1s 0.3s both, k-float 6s 1.3s ease-in-out infinite; }
.k-stage .p2 { right: 4%; top: 0; animation: k-in-right 1s 0.5s both, k-float 6s 1.5s ease-in-out infinite reverse; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
  background: rgba(242, 243, 244, 0.95); color: #1e2226; border-radius: 999px;
  padding: 9px 16px; font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  opacity: 0; animation: k-pop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) forwards;
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 0 rgba(31, 138, 76, 0.6); animation: k-ping 2s 2s infinite; }
.chip.c1 { left: 0; top: 70px; animation-delay: 1.1s; }
.chip.c2 { right: 0; top: 250px; animation-delay: 1.5s; }
.chip.c3 { left: 14%; bottom: 40px; animation-delay: 1.9s; }

@media (max-width: 900px) {
  .k-hero { padding-top: 56px; }
  .k-hero .wrap { grid-template-columns: 1fr; }
  .k-stage { height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
  .k-stage .phone { width: 190px; }
}

/* ---------- 特徴4つ ---------- */
.k-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.k-point { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.k-point:hover { transform: translateY(-6px); border-color: var(--muted); background: #444a52; }
.k-point .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-deep); display: grid; place-items: center; margin-bottom: 14px; }
.k-point .ico svg { width: 24px; height: 24px; stroke: var(--text); }
.k-point h3 { font-size: 17px; margin-bottom: 6px; }
.k-point p { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .k-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .k-points { grid-template-columns: 1fr; } }

/* ---------- 効率性と安全性 ---------- */
.k-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.k-duo .panel { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); padding: 32px; background: var(--bg-deep); }
.k-duo .panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(rgba(217, 220, 224, 0.12), transparent 70%); }
.k-duo .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.k-duo h3 { font-size: 26px; margin: 4px 0 18px; }
.k-duo ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.k-duo li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.k-duo li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324282d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 720px) { .k-duo { grid-template-columns: 1fr; } .k-duo .panel { padding: 24px; } }

/* ---------- アプリ画面ギャラリー ---------- */
.k-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.k-gallery figure { margin: 0; }
.k-gallery .phone { width: 100%; transition: transform 0.3s; }
.k-gallery figure:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.k-gallery figcaption { margin-top: 12px; text-align: center; }
.k-gallery figcaption b { display: block; font-size: 15px; }
.k-gallery figcaption span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .k-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .k-gallery figure { scroll-snap-align: start; }
}

.k-report { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: center; margin-top: 56px; }
.k-report .shot { margin-top: 0; }
@media (max-width: 900px) { .k-report { grid-template-columns: 1fr; } }

/* ---------- 業務の流れ(線が伸びる) ---------- */
.k-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.k-flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: var(--line); }
.k-flow::after { content: ""; position: absolute; left: 4%; top: 27px; height: 2px; width: 0; background: var(--text); transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s; }
.k-flow.in::after { width: 92%; }
.k-flow .st { position: relative; text-align: center; }
.k-flow .st .n { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-deep); border: 2px solid var(--line); font-family: var(--mono); font-weight: 600; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.k-flow.in .st .n { border-color: var(--text); }
.k-flow.in .st.app .n { background: var(--text); color: var(--bg-deep); }
.k-flow .st:nth-child(1) .n { transition-delay: 0.2s; } .k-flow .st:nth-child(2) .n { transition-delay: 0.55s; }
.k-flow .st:nth-child(3) .n { transition-delay: 0.9s; } .k-flow .st:nth-child(4) .n { transition-delay: 1.25s; }
.k-flow .st:nth-child(5) .n { transition-delay: 1.6s; }
.k-flow h3 { font-size: 17px; }
.k-flow p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.k-flow-note { font-size: 13px; color: var(--muted); margin-top: 20px; }
@media (max-width: 720px) {
  .k-flow { grid-template-columns: 1fr; gap: 14px; }
  .k-flow::before, .k-flow::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .k-flow::after { height: 0; transition-property: height; }
  .k-flow.in::after { width: 2px; height: calc(100% - 56px); }
  .k-flow .st { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: center; }
  .k-flow .st .n { margin: 0; }
}

/* ---------- コンパクトなカード列 ---------- */
.k-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.k-mini .card { padding: 22px; }
.k-mini .card h3 { font-size: 17px; }
.k-mini .card p { font-size: 14px; }
@media (max-width: 900px) { .k-mini { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .k-mini { grid-template-columns: 1fr; } }

.k-quality { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; }
.k-quality .banner { margin: 0; aspect-ratio: 4 / 3; }
.k-quality .table { margin-top: 0; }
.k-quality .table th { width: 150px; }
@media (max-width: 900px) { .k-quality { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .k-hero::before, .k-stage .phone, .chip, .chip .dot, .k-hero .copy > * { animation: none !important; opacity: 1 !important; }
  .k-stage .p1 { transform: rotate(-4deg); } .k-stage .p2 { transform: rotate(3deg); }
  .k-flow::after { transition: none; }
  .k-point, .k-gallery .phone { transition: none; }
}

/* スマホでの見出しの改行とヒーローの調整 */
.sp { display: none; }
@media (max-width: 520px) {
  .sp { display: inline; }
  .k-stage { max-width: 340px; height: 400px; }
  .k-stage .phone { width: 170px; }
  .chip { font-size: 12px; padding: 7px 12px; }
  .chip.c2 { right: 0; top: 220px; }
}
