/* ==========================================================================
   BUNDOTOY main.css
   基準：PC 1366px / SP 360px。767px以下をスマートフォン表示とする。
   ========================================================================== */

:root {
	--bg: #fff7e6;
	--panel: #fdfbf6;
	--text: #424242;
	--sub: #757575;
	--brown: #826045;
	--camel: #d3a56c;
	--beige: #ebd3b6;
	--chip: #cecece;
	--pale: #d1c9ba;
	--error: #b3261e;
	--radius: 8px;
	--shadow: 0 4px 10px rgba(177, 153, 125, .1);
	--font: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
	--container: 1000px;
	--gutter: 20px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-16);
	line-height: 1.8;
	letter-spacing: .2em;
	overflow-wrap: anywhere;
	overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
small { font-size: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; margin: 0;
	padding: 8px 16px; clip: auto; background: var(--panel); color: var(--text); border-radius: 4px;
}
.center { display: flex; justify-content: center; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.no-image { display: block; width: 100%; height: 100%; background: #c4c4c4; }
@media (min-width: 768px) { .sp-only { display: none !important; } }
@media (max-width: 767px) { .pc-only { display: none !important; } }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; }
.is-front .site-header { position: absolute; top: 0; left: 0; right: 0; }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 1366px; height: 108px; margin-inline: auto; padding: 0 40px;
}
.site-logo { flex: 0 1 323px; line-height: 0; }
.site-logo a { display: block; }
.site-logo img { width: 323px; height: auto; }
.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 40px; }
.gnav__list a {
	display: block; padding: 4px 0; font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; white-space: nowrap;
	background: linear-gradient(var(--camel), var(--camel)) left bottom / 0 1px no-repeat; transition: background-size .25s;
}
.gnav__list a:hover, .gnav__list a[aria-current] { background-size: 100% 1px; }
.site-header__tools { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; }
.icon-btn--search { background: var(--panel); border-radius: 2px; }
.icon-btn--search img { width: 18px; height: 19px; }
.icon-btn--menu { display: none; }
.icon-btn__bars { position: relative; display: block; width: 29px; height: 21px; }
.icon-btn__bars span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--text); transition: transform .25s, opacity .2s; }
.icon-btn__bars span:nth-child(1) { top: 0; }
.icon-btn__bars span:nth-child(2) { top: 10px; }
.icon-btn__bars span:nth-child(3) { top: 20px; }
.is-menu-open .icon-btn__bars span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.is-menu-open .icon-btn__bars span:nth-child(2) { opacity: 0; }
.is-menu-open .icon-btn__bars span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.sp-menu { display: none; }

