/* =========================================================
   ポータルの紹介LP：AIライターの見本 ＋「画面を見てみる」ツアー（2026-10-29 北村さん）
   ========================================================= */
.fx-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: fxCaret .7s steps(1) infinite; }
@keyframes fxCaret { 50% { opacity: 0; } }

/* ---------- AIライターの見本（LP と ツアーで共通） ---------- */
.bm { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .06); overflow: hidden; font-size: 13px; color: #1f2a37; text-align: left; }
.bm-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.bm-bar span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.bm-bar span:nth-child(2) { background: #fbbf24; } .bm-bar span:nth-child(3) { background: #34d399; }
.bm-bar i { font-style: normal; margin-left: 10px; font-size: 11px; color: #64748b; background: #fff; border-radius: 99px; padding: 2px 12px; }
.bm-in { display: grid; grid-template-columns: 40% 60%; height: 380px; }
.bm-chat { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, #fff7f9, #fff); border-right: 1px solid #f1e4e8; }
.bm-chat > header { padding: 10px 12px; font-weight: 800; color: #be123c; border-bottom: 1px solid #f6dde4; display: flex; align-items: center; gap: 6px; }
.bm-chat > header small { margin-left: auto; font-weight: 500; color: #9f8790; font-size: 10.5px; }
.bm-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bm-m { max-width: 92%; padding: 8px 10px; border-radius: 12px; line-height: 1.55; font-size: 12px; animation: fxPop .25s ease-out; white-space: pre-wrap; }
.bm-ai { background: #fff; border: 1px solid #f3d2db; border-top-left-radius: 4px; align-self: flex-start; }
.bm-u { background: #e11d48; color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.bm-name { background: #fde047; color: #111; border-radius: 3px; padding: 0 2px; }
.bm-dots, .cm-dots { display: inline-flex; gap: 4px; padding: 10px 12px; }
.bm-dots span, .cm-dots span { width: 6px; height: 6px; border-radius: 50%; background: #e11d48; opacity: .35; animation: fxDot 1s infinite; }
.cm-dots span { background: #2c8073; }
.bm-dots span:nth-child(2), .cm-dots span:nth-child(2) { animation-delay: .15s; } .bm-dots span:nth-child(3), .cm-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes fxDot { 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes fxPop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.bm-input { margin: 8px; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 10px; border: 1.5px solid #f3d2db; border-radius: 12px; background: #fff; font-size: 11.5px; color: #475569; }
.bm-input-t { flex: 1; min-width: 0; line-height: 1.4; max-height: 3em; overflow: hidden; }
.bm-input > i { color: #e11d48; }
.bm-doc { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 10px 14px 12px; }
.bm-doc > header { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 6px; gap: 8px; }
.bm-st { font-size: 11px; font-weight: 700; color: #be123c; white-space: nowrap; }
.bm-st.ok { color: #15803d; }
.bm-writing .bm-st i { animation: fxSpin 1.2s linear infinite; display: inline-block; }
@keyframes fxSpin { to { transform: rotate(360deg); } }
.bm-lbl { font-size: 10.5px; font-weight: 700; color: #64748b; margin: 4px 0 3px; }
.bm-title { min-height: 34px; padding: 7px 10px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-weight: 800; font-size: 14px; }
.bm-body { flex: 1; min-height: 0; overflow: hidden; padding: 8px 10px; border: 1.5px solid #e2e8f0; border-radius: 8px; line-height: 1.7; font-size: 12px; }
.bm-body p { margin: 0 0 6px; }
.bm-writing .bm-title, .bm-writing .bm-body { border-color: #fb7185; box-shadow: 0 0 0 3px rgba(225, 29, 72, .12), 0 0 22px rgba(225, 29, 72, .18); }
.bm-hl { background: linear-gradient(transparent 55%, #fde68a 55%); color: inherit; padding: 0; }
.bm-tags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; margin-top: 6px; }
.bm-tags span { font-size: 10.5px; padding: 2px 8px; border-radius: 99px; background: #ffe4ea; color: #be123c; font-weight: 700; animation: fxPop .25s ease-out; }
.bm-use { align-self: flex-start; margin-top: 8px; border: 0; border-radius: 99px; padding: 7px 14px; font-weight: 800; font-size: 12px; color: #fff; background: #cbd5e1; transition: background .3s, transform .3s; pointer-events: none; }
.bm-done .bm-use { background: linear-gradient(90deg, #e11d48, #f97316); transform: scale(1.04); box-shadow: 0 6px 18px rgba(225, 29, 72, .35); }
.bm-phone { position: absolute; right: 14px; bottom: 14px; width: 120px; margin: 0; padding: 8px 8px 10px; border-radius: 16px; background: #fff; border: 4px solid #111827; box-shadow: 0 16px 34px rgba(15, 23, 42, .3); transform: translateY(30px) scale(.9); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), opacity .3s; pointer-events: none; }
.bm-done .bm-phone { transform: none; opacity: 1; }
.bm-ph-img { height: 52px; border-radius: 8px; background: linear-gradient(135deg, #fcd34d, #f97316 60%, #b45309); display: grid; place-items: center; color: #fff; font-size: 20px; }
.bm-phone b { display: block; font-size: 10px; line-height: 1.35; margin: 6px 0 3px; }
.bm-phone p { margin: 0; font-size: 8px; line-height: 1.5; color: #64748b; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fx-bm-loop { max-width: 720px; margin-left: auto; }
@media (max-width: 575px) {
  .bm-in { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; height: 470px; }
  .bm-chat { border-right: 0; border-bottom: 1px solid #f1e4e8; }
  .bm-chat > header { padding: 6px 10px; }
  .bm-phone { width: 104px; right: 10px; bottom: 10px; }
}

/* ---------- ツアー ---------- */
html.tr-lock, html.tr-lock body { overflow: hidden; }
.tr { position: fixed; inset: 0; z-index: 2000; overflow: hidden; color: #fff; font-family: inherit; opacity: 0; transition: opacity .35s; --s: 1; background: #071a12; }
.tr.on { opacity: 1; }
.tr button { font-family: inherit; }
.tr-sky, .tr-sky i { position: absolute; inset: 0; }
.tr-sky i { opacity: 0; transition: opacity 1.4s ease; }
.tr-sky i.on { opacity: 1; }
.tr-sky .s0 { background: radial-gradient(800px 400px at 70% 10%, rgba(120, 200, 140, .25), transparent 70%), linear-gradient(#0a2a1b, #061a10); }
.tr-sky .s1 { background: radial-gradient(900px 500px at 75% 0, rgba(255, 245, 190, .45), transparent 70%), linear-gradient(#2f6b4a, #12382a); }
.tr-sky .s2 { background: radial-gradient(900px 500px at 80% 0, rgba(255, 250, 210, .6), transparent 70%), linear-gradient(#7cc3a4, #3f8a62); }
.tr-sky .s3 { background: radial-gradient(800px 420px at 80% 8%, #fff8c8, transparent 60%), linear-gradient(#8fd3f4, #c8eefc 60%, #e8f8e0); }
.tr-sky .s4 { background: radial-gradient(800px 420px at 80% 8%, #fff2c0, transparent 60%), linear-gradient(#67b7ef, #b8e0fb 65%, #f2e6cc); }
.tr-sky .s5 { background: radial-gradient(700px 360px at 50% 100%, rgba(255, 170, 90, .55), transparent 70%), linear-gradient(#1c2350, #4a3c7a 55%, #f08c5a); }
.tr-far { position: absolute; left: 0; bottom: 18%; width: 700vw; height: 34%; opacity: .55; transition: transform 1.6s cubic-bezier(.6, 0, .25, 1); }
.tr-far svg { width: 100%; height: 100%; display: block; }
.tr-near { position: absolute; left: 0; bottom: 0; width: 600vw; height: 100%; transition: transform 1.6s cubic-bezier(.6, 0, .25, 1); }
.tr.slow .tr-near, .tr.slow .tr-far { transition-duration: 3.2s; }
.tr-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(90deg, #12301f 0%, #1f4d2f 16.6%, #2f6e35 33.3%, #4f9f3e 50%, #6a9a52 60%, #8c8f86 72%, #3a3d52 83.3%, #2a2c40 100%); }
.tr-ground::after { content: ''; position: absolute; left: 66.6%; right: 0; top: 34%; height: 5px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 40px, transparent 40px 90px); opacity: .7; }
.w-it, .w-bld { position: absolute; bottom: calc(18% - 4px); display: block; transform-origin: bottom center; }
.w-it svg { width: 100%; height: 100%; display: block; overflow: visible; }
.w-it.back { filter: brightness(.7); bottom: calc(18% + 6px); z-index: 0; }
.w-it:not(.back) { z-index: 1; }
.w-bld { background: var(--bc); border-radius: 3px 3px 0 0; background-image: repeating-linear-gradient(0deg, transparent 0 14px, rgba(0, 0, 0, .18) 14px 16px), radial-gradient(circle at 30% 30%, rgba(255, 220, 120, .9) 0 3px, transparent 4px); background-size: 100% 100%, 18px 22px; }
.tr-speed { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; }
.tr.run .tr-speed { opacity: 1; }
.tr-speed i { position: absolute; right: -240px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85)); animation: trWind linear infinite; }
@keyframes trWind { from { transform: translateX(0); } to { transform: translateX(-130vw); } }
.tr-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 60%, #fff, rgba(255, 220, 160, .6) 40%, transparent 70%); opacity: 0; }
.tr-flash.go { animation: trFlash 1.1s ease-out; }
@keyframes trFlash { 0% { opacity: 0; } 20% { opacity: .9; } 100% { opacity: 0; } }

.tr-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(rgba(0, 0, 0, .35), transparent); }
.tr-prog { flex: 1; display: flex; gap: 6px; min-width: 0; }
.tr-prog button { flex: 1; min-width: 0; border: 0; background: none; color: rgba(255, 255, 255, .75); padding: 0; cursor: pointer; text-align: left; font-size: 11.5px; font-weight: 700; }
.tr-prog button i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); margin-bottom: 5px; overflow: hidden; position: relative; }
.tr-prog button.done i, .tr-prog button.on i { background: #ffd84a; }
.tr-prog button.on { color: #fff; }
.tr-prog button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.tr-ic:hover { background: rgba(0, 0, 0, .55); }

.tr-intro { position: absolute; left: 0; right: 0; top: 30%; text-align: center; z-index: 4; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; pointer-events: none; text-shadow: 0 3px 18px rgba(0, 0, 0, .5); }
.tr.intro .tr-intro { opacity: 1; transform: none; }
.tr-intro small { letter-spacing: .3em; font-weight: 800; color: #ffd84a; font-size: 12px; }
.tr-intro h2 { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; margin: 8px 0; }
.tr-intro p { margin: 0; opacity: .9; }

.tr-stage { position: absolute; z-index: 3; left: 50%; top: 64px; bottom: 74px; width: min(1080px, 94vw); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: center; transition: opacity .45s, transform .55s cubic-bezier(.2, .9, .3, 1.1); }
.tr.intro .tr-stage { opacity: 0; pointer-events: none; }
.tr-stage.out { opacity: 0; transform: translateX(-38%) scale(.94); }
.tr-card { min-width: 0; display: flex; flex-direction: column; gap: 10px; max-height: 100%; }
.tr-head { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.tr-k { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: #111; background: #ffd84a; border-radius: 99px; padding: 3px 12px; }
.tr-h { margin: 6px 0 0; font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 900; line-height: 1.3; }
.tr-win { position: relative; border-radius: 14px; overflow: hidden; background: #fff; color: #1f2a37; box-shadow: 0 28px 70px rgba(0, 0, 0, .45); min-height: 0; display: flex; flex-direction: column; }
.tr-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; flex: none; }
.tr-bar span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; } .tr-bar span:nth-child(2) { background: #fbbf24; } .tr-bar span:nth-child(3) { background: #34d399; }
.tr-bar i { font-style: normal; margin-left: 10px; font-size: 11px; color: #64748b; background: #fff; border-radius: 99px; padding: 2px 12px; }
.tr-scr-wrap { position: relative; height: min(56vh, 470px); overflow: hidden; background: #f8fafc; }
.tr-screen, .tv { position: absolute; inset: 0; }
.tr-mark { position: absolute; z-index: 4; border-radius: 12px; pointer-events: none; opacity: 0; border: 3px solid #ffd84a; box-shadow: 0 0 0 9999px rgba(15, 23, 42, .38), 0 0 24px 4px rgba(255, 216, 74, .9), inset 0 0 18px rgba(255, 216, 74, .45); transition: left .45s cubic-bezier(.3, .9, .3, 1), top .45s cubic-bezier(.3, .9, .3, 1), width .45s cubic-bezier(.3, .9, .3, 1), height .45s cubic-bezier(.3, .9, .3, 1), opacity .3s; }
.tr-mark.on { opacity: 1; animation: trGlow 1.3s ease-in-out infinite; }
@keyframes trGlow { 50% { box-shadow: 0 0 0 9999px rgba(15, 23, 42, .38), 0 0 36px 10px rgba(255, 216, 74, 1), inset 0 0 22px rgba(255, 216, 74, .6); } }

.tr-guide { align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.tr-av { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #ffd84a; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); object-fit: cover; background: #111; order: 2; animation: trBob 2.4s ease-in-out infinite; }
@keyframes trBob { 50% { transform: translateY(-5px); } }
.tr-bub { position: relative; order: 1; background: #fff; color: #1f2a37; border-radius: 16px; padding: 12px 14px 14px; min-height: 92px; width: 100%; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.tr-bub::after { content: ''; position: absolute; left: 26px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.tr-bub b { display: block; font-size: 10.5px; letter-spacing: .14em; color: #b45309; margin-bottom: 4px; }
.tr-bub p { margin: 0; font-size: 15px; line-height: 1.65; font-weight: 600; }

.tr-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: center; gap: 12px; padding: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); }
.tr-nav button { border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .35); color: #fff; border-radius: 99px; padding: 10px 22px; font-weight: 800; cursor: pointer; min-width: 120px; }
.tr-nav .tr-next { background: #ffd84a; color: #111; border-color: #ffd84a; }
.tr-nav button:disabled { opacity: .35; cursor: default; }
.tr.paused .tr-speed i, .tr.paused .tr-mark.on, .tr.paused .tr-av { animation-play-state: paused; }

/* 画面の中身 */
.tv-p { position: absolute; inset: 0; transition: opacity .45s, transform .45s; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.tv .tr-img { display: block; width: 100%; height: auto; }
.tv-blog { padding: 0; }
.tv-blog .bm { border-radius: 0; box-shadow: none; height: 100%; }
.tv-blog .bm-bar { display: none; }
.tv-blog .bm-in { height: 100%; }
.tv-train .tv-quiz { background: #f6f8f7; }
.tv-train .tv-quiz .tr-img { width: auto; max-width: 100%; height: 100%; object-fit: contain; margin: 0 auto; }
.tv-train .tv-chat { background: linear-gradient(135deg, #e7f3ef, #f6f8f7); align-items: center; padding: 14px; }
.tv-train[data-v="quiz"] .tv-chat, .tv-kohyo[data-v="k"] .tv-s { opacity: 0; transform: translateX(30px); pointer-events: none; }
.tv-train[data-v="chat"] .tv-quiz, .tv-kohyo[data-v="s"] .tv-k { opacity: 0; transform: translateX(-30px); pointer-events: none; }
.cm { width: min(560px, 100%); height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); overflow: hidden; }
.cm > header { padding: 12px 14px; font-weight: 800; border-bottom: 1px solid #e5ece9; }
.cm > header i { color: #2c8073; }
.cm-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cm-m { max-width: 86%; padding: 10px 12px; border-radius: 14px; line-height: 1.65; font-size: 13px; animation: fxPop .25s ease-out; }
.cm-u { align-self: flex-end; background: #2c8073; color: #fff; border-top-right-radius: 4px; }
.cm-ai { align-self: flex-start; background: #eef2f1; border-top-left-radius: 4px; }
.cm-in { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid #e5ece9; }
.cm-in span { flex: 1; min-height: 40px; border: 1.5px solid #dbe4e1; border-radius: 12px; padding: 9px 12px; color: #94a3b8; font-size: 12.5px; line-height: 1.4; max-height: 4.4em; overflow: hidden; }
.cm-in span.typing { color: #1f2a37; }
.cm-in b { flex: none; background: #2c8073; color: #fff; border-radius: 99px; padding: 9px 16px; font-size: 13px; }
.tv-kohyo .tv-k { background: #f4f6f8; }
.tv-kohyo .tv-s { background: linear-gradient(135deg, #e0f2fe, #f0fdf4); align-items: center; }
.tv-pair { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 14px; }
.tv-pair .tr-img { width: auto; height: 100%; max-width: 60%; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); background: #fff; }
.tv-pair .tr-sv { border: 5px solid #111827; border-radius: 22px; }
.tv-price { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px; background: linear-gradient(135deg, #f7fee7, #ecfeff); }
.pc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pc { position: relative; background: #fff; border-radius: 16px; padding: 16px 14px; box-shadow: 0 8px 24px rgba(15, 23, 42, .08); border: 2px solid #e2e8f0; }
.pc-std { border-color: #7bbf24; }
.pc > b { font-size: 15px; font-weight: 900; display: block; }
.pc-badge { position: absolute; top: -10px; right: 12px; background: #7bbf24; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 99px; }
.pc-v { margin: 6px 0 8px; font-size: 12px; color: #475569; }
.pc-v strong { font-size: 28px; font-weight: 900; color: #1f2a37; margin: 0 2px; }
.pc-v strong.sm { font-size: 20px; }
.pc-v small { margin-left: 4px; font-size: 10.5px; }
.pc ul { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.8; }
.pc li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #7bbf24; margin-right: 6px; font-size: 10px; }
.pc-trial { align-self: center; background: linear-gradient(90deg, #f97316, #e11d48); color: #fff; font-weight: 900; padding: 10px 22px; border-radius: 99px; font-size: 15px; box-shadow: 0 8px 22px rgba(225, 29, 72, .3); }
.tv-cta { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff7ed, #fde68a 55%, #fb923c); }
.cta { position: relative; text-align: center; padding: 20px; }
.cta-lead { font-size: clamp(1.1rem, 2.6vw, 1.6rem); font-weight: 900; line-height: 1.5; margin: 0 0 20px; color: #3b2a12; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, #5d8013, #7bbf24 45%, #1a9ed8); color: #fff !important; text-decoration: none; font-weight: 900; font-size: clamp(1.1rem, 2.6vw, 1.5rem); padding: 18px 34px; border-radius: 99px; box-shadow: 0 14px 34px rgba(26, 158, 216, .4), 0 0 0 6px rgba(255, 255, 255, .7); animation: ctaPulse 1.6s ease-in-out infinite; }
.cta-btn:hover { filter: brightness(1.06); }
@keyframes ctaPulse { 50% { transform: scale(1.05); box-shadow: 0 18px 40px rgba(26, 158, 216, .5), 0 0 0 12px rgba(255, 255, 255, .45); } }
.cta-finger { position: absolute; left: 62%; top: 62%; font-size: 40px; color: #1f2a37; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); animation: ctaTap 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes ctaTap { 0%, 100% { transform: translate(14px, 14px); } 40% { transform: translate(0, 0); } 50% { transform: translate(0, 0) scale(.85); } 60% { transform: translate(0, 0); } }
.cta-sub { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-sub a, .cta-sub button { border: 1.5px solid rgba(59, 42, 18, .35); background: rgba(255, 255, 255, .7); color: #3b2a12; border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; }

@media (max-width: 900px) {
  .tr { --s: .72; }
  .tr-stage { top: 58px; bottom: 66px; grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 10px; }
  .tr-scr-wrap { height: min(46vh, 420px); }
  .tr-guide { flex-direction: row; align-items: flex-end; gap: 8px; }
  .tr-av { width: 52px; height: 52px; order: 0; }
  .tr-bub { min-height: 0; padding: 9px 12px 10px; }
  .tr-bub::after { left: -9px; bottom: 16px; border: 9px solid transparent; border-right-color: #fff; border-left: 0; }
  .tr-bub p { font-size: 13.5px; line-height: 1.55; }
  .tr-bub b { font-size: 9.5px; margin-bottom: 2px; }
  .tr-prog button span { font-size: 10px; }
  .tr-nav { padding: 10px; } .tr-nav button { padding: 9px 16px; min-width: 100px; }
  .pc-row { grid-template-columns: 1fr; gap: 8px; }
  .pc { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .pc ul { display: none; }
  .pc-v { margin: 0; } .pc-v strong { font-size: 20px; } .pc-v strong.sm { font-size: 15px; }
  .tv-price { gap: 10px; padding: 14px; }
  .pc-trial { font-size: 13px; padding: 8px 16px; }
  .tv-pair { gap: 3%; padding: 10px; }
  .tv-pair .tr-img { max-width: 48%; height: auto; max-height: 100%; }
  .tv-train .tv-chat { padding: 8px; }
}
@media (max-height: 640px) and (min-width: 901px) { .tr-scr-wrap { height: 50vh; } }
@media (prefers-reduced-motion: reduce) {
  .tr-near, .tr-far, .tr-stage, .tr-sky i { transition: none !important; }
  .tr-speed, .cta-finger { display: none; }
  .cta-btn, .tr-av, .tr-mark.on { animation: none; }
}
/* スマホのツアー：AIライターは「話す画面」と「書く画面」を切り替えて1つずつ見せる（2026-10-29 ズレの修正） */
@media (max-width: 900px) {
  .tv-blog .bm-in { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
  .tv-blog .bm[data-ph="chat"] .bm-doc, .tv-blog .bm[data-ph="doc"] .bm-chat { display: none; }
  .tv-blog .bm-chat { border-right: 0; border-bottom: 0; }
  .tv-blog .bm[data-ph="doc"] .bm-doc { animation: fxPop .3s ease-out; }
  .tv-blog .bm-phone { width: 96px; right: 10px; bottom: 10px; }
  .tv-train .tv-quiz .tr-img, .tv-kohyo .tr-img { width: 100%; height: auto; object-fit: initial; }
}
