:root{font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;line-height:1.6;color:#132035;background:linear-gradient(160deg,#f7fafc,#ebf4ff 60%,#fff4ea)}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}.layout{min-height:100vh;padding:18px 14px;display:grid;place-items:center}.layout-top{place-items:start center}.card{width:100%;max-width:980px;background:#fff;border:1px solid #e4e4de;border-radius:18px;padding:18px 16px;box-shadow:0 10px 26px #1111110d}.card h1{margin:0 0 10px;font-size:clamp(1.3rem,6vw,2rem)}.card h2{margin:24px 0 10px;font-size:1.05rem}.portal-like{display:grid;gap:22px}.top-nav{display:grid;gap:8px;border-bottom:1px solid #ecece6;padding-bottom:14px}.site-mark{margin:0;font-size:.9rem;font-weight:800;letter-spacing:.03em}.top-nav nav{display:flex;flex-wrap:wrap;gap:10px;font-size:.82rem;color:#505048}.kicker{margin:0 0 4px;color:#66665f;font-size:.78rem;font-weight:700}.meta-grid{margin:12px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.meta-grid div{background:#fff;border-radius:10px;padding:8px;border:1px solid #dbe6f4}.meta-grid dt{font-size:.75rem;color:#475569}.meta-grid dd{margin:2px 0 0;font-weight:800}.home-section{margin-top:8px}.featured-thumb-link{margin:18px 0 14px;display:grid;gap:10px;border-radius:14px;padding:14px;color:#111;border:1px solid #d7d7d0;background:#fff;box-shadow:0 6px 18px #1111110a;transition:transform .18s ease,box-shadow .18s ease;position:relative}.featured-thumb-link:before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;height:4px;border-radius:14px 14px 0 0;background:#111;pointer-events:none}.featured-thumb-link:hover{transform:translateY(-1px);box-shadow:0 10px 24px #11111114}.featured-thumb-image{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:10px;display:block;background:#edede7}.diagnosis-thumbnail{position:relative;overflow:hidden;border-radius:10px;margin-bottom:6px}.diagnosis-thumbnail:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000000a 28%,#000000bd);pointer-events:none}.diagnosis-thumbnail-title{position:absolute;left:12px;right:12px;bottom:10px;z-index:1;color:#fff;font-size:clamp(.92rem,2.6vw,1.08rem);font-weight:800;line-height:1.35;letter-spacing:.01em;text-shadow:0 1px 8px rgba(0,0,0,.34)}.question-hero-thumbnail .diagnosis-thumbnail-title{left:16px;right:16px;bottom:14px;font-size:clamp(1.05rem,4vw,1.4rem)}.featured-thumb-link h3{margin:2px 0;font-size:1rem}.featured-thumb-link p{margin:0;color:#494942;font-size:.86rem}.recommend-section{margin-top:20px}.recommend-section h3{margin:0 0 8px;font-size:.98rem}.recommend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.featured-thumb-link.is-dummy{cursor:default;opacity:.88}.thumb-carousel{width:100%;margin-top:6px}.thumb-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:8px 4px;scrollbar-width:none;-ms-overflow-style:none;align-items:stretch}.thumb-track::-webkit-scrollbar{display:none}.portal-slide-card{flex:0 0 84%;scroll-snap-align:start;margin:0;min-height:100%}.thumb-card{flex:0 0 86%;scroll-snap-align:start;border-radius:14px;padding:14px;min-height:146px;border:1px solid #d9e4f2;display:grid;align-content:start;gap:8px;color:#1e293b}.thumb-card.active{color:#fff}.tone-a{border-color:#bcc8d8}.tone-b{border-color:#e0c1cb}.tone-c{border-color:#ded2a2}.tone-d{border-color:#bdd1db}.tone-e{border-color:#d2c7e2}.tone-f{border-color:#c0d7c6}.tone-a:before{background:#314f78}.tone-b:before{background:#bb5f81}.tone-c:before{background:#a07c1d}.tone-d:before{background:#447b94}.tone-e:before{background:#7760ab}.tone-f:before{background:#427d58}.thumb-badge{width:fit-content;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:700;background:#111;color:#fff}.thumb-card h3{margin:2px 0;font-size:.98rem}.thumb-card p{margin:0;font-size:.86rem}.thumb-card.active p{color:#dbeafe}.thumb-cta{margin-top:8px;width:fit-content;border:0;border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:700;background:#fff;color:#0f172a;cursor:pointer}.thumb-note{margin-top:8px;font-size:.78rem;font-weight:700;color:#334155}.thumb-dots{margin-top:14px;display:flex;justify-content:center;gap:8px}.thumb-dot{width:8px;height:8px;border:0;border-radius:50%;background:#d0d0c9;cursor:pointer}.thumb-dot.is-active{background:#111;transform:scale(1.25)}.question-hero{margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #dbe6f4}.question-hero h2{margin:0 0 10px;font-size:clamp(1rem,4.4vw,1.8rem);line-height:1.35;letter-spacing:.01em;word-break:keep-all;overflow-wrap:anywhere}.question-hero-image{width:100%;max-height:320px;border-radius:8px;display:block;object-fit:cover}.filter-block{margin-top:8px;display:grid;gap:14px}.tag-list{display:flex;flex-wrap:wrap;gap:10px}.tag-chip{border:1px solid #d0d0c9;background:#fff;color:#1d1d1b;border-radius:999px;font-size:.8rem;padding:5px 11px;cursor:pointer}.tag-chip.is-selected{background:#111;color:#fff;border-color:#111}.search-box{display:grid;grid-template-columns:1fr auto;gap:10px}.search-box input{min-width:0;border:1px solid #d7d7d0;border-radius:10px;padding:8px 10px;font-size:.86rem;color:#111}.search-box button{border:0;border-radius:10px;padding:0 12px;background:#111;color:#fff;font-size:.82rem;cursor:pointer}.result-list{margin-top:18px;display:grid;gap:12px}.result-card{border-radius:12px;border:1px solid #d8e4f2;padding:12px}.result-card h3{margin:0 0 4px;font-size:.95rem}.result-card p{margin:0;font-size:.84rem}.result-meta{color:#66665f;margin-bottom:4px;font-size:.78rem}.result-link{margin-top:8px;display:inline-block;font-weight:700;font-size:.82rem;color:#1d4ed8}.result-disabled{margin-top:8px;display:inline-block;font-size:.8rem;color:#334155}.empty-note{margin:0;color:#66665f;font-size:.84rem}.diagnosis-detail{margin-top:10px;margin-bottom:14px;padding:10px 12px;border:1px solid #dbe6f4;border-radius:12px;background:#f8fbff}.diagnosis-detail h2{margin:0 0 6px;font-size:.95rem}.diagnosis-detail p{margin:0;font-size:.84rem;color:#334155}.diagnosis-detail p+p{margin-top:4px}.progress-label{font-weight:700;margin:0 0 6px}.progress-track{width:100%;height:8px;border-radius:999px;background:#e5edf9;overflow:hidden;margin-bottom:16px}.progress-bar{display:block;height:100%;background:linear-gradient(90deg,#0ea5e9,#f59e0b)}.choices{margin:16px 0;border:0;padding:0;display:grid;gap:10px}.choice{border:1px solid #d8e4f4;border-radius:12px;padding:12px;display:flex;gap:10px;align-items:center;min-height:48px;cursor:pointer;background:#fbfdff}.choice input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.button-row.split{justify-content:space-between}.button{border:0;border-radius:10px;padding:11px 16px;font-weight:700;font-size:.95rem;cursor:pointer;background:#0f172a;color:#fff;display:inline-flex}.button:disabled{opacity:.45;cursor:not-allowed}.button.secondary{background:#e2e8f0;color:#1f2937}.badge{margin:0 0 8px;display:inline-block;font-size:.78rem;padding:4px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8}.result-hero-image{width:100%;max-height:340px;object-fit:cover;border-radius:12px;display:block;margin-bottom:10px}.score{color:#334155;font-size:.92rem}.result-bars{margin:14px 0 18px;padding:14px;border:1px solid #d7e3f5;border-radius:14px;background:linear-gradient(180deg,#f9fbff,#f2f7ff)}.result-bars-title{margin:0 0 12px;font-size:.92rem;font-weight:700;color:#1f2937}.result-bar-item+.result-bar-item{margin-top:12px}.result-bar-item p{margin:0 0 6px;font-size:.84rem;display:flex;justify-content:space-between;gap:8px;color:#334155}.result-bar-item strong{color:#0f172a;font-weight:800}.meter-track{height:10px;border-radius:999px;background:#dbe7f8;overflow:hidden}.meter-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4);box-shadow:inset 0 0 0 1px #ffffff3d;transition:width .35s ease}.muted{font-size:.86rem;color:#475569}.site-footer{margin-top:22px;padding-top:14px;border-top:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:8px 12px;font-size:.8rem}.site-footer a{color:#1e40af}.static-card .page-head{margin-bottom:12px}.back-home{font-size:.84rem;color:#1e3a8a}.static-body p{margin:8px 0}.article-list{display:grid;gap:12px}.article-list article{border:1px solid #dbe6f4;border-radius:12px;padding:12px;background:#f8fbff}@media(min-width:768px){.layout,.card{padding:28px}.top-nav{display:flex;align-items:center;justify-content:space-between}.thumb-card,.portal-slide-card{flex-basis:calc(52% - 8px)}.result-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1024px){.thumb-card,.portal-slide-card{flex-basis:calc(38% - 8px)}.result-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.catalog-card{display:grid;gap:16px}.catalog-head p{margin:0}.catalog-grid{display:grid;gap:12px}.catalog-item{border:1px solid #dbe6f4;border-radius:14px;padding:12px;background:#fbfdff}.catalog-image{width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:10px;margin-bottom:8px}.catalog-item h2{margin:0 0 6px;font-size:1rem}.catalog-item p{margin:0;font-size:.84rem;color:#334155}.catalog-item p+p{margin-top:5px}.catalog-summary{margin-bottom:6px}@media(min-width:768px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1100px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
