/* リベシティのアプリを手本に：明るい地・紺の帯・白い角丸パネル・大きな写真・キャラクター・短い太字 */
:root{
  --bg:#f2f4f8; --card:#ffffff; --fg:#26324a; --muted:#7a8496; --line:#e3e7ef;
  --navy:#2b3a55; --red:#d42a4c; --red-soft:#fde8ec; --yellow:#ffd23f; --teal:#1f8a7a; --teal-soft:#dff3ef; --gold:#b07a12; --gold-soft:#fff3d6;
  --round:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN","Hiragino Sans",sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%}
body{background:#cfd5df;font-family:var(--round);color:var(--fg);font-size:15px;line-height:1.6}
img{max-width:100%;display:block}
.app{max-width:430px;margin:0 auto;min-height:100%;background:var(--bg);display:flex;flex-direction:column;position:relative}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;padding:10px 14px;background:var(--navy);color:#fff}
.brand{font-weight:800;display:flex;align-items:center;gap:8px;flex:1;font-size:16px;letter-spacing:.02em}
.brand img{width:30px;height:30px;border-radius:50%;object-fit:cover;object-position:top;background:var(--yellow)}
.who{border:none;background:rgba(255,255,255,.14);border-radius:99px;padding:5px 10px;font-size:11px;color:#fff;font-family:inherit}
.me{border:2px solid var(--yellow);background:#fff;border-radius:50%;width:36px;height:36px;padding:0;overflow:hidden}
.me img{width:100%;height:100%;object-fit:cover;object-position:top}
.whomenu{position:absolute;top:56px;right:10px;z-index:9;background:var(--card);border-radius:14px;box-shadow:0 10px 30px rgba(20,30,60,.2);padding:6px;width:260px}
.whomenu button{display:block;width:100%;text-align:left;border:none;background:none;padding:9px 10px;border-radius:8px;font-size:14px;color:var(--fg);font-family:inherit;font-weight:700}
.whomenu button small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.whomenu button.on{background:var(--teal-soft)}
.proto-bar{background:var(--yellow);color:#4a3a00;font-size:11px;padding:4px 14px;font-weight:700;text-align:center}
.view{flex:1;padding:14px 14px 96px;display:grid;gap:16px;align-content:start}
.tabs{position:sticky;bottom:0;z-index:6;display:grid;grid-template-columns:repeat(4,1fr);background:var(--card);box-shadow:0 -2px 12px rgba(20,30,60,.08);padding-bottom:env(safe-area-inset-bottom,0px)}
.tabs button{border:none;background:none;padding:8px 0 10px;font-size:10px;color:var(--muted);font-weight:700;display:grid;justify-items:center;gap:2px;font-family:inherit}
.tabs svg{width:24px;height:24px}
.tabs button.on{color:var(--red)}
h1{font-size:22px;margin:0;line-height:1.3;font-weight:800}
h2{font-size:17px;margin:0;font-weight:800;display:flex;align-items:center;gap:6px}
h2 .more{margin-left:auto;font-size:12px;color:var(--teal);font-weight:700}
p{margin:0}
.muted{color:var(--muted);font-size:12px}
.sec{display:grid;gap:10px}
.btn{border:none;border-radius:99px;padding:12px 18px;font-weight:800;font-size:15px;background:var(--red);color:#fff;font-family:inherit;box-shadow:0 3px 0 #a3163a}
.btn.sub{background:#fff;color:var(--fg);box-shadow:0 2px 0 var(--line);border:1px solid var(--line)}
.btn.teal{background:var(--teal);box-shadow:0 3px 0 #146558}
.btn.wide{width:100%}
.btn:disabled{opacity:.45}
.badge{display:inline-block;font-size:11px;padding:2px 9px;border-radius:99px;background:var(--red);color:#fff;font-weight:800}
.badge.y{background:var(--yellow);color:#4a3a00}
.badge.t{background:var(--teal)}
.badge.ex{background:#e9e4f5;color:#5a477a}
/* 大きな写真の帯（ヒーロー） */
.hero{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;gap:0;scrollbar-width:none}
.hero::-webkit-scrollbar{display:none}
.slide{position:relative;scroll-snap-align:start;aspect-ratio:16/11;border-radius:18px;overflow:hidden;color:#fff}
.slide>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(20,15,30,.78))}
.slide .tx .badge,.stage .tx .badge{justify-self:start}
.slide .tx{position:absolute;left:16px;right:120px;bottom:16px;z-index:2;display:grid;gap:6px}
.slide .big{font-size:24px;font-weight:800;line-height:1.25;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.slide .chara{position:absolute;right:-6px;bottom:-4px;height:78%;z-index:2;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
.slide .stamp{position:absolute;top:12px;right:12px;z-index:3;width:74px;height:74px;border-radius:50%;background:var(--red);display:grid;place-items:center;text-align:center;font-weight:800;font-size:13px;line-height:1.2;border:3px solid #fff;transform:rotate(8deg)}
.dots{display:flex;gap:6px;justify-content:center}
.dots i{width:7px;height:7px;border-radius:50%;background:#c6ccd8}.dots i.on{background:var(--red)}
/* 2列のメニュー（リベシティの角丸パネル） */
.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qt{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:14px;padding:8px 10px;border:none;font-family:inherit;color:var(--fg);font-weight:800;font-size:13px;text-align:left;box-shadow:0 1px 3px rgba(20,30,60,.06)}
.qt img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top;background:var(--red-soft);flex:none}
.qt span{flex:1}
.qt svg{width:14px;height:14px;color:var(--teal);flex:none}
/* 写真カード */
.pc{position:relative;border-radius:16px;overflow:hidden;background:var(--card);box-shadow:0 1px 3px rgba(20,30,60,.08)}
.pc>img{width:100%;aspect-ratio:16/9;object-fit:cover}
.pc .cap{padding:10px 12px;display:grid;gap:2px}
.pc .cap b{font-size:15px}
.pc .play{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
.pc .play svg{width:22px;height:22px;color:var(--red)}
.pc .tag{position:absolute;top:10px;right:10px}
.hs{display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.hs::-webkit-scrollbar{display:none}
.hs .pc>img{aspect-ratio:4/3}
.hs.covers{grid-auto-columns:52%}
.hs.covers .pc>img{aspect-ratio:16/10}
.hs.thumbs{grid-auto-columns:58%}
.hs.thumbs .pc>img{aspect-ratio:16/9}
.pc .cap small{color:var(--muted);font-size:11px}
/* 鍵 */
.lk{position:relative}
.lk>.veil{position:absolute;inset:0;background:rgba(30,35,55,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);display:grid;place-items:center;align-content:center;gap:8px;color:#fff;text-align:center;padding:12px;border-radius:16px;z-index:4}
.veil svg{width:30px;height:30px}
.veil b{font-size:14px}
.veil .btn{font-size:13px;padding:9px 14px}
/* 次の一歩 */
.steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.steps3 div{background:var(--card);border-radius:12px;padding:8px 6px;text-align:center;font-size:11px;font-weight:800;display:grid;gap:4px;justify-items:center;position:relative}
.steps3 img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top;background:var(--gold-soft)}
.steps3 div:not(:last-child)::after{content:"▶";position:absolute;right:-8px;top:24px;color:var(--red);font-size:10px}
/* お知らせ帯 */
.notice{display:flex;gap:10px;align-items:center;background:var(--card);border-radius:16px;padding:10px 12px;border:2px solid var(--yellow)}
.notice img{width:52px;height:52px;border-radius:50%;object-fit:cover;object-position:top;flex:none;background:var(--gold-soft)}
.notice .t{flex:1;display:grid;gap:2px}
.notice .t b{font-size:15px}
/* 地図 */
.mapcard{background:var(--card);border-radius:16px;padding:14px;display:grid;gap:10px}
.bigno{display:flex;align-items:baseline;gap:4px;font-weight:800}
.bigno b{font-size:40px;color:var(--red);line-height:1}
.tile{display:grid;grid-template-columns:repeat(12,1fr);gap:3px}
.tile div{aspect-ratio:1;border-radius:5px;font-size:8.5px;display:grid;place-items:center;color:#fff;font-weight:800;line-height:1}
.s0{background:#d5dae3;color:#7a8496!important}.s1{background:#f2b84b}.s2{background:#2fa58f}.s3{background:var(--red)}
.legend{display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:11px;font-weight:700}
.legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:4px;vertical-align:-1px}
/* つぶやき */
.compose{display:flex;gap:10px;background:var(--card);border-radius:16px;padding:12px;align-items:flex-start}
.compose img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top;flex:none;background:var(--teal-soft)}
.compose .f{flex:1;display:grid;gap:8px}
textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;min-height:64px;background:var(--bg);color:var(--fg);resize:none}
.feed{display:grid;gap:10px}
.tw{display:flex;gap:10px;background:var(--card);border-radius:16px;padding:12px}
.tw .av{width:42px;height:42px;border-radius:50%;object-fit:cover;object-position:top;flex:none;background:var(--red-soft)}
.tw .b{flex:1;min-width:0;display:grid;gap:4px}
.tw .nm{font-weight:800;font-size:13px;display:flex;gap:6px;align-items:center}
.tw .ph{border-radius:12px;aspect-ratio:16/9;object-fit:cover;width:100%}
.tw .re{display:flex;gap:14px;color:var(--muted);font-size:12px;font-weight:700}
/* 撮る */
.stage{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:4/3;color:#fff}
.stage>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,10,20,.75),rgba(20,10,20,.1))}
.stage .tx{position:absolute;left:16px;top:16px;z-index:2;display:grid;gap:6px;max-width:58%}
.stage .chara{position:absolute;right:4px;bottom:0;height:92%;z-index:2}
.flow4{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center;font-size:11px;font-weight:800}
.flow4 div{background:var(--card);border-radius:12px;padding:10px 4px;display:grid;gap:4px;justify-items:center}
.flow4 svg{width:24px;height:24px;color:var(--red)}
.songs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.song{position:relative;border:none;padding:0;border-radius:14px;overflow:hidden;aspect-ratio:4/3;font-family:inherit;color:#fff;text-align:left}
.song img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.song::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.75))}
.song b{position:absolute;left:10px;bottom:8px;z-index:2;font-size:15px}
.song .free{position:absolute;top:8px;left:8px;z-index:2}
.song:disabled{opacity:1}
.song:disabled::after{background:rgba(30,35,55,.62)}
.song .lkic{position:absolute;inset:0;display:grid;place-items:center;z-index:3}
.song .lkic svg{width:28px;height:28px;color:#fff}
.song.sel{outline:4px solid var(--yellow)}
video{width:100%;border-radius:16px;background:#111;aspect-ratio:3/4;object-fit:cover}
.recrow{display:flex;justify-content:center;gap:18px;align-items:center}
.rec{width:74px;height:74px;border-radius:50%;border:5px solid #fff;background:var(--red);box-shadow:0 0 0 3px var(--red);font-family:inherit;color:#fff;font-weight:800;font-size:12px}
.rec:disabled{opacity:.4}
/* マイページ */
.prof{position:relative;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,var(--navy),#4a3a6a);color:#fff;padding:16px;display:flex;gap:12px;align-items:center}
.prof img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid var(--yellow);background:#fff}
.prof .fee{font-size:26px;font-weight:800}
.chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chip{display:flex;align-items:center;gap:8px;background:var(--card);border-radius:12px;padding:8px 10px;font-size:12px;font-weight:700}
.chip i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;font-style:normal;font-size:12px;color:#fff;background:var(--teal)}
.chip.no{color:var(--muted)}.chip.no i{background:#c4cad6}
.chip.paid i{background:var(--gold)}
/* 点検 */
.card{background:var(--card);border-radius:16px;padding:14px;display:grid;gap:8px}
table{border-collapse:collapse;width:100%;font-size:11px}
th,td{border-bottom:1px solid var(--line);padding:5px 4px;text-align:left;vertical-align:top}
.ok{color:var(--teal);font-weight:800}.ng{color:var(--red);font-weight:800}.warn{color:var(--gold);font-weight:800}
.scroll{overflow-x:auto}
.sheet{position:fixed;inset:0;background:rgba(20,30,60,.4);z-index:20;display:flex;align-items:flex-end;justify-content:center}
.sheet>div{background:var(--card);width:100%;max-width:430px;border-radius:20px 20px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));display:grid;gap:12px;justify-items:center;text-align:center}
.sheet img{height:110px}
.sheet p{font-weight:700;white-space:pre-line}

/* v4 */
.tabs button{font-size:12px}
.news1{position:relative;border-radius:18px;overflow:hidden;color:#fff;display:block;text-decoration:none;aspect-ratio:16/10}
.news1 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.news1::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 25%,rgba(15,20,40,.85))}
.news1 .tx{position:absolute;left:14px;right:14px;bottom:12px;z-index:2;display:grid;gap:4px}
.news1 .tx b{font-size:19px;line-height:1.35}
.news1 .tx span{font-size:12px;opacity:.9}
.news1 .when{position:absolute;top:10px;left:10px;z-index:2}
.nrow{display:flex;gap:10px;align-items:center;background:var(--card);border-radius:14px;padding:8px;text-decoration:none;color:var(--fg)}
.nrow img{width:64px;height:48px;border-radius:10px;object-fit:cover;flex:none}
.nrow b{font-size:13px;line-height:1.4}
.ev{display:flex;gap:10px;background:var(--card);border-radius:16px;padding:10px;align-items:center;box-shadow:0 1px 3px rgba(20,30,60,.06)}
.ev .day{width:58px;flex:none;border-radius:12px;text-align:center;padding:6px 0;color:#fff;font-weight:800;line-height:1.15}
.ev .day b{display:block;font-size:22px}
.ev .day small{font-size:10px}
.ev.teacher .day{background:var(--teal)}.ev.machimenco .day{background:var(--red)}.ev.general .day{background:#7b5ea7}
.ev .tx{flex:1;min-width:0;display:grid;gap:2px}
.ev .tx b{font-size:14px;line-height:1.35}
.ev .tx small{color:var(--muted);font-size:11px}
.ev .who{display:flex;gap:4px;flex-wrap:wrap}
.ev .who span{font-size:11px;background:var(--red-soft);color:var(--red);border-radius:99px;padding:0 8px;font-weight:800}
.ev img.ch{width:44px;height:56px;object-fit:contain;flex:none}
.prefbar{display:flex;gap:8px;align-items:center}
.prefbar select{font:inherit;font-weight:800;border:2px solid var(--line);border-radius:12px;padding:8px 10px;background:var(--card);color:var(--fg)}
.empty{background:var(--card);border-radius:16px;padding:16px;display:grid;gap:8px;justify-items:center;text-align:center}
.empty img{height:110px}
.who3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.who3 div{background:var(--card);border-radius:14px;padding:10px 6px;text-align:center;display:grid;gap:4px;justify-items:center;font-size:11px;font-weight:700}
.who3 img{height:64px}
.who3 b{font-size:12px}
.form{background:var(--card);border-radius:16px;padding:14px;display:grid;gap:10px}
.form label{display:grid;gap:4px;font-weight:800;font-size:13px}
.form input,.form select{font:inherit;border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--bg);color:var(--fg)}
.chk{display:flex;gap:6px;flex-wrap:wrap}
.chk label{display:flex;gap:4px;align-items:center;font-weight:700;background:var(--bg);padding:6px 10px;border-radius:99px}
.onb{position:fixed;inset:0;z-index:30;background:linear-gradient(180deg,#fff7e3,#fde8ec);display:grid;align-content:start;gap:14px;padding:28px max(18px,env(safe-area-inset-left,0px)) 24px;max-width:430px;margin:0 auto;overflow:auto}
.onb h1{text-align:center}
.roles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.roles button{border:3px solid transparent;background:#fff;border-radius:18px;padding:10px;display:grid;justify-items:center;gap:4px;font-family:inherit;font-weight:800;font-size:16px;color:var(--fg)}
.roles button img{height:110px}
.roles button.on{border-color:var(--red)}
.onb select{font:inherit;font-weight:800;font-size:17px;border:2px solid var(--line);border-radius:14px;padding:12px;background:#fff}
.vid1{position:relative;border-radius:16px;overflow:hidden}
.vid1 img{width:100%;aspect-ratio:16/9;object-fit:cover}
.vid1 .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
.vid1 .play svg{width:22px;height:22px;color:var(--red)}
.sub3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center;font-size:12px;font-weight:800}
.sub3 div{background:var(--card);border-radius:12px;padding:10px 4px;display:grid;gap:2px;justify-items:center}
.sub3 i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:12px}
.tile.ev-map div{font-size:8.5px}
.e0{background:#d5dae3;color:#7a8496!important}.e1{background:#f2b84b}.e2{background:var(--red)}
.linkrow{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:14px;padding:10px 12px;font-weight:800;font-size:14px;text-decoration:none;color:var(--fg)}
.linkrow img{width:40px;height:40px;object-fit:contain}
.linkrow span{flex:1}
.pastnote{font-size:11px;color:var(--muted);text-align:center}
.linkrow svg{width:16px;height:16px;flex:none;color:var(--teal)}

/* v6 予定まわり */
.ev{position:relative}
.ev .who .ty{background:var(--navy);color:#fff}
.ev .who .rc{background:var(--teal-soft);color:var(--teal)}
.ev .who .fo{background:var(--gold-soft);color:var(--gold)}
.gobtn{flex:none;width:56px;border:2px solid var(--red);background:#fff;color:var(--red);border-radius:14px;padding:6px 0;font-family:inherit;font-weight:800;font-size:10px;display:grid;justify-items:center;line-height:1.2}
.gobtn b{font-size:18px}
.gobtn.on{background:var(--red);color:#fff}
.seg{display:grid;grid-template-columns:1fr 1fr;background:#e3e7ef;border-radius:99px;padding:4px}
.seg button{border:none;background:none;border-radius:99px;padding:9px 0;font-family:inherit;font-weight:800;font-size:14px;color:var(--muted)}
.seg button.on{background:#fff;color:var(--red);box-shadow:0 1px 4px rgba(20,30,60,.12)}
.chips2{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.chips2 button{flex:none;border:1px solid var(--line);background:#fff;border-radius:99px;padding:6px 12px;font-family:inherit;font-weight:800;font-size:13px;color:var(--fg)}
.chips2 button.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.trip{display:flex;gap:10px;background:linear-gradient(135deg,#fff3d6,#fde8ec);border-radius:16px;padding:12px;align-items:center}
.trip img{height:90px}
.trip .f{flex:1;display:grid;gap:6px}
.trip select,.trip input{font:inherit;font-weight:700;border:1px solid var(--line);border-radius:10px;padding:7px;background:#fff;min-width:0}
.row2{display:flex;gap:4px;align-items:center}
.row2 input{flex:1;font-size:12px}
.prefbar select{flex:1}
.theme{display:flex;gap:10px;align-items:center;background:linear-gradient(135deg,#fde8ec,#fff3d6);border-radius:16px;padding:10px 12px}
.theme img{height:70px}
.theme .t{flex:1;display:grid;gap:2px}
.form label.inl{display:flex;gap:6px;align-items:center}
.sheet>div .btn{width:100%}

/* v7 */
.bell{position:relative;border:none;background:none;color:#fff;width:36px;height:36px;padding:6px}
.bell svg{width:24px;height:24px}
.bell i{position:absolute;top:2px;right:0;min-width:18px;height:18px;border-radius:99px;background:var(--yellow);color:#4a3a00;font-size:11px;font-style:normal;font-weight:800;display:grid;place-items:center;padding:0 4px}
.inbox{display:flex;gap:10px;background:var(--card);border-radius:14px;padding:10px 12px;align-items:flex-start}
.inbox img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:top;background:var(--red-soft);flex:none}
.inbox .t{flex:1;display:grid;gap:2px;font-size:13px}
.inbox .t b{font-size:14px}
.word{background:var(--card);border-radius:16px;padding:12px 14px;display:grid;gap:4px;border-left:6px solid var(--red)}
.word b{font-size:22px}.word i{font-style:normal;color:var(--muted);font-size:13px}
.gal{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}
.gal .g{background:var(--card);border-radius:12px;overflow:hidden;display:grid}
.gal .g .ph{aspect-ratio:3/4;background:linear-gradient(160deg,#fde8ec,#fff3d6);display:grid;place-items:end center}
.gal .g .ph img{height:88%}
.gal .g button{border:none;background:none;font-family:inherit;font-weight:800;font-size:12px;color:var(--red);padding:6px 0}
.gal .g button.on{background:var(--red);color:#fff}
.gal .g small{font-size:10px;text-align:center;color:var(--muted)}
.visit{background:linear-gradient(135deg,#2b3a55,#4a3a6a);color:#fff;border-radius:16px;padding:14px;display:grid;gap:8px}
.visit .row3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center}
.visit .row3 div{background:rgba(255,255,255,.12);border-radius:12px;padding:8px 4px;font-size:11px;font-weight:700}
.visit .row3 b{display:block;font-size:22px;color:var(--yellow)}
.ev .who .wk{background:#e6f0ff;color:#2a5bb5}
.rep{display:grid;gap:8px;width:100%}
.rep textarea{min-height:60px}
.tw .ev-tag{font-size:11px;color:var(--teal);font-weight:800}
.gal .g .ph{position:relative;overflow:hidden;display:block}
.gal .g .ph img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:92%;width:auto;max-width:none}
.paste{border:2px dashed var(--line)}.paste textarea{min-height:70px}
.ev.web .day{background:var(--navy)}
/* v9：文字を大きく・少なく（40〜70代が読める大きさ） */
body{font-size:17px}
h1{font-size:24px}
h2{font-size:19px}
h3{font-size:16px;margin:4px 0 0}
.muted{font-size:14px}
.tabs button{font-size:13px}
.ev .tx b{font-size:17px}
.ev .meta{font-size:14px;color:var(--muted);line-height:1.5}
.ev .day small{font-size:12px}
.ev .day b{font-size:24px}
.ev .who span{font-size:12px}
.ev .who .exm{background:#eee;color:#888}
.nw{white-space:nowrap}
.hint{font-size:14px;color:var(--muted);margin:0}
.gobtn{font-size:12px;width:60px}
.chips2.wrap{flex-wrap:wrap;overflow:visible}
.chips2 button{font-size:15px;padding:8px 14px}
.askpref{background:var(--card);border-radius:16px;padding:14px;display:grid;gap:10px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills button{border:2px solid var(--line);background:#fff;border-radius:99px;padding:10px 16px;font-family:inherit;font-weight:800;font-size:16px;color:var(--fg)}
.pills button.on{border-color:var(--red);color:var(--red)}
.onb{gap:12px;padding-bottom:120px}
.roles button{font-size:17px;padding:8px}
.roles button img{height:76px}
.onbfoot{position:fixed;left:0;right:0;bottom:0;max-width:430px;margin:0 auto;background:linear-gradient(180deg,rgba(255,247,227,0),#fde8ec 30%);padding:18px max(18px,env(safe-area-inset-left,0px)) calc(14px + env(safe-area-inset-bottom,0px));display:grid;gap:8px}
.stepbar{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.stepbar span{text-align:center;font-weight:800;font-size:14px;padding:8px 0;border-radius:99px;background:#e3e7ef;color:var(--muted)}
.stepbar span.on{background:var(--red);color:#fff}.stepbar span.done{background:var(--teal-soft);color:var(--teal)}
.form label{font-size:15px}
.form input,.form select{font-size:17px}
.dt{display:grid;gap:8px;text-align:left;width:100%}
.dt>b{font-size:19px;line-height:1.4}
.dt .badge{justify-self:start}
.dl{display:flex;gap:10px;font-size:16px;border-bottom:1px solid var(--line);padding-bottom:6px}
.dl span{flex:none;width:60px;color:var(--muted);font-weight:700}
.nimg{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.links{display:flex;gap:14px;justify-content:center;width:100%}
.links button{border:none;background:none;font-family:inherit;color:var(--teal);font-weight:800;font-size:14px;text-decoration:underline;padding:4px}
.sheet>div a.btn{text-align:center;text-decoration:none}
.sheet>div{max-height:88vh;overflow:auto}
.tw .rp{font-size:14px;background:var(--bg);border-radius:10px;padding:6px 10px}
.tw .re{gap:10px}
.tw .re button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:6px 12px;font-family:inherit;font-weight:800;font-size:14px;color:var(--red)}
.tw .re button.on{border-color:var(--red)}
.gal .g button.on{background:#fff;color:var(--red);outline:2px solid var(--red);outline-offset:-2px}
.theme{border:none;font-family:inherit;color:var(--fg);text-align:left;width:100%}
.theme svg{width:18px;height:18px;color:var(--teal)}
.news1{border:none;padding:0;width:100%;text-align:left;font-family:inherit;cursor:pointer}
.nrow{border:none;width:100%;text-align:left;font-family:inherit;cursor:pointer}
.nrow b{font-size:15px}
.sub3 svg{width:26px;height:26px;color:var(--red)}
.sub3 div{font-size:14px}
.hs.covers .pc{border:none;padding:0;text-align:left;font-family:inherit}
.hs.covers .cap b{font-size:13px}
.linkrow{font-size:16px}
.word b{font-size:24px}
/* v10 今日の練習・参加のしかた */
.prac{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pt{position:relative;display:flex;align-items:center;gap:8px;background:var(--card);border:2px solid var(--line);border-radius:16px;padding:10px;font-family:inherit;font-weight:800;font-size:15px;color:var(--fg);text-align:left;min-height:64px}
.pt img{width:44px;height:44px;object-fit:contain;flex:none}
.pt span{flex:1;line-height:1.3}
.pt i{position:absolute;top:6px;right:8px;font-style:normal;color:#fff;background:var(--teal);width:22px;height:22px;border-radius:50%;display:none;place-items:center;font-size:13px}
.pt.on{border-color:var(--teal);background:var(--teal-soft)}
.pt.on i{display:grid}
.week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.week div{display:grid;justify-items:center;gap:2px}
.week small{font-size:13px;color:var(--muted);font-weight:700}
.week i{width:30px;height:30px;border-radius:50%;background:#e3e7ef;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:13px;color:#fff}
.week .on i{background:var(--red)}
.week .today small{color:var(--red)}
.ways{display:grid;gap:8px;width:100%}
.way{display:grid;gap:2px;text-align:left;background:var(--card);border:2px solid var(--line);border-radius:14px;padding:12px 14px;font-family:inherit;color:var(--fg);text-decoration:none}
.way b{font-size:17px}
.way small{font-size:13px;color:var(--muted)}
#secNews .nrow{background:var(--card)}
/* v11 ニュース3つ・コース・掲示板・プロフィール */
.news3{display:grid;gap:10px}
.news3 .nrow{padding:10px;border-radius:16px;align-items:center}
.news3 .nrow img{width:110px;height:74px;border-radius:12px}
.news3 .nrow b{font-size:16px;line-height:1.4}
.cc{display:flex;gap:10px;align-items:center;background:var(--card);border-radius:16px;padding:10px}
.cc img{width:84px;height:56px;border-radius:10px;object-fit:cover;flex:none}
.cc .t{flex:1;min-width:0;display:grid;gap:3px}
.cc .t b{font-size:15px;line-height:1.3}
.cc .t .muted{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc .t small{font-size:12px;color:var(--muted)}
.cc .btn{flex:none;padding:10px 14px;font-size:14px}
.bar{height:8px;border-radius:99px;background:#e3e7ef;overflow:hidden}
.bar i{display:block;height:100%;border-radius:99px}
.cgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cg{background:var(--card);border-radius:14px;overflow:hidden;display:grid;gap:4px;padding-bottom:10px}
.cg img{width:100%;aspect-ratio:16/10;object-fit:cover}
.cg b{font-size:14px;padding:0 10px;line-height:1.35}
.cg small{font-size:12px;color:var(--muted);padding:0 10px}
.cg .btn{margin:0 10px;padding:8px;font-size:14px}
.cg .btn svg{width:18px;height:18px}
.disc{font-size:13px;color:var(--muted);background:var(--bg);border-radius:10px;padding:8px 10px;margin:0;text-align:left;width:100%}
.agree{font-weight:800;font-size:14px;background:var(--gold-soft);border-radius:10px;padding:8px}
.tw{align-items:flex-start}
.tw .av{cursor:pointer}
.tw .nm{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.tw .nm .who2{font-weight:800;font-size:15px;cursor:pointer}
.tw .nm small{font-size:12px;color:var(--muted);font-weight:400}
.tw .txt{font-size:16px;line-height:1.6}
.tw .ph{width:100%;border-radius:12px;aspect-ratio:4/3;object-fit:cover;max-height:none}
.tw .vid1.ph{aspect-ratio:auto}
.tw .rp{display:flex;gap:8px;align-items:flex-start;font-size:14px;background:var(--bg);border-radius:12px;padding:8px}
.tw .rp .av2{width:26px;height:26px;border-radius:50%;object-fit:cover;object-position:top;flex:none;background:#fff}
.morer{border:none;background:none;color:var(--teal);font-weight:800;font-family:inherit;font-size:14px;text-align:left;padding:2px 0}
.tw .re{align-items:center}
.tw .re .tg{margin-left:auto;font-size:12px;color:var(--teal);font-weight:800}
.compose .row2{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.compose .row2 select{font:inherit;font-size:14px;border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff}
.compose .row2 .btn{padding:8px 14px;font-size:14px}
.cm{position:relative}
.cm img,.cm video{width:100%;border-radius:12px;max-height:220px;object-fit:cover}
.cm button{position:absolute;top:6px;right:6px;border:none;background:rgba(0,0,0,.6);color:#fff;border-radius:50%;width:28px;height:28px;font-size:16px}
.prof2{justify-items:center;text-align:center}
.prof2 .big{width:110px;height:110px;border-radius:50%;object-fit:cover;object-position:top;background:var(--red-soft)}
.prof img[data-user]{cursor:pointer}
/* ===== v12 見た目の作り直し（Fableのダメ出し：色3つ・影なし・線で区切る・文字は大きく強弱をつける） ===== */
:root{--bg:#f6f4ef;--card:#fff;--fg:#1f2a44;--muted:#4d5870;--line:#e3e7ef;--navy:#1f2a44;--red:#c8102e;--chip:#eceef2}
body{background:#e9e6df;font-weight:500;color:var(--fg)}
.app{background:var(--bg)}
.top{background:#fff;color:var(--fg);height:52px;padding:0 16px;border-bottom:1px solid var(--line)}
.top h1{flex:1;font-size:22px;font-weight:800;margin:0}
.bell{color:var(--fg)}
.bell i{background:var(--red);color:#fff}
.view{gap:28px;padding:16px 16px 110px}
.sec{gap:12px}
h2{font-size:20px;font-weight:800}
h2 .more,.more{margin-left:auto;font-size:16px;color:var(--fg);font-weight:700;border:none;background:none;font-family:inherit;min-height:44px;padding:0 4px}
.muted,.hint{color:var(--muted);font-size:15px}
.badge{background:var(--chip);color:var(--fg);font-weight:700;font-size:13px}
.badge.y,.badge.t{background:var(--chip);color:var(--fg)}
.btn{box-shadow:none;border-radius:12px;min-height:52px;font-weight:800;font-size:16px;background:var(--red)}
.btn.sub{background:#fff;color:var(--fg);border:1.5px solid var(--fg);box-shadow:none}
.btn.teal{background:var(--red)}
.btn:disabled{opacity:.35}
input::placeholder,textarea::placeholder{color:#a9b1c0;font-weight:400}
input[type=checkbox]{width:24px;height:24px;accent-color:var(--red)}
/* 下のタブ */
.tabs{height:64px;box-shadow:none;border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr)}
.tabs button{font-size:14px;color:var(--muted);font-weight:700;position:relative;padding-top:6px}
.tabs svg{width:28px;height:28px}
.tabs button.on{color:var(--red)}
.tabs button.on::before{content:"";position:absolute;top:0;left:20%;right:20%;height:3px;border-radius:0 0 3px 3px;background:var(--red)}
.fab{position:fixed;right:max(16px,calc(50% - 215px + 16px));bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:7;width:64px;height:64px;border-radius:50%;border:none;background:var(--red);color:#fff;display:grid;place-items:center;align-content:center;gap:0;box-shadow:0 4px 14px rgba(200,16,46,.35);font-family:inherit}
.fab svg{width:24px;height:24px}.fab span{font-size:12px;font-weight:800}
/* カード：影なし・線1px・角丸12 */
.nrow,.ev,.cc,.lc,.notice,.empty,.form,.askpref,.card,.mapcard,.linkrow,.word{box-shadow:none;border:1px solid var(--line);border-radius:12px;background:#fff}
.news3 .nrow{padding:12px}
.news3 .nrow b{font-size:17px}
/* 予定カード */
.ev{padding:12px;gap:12px}
.ev .day,.ev.teacher .day,.ev.machimenco .day,.ev.general .day,.ev.web .day{background:var(--navy)}
.ev .who span,.ev .who .ty,.ev .who .rc,.ev .who .fo,.ev .who .wk{background:var(--chip);color:var(--fg);font-size:13px;font-weight:700}
.ev .who .ty{background:var(--navy);color:#fff}
.ev .tx b{font-size:17px}
.ev .meta{font-size:15px;color:var(--muted)}
.gocol{display:grid;justify-items:center;gap:2px;flex:none}
.gobtn{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--muted);display:grid;place-items:center;padding:0}
.gobtn svg{width:24px;height:24px}
.gobtn.on{color:var(--red);border-color:var(--red);background:#fff}
.gocol small{font-size:13px;color:var(--muted)}
.chips2 button{border-radius:999px;border:1.5px solid var(--line);font-weight:700}
.chips2 button.on{background:var(--navy);border-color:var(--navy)}
.disc{font-size:14px;background:var(--chip)}
.xclose{justify-self:start;border:none;background:none;font-family:inherit;font-weight:800;font-size:16px;color:var(--fg);padding:4px 0;min-height:44px}
.sheet>div{gap:12px;text-align:left;justify-items:stretch}
.sheet>div>img{justify-self:center}
.more2 summary{font-weight:800;color:var(--fg);cursor:pointer;min-height:44px;display:flex;align-items:center}
.links{flex-wrap:wrap;justify-content:flex-start}
.links.col{flex-direction:column;align-items:stretch}
.links.col button,.links button{font-size:16px;color:var(--fg);text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;text-align:left}
.dl{font-size:16px}
/* つづきのレッスン */
.lc{display:flex;gap:12px;align-items:center;padding:12px;width:100%;text-align:left;font-family:inherit;color:var(--fg);cursor:pointer}
.lc .th{position:relative;width:120px;flex:none}
.lc .th img{width:120px;height:68px;object-fit:cover;border-radius:10px}
.lc .th .play{position:absolute;inset:0;margin:auto;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
.lc .th .play svg{width:16px;height:16px;color:var(--red)}
.lc .t{flex:1;min-width:0;display:grid;gap:4px}
.lc .t b{font-size:16px;line-height:1.35}
.lc .t small{font-size:13px;color:var(--muted)}
.bar{height:8px;background:var(--chip)}
.bar i{background:var(--red)}
.bar.big{height:10px}
.chead{display:flex;align-items:center;gap:8px}
.chead h2{flex:1}
.link{border:none;background:none;font-family:inherit;font-weight:700;font-size:15px;color:var(--fg);text-decoration:underline;min-height:44px}
.lrow{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.lrow .ck{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--line);background:#fff;font-weight:800;font-size:14px;color:var(--muted);flex:none;font-family:inherit}
.lrow.done .ck{background:#2f8a5b;border-color:#2f8a5b;color:#fff;opacity:1}
.lrow .lt{flex:1;border:none;background:none;text-align:left;font-family:inherit;font-size:16px;color:var(--fg);padding:6px 0;min-height:44px}
.lrow.done .lt{color:var(--muted)}
.lrow .btn{min-height:44px;font-size:14px;padding:0 12px}
.crow{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px}
.crow img{width:80px;height:52px;object-fit:cover;border-radius:8px}
.crow .t{flex:1;display:grid}
.crow .btn{min-height:44px;font-size:14px;padding:0 12px}
.back{border:none;background:none;font-family:inherit;font-weight:800;font-size:16px;color:var(--fg);padding:0;min-height:44px;justify-self:start}
.player{position:relative;border-radius:12px;overflow:hidden;background:#000}
.player img{width:100%;aspect-ratio:16/9;object-fit:cover;opacity:.85}
.pbtn{position:absolute;inset:0;margin:auto;width:150px;height:56px;border-radius:999px;background:var(--red);color:#fff;border:none;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:800;font-size:16px;text-decoration:none;font-family:inherit}
.pbtn svg{width:20px;height:20px}
.askbox,.donebox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:10px}
.askbox .row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
/* 掲示板：X風（カードをやめて線で区切る） */
.tabs2{display:flex;border-bottom:1px solid var(--line);margin:-16px -16px 0;background:#fff}
.tabs2 button{flex:1;border:none;background:none;font-family:inherit;font-weight:800;font-size:16px;color:var(--muted);height:48px;position:relative}
.tabs2 button.on{color:var(--fg)}
.tabs2 button.on::after{content:"";position:absolute;left:30%;right:30%;bottom:0;height:3px;border-radius:3px;background:var(--red)}
.feed{gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
#tws.feed{margin:0 -16px;border-radius:0;border-left:none;border-right:none}
.tw{border-radius:0;border-bottom:1px solid var(--line);padding:14px 16px;gap:12px;background:#fff;box-shadow:none}
.tw:last-child{border-bottom:none}
.tw .av{width:44px;height:44px}
.tw .nm b{font-size:16px;font-weight:800;cursor:pointer}
.tw .nm small{font-size:13px;color:var(--muted)}
.tw .nm .dots{margin-left:auto;border:none;background:none;font-size:20px;color:var(--muted);width:36px;height:32px;line-height:1}
.tw .txt{font-size:17px;margin:2px 0;line-height:1.6}
.tw .ph{border-radius:12px;width:100%}
.vidph{position:relative}.vidph img{width:100%;border-radius:12px;aspect-ratio:16/9;object-fit:cover}
.vidph .play{position:absolute;inset:0;margin:auto;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
.vidph .play svg{width:20px;height:20px;color:var(--red)}
.acts{display:flex;gap:24px}
.acts button{border:none;background:none;display:flex;align-items:center;gap:6px;color:var(--muted);font-family:inherit;font-weight:700;font-size:15px;min-height:44px;padding:0}
.acts svg{width:22px;height:22px}
.acts button.on{color:var(--red)}
.replies{display:grid;gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.replies .rp{display:flex;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);font-size:16px;background:#fff;border-radius:0}
.replies .rp p{margin:2px 0 0}
.replies .rp .av2,.replybar .av2{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:top}
.replybar{position:sticky;bottom:72px;display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}
.replybar input{flex:1;font:inherit;font-size:16px;border:none;outline:none;min-width:0}
.replybar .btn{min-height:40px;padding:0 14px;font-size:15px}
.cbar{display:flex;justify-content:space-between;align-items:center}
.cbar .btn{min-height:44px;padding:0 18px}
.compose{border:none;padding:0;background:none}
.compose textarea{min-height:160px;font-size:17px;border:none;background:none;padding:6px}
.ctools{display:flex;gap:8px;align-items:center}
.ctools select{font:inherit;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
#snack{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:25;background:var(--navy);color:#fff;border-radius:12px;padding:12px 16px;display:flex;gap:14px;align-items:center;font-size:15px;max-width:400px;width:calc(100% - 32px)}
#snack span{flex:1}
#snack button{border:none;background:none;color:#ffd3d9;font-weight:800;font-family:inherit;font-size:15px}
/* マイページ */
.mehead{display:flex;gap:14px;align-items:center}
.mehead img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:top;background:var(--chip)}
.mehead b{font-size:22px;display:block}
.mehead small{font-size:15px;color:var(--muted)}
.menu{display:grid;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.menu button{border:none;border-bottom:1px solid var(--line);background:#fff;text-align:left;font-family:inherit;font-size:16px;font-weight:700;color:var(--fg);padding:16px}
.menu button:last-child{border-bottom:none}
.textlink{border:none;background:none;font-family:inherit;color:var(--muted);font-size:14px;text-decoration:underline;justify-self:center;min-height:44px}
.tw .ph.vidph{aspect-ratio:auto}
.lprog{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:8px}
.lprog .row{display:flex;justify-content:space-between;align-items:baseline}
.lprog .row b{font-size:17px}.lprog .row span{font-size:16px;font-weight:800;color:var(--red)}
.lprog small{font-size:14px;color:var(--muted)}
.dots2{display:grid;grid-template-columns:repeat(15,1fr);gap:4px}
.dots2 i{height:10px;border-radius:3px;background:var(--chip)}
.dots2 i.d{background:#2f8a5b}
.dots2 i.c{outline:2px solid var(--red);outline-offset:1px}

/* ===== 本番（vivafla.jp/lp/app/）11/20 ===== */
.frame{position:fixed;inset:0;z-index:40;background:var(--bg);display:flex;flex-direction:column;max-width:430px;margin:0 auto}
.frame[hidden]{display:none}
.frame .fbar{display:flex;align-items:center;gap:10px;min-height:52px;box-sizing:content-box;padding:0 12px;padding-top:env(safe-area-inset-top,0px);background:#fff;border-bottom:1px solid var(--line);flex:none}
.frame .fbar b{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.frame .fbar .xclose{position:static;flex:none}
.frame iframe{flex:1;width:100%;border:0;background:#fff}
.player iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;display:block;background:#000}
.instbar{display:flex;align-items:center;gap:4px;margin:10px 0 0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 6px 6px 10px}
.instbar>button:first-child{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;font-family:inherit;color:var(--fg);text-align:left;font-size:15px;padding:2px 0}
.instbar img{width:36px;height:36px;border-radius:9px;flex:none}
.instbar b{margin-left:auto;color:var(--red);font-size:15px;white-space:nowrap}
.instbar .x{background:none;border:0;font-size:20px;color:var(--muted);width:36px;height:36px;font-family:inherit}
.loginbar{display:flex;align-items:center;gap:8px;width:100%;margin:10px 0 0;background:var(--navy);color:#fff;border:0;border-radius:12px;padding:12px 14px;font-family:inherit;font-size:15px;text-align:left}
.loginbar b{margin-left:auto;white-space:nowrap}
.login{text-align:left}
.login b{font-size:19px}
.login input{width:100%;font-size:17px;padding:12px;border:1px solid var(--line);border-radius:10px;font-family:inherit;background:#fff}
.login .link{background:none;border:0;color:var(--navy);font-family:inherit;font-size:15px;text-align:left;padding:4px 0;text-decoration:underline}
.err{color:var(--red);font-size:15px;margin:0}
.kzgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kz{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;font-family:inherit;color:var(--fg);text-align:left}
.kz img,.kz .kzt{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:var(--chip)}
.kz .kzt{display:grid;place-items:center;font-size:13px;font-weight:800;padding:6px;text-align:center;overflow-wrap:anywhere}
.kz b{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
#myKyozai .link{background:none;border:0;color:var(--navy);font-family:inherit;font-size:15px;padding:10px 0 0;text-decoration:underline}
button.linkrow{width:100%;font-family:inherit;text-align:left;cursor:pointer}
.inst{text-align:left}
.inst .appic{width:72px;height:72px;border-radius:16px;justify-self:center}
.inst>b{text-align:center}
.inst ol{margin:4px 0 0;padding-left:1.4em;display:grid;gap:8px;font-size:16px;line-height:1.5}
.links.col a{display:block}
.links a{font-size:16px;color:var(--fg);text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
/* ---------- 現在地（マイページ・2026-11-20 試作） ---------- */
.gz h2 .gzsrc{margin-left:auto;font-size:13px;font-weight:700;color:var(--gold);background:var(--gold-soft);border-radius:99px;padding:2px 10px}
.gztiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gztiles div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 4px;text-align:center;display:grid;gap:2px}
.gztiles b{font-size:30px;line-height:1.1;color:var(--red);font-weight:800}
.gztiles b small{font-size:14px;color:var(--fg);margin:0 1px}
.gztiles span{font-size:14px;color:var(--muted);font-weight:700}
.gzc{gap:10px;border:1px solid var(--line)}
.gzc h3,.gznext h3{margin:0;font-size:17px}
.gztask{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.gztask li{display:grid;gap:4px;padding-left:14px;border-left:4px solid var(--red)}
.gztask b{font-size:16px;line-height:1.5}
.gztask span{font-size:15px;line-height:1.6;color:var(--fg)}
.gzsongs{display:flex;flex-wrap:wrap;gap:8px}
.gzsongs span{display:inline-flex;align-items:center;gap:6px;background:var(--bg);border-radius:99px;padding:7px 12px;font-size:15px}
.gzsongs span.now{background:var(--red-soft)}
.gzsongs small{font-size:13px;color:var(--muted);font-weight:700}
.gzl{border-top:1px solid var(--line);padding-top:10px}
.gzl:first-of-type{border-top:none;padding-top:0}
.gzl summary{font-weight:800;font-size:16px;min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.gzl summary::-webkit-details-marker{display:none}
.gzl summary::after{content:"＋";margin-left:auto;color:var(--muted);font-weight:700}
.gzl[open] summary::after{content:"－"}
.gzl summary small{font-size:13px;color:var(--muted);font-weight:700}
.gzb{display:grid;gap:4px;margin:0 0 12px}
.gzb i{font-style:normal;font-size:13px;font-weight:800;color:var(--teal)}
.gzb p{margin:0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.gzvid{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:99px;padding:10px 16px;font-family:inherit;font-weight:800;font-size:15px;color:var(--fg);justify-self:start;min-height:44px}
.gzvid svg{width:18px;height:18px;color:var(--red)}
.gzplayer iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;display:block}
.gzown{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gzown button{display:grid;gap:6px;border:none;background:none;padding:0;font-family:inherit;color:var(--fg);text-align:left}
.gzown img,.gznx img{aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:var(--bg)}
.gzown img{width:100%}
.gzown b{font-size:14px;line-height:1.4}
.gznext{display:grid;gap:8px}
.gznx{display:grid;grid-template-columns:112px 1fr 16px;gap:12px;align-items:center;background:#fff;border:2px solid var(--red);border-radius:16px;padding:12px;font-family:inherit;color:var(--fg);text-align:left}
.gznx img{width:112px}
.gznx div{display:grid;gap:3px;min-width:0}
.gznx small{font-size:13px;color:var(--red);font-weight:800}
.gznx b{font-size:16px;line-height:1.4}
.gznx span{font-size:14px;line-height:1.5;color:var(--muted)}
.gznx svg{width:16px;height:16px;color:var(--red)}
/* 検定（11/23） */
.ktbox{background:var(--card);border-radius:16px;padding:14px;margin:0 0 14px;display:grid;gap:10px}
.kthead{display:flex;justify-content:space-between;align-items:center}
.kthead b{font-size:16px}
.ktbadges{display:flex;flex-wrap:wrap;gap:8px}
.ktb{display:inline-block;padding:6px 14px;border-radius:99px;background:var(--gold-soft);color:var(--gold);border:2px solid var(--gold);font-weight:800;font-size:15px}
.ktb.ban{background:var(--teal-soft);color:var(--teal);border-color:var(--teal)}
.ktnew{display:flex;align-items:center;gap:8px;border:none;background:var(--red-soft);color:var(--red);border-radius:12px;padding:12px;font-weight:800;font-size:15px;font-family:inherit;text-align:left}
.ktnew i{width:10px;height:10px;border-radius:50%;background:var(--red);flex:none}
.ktdot{font-style:normal;font-size:12px;font-weight:800;background:var(--red);color:#fff;border-radius:99px;padding:2px 9px}
button.ktn{width:100%;text-align:left;font-family:inherit;color:var(--fg)}
button.ktn .btn{font-size:14px;padding:8px 16px}
.view>*{min-width:0}
.ev .tx{min-width:0;overflow-wrap:anywhere}
.vidph{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}
.ktb.sm{padding:1px 8px;font-size:11px;border-width:1.5px;margin-left:4px}

/* 11/30 */
.boot{display:none;padding:16px;gap:14px;flex-direction:column}
.view:empty+.boot{display:flex}
.boot i,.sk{display:block;height:96px;border-radius:16px;background:linear-gradient(90deg,#e9e7e0 25%,#f4f3ee 50%,#e9e7e0 75%);background-size:200% 100%;animation:skm 1.2s linear infinite}
@keyframes skm{to{background-position:-200% 0}}
.findq{width:100%;box-sizing:border-box;margin:12px 0 0;border:2px solid #e3e6ee;border-radius:16px;padding:13px 16px;font:inherit;font-size:16px;background:#fff;color:inherit}
a.linkrow{text-decoration:none;color:inherit}
