/* =========================================================
   音口あいの音楽研究所 Retro Player  v1.1
   白背景：黒が基本＋ポイントで赤 ／ 黒背景：白が基本＋ポイントで赤
   影なしのフラットなデザイン。ボタンはマウスを乗せると点線の枠が出る。
   ========================================================= */

:root {
	--oal-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 28'%3E%3Cg stroke='%23111111' stroke-width='3.4' stroke-linecap='round' fill='none'%3E%3Cline x1='5.7' y1='13.1' x2='6.6' y2='6.7'/%3E%3Cline x1='12.5' y1='16.5' x2='17.1' y2='11.9'/%3E%3Cline x1='15.9' y1='23.3' x2='22.3' y2='22.4'/%3E%3C/g%3E%3C/svg%3E"); /* マウスを乗せたときの「ハッ」の線（丸い線3本） */
	--red-l: #d42a24;          /* 白背景のときの赤（管理画面で変更可） */
	--red-d: #ff5a4c;          /* 黒背景のときの赤（管理画面で変更可） */
	--white: #ffffff;
	--black: #111111;
	--bg: var(--white);        /* 背景 */
	--fg: var(--black);        /* 文字・線・枠（基本の色） */
	--accent: var(--red-l);    /* ポイントの赤（ヘッダー・フッター・タグ・アイコン・再生中） */
	--on-accent: #ffffff;      /* 赤の上の文字 */
	--head-bg: var(--accent);  /* ヘッダー・フッターの背景 */
	--head-fg: #ffffff;
	--ring: var(--accent);     /* マウスを乗せたときの点線の色 */
	--body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
	--en: "Oswald", "Zen Maru Gothic", sans-serif;          /* 英字・数字 */
	--lcd: "DotGothic16", "Zen Maru Gothic", monospace;     /* 液晶の曲名 */
	--line: 3px;               /* 枠線 */
	--line-s: 2px;             /* 細い線（区切り・点線） */
	--r: 14px;                 /* 角の丸み（管理画面で変更可） */
	--r-s: calc(var(--r) * .6);
	--hh: 84px;                /* ヘッダーの高さ */
	--tooth: 20px;             /* ヘッダー・フッターの縁の■の大きさ */
	--barh: 0px;               /* 下のプレイヤーの高さ（JSで更新） */
	--wrap: 1120px;
	color-scheme: light;
}


/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + var(--tooth) + 16px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.oal {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.85;
	letter-spacing: .03em;
	padding-bottom: var(--barh);
	-webkit-font-smoothing: antialiased;
}
:where(.oal) img { max-width: 100%; height: auto; }
:where(.oal) a { color: inherit; }
:where(.oal) p { margin: 0 0 1em; }
:where(.oal) p:last-child { margin-bottom: 0; }
:where(.oal) ul, :where(.oal) ol { margin: 0; padding: 0; list-style: none; }
:where(.oal) :is(h1, h2, h3, h4) { margin: 0; font-weight: 700; line-height: 1.4; }
:where(.oal) :is(button, input, select, textarea) { font: inherit; color: inherit; letter-spacing: inherit; }
:where(.oal) button { cursor: pointer; }
:where(.oal) ::selection { background: var(--accent); color: var(--on-accent); }
:where(.oal) :focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.oal [hidden] { display: none !important; }
.oal-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oal-i { width: 1.25em; height: 1.25em; flex: none; display: block; }
.oal-en { font-family: var(--en); letter-spacing: .06em; }

.oal-skip { position: absolute; left: 8px; top: -100px; z-index: 600; background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 99px; }
.oal-skip:focus { top: 8px; }

.oal-preview-note {
	position: fixed; left: 12px; bottom: calc(12px + var(--barh)); z-index: 400;
	max-width: calc(100% - 96px);
	margin: 0 !important;
	padding: 6px 14px;
	border-radius: 99px;
	background: var(--fg); color: var(--bg);
	font-size: 12px; line-height: 1.6;
}
.oal-preview-note a { margin-left: .9em; text-underline-offset: .2em; }

.oal-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.oal-wrap--narrow { max-width: 880px; }
.oal-main { display: block; padding-top: var(--tooth); padding-bottom: 72px; }

/* ---------- マウスを乗せたとき ---------- */
/* 塗ったボタン・再生ボタン・リンクなど：右上に「ハッ」とする線が3本出る（影や浮き上がりはなし） */
.oal :where(.oal-btn, .oal-ibtn, .oal-linkbtn, .oal-status__active button, .oal-taglinks a, .oal-nav a, .oal-sns a, .oal-news__more a, .oal-charcard, .oal-submitwrap, .oal-imo__extralist li, .oal-imo__map) { position: relative; }
.oal :where(.oal-btn--fill, .oal-ibtn--main, .oal-burger, .oal-search__clear, .oal-news__more a, .oal-submitwrap, .oal-prose button[type="submit"], .oal-imo__extralist li, .oal-imo__map)::after {
	content: "";
	position: absolute; top: -20px; right: -22px;
	width: 29px; height: 27px;
	background: var(--oal-mark) no-repeat center / contain;
	opacity: 0; transform: scale(.4); transform-origin: 0 100%;
	transition: opacity .12s ease, transform .2s cubic-bezier(.3, 1.7, .5, 1);
	pointer-events: none;
	z-index: 2;
}
.oal :where(.oal-btn--fill, .oal-ibtn--main, .oal-burger, .oal-search__clear, .oal-news__more a, .oal-submitwrap, .oal-prose button[type="submit"], .oal-imo__extralist li, .oal-imo__map):is(:hover, :focus-visible)::after { opacity: 1; transform: none; }
.oal .oal-imo__map::after { top: -18px; right: -20px; }
/* 枠だけのボタン（利用規約・並び順・「ジングル」などのボタン・タグ）：中を赤く塗る（黒い縁はそのまま） */
.oal :is(.oal-btn:not(.oal-btn--fill):not(.is-disabled), .oal-chip, .oal-seg__btn, .oal-select__btn, .oal-pager__item, .oal-filters__toggle, .oal-genres a, .oal-shops a, .oal-acc__sum):hover {
	background: var(--accent);
	border-color: var(--fg);
	color: var(--on-accent);
	outline: 0;
}
.oal :is(.oal-btn:not(.oal-btn--fill), .oal-chip, .oal-seg__btn, .oal-pager__item, .oal-filters__toggle, .oal-genres a, .oal-shops a, .oal-acc__sum):hover :is(.oal-i, small, .oal-pager__item small, .oal-acc__knob) { color: inherit; }
.oal-acc__sum:hover .oal-acc__knob { background: var(--on-accent); }
.oal-acc__sum:hover .oal-acc__knob::before, .oal-acc__sum:hover .oal-acc__knob::after { background: var(--accent); }
.oal-acc__sum:hover .oal-acc__no { color: inherit; }
.oal-footer__links a:hover { background: var(--head-fg); border-color: var(--fg); color: var(--head-bg); }
.oal-header, .oal-footer { --ring: var(--head-fg); }

