:root {
	--ink: #17211f;
	--muted: #6f7a74;
	--paper: #f5f3ed;
	--cream: #fbfaf6;
	--green: #264d43;
	--mint: #dce9df;
	--yellow: #f2c94c;
	--line: #dfe2db;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
.site-header { height: 76px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; background: var(--cream); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .16em; font-weight: 700; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: var(--cream); background: var(--green); border-radius: 50%; font-family: "Shippori Mincho", serif; font-size: 18px; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 12px; }
.main-nav a { padding: 29px 0 25px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--ink); border-color: var(--yellow); }
.hero { min-height: 460px; padding: 100px 12vw 80px; display: flex; justify-content: space-between; background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -130px; top: -180px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.04); }
.eyebrow { margin: 0 0 15px; color: var(--yellow); font-size: 10px; letter-spacing: .24em; font-weight: 700; }
h1, h2 { margin: 0; font-family: "Shippori Mincho", serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(42px, 6vw, 75px); letter-spacing: .02em; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-text { margin-top: 28px; color: #d5e1d9; font-size: 14px; line-height: 2; }
.hero-note { align-self: flex-end; z-index: 1; display: flex; align-items: center; gap: 13px; color: #b8d1c1; font-size: 10px; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; }
.hero-note span { color: var(--yellow); font-size: 13px; }.hero-note i { display: block; width: 45px; border-top: 1px solid #91b09d; }
.explore-section, .detail-section, .ranking-section { max-width: 1120px; margin: auto; padding: 92px 30px 100px; }
.section-heading, .detail-heading, .ranking-topline { display: flex; align-items: end; justify-content: space-between; margin-bottom: 43px; }
h2 { font-size: 36px; }.heading-note, .detail-heading > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; text-align: right; }
.genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.genre-card { min-height: 200px; padding: 22px 18px; border: 1px solid var(--line); background: var(--cream); text-align: left; position: relative; transition: transform .25s, background .25s; }
.genre-card:hover { transform: translateY(-7px); background: var(--mint); }.genre-number { color: var(--muted); font-size: 11px; }.genre-icon { margin: 32px 0 18px; font-size: 28px; }.genre-card h3 { margin: 0; font-family: "Shippori Mincho", serif; font-size: 17px; }.genre-card p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.is-hidden { display: none; }.detail-section { padding-top: 70px; background: #e9efe8; max-width: none; padding-left: max(30px, calc((100% - 1060px) / 2)); padding-right: max(30px, calc((100% - 1060px) / 2)); }.back-button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; }.back-button:hover { color: var(--ink); }.detail-heading { margin-top: 43px; }.subgenre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.subgenre-card { padding: 22px; min-height: 105px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #cbd8cd; background: rgba(255,255,255,.45); text-align: left; }.subgenre-card:hover { border-color: var(--green); background: var(--cream); }.subgenre-card h3 { margin: 0; font-family: "Shippori Mincho", serif; font-size: 18px; }.subgenre-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.arrow { font-size: 22px; color: var(--green); }
.ranking-section { padding-top: 86px; }.ranking-topline { border-bottom: 1px solid var(--line); padding-bottom: 23px; }.updated { color: var(--muted); font-size: 11px; }.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }.book-card { position: relative; }.cover-wrap { height: 255px; padding: 16px; background: #dedcd3; display: flex; align-items: center; justify-content: center; }.cover-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }.rank { position: absolute; top: 12px; left: 12px; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--cream); background: var(--green); font-size: 12px; }.book-card h3 { margin: 17px 0 7px; font-family: "Shippori Mincho", serif; font-size: 15px; line-height: 1.5; }.author { margin: 0; color: var(--muted); font-size: 11px; }.book-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }.price { font-size: 12px; font-weight: 700; }.amazon-link { color: var(--green); font-size: 10px; font-weight: 700; border-bottom: 1px solid var(--green); }.save-book { position: absolute; top: 225px; right: 10px; border: 0; background: rgba(255,255,255,.9); width: 31px; height: 31px; border-radius: 50%; font-size: 18px; }.source-note { margin: 46px 0 0; color: var(--muted); font-size: 10px; }footer { padding: 27px 6vw; display: flex; justify-content: space-between; color: #a7b4ab; background: var(--green); font-size: 10px; letter-spacing: .12em; }footer span:first-child { color: var(--yellow); font-weight: 700; }
@media (max-width: 760px) { .site-header { height: 65px; padding: 0 20px; }.main-nav { gap: 14px; }.main-nav a { display: none; }.hero { min-height: 390px; padding: 75px 25px 55px; }.hero-note { display: none; }.explore-section, .ranking-section { padding: 64px 20px 72px; }.detail-section { padding: 55px 20px 72px; }.section-heading, .detail-heading, .ranking-topline { display: block; }.heading-note, .detail-heading > p { margin-top: 17px; text-align: left; }.genre-grid { grid-template-columns: repeat(2, 1fr); }.genre-card { min-height: 170px; }.genre-icon { margin: 24px 0 13px; }.subgenre-grid { grid-template-columns: 1fr; }.book-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 12px; }.cover-wrap { height: 210px; padding: 11px; }.save-book { top: 180px; right: 6px; }h2 { font-size: 31px; }footer { display: block; padding: 24px 20px; }footer span { display: block; }footer span + span { margin-top: 12px; } }
