/* トップページ・読み物ページ用：やわらかいデザイン（body.top-soft のページだけに効く） */
body.top-soft{background:#f4f6f8;font-family:"Noto Sans JP","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;letter-spacing:.02em;line-height:1.8;color:#1d2733}
.top-soft a{color:#1f5f8b}

/* ページ全体 */
.top-soft .mwrap{max-width:1100px;padding:20px 20px 56px}

/* 仕訳ドリルのカード */
.top-soft .drill-card{background:#fff;border:1px solid #d7e0e7;border-radius:18px;padding:22px 24px;margin:8px 0 20px}
.top-soft .drill-tag{display:inline-block;font-size:12px;font-weight:700;color:#1f5f8b;background:#e3eef6;padding:3px 12px;border-radius:999px;margin-bottom:8px}
.top-soft .drill-card h2{font-size:20px;margin:2px 0 8px;border:0;padding:0;background:none}
.top-soft .drill-card h2 a{color:#143f5c;text-decoration:none}
.top-soft .drill-card p{font-size:14.5px;color:#3b4a58;margin:0 0 14px;line-height:1.8}
.top-soft .drill-links{display:flex;flex-wrap:wrap;gap:10px}
.top-soft .drill-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;background:#eef3f7;color:#1f5f8b}
.top-soft .drill-links a.pri{background:#1f5f8b;color:#fff}
.top-soft .drill-links a:hover{opacity:.88}

/* ヒーロー */
.top-soft .mhero{background:#fff;border:1px solid #d7e0e7;border-radius:22px;padding:30px 28px 26px;margin:0 0 24px}
.top-soft .mhero h1{font-size:32px!important;font-weight:700!important;letter-spacing:.04em!important;color:#143f5c}
.top-soft .mhero .sub{color:#4a5a69;letter-spacing:.12em;margin-bottom:16px}
.top-soft .mhero p{color:#3b4a58;font-size:15px;line-height:1.9}
.top-soft .mhero .chips{border-top:0;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.top-soft .mhero .chips a,.top-soft .mhero .chips a:link,.top-soft .mhero .chips a:visited{padding:10px 20px;min-height:44px;box-sizing:border-box;border:0;border-radius:999px;background:#eef3f7;color:#1f5f8b;font-size:14.5px;font-weight:700;letter-spacing:.03em}
.top-soft .mhero .chips a:after{display:none}
.top-soft .mhero .chips a:hover{background:#1f5f8b;color:#fff}
.top-soft .msearch.hero{background:#f4f8fb;border:0;border-radius:16px}
.top-soft .msearch-box{border-radius:999px;overflow:hidden;border-color:#c5d3de}
.top-soft .msearch-mode button{border-radius:999px}

/* 見出しとカード */
.top-soft .mart h2{background:#e3eef6;color:#143f5c;border:0!important;border-left:0!important;border-radius:14px!important;padding:12px 20px!important;font-size:18px!important;margin:40px 0 16px!important}
.top-soft .mart .mtree-g{background:#fff!important;border:1px solid #d7e0e7!important;border-radius:16px!important;box-shadow:none!important}
.top-soft .mart .mtree-t{border-left:0!important;border-bottom:0!important;padding:0 0 4px!important;color:#143f5c!important}
.top-soft .mart .mtree-g li{border-bottom:1px solid #eaf0f5!important}
.top-soft .mart .mtree-g li a{border-radius:10px;color:#24323f!important}
.top-soft .mart .mtree-g li a::after{color:#1f5f8b}
.top-soft .mart .mtree-g li a:hover{background:#eef3f7!important;color:#1f5f8b!important;box-shadow:none}

/* 学ぶ順番ガイド・無料ツール */
.top-soft .mp-road{border-left:2px solid #b9cfe0}
.top-soft .mp-road li:before{background:#1f5f8b}
.top-soft .mp-road a,.top-soft .mp-road a:link,.top-soft .mp-road a:visited{background:#fff;border:1px solid #d7e0e7;border-radius:14px;padding:12px 16px;margin:0 0 10px;color:#143f5c}
.top-soft .mp-road em{border-color:#c5d3de;background:#f4f8fb;color:#4a5a69}
.top-soft .mp-tools{border-top:0;gap:10px}
.top-soft .mp-tools a,.top-soft .mp-tools a:link,.top-soft .mp-tools a:visited{background:#fff;border:1px solid #d7e0e7;border-radius:14px;padding:12px 16px;color:#143f5c}
.top-soft .mp-tools a:hover{border-color:#1f5f8b}
.top-soft .mp-tools a:hover b{text-decoration:none}
.top-soft .mportal .mp-lead,.top-soft .mp-note{color:#4a5a69}

/* 新着 */
.top-soft .new-articles{background:#fff;border:1px solid #d7e0e7;border-radius:16px;padding:16px 20px}

/* 案内図（読み物・理論解説ページ） */
.top-soft .town{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0 28px}
.top-soft .town-card{background:#fff;border:1px solid #d7e0e7;border-radius:18px;padding:18px 20px}
.top-soft .town-card.wide{grid-column:1/-1}
.top-soft .town-ask{font-size:12.5px;font-weight:700;color:#1f5f8b;background:#e3eef6;display:inline-block;padding:2px 12px;border-radius:999px;margin:0 0 8px}
.top-soft .town-card h2{background:none!important;padding:0!important;margin:0 0 6px!important;font-size:18px!important;color:#143f5c}
.top-soft .town-card p{font-size:14px;color:#3b4a58;line-height:1.8;margin:0 0 10px}
.top-soft .town-card ul{list-style:none!important;margin:0!important;padding:0!important}
.top-soft .town-card li{margin:0!important;padding:0!important;border-top:1px solid #eaf0f5}
.top-soft .town-card li a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 6px;min-height:44px;box-sizing:border-box;font-size:14.5px;text-decoration:none;color:#24323f;border-radius:10px}
.top-soft .town-card li a small{display:block;font-size:12px;color:#5a6a78}
.top-soft .town-card li a:after{content:"→";color:#1f5f8b;flex:none}
.top-soft .town-card li a:hover{background:#eef3f7;color:#1f5f8b}
.top-soft .town-card.sister{background:#f1f7fb}
.top-soft .crumb{font-size:13px;color:#4a5a69;margin:0 0 8px}
.top-soft .crumb a{color:#4a5a69}

@media(max-width:768px){
  .top-soft .mwrap{padding:14px 12px 40px}
  .top-soft .mhero{padding:22px 18px 20px;border-radius:18px}
  .top-soft .mhero h1{font-size:26px!important}
  .top-soft .town{grid-template-columns:1fr}
}