/* ---------- ボタン ---------- */
.oal-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45em;
	min-height: 46px;
	padding: 6px 24px;
	border: var(--line) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
	color: var(--fg);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	transition: transform .08s ease;
}
.oal-btn:active { transform: scale(.97); }
.oal-btn .oal-i { color: var(--accent); }
.oal-btn--fill { background: var(--fg); color: var(--bg); }
.oal-btn--fill .oal-i { color: inherit; }
.oal-btn--red { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
.oal-btn--s { min-height: 38px; padding: 4px 16px; font-size: 13px; border-width: var(--line-s); }
.oal-btn small { font-weight: 500; font-size: .8em; margin-left: .2em; font-family: var(--en); letter-spacing: .04em; }
.oal-btn.is-disabled { border-style: dashed; cursor: default; }
.oal-btn.is-disabled:hover { outline: 0; }
.oal-linkbtn { border: 0; background: none; padding: 4px 2px; text-decoration: underline; text-underline-offset: .25em; font-size: 14px; }

/* アイコンボタン（再生・前・次） */
.oal-ibtn {
	display: inline-grid; place-items: center;
	width: 46px; height: 46px;
	padding: 0;
	border: var(--line) solid var(--fg);
	border-radius: 50%;
	background: var(--bg);
	color: var(--fg);
	transition: transform .08s ease;
}
.oal-ibtn:active { transform: scale(.92); }
.oal-ibtn--main { width: 54px; height: 54px; background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
/* 前・次・最初から・最後の10秒など：マウスを乗せると赤く塗る（黒い縁はそのまま） */
.oal-ibtn:not(.oal-ibtn--main):hover { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
.oal-ibtn--xl { width: 70px; height: 70px; }
.oal-ibtn--xl .oal-i { width: 30px; height: 30px; }
.oal-ibtn--toggle[aria-pressed="true"] { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
/* 再生中は一時停止のアイコンに */
.oal-i--pause { display: none; }
.is-playing > .oal-i--play { display: none; }
.is-playing > .oal-i--pause { display: block; }

/* チップ（タグの絞り込み・ループなど） */
.oal-chip {
	display: inline-flex; align-items: center; gap: .35em;
	min-height: 34px;
	padding: 3px 13px;
	border: var(--line-s) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
	color: var(--fg);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
}
.oal-chip small { font-family: var(--en); font-weight: 400; font-size: 12px; }
.oal-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
.oal-chip--icon .oal-i { width: 18px; height: 18px; color: var(--accent); }
.oal-chip--icon[aria-pressed="true"] .oal-i { color: inherit; }

/* ---------- ウィンドウ（タイトルバーつきの枠） ---------- */
.oal-win {
	position: relative;
	/* 枠線は outline で中身の上に重ねて描く（表示倍率が125%などのとき、border だと線と中身のあいだに
	   細いすき間ができて、タイトルバーの赤や下線が端まで届かなく見えるため） */
	border: 0;
	outline: var(--line) solid var(--fg);
	outline-offset: calc(-1 * var(--line));
	border-radius: var(--r);
	background: var(--bg);
	margin-bottom: 40px;
	overflow: clip;            /* 中の行の背景を、枠の角丸に沿って切り取る */
}
.oal-win__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 6px 16px;
	background: var(--accent);
	color: var(--on-accent);
	border-bottom: var(--line) solid var(--fg);
	border-radius: var(--r) var(--r) 0 0; /* 外側の枠と同じ丸み（はみ出し表示の枠でも角がそろうように） */
}
.oal-win__dots { display: flex; gap: 6px; }
.oal-win__dots i { width: 12px; height: 12px; border: var(--line-s) solid var(--on-accent); border-radius: 50%; }
.oal-win__dots i:first-child { background: var(--on-accent); }
.oal-win__title { font-size: 16px !important; font-weight: 700 !important; letter-spacing: .08em; text-align: center; }
.oal-win__en { justify-self: end; font-family: var(--en); font-weight: 500; font-size: 13px; letter-spacing: .18em; color: var(--on-accent); }
.oal-win__body { padding: 28px clamp(18px, 4vw, 36px); }

/* ---------- ヘッダー ---------- */
.oal-header {
	position: sticky; top: 0; z-index: 200;
	background: var(--head-bg);
	color: var(--head-fg);
}
/* ヘッダーの下・フッターの上：■のでっぱりとへこみが並んだ縁 */
.oal-header::after, .oal-footer::before {
	content: "";
	position: absolute; left: 0; right: 0;
	height: var(--tooth);
	background: linear-gradient(90deg, var(--head-bg) 50%, transparent 50%) 50% 0 / calc(var(--tooth) * 2) 100% repeat-x;
	pointer-events: none;
}
.oal-header::after { top: 100%; }
.oal-header__inner {
	display: flex; align-items: center; gap: 16px;
	height: var(--hh);
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 20px;
}
.oal-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; color: inherit; }
.oal-logo__mark { position: relative; flex: none; width: 48px; height: 48px; }
.oal-logo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .15s ease, transform .2s ease; }
.oal-logo__img--hover { opacity: 0; }
.oal-logo:hover .has-hover .oal-logo__img:not(.oal-logo__img--hover),
.oal-logo:focus-visible .has-hover .oal-logo__img:not(.oal-logo__img--hover),
.oal-footer__logo:hover .has-hover .oal-logo__img:not(.oal-logo__img--hover) { opacity: 0; }
.oal-logo:hover .oal-logo__img--hover, .oal-logo:focus-visible .oal-logo__img--hover, .oal-footer__logo:hover .oal-logo__img--hover { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
	.oal-logo:hover .oal-logo__img--hover, .oal-footer__logo:hover .oal-logo__img--hover { animation: oal-hop .35s ease; }
}
@keyframes oal-hop { 40% { transform: translateY(-4px); } }
.oal-logo__text { display: flex; flex-direction: column; min-width: 0; }
.oal-logo__name { font-weight: 900; font-size: 17px; line-height: 1.3; letter-spacing: .06em; white-space: nowrap; }
.oal-logo__sub { font-family: var(--en); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: .2em; white-space: nowrap; }

.oal-nav { margin-left: auto; }
.oal-nav ul { display: flex; gap: 14px; }
.oal-nav a {
	display: block;
	padding: 4px 12px;
	line-height: 26px;
	border-radius: 99px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.oal-nav a[aria-current="page"] { background: var(--head-fg); color: var(--head-bg); }

.oal-header__right { display: flex; align-items: center; gap: 14px; }
.oal-sns { display: flex; align-items: center; gap: 14px; }
.oal-sns a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: inherit; text-decoration: none; }
.oal-sns__i { display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain; }
.oal-sns__t { font-family: var(--en); font-size: 12px; }

.oal-burger {
	display: none;
	position: relative;
	width: 46px; height: 46px;
	padding: 0;
	border: var(--line) solid var(--head-fg);
	border-radius: 50%;
	background: transparent;
	color: var(--head-fg);
}
.oal-burger span { position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
.oal-burger span:nth-child(1) { top: 12px; }
.oal-burger span:nth-child(2) { top: 19px; }
.oal-burger span:nth-child(3) { top: 26px; }
.oal-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.oal-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.oal-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.oal-drawer { position: fixed; inset: var(--hh) 0 0 0; z-index: 450; visibility: hidden; pointer-events: none; }
.oal-drawer__panel {
	position: absolute; top: 12px; right: 12px; bottom: calc(12px + var(--barh));
	width: min(86vw, 360px);
	display: flex; flex-direction: column;
	background: var(--bg);
	border: var(--line) solid var(--fg);
	border-radius: var(--r);
	overflow-y: auto;
	opacity: 0;
	transform: translateX(30px);
	transition: opacity .3s ease, transform .3s ease;
}
.oal-drawer.is-open { visibility: visible; pointer-events: auto; }
.oal-drawer.is-open .oal-drawer__panel { opacity: 1; transform: none; }
.oal-drawer.is-closing { visibility: visible; }
.oal-drawer__nav { padding: 8px 16px; }
.oal-drawer__nav li + li { border-top: var(--line-s) dotted var(--fg); }
.oal-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-weight: 700; font-size: 17px; text-decoration: none; }
.oal-drawer__nav a .oal-i { color: var(--accent); }
.oal-drawer__nav a[aria-current="page"] { color: var(--accent); }
.oal-drawer__foot { margin-top: auto; padding: 14px 20px; border-top: var(--line) solid var(--fg); display: grid; gap: 12px; }
.oal-drawer__foot .oal-sns a { border: var(--line-s) solid var(--fg); }

/* ---------- パンくず・ページ見出し ---------- */
.oal-crumbs { padding: 18px 0 0; font-size: 13px; }
.oal-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.oal-crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--accent); }
.oal-crumbs a { text-underline-offset: .2em; }
.oal-pagehead { padding: 28px 0 32px; }
.oal-pagehead__kicker, .oal-songhead__kicker {
	display: inline-flex; gap: .8em;
	margin-bottom: 12px !important;
	padding: 2px 14px;
	border-radius: 99px;
	background: var(--accent); color: var(--on-accent);
	font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .16em; line-height: 1.6;
}
.oal-pagehead__title { font-size: clamp(28px, 5vw, 48px) !important; font-weight: 900 !important; letter-spacing: .04em; }
.oal-pagehead__desc { margin-top: 12px !important; }

/* ---------- トップ：ヒーロー ---------- */
.oal-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(40px, 7vw, 88px) 20px clamp(40px, 6vw, 72px);
}
.oal-hero__kicker { font-family: var(--en); font-weight: 500; font-size: 17px; letter-spacing: .18em; margin-bottom: 16px !important; }
.oal-hero__kicker span { padding: 2px 12px; margin-right: 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); }
.oal-hero__title {
	font-size: clamp(38px, 6.2vw, 74px) !important;
	font-weight: 900 !important;
	line-height: 1.18 !important;
	letter-spacing: .02em;
}
.oal-hero__lead { margin-top: 20px !important; font-weight: 700; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.8; }
.oal-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.oal-hero__facts li {
	display: inline-flex; align-items: center;
	height: 34px; padding: 0 16px;
	border: var(--line-s) solid var(--fg); border-radius: 99px;
	font-size: 14px; font-weight: 700; line-height: 1;
}
.oal-hero__facts b { font-family: var(--en); font-weight: 600; font-size: 1.15em; line-height: 1; margin: 0 .12em; color: var(--accent); position: relative; top: -.02em; }
.oal-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px !important; }

/* 更新情報 */
.oal-hero__news { position: relative; padding-top: 76px; }
.oal-news {
	position: relative;
	border: var(--line) solid var(--fg);
	border-radius: var(--r);
	background: var(--bg);
	padding: 22px 0 0;
}
.oal-news__head { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 0 24px 14px; border-bottom: var(--line) solid var(--fg); }
/* 城：「更新情報」と横並びで、見出しの下の線に立つ */
.oal-news__deco {
	position: absolute; right: 22px; bottom: 8px;
	width: clamp(92px, 8.6vw, 114px); height: auto;
	pointer-events: none;
}
.oal-news__en { font-family: var(--en); font-weight: 600; font-size: 28px; letter-spacing: .12em; line-height: 1; margin: 0 !important; color: var(--accent); }
.oal-news__title { font-size: 15px !important; font-weight: 700 !important; }
.oal-news__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 2px 14px;
	padding: 12px 20px 12px 24px;
	border-bottom: var(--line-s) dotted var(--fg);
}
.oal-news__meta { display: flex; align-items: center; gap: 8px; margin: 0 !important; grid-column: 1; }
.oal-news__date { font-family: var(--en); font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.oal-news__new { font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .12em; padding: 0 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); line-height: 1.7; }
.oal-news__kind { padding: 0 8px; border: var(--line-s) solid var(--fg); border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.oal-news__kind.is-other { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.oal-news__item.is-notice .oal-news__link { grid-column: 1 / -1; }
.oal-news__link { grid-column: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.55; text-decoration: none; }
.oal-news__link:hover { text-decoration: underline; text-underline-offset: .2em; }
.oal-news__item .oal-play { grid-column: 2; grid-row: 1 / span 2; }
.oal-news__more { text-align: right; padding: 12px 24px 14px; margin: 0 !important; }
.oal-news__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; border-radius: 99px; padding: 2px 6px; }
.oal-news__more .oal-i { color: var(--accent); }

/* ---------- 曲をさがす ---------- */
.oal-library__tools { padding: 22px clamp(16px, 3vw, 28px) 8px; display: grid; gap: 16px; }
.oal-search { display: flex; gap: 12px; flex-wrap: wrap; }
.oal-search__box {
	flex: 1 1 320px;
	display: flex; align-items: center; gap: 10px;
	min-height: 54px;
	padding: 0 8px 0 18px;
	border: var(--line) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
}
.oal-search__box > .oal-i { color: var(--accent); }
.oal-search__box:focus-within { outline: var(--line-s) dotted var(--ring); outline-offset: 3px; }
.oal-search__box input {
	flex: 1; min-width: 0;
	border: 0; outline: 0; background: transparent;
	font-size: 16px; font-weight: 700;
	padding: 10px 0;
}
.oal-search__box input::placeholder { color: var(--fg); opacity: .5; font-weight: 500; }
.oal-search__box input::-webkit-search-cancel-button { display: none; }
.oal-search__clear { width: 36px; height: 36px; border: 0; background: none; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.oal-search--solo { margin: 20px 0; }
.oal-select { position: relative; flex: 0 0 auto; }
.oal-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); pointer-events: none; }
.oal-select select {
	appearance: none; -webkit-appearance: none;
	min-height: 54px;
	padding: 0 46px 0 20px;
	border: var(--line) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}
