/* =========================================================
   金融オタロード v4 — refinement layer (loaded after v3.css)
   Goal: friendly but polished commercial lifestyle media (not a kids' workbook).
   - Typography: Zen Kaku Gothic New for headings, system gothic for body (no rounded type)
   - Smaller radii, flat buttons, hairline borders instead of chunky bottom shadows
   - Compact hero, unified container, articles visible right below the first view
   ========================================================= */
:root {
	--round: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
	--body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	--r-sm: 6px; --r: 10px; --r-lg: 14px;
	--shadow: 0 1px 2px rgba(58, 51, 48, .06), 0 4px 14px -8px rgba(58, 51, 48, .18);
	--wrap: 1140px;
}
body { font-family: var(--body); font-weight: 400; letter-spacing: .02em; line-height: 1.9; }
h1, h2, h3, h4, .logo__ja, .btn, .sec-head__title, .card__title, .row__title, .cat__name, .worry, .hero2__feature-title { font-family: var(--round); letter-spacing: .03em; }
strong, b { font-weight: 700; }

/* Buttons: flat, crisp */
.btn { border-radius: 8px; box-shadow: none; min-height: 50px; padding: 12px 26px; letter-spacing: .04em; }
.btn:hover { transform: none; box-shadow: none; background: #8f3f0e; border-color: #8f3f0e; }
.btn--ghost, .btn--light { box-shadow: none; border: 1px solid var(--line); }
.btn--ghost:hover, .btn--light:hover { box-shadow: none; }
.nav-toggle { border-radius: 8px; }

/* Header */
.site-header { background: rgba(255, 252, 246, .97); backdrop-filter: saturate(1.2) blur(6px); }
.logo__ja { font-size: 1.1rem; letter-spacing: .05em; }

/* Section rhythm */
.sec { padding: 40px 0; }
@media (min-width: 900px) { .sec { padding: 64px 0; } }
.sec-head { margin-bottom: 20px; }
.sec-head__en { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); gap: 10px; }
.sec-head__en::before { width: 18px; height: 2px; border-radius: 0; }
.sec-head__title { font-size: clamp(1.3rem, 4.2vw, 1.7rem); letter-spacing: .04em; }

/* Hero — compact, centred grid, photo or feature card on the right */
.hero2 { background: linear-gradient(180deg, #fff6ea 0%, var(--ivory) 100%); padding: 22px 0 26px; }
@media (min-width: 900px) { .hero2 { padding: 40px 0 44px; } }
.hero2__inner { gap: 22px; }
@media (min-width: 900px) { .hero2__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 52px; align-items: center; } }
.hero2__badge { background: none; box-shadow: none; padding: 0; margin-bottom: 10px; font-size: .78rem; letter-spacing: .12em; color: var(--orange-ink); }
.hero2__badge::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.hero2__title { font-size: clamp(1.65rem, 5.6vw, 2.55rem); line-height: 1.42; letter-spacing: .04em; margin-bottom: 12px; }
.hero2__title em { background: linear-gradient(transparent 70%, #ffd9a8 70%); }
.hero2__lead { font-size: clamp(.93rem, 2.2vw, 1rem); margin-bottom: 16px; }
.hero2__search { max-width: 480px; }
.hero2__search .search-form { box-shadow: var(--shadow); border-radius: 10px; }
.hero2__tags { margin-top: 12px; gap: 6px; }
.hero2__tags a { min-height: 36px; border-radius: 6px; font-size: .8rem; padding: 2px 12px; }
.hero2__img { border-radius: var(--r-lg); aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.hero2__mascot { width: 56px; height: 56px; bottom: 18px; }
.hero2__feature { display: block; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); transition: box-shadow .2s; }
.hero2__feature:hover { box-shadow: 0 2px 4px rgba(58,51,48,.08), 0 12px 28px -12px rgba(58,51,48,.3); color: var(--ink); }
.hero2__feature-img { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--beige); }
.hero2__feature-img img { width: 100%; height: 100%; object-fit: cover; }
.hero2__feature-body { display: block; padding: 16px 18px 18px; }
@media (min-width: 900px) { .hero2__feature-body { padding: 18px 22px 22px; } }
.hero2__feature-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--orange-ink); margin-bottom: 4px; }
.hero2__feature-title { display: block; font-weight: 700; font-size: clamp(1.02rem, 2.4vw, 1.22rem); line-height: 1.55; }

/* Pick up — right under the first view */
.pickup { padding: 8px 0 28px; }
@media (min-width: 900px) { .pickup { padding: 8px 0 48px; } }
.pickup__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.pickup__grid > * { scroll-snap-align: start; }
@media (min-width: 700px) { .pickup__grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }
@media (min-width: 1000px) { .pickup__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* Cards & rows: hairline + soft shadow (no chunky bottom shadow) */
.card, .row, .worry, .cat, .road__step, .invite2, .author, .rank a { box-shadow: var(--shadow); border: 1px solid var(--line); }
.card { border-radius: var(--r); }
.card__title { font-size: .98rem; line-height: 1.6; letter-spacing: .02em; }
.worry { border-radius: var(--r); font-weight: 700; font-size: .86rem; min-height: 64px; }
.worry:hover, .cat:hover, .card:hover { transform: none; box-shadow: 0 2px 4px rgba(58,51,48,.08), 0 10px 24px -12px rgba(58,51,48,.28); }
.cat { border-radius: var(--r-lg); }
.cat__art { border-radius: var(--r); }
.road__step, .invite2, .author { border-radius: var(--r-lg); }

/* Article */
.entry-content h2 { border-radius: var(--r-sm); border-left-width: 5px; background: #fdeedd; }
.entry-content table, .entry-content blockquote { border-width: 1px; }
.article__eyecatch img { border-radius: var(--r); }

/* Footer */
.site-footer { border-radius: 0; }
