/*
Theme Name: Giogiozone — Power Stone Ocean
Description: PHP・HTML・CSS・JavaScriptだけで編集できる、ビルド不要のWordPressテーマ。
Version: 2.0.0
Text Domain: giogiozone
*/

/* 基本色・書体 */
:root {
	color-scheme: dark;
	--background: #0b1229;
	--deep: #060d24;
	--surface: #141a32;
	--panel: #181e36;
	--line: #2d344c;
	--text: #dce1ff;
	--muted: #bbc9cd;
	--subtle: #859397;
	--aqua: #8aebff;
	--cyan: #22d3ee;
	--gold: #ffc640;
	--serif: 'Noto Serif', 'Noto Serif JP', serif;
	--sans: 'Montserrat', sans-serif;
	--label: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; padding-top: 80px; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.7; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--cyan); color: #00363e; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
a:hover, button:hover { color: var(--aqua); }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button { border: 0; padding: 0; background: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
img { max-width: 100%; display: block; }
input, select, textarea { min-width: 0; color: var(--text); background: var(--deep); border: 1px solid #3c494c99; border-radius: 12px; padding: 12px 16px; }
input::placeholder { color: #bbc9cd99; }
input:focus, select:focus { border-color: var(--cyan); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1360px; padding-inline: 48px; margin-inline: auto; }
.aqua { color: var(--aqua) !important; }
.gold { color: var(--gold) !important; }
.lavender { color: #d8daff !important; }
.warning-text { color: #ffb4ab !important; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; display: inline-block; vertical-align: middle; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; clip-path: none; padding: 12px 20px; background: var(--deep); color: var(--aqua); }

/* 共通パーツ */
.panel { background: #141a32b3; border: 1px solid #2d344c99; border-radius: 16px; box-shadow: 0 10px 20px #02061715; }
.eyebrow { display: block; font-family: var(--label); font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: #2fd9f4; margin-bottom: 8px; }
.meta-label { display: block; font-family: var(--label); font-size: 10px; line-height: 1.6; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 27px; border: 1px solid #22d3ee80; border-radius: 999px; background: #22d3ee33; box-shadow: 0 0 20px #22d3ee25; color: var(--aqua); font-size: 14px; line-height: 1.5; font-weight: 500; text-align: center; }
.button:hover { background: #22d3ee4d; color: white; box-shadow: 0 0 25px #22d3ee40; }
.button-small { padding: 7px 14px; font-size: 12px; }
.button-small .material-symbols-outlined { font-size: 17px; }
.button-muted { color: var(--muted); background: #181e36b3; border-color: #3c494c66; box-shadow: none; font-size: 13px; }
.button-muted:hover { color: var(--text); background: #222941; }
.button-warning { border-color: #ffb4ab66; color: #ffdad6; background: var(--deep); box-shadow: none; white-space: nowrap; font-size: 13px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #181e36b3; border: 1px solid #3c494c66; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { color: var(--aqua); background: #222941; }
.text-button { display: inline-flex; align-items: center; gap: 4px; color: var(--aqua); font-size: 12px; }
.text-button .material-symbols-outlined { font-size: 16px; }
.text-button:hover { color: white; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #22d3ee4d; border-radius: 999px; background: #060d24d9; color: var(--aqua); font-family: var(--label); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.badge .material-symbols-outlined { font-size: 14px; }
.glow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); display: inline-block; flex-shrink: 0; }
.section { padding-block: 80px; border-top: 1px solid #2d344c66; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-heading h2 { font-size: 34px; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 448px; font-weight: 300; }
.section-heading > div:first-child { min-width: 0; }
.section-action { margin-top: 32px; text-align: center; }
.section-action .button { padding: 10px 24px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #2d344c66; padding-top: 12px; font-size: 11px; color: var(--subtle); }
.card-footer > span { display: inline-flex; align-items: center; gap: 5px; }
.card-footer .material-symbols-outlined { color: var(--aqua); font-size: 16px; }
.image-frame { position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; }
.image-frame > img, .image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #0b1229d9, transparent 60%); z-index: 1; pointer-events: none; }
.image-badge { position: absolute; top: 12px; left: 12px; z-index: 2; backdrop-filter: blur(12px); }
.image-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.image-link { width: 100%; height: 100%; display: block; text-align: left; }
.image-link:hover img { transform: scale(1.05); }

/* ヘッダー・検索 */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #0b1229bf; backdrop-filter: blur(24px); border-bottom: 1px solid #2d344c66; box-shadow: 0 4px 30px #020617b3; }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 16px #2fd9f459; }
.brand strong { display: block; color: var(--text); font-family: var(--serif); font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.brand small { display: block; color: #2fd9f4cc; font-family: var(--label); font-size: 10px; letter-spacing: .1em; }
.desktop-nav { display: flex; align-items: center; gap: 16px; }
.desktop-nav a { color: var(--muted); font-size: 12px; letter-spacing: .025em; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--aqua); }
.desktop-nav a.is-active { text-shadow: 0 0 12px #8aebff80; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.header-oracle { white-space: nowrap; }
.bookmark-trigger { position: relative; }
.bookmark-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 20px; height: 20px; background: var(--cyan); color: #00363e; border-radius: 50%; font-size: 10px; font-weight: 700; }
.menu-toggle { display: none; border-radius: 8px; width: 36px; height: 36px; }
.search-box { position: relative; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #181e36b3; border: 1px solid #3c494c66; border-radius: 999px; color: var(--aqua); }
.search-field input { border: 0; border-radius: 0; padding: 0; width: 100%; background: none; color: var(--text); font-size: 13px; }
.search-field:focus-within { border-color: var(--cyan); }
.search-field input:focus { outline: none; }
.desktop-search { display: none; width: 250px; }
.search-results { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 320px; max-height: 384px; overflow-y: auto; padding: 8px; border: 1px solid #22d3ee4d; border-radius: 12px; background: #141a32f5; box-shadow: 0 20px 40px #02061780; }
.search-results button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; text-align: left; border-radius: 8px; font-size: 13px; }
.search-results button:hover { background: #222941; }
.search-results img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.search-results small { display: block; color: var(--subtle); font-size: 10px; }
.search-results p { padding: 12px; font-size: 12px; color: var(--muted); }
.mobile-navigation { padding: 16px 24px; max-height: calc(100dvh - 80px); overflow-y: auto; background: #0b1229f5; border-bottom: 1px solid var(--line); }
.mobile-navigation > a { display: block; padding: 10px 0; color: var(--muted); }
.mobile-navigation .search-box { margin-bottom: 12px; }
.mobile-navigation .search-results { position: static; width: 100%; margin-top: 8px; }

/* メインビジュアル */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 30%, #2fd9f42e, transparent 65%), linear-gradient(90deg, #0b1229e6, transparent 50%, #0b1229cc), linear-gradient(to top, #0b1229, #0b1229bf 50%, #0b122966); }
.hero-inner { min-height: calc(92vh - 80px); display: flex; flex-direction: column; justify-content: space-between; padding-top: 32px; padding-bottom: 48px; }
.hero-overline { display: flex; align-items: center; gap: 12px; color: var(--aqua); font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.hero-overline i { height: 1px; width: 64px; background: var(--line); flex-shrink: 0; }
.hero-overline .edition { color: #bbc9cdcc; font-weight: 400; letter-spacing: .1em; white-space: nowrap; }
.hero-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: end; padding-block: 40px; margin-block: auto; }
.hero-copy > .eyebrow { font-size: 12px; letter-spacing: .3em; }
.hero h1 { font-size: 56px; line-height: 1.25; text-shadow: 0 4px 32px #020617e6; }
.hero h1 em { font-weight: 400; color: var(--aqua); }
.hero-description { margin-top: 24px; max-width: 672px; font-size: 18px; line-height: 1.65; color: var(--muted); font-weight: 300; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.button-hero { padding: 16px 32px; gap: 12px; font: 500 16px/1.5 var(--serif); letter-spacing: .08em; color: var(--text); backdrop-filter: blur(24px); box-shadow: 0 0 30px #22d3ee4d; }
.button-hero .material-symbols-outlined { font-size: 26px; }
.hero-buttons .button-muted { padding: 16px 24px; }
.moon-card { background: #181e36b3; backdrop-filter: blur(32px); border-color: #2fd9f433; overflow: hidden; }
.moon-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px 12px; background: #141a3299; border-bottom: 1px solid #2d344c99; }
.moon-card-heading > span { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.5 var(--label); letter-spacing: .07em; text-transform: uppercase; }
.moon-card-heading small { color: #bbc9cdcc; font-size: 10px; white-space: nowrap; }
.moon-card-content { padding: 24px; }
.moon-card-content .eyebrow { font-size: 10px; letter-spacing: .1em; margin-bottom: 4px; }
.moon-card h2 { font-size: 20px; margin-bottom: 12px; }
.moon-card p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.65; }
.moon-card .card-footer { border: 0; color: #2fd9f4; padding-top: 20px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 24px; background: #060d2499; border: 1px solid #2d344c99; border-radius: 12px; backdrop-filter: blur(24px); }
.metrics > div { display: flex; gap: 12px; align-items: center; }
.metrics strong { color: var(--aqua); font: 400 38px/1 var(--serif); white-space: nowrap; }
.metrics sup { font: 400 14px/1 var(--sans); color: var(--muted); vertical-align: top; }
.metrics span { font-size: 13px; font-weight: 500; }
.metrics small { display: block; color: var(--muted); font: 400 10px/1.5 var(--label); text-transform: uppercase; }

/* 目的・チャクラ */
.purpose-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.purpose-card { display: flex; flex-direction: column; text-align: left; padding: 24px; min-height: 288px; }
.purpose-card:hover, .purpose-card[aria-pressed="true"] { border-color: var(--cyan); background: #181e36; box-shadow: 0 0 30px #22d3ee26; }
.purpose-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #22d3ee1a; border: 1px solid #22d3ee33; color: var(--aqua); margin-bottom: 16px; }
.purpose-icon .material-symbols-outlined { font-size: 24px; }
.purpose-card:nth-child(1) .purpose-icon { color: #fda4af; background: #f43f5e1a; border-color: #f43f5e33; }
.purpose-card:nth-child(2) .purpose-icon { color: var(--gold); background: #ffc6401a; border-color: #ffc64033; }
.purpose-card:nth-child(3) .purpose-icon { color: #d8daff; background: #d8daff26; border-color: #d8daff33; }
.purpose-card strong { font: 500 18px/1.5 var(--serif); margin-top: 2px; }
.purpose-chakra { display: block; color: var(--aqua); font-size: 11px; margin-top: 4px; }
.purpose-description { color: var(--muted); font-size: 12px; font-weight: 300; margin-block: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.purpose-card .card-footer { margin-top: auto; width: 100%; }

/* 特集鉱物 */
.featured-section { padding-block: 64px; }
.featured { padding: 56px; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; border-radius: 24px; border-color: #2fd9f440; background: radial-gradient(ellipse at bottom left, #22d3ee15, transparent 50%), linear-gradient(135deg, var(--surface), var(--panel)); box-shadow: 0 25px 50px #02061750; }
.featured-image { aspect-ratio: 4 / 5; border: 1px solid #2fd9f44d; box-shadow: 0 20px 50px #020617cc; }
.featured-image > img { position: absolute; inset: 0; }
.featured-image .image-badge { top: 16px; left: 16px; font-size: 11px; }
.featured-image .eyebrow { letter-spacing: .1em; font-size: 10px; margin-bottom: 0; }
.featured-image .image-caption p { font-family: var(--serif); font-size: 16px; }
.featured-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; }
.featured-kicker .badge { background: #22d3ee33; border-radius: 6px; font-size: 11px; }
.featured h2 { font-size: 40px; margin-block: 8px; line-height: 1.3; }
.featured h2 span { color: var(--aqua); font-size: 24px; }
.featured-subtitle { font-family: var(--serif); font-size: 18px; font-style: italic; }
.featured-copy > p:not(.featured-subtitle) { font-size: 15px; color: var(--muted); font-weight: 300; margin-top: 24px; line-height: 1.65; }
.attribute-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.attribute-grid > div { padding: 16px; background: #060d2499; border: 1px solid #2d344c99; border-radius: 12px; }
.attribute-grid strong { display: block; font: 500 17px/1.5 var(--serif); margin-top: 2px; }
.attribute-grid small { display: block; color: #bbc9cdcc; font-size: 11px; margin-top: 4px; }
.featured-copy > .button { margin-top: 24px; }

/* 図鑑カード */
#encyclopedia .section-heading { margin-bottom: 40px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 6px 16px; border-radius: 999px; border: 1px solid #3c494c66; background: var(--panel); color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .04em; }
.filter-button:hover { background: #222941; color: var(--text); }
.filter-button[aria-pressed="true"] { background: var(--cyan); color: #00363e; border-color: var(--cyan); font-weight: 600; box-shadow: 0 0 16px #22d3ee66; }
.stone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stone-card { overflow: hidden; display: flex; flex-direction: column; }
.stone-card:hover { border-color: #22d3ee99; box-shadow: 0 20px 30px #02061750; }
.stone-image { aspect-ratio: 16 / 10; border-radius: 0; }
.stone-image .image-link { position: absolute; inset: 0; }
.stone-image::after { background: linear-gradient(to top, #141a32d9, transparent 60%); }
.stone-image .image-badge { max-width: calc(100% - 64px); pointer-events: none; }
.stone-bookmark { position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; background: #060d24cc; }
.stone-bookmark .material-symbols-outlined { font-size: 17px; }
[data-bookmark][aria-pressed="true"] { color: #402d00; background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px #ffc640aa; }
[data-bookmark][aria-pressed="true"] .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
.stone-image-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 400 11px/1.5 var(--label); color: var(--aqua); pointer-events: none; }
.stone-image-meta > span:last-child { color: var(--muted); padding: 2px 8px; background: #0b1229cc; border: 1px solid var(--line); border-radius: 4px; }
.stone-copy { padding: 24px; }
.stone-title { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; }
.stone-title h3 { font-size: 20px; font-weight: 500; }
.stone-title > span { color: var(--subtle); font: 400 12px/1.5 var(--label); letter-spacing: .05em; }
.stone-title button { font: inherit; text-align: left; }
.stone-japanese { font-size: 11px; color: #bbc9cdcc; }
.stone-keywords { font: italic 400 13px/1.6 var(--serif); margin-top: 12px; }
.stone-description { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stone-card > .card-footer { padding: 12px 24px 24px; margin-top: auto; }
.empty-message { padding: 48px 0; text-align: center; color: var(--muted); }

/* 誕生石・星座 */
.zodiac-finder { padding: 32px; margin-bottom: 56px; border-radius: 24px; border-color: #2fd9f44d; background: radial-gradient(circle at right top, #22d3ee20, transparent 45%), linear-gradient(90deg, var(--surface), var(--panel), #0f172a); }
.finder-label { display: flex; align-items: center; gap: 8px; color: var(--aqua); font-family: var(--label); font-size: 12px; letter-spacing: .1em; margin-bottom: 16px; }
.zodiac-form { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 16px; }
.zodiac-form label { font-size: 12px; color: var(--muted); }
.zodiac-form select { display: block; width: 100%; margin-top: 6px; font-size: 14px; }
.zodiac-form .button { border-radius: 12px; padding: 13px 20px; font-size: 13px; }
.zodiac-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid #2d344c99; padding-top: 24px; margin-top: 24px; }
.zodiac-result-card { padding: 16px; border: 1px solid #22d3ee4d; border-radius: 16px; background: #060d24b3; }
.zodiac-result-card:nth-child(2) { border-color: #ffc6404d; }
.zodiac-result-card:nth-child(3) { border-color: #d8daff4d; }
.zodiac-result-card h3 { font-size: 20px; margin-top: 4px; }
.zodiac-result-card p { margin-top: 8px; font-size: 12px; color: var(--muted); }
.month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.month-card { display: flex; flex-direction: column; min-height: 208px; padding: 20px; text-align: left; }
.month-card:hover, .month-card[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 24px #22d3ee40; background: var(--panel); }
.month-number { color: #2fd9f4; font: 400 24px/1 var(--serif); }
.month-card strong { margin-top: 12px; font: 500 16px/1.5 var(--serif); }
.month-keyword { font: italic 400 11px/1.6 var(--serif); padding-top: 16px; margin-top: auto; }
.month-card .card-footer { width: 100%; padding-top: 8px; margin-top: 8px; font-size: 10px; }

/* 浄化・記事・レター */
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.care-card { display: flex; flex-direction: column; padding: 24px; }
.care-card .purpose-icon { background: var(--deep); border-color: #3c494c66; }
.care-card:nth-child(1) .purpose-icon { color: var(--gold); }
.care-card:nth-child(3) .purpose-icon { color: #d8daff; }
.care-card h3 { font-size: 18px; font-weight: 500; margin-top: 2px; }
.care-subtitle { font-size: 11px; margin-top: 4px; }
.care-description { font-size: 12px; color: var(--muted); font-weight: 300; margin-block: 16px; line-height: 1.65; }
.care-recommendation { border-top: 1px solid #2d344c66; padding-top: 16px; margin-top: auto; }
.care-recommendation p { font-size: 11px; color: var(--aqua); }
.care-recommendation small { display: block; font-size: 10px; color: #ffb4ab; margin-top: 4px; }
.care-warning { padding: 32px; display: flex; align-items: center; gap: 24px; border-color: #ffb4ab4d; background: linear-gradient(90deg, #93000a33, var(--panel), var(--surface)); }
.warning-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #93000a66; border: 1px solid #ffb4ab66; color: #ffb4ab; flex-shrink: 0; }
.care-warning h3 { color: #ffdad6; font-size: 17px; }
.care-warning p { color: var(--muted); font-size: 13px; margin-top: 4px; max-width: 672px; }
.care-warning .button { margin-left: auto; flex-shrink: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.journal-card { display: flex; flex-direction: column; }
.journal-image { aspect-ratio: 16 / 10; height: auto; margin-bottom: 20px; }
.journal-image img { position: absolute; inset: 0; }
.reading-time { position: absolute; z-index: 2; right: 12px; bottom: 12px; color: var(--muted); background: #0b1229cc; border-radius: 4px; padding: 2px 8px; font: 400 10px/1.5 var(--label); }
.article-meta { color: var(--subtle); font: 400 11px/1.7 var(--label); margin-bottom: 8px; }
.journal-card h3 { font-size: 18px; font-weight: 500; line-height: 1.5; margin-bottom: 12px; }
.journal-card h3 button { font: inherit; text-align: left; }
.journal-excerpt { color: var(--muted); font-size: 13px; font-weight: 300; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.journal-read { border-top: 1px solid #2d344c66; padding-top: 12px; margin-top: 16px; width: 100%; }
.newsletter-section { padding-block: 64px; border-top: 1px solid #2d344c66; }
.newsletter { max-width: 896px; margin: 0 auto; padding: 56px; text-align: center; border-color: #2fd9f433; border-radius: 24px; background: radial-gradient(circle at top right, #22d3ee15, transparent 40%), radial-gradient(circle at bottom left, #ffc64012, transparent 40%), linear-gradient(90deg, var(--surface), var(--panel), #0f172a); }
.newsletter h2 { font-size: 32px; margin-top: 24px; }
.newsletter > p { margin: 24px auto 0; color: var(--muted); font-size: 14px; max-width: 672px; font-weight: 300; line-height: 1.7; }
.newsletter form { display: flex; gap: 12px; margin: 24px auto; max-width: 560px; }
.newsletter input { flex: 1; border-radius: 999px; font-size: 13px; padding: 14px 24px; }
.newsletter button { font-size: 13px; flex-shrink: 0; }
.newsletter > small { color: var(--subtle); font-size: 11px; }
.newsletter .newsletter-message { padding: 24px; background: var(--deep); border: 1px solid #22d3ee80; border-radius: 16px; margin-bottom: 24px; color: var(--aqua); }

/* フッター */
.site-footer { padding-block: 64px 48px; background: var(--deep); border-top: 1px solid #2d344c99; color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #2d344c66; }
.site-footer .brand strong { text-transform: none; font-size: 18px; }
.footer-brand > p { max-width: 384px; margin-top: 16px; font-weight: 300; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer-badges .badge { font-size: 11px; letter-spacing: .025em; background: var(--surface); border-color: #22d3ee33; }
.site-footer h2 { color: var(--text); font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer .text-button { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; color: var(--subtle); font-family: var(--label); font-size: 12px; }
.footer-bottom > div { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }

/* 詳細・お気に入り・診断（ネイティブdialog） */
.ocean-dialog { width: min(100% - 32px, 896px); max-height: calc(100dvh - 48px); padding: 40px; border: 1px solid #2fd9f466; border-radius: 24px; background: linear-gradient(var(--panel), var(--background)); color: var(--text); box-shadow: 0 25px 70px #020617f2; overflow-y: auto; }
.ocean-dialog::backdrop { background: #060d24df; backdrop-filter: blur(16px); }
.ocean-dialog[open] { animation: fade-in .2s ease-out; }
.dialog-close { position: absolute; top: 16px; right: 16px; z-index: 3; background: #060d24e6; }
#dialog-content { padding-top: 16px; }
#dialog-title { font-size: 28px; line-height: 1.4; margin-bottom: 16px; padding-right: 16px; }
.ocean-dialog p { color: var(--muted); }
.stone-detail-top { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.detail-image { aspect-ratio: 1; border: 1px solid #2fd9f44d; }
.detail-image img { position: absolute; inset: 0; }
.detail-intro { font-size: 13px; }
.detail-intro h2 { margin-top: 12px; }
.detail-intro p { margin-bottom: 12px; }
.detail-lore { background: #060d24b3; border: 1px solid #2d344c99; border-radius: 16px; padding: 20px; margin-top: 24px; }
.detail-lore h3 { font-size: 15px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.detail-lore .material-symbols-outlined { color: var(--aqua); }
.detail-lore p { font-size: 13px; line-height: 1.7; }
.detail-attributes strong { font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 4px; margin-block: 8px; }
.tag-list .badge { font-size: 10px; padding: 2px 6px; border: 0; border-radius: 4px; background: #22d3ee33; }
.dialog-note { text-align: center; font-size: 11px; margin-top: 24px; line-height: 1.8; }
.article-detail-image { aspect-ratio: 16 / 9; margin-bottom: 24px; }
.article-detail-image img { position: absolute; inset: 0; }
.article-lead { color: var(--gold); border-left: 2px solid var(--gold); padding: 4px 0 4px 16px; margin: 24px 0; font: italic 400 15px/1.8 var(--serif); }
.article-body { color: var(--muted); font-size: 15px; font-weight: 300; line-height: 2; }
.article-body p + p { margin-top: 16px; }
.author-box { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 32px; }
.author-box strong { display: block; font-family: var(--serif); font-weight: 500; }
.author-box span { font-size: 12px; color: var(--subtle); }
.ocean-dialog.is-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 448px); height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 24px; }
.is-drawer #dialog-title { font-size: 18px; padding-right: 36px; }
.saved-list { padding-block: 16px; min-height: 240px; }
.saved-item { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 12px; border: 1px solid #2d344c99; border-radius: 12px; background: var(--panel); }
.saved-item > button:first-child { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; font-family: var(--serif); }
.saved-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.saved-item small { display: block; font: 400 11px/1.6 var(--label); color: var(--subtle); }
.saved-empty { padding: 56px 0; text-align: center; font-size: 13px; }
.dialog-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.dialog-actions.centered { justify-content: center; border: 0; margin-top: 24px; }
.oracle-heading { max-width: 576px; margin: 0 auto; text-align: center; }
.oracle-heading h2 { margin-top: 12px; }
.oracle-heading p { font-size: 13px; font-weight: 300; }
.oracle-modes { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.oracle-deck { display: flex; justify-content: center; gap: 16px; padding: 48px 0 16px; }
.oracle-back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 128px; aspect-ratio: 2 / 3; background: linear-gradient(var(--panel), var(--deep)); border-color: #2fd9f44d; }
.oracle-back .material-symbols-outlined { color: var(--aqua); font-size: 32px; }
.oracle-back > span:last-child { font-size: 10px; color: var(--subtle); letter-spacing: .1em; }
.oracle-back:hover { transform: translateY(-8px); }
.oracle-results { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 448px; margin: 24px auto 0; }
.oracle-results.is-triple { max-width: none; grid-template-columns: repeat(3, 1fr); }
.oracle-card { padding: 20px; background: #060d24e6; border-color: #2fd9f466; }
.oracle-card .image-frame { aspect-ratio: 16 / 10; border-radius: 12px; margin-bottom: 16px; }
.oracle-card h3 { font-size: 22px; }
.oracle-card > p { font-size: 13px; margin-top: 8px; }
.oracle-card .eyebrow { font-size: 10px; color: #2fd9f4; }
.affirmation { border-top: 1px solid #2d344c99; padding: 12px; margin-top: 20px; background: var(--surface); border-radius: 12px; }
.affirmation p { font: italic 400 12px/1.8 var(--serif); color: var(--aqua); }
.affirmation .text-button { margin-top: 8px; }
.affirmation small { display: block; font-size: 10px; color: var(--subtle); }
.matrix-search { border-radius: 12px; max-width: 320px; margin-block: 24px; padding-block: 10px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.matrix-table { border-collapse: collapse; text-align: left; width: 100%; min-width: 650px; font-size: 12px; }
.matrix-table th, .matrix-table td { padding: 12px; border-bottom: 1px solid #2d344c99; }
.matrix-table thead { background: var(--deep); color: var(--aqua); }
.matrix-table tbody th { font-weight: 500; }
.matrix-table td:nth-last-child(2) { color: var(--cyan); }
.matrix-table td:last-child { color: var(--gold); }

/* WordPress標準の記事・固定ページ */
.site-main { width: min(100% - 40px, 960px); margin: 0 auto; padding: 80px 0; min-height: 60vh; }
.site-main > h1, .page-header h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 32px; }
.site-main a { color: var(--aqua); }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 48px); overflow-wrap: anywhere; }
.entry + .entry { margin-top: 32px; }
.entry-title { margin-bottom: 24px; font-size: 30px; }
h1.entry-title { font-size: clamp(28px, 4vw, 44px); }
.entry-content { font-size: 16px; line-height: 1.9; color: var(--muted); }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content h2, .entry-content h3, .entry-content strong { color: var(--text); }
.entry-content img, .entry-content video { height: auto; max-width: 100%; }
.entry-content iframe { max-width: 100%; }
.entry-content blockquote { border-left: 2px solid var(--cyan); padding-left: 24px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid #3c494c; padding: 12px; }
.entry-content pre { overflow-x: auto; padding: 16px; background: var(--deep); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.entry-content::after { content: ''; display: table; clear: both; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); }
.pagination { margin-top: 32px; }
.page-numbers { display: inline-block; padding: 10px 16px; border: 1px solid #3c494c; border-radius: 8px; }
.page-numbers.current { background: var(--cyan); color: #00363e; }
.search-form { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.search-submit { color: var(--aqua); cursor: pointer; }
.post-password-form input { max-width: 100%; }

/* レスポンシブ・管理バー */
.admin-bar .site-header { top: 32px; }
@media (min-width: 1600px) {
	.header-inner { max-width: 1680px; }
	.desktop-search { display: block; }
}
@media (max-width: 1279px) {
	.desktop-nav { display: none; }
	.menu-toggle { display: inline-flex; }
}
@media (min-width: 1280px) { .mobile-navigation { display: none; } }
@media (max-width: 1023px) {
	.hero-content { grid-template-columns: 1fr; }
	.hero h1 { font-size: 48px; }
	.hero-inner { min-height: auto; }
	.hero-overline .edition, .hero-overline i { display: none; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.section-heading h2 { font-size: 30px; }
	.purpose-grid { grid-template-columns: repeat(3, 1fr); }
	.featured { grid-template-columns: 1fr; }
	.featured-image { max-height: 640px; width: 100%; }
	.stone-grid, .care-grid { grid-template-columns: repeat(2, 1fr); }
	.month-grid { grid-template-columns: repeat(3, 1fr); }
	.care-warning { flex-wrap: wrap; }
	.care-warning > div { flex: 1; }
	.care-warning .button { margin-left: 64px; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 767px) {
	.container { padding-inline: 16px; }
	.section-heading h2 { font-size: 26px; }
	.section-heading > p { font-size: 13px; }
	.hero-inner { padding-top: 16px; }
	.hero-description { font-size: 15px; }
	.purpose-grid, .stone-grid, .care-grid, .journal-grid { grid-template-columns: 1fr; }
	.metrics { grid-template-columns: repeat(2, 1fr); }
	.metrics strong { font-size: 32px; }
	.featured { padding: 32px; }
	.zodiac-results { grid-template-columns: 1fr; }
	.newsletter { padding: 32px; }
	.stone-detail-top { grid-template-columns: 1fr; }
	.detail-image { aspect-ratio: 4 / 3; }
	.oracle-results.is-triple { grid-template-columns: 1fr; }
	.ocean-dialog { padding: 24px; }
}
@media (max-width: 639px) {
	.header-inner { gap: 8px; }
	.header-actions { gap: 12px; }
	.brand { gap: 8px; }
	.brand img { width: 32px; height: 32px; }
	.brand strong { font-size: 13px; }
	.brand small { font-size: 9px; }
	.header-oracle { display: none; }
	.hero h1 { font-size: clamp(26px, 8.1vw, 34px); }
	.hero-content { gap: 40px; }
	.hero-overline { font-size: 10px; letter-spacing: .18em; }
	.desktop-break { display: none; }
	.button-hero { font-size: 15px; padding: 16px 24px; }
	.metrics { padding: 16px; gap: 20px 12px; }
	.metrics > div { gap: 8px; }
	.metrics strong { font-size: 28px; }
	.metrics span { font-size: 11px; }
	.metrics small { font-size: 9px; }
	.featured { padding: 24px; }
	.featured h2 { font-size: 28px; }
	.featured h2 span { font-size: 20px; }
	.featured-subtitle { font-size: 16px; }
	.attribute-grid, .zodiac-form { grid-template-columns: 1fr; }
	.zodiac-finder { padding: 24px; }
	.month-grid { grid-template-columns: repeat(2, 1fr); }
	.care-warning { padding: 24px; gap: 16px; }
	.care-warning .button { margin-left: 0; width: 100%; padding-inline: 12px; }
	.newsletter { padding: 32px 24px; }
	.newsletter h2 { font-size: 24px; }
	.newsletter form { flex-direction: column; }
	.newsletter button { padding-inline: 16px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom > div { gap: 16px; }
	.site-footer .brand strong { font-size: 17px; }
	#dialog-title { font-size: 24px; }
	.oracle-back { width: 96px; }
	.oracle-deck { gap: 12px; }
}
@media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