.oal-select select:hover { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
.oal-select select option:checked, .oal-select select option:hover { background: var(--accent); color: var(--on-accent); }
.oal-select:hover::after { border-color: var(--on-accent); }
/* 並び順のプルダウン（JSで作り直したもの） */
.oal-select.is-enhanced select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.oal-select__btn {
	display: flex; align-items: center;
	width: 100%; min-height: 54px;
	padding: 0 48px 0 20px;
	border: var(--line) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
	font-weight: 700; font-size: 15px;
	white-space: nowrap;
}
.oal-select.is-open .oal-select__btn { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }
.oal-select.is-open::after { border-color: var(--on-accent); transform: rotate(-135deg); margin-top: -2px; }
.oal-select__menu {
	position: absolute; z-index: 60; right: 0; top: calc(100% + 8px);
	min-width: 100%;
	padding: 6px;
	background: var(--bg);
	border: var(--line) solid var(--fg);
	border-radius: var(--r);
}
.oal-select__opt { padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer; outline: 0; }
.oal-select__opt[aria-selected="true"] { color: var(--accent); }
.oal-select__opt[aria-selected="true"]::before { content: "▶ "; font-size: .7em; vertical-align: 1px; }
.oal-select__opt:hover, .oal-select__opt.is-active { background: var(--accent); color: var(--on-accent); }

.oal-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.oal-seg__label, .oal-fgroup__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; min-width: 5.5em; }
.oal-seg__label::before, .oal-fgroup__label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 7px; vertical-align: 2px; }
.oal-seg__btn {
	display: inline-flex; align-items: baseline; gap: .35em;
	padding: 5px 14px;
	border: var(--line-s) solid var(--fg);
	border-radius: 99px;
	background: var(--bg);
	font-weight: 700;
	font-size: 14px;
}
.oal-seg__btn small { font-family: var(--en); font-weight: 400; font-size: 12px; }
.oal-seg__btn[aria-pressed="true"] { background: var(--accent); border-color: var(--fg); color: var(--on-accent); }

.oal-filters__toggle { display: none; }
.oal-filters__panel { display: grid; gap: 12px; }
.oal-fgroup { display: flex; align-items: flex-start; gap: 10px; }
.oal-fgroup__label { padding-top: 6px; flex: none; }
.oal-fgroup__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.oal-status {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
	padding-top: 14px;
	border-top: var(--line-s) dotted var(--fg);
}
.oal-status__count { font-weight: 700; margin: 0 !important; }
.oal-status__count b { font-family: var(--en); font-weight: 600; font-size: 28px; line-height: 1; margin-right: 3px; color: var(--accent); }
.oal-status__total { font-size: 13px; font-weight: 500; }
.oal-status__active { display: flex; flex-wrap: wrap; gap: 6px; }
.oal-status__active button { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px 1px 12px; border: 0; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.oal-status__active .oal-i { width: 16px; height: 16px; }
.oal-status__all { margin-left: auto; }

/* ---------- 曲の行 ---------- */
.oal-list { border-top: var(--line) solid var(--fg); }
.oal-win__bar + .oal-list { border-top: 0; }
.oal-row {
	position: relative;
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr) auto auto 64px;
	align-items: center;
	gap: 16px;
	padding: 12px clamp(14px, 3vw, 28px);
	border-bottom: var(--line-s) dotted var(--fg);
}
.oal-list > .oal-row:last-of-type, .oal-list--compact > .oal-row:last-child { border-bottom: 0; }
/* マウスを乗せた曲・再生中の曲は赤く塗る（文字は白） */
.oal-row:hover, .oal-row.is-current { background: var(--accent); color: var(--on-accent); --ring: var(--on-accent); }
.oal-row:hover .oal-play, .oal-row.is-current .oal-play { background: var(--on-accent); color: var(--accent); border-color: var(--fg); }
.oal-row:hover .oal-row__tags li, .oal-row.is-current .oal-row__tags li { background: var(--on-accent); color: var(--accent); }
.oal-row:hover .oal-row__dl, .oal-row.is-current .oal-row__dl { border-color: var(--on-accent); background: transparent; color: var(--on-accent); }
.oal-row:hover .oal-row__dl .oal-i, .oal-row.is-current .oal-row__dl .oal-i { color: inherit; }
.oal-row:hover .oal-row__dl:hover, .oal-row.is-current .oal-row__dl:hover { background: var(--on-accent); border-color: var(--fg); color: var(--accent); }

.oal-play {
	display: grid; place-items: center;
	width: 50px; height: 50px;
	padding: 0;
	border: var(--line) solid var(--fg);   /* DLボタンと同じ太さの黒い縁 */
	border-radius: 50%;
	background: var(--accent);
	color: var(--on-accent);
	transition: transform .08s ease;
}
.oal-play:active { transform: scale(.9); }
.oal-play:hover { background: var(--on-accent); color: var(--accent); border-color: var(--fg); }
.oal-play .oal-i { width: 22px; height: 22px; }
.oal-play--s { width: 36px; height: 36px; border-width: var(--line-s); }
.oal-play--s .oal-i { width: 16px; height: 16px; }

.oal-row__main { display: block; min-width: 0; text-decoration: none; padding: 2px 6px; border-radius: 6px; }
.oal-row__title { display: block; font-weight: 900; font-size: 17px; line-height: 1.45; }
.oal-row__main:hover .oal-row__title { text-decoration: underline; text-underline-offset: .2em; }
.oal-row__desc { display: block; font-size: 13px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oal-row__tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 260px; }
.oal-row__tags li { padding: 0 10px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; line-height: 1.8; white-space: nowrap; }
.oal-row__meta { display: flex; align-items: center; gap: 12px; font-family: var(--en); }
.oal-row__meta > span { display: block; padding: 2px 8px; border-radius: 6px; text-align: right; }
.oal-row__len { font-size: 17px; font-weight: 500; letter-spacing: .04em; min-width: 3.4em; }
.oal-row__bpm { font-size: 16px; font-weight: 500; min-width: 3.4em; line-height: 1.15; }
.oal-row__bpm small { display: block; font-size: 10px; letter-spacing: .14em; line-height: 1; }
.oal-row__dl {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	width: 58px; height: 50px;
	border: var(--line) solid var(--fg);
	border-radius: var(--r-s);
	background: var(--bg);
	text-decoration: none;
	font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .08em; line-height: 1;
}
.oal-row__dl .oal-i { width: 20px; height: 20px; margin-bottom: 3px; color: var(--accent); }

.oal-list__ad { padding: 18px clamp(14px, 3vw, 28px); border-bottom: var(--line-s) dotted var(--fg); }
.oal-list__ad .oal-ad { margin: 0; }

.oal-empty { text-align: center; padding: 48px 20px 56px; }
.oal-empty__title { font-family: var(--en); font-weight: 600; font-size: 36px; letter-spacing: .2em; margin-bottom: 8px !important; color: var(--accent); }
.oal-empty .oal-btn { margin-top: 20px; }
.oal-more { text-align: center; padding: 24px 16px 28px; margin: 0 !important; border-top: var(--line-s) dotted var(--fg); }
.oal-more span { font-family: var(--en); font-weight: 400; font-size: 13px; margin-left: .4em; }

/* ---------- つかいかた ---------- */
.oal-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.oal-steps li { padding: 26px 22px; border-right: var(--line-s) dotted var(--fg); }
.oal-steps li:last-child { border-right: 0; }
.oal-steps__n { display: inline-block; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .1em; padding: 0 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); margin-bottom: 10px; }
.oal-steps b { display: block; font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.oal-steps p { font-size: 14px; line-height: 1.75; }
.oal-howto__more { text-align: center; padding: 22px; margin: 0 !important; border-top: var(--line) solid var(--fg); }

/* ---------- 液晶・シークバー・音量（プレイヤー共通） ---------- */
.oal-lcd {
	min-width: 0;
	padding: 9px 16px 10px;
	border: var(--line) solid var(--fg);
	border-radius: var(--r-s);
	background: var(--bg);
	color: var(--fg);
	line-height: 1.35;
}
.oal-lcd__top { display: flex; align-items: center; gap: 10px; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .16em; }
.oal-lcd__state { min-width: 3.6em; color: var(--accent); }
.oal-lcd__time { margin-left: auto; font-size: 15px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.oal-lcd__sep { margin: 0 .3em; opacity: .6; }
.oal-lcd__title { overflow: hidden; white-space: nowrap; font-family: var(--lcd); font-size: 17px; letter-spacing: .06em; margin-top: 2px; }
.oal-lcd__title span { display: inline-block; padding-right: 2em; }
.oal-lcd__title.is-marquee span { animation: oal-marquee var(--dur, 10s) linear infinite; }
@keyframes oal-marquee { 0%, 12% { transform: translateX(0); } 100% { transform: translateX(var(--dist, 0)); } }

.oal-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.oal-eq i { width: 3px; height: 3px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
	html.oal-is-playing .oal-eq i { animation: oal-eq .9s ease-in-out infinite alternate; }
	html.oal-is-playing .oal-eq i:nth-child(2n) { animation-duration: .7s; }
	html.oal-is-playing .oal-eq i:nth-child(3n) { animation-duration: 1.1s; animation-delay: -.3s; }
	html.oal-is-playing .oal-eq i:nth-child(4n) { animation-duration: .55s; animation-delay: -.2s; }
}
@keyframes oal-eq { from { height: 2px; } to { height: 12px; } }

.oal-seek { position: relative; height: 26px; }
.oal-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--line); margin-top: -1.5px; background: var(--fg); border-radius: 3px; }
.oal-seek__fill { position: absolute; left: 0; top: 50%; height: 9px; margin-top: -4.5px; width: calc(var(--p, 0) * 100%); background: var(--accent); border-radius: 99px; pointer-events: none; }
.oal-seek input, .oal-vol input {
	-webkit-appearance: none; appearance: none;
	position: relative; z-index: 1;
	width: 100%; height: 26px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}
.oal-seek input::-webkit-slider-runnable-track, .oal-vol input::-webkit-slider-runnable-track { height: 26px; background: transparent; }
.oal-seek input::-moz-range-track, .oal-vol input::-moz-range-track { height: 26px; background: transparent; }
.oal-seek input::-webkit-slider-thumb, .oal-vol input::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 22px; height: 22px; margin-top: 2px;
	border: var(--line) solid var(--fg); border-radius: 50%;
	background: var(--bg);
}
.oal-seek input::-moz-range-thumb, .oal-vol input::-moz-range-thumb {
	width: 16px; height: 16px;
	border: var(--line) solid var(--fg); border-radius: 50%;
	background: var(--bg);
}
.oal-seek input:hover::-webkit-slider-thumb, .oal-vol input:hover::-webkit-slider-thumb { outline: var(--line-s) dotted var(--ring); outline-offset: 2px; }
.oal-seek input:focus-visible, .oal-vol input:focus-visible { outline-offset: 0; border-radius: 99px; }

