/* マップ＋LINEおまかせLP v5：会社の歩みと、横に流れる導入事例 */

/* ---------- 会社の歩み（担当者カードの代わり） ---------- */
.history-card{padding:36px;border:1px solid #cfe0e2;border-radius:40px 14px 40px 14px;background:linear-gradient(160deg,#fff,#f4f9f9)}
.history-card p{margin:0}
.history-label{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent)}
.history-list{list-style:none;margin:18px 0 0;padding:0}
.history-list li{display:flex;align-items:baseline;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
.history-list li:first-child{border-top:1px solid var(--line)}
.history-year{flex:0 0 auto;font:600 40px/1.1 Georgia,"Times New Roman",serif;letter-spacing:.02em;color:var(--teal-deep,#173a43)}
.history-year small{font-family:"Noto Sans JP","Yu Gothic",sans-serif;font-size:13px;font-weight:700;margin-left:3px;letter-spacing:0}
.history-text{font-size:15px;font-weight:700;line-height:1.7;color:var(--ink)}
.history-link{margin-top:18px!important;font-size:13px}
.history-link a{color:var(--accent);font-weight:700;text-underline-offset:4px}

/* ---------- 横に流れる導入事例 ---------- */
.rail{margin-top:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:14px 0 26px;outline-offset:-4px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%)}
.rail::-webkit-scrollbar{display:none}
.rail:focus-visible{outline:3px solid #ffd95a}
.rail-track{list-style:none;margin:0;padding:0 24px;display:flex;gap:20px;width:max-content}
.wk{flex:0 0 auto;width:clamp(248px,74vw,312px);display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #cfe0e2;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(23,58,67,.08)}
.wk p{margin:0}
.wk-head{display:flex;align-items:center;gap:12px;min-width:0}
.wk-head>div{min-width:0}
.wk-photo{flex:0 0 48px;width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #cfe0e2}
.wk-photo-takano{object-position:50% 12%}
.wk-clinic{font-size:14px;font-weight:700;line-height:1.5;color:var(--ink)}
.wk-tag{display:inline-block;margin-top:4px!important;padding:1px 10px;border-radius:999px;background:var(--mint,#e6f3f1);color:var(--accent);font-size:11.5px;font-weight:700;line-height:1.8}
.wk-visual{height:150px;padding:14px;border-radius:14px;background:#f3f7f7;border:1px solid #e1eaeb;overflow:hidden}
.wk-visual .g-text{font-size:12.5px;line-height:1.7;color:#24414a}
.wk-visual .g-stars{font-size:11px;color:#f0b323;letter-spacing:.06em}
.wk-visual .g-stars i{color:#d5dcde}
.wk-visual .g-reply{font-size:12px;line-height:1.7;padding:7px 10px;margin-top:7px!important}
.wk-visual .g-reply b{font-size:10.5px}
.wk-visual .g-sub{font-size:10.5px}
.wk-visual .bars{height:84px}
.wk-visual .line-bubble{font-size:12px}
.wk-post{margin-top:8px;height:96px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;padding:0 16px;color:#fff;border-left:5px solid #7fd6c9}
.wk-post b{font-size:19px;letter-spacing:.06em;line-height:1.5}
.wk-post span{font-size:12.5px;font-weight:700;opacity:.9}
.wk-post.p-navy{background:linear-gradient(120deg,#16283a,#35566e)}
.wk-post.p-teal{background:linear-gradient(120deg,#1c6f63,#58b3a4)}
.wk-visual-tools{display:flex;gap:12px;align-items:stretch}
.wk-poster{flex:1 1 0;border-radius:10px;background:linear-gradient(160deg,#fbfaf2,#e3f2ec);border:1px solid #cfe0d8;padding:10px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
.wk-poster b{font-size:12px;line-height:1.55;color:#1c6f63}
.wk-cards{flex:0 0 76px;display:flex;flex-direction:column;gap:8px}
.wk-cards span{flex:1 1 0;border-radius:8px;background:linear-gradient(160deg,#fbfaf2,#e3f2ec);border:1px solid #cfe0d8;display:grid;place-items:center}
.wk-qr{display:block;width:34px;height:34px;border-radius:4px;border:3px solid #24414a;background:
  linear-gradient(#24414a,#24414a) 3px 3px/8px 8px no-repeat,
  linear-gradient(#24414a,#24414a) 17px 3px/8px 8px no-repeat,
  linear-gradient(#24414a,#24414a) 3px 17px/8px 8px no-repeat,
  linear-gradient(#24414a,#24414a) 19px 19px/5px 5px no-repeat,#fff}
.wk-text{font-size:13.5px;line-height:1.85;color:var(--text,#33474d)}
.examples-section .examples-note{margin-top:4px!important}
.rail.is-auto{cursor:grab}

@media(max-width:900px){
  .history-card{padding:28px}
}
@media(max-width:600px){
  .history-year{font-size:34px}
  .history-text{font-size:14px}
  .rail-track{gap:14px;padding:0 16px}
  .wk{padding:16px;gap:12px}
}
