/* LINE公式アカウントのページ（トークの再現） */
.line-page { min-height: 100svh; }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 4vw, 40px); }
.lp-top img { height: 34px; width: auto; }
.lp-top__back { display: inline-flex; align-items: center; gap: 6px; 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(--acorn-text); }
.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: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--paper-shadow); position: sticky; top: 24px; }
.account__cover { aspect-ratio: 16 / 7; overflow: hidden; }
.account__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.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 #fff; background: var(--cream); }
.account__kind { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.account__name { font-weight: 900; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; }
.account__desc { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.account__facts { margin-top: 16px; display: grid; gap: 4px; }
.account__facts li { display: grid; grid-template-columns: 4em 1fr; gap: 10px; font-size: 14px; padding: 8px 0; border-top: 1px dashed var(--edge); }
.account__facts b { font-weight: 900; }
.account__add { margin-top: 22px; width: 100%; }
.account__qr { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: var(--cream-2); }
.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: #2B1D12; box-shadow: 0 50px 90px -40px rgba(74, 46, 27, .8); 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: #3D5A2C; color: #fff; 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: #A9C2D6; 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(43, 29, 18, .35); color: #fff; font-size: 11px; }
.talk__log .msg p { font-size: 13.5px; }
.talk__log .msg, .talk__log .cards, .talk__log .summary { 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: 900; color: #0B6B33; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-top-left-radius: 4px; background: #fff; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #A3958A; 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; }
.talk__log .card { flex: 0 0 200px; width: auto; margin: 0; scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; }
.talk__log .card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.talk__log .card div { padding: 10px 12px 12px; }
.talk__log .card b { display: block; font-weight: 900; font-size: 14px; color: var(--ink); }
.talk__log .card p { padding: 0; font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.talk__log .card a { display: block; margin-top: 10px; text-align: center; padding: 6px; border-top: 1px dashed var(--edge); color: #0B6B33; font-weight: 900; font-size: 13px; text-decoration: none; }
.summary { margin-left: 34px; background: #fff; 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: 6em 1fr; gap: 6px; padding: 4px 0; border-top: 1px dashed var(--edge); }
.summary dt { color: var(--ink-2); font-weight: 700; }
.talk__divider { align-self: stretch; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 700; }
.talk__divider::before, .talk__divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .6); }

.talk__replies { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: #93AFC6; 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: #fff; color: #0B6B33; font-weight: 900; font-size: 13px; font-family: inherit; cursor: pointer; transition: background-color .2s, color .2s; }
.reply:hover, .reply:focus-visible { background: var(--line); color: #fff; }
.richmenu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #D8CDBA; border-radius: 0 0 34px 34px; overflow: hidden; }
.richmenu__item { display: grid; justify-items: center; gap: 2px; padding: 12px 6px 14px; border: 0; background: #fff; color: var(--ink); font-family: inherit; cursor: pointer; transition: background-color .2s; }
.richmenu__item:hover, .richmenu__item:focus-visible { background: #FFF8E6; }
.richmenu__item svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); 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: #F7E3A1; }
.richmenu__item--hot:hover, .richmenu__item--hot:focus-visible { background: #FAEBB8; }
.lp-foot { display: flex; justify-content: center; gap: 20px; padding: 24px 16px 40px; font-size: 13px; color: var(--ink-2); }

@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: 26px; } }
@media (prefers-reduced-motion: reduce) { .talk__log { scroll-behavior: auto; } }