.oal-vol { position: relative; display: flex; align-items: center; gap: 6px; width: 140px; }
.oal-vol .oal-i { width: 22px; height: 22px; color: var(--accent); }
.oal-vol input { flex: 1; min-width: 0; background: linear-gradient(var(--accent), var(--accent)) 0 50% / calc(var(--v, .8) * 100%) 7px no-repeat, linear-gradient(var(--fg), var(--fg)) 0 50% / 100% 3px no-repeat; border-radius: 99px; }

/* ---------- 下に張りつくプレイヤー ---------- */
.oal-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
	background: var(--bg);
	border-top: var(--line) solid var(--fg);
	padding-bottom: env(safe-area-inset-bottom);
}
@media (prefers-reduced-motion: no-preference) { .oal-bar.is-in { animation: oal-up .35s cubic-bezier(.2, .8, .2, 1); } }
@keyframes oal-up { from { transform: translateY(100%); } }
.oal-bar__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	max-width: 1360px;
	margin: 0 auto;
	padding: 10px 20px;
}
.oal-bar__ctrl { display: flex; align-items: center; gap: 8px; }
.oal-bar__screen { display: grid; gap: 2px; min-width: 0; }
.oal-bar__opt { display: flex; align-items: center; gap: 12px; }

/* 下のプレイヤーの液晶は少し薄く */
.oal-bar .oal-lcd { padding: 6px 14px 7px; }
/* 再生ボタンは赤。前・次・1曲ループは、マウスを乗せると赤く塗る（黒い縁はそのまま） */
.oal-bar [data-oal="link"] { border-width: var(--line); }

/* ---------- 曲のページ ---------- */
.oal-songhead { padding: 28px 0 30px; }
.oal-songhead__title { font-size: clamp(30px, 5.4vw, 56px) !important; font-weight: 900 !important; line-height: 1.25 !important; letter-spacing: .03em; }
.oal-songhead__desc { margin-top: 12px !important; font-weight: 700; font-size: 17px; max-width: 46em; }
.oal-taglinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.oal-taglinks a { display: inline-block; padding: 2px 14px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; text-decoration: none; }

.oal-songgrid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.oal-songgrid > .oal-win { margin-bottom: 40px; }

.oal-deck { padding: 26px clamp(18px, 3.5vw, 32px) 24px; display: grid; gap: 20px; }
.oal-cassette { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.oal-cassette__svg { display: block; width: 100%; height: auto; overflow: visible; }
.oal-cassette .c-body { fill: var(--accent); stroke: var(--fg); stroke-width: 4; }
.oal-cassette .c-line { fill: none; stroke: var(--fg); stroke-width: 4; stroke-linejoin: round; }
.oal-cassette .c-label { fill: var(--bg); stroke: var(--fg); stroke-width: 3; }
.oal-cassette .c-window { fill: var(--accent); stroke: var(--fg); stroke-width: 3; }
.oal-cassette .c-tape { fill: var(--fg); transition: r .4s linear; }
.oal-cassette .c-hub { fill: var(--bg); stroke: var(--fg); stroke-width: 3; }
.oal-cassette .c-ink, .oal-cassette .c-inkfill { fill: var(--fg); }
.oal-reel__spin { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	.oal-reel__spin { animation: oal-spin 2.2s linear infinite; animation-play-state: paused; }
	.oal-reel--r .oal-reel__spin { animation-duration: 1.6s; }
	html.oal-is-playing .oal-deck.is-active .oal-reel__spin { animation-play-state: running; }
}
@keyframes oal-spin { to { transform: rotate(360deg); } }
.oal-cassette__label {
	position: absolute; left: 19%; right: 12%; top: 16%;
	height: 19%;
	display: flex; align-items: center;
	color: var(--fg);
	font-weight: 900;
	font-size: clamp(14px, 2.6vw, 21px);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	line-height: 1.2;
	border-bottom: 2px dashed var(--fg);
}
.oal-cassette__side {
	position: absolute; left: 11.5%; top: 16.5%;
	width: 6%; aspect-ratio: 1;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--accent); color: var(--on-accent);
	font-family: var(--en); font-weight: 600; font-size: clamp(11px, 1.8vw, 15px);
}
.oal-deck__panel { display: grid; gap: 14px; }
.oal-deck__ctrl { display: flex; align-items: center; justify-content: center; gap: 22px; }
.oal-deck__opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.oal-deck__hint { font-size: 12px; line-height: 1.7; text-align: center; }
.oal-deck__hint .oal-i { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; color: var(--accent); }

.oal-songgrid__img { margin-bottom: 20px; border-radius: var(--r-s); border: var(--line) solid var(--fg); }
.oal-spec { margin: 0; }
.oal-spec > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: var(--line-s) dotted var(--fg); }
.oal-spec > div:first-child { padding-top: 0; }
.oal-spec dt { font-size: 13px; letter-spacing: .04em; padding-top: 2px; color: var(--accent); font-weight: 700; }
.oal-spec dd { margin: 0; font-weight: 700; }
.oal-yt { margin-top: 20px; }
.oal-yt .oal-i { color: var(--accent); }
.oal-yt iframe, .oal-yt .oal-imgwrap { width: 100%; aspect-ratio: 16 / 9; height: auto; border: var(--line) solid var(--fg); border-radius: var(--r-s); display: block; }