@media (max-width: 1180px) {
	.site-header__inner { padding: 0 20px; }
	.site-logo { flex-basis: 240px; }
	.site-logo img { width: 240px; }
	.gnav__list { gap: 20px; }
	.gnav__list a { letter-spacing: .1em; }
}
@media (max-width: 960px) {
	.gnav { display: none; }
	.icon-btn--menu { display: flex; }
	.site-header__tools { margin-left: auto; }
	.sp-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--camel); padding: 10px 20px 40px; }
	.is-menu-open .site-header, .is-menu-open.is-front .site-header { position: fixed; top: 0; left: 0; right: 0; background: var(--camel); }
	.is-menu-open .icon-btn--search { background: #fff; }
	.sp-menu__list a {
		display: flex; align-items: baseline; gap: 8px; padding: 14px 0 4px; border-bottom: 1px solid var(--panel);
		color: var(--panel); font-weight: 700;
	}
	.sp-menu__jp { font-size: var(--fs-16); line-height: 1.8; }
	.sp-menu__en { font-size: var(--fs-12); letter-spacing: .1em; color: #fff0c2; }
	.sp-menu__arrow {
		position: relative; align-self: center; width: 21px; height: 21px; margin-left: auto; border: 1px solid var(--panel); border-radius: 50%;
	}
	.sp-menu__arrow::before {
		content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -5px;
		border-top: 1px solid var(--panel); border-right: 1px solid var(--panel); transform: rotate(45deg);
	}
}
@media (max-width: 767px) {
	.site-header__inner { height: 50px; padding: 0 10px; }
	.site-logo { flex-basis: 177px; }
	.site-logo img { width: 177px; }
	.icon-btn--search { background: #fff; }
}

/* ---------- parts ---------- */
.sec-title { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.sec-title__en {
	display: flex; align-items: center; justify-content: center; gap: 4px;
	color: var(--camel); font-size: var(--fs-10); font-weight: 700; line-height: 1.5; letter-spacing: 2px; white-space: nowrap;
}
.sec-title__en::before, .sec-title__en::after { content: ""; width: 8px; height: 1px; background: currentColor; }
.sec-title__en::after { margin-left: -2px; }
.sec-title--thin .sec-title__en { font-weight: 400; }
.sec-title__jp { color: var(--brown); font-size: var(--fs-20); font-weight: 700; line-height: 1.5; letter-spacing: 6px; text-indent: 6px; }
.sec-title--light .sec-title__en, .sec-title--light .sec-title__jp { color: var(--panel); }

.btn-more { display: inline-flex; align-items: center; gap: 20px; min-height: 40px; padding-right: 60px; font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }
.btn-more__icon {
	position: relative; flex: none; width: 40px; height: 40px;
}
.btn-more__icon::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -8px;
	border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.btn-more--light { color: var(--panel); }

.chip {
	display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; border-radius: 4px; background: var(--chip);
	color: var(--text); font-size: var(--fs-12); font-weight: 700; line-height: 1.5; letter-spacing: .1em; white-space: nowrap;
}
.chip--link { transition: background-color .2s, color .2s; }
.chip--link:hover { background: #b8b8b8; }
.chip.is-active { background: var(--sub); color: #fff; }

.tag { color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; white-space: nowrap; transition: color .2s; }
.tag:hover { color: var(--text); text-decoration: underline; }
.tag.is-active { color: var(--brown); font-weight: 700; border-bottom: 1px solid var(--camel); }

.note-label {
	padding-bottom: 8px; border-bottom: 1px solid var(--pale); color: var(--camel);
	font-size: var(--fs-12); font-weight: 400; line-height: 1.5; letter-spacing: .1em;
}
.box-title { color: var(--brown); font-size: var(--fs-16); font-weight: 700; line-height: 1.8; letter-spacing: .2em; }

/* ---------- card ---------- */
.card__link { display: flex; flex-direction: column; gap: 12px; }
.card__img { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.card__link:hover .card__img img { transform: scale(1.03); opacity: .9; }
.card__img .chip { position: absolute; top: 8px; right: 8px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; display: block; }
.card__text { display: flex; flex-direction: column; gap: 4px; }
.card__date, .card__type { font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; }
.card__date { color: #a89f8e; }
.card__type { color: var(--camel); font-weight: 700; }
.card__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; line-height: 1.5; }
.card__kind { color: var(--camel); font-size: var(--fs-14); font-weight: 700; letter-spacing: .2em; }
.card__title { font-size: var(--fs-16); font-weight: 700; line-height: 1.8; letter-spacing: .2em; }
.card--small .card__title { font-size: var(--fs-14); line-height: 1.5; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 50px; }
.char-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: space-between; gap: 40px; }
.char-card__link { display: flex; flex-direction: column; gap: 12px; }
.char-card__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #c4c4c4; }
.char-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.char-card__link:hover .char-card__img img { transform: scale(1.04); opacity: .9; }
.char-card__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.char-card__name { font-size: var(--fs-16); font-weight: 700; line-height: 1.8; letter-spacing: .2em; }
.char-grid--small { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.char-grid--small .char-card { width: 160px; }

@media (max-width: 1023px) {
	.card-grid { gap: 32px 24px; }
	.char-grid { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: space-evenly; }
}
@media (max-width: 767px) {
	.card-grid { grid-template-columns: minmax(0, 300px); justify-content: center; gap: 32px; }
	.char-grid, .char-grid--small { grid-template-columns: minmax(0, 220px); justify-content: center; gap: 32px; }
	.char-grid--small { flex-direction: column; align-items: center; }
}

/* ---------- page head / filter ---------- */
.page-wrap { padding-bottom: 40px; }
.page-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 40px; text-align: center; }
.page-head__lead { font-size: var(--fs-16); line-height: 1.8; }
.page-head--wide { margin-bottom: 80px; }

.filter { display: flex; flex-direction: column; gap: 24px; width: min(700px, 100%); margin: 0 auto 40px; }
.filter__group { display: flex; flex-direction: column; gap: 8px; }
.filter__label { color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.tag-filter__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.tag-filter__item, .tag-filter__more { line-height: 1.5; }
.tag-filter__item.is-extra { display: none; }
.tag-filter.is-open .tag-filter__item.is-extra { display: block; }
.tag-filter__more { margin-left: auto; }
.tag-filter__toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; white-space: nowrap; }
.tag-filter__toggle:hover { color: var(--text); }
.tag-filter__sign { position: relative; width: 10px; height: 10px; }
.tag-filter__sign::before, .tag-filter__sign::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.tag-filter__sign::after { transform: rotate(90deg); }
.tag-filter.is-open .tag-filter__sign::after { display: none; }

.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1; min-width: 0; height: 39px; padding: 5px 10px; border: 1px solid var(--sub); border-radius: var(--radius); background: var(--panel);
	font-size: var(--fs-16); line-height: 1.8; -webkit-appearance: none; appearance: none;
}
.search-form__input::placeholder { color: var(--pale); }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__btn {
	flex: none; display: flex; align-items: center; justify-content: center; width: 39px; height: 39px;
	border: 1px solid var(--sub); border-radius: var(--radius); background: var(--panel); transition: background-color .2s;
}
.search-form__btn:hover { background: var(--beige); }
.search-form__btn img { width: 26px; height: 26px; }

.result-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; width: min(700px, 100%); margin: -16px auto 40px; }
.filter .result-line { margin: 0 auto; }
.result-line__count { color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.result-line__clear { display: inline-flex; align-items: center; gap: 4px; color: var(--camel); font-size: var(--fs-12); font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.result-line__clear:hover { text-decoration: underline; }
.result-line__x { position: relative; width: 18px; height: 18px; }
.result-line__x::before, .result-line__x::after { content: ""; position: absolute; top: 50%; left: 1px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.result-line__x::after { transform: rotate(-45deg); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 0 80px; text-align: center; }
.empty__title { color: var(--brown); font-weight: 700; }
.empty__text { color: var(--sub); font-size: var(--fs-14); line-height: 1.8; }

/* ---------- pagination ---------- */
.pagination {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; width: min(700px, 100%); margin: 40px auto 0; padding-top: 32px;
	border-top: 1px solid var(--pale); color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em;
}
.pagination a:hover { color: var(--text); text-decoration: underline; }
.pagination .is-disabled { visibility: hidden; }
.pagination__nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.pagination__num { display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 2px; border-radius: 2px; letter-spacing: 0; font-size: var(--fs-14); }
.pagination__num.current { background: var(--sub); color: #fff; }
.pagination__prev, .pagination__next { white-space: nowrap; }

/* ---------- breadcrumb / footer ---------- */
.breadcrumb { width: min(1026px, 100% - 20px); margin-inline: auto; padding: 11px 0; }
.breadcrumb__list { display: flex; flex-wrap: wrap; font-size: var(--fs-12); line-height: 1.5; letter-spacing: .05em; color: var(--sub); }
.breadcrumb__list li + li::before { content: "/"; margin: 0 8px; color: var(--camel); opacity: .7; }
.breadcrumb__list a { color: var(--camel); }
.breadcrumb__list a:hover { text-decoration: underline; }

.site-footer__main { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 40px 20px; background: var(--camel); }
.site-footer__logo { line-height: 0; }
.site-footer__logo img { width: 323px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; width: min(1000px, 100vw - 40px); color: var(--panel); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }
.site-footer__nav a { white-space: nowrap; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__copy { padding: 10px; background: var(--brown); color: var(--camel); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; text-align: center; }

@media (max-width: 1040px) {
	.site-footer__nav { justify-content: center; gap: 12px 32px; }
}
@media (max-width: 767px) {
	.page-wrap { padding-top: 40px; }
	.filter { width: min(320px, 100%); }
	.filter__chips { gap: 8px 10px; }
	.tag-filter__list { gap: 4px 8px; }
	.pagination { flex-wrap: wrap; width: min(320px, 100%); padding-inline: 20px; }
	.pagination__nums { order: 3; width: 100%; }
	.breadcrumb { width: calc(100% - 20px); }
	.site-footer__main { padding: 40px; }
	.site-footer__logo img { width: 230px; }
	.site-footer__nav { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; gap: 16px; width: 100%; max-width: 280px; }
	.site-footer__main nav { width: 100%; max-width: 280px; }
}

/* ---------- modal (search / lightbox) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.modal__overlay { position: fixed; inset: 0; background: rgba(66, 66, 66, .9); }
.modal__close { position: relative; display: block; width: 30px; height: 30px; margin: 0 0 3px auto; color: #fff; }
.modal__close::before, .modal__close::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }
.is-modal-open { overflow: hidden; }

.search-modal__wrap { position: relative; width: min(700px, 100% - 20px); margin: 85px auto 40px; }
.search-modal__panel { padding: 87px 100px 80px; background: var(--panel); }
.search-modal__block { margin-top: 40px; }
.search-modal__block + .search-modal__block { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--pale); }
.search-modal__heading { font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }
.search-modal__tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 24px; }
.search-modal__tags .tag { color: #a89f8e; }
.search-modal .search-form { margin-top: 24px; }
@media (max-width: 767px) {
	.search-modal__wrap { width: calc(100% - 20px); max-width: 420px; }
	.search-modal__panel { padding: 87px 20px 80px; }
	.search-modal__tags { gap: 8px; }
}

.lightbox__wrap { position: relative; display: flex; flex-direction: column; width: min(600px, 100% - 40px); min-height: 100%; margin: 0 auto; padding: 20px 0; justify-content: center; pointer-events: none; }
.lightbox__wrap > * { pointer-events: auto; }
.lightbox__stage { display: flex; justify-content: center; touch-action: pan-y; }
.lightbox__img { display: block; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--radius); object-fit: contain; }
.lightbox__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; min-height: 18px; margin-top: 8px; color: var(--panel); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.lightbox__tags a:hover { text-decoration: underline; }
.lightbox__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.lightbox__prev, .lightbox__next { padding: 8px 0; color: var(--camel); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }
.lightbox__prev:disabled, .lightbox__next:disabled { opacity: .3; cursor: default; }
.lightbox__count { color: #fff; font-size: var(--fs-16); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: space-between; gap: 32px 40px; }
.gallery-grid__item { scroll-margin-top: 20px; }
.gallery-grid__item a { display: block; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery-grid__item a:hover img { transform: scale(1.03); opacity: .9; }
@media (max-width: 1023px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: space-evenly; } }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(0, 220px)); justify-content: center; gap: 32px; } }
@media (min-width: 480px) and (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 24px; } }

/* ---------- TOP ---------- */
.top-featured {
	padding: 80px 48px; box-shadow: 0 4px 20px 10px rgba(177, 153, 125, .1);
	background: repeating-linear-gradient(90deg, rgba(130, 96, 69, .045) 0 2px, transparent 2px 8px) var(--beige);
}
.top-featured__grid { display: flex; justify-content: space-between; gap: 40px; margin-top: 40px; }
.top-featured__main { flex: 0 1 670px; min-width: 0; }
.top-featured__sub { flex: 0 1 270px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.top-featured__grid.is-single { justify-content: center; }
.top-stories { margin-top: 80px; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sec-head__lead { color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }
.top-stories .card-grid { margin: 40px 0; }

.top-new { margin-top: 80px; }
.top-new__panel { display: flex; flex-direction: column; align-items: center; gap: 40px; width: min(1000px, 100% - 20px); margin-inline: auto; padding: 80px 60px; background: var(--panel); filter: drop-shadow(var(--shadow)); }
.news-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.news-list__item { border-bottom: .6px solid var(--pale); }
.news-list__item a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; transition: background-color .2s; }
.news-list__item a:hover { background: rgba(235, 211, 182, .25); }
.news-list__meta { flex: none; display: flex; align-items: center; gap: 12px; }
.news-list__date { color: #a89f8e; font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.news-list__type { color: var(--camel); font-size: var(--fs-10); font-weight: 700; line-height: 1.5; letter-spacing: 2px; white-space: nowrap; }
.news-list__body { display: flex; align-items: center; gap: 12px; min-width: 0; }
.news-list__title { flex: 0 1 auto; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list__excerpt { flex: 1 5 8em; min-width: 6em; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.top-character { display: flex; align-items: stretch; margin-top: 80px; }
.top-character__img { position: relative; flex: 1 1 816px; min-width: 0; }
.top-character__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.top-character__img::after { content: ""; position: absolute; inset: 0; background: rgba(211, 165, 108, .2); }
.top-character__box { flex: 0 0 40.26%; display: flex; align-items: center; padding: 80px 20px 80px 80px; background: var(--camel); }
.top-character__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.top-character__inner .sec-title { align-items: center; }
.top-character__lead { color: var(--panel); white-space: nowrap; }

.top-gallery { display: flex; flex-direction: column; gap: 40px; margin-top: 80px; }
.top-gallery__strip { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.top-gallery__strip::-webkit-scrollbar { display: none; }
.top-gallery__list { display: flex; gap: 32px; width: max-content; margin-inline: auto; padding-inline: 16px; }
.top-gallery__list li { flex: none; width: 280px; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; scroll-snap-align: center; }
.top-gallery__list a { display: block; width: 100%; height: 100%; }
.top-gallery__list img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.top-gallery__list a:hover img { opacity: .88; }

.top-about { margin: 80px 0; }
.top-about__box { display: flex; flex-direction: column; align-items: center; gap: 40px; width: min(700px, 100% - 40px); margin-inline: auto; padding: 80px 40px; background: var(--beige); text-align: center; }

@media (max-width: 1023px) {
	.top-featured { padding: 60px 20px; }
	.top-featured__grid { gap: 24px; }
	.top-new__panel { padding: 60px 24px; }
	.news-list__excerpt { display: none; }
	.top-character__box { padding-left: 40px; }
}
@media (max-width: 767px) {
	.top-featured { padding: 40px 10px; }
	.top-featured .container { width: 100%; }
	.top-featured__grid { flex-direction: column; gap: 32px; margin-top: 32px; }
	.top-featured__main, .top-featured__sub { flex: none; }
	.top-featured__sub { gap: 32px; padding: 0 10px; }
	.card--side .card__link { flex-direction: row; align-items: center; }
	.card--side .card__img, .card--side .card__text { flex: 1; min-width: 0; }
	.top-stories, .top-new, .top-gallery { margin-top: 40px; }
	.top-stories .card-grid { margin: 32px 0; }
	.top-new__panel { gap: 32px; padding: 40px 20px; }
	.news-list__item a { flex-direction: column; align-items: flex-start; gap: 4px; }
	.news-list__date { font-size: var(--fs-10); letter-spacing: 2px; }
	.news-list__body { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.news-list__title { white-space: normal; }
	.news-list__excerpt { display: block; flex: none; width: 100%; }
	.top-character { position: relative; margin-top: 40px; padding: 120px 20px; }
	.top-character__img { position: absolute; inset: 0; }
	.top-character__box { position: relative; flex: 1; justify-content: center; padding: 40px 0; }
	.top-character__inner { align-items: center; gap: 32px; }
	.top-gallery { gap: 32px; }
	.top-gallery__list li { width: 180px; }
	.top-about { margin: 40px 0; }
	.top-about__box { width: min(560px, 100% - 40px); padding: 40px clamp(20px, 6vw, 40px); }
	.top-about__lead { text-align: left; }
}

/* ---------- article ---------- */
.page-wrap--article { padding-bottom: 80px; }
.article { width: min(700px, 100%); margin-inline: auto; padding: 40px 0; background: var(--panel); filter: drop-shadow(var(--shadow)); }
.article--wide { width: min(1000px, 100%); }
.entry-header { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; padding: 0 60px 0 150px; }
.article--wide .entry-header { padding: 0 60px; }
.entry-header__meta { display: flex; align-items: center; gap: 14px; line-height: 1.5; }
.entry-header__date { color: #a89f8e; font-size: var(--fs-12); letter-spacing: .1em; }
.entry-header__title { font-size: var(--fs-24); font-weight: 400; line-height: 1.5; letter-spacing: .2em; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #a89f8e; font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.entry-tags a:hover { color: var(--text); text-decoration: underline; }
.article__hero { margin-top: 24px; aspect-ratio: 3 / 2; overflow: hidden; background: #c4c4c4; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__body { width: min(460px, 100% - 20px); margin: 24px auto 0; }

.entry-content { margin-top: 24px; }
.entry-content > * { margin: 24px 10px 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > figure, .entry-content > .wp-block-image, .entry-content > .wp-block-gallery, .entry-content > .wp-block-embed { margin-inline: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure img { display: block; width: 100%; }
.entry-content figcaption { margin-top: 8px; color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; text-align: left; }
.entry-content strong { font-weight: 700; }
.entry-content h2, .entry-content h3 { padding-bottom: 8px; border-bottom: 1px solid var(--camel); color: var(--brown); font-size: var(--fs-16); font-weight: 700; line-height: 1.8; letter-spacing: .2em; }
.entry-content h3 { border-bottom-style: dashed; }
.entry-content h4 { color: var(--brown); font-size: var(--fs-16); font-weight: 700; }
.entry-content a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.5em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; }
.entry-content blockquote { padding: 12px 16px; border-left: 3px solid var(--camel); background: var(--bg); }
.entry-content table { width: calc(100% - 20px); border-collapse: collapse; font-size: var(--fs-14); }
.entry-content th, .entry-content td { padding: 8px; border: 1px solid var(--pale); }
.entry-content--wide { margin-top: 16px; }
.entry-content--wide > * { margin-inline: 0; }

.end-mark { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 24px; color: var(--camel); font-size: var(--fs-10); font-weight: 700; line-height: 1.5; letter-spacing: 2px; }
.end-mark::before, .end-mark::after { content: ""; width: 8px; height: 1px; background: currentColor; }
.end-mark::after { margin-left: -2px; }
.share { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
.share__label { color: var(--brown); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.share__list { display: flex; gap: 18px; }
.share__list a, .share__list button { display: block; width: 44px; height: 44px; border-radius: 50%; transition: opacity .2s, transform .2s; }
.share__list a:hover, .share__list button:hover { opacity: .8; transform: translateY(-2px); }
.share__toast { min-height: 18px; color: var(--brown); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.share__toast:empty { display: none; }

.article__section { margin-top: 32px; }
.article__section--rule { padding-top: 32px; border-top: 1px solid var(--pale); }
.article__section > .sec-title { margin-bottom: 24px; }
.cast { display: flex; flex-direction: column; gap: 24px; padding: 0 10px; }
.cast__item { display: flex; align-items: center; gap: 24px; }
.cast__img { flex: none; width: 140px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #c4c4c4; }
.cast__img img { width: 100%; height: 100%; object-fit: cover; }
.cast__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.cast__name { font-weight: 700; }
.prev-next { display: flex; justify-content: space-between; gap: 24px; }
.prev-next__item { flex: 0 1 46%; min-width: 0; }
.prev-next__item--next { text-align: right; }
.prev-next a { display: flex; flex-direction: column; gap: 8px; }
.prev-next__label { color: #a89f8e; font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.prev-next__title { color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }
.prev-next a:hover .prev-next__title { color: var(--text); text-decoration: underline; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.related-grid--wide { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.related-grid--wide .card { width: 220px; }

@media (max-width: 767px) {
	.page-wrap--article { padding-top: 0; padding-bottom: 0; }
	.entry-header, .article--wide .entry-header { padding: 0 20px; }
	.article__body { width: calc(100% - 20px); }
	.cast { padding: 0; gap: 24px; }
	.cast__item { flex-direction: column; gap: 12px; text-align: center; }
	.cast__img { width: 200px; }
	.cast__text { align-items: center; }
	.prev-next { padding: 0 10px; }
	.related-grid, .related-grid--wide { grid-template-columns: minmax(0, 280px); justify-content: center; gap: 30px; }
	.related-grid .card--small .card__title { font-size: var(--fs-14); }
	.related-grid--wide { flex-direction: column; align-items: center; }
}

/* ---------- character article ---------- */
.chara > *:not(.sec-title):not(.entry-header):not(.chara__hero) { margin-inline: 60px; }
.chara__hero { position: relative; margin-top: 24px; aspect-ratio: 1000 / 312; overflow: hidden; background: #c4c4c4; }
.chara__hero img { width: 100%; height: 100%; object-fit: cover; }
.chara__catch { position: absolute; top: 50%; left: 60px; right: 60px; transform: translateY(-50%); color: #fff; font-weight: 700; text-shadow: 0 0 8px rgba(0, 0, 0, .35); }
.chara__catch--plain { position: static; transform: none; margin-top: 24px; color: var(--text); text-shadow: none; }
.chara__lead { margin-top: 24px; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; text-align: center; }
.chara__anchors { margin-top: 24px; }
.chara__anchors ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.chara__anchors a { position: relative; display: flex; align-items: center; height: 45px; padding: 0 34px; border-radius: 4px; background: var(--bg); font-size: var(--fs-14); line-height: 1.5; transition: background-color .2s; }
.chara__anchors a:hover { background: var(--beige); }
.chara__anchors a::before { content: ""; position: absolute; top: 50%; left: 14px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--camel); }
.chara__anchors a::after { content: "↓"; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-size: var(--fs-12); letter-spacing: 0; }
.chara__anchors span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chara__section { margin-top: 24px; scroll-margin-top: 20px; }
.chara__section > .note-label { margin-bottom: 18px; }
.chara__section > * + * { margin-top: 18px; }
.chara__section--plain > * + * { margin-top: 16px; }

.profile { display: flex; align-items: flex-start; gap: 24px; }
.profile__main { flex: 0 0 290px; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.profile__thumbs { flex: 0 0 81px; display: flex; flex-direction: column; gap: 16px; }
.profile__thumbs li { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.profile__main img, .profile__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.profile__text { flex: 1; min-width: 0; }
.profile__name { color: var(--brown); font-size: var(--fs-16); font-weight: 700; line-height: 1.8; }
.profile__list, .product__list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }
.profile__list > div, .product__list > div { display: flex; }
.profile__list dt, .product__list dt { flex: none; }
.chara__text { line-height: 1.8; }

.origin { display: flex; align-items: center; gap: 32px; padding: 20px; border: 1px solid var(--pale); }
.origin__fig { flex: 0 0 300px; max-width: 40%; }
.origin__fig img { width: 100%; height: auto; }
.origin__fig figcaption { margin-top: 24px; color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; }
.origin__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }

.review-block { display: flex; flex-direction: column; gap: 12px; }
.chara__section > .review-block + .review-block { margin-top: 16px; }
.review-photos { display: grid; gap: 24px; }
.review-photos--portrait { grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: space-between; }
.review-photos--landscape { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-photos--wide { grid-template-columns: minmax(0, 1fr); }
.review-photos img { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; }
.review-photos--portrait img { aspect-ratio: 2 / 3; }
.review-photos--landscape img, .review-photos--wide img { aspect-ratio: 3 / 2; }
.review-photos figcaption { margin-top: 8px; color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; }

.chara-gallery { overflow-x: auto; scrollbar-width: none; }
.chara-gallery::-webkit-scrollbar { display: none; }
.chara-gallery__list { display: flex; gap: 20px; }
.chara-gallery__list li { flex: 1 0 0; max-width: 160px; min-width: 0; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.chara-gallery__list img { width: 100%; height: 100%; object-fit: cover; }
.chara-gallery + .center { margin-top: 16px; }

.chara .rating, .chara .product { width: min(700px, 100% - 40px); margin: 24px auto 0 !important; border: 1px solid var(--pale); }
.rating { padding: 20px; text-align: center; scroll-margin-top: 20px; }
.rating__note { margin-top: 4px; color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 2px; }
.rating__list { margin-top: 12px; text-align: left; }
.rating__row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px 0; border-bottom: 1px solid rgba(211, 165, 108, .6); }
.rating__row dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.rating__label { color: var(--camel); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; }
.rating__sub { color: var(--sub); font-size: var(--fs-10); line-height: 1.5; letter-spacing: 1px; }
.rating__row dd { flex: none; display: flex; align-items: center; gap: 24px; }
.rating__score { min-width: 56px; color: var(--brown); font-weight: 700; text-align: right; white-space: nowrap; }
.stars { display: inline-flex; gap: 12px; }
.stars__star { width: 21px; height: 21px; background: var(--chip); clip-path: polygon(50% 2%, 61.8% 36.5%, 98% 36.5%, 68.7% 58%, 79.4% 93%, 50% 71.5%, 20.6% 93%, 31.3% 58%, 2% 36.5%, 38.2% 36.5%); }
.stars__star.is-full { background: var(--camel); }
.stars__star.is-half { background: linear-gradient(90deg, var(--camel) 50%, var(--chip) 50%); }

.product { display: flex; align-items: center; gap: 18px; padding: 20px; }
.product__img { flex: 0 0 300px; max-width: 45%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #fff; }
.product__img img { width: 100%; height: 100%; object-fit: contain; }
.product__text { flex: 1; min-width: 0; }
.product__link { margin-top: 12px; font-size: var(--fs-14); line-height: 1.5; }
.product__link a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.chara__disclaimer { margin-top: 24px; color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; text-align: center; }
.chara__nav { width: min(700px, 100% - 40px); margin: 24px auto 0 !important; padding-top: 24px; border-top: 1px solid var(--pale); }
.chara__nav .center { margin-top: 24px; }

@media (max-width: 767px) {
	.chara > *:not(.sec-title):not(.entry-header):not(.chara__hero) { margin-inline: 20px; }
	.chara__hero { aspect-ratio: auto; overflow: visible; background: none; }
	.chara__hero img { aspect-ratio: 360 / 112; height: auto; }
	.chara__catch { position: static; transform: none; margin: 10px 20px 0; color: var(--text); text-shadow: none; }
	.chara__lead { text-align: left; }
	.chara__anchors ul { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
	.profile { flex-direction: column; align-items: stretch; }
	.profile__main { flex: none; width: 100%; }
	.profile__thumbs { flex: none; flex-direction: row; }
	.profile__thumbs li { flex: 0 1 96px; }
	.profile__list > div { display: block; }
	.profile__list dt, .profile__list dd { display: inline; }
	.origin { flex-direction: column; align-items: stretch; margin-inline: 10px; }
	.origin__fig { flex: none; max-width: none; }
	.review-photos--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
	.review-photos--landscape { grid-template-columns: minmax(0, 280px); justify-content: center; }
	.chara .chara__section#sec-gallery { margin-inline: 0 !important; }
	.chara__section#sec-gallery > .note-label { margin-inline: 20px; }
	.chara-gallery__list { gap: 24px; width: max-content; padding-inline: 50px; }
	.chara-gallery__list li { flex: none; width: 220px; max-width: none; }
	.chara .rating, .chara .product { width: calc(100% - 40px); }
	.rating__row { flex-direction: column; align-items: center; gap: 4px; }
	.rating__row dt { justify-content: center; text-align: center; }
	.product { flex-direction: column; align-items: stretch; }
	.product__img { flex: none; max-width: none; }
	.product__list > div { display: block; }
	.product__list dt, .product__list dd { display: inline; }
	.chara__disclaimer { text-align: left; padding-left: 1.3em; text-indent: -1.3em; }
	.chara__nav { width: calc(100% - 20px); }
}

/* ---------- pages (about / privacy) ---------- */
.page-content > * + * { margin-top: 24px; }
.page-content h2 { font-size: var(--fs-24); font-weight: 400; line-height: 1.5; letter-spacing: .2em; }
.page-content a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.page-content .wp-block-group__inner-container > * + * { margin-top: 24px; }
.page-content > .wp-block-group + .wp-block-group { margin-top: 80px; }

.bt-about-hero { position: relative; }
.bt-about-hero figure { margin: 0; }
.bt-about-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; }
.bt-about-hero .bt-about-hero__copy { position: absolute; top: 55px; left: 49px; margin: 0; color: #fff; font-size: clamp(18px, 2.64vw, 36px); line-height: 1.8; letter-spacing: .15em; text-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.bt-about-section h2 + * { margin-top: 24px; }
.bt-contents { display: grid; grid-template-columns: repeat(4, minmax(0, 230px)); justify-content: space-between; gap: 32px 20px; }
.page-content .bt-contents a, .bt-contents a { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; }
.bt-contents__img { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #c4c4c4; }
.bt-contents__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.bt-contents a:hover img { transform: scale(1.03); opacity: .9; }
.bt-contents__name { font-weight: 700; }
.bt-operator { padding: 40px 60px; background: var(--panel); filter: drop-shadow(var(--shadow)); }
.bt-operator__profile { width: min(300px, 100%); margin: 0 auto 32px; }
.bt-operator__profile .wp-block-group__inner-container > * + *, .bt-operator__profile > * + * { margin-top: 0; }
.bt-operator__icon { margin: 0 0 12px; }
.bt-operator__icon img { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; object-fit: cover; }
.bt-operator__badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--chip); font-size: var(--fs-12); font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.bt-operator__name { margin-top: 8px !important; font-weight: 700; }
.bt-note-label { margin-top: 12px !important; padding-bottom: 8px; border-bottom: 1px solid var(--pale); color: var(--camel); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .1em; }
.bt-sns { display: flex; justify-content: center; gap: 32px; margin-top: 12px; }
.bt-sns a { display: block; width: 44px; height: 44px; border-radius: 50%; transition: opacity .2s; }
.bt-sns a:hover { opacity: .8; }
.bt-operator h2 { margin-top: 24px; }
.bt-operator h2 + p { margin-top: 18px; }
.bt-info, .bt-info > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.bt-info:has(> .wp-block-group__inner-container) { display: block; }
.bt-info__col, .bt-info__col > .wp-block-group__inner-container { display: flex; flex-direction: column; margin: 0 !important; }
.bt-info__col:has(> .wp-block-group__inner-container) { display: block; }
.bt-info__col > .wp-block-group__inner-container { height: 100%; }
.bt-info .bt-note-label { margin-top: 0 !important; }
.bt-info h3 { margin-top: 16px !important; font-size: var(--fs-16); font-weight: 700; line-height: 1.8; }
.bt-info h3 + p { margin-top: 8px !important; }
.bt-textlink { margin-top: auto !important; padding-top: 16px; text-align: right; }
.page-content .bt-textlink a { display: inline-flex; align-items: center; gap: 8px; color: var(--camel); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; text-decoration: none; }
.bt-textlink a::after {
	content: ""; flex: none; width: 86px; height: 21px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='86' height='21' viewBox='0 0 86 21' fill='none' stroke='%23d3a56c'%3E%3Cpath d='M0 10.5h57'/%3E%3Ccircle cx='75.5' cy='10.5' r='10'/%3E%3Cpath d='M73.5 6l5 4.5-5 4.5z' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bt-textlink a:hover { opacity: .75; }
.page--privacy-policy .bt-policy-intro { color: var(--sub); }
.page--privacy-policy .page-content h2 { margin-top: 40px; padding-left: 2.75em; text-indent: -2.75em; color: var(--brown); font-weight: 700; }
.page--privacy-policy .bt-policy-intro + h2 { margin-top: 80px; }
.page-content .bt-circle-link a { display: inline-flex; align-items: center; gap: 20px; color: var(--text); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; text-decoration: none; }
.bt-circle-link a::before { content: ""; flex: none; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; }
.bt-circle-link a { position: relative; }
.bt-circle-link a::after { content: ""; position: absolute; top: 50%; left: 12px; width: 10px; height: 10px; margin-top: -5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.bt-policy-dates { margin-top: 40px !important; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }
.page--privacy-policy { padding-bottom: 40px; }

@media (max-width: 1023px) {
	.bt-contents { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.bt-about-hero .bt-about-hero__copy { top: 8%; left: 5%; }
}
@media (max-width: 767px) {
	.page-head--wide { margin-bottom: 40px; }
	.page-content > .wp-block-group + .wp-block-group { margin-top: 40px; }
	.bt-about-hero { margin-inline: calc(var(--gutter) * -1); }
	.bt-about-hero img { border-radius: 0; }
	.bt-contents { grid-template-columns: minmax(0, 1fr); }
	.bt-operator { margin-inline: calc(var(--gutter) * -1); padding: 40px 20px; }
	.bt-info, .bt-info > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.page--privacy-policy .page-content h2 { margin-top: 32px; }
	.page--privacy-policy .bt-policy-intro + h2 { margin-top: 40px; }
}

/* ---------- 404 ---------- */
.page--404 .page-head { margin-bottom: 80px; }
.nf { position: relative; }
.nf__img { position: absolute; top: -58px; right: clamp(-138px, calc((1000px - 100vw) / 2 + 45px), 0px); width: 717px; max-width: 72%; opacity: .75; -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at center, #000 45%, transparent 100%); pointer-events: none; }
.nf__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nf__text { position: relative; }
.nf__title { color: var(--brown); font-size: var(--fs-24); font-weight: 700; line-height: 1.5; letter-spacing: .2em; }
.nf__lead { margin-top: 24px; }
.nf__text .btn-more { margin-top: 40px; }
.nf__contents { position: relative; margin-top: 40px; padding-bottom: 54px; }
.nf__heading { margin-bottom: 24px; font-size: var(--fs-24); font-weight: 400; line-height: 1.5; letter-spacing: .2em; text-align: center; }
@media (max-width: 767px) {
	.page--404 .page-head { margin-bottom: 40px; }
	.nf { display: flex; flex-direction: column; gap: 40px; }
	.nf__img { position: static; width: 100%; max-width: none; }
	.nf__text { display: flex; flex-direction: column; }
	.nf__text .btn-more { align-self: center; }
	.nf__contents { padding-bottom: 90px; }
}

/* ---------- contact ---------- */
.contact-panel { margin-top: 80px; padding: 40px 60px; background: var(--panel); filter: drop-shadow(var(--shadow)); }
.page--contact { padding-bottom: 40px; }
.bt-form { display: flex; flex-direction: column; gap: 32px; }
.bt-form__note, .bt-form__done-text { color: var(--sub); font-size: var(--fs-14); line-height: 1.8; }
.bt-form__fatal { padding: 12px 16px; border: 1px solid var(--error); border-radius: var(--radius); color: var(--error); font-size: var(--fs-14); font-weight: 700; line-height: 1.8; }
.bt-form__group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bt-form__label { padding: 8px; border-radius: var(--radius); background: var(--camel); color: var(--panel); font-size: var(--fs-14); font-weight: 400; line-height: 1.5; }
.bt-form__input { width: 100%; min-height: 39px; padding: 5px 10px; border: 1px solid var(--pale); border-radius: var(--radius); background: var(--panel); font-size: var(--fs-16); line-height: 1.8; -webkit-appearance: none; appearance: none; }
.bt-form__input::placeholder { color: var(--pale); }
.bt-form__input:focus { border-color: var(--brown); }
.bt-form__input[aria-invalid="true"], .bt-form__fieldset[aria-invalid="true"] .bt-form__radio span::before { border-color: var(--error); }
.bt-form__textarea { display: block; min-height: 110px; resize: vertical; }
.bt-form__radios { display: flex; flex-direction: column; gap: 10px; }
.bt-form__radio, .bt-form__check { position: relative; display: inline-flex; align-items: center; cursor: pointer; color: var(--sub); font-size: var(--fs-14); line-height: 1.5; }
.bt-form__radio input, .bt-form__check input { position: absolute; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.bt-form__radio span, .bt-form__check span { display: inline-flex; align-items: center; gap: 12px; }
.bt-form__radio span::before { content: ""; flex: none; width: 24px; height: 24px; border: 1px solid var(--text); border-radius: 50%; background: var(--panel); }
.bt-form__radio input:checked + span::before { background: radial-gradient(circle, var(--sub) 0 7px, var(--panel) 8px); }
.bt-form__check span::before { content: ""; flex: none; width: 24px; height: 24px; border: 1px solid var(--pale); border-radius: 6px; background: #fff; }
.bt-form__check input:checked + span::before { border-color: var(--brown); background: var(--brown) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fdfbf6' stroke-width='2.2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.bt-form__radio input:focus-visible + span::before, .bt-form__check input:focus-visible + span::before { outline: 2px solid var(--brown); outline-offset: 3px; }
.bt-form__check[aria-invalid="true"] span::before, .bt-form__check input[aria-invalid="true"] + span::before { border-color: var(--error); }
.bt-form__error { color: var(--error); font-size: var(--fs-14); font-weight: 700; line-height: 1.5; letter-spacing: .1em; }
.bt-form__error::before { content: "！"; }
.bt-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bt-form__agree { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.bt-form__agree-text { color: var(--sub); font-size: var(--fs-14); line-height: 1.8; }
.bt-form__agree-text a { color: var(--camel); text-decoration: underline; text-underline-offset: 4px; }
.bt-form__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
.bt-btn-primary, .bt-btn-secondary {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 320px; max-width: 100%; min-height: 60px; padding: 10px 64px;
	border-radius: 30px; background: var(--brown); color: var(--panel); font-size: var(--fs-16); font-weight: 700; line-height: 1.5; letter-spacing: .2em; text-align: center; transition: opacity .2s;
}
.bt-btn-secondary { background: none; border: 1px solid var(--brown); color: var(--brown); }
.bt-btn-primary::after { content: ""; position: absolute; top: 50%; right: 12px; width: 40px; height: 40px; margin-top: -20px; border: 1px solid currentColor; border-radius: 50%; }
.bt-btn-primary::before { content: ""; position: absolute; top: 50%; right: 30px; width: 10px; height: 10px; margin-top: -5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.bt-btn-primary:hover, .bt-btn-secondary:hover { opacity: .85; }
.bt-btn-primary[disabled], .bt-btn-secondary[disabled] { opacity: .5; cursor: default; }
.bt-form__foot { color: var(--sub); font-size: var(--fs-12); line-height: 1.5; letter-spacing: .05em; }
.bt-form__title { color: var(--brown); font-size: var(--fs-20); font-weight: 700; line-height: 1.5; letter-spacing: .3em; text-align: center; }
.bt-form__confirm { display: flex; flex-direction: column; gap: 32px; }
.bt-form__value { width: 100%; padding: 5px 10px; border-bottom: 1px solid var(--pale); }
.bt-form--done { align-items: center; padding: 40px 0; text-align: center; }
@media (max-width: 767px) {
	.contact-panel { margin: 40px calc(var(--gutter) * -1) 0; padding: 50px 20px 40px; }
	.bt-btn-primary, .bt-btn-secondary { width: 100%; }
	.bt-form__actions--two { flex-direction: column-reverse; }
}

/* ---------- block editor defaults used inside content ---------- */
.wp-block-image { margin-inline: 0; }
.wp-block-image img { height: auto; }
.aligncenter { margin-inline: auto; text-align: center; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

/* ---------- TOP first view (レイヤー構成。座標はFigmaの値を％に換算) ---------- */
.fv { position: relative; overflow: hidden; container-type: inline-size;
	background:
		linear-gradient(270deg, rgba(130, 96, 69, .09), rgba(130, 96, 69, 0) 25%, rgba(130, 96, 69, 0) 75%, rgba(130, 96, 69, .09)),
		radial-gradient(circle, rgba(130, 96, 69, .11) 1px, transparent 1.6px) 0 0 / 13px 13px,
		var(--bg); }
.fv__stage { position: relative; width: 100%; max-width: 1600px; margin-inline: auto; aspect-ratio: 1366 / 900; }
.fv__bg { position: absolute; inset: 0; opacity: .2; }
.fv__item { position: absolute; display: block; height: auto; max-width: none; }
.fv__photo { border: .732cqw solid var(--panel); box-shadow: 0 4px 20px rgba(177, 153, 125, .1); background: var(--panel); }
.fv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fv__cut { aspect-ratio: 2 / 3; object-fit: contain; }
.fv__bg-layer{left:21.889%;top:26.778%;width:46.999%}
.fv__bg-leo{left:74.085%;top:14.667%;width:13.250%}
.fv__bg-n112{left:8.199%;top:12.222%;width:23.646%}
.fv__bg-car{left:35.944%;top:8.556%;width:22.247%}
.fv__bg-flower{left:4.246%;top:31.933%;width:17.914%}
.fv__bg-sword{left:19.107%;top:68.556%;width:21.149%}
.fv__bg-block{left:83.821%;top:36.444%;width:10.835%}
.fv__bg-onair{left:69.253%;top:48.111%;width:18.067%}
.fv__bg-bundodo{left:77.965%;top:36.222%;width:15.739%}
.fv__bg-toy{left:21.889%;top:64.333%;width:18.302%}
.fv__bg-asobu{left:87.555%;top:14.444%;width:6.149%}
.fv__bg-gun{left:28.917%;top:9.889%;width:8.082%}
.fv__bg-pizza{left:10.469%;top:77.111%;width:11.742%}
.fv__bg-remote{left:70.278%;top:68.889%;width:23.609%}
.fv__bg-gorilla{left:15.886%;top:72.667%;width:17.057%}
.fv__photo-a{left:55.217%;top:9.992%;width:17.570%;aspect-ratio:240/360;transform:rotate(4deg)}
.fv__photo-c{left:38.848%;top:57.691%;width:36.603%;aspect-ratio:500/333.33;transform:rotate(6deg)}
.fv__photo-b{left:14.722%;top:21.307%;width:32.943%;aspect-ratio:450/300;transform:rotate(-2deg)}
.fv__cut-a{left:69.400%;top:16.000%;width:11.127%}
.fv__cut-b{left:42.460%;top:15.667%;width:11.127%}
.fv__cut-c{left:30.966%;top:72.178%;width:11.127%}
.fv__logo{left:13.763%;top:36.000%;width:72.474%}
@media (max-width: 767px) {
	.fv { background-size: auto, 5.2px 5.2px, auto; }
	.fv__stage { aspect-ratio: 360 / 620; max-width: none; }
	.fv__photo { border-width: 1.444cqw; }
	.fv__bg-layer{left:6.944%;top:38.548%;width:71.333%}
	.fv__bg-leo{left:80.278%;top:31.452%;width:20.028%}
	.fv__bg-n112{left:14.722%;top:9.516%;width:35.889%}
	.fv__bg-car{left:20.833%;top:12.903%;width:33.667%}
	.fv__bg-flower{left:4.722%;top:12.258%;width:27.194%}
	.fv__bg-sword{left:17.778%;top:23.226%;width:32.111%}
	.fv__bg-block{left:81.389%;top:44.677%;width:16.417%}
	.fv__bg-onair{left:73.611%;top:54.839%;width:27.417%}
	.fv__bg-bundodo{left:65.556%;top:43.387%;width:23.889%}
	.fv__bg-toy{left:4.722%;top:56.452%;width:27.778%}
	.fv__bg-asobu{left:87.500%;top:8.226%;width:9.333%}
	.fv__bg-gun{left:0.833%;top:9.032%;width:12.278%}
	.fv__bg-pizza{left:2.778%;top:77.258%;width:17.833%}
	.fv__bg-remote{left:38.889%;top:85.000%;width:35.833%}
	.fv__bg-gorilla{left:1.111%;top:64.516%;width:25.889%}
	.fv__photo-a{left:50.939%;top:9.855%;width:34.667%;aspect-ratio:124.8/187.2;transform:rotate(4deg)}
	.fv__photo-c{left:24.453%;top:63.566%;width:72.222%;aspect-ratio:260/173.33;transform:rotate(6deg)}
	.fv__photo-b{left:-5.931%;top:30.387%;width:65.000%;aspect-ratio:234/156;transform:rotate(-2deg)}
	.fv__cut-a{left:78.922%;top:14.394%;width:21.956%}
	.fv__cut-b{left:48.800%;top:26.129%;width:21.956%}
	.fv__cut-c{left:8.900%;top:74.502%;width:21.956%}
	.fv__logo{left:6.056%;top:49.677%;width:88.000%}
}
@media (min-width: 1600px) { .fv__photo { border-width: 11.7px; } }

/* 種別ラベル（legend）とラジオボタンの間隔 */
.bt-form__fieldset { display: block; }
.bt-form__fieldset > legend { display: inline-block; margin-bottom: 10px; }
.bt-form__fieldset .bt-form__error { margin-top: 10px; }

/* 記事ヘッダーの太さ・色をカンプに合わせる（タイトルは太字、ラベル・キャッチは標準） */
.entry-header__title { font-weight: 700; }
.entry-header__date { color: var(--sub); }
.entry-header .chip { font-weight: 400; }
.entry-tags { color: var(--chip); }
.chara__catch { font-weight: 400; }
.page-content h2, .nf__heading { font-weight: 700; }

/* 写真列のドラッグ操作 */
.top-gallery__strip, .chara-gallery { cursor: grab; -webkit-user-select: none; user-select: none; }
.top-gallery__strip.is-dragging, .chara-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.top-gallery__strip.is-dragging a { pointer-events: none; }

/* TOPギャラリーのループ表示（JavaScript有効時）。吸着はさせない。 */
.top-gallery__strip { scroll-snap-type: none; }
.top-gallery__strip.is-loop { overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.top-gallery__strip.is-loop.is-dragging { cursor: grabbing; }
.top-gallery__strip.is-loop .top-gallery__list { width: max-content; margin: 0; padding: 0; will-change: transform; }
.top-gallery__strip.is-loop .top-gallery__list li { scroll-snap-align: none; }
.top-gallery__strip.is-loop img { -webkit-user-drag: none; pointer-events: none; }

/* 拡大表示のスワイプ／ドラッグ */
.lightbox__stage { cursor: grab; -webkit-user-select: none; user-select: none; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__img { -webkit-user-drag: none; }

/* カテゴリのラベルをリンクにする（記事リンクとは別のリンクとして上に重ねる） */
.card, .char-card { position: relative; }
.card > .chip--badge { position: absolute; top: 8px; right: 8px; z-index: 2; display: block; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
.chip--badge:hover, .chip--badge:focus-visible { background: var(--sub); color: #fff; }
.char-card { display: flex; flex-direction: column; gap: 12px; }
.char-card__img { display: block; }
.char-card:hover .char-card__img img { transform: scale(1.04); opacity: .9; }
.char-card__name a { display: block; }
.news-list__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; transition: background-color .2s; }
.news-list__item:hover { background: rgba(235, 211, 182, .25); }
.news-list__item a.news-list__body { display: flex; padding: 0; flex: 1; background: none; }
.news-list__item a.news-list__body:hover { background: none; }
.news-list__body::after { content: ""; position: absolute; inset: 0; }
.news-list__meta .chip--badge { position: relative; z-index: 1; }
@media (max-width: 767px) {
	.card--side > .chip--badge { right: calc(50% + 14px); max-width: calc(50% - 22px); }
	.news-list__item { flex-direction: column; align-items: flex-start; gap: 4px; }
	.news-list__item a.news-list__body { flex-direction: column; align-items: flex-start; width: 100%; }
}
.news-list__item a.chip--badge { display: inline-flex; padding: 2px 8px; }
.news-list__item a.chip--badge:hover, .news-list__item a.chip--badge:focus-visible { background: var(--sub); color: #fff; }

/* ヘッダーを画面上部に追従させる。スクロール後は半透明の背景を敷いて、下の写真や装飾と重なっても読めるようにする。 */
body { overflow-x: clip; }
html { scroll-padding-top: 124px; }
.site-header, .is-front .site-header { position: sticky; top: 0; left: auto; right: auto; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.site-header__inner { transition: height .25s; }
.is-front .fv { margin-top: -108px; }
.site-header.is-scrolled { background: rgba(255, 247, 230, .97); box-shadow: 0 2px 12px rgba(130, 96, 69, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.is-scrolled .site-header__inner { height: 76px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 767px) {
	html { scroll-padding-top: 66px; }
	/* 画面幅が広がるほど上部の余白が増えるため、その分だけ上に詰める（360px時は従来どおり） */
	.is-front .fv { margin-top: calc(-50px - max(0px, (100vw - 360px) * .11)); }
	.site-header.is-scrolled .site-header__inner { height: 50px; }
}
.is-menu-open .site-header, .is-menu-open.is-front .site-header { background: var(--camel); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* SPメニューを開いている間：ヘッダーの位置を変えない（中身がずれない）／背面を暗くする／背面をスクロールさせない */
.is-menu-open .site-header, .is-menu-open.is-front .site-header { position: sticky; left: auto; right: auto; }
.menu-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(66, 66, 66, .9); touch-action: none; }
.sp-menu { max-height: calc(100vh - 50px); max-height: calc(100dvh - 50px); overflow-y: auto; overscroll-behavior: contain; }

/* 文字入力欄：選択中は外側の線を出さず、もとの枠線を濃く・少し太く見せる */
.bt-form__input:focus, .bt-form__input:focus-visible,
.search-form__input:focus, .search-form__input:focus-visible { outline: none; border-color: var(--brown); box-shadow: inset 0 0 0 1px var(--brown); }
.bt-form__input[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }

/* ブンド度：未入力の項目 */
.rating__none { color: var(--sub); letter-spacing: .2em; }

/* カテゴリの「すべてのカテゴリ ＋」／自由枠の本文 */
.tag-filter--chips .filter__chips { align-items: center; }
.tag-filter--chips li.is-extra { display: none; }
.tag-filter--chips.is-open li.is-extra { display: block; }
.review-block__text { margin: 0; }

/* 拡大表示：共通化 */
.zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.entry-content img.is-zoomable { cursor: zoom-in; }
.entry-content img.is-zoomable:focus-visible, .zoom:focus-visible { outline: 2px solid var(--camel); outline-offset: 2px; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__tags[hidden] { display: none; }
@media (max-width: 767px) {
	.lightbox .modal__overlay { background: rgba(30, 30, 30, .94); }
}

/* セリフ（TOY物語の本文） */
.entry-content .serif { margin-block: .6em; }
.serif__name { margin-right: .1em; }

/* ---------- ボタンのアニメーション：左の丸い輪郭が右へ伸びて、文字を囲む ----------
   塗りつぶさない。文字の位置とクリックできる範囲は変えない。高さ40px・線1px・幅の変化0.5秒。
   伸びた輪郭の右側の余白は、左側（丸＋間隔＝60px）と同じにして、文字が中央に見えるようにする（字間の末尾ぶん3pxを引く）。 */
.btn-more { position: relative; }
.btn-more::before {
	content: ""; position: absolute; top: 50%; left: 0; width: 40px; height: 40px; margin-top: -20px;
	border: 1px solid currentColor; border-radius: 20px; pointer-events: none;
	transition: width .5s cubic-bezier(.22, .61, .36, 1);
}
.btn-more__icon::before { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.page-content .bt-circle-link a { gap: 0; padding-left: 60px; min-height: 40px; }
.bt-circle-link a::before {
	position: absolute; top: 50%; left: 0; margin-top: -20px; border-radius: 20px; pointer-events: none;
	transition: width .5s cubic-bezier(.22, .61, .36, 1);
}
.bt-circle-link a::after { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
@media (hover: hover) {
	.btn-more:hover::before { width: calc(100% - 3px); }
	.btn-more:hover .btn-more__icon::before { transform: translateX(3px) rotate(45deg); }
	.bt-circle-link a:hover::before { width: calc(100% + 57px); }
	.bt-circle-link a:hover::after { transform: translateX(3px) rotate(45deg); }
}
.btn-more:focus-visible::before { width: calc(100% - 3px); }
.bt-circle-link a:focus-visible::before { width: calc(100% + 57px); }

/* ---------- TOPメインビジュアル：写真の切り替え ---------- */
.fv { --fv-fade: .7s; }
.fv__photo { overflow: hidden; }
.fv__photo img.fv__next { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fv-fade) ease; }
.fv__photo img.fv__next.is-in { opacity: 1; }
img.fv__cut.fv__next { opacity: 0; transition: opacity var(--fv-fade) ease; }
img.fv__cut.fv__next.is-in { opacity: 1; }
img.fv__cut.is-out { opacity: 0; transition: opacity var(--fv-fade) ease; }
.fv__pause {
	position: absolute; right: 2.2%; bottom: 3%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px;
	border: 1px solid var(--camel); border-radius: 50%; background: rgba(253, 251, 246, .8); color: var(--brown); cursor: pointer;
	opacity: .65; transition: opacity .2s;
}
.fv__pause:hover, .fv__pause:focus-visible { opacity: 1; }
.fv__pause span { display: block; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.fv__pause[aria-pressed="true"] span { width: 0; height: 0; margin-left: 3px; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }

/* 追従ヘッダーのブルブル対策（PC）：
   スクロールでヘッダーの高さを変えると、ページ全体の高さも変わってスクロール位置がずれ、
   「縮む⇄戻る」を繰り返すことがある。ヘッダーが占める高さは常に108pxのままにし、
   見た目（中身の高さ76px・背景・影・ぼかし）だけを切り替える。 */
@media (min-width: 768px) {
	.site-header, .is-front .site-header { height: 108px; pointer-events: none; }
	.site-header > * { pointer-events: auto; }
	.site-header.is-scrolled { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.site-header::before {
		content: ""; position: absolute; top: 0; left: 0; right: 0; height: 108px; z-index: -1; opacity: 0; pointer-events: none;
		background: rgba(255, 247, 230, .97); box-shadow: 0 2px 12px rgba(130, 96, 69, .12);
		-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
		transition: opacity .25s, height .25s;
	}
	.site-header.is-scrolled::before { opacity: 1; height: 76px; }
}

/* ---------- 文字サイズを可変に ----------
   文字サイズは --fs-◯ の変数で指定している。パソコン表示（768px以上）と幅360pxのスマホではカンプどおりの大きさ。
   その間（幅360〜767px）は、画面が広くなるほど少しずつ大きくし、最大で1.125倍にする。 */
:root { --fs-10: 10px; --fs-12: 12px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-24: 24px; }
@media (max-width: 767px) {
	:root {
		--fs-10: clamp(10px, calc(10px + (100vw - 360px) * .0031), 11.25px);
		--fs-12: clamp(12px, calc(12px + (100vw - 360px) * .0037), 13.5px);
		--fs-14: clamp(14px, calc(14px + (100vw - 360px) * .0043), 15.75px);
		--fs-16: clamp(16px, calc(16px + (100vw - 360px) * .0049), 18px);
		--fs-20: clamp(20px, calc(20px + (100vw - 360px) * .0061), 22.5px);
		--fs-24: clamp(24px, calc(24px + (100vw - 360px) * .0074), 27px);
	}
}

/* ---------- スマホ〜タブレット幅：カードの左右の余白を詰める ----------
   これまでは幅300px固定のカードを中央に置いていたため、画面が広いと左右が大きく空いていた。
   幅519pxまでは画面幅いっぱいの1列、520〜767pxは2列にする。 */
@media (max-width: 767px) {
	.card-grid { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
}
@media (min-width: 520px) and (max-width: 767px) {
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
	.char-grid { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: space-evenly; gap: 32px 20px; }
}

/* TOPのTOY物語：2列になる幅（520〜767px）でだけ、端数を埋める1件を表示する。 */
.card--fill { display: none; }
@media (min-width: 520px) and (max-width: 767px) { .card--fill { display: block; } }

/* ---------- TOPメインビジュアル：最初の登場アニメーション ----------
   1. 無地（ドット）の背景だけ → 2. 薄い背景の写真 → 3. 手前の写真と切り抜き → 4. ロゴが左から現れる。
   全体で約3.5秒。「動きを減らす」設定の端末では再生せず、最初からすべて表示する。 */
@keyframes fv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fv-pop { from { opacity: 0; scale: .92; translate: 0 14px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes fv-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.fv--intro .fv__bg img { animation: fv-fade .9s ease both; animation-delay: .4s; }
.fv--intro .fv__bg img:nth-child(3n+2) { animation-delay: .55s; }
.fv--intro .fv__bg img:nth-child(3n) { animation-delay: .7s; }
.fv--intro [data-fv-slot] { animation: fv-pop .7s cubic-bezier(.2, .8, .2, 1) both; }
.fv--intro .fv__photo-b { animation-delay: 1.5s; }
.fv--intro .fv__photo-a { animation-delay: 1.68s; }
.fv--intro .fv__photo-c { animation-delay: 1.86s; }
.fv--intro .fv__cut-b { animation-delay: 2.04s; }
.fv--intro .fv__cut-a { animation-delay: 2.16s; }
.fv--intro .fv__cut-c { animation-delay: 2.28s; }
.fv--intro .fv__logo { animation: fv-wipe 1s cubic-bezier(.6, 0, .2, 1) both; animation-delay: 2.6s; }
.fv--intro .fv__pause { display: none; }

/* ---------- TOP：メインビジュアルより下を、ふわっと表示 ----------
   スクロールして画面に入ったら、少し下から浮かび上がるように表示する（main.js が is-in を付ける）。
   JavaScript が使えない環境と「動きを減らす」設定の端末では、最初から表示する。 */
@keyframes bt-reveal { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
	.js .is-front :is(.top-featured .sec-title, .top-featured__main, .top-featured__sub > *, .top-stories .sec-head, .top-stories .card, .top-stories .center, .top-new .sec-title, .top-new .news-list__item, .top-new .center, .top-character__inner > *, .top-gallery .sec-title, .top-gallery__strip, .top-gallery .center, .top-about__box > *):not(.is-in) { opacity: 0; }
	.js .is-front :is(.top-featured .sec-title, .top-featured__main, .top-featured__sub > *, .top-stories .sec-head, .top-stories .card, .top-stories .center, .top-new .sec-title, .top-new .news-list__item, .top-new .center, .top-character__inner > *, .top-gallery .sec-title, .top-gallery__strip, .top-gallery .center, .top-about__box > *).is-in { animation: bt-reveal .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--reveal-delay, 0s); }
}

/* 拡大表示：前後の写真へ、横に流れるように切り替える（main.js が動かす）。 */
.lightbox { overflow-x: hidden; }
.lightbox__stage { position: relative; }
.lightbox__ghost { pointer-events: none; }

/* ---------- TOPのピックアップ：写真の白縁＋傾き（FVと同じテイスト） ----------
   パソコン：左の大きい1件と右の2件の上端・下端をそろえる（左の写真は枠の高さに合わせて切り抜く）。
   右の2件はタイトルを2行ぶん確保して同じ高さにする（3行以上は「…」で省略）。
   スマホ：大きい1件の下に2件を横並び。写真の比率は 3:2 のまま。 */
.top-featured .top-featured__grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 44px; align-items: stretch; padding: 14px 8px 18px; }
.top-featured .top-featured__main, .top-featured .top-featured__sub { flex: none; min-width: 0; }
.top-featured .top-featured__main { display: flex; }
.top-featured .top-featured__sub { display: grid; grid-template-rows: 1fr 1fr; gap: 34px; }
.top-featured .card { position: relative; display: flex; flex-direction: column; padding: 12px 12px 16px; background: var(--panel); box-shadow: 0 6px 22px rgba(130, 96, 69, .18); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.top-featured .top-featured__main .card { flex: 1; padding: 16px 16px 20px; transform: rotate(-1deg); }
.top-featured .top-featured__sub .card:nth-child(1) { transform: rotate(1.4deg); }
.top-featured .top-featured__sub .card:nth-child(2) { transform: rotate(-1.2deg); }
.top-featured .card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 12px 30px rgba(130, 96, 69, .24); }
.top-featured .card__link { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.top-featured .card__img { border-radius: 0; }
.top-featured .top-featured__main .card__img { flex: 1; min-height: 0; aspect-ratio: auto; }
.top-featured .top-featured__sub .card__img { aspect-ratio: 3 / 2; }
.top-featured .card__text { margin-top: 12px; padding: 0 4px; }
.top-featured .top-featured__main .card__title { font-size: 20px; }
.top-featured .top-featured__sub .card__title { font-size: 14px; line-height: 1.6; min-height: 3.2em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.top-featured .card::before { content: ""; position: absolute; top: -13px; left: 50%; width: 76px; height: 26px; margin-left: -38px; background: rgba(255, 252, 244, .62); border-left: 1px dashed rgba(130,96,69,.18); border-right: 1px dashed rgba(130,96,69,.18); box-shadow: 0 1px 3px rgba(130,96,69,.12); transform: rotate(-3deg); z-index: 3; }
.top-featured .top-featured__main .card::before { width: 104px; margin-left: -52px; }
.top-featured .top-featured__sub .card:nth-child(1)::before { transform: rotate(4deg); }
.top-featured .top-featured__sub .card:nth-child(2)::before { transform: rotate(-4deg); }
.top-featured .card > .chip--badge { top: 20px; right: 20px; }
.top-featured .top-featured__main .card > .chip--badge { top: 24px; right: 24px; }
@media (max-width: 767px) {
	.top-featured .top-featured__grid { grid-template-columns: 1fr; gap: 36px; padding: 10px 14px 10px; }
	.top-featured .top-featured__main .card__img { flex: none; aspect-ratio: 3 / 2; }
	.top-featured .top-featured__sub { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0; }
	.top-featured .top-featured__sub .card { padding: 8px 8px 18px; }
	.top-featured .card--side .card__link { display: flex; align-items: stretch; }
	.top-featured .card--side .card__img, .top-featured .card--side .card__text { flex: none; }
	.top-featured .card--side .card__img { aspect-ratio: 3 / 2; }
	.top-featured .card--side > .chip--badge { right: 14px; top: 14px; max-width: calc(100% - 28px); }
	.top-featured .top-featured__main .card { padding: 10px 10px 16px; }
	.top-featured .top-featured__main .card > .chip--badge { top: 16px; right: 16px; }
	.top-featured .top-featured__main .card__title { font-size: 16px; }
	.top-featured .top-featured__sub .card__title { font-size: 12px; -webkit-line-clamp: 2; }
	.top-featured .card__text { margin-top: 10px; }
}

/* ---------- TOPのキャラクター帯：写真の顔が見切れないように ----------
   パソコン：写真の枠を常に 16:7 に保ち、帯の高さを画面幅に合わせて変える（写真はどの幅でも全体が見える）。
   スマホ：写真は縦長 3:4。キャメル色の箱を小さくして写真の下端に寄せ、顔のある上半分を見せる。 */
@media (min-width: 768px) {
	.top-character { align-items: stretch; }
	.top-character__img { flex: 1 1 59.74%; aspect-ratio: 16 / 7; }
	.top-character__img img { object-position: center center; }
	.top-character__box { flex: 0 0 40.26%; padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 767px) {
	.top-character { display: block; padding: 0; }
	/* 幅が広い端末で帯が伸びすぎないよう、高さは560pxまで。超えた分は写真の下側を切る（顔は上半分に収める前提）。 */
	.top-character__img { position: relative; inset: auto; aspect-ratio: 3 / 4; max-height: 560px; width: 100%; }
	.top-character__img img { object-position: center top; }
	.top-character__box { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 22px 0 24px; background: rgba(211, 165, 108, .94); }
	.top-character__inner { gap: 16px; }
}

/* フッターメニュー：タブレット幅（520〜767px）は2列にして左右の空きを減らす。左列＝コンテンツ、右列＝サイト情報の順に縦に流す。 */
@media (min-width: 520px) and (max-width: 767px) {
	.site-footer__main nav { max-width: 480px; }
	.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 18px 32px; max-width: 480px; }
}

/* FVの写真：スクリプトが写真を入れるまでの空の枠は表示しない（JavaScriptが使えない環境では noscript 内の画像を使う） */
.fv img:not([src]) { display: none; }
