/* chinese.microfund.co.jp（中国語会話シミュレーション）。1ファイルだけ。外への取得なし（字は端末の字）。english.css を写して、ピンインの行を足した。
   決まり: いちばん小さい字 12px・押す所は 44px 以上・中国語のせりふは 18px・ピンインは 13px・スマホの幅（360・390px）で横にはみ出さない */
:root { --bg: #f5f7fb; --panel: #fff; --text: #1c2430; --muted: #566174; --border: #d5dbe6; --link: #1257b5;
        --good: #1f6a3f; --good-bg: #e9f7ee; --ok: #6b5200; --ok-bg: #fff6d8; --off: #9b2c2c; --off-bg: #fdecec; --rep: #1257b5; --rep-bg: #eaf2fd; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7;
       font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", "PingFang SC", Meiryo, sans-serif; }
a { color: var(--link); }
[hidden] { display: none !important; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 12px; background: var(--panel); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.brand img { display: block; border-radius: 6px; flex: 0 0 28px; }
.snd { flex: 0 0 auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 22px; background: var(--panel); color: var(--text); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.snd.off { color: var(--muted); background: #eef1f6; }
.main { max-width: 640px; margin: 0 auto; padding: 8px 12px 24px; }
h1 { font-size: 22px; line-height: 1.4; margin: 6px 0 6px; }
h2 { font-size: 17px; line-height: 1.5; margin: 18px 0 6px; }
p { margin: 0 0 10px; }
.lead { font-size: 16px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
.h-pick { margin-top: 10px; }

/* 最初の画面: 相手を選ぶ */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px 10px; background: var(--panel); border: 2px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); text-align: center; }
.partner:hover, .partner:focus-visible { border-color: var(--link); }
.partner-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.partner-label { font-size: 13px; color: var(--muted); line-height: 1.4; }
.partner-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 6px; padding: 4px 6px; border-radius: 10px; background: var(--link); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; }
.face { display: block; flex: 0 0 auto; }
.note { margin-top: 14px; padding: 10px 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; font-size: 14px; }
.note ul { margin: 0; padding-left: 1.2em; }
.note li { margin: 0 0 4px; }
.note p { margin: 8px 0 0; }
.more { display: inline-flex; align-items: center; min-height: 44px; }
.note-small { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* 舞台（場面の背景と、相手の全身）。枠は 360:200。スマホの幅で、高さは画面の 3割ほど（390px で 203px）。
   背景は <img>（/img/scene/*.svg）。人物は、その手前に重ねる SVG（templates/_body.html）。足元は、枠の下端より少し上 */
.stage { position: relative; aspect-ratio: 360 / 200; width: 100%; max-width: 432px; margin: 0 auto 6px; border-radius: 12px; overflow: hidden;
         background: #dfe7f1; border: 1px solid var(--border); }
.stage-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.stage .char { position: absolute; left: 14%; bottom: 1.5%; height: 93%; width: auto; }
.char { display: block; overflow: visible; }
.partner-fig { display: block; height: 132px; }
.partner-fig .char { height: 100%; width: auto; margin: 0 auto; }
/* 口と体の動き。話し始めの 3秒ほどだけ（音が鳴っている間に合わせるのは game.js＝html に talking が付いている間）。動きを減らす設定の端末では、止める */
.char-talk { opacity: 0; transform-box: fill-box; transform-origin: center; }
.char-bob { transform-box: fill-box; transform-origin: center bottom; }
@keyframes char-talk { 0%, 100% { opacity: 0; transform: scaleY(.3); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes char-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-1.2px) rotate(.7deg); } }
.stage .char-talk { animation: char-talk .34s ease-in-out 9; }
.stage .char-bob { animation: char-bob 1.5s ease-in-out 2; }
.snd-js .stage .char-talk, .snd-js .stage .char-bob { animation: none; }
.snd-js.talking .stage .char-talk { animation: char-talk .34s ease-in-out infinite; }
.snd-js.talking .stage .char-bob { animation: char-bob 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .stage .char-talk, .stage .char-bob, .snd-js.talking .stage .char-talk, .snd-js.talking .stage .char-bob { animation: none; }
}

/* 会話 */
.scene { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }
.scene-tag { display: inline-block; padding: 0 8px; margin-right: 4px; border-radius: 999px; background: #e3e8f1; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.said { display: flex; flex-direction: row-reverse; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.said-who { flex: 0 0 44px; display: flex; flex-direction: column; align-items: center; }
.said-bubble { flex: 1 1 auto; min-width: 0; padding: 6px 12px; border-radius: 14px 4px 14px 14px; border: 1px solid var(--border); border-right-width: 5px; background: var(--panel); }
.said p { margin: 0; }
.said-en { font-size: 18px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.said-note { font-size: 15px; line-height: 1.5; color: var(--text); margin-top: 2px; }
.said-good .said-bubble { border-right-color: var(--good); background: var(--good-bg); }
.said-ok .said-bubble { border-right-color: #b98900; background: var(--ok-bg); }
.said-off .said-bubble { border-right-color: var(--off); background: var(--off-bg); }
.said-repeat .said-bubble { border-right-color: var(--rep); background: var(--rep-bg); }
.who { display: inline-block; padding: 0 6px; border-radius: 6px; background: rgba(0,0,0,.07); font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.grade { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.6; color: #fff; white-space: nowrap; vertical-align: 2px; }
.grade-good { background: var(--good); }
.grade-ok { background: #8a6a00; }
.grade-off { background: var(--off); }
.talk { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.talk-who { flex: 0 0 44px; display: flex; flex-direction: column; align-items: center; }
.talk-name { font-size: 12px; font-weight: 700; line-height: 1.5; }
.bubble { flex: 1 1 auto; min-width: 0; position: relative; padding: 6px 12px 2px; background: var(--panel); border: 1px solid var(--border); border-radius: 4px 14px 14px 14px; }
.bubble p { margin: 0; }
.tag { font-size: 12px; font-weight: 700; color: var(--rep); line-height: 1.5; }
.line { font-size: 18px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.bubble-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 10px; margin-top: 2px; }
.replay { min-height: 44px; padding: 0 12px; border: 1px solid var(--link); border-radius: 22px; background: var(--panel); color: var(--link); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.tr { font-size: 14px; }
.tr > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--link); cursor: pointer; font-size: 14px; }
.tr p { margin: 0 0 4px; line-height: 1.6; }
.bubble .tr[open] { flex: 1 1 100%; }
.choices-h { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 3px; font-weight: 700; }
.choices ul { list-style: none; margin: 0; padding: 0; }
.choices li { margin: 0 0 5px; }
.choice { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; min-height: 44px; padding: 4px 12px; background: var(--panel); border: 2px solid var(--link); border-radius: 12px; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.choice:hover, .choice:focus-visible { background: #eaf2fd; }
.choice-tried { border-color: var(--border); color: var(--muted); background: #eef1f6; font-weight: 400; }
.tried-en { text-decoration: line-through; }
.tried { font-size: 12px; white-space: nowrap; }
.choice-repeat { border-style: dashed; background: var(--rep-bg); }
.repeat-label { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--rep); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.tr-choices ul { list-style: disc; padding-left: 1.2em; }
.tr-choices li { margin: 0 0 6px; line-height: 1.5; }

/* 終わり・ふり返り */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.btn { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 14px; border-radius: 12px; border: 2px solid var(--link); background: var(--panel); color: var(--link); font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center; }
.btn-main { background: var(--link); color: #fff; }
.review { padding: 10px 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.review h1 { font-size: 19px; margin: 0; }
.review-scene { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.review-repeat { font-size: 14px; margin: 0 0 8px; }
.review-list { margin: 0; padding-left: 0; list-style: none; }
.review-list > li { margin: 0 0 12px; }
.review-line { font-size: 15px; line-height: 1.55; margin: 0 0 6px; }
.review-tr { font-size: 13px; color: var(--muted); line-height: 1.5; }
.review-tr-said { margin: -2px 52px 10px 4px; text-align: right; }
.review .said { margin-bottom: 6px; }
.phrases { margin: 0; padding-left: 1.2em; }
.phrases li { margin: 0 0 6px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.phrases .review-tr { font-weight: 400; }
.sec ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.sec li { margin: 0 0 6px; }

/* 下の欄 */
.foot { max-width: 640px; margin: 0 auto; padding: 12px 12px 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.foot p { margin: 6px 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.foot li a, .footer-lang a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-lang { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-lang a.on { font-weight: 700; color: var(--text); text-decoration: none; }
.svc-title { font-size: 13px; margin: 8px 0 0; }
@media (min-width: 700px) {
  .main { padding-top: 18px; }
  .line { font-size: 20px; }
}

/* ふり返り: 自分の返事の声を聞くボタン・いちばん下のボタンの並び */
.said-tools { margin-top: 4px; }
.actions-bottom { margin-top: 14px; }

/* 最初の画面: 街の絵と、だれか分からない人の影・「始める」のボタン。場面の始まり: 相手が、横から入ってくる（0.5秒。動きを減らす設定では、無し） */
.stage-start .stage-bg { opacity: .78; }
.btn-start { font-size: 18px; min-height: 52px; }
@keyframes char-enter { 0% { transform: translateX(-170%); } 100% { transform: translateX(0); } }
.stage-enter .char { animation: char-enter .5s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .stage-enter .char { animation: none; } }

/* 返事の後の画面: 「あなた」の箱が大きくなった分、舞台を低くする（360:150。背景は下に合わせて切る）＝1画面目に、返事の 1つ目まで入れるため */
.stage-short { aspect-ratio: 360 / 150; }
.stage-short .stage-bg { object-fit: cover; object-position: center bottom; }
.review .talk-row { margin-bottom: 6px; }
.review .line { font-size: 17px; }

/* chinese で足した物: ピンイン（声調つき。せりふ・返事・ボタンの下に、小さく）と、出す・隠すの切り替え */
.py { font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; margin: 0; }
.said .py { color: #3c4656; }
.choice { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.c-zh { display: block; }
.c-py { display: block; font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.py-switch { margin: 2px 0 0; }
.py-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14px; }
.phrases .py { font-weight: 400; }
.review .py-switch { margin-top: 6px; }

/* スマホの幅: ピンインの行の分だけ縦に長いので、返事の 1つ目が 1画面目（640px）に入るように詰める（2026-10-06 15:05。字の大きさは変えない）。
   返事の後の舞台を 360:132 に・箱の間と内側の余白を 2px ずつ・ひとことの行の間を少し */
@media (max-width: 480px) {
  .stage-short { aspect-ratio: 360 / 132; }
  .scene { margin-bottom: 4px; }
  .stage { margin-bottom: 4px; }
  .said, .talk { margin-bottom: 4px; }
  .said-bubble { padding: 4px 12px; }
  .bubble { padding-top: 4px; }
  .said-note { line-height: 1.42; margin-top: 1px; }
  .said .py, .bubble .py { line-height: 1.35; }
  .choices-h { margin-bottom: 2px; }
}

/* 試作: 注釈の箱（絵なし）・相手の紹介の札・切り替えの並び */
.ann { margin: 8px 0 0; padding: 8px 12px; background: #f6f3e8; border: 1px solid #e0d8bd; border-radius: 12px; }
.ann-h { font-size: 13px; line-height: 1.5; margin: 0 0 4px; color: var(--muted); }
.ann ul, .card-list { list-style: none; margin: 0; padding: 0; }
.ann li, .card-list li { margin: 0 0 6px; font-size: 14px; line-height: 1.55; }
.ann-kind { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.7; color: #fff; white-space: nowrap; background: #5b6472; }
.ann-grammar { background: #2f6f8f; } .ann-origin { background: #7a5a2b; } .ann-mixup { background: #9b2c2c; }
.ann-term { font-size: 16px; font-weight: 700; }
.ann-py { font-size: 13px; color: var(--muted); }
.switches { display: flex; flex-wrap: wrap; gap: 0 18px; }
.card { margin: 0 0 12px; padding: 10px 12px; background: var(--panel); border: 2px solid #c9b7ea; border-radius: 12px; }
.card-h { font-size: 13px; margin: 0 0 6px; color: var(--muted); }
.card-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.card-name { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.35; }
.card-name .py { display: inline; font-size: 14px; }
.card-label { font-size: 14px; font-weight: 700; color: #6a54a3; }
.card-about { font-size: 15px; line-height: 1.6; margin: 0 0 6px; }
.review .ann { margin: 0 0 6px; }
.ann-fold > summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); cursor: pointer; font-size: 14px; }
.ann-fold { padding-top: 0; padding-bottom: 0; }
.ann-fold[open] { padding-bottom: 8px; }

/* 声が読んでいる語の反転（game.js が .hl を付け外しする）。簡体字の行と、ピンインの行の、同じ語を一緒に。地と字の色を入れ替える。
   字の幅・行の高さは変えない（箱の影で、色の面だけ少し広げる）。読み終わった語は、元に戻す。白い字（#fff）と地（#1c2430）の差は 15:1 ほど */
.w.hl { background: var(--text); color: #fff; border-radius: 3px; box-shadow: 0 0 0 2px var(--text); }
/* 簡体字は、語の間に空白が無いので、影で広げると、となりの字に掛かる＝影なし（ピンインは、語の間が空いているので、影つきのまま） */
.line .w.hl, .said-en .w.hl { box-shadow: none; border-radius: 2px; }

/* 2026-10-06 17:0x: 「あなた」の箱を、相手と同じ左に（印が左・吹き出しが右）。見分けは、印の絵と色・太字の名前・吹き出しの地の色。色の帯は、左の辺に。
   自分の返事の訳（.said-tr）は、ピンインの下に、初めから出す（小さめ・薄め） */
.said { flex-direction: row; }
.said-bubble { border-radius: 4px 14px 14px 14px; border-right-width: 1px; border-left-width: 5px; }
.said-good .said-bubble { border-right-color: var(--border); border-left-color: var(--good); }
.said-ok .said-bubble { border-right-color: var(--border); border-left-color: #b98900; }
.said-off .said-bubble { border-right-color: var(--border); border-left-color: var(--off); }
.said-repeat .said-bubble { border-right-color: var(--border); border-left-color: var(--rep); }
.said-who .talk-name, .talk-who .talk-name { font-weight: 800; }
.said .said-tr { font-size: 13px; line-height: 1.45; color: var(--muted); }
/* 訳の 1行が増えた分、スマホの幅では、返事の後の舞台を、もう少し低く（360:132 → 360:120）＝返事の 1つ目を 1画面目に入れる */
@media (max-width: 480px) { .stage-short { aspect-ratio: 360 / 120; } }

/* 2026-10-06 深夜: 始めるの画面を無くした。会話の画面の下の断り（小さく・いつも）と、声を自動で鳴らせなかった時の「▶ 声を聞く」（目立つ形） */
.note-play { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.note-play li { margin: 0 0 2px; }

/* 2026-10-06 深夜: 会話が終わったら、次の場面へ自動で進む。知らせと「止める」・畳んだふり返り・進んだ先の「前の会話のふり返り」 */
.auto-next { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; padding: 6px 12px; background: var(--rep-bg); border: 1px solid #b9cdee; border-radius: 12px; font-size: 15px; font-weight: 700; }
.auto-stop { min-height: 44px; padding: 0 14px; border: 2px solid var(--link); border-radius: 22px; background: var(--panel); color: var(--link); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.review-fold { margin: 0 0 12px; }
.review-fold > summary { display: flex; align-items: center; min-height: 46px; padding: 0 12px; border: 2px solid var(--link); border-radius: 12px; background: var(--panel); color: var(--link); font-weight: 700; font-size: 16px; cursor: pointer; }
.review-fold[open] > summary { margin-bottom: 10px; }
.prev-review { margin: 0 0 2px; font-size: 13px; }
.prev-review a { display: inline-flex; align-items: center; min-height: 44px; }
.review-fold:not([open]) ~ .actions-bottom { display: none; }   /* ふり返りを畳んでいる間は、下の「次の場面へ」（上と同じボタン）を出さない */

/* 2026-10-07: 「▶ 声を聞く」の目立つボタンをやめた。声が止められている間だけ、吹き出しの中に、消音の小さい絵と 1行（ボタンではない） */
.tap-hint { display: flex; align-items: center; gap: 4px; margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.tap-ico { flex: 0 0 16px; }

/* 2026-10-07: いちばん上の、短い説明と断り（全部の会話の画面・畳まない・12px）。箱の全体が /about へのリンク。場面の説明の文は、濃い字で */
.note-top { display: block; min-height: 44px; margin: 0 0 6px; padding: 3px 8px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); text-decoration: none; }
.note-top-more { color: var(--link); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.scene-intro { color: var(--text); }

/* 2026-10-07: 会話が終わった画面の、次の行き先の選択肢（返事の選択肢と同じ形）。小さい道＝同じ場面をもう一度 */
.choices-next { margin: 6px 0 10px; }
.choices-next .auto-next { margin: 6px 0 0; font-size: 13px; font-weight: 400; }
.next-sub { margin: 0; font-size: 14px; }

/* 2026-10-07: 場面ごとの読めるページ（/scenes・/scenes/<場面>）。JavaScript なしで全部読める・畳まない */
.sp-intro { font-size: 15px; line-height: 1.7; margin: 0 0 8px; }
.sp-img { display: block; width: 100%; max-width: 432px; height: auto; margin: 0 auto 4px; border-radius: 12px; }
.sp-turn h2 { margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--border); }
.sp-turn h3 { font-size: 14px; line-height: 1.5; margin: 12px 0 4px; color: var(--muted); }
.sp-bubble { padding-bottom: 8px; border-radius: 14px; }
.sp-who { font-size: 12px; font-weight: 700; color: var(--muted); }
.sp-by, .sp-choices, .sp-list { list-style: none; margin: 0; padding: 0; }
.sp-by li { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.sp-name { display: inline-block; padding: 0 8px; margin-right: 2px; border-radius: 999px; background: #e3e8f1; font-size: 12px; font-weight: 700; line-height: 1.7; }
.sp-choices li { margin: 0 0 8px; padding: 8px 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.sp-choices p { margin: 0; }
.sp-en { font-size: 17px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.sp-note { font-size: 14px; line-height: 1.6; margin-top: 4px !important; }
.sp-list li { margin: 0 0 6px; }
.sp-link { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; font-weight: 700; }
.sp-py { font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.sp-sub { margin: 0 0 8px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sp-tight { margin-top: 6px; }


/* 2026-10-07 夜: 会話の画面の下の「ほかの場面」のボタン（社長「下のボタンに他の場面に行くボタンを追加してください。」）。返事のボタン（青い太い枠）より控えめに＝細い枠・ふつうの太さ */
.others { margin: 14px 0 4px; padding-top: 10px; border-top: 1px solid var(--border); }
.others-h { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 4px; font-weight: 700; }
.others ul { list-style: none; margin: 0; padding: 0; }
.others li { margin: 0 0 6px; }
.other-go { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; color: var(--link); text-decoration: none; font-size: 15px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.other-go:hover, .other-go:focus-visible { background: #eaf2fd; }
/* 2026-10-07 夜: 下の欄の「ほかのシミュレーション」のリンクの、押す所の高さ（18px だった＝check_ui.py が見つけた。44px に） */
.sims a { display: inline-flex; align-items: center; min-height: 44px; }

/* 下の欄の、アプリ横丁へのボタン（2026-10-07 夜 社長「各画面のフッターには、アプリ横丁へのボタンリンクを」。枠と濃い字・塗りなし・44px 以上。
   templates/base.html で、行き先が app.microfund.co.jp の行にだけ class="app-btn"。外す: この 2行と、base.html の class を消す） */
.svc-list a.app-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 46px; max-width: 100%; margin: 4px 0 6px; padding: 8px 20px; border: 1px solid var(--muted); border-radius: 10px; background: var(--panel); color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