/* ダウンロード */
.oal-dl__rules { display: grid; gap: 6px; margin-bottom: 24px !important; font-size: 14px; }
.oal-dl__rules li { position: relative; padding-left: 1.5em; }
.oal-dl__rules li::before { content: ""; position: absolute; left: .25em; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.oal-dl__rules a { text-underline-offset: .2em; font-weight: 700; }
.oal-agree { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 18px; border: var(--line-s) dashed var(--fg); border-radius: 99px; font-weight: 700; cursor: pointer; }
.oal-agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.oal-fmts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.oal-fmts.is-locked .oal-fmt__btn:not(.is-disabled) { pointer-events: none; border-style: dashed; background: var(--bg); color: var(--fg); }
.oal-fmt {
	display: flex; flex-direction: column;
	padding: 18px 18px 20px;
	border: var(--line) solid var(--fg);
	border-radius: var(--r);
}
.oal-fmt__name { font-family: var(--en); font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: .08em; margin-bottom: 6px !important; color: var(--accent); }
.oal-fmt__note { font-size: 13px; line-height: 1.65; margin-bottom: 16px !important; flex: 1; }
.oal-fmt__btn { width: 100%; flex-direction: column; gap: 0; padding: 7px 12px; line-height: 1.35; }
.oal-fmt__btnlabel { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
.oal-fmt__btn small { margin: 0; font-size: 11px; }
.oal-credit {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 6px 16px;
	margin-top: 28px;
	padding: 14px 20px;
	border: var(--line-s) dashed var(--fg);
	border-radius: var(--r);
}
.oal-credit__label { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .16em; padding: 0 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); margin: 0 !important; }
.oal-credit__text { margin: 0 !important; min-width: 0; }
.oal-credit__text code { font-family: var(--body); font-weight: 900; font-size: 18px; word-break: break-all; }
.oal-credit__note { grid-column: 1 / -1; font-size: 12px; margin: 0 !important; }
.oal-credit__note a { text-underline-offset: .2em; }
.oal-copy-done { background: var(--accent) !important; border-color: var(--fg) !important; color: var(--on-accent) !important; }

.oal-list--compact { border-top: 0; }
.oal-list--compact .oal-row { grid-template-columns: 46px minmax(0, 1fr) auto auto 58px; }
.oal-list--compact .oal-play { width: 46px; height: 46px; }

.oal-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.oal-pager__item { display: block; padding: 14px 20px; border: var(--line) solid var(--fg); border-radius: var(--r); text-decoration: none; }
.oal-pager__item small { display: block; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.oal-pager__item span { font-weight: 900; }
.oal-pager__item--old { text-align: right; grid-column: 2; }
.oal-back { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 16px 0 40px !important; }

/* ---------- 画像を2色に（設定でオンのとき） ---------- */
.oal-imgwrap { position: relative; display: block; overflow: hidden; }
.oal-imgwrap img { display: block; width: 100%; height: auto; }
.oal-duo { isolation: isolate; background: var(--bg); }
.oal-duo img { filter: grayscale(1) contrast(1.15); }
.oal-duo::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: lighten; pointer-events: none; }

/* ---------- 固定ページの本文 ---------- */
.oal-prose { line-height: 1.95; overflow-wrap: anywhere; }
.oal-prose > * + * { margin-top: 1.1em !important; }
.oal-prose > :first-child { margin-top: 0 !important; }
.oal-prose h2 { font-size: 22px; font-weight: 900; margin-top: 2em !important; padding: 6px 18px; border-radius: 99px; background: var(--fg); color: var(--bg); }
.oal-prose h3 { font-size: 19px; font-weight: 900; margin-top: 1.8em !important; padding-bottom: 6px; border-bottom: var(--line-s) dotted var(--fg); }
.oal-prose h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.oal-prose h4, .oal-prose h5 { font-size: 17px; font-weight: 900; margin-top: 1.5em !important; }
.oal-prose a { text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.oal-prose ul, .oal-prose ol { padding-left: 1.4em; }
.oal-prose ul { list-style: disc; }
.oal-prose ol { list-style: decimal; }
.oal-prose li + li { margin-top: .3em; }
.oal-prose li::marker { color: var(--accent); }
.oal-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.oal-prose th, .oal-prose td { border: var(--line-s) solid var(--fg); padding: 8px 12px; text-align: left; vertical-align: top; }
.oal-prose th { background: var(--fg); color: var(--bg); }
.oal-prose blockquote { margin-left: 0; margin-right: 0; padding: 12px 20px; border-left: 6px solid var(--accent); }
.oal-prose hr { border: 0; border-top: var(--line-s) dashed var(--fg); }
.oal-prose img { border-radius: var(--r-s); }
.oal-prose iframe { max-width: 100%; }
.oal-prose [style*="color"] { color: inherit !important; }
.oal-prose strong { color: var(--accent); }
.oal-prose input[type="text"], .oal-prose input[type="email"], .oal-prose input[type="url"], .oal-prose input[type="tel"], .oal-prose textarea, .oal-prose select {
	width: 100%; max-width: 100%;
	padding: 10px 14px;
	border: var(--line) solid var(--fg);
	border-radius: var(--r-s);
	background: var(--bg); color: var(--fg);
}
.oal-prose input[type="submit"], .oal-prose button[type="submit"] {
	min-height: 48px; padding: 6px 36px;
	border: var(--line) solid var(--fg); border-radius: 99px;
	background: var(--accent); color: var(--on-accent);
	-webkit-text-fill-color: var(--on-accent);
	-webkit-appearance: none; appearance: none;
	font-weight: 700; cursor: pointer;
}
.oal-submitwrap { display: inline-block; vertical-align: middle; }
/* Contact Form 7 が送信ボタンの後ろに足す「送信中」のくるくるは、包みの幅に入れない（「ハッ」の線がボタンの右上に出るように） */
.oal-submitwrap .wpcf7-spinner { position: absolute; left: 100%; top: 50%; margin: -12px 0 0 14px !important; }
.oal-prose .wpcf7-not-valid-tip, .oal-prose .wpcf7-response-output { color: var(--accent); border-color: var(--accent) !important; }
/* 入力チェックのエラー（未入力・メールアドレスの形式） */
.oal-prose .wpcf7-not-valid-tip, .oal-prose .oal-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--accent); }
.oal-prose .oal-tip::before, .oal-prose .wpcf7-not-valid-tip::before { content: "！"; display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .35em; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85em; vertical-align: .05em; }
.oal-prose :is(input, textarea, select):is(.oal-invalid, .wpcf7-not-valid) { border-color: var(--accent) !important; background: #fff6f5; }
.oal-prose .wpcf7-form-control-wrap:has(.oal-tip) .wpcf7-not-valid-tip { display: none; }
.oal-form-alert { margin: 0 0 16px !important; padding: 12px 16px; border: var(--line) solid var(--accent); border-radius: var(--r-s); background: #fff6f5; color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.7; }
.oal-form-alert::before { content: "！"; display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; margin-right: .5em; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85em; }

/* 本文の中の囲み（JINの囲みボックス → WELCOMEと同じ、赤いタイトルバーのウィンドウに） */
.oal-prose .oal-box {
	border: 0;
	outline: var(--line) solid var(--fg);
	outline-offset: calc(-1 * var(--line));
	border-radius: var(--r);
	background: var(--bg);
	padding: 26px clamp(18px, 4vw, 36px);
	overflow: clip;
}
.oal-prose .oal-box + .oal-box { margin-top: 32px !important; }
.oal-prose .oal-box > h2:first-child {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	margin: -26px calc(-1 * clamp(18px, 4vw, 36px)) 22px !important;
	padding: 6px 16px;
	border-radius: 0;
	border-bottom: var(--line) solid var(--fg);
	background: var(--accent); color: var(--on-accent);
	font-size: 16px; font-weight: 700; letter-spacing: .08em; text-align: center;
}
/* タイトルバーの丸3つ（塗り・白抜き・白抜き） */
.oal-prose .oal-box > h2:first-child::before {
	content: "";
	width: 48px; height: 12px;
	background:
		radial-gradient(circle at 6px 6px, var(--on-accent) 5.5px, transparent 6px),
		radial-gradient(circle at 24px 6px, transparent 3.5px, var(--on-accent) 4px, var(--on-accent) 5.5px, transparent 6px),
		radial-gradient(circle at 42px 6px, transparent 3.5px, var(--on-accent) 4px, var(--on-accent) 5.5px, transparent 6px);
}
.oal-prose .oal-box > h2:first-child::after { content: ""; }
/* 外側の大きな枠なしで本文を並べるページ */
.oal-prose--bare { line-height: 1.95; }

/* アコーディオン（利用規約など） */
.oal-accs { display: grid; gap: 10px; margin-top: 4px; }
.oal-acc { border: var(--line) solid var(--fg); border-radius: var(--r-s); background: var(--bg); overflow: clip; overflow-clip-margin: 4px; }
.oal-acc__sum {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 16px;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
	border-radius: calc(var(--r-s) - 3px);
}
.oal-acc__sum::-webkit-details-marker { display: none; }
.oal-acc__sum::marker { content: ""; }
.oal-acc__knob {
	flex: none; position: relative;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--accent);
	transition: transform .25s ease;
}
.oal-acc__knob::before, .oal-acc__knob::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; margin: -1.5px 0 0 -6px; border-radius: 3px; background: var(--on-accent); transition: transform .25s ease; }
.oal-acc__knob::after { transform: rotate(90deg); }
.oal-acc[open] > .oal-acc__sum { background: var(--bg); color: var(--fg); border-radius: 0; border-bottom: var(--line) solid var(--fg); }
.oal-acc[open] > .oal-acc__sum .oal-acc__knob { transform: rotate(180deg); }
.oal-acc[open] > .oal-acc__sum .oal-acc__knob::after { transform: rotate(0deg); }
.oal-acc__no { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--accent); }
.oal-acc[open] > .oal-acc__sum:hover .oal-acc__no { color: inherit; }
.oal-acc__body { padding: 16px 20px 18px 56px; line-height: 1.9; }
.oal-acc__body > * + * { margin-top: .8em !important; }
.oal-acc__body p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
	.oal-acc { interpolate-size: allow-keywords; }
	.oal-acc::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
	.oal-acc[open]::details-content { block-size: auto; }
}
.oal-acc-tools { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px !important; }

/* ---------- おすすめ（曲をまとめた固定ページ） ---------- */
.oal-curated__intro { margin-bottom: 28px !important; font-weight: 700; }
.oal-curated .oal-win { margin-bottom: 32px; }

/* ---------- 404 ---------- */
.oal-404 { margin-top: 40px; text-align: center; }
.oal-404__code { font-family: var(--en); font-weight: 600; font-size: clamp(72px, 15vw, 132px); line-height: 1; margin-bottom: 20px !important; color: var(--accent); }
.oal-404__code span { display: block; font-size: 16px; font-weight: 500; letter-spacing: .3em; margin-top: 10px; color: var(--fg); }
.oal-404 .oal-search { justify-content: center; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- 広告 ---------- */
.oal-ad { margin: 0 0 40px; text-align: center; }
.oal-ad__label { display: block; font-size: 11px; letter-spacing: .14em; margin-bottom: 6px; }
.oal-ad--wide { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0 20px; }
.oal-ad.is-dummy .oal-ad__box {
	display: grid; place-items: center; align-content: center; gap: 2px;
	min-height: 120px;
	border: var(--line-s) dashed var(--fg);
	border-radius: var(--r-s);
	background: radial-gradient(circle, var(--fg) .8px, transparent 1.1px) 0 0 / 6px 6px;
}
.oal-ad.is-dummy .oal-ad__box span, .oal-ad.is-dummy .oal-ad__box small { background: var(--bg); padding: 0 10px; border-radius: 99px; }
.oal-ad.is-dummy .oal-ad__box span { font-family: var(--en); font-weight: 600; font-size: 26px; letter-spacing: .2em; }
.oal-ad.is-dummy .oal-ad__box small { font-size: 12px; }

/* ---------- フッター（左：姉妹サイト ／ 右：サイト情報） ---------- */
.oal-footer { position: relative; margin-top: var(--tooth); background: var(--head-bg); color: var(--head-fg); }
.oal-footer::before { bottom: 100%; }
.oal-footer__inner {
	max-width: var(--wrap); margin: 0 auto;
	padding: 52px 20px 36px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.oal-footer__label { display: inline-block; font-size: 13px; font-weight: 700; padding: 1px 14px; border: var(--line-s) solid var(--head-fg); border-radius: 99px; margin-bottom: 14px !important; }
.oal-sister { position: relative; display: block; text-decoration: none; border-radius: var(--r); color: inherit; }
/* マウスを乗せたときの破線の枠（線2px・破線9px・すき間5px、角丸あり） */
.oal .oal-footer .oal-sister:hover { outline: 0; }

.oal-sister__img { display: block; border: var(--line) solid var(--head-fg); border-radius: var(--r); overflow: hidden; background: #fff; }
.oal-sister__img img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.oal-sister__name { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--en); font-weight: 600; font-size: 20px; letter-spacing: .12em; }
.oal-sister__text { display: block; font-size: 13px; line-height: 1.7; margin-top: 4px; }
.oal-footer__info { display: grid; gap: 16px; justify-items: start; }
.oal-footer__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.oal-footer__logo .oal-logo__mark { width: 56px; height: 56px; }
.oal-footer__name { display: block; font-weight: 900; font-size: 20px; line-height: 1.3; letter-spacing: .05em; }
.oal-footer__sub { display: block; font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .2em; }
.oal-footer__desc { font-size: 13px; line-height: 1.8; margin: 0 !important; }
.oal-footer__links { display: flex; flex-wrap: wrap; gap: 10px 6px; }
.oal-footer__links a { display: block; padding: 2px 12px; border: var(--line-s) solid var(--head-fg); border-radius: 99px; font-weight: 700; font-size: 13px; text-decoration: none; }
.oal-sns--footer a { border: var(--line-s) solid var(--head-fg); }
.oal-footer__copy { grid-column: 1 / -1; order: 3; font-family: var(--en); font-size: 12px; letter-spacing: .1em; margin: 0 !important; padding-top: 18px; border-top: var(--line-s) dotted var(--head-fg); text-align: center; }

/* 上に戻る */
.oal-totop {
	position: fixed; right: 16px; bottom: calc(16px + var(--barh)); z-index: 250;
	width: 64px; height: 64px;
	padding: 0; border: 0; background: transparent;
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s ease, bottom .25s ease;
}
.oal-totop img { display: block; width: 100%; height: 100%; object-fit: contain; }
.oal-totop.is-show { opacity: 1; visibility: visible; transform: none; }
.oal-totop.is-show:hover { transform: translateY(-4px); }

/* =========================================================
   画面幅ごと
   ========================================================= */
@media (max-width: 1080px) {
	.oal-row__tags { display: none; }
	.oal-row { grid-template-columns: 50px minmax(0, 1fr) auto 58px; }
	.oal-list--compact .oal-row { grid-template-columns: 46px minmax(0, 1fr) auto 58px; }
	.oal-steps { grid-template-columns: repeat(2, 1fr); }
	.oal-steps li:nth-child(2) { border-right: 0; }
	.oal-steps li:nth-child(-n+2) { border-bottom: var(--line-s) dotted var(--fg); }
	.oal-nav a { padding: 4px 9px; font-size: 13px; }
}
@media (max-width: 960px) {
	.oal-nav { display: none; }
	.oal-burger { display: block; }
	.oal-header__right { margin-left: auto; }
	.oal-hero { grid-template-columns: 1fr; }
	.oal-hero__news { max-width: 600px; }
	.oal-songgrid { grid-template-columns: 1fr; gap: 0; }
	.oal-bar__opt .oal-vol { display: none; }
	.oal-footer__inner { grid-template-columns: 1fr; }
	.oal-footer__sister { max-width: 420px; order: 2; }
	.oal-footer__info { order: 1; }
}
@media (max-width: 720px) {
	:root { --hh: 68px; --line: 2.5px; --tooth: 16px; }
	.oal-wrap { padding: 0 14px; }
	.oal-logo__name { font-size: 15px; }
	.oal-logo__mark { width: 40px; height: 40px; }
	.oal-header__inner { padding: 0 12px; gap: 10px; }
	.oal-header .oal-sns { display: none; }
	.oal-win__bar { grid-template-columns: auto 1fr; }
	.oal-win__en { display: none; }
	.oal-win__title { text-align: left; }

	.oal-news__deco { width: 84px; right: 14px; bottom: 6px; }
	.oal-hero__news { padding-top: 52px; }
	.oal-news__head, .oal-news__item, .oal-news__more { padding-left: 16px; padding-right: 16px; }
	.oal-news__en { font-size: 24px; }

	.oal-search__box { flex-basis: 100%; }
	.oal-select { flex: 1; }
	.oal-select select { width: 100%; }
	.oal-seg { gap: 6px; }
	.oal-seg__label { width: 100%; }
	.oal-filters__toggle {
		display: inline-flex; align-items: center; gap: 8px;
		justify-self: start;
		padding: 6px 16px;
		border: var(--line-s) solid var(--fg); border-radius: 99px;
		background: var(--bg); font-weight: 700; font-size: 14px;
	}
	.oal-filters__toggle .oal-i { width: 18px; height: 18px; color: var(--accent); }
	.oal-filters__n { font-family: var(--en); font-weight: 500; padding: 0 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 12px; }
	.oal-filters { display: grid; gap: 12px; }
	html.oal-js .oal-filters__panel { display: none; }
	html.oal-js .oal-filters.is-open .oal-filters__panel { display: grid; }
	.oal-fgroup { flex-direction: column; gap: 6px; }
	.oal-fgroup__label { padding-top: 0; }
	.oal-status__all { margin-left: 0; width: 100%; }

	.oal-row, .oal-list--compact .oal-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px; }
	.oal-play, .oal-list--compact .oal-play { width: 44px; height: 44px; }
	.oal-row__title { font-size: 15.5px; }
	.oal-row__desc { font-size: 12px; }
	.oal-row__bpm { display: none !important; }
	.oal-row__dl { display: none; }

	.oal-steps { grid-template-columns: 1fr; }
	.oal-steps li { border-right: 0; border-bottom: var(--line-s) dotted var(--fg); }
	.oal-steps li:last-child { border-bottom: 0; }

	.oal-bar__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 8px 12px; }
	.oal-bar__screen { grid-column: 1 / -1; order: -1; }
	.oal-bar__ctrl .oal-ibtn { width: 42px; height: 42px; }
	.oal-bar__ctrl .oal-ibtn--main { width: 48px; height: 48px; }
	.oal-bar__opt { gap: 8px; }
	.oal-bar__opt .oal-ibtn { width: 42px; height: 42px; }

	.oal-credit { grid-template-columns: 1fr; justify-items: start; }
	.oal-pager { grid-template-columns: 1fr; }
	.oal-pager__item--old { grid-column: auto; }
	.oal-spec > div { grid-template-columns: 6.5em 1fr; }
	.oal-deck__opt { justify-content: center; }
	.oal-acc__body { padding-left: 20px; }
	.oal-back .oal-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
	.oal-header, .oal-bar, .oal-totop, .oal-preview-note, .oal-ad, .oal-drawer { display: none !important; }
}

