/* LINE公式アカウントのページ（トークの再現） */
.line-page { background: radial-gradient(120% 80% at 80% 0%, #1C3252 0%, var(--navy) 45%, var(--night) 100%); color: var(--white); min-height: 100svh; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 40px); }
.lp-top img { height: 30px; width: auto; }
.lp-top__back { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; }
.lp-top__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-top__back:hover { color: var(--signal); }
.lp-main { width: min(1120px, 100% - var(--gutter) * 2); margin: 12px auto 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(24px, 5vw, 72px); align-items: start; }

.account { background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); position: sticky; top: 24px; }
.account__cover { aspect-ratio: 16 / 7; overflow: hidden; }
.account__cover img { width: 100%; height: 100%; object-fit: cover; }
.account__body { position: relative; padding: 0 clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.account__icon { width: 88px; height: 88px; border-radius: 50%; margin-top: -44px; border: 4px solid var(--white); background: var(--navy); }
.account__kind { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.account__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; }
.account__desc { margin-top: 10px; color: #26324A; font-size: 15px; }
.account__facts { margin-top: 16px; display: grid; gap: 8px; }
.account__facts li { display: grid; grid-template-columns: 4em 1fr; gap: 10px; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--rule); }
.account__facts b { font-weight: 800; }
.account__add { margin-top: 22px; width: 100%; }
.account__qr { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: var(--paper); }
.account__qr img { width: 120px; height: 120px; border-radius: 6px; flex: none; }
.account__qr p { font-size: 13px; color: var(--ink-2); }

.talk__phone { border-radius: 46px; padding: 14px; background: #05080F; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), inset 0 0 0 2px rgba(255, 255, 255, .08); display: flex; flex-direction: column; height: min(820px, calc(100svh - 120px)); min-height: 620px; }
.talk__bar { display: flex; align-items: center; gap: 10px; padding: 20px 18px 12px; background: #1F2D45; border-radius: 34px 34px 0 0; font-weight: 700; }
.talk__back { font-size: 26px; line-height: 1; opacity: .8; }
.talk__title { font-size: 15px; }
.talk__badge { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--line); }
.talk__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 12px; background: #8DA8C7; scroll-behavior: smooth; overscroll-behavior: contain; }
/* 横スクロールのカード列は最小の高さが0になり、縦並びの中で潰れるので縮ませない */
.talk__log > * { flex-shrink: 0; }
.talk__date { align-self: center; padding: 2px 12px; border-radius: 999px; background: rgba(14, 27, 46, .35); color: var(--white); font-size: 11px; }
.talk__log .msg p { font-size: 13.5px; }
.talk__log .msg { animation: pop .32s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg__link { display: inline-block; margin-top: 6px; font-weight: 800; color: #0B7A3B; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-top-left-radius: 4px; background: var(--white); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #93A0B5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.cards { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px 34px; scroll-snap-type: x mandatory; }
.card { flex: 0 0 210px; scroll-snap-align: start; background: var(--white); color: var(--ink); border-radius: 16px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card div { padding: 10px 12px 12px; }
.card b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 15px; }
.card p { font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.card a { display: block; margin-top: 10px; text-align: center; padding: 6px; border-top: 1px solid var(--rule); color: #0B7A3B; font-weight: 800; font-size: 13px; text-decoration: none; }
.summary { margin-left: 34px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; }
.summary b { display: block; font-size: 13px; margin-bottom: 6px; }
.summary dl div { display: grid; grid-template-columns: 5.5em 1fr; gap: 6px; padding: 4px 0; border-top: 1px solid var(--rule); }
.summary dt { color: var(--ink-2); font-weight: 700; }

.talk__replies { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: #7F9CBE; min-height: 54px; align-items: center; }
.talk__replies:empty { display: none; }
.reply { flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: #0B7A3B; font-weight: 800; font-size: 13px; cursor: pointer; transition: background-color .2s, color .2s; }
.reply:hover, .reply:focus-visible { background: var(--line); color: var(--white); }
.richmenu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #C9D3E0; border-radius: 0 0 34px 34px; overflow: hidden; }
.richmenu__item { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 14px; border: 0; background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .2s; }
.richmenu__item:hover, .richmenu__item:focus-visible { background: #F4F6FA; }
.richmenu__item svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.richmenu__item b { font-size: 13px; font-weight: 900; }
.richmenu__item span { font-size: 10.5px; color: var(--ink-2); }
.richmenu__item--hot { background: var(--signal); }
.richmenu__item--hot:hover, .richmenu__item--hot:focus-visible { background: #FFD43A; }
.lp-foot { display: flex; justify-content: center; gap: 20px; padding: 24px 16px 40px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.lp-foot a { color: inherit; }

@media (max-width: 899px) {
  .lp-main { grid-template-columns: minmax(0, 1fr); }
  .account { position: static; }
  .account__qr { display: none; }
  .talk__phone { height: 88svh; min-height: 560px; border-radius: 34px; padding: 8px; }
  .talk__bar { border-radius: 28px 28px 0 0; }
  .richmenu { border-radius: 0 0 28px 28px; }
}
@media (max-width: 767px) { .lp-top img { height: 24px; } }
@media (prefers-reduced-motion: reduce) { .talk__log { scroll-behavior: auto; } }