/* =========================================================
   ここってなに？（たくさんの枠を並べたレイアウト）
   ========================================================= */

.oal-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.oal-bento > * { margin-bottom: 0; min-width: 0; }
.oal-bento__welcome { grid-column: span 8; overflow: visible; }
.oal-bento__status { grid-column: span 4; display: flex; }
.oal-bento__feature { grid-column: span 4; }
.oal-bento__genres { grid-column: span 7; }
.oal-bento__scenes { grid-column: span 5; }
.oal-bento__person { grid-column: span 5; }
.oal-bento__youtube { grid-column: span 7; }
.oal-bento__shops { grid-column: span 12; }

.oal-bento__big { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.45; margin-bottom: 14px !important; }
.oal-bento__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px !important; }
.oal-bento__note { font-size: 14px; line-height: 1.8; margin-top: 16px !important; }
.oal-bento__peek { position: absolute; right: 22px; top: -62px; width: 102px; aspect-ratio: 1; pointer-events: none; }
.oal-bento__peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.oal-bento__peek .is-b { opacity: 0; }
/* ロゴと同じ：ときどき手を挙げてぴょこんと跳ねる。跳ねたときに右上に「ハッ」の線 */
.oal-bento__peek::after {
	content: ""; position: absolute; top: -21%; right: 3%; width: 29%; aspect-ratio: 26 / 28;
	background: var(--oal-mark) no-repeat center / contain;
	opacity: 0; transform-origin: 0 100%;
}
@media (prefers-reduced-motion: no-preference) {
	.oal-bento__peek:has(.is-b) .is-a { animation: oal-peek-a 3.6s linear infinite; }
	.oal-bento__peek .is-b { animation: oal-peek-b 3.6s linear infinite; }
	.oal-bento__peek::after { animation: oal-peek-mark 3.6s linear infinite; }
}
@keyframes oal-peek-a { 0%, 69.9% { opacity: 1; } 70%, 93.9% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes oal-peek-b {
	0%, 69.9% { opacity: 0; transform: none; }
	70% { opacity: 1; transform: none; }
	74% { transform: translateY(-9px); }
	79%, 93.9% { opacity: 1; transform: none; }
	94%, 100% { opacity: 0; }
}
@keyframes oal-peek-mark {
	0%, 72.9% { opacity: 0; transform: scale(.4); }
	73% { opacity: 1; transform: scale(.4); }
	77%, 93.9% { opacity: 1; transform: none; }
	94%, 100% { opacity: 0; transform: none; }
}

/* ステータス表示（CDコンポの液晶ふう） */
.oal-status-lcd {
	flex: 1;
	display: flex; flex-direction: column;
	padding: 18px 22px;
	border-radius: var(--r);
	background: var(--bg); color: var(--fg);
	border: var(--line) solid var(--fg);
}
.oal-status-lcd__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--en); font-weight: 500; letter-spacing: .2em; font-size: 13px; color: var(--accent); margin-bottom: 10px !important; }
.oal-status-lcd .oal-eq i { background: var(--accent); }
.oal-status-lcd .oal-eq i:nth-child(1) { height: 5px; } .oal-status-lcd .oal-eq i:nth-child(2) { height: 10px; } .oal-status-lcd .oal-eq i:nth-child(3) { height: 7px; } .oal-status-lcd .oal-eq i:nth-child(4) { height: 12px; } .oal-status-lcd .oal-eq i:nth-child(5) { height: 4px; }
.oal-status-lcd dl { margin: 0; display: grid; gap: 0; flex: 1; align-content: space-around; }
.oal-status-lcd dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: var(--line-s) dotted var(--fg); }
.oal-status-lcd dl > div:last-child { border-bottom: 0; }
.oal-status-lcd dt { font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .18em; color: var(--accent); }
.oal-status-lcd dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }
.oal-status-lcd dd b { font-family: var(--en); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: .04em; }

.oal-bento__feature { padding: 22px 24px 24px; border: var(--line) solid var(--fg); border-radius: var(--r); }
.oal-bento__no { font-family: var(--en); font-weight: 600; font-size: 40px; line-height: 1; color: var(--accent); margin-bottom: 10px !important; }
.oal-bento__feature h2 { font-size: 19px !important; font-weight: 900 !important; margin-bottom: 8px !important; }
.oal-bento__feature p:last-child { font-size: 14px; line-height: 1.8; }

.oal-genres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.oal-genres a {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 16px;
	border: var(--line-s) solid var(--fg);
	border-radius: 99px;
	font-weight: 700; text-decoration: none;
}
.oal-genres span { flex: 1; }
.oal-genres small { font-family: var(--en); font-weight: 500; font-size: 13px; }
.oal-genres .oal-i { color: var(--accent); }

.oal-scenes { display: grid; gap: 12px; }
.oal-scenes li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.oal-scenes__i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.oal-scenes__i .oal-i { width: 20px; height: 20px; }

.oal-person { display: flex; gap: 16px; align-items: flex-start; }
.oal-person__img { flex: none; width: 96px; height: 96px; object-fit: cover; border: var(--line) solid var(--fg); border-radius: 50%; background: var(--bg); }
.oal-person__name { font-weight: 900; font-size: 17px; margin-bottom: 6px !important; }
.oal-person__text { font-size: 14px; line-height: 1.8; }
.oal-person__likes-label { margin: 16px 0 6px !important; font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--accent); }
.oal-person__likes { display: flex; flex-wrap: wrap; gap: 6px; }
.oal-person__likes li { padding: 1px 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }

.oal-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oal-video { position: relative; aspect-ratio: 16 / 9; border: var(--line) solid var(--fg); border-radius: var(--r-s); overflow: hidden; background: var(--fg); }
.oal-video__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.oal-video__btn img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oal-video__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; display: block; }
.oal-video__play svg { display: block; width: 100%; height: 100%; }

.oal-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.oal-video__title { margin-top: 8px !important; font-weight: 700; font-size: 14px; }

.oal-shops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oal-shops a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 16px 20px; border: var(--line) solid var(--fg); border-radius: var(--r); text-decoration: none; }
.oal-shops__name { font-weight: 900; font-size: 17px; }
.oal-shops__note { grid-column: 1; font-size: 13px; }
.oal-shops .oal-i { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); }


@media (max-width: 1080px) {
	.oal-bento__welcome { grid-column: span 12; }
	.oal-bento__status { grid-column: span 12; }
	.oal-status-lcd dl { grid-template-columns: repeat(4, 1fr); gap: 16px; }
	.oal-status-lcd dl > div { flex-direction: column; align-items: flex-start; border-bottom: 0; }
	.oal-status-lcd dd { text-align: left; }
}
@media (max-width: 860px) {
	.oal-bento__feature, .oal-bento__genres, .oal-bento__scenes, .oal-bento__person, .oal-bento__youtube { grid-column: span 12; }
}
@media (max-width: 720px) {
	.oal-bento { gap: 18px; }
	.oal-bento__peek { width: 80px; top: -49px; right: 14px; }
	.oal-status-lcd dl { grid-template-columns: repeat(2, 1fr); }
	.oal-genres, .oal-videos, .oal-shops { grid-template-columns: 1fr; }
}

/* =========================================================
   枠の外に置く小見出し（■ 見出し  ENGLISH）
   ========================================================= */
.oal-sechead { display: flex; align-items: center; gap: 12px; margin: 8px 0 18px !important; font-size: 22px !important; font-weight: 900 !important; letter-spacing: .06em; line-height: 1.3 !important; }
.oal-sechead::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--accent); border: var(--line-s) solid var(--fg); border-radius: 4px; }
.oal-sechead__en { order: 2; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .16em; color: var(--accent); }

/* =========================================================
   ここってなに？：人物紹介
   ========================================================= */
.oal-bento__head { grid-column: span 12; margin: 14px 0 -6px !important; }
.oal-bento__char { grid-column: span 6; }
.oal-bento__shops { grid-column: span 5; }
.oal-bento__shops .oal-shops { grid-template-columns: 1fr; }

.oal-charcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: visible; }
.oal-charcard__body { flex: 1; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 4px 22px; align-items: start; }
.oal-charcard__img { width: 112px; height: 112px; object-fit: contain; border: var(--line) solid var(--fg); border-radius: 50%; background: var(--bg); }
.oal-charcard__name { font-weight: 900; font-size: 19px; line-height: 1.4; margin: 0 !important; }
.oal-charcard__role { display: inline-block; margin: 6px 0 10px !important; padding: 0 12px; border: var(--line-s) solid var(--fg); border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.8; }
.oal-charcard__text { font-size: 14px; line-height: 1.8; margin: 0 !important; }
.oal-charcard__more { grid-column: 1 / -1; justify-self: end; align-self: end; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 900; font-size: 14px; }
.oal-charcard__more .oal-i { color: var(--accent); transition: transform .15s ease; }
.oal-charcard[href]:hover .oal-charcard__more .oal-i { transform: translateX(4px); }

/* =========================================================
   プロフィール帳
   ========================================================= */
.oal-pbook > .oal-win, .oal-imo > .oal-win { margin-bottom: 28px; }
.oal-pbook__label { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .18em; color: var(--accent); margin: 0 0 6px !important; }

/* 写真と名前のカード */
.oal-pbook__cardbody { display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; align-items: start; }
.oal-pbook__photo, .oal-imo__img { margin: 0; }
.oal-pbook__photo img, .oal-imo__img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: var(--line) solid var(--fg); border-radius: var(--r); background: var(--bg); }
.oal-imo__img img { object-fit: contain; }
.oal-pbook__name { font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.3; letter-spacing: .04em; margin: 0 !important; }
.oal-pbook__name small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .24em; }
.oal-pbook__lead { margin: 16px 0 0 !important; font-size: 14px; line-height: 1.9; }
.oal-pbook__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }

/* 記入欄（点線の罫線） */
.oal-pbook__rows { margin: 0; }
.oal-pbook__rows > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: var(--line-s) dotted var(--fg); }
.oal-pbook__rows > div:first-child { padding-top: 0; }
.oal-pbook__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.oal-pbook__rows dt { position: relative; padding-left: 14px; font-size: 12px; font-weight: 900; line-height: 1.6; color: var(--accent); }
.oal-pbook__rows dt::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }
.oal-pbook__rows dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.75; }
.oal-pbook__list { margin: 0; padding: 0; list-style: none; }
.oal-pbook__list li { position: relative; padding-left: 1em; }
.oal-pbook__list li::before { content: "・"; position: absolute; left: 0; }
.oal-pbook__chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.oal-pbook__chips li { padding: 0 10px; border: var(--line-s) solid var(--fg); border-radius: 14px; font-size: 12px; line-height: 1.9; font-weight: 700; }
.oal-pbook__chips li.is-etc { border: 0; padding: 0 2px; }

/* カテゴリーの枠：2列に詰めて並べる（高さの違いで大きな余白ができないように） */
.oal-pbook__cols { column-count: 2; column-gap: 28px; margin-bottom: 28px; }
.oal-pbook__cols > .oal-win { display: block; break-inside: avoid; margin: 0 0 28px; }

/* 活動遍歴 */
.oal-pbook__history { margin: 0; padding: 0; list-style: none; }
.oal-pbook__history li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 26px; }
.oal-pbook__history li:last-child { padding-bottom: 0; }
.oal-pbook__history li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border: var(--line-s) solid var(--fg); border-radius: 50%; background: var(--accent); box-sizing: border-box; }
.oal-pbook__history li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 1.35em; bottom: .1em; border-left: var(--line-s) dotted var(--fg); }
.oal-pbook__year { font-family: var(--en); font-weight: 600; font-size: 15px; letter-spacing: .06em; color: var(--accent); }
.oal-pbook__event { font-size: 14px; line-height: 1.75; }

/* 趣味など（番号つきのカード） */
.oal-pbook__intro { font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
.oal-pbook__topicgrid { column-count: 2; column-gap: 20px; }
.oal-pbook__topic { break-inside: avoid; margin: 0 0 20px; padding: 18px 20px; border: var(--line) solid var(--fg); border-radius: var(--r-s); }
.oal-pbook__topic h3 { display: flex; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 900 !important; margin: 0 0 10px !important; }
.oal-pbook__no, .oal-imo__h span { font-family: var(--en); font-weight: 600; font-size: 13px; line-height: 1.8; letter-spacing: .06em; padding: 0 9px; border-radius: 99px; background: var(--accent); color: var(--on-accent); }
.oal-pbook__text { font-size: 14px; line-height: 1.85; }
.oal-pbook__text p { margin: 0 0 .6em; }

/* 好きなゲーム音楽 */
.oal-pbook__games { column-count: 3; column-gap: 18px; }
.oal-pbook__game { break-inside: avoid; margin: 0 0 18px; padding: 14px 16px; border: var(--line-s) solid var(--fg); border-radius: var(--r-s); }
.oal-pbook__game h3 { font-size: 14px !important; font-weight: 900 !important; line-height: 1.5 !important; padding-bottom: 6px; margin: 0 0 8px !important; border-bottom: var(--line-s) dotted var(--fg); }
.oal-pbook__game ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.oal-pbook__game li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.6; }
.oal-pbook__stars { flex: none; color: var(--accent); letter-spacing: .04em; }

/* =========================================================
   いもねこ族の紹介
   ========================================================= */
.oal-imo__char { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px 28px; align-items: start; }
.oal-imo__char.is-main { grid-template-columns: 260px minmax(0, 1fr); }
.oal-imo__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; line-height: 1.3; margin: 0 0 14px !important; }
.oal-imo__role { font-size: 12px; font-weight: 700; line-height: 1.8; letter-spacing: .06em; padding: 0 12px; border-radius: 99px; background: var(--accent); color: var(--on-accent); }
.oal-imo__data { margin-bottom: 16px; padding: 12px 16px; border: var(--line-s) solid var(--fg); border-radius: var(--r-s); }
.oal-imo__data > div { grid-template-columns: 5em minmax(0, 1fr); padding: 6px 0; }
.oal-imo__text p { margin: 0 0 .35em !important; font-size: 15px; line-height: 1.85; }

.oal-imo__worldbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px 36px; align-items: start; }
.oal-imo__h { display: flex; align-items: center; gap: 10px; font-size: 18px !important; font-weight: 900 !important; margin: 0 0 10px !important; }
.oal-imo__about p { font-size: 15px; line-height: 1.9; margin: 0 0 .35em !important; }
.oal-imo__about p + .oal-imo__h { margin-top: 26px !important; }
.oal-imo__map { margin: 0; }
.oal-imo__map a { display: block; border: var(--line) solid var(--fg); border-radius: var(--r-s); overflow: hidden; background: var(--bg); }
.oal-imo__map img { display: block; width: 100%; height: auto; }
.oal-imo__map figcaption { margin-top: 8px; font-size: 12px; line-height: 1.7; }

.oal-imo__friends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.oal-imo__friends > .oal-win { margin: 0; }
.oal-imo__friend .oal-imo__char { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
.oal-imo__friend .oal-imo__text p { font-size: 14px; }

.oal-imo__extralist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.oal-imo__extralist a { display: block; text-decoration: none; color: inherit; border: var(--line) solid var(--fg); border-radius: var(--r-s); overflow: hidden; background: var(--bg); }
.oal-imo__extralist img { display: block; width: 100%; height: auto; border-bottom: var(--line) solid var(--fg); }
.oal-imo__extralist span { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 900; font-size: 14px; }
.oal-imo__extralist .oal-i { color: var(--accent); }

@media (max-width: 1080px) {
	.oal-pbook__cardbody { grid-template-columns: 190px minmax(0, 1fr); }
	.oal-pbook__basic { grid-column: 1 / -1; }
	.oal-pbook__games { column-count: 2; }
	.oal-imo__friend .oal-imo__char { grid-template-columns: 1fr; }
	.oal-imo__friend .oal-imo__img { max-width: 200px; }
}
@media (max-width: 860px) {
	.oal-bento__char, .oal-bento__youtube, .oal-bento__shops { grid-column: span 12; }
	.oal-pbook__cols, .oal-pbook__topicgrid { column-count: 1; }
	.oal-imo__worldbody { grid-template-columns: 1fr; }
	.oal-imo__friends { grid-template-columns: 1fr; }
	.oal-imo__friend .oal-imo__char { grid-template-columns: 140px minmax(0, 1fr); }
	.oal-imo__char.is-main { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 720px) {
	.oal-pbook__cardbody { grid-template-columns: 1fr; }
	.oal-pbook__photo { max-width: 200px; }
	.oal-pbook__games { column-count: 1; }
	.oal-pbook__rows > div { grid-template-columns: 1fr; gap: 2px; }
	.oal-imo__char, .oal-imo__char.is-main, .oal-imo__friend .oal-imo__char { grid-template-columns: 1fr; }
	.oal-imo__img { max-width: 220px; }
	.oal-charcard__body { grid-template-columns: 84px minmax(0, 1fr); gap: 4px 16px; }
	.oal-charcard__img { width: 84px; height: 84px; }
	.oal-sechead { font-size: 19px !important; }
}

/* =========================================================
   更新履歴
   ========================================================= */
.oal-hist__years { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.oal-hist__years .oal-chip { text-decoration: none; }
.oal-hist__years .oal-chip small { margin-left: .4em; font-size: .8em; font-weight: 700; }
.oal-hist > .oal-win { margin-bottom: 28px; scroll-margin-top: calc(var(--hh) + var(--tooth) + 16px); }
.oal-hist__list { margin: 0; padding: 0; list-style: none; }
.oal-hist__entry { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 18px; padding: 16px clamp(16px, 3vw, 28px); border-bottom: var(--line-s) dotted var(--fg); }
.oal-hist__entry:last-child { border-bottom: 0; }
.oal-hist__date { font-family: var(--en); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: .04em; color: var(--accent); }
.oal-hist__body { display: grid; gap: 8px; min-width: 0; }
.oal-hist__note { margin: 0 !important; font-size: 14px; font-weight: 700; line-height: 1.7; }
.oal-hist__item { display: grid; grid-template-columns: 7.4em minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 36px; }
.oal-hist__label { justify-self: start; padding: 0 10px; border: var(--line-s) solid var(--fg); border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 1.8; white-space: nowrap; }
.oal-hist__label.is-other { background: var(--fg); color: var(--bg); }
.oal-hist__text { font-size: 15px; font-weight: 700; line-height: 1.6; }
.oal-hist__text a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.oal-hist__text a:hover { color: var(--accent); }
.oal-hist__item .oal-play { grid-column: 3; }
@media (max-width: 720px) {
	.oal-hist__entry { grid-template-columns: 1fr; gap: 6px; }
	.oal-hist__date { font-size: 19px; }
	.oal-hist__item { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
	.oal-hist__label { grid-column: 1 / -1; }
	.oal-hist__item .oal-play { grid-column: 2; grid-row: 2; }
}

/* reCAPTCHA のバッジは「上に戻る」の指と重ならないよう、その上に */
.grecaptcha-badge { bottom: calc(92px + var(--barh, 0px)) !important; transition: right .3s ease, bottom .25s ease !important; z-index: 240 !important; }

/* =========================================================
   マウスを乗せたときの破線の枠（姉妹サイト・人物紹介・ヘッダーのメニュー・SNS）
   JS がボタンの大きさに合わせて SVG で描きます。破線は1周でちょうど割り切れる数にそろえるので、
   つなぎ目で点がくっついたり、細くなったりしません。
   ========================================================= */
.oal-frame { position: absolute; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .12s ease; z-index: 1; }
.oal-frame rect { fill: none; stroke: var(--frame-c, #fff); stroke-linecap: butt; }
:is(.oal-nav a, .oal-sns a, .oal-sister, .oal-charcard):is(:hover, :focus-visible) > .oal-frame { opacity: 1; }
.oal-charcard, .oal-drawer .oal-sns a { --frame-c: var(--fg); }
.oal .oal-header :is(.oal-nav a, .oal-sns a):hover, .oal .oal-footer :is(.oal-sns a, .oal-sister):hover, .oal .oal-drawer .oal-sns a:hover { outline: 0; }

/* =========================================================
   ローディング画面（トップページ）
   ========================================================= */
.oal-loader { display: none; }
html.oal-js .oal-loader {
	display: grid; place-items: center;
	position: fixed; inset: 0; z-index: 10000;
	background: var(--bg); color: var(--fg);
	transition: opacity .35s ease, visibility .35s ease;
}
/* ローディング中もスクロールバーは出したままにする（消える瞬間にスクロールバーが出て、中身が左にずれないように）。
   ページによってスクロールバーがあったりなかったりして横にずれるのも、場所をとっておいて防ぐ */
html.oal-js { scrollbar-gutter: stable; }
.oal-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.oal-loader__inner { display: grid; justify-items: center; gap: 14px; }
.oal-loader__imo { position: relative; width: 110px; height: 110px; }
.oal-loader__imo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.oal-loader__imo .is-b { opacity: 0; }
.oal-loader__text { margin: 4px 0 0 !important; font-family: var(--en); font-weight: 600; font-size: 22px; line-height: 1; letter-spacing: .22em; }
.oal-loader__dots i { font-style: normal; }
.oal-loader__bar { width: min(260px, 64vw); height: 26px; padding: 4px; border: 4px solid var(--fg); border-radius: 99px; background: var(--bg); box-sizing: border-box; }
.oal-loader__bar span { display: block; width: 6%; height: 100%; border-radius: 99px; background: var(--accent); }
.oal-loader.is-full .oal-loader__bar span { width: 100% !important; transition: width .25s ease; animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
	.oal-loader__imo:has(.is-b) .is-a { animation: oal-ld-a .9s linear infinite; }
	.oal-loader__imo .is-b { animation: oal-ld-b .9s linear infinite; }
	.oal-loader__imo:not(:has(.is-b)) .is-a { animation: oal-ld-hop .9s ease-in-out infinite; }
	.oal-loader__dots i:nth-child(1) { animation: oal-ld-dot1 1.2s linear infinite; }
	.oal-loader__dots i:nth-child(2) { animation: oal-ld-dot2 1.2s linear infinite; }
	.oal-loader__dots i:nth-child(3) { animation: oal-ld-dot3 1.2s linear infinite; }
	.oal-loader__bar span { animation: oal-ld-bar 1s cubic-bezier(.25, .7, .35, 1) forwards; }
}
@media (prefers-reduced-motion: reduce) { .oal-loader__bar span { width: 70%; } }
@keyframes oal-ld-a { 0%, 39.9% { opacity: 1; } 40%, 89.9% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes oal-ld-b {
	0%, 39.9% { opacity: 0; transform: none; }
	40% { opacity: 1; transform: none; }
	52% { transform: translateY(-14px); }
	66%, 89.9% { opacity: 1; transform: none; }
	90%, 100% { opacity: 0; }
}
@keyframes oal-ld-hop { 0%, 30%, 70%, 100% { transform: none; } 50% { transform: translateY(-14px); } }
/* 「.」「..」「...」の順に増えていく */
@keyframes oal-ld-dot1 { 0%, 24.9% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes oal-ld-dot2 { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes oal-ld-dot3 { 0%, 74.9% { opacity: 0; } 75%, 100% { opacity: 1; } }
@keyframes oal-ld-bar { from { width: 6%; } to { width: 88%; } }
@media print { .oal-loader { display: none !important; } }

/* 記事の一覧（イベント・特集など） */
.oal-posts__list { margin: 0; padding: 0; list-style: none; }
.oal-posts__item { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 4px 18px; padding: 18px clamp(16px, 3vw, 28px); border-bottom: var(--line-s) dotted var(--fg); }
.oal-posts__item:last-child { border-bottom: 0; }
.oal-posts__date { grid-row: span 2; font-family: var(--en); font-weight: 600; font-size: 17px; color: var(--accent); }
.oal-posts__title { font-weight: 900; font-size: 17px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.oal-posts__title:hover { color: var(--accent); }
.oal-posts__excerpt { margin: 0 !important; font-size: 13px; line-height: 1.8; }
@media (max-width: 720px) { .oal-posts__item { grid-template-columns: 1fr; } .oal-posts__date { grid-row: auto; } }

/* 絞り込み中の条件（「大海」×）・条件をクリア・曲のページのハッシュタグは「ハッ」の線を出さず、色だけ変える */
.oal-status__active button, .oal-taglinks a { transition: background .12s ease; }
.oal-status__active button:hover, .oal-taglinks a:hover { background: var(--fg); color: var(--bg); }
.oal-linkbtn:hover { color: var(--accent); }

/* =========================================================
   画像の拡大表示（ポップアップ）
   ========================================================= */
.oal-lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; color: var(--fg); }
.oal-lightbox::backdrop { background: rgba(17, 17, 17, .62); }
.oal-lightbox[open] { animation: oal-lb-in .22s ease; }
.oal-lightbox[open]::backdrop { animation: oal-lb-fade .22s ease; }
@keyframes oal-lb-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes oal-lb-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .oal-lightbox[open], .oal-lightbox[open]::backdrop { animation: none; } }
.oal-lightbox__win { margin: 0; display: flex; flex-direction: column; max-height: 92vh; background: linear-gradient(var(--accent) 0 48px, var(--bg) 48px); } /* タイトルバーの後ろだけ下地を赤に：白がのぞかないように */
.oal-lightbox .oal-win__bar { flex: none; width: 100%; box-sizing: border-box; border-radius: 0; }
.oal-lightbox__title { margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.oal-lightbox__close {
	justify-self: end; display: grid; place-items: center;
	width: 36px; height: 36px; margin: -4px -6px -4px 0; padding: 0;
	border: var(--line-s) solid var(--on-accent); border-radius: 50%;
	background: transparent; color: var(--on-accent); cursor: pointer;
}
.oal-lightbox__close .oal-i { width: 18px; height: 18px; }
.oal-lightbox__close:hover, .oal-lightbox__close:focus-visible { background: var(--on-accent); color: var(--accent); outline: 0; }
.oal-lightbox__body { min-height: 0; overflow: auto; padding: clamp(10px, 2vw, 18px); background: var(--bg); }
.oal-lightbox__img { display: block; max-width: 100%; max-height: calc(92vh - 48px - 2 * clamp(10px, 2vw, 18px) - 8px); width: auto; height: auto; margin: 0 auto; border-radius: var(--r-s); }
/* 拡大できる画像は、虫めがねのカーソルに */
.oal-main a[href$=".png"] img, .oal-main a[href$=".jpg"] img, .oal-main a[href$=".jpeg"] img, .oal-main a[href$=".webp"] img, .oal-main a[href$=".gif"] img { cursor: zoom-in; }

/* 枠線を outline にした分（線の太さぶん）、枠の内側に余白を足して見た目をそろえる */
.oal-win { padding: 0 var(--line) var(--line); }
.oal-win > .oal-win__bar { margin: 0 calc(-1 * var(--line)); padding-top: calc(6px + var(--line)); padding-left: calc(16px + var(--line)); padding-right: calc(16px + var(--line)); }
.oal-prose .oal-box { padding: calc(26px + var(--line)) calc(clamp(18px, 4vw, 36px) + var(--line)); }
.oal-prose .oal-box > h2:first-child { margin: calc(-26px - var(--line)) calc(-1 * clamp(18px, 4vw, 36px) - var(--line)) 22px !important; padding-top: calc(6px + var(--line)); }
.oal-win:focus-visible { outline: var(--line) solid var(--fg); }
