@charset "UTF-8";
/* CSS Document */

/* ------------------------------------------------------------------
   ベース
------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #fff;
	color: #333;
	font-family: "Zen Maru Gothic", system-ui, "Hiragino Sans", sans-serif;
	font-weight: 500;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

/* ------------------------------------------------------------------
   全体の器
   スマホ幅が基準。最大1000pxで頭打ち、それ以上は中央寄せ＋左右余白
------------------------------------------------------------------ */

.teaser__inner {
	width: 100%;
	max-width: 1000px;
	margin-inline: auto;      /* 左右autoで中央寄せ */
	padding-inline: 1.25rem;  /* 左右の最低余白（スマホで端に付かないように） */
	color: #54b983;
}

/* ------------------------------------------------------------------
   ヒーロー（ロゴ・会期・キャッチ・リード）
------------------------------------------------------------------ */

.teaser__hero {
	text-align: center;
	padding-block: 3rem;      /* 上下の余白 */
}

.teaser__title {
	max-width: 1000px;   /* 実物に合わせて調整 */
	margin: 0 auto 2.5rem;
}

.teaser__title-img {
	width: 100%;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.teaser__catch {
	font-size: clamp(16px, 4.3vw, 28px);
	color: #54b983;
	line-height:normal;
}
.teaser__lead {
	font-size: clamp(9px, 2vw, 20px);
	color: #54b983;
	line-height:normal;
}

/* ------------------------------------------------------------------
   ボランティア
------------------------------------------------------------------ */

.teaser__volunteer {
	text-align: center;
	padding-block: 2.5rem;
}

.teaser__volunteer-title {
	margin: 0;
}

.teaser__button {
	display: inline-block;
	padding: 0.85rem 2rem;
	background: #fbc93e;
	color: #fff;
	text-decoration: none;
	font-size: clamp(14px, 2vw, 24px);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0.90;
}
.teaser__button--green {
	background: #54b983;
}

.teaser__download-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 1.5rem 0 0;
}
.teaser__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3rem;
}

.teaser__button {
	width: 70%;
	box-sizing: border-box;
	text-align: center;
}
@media (max-width: 700px) {
	.teaser__button {
		max-width: 100%;
	}
	.teaser__buttons {
		gap: 2rem;
	}
}
/* ------------------------------------------------------------------
   SNS
------------------------------------------------------------------ */

.teaser__sns {
	display: flex;
	justify-content: center;
	gap: 1rem;
	padding-block: 1.5rem;
}

.sns-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #54b983;        /* グリーン。実際の値に合わせる */
	border-radius: 28%;          /* 丸ボタン。四角ならこの行を消す or 8px程度に */
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.sns-btn:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.sns-btn img {
	width: 24px;
	height: 24px;
	display: block;
}


/* ------------------------------------------------------------------
   主催・後援
------------------------------------------------------------------ */
.teaser__meta {
	margin: 0;
	font-size: clamp(9px, 2vw, 20px);
}

.teaser__meta dt {
	font-weight: bold;
}

.teaser__meta dd {
	margin: 0;
}

.teaser__meta.frame-box {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;                    /* いったんゼロに */
	padding: 0.4rem 0.8rem;
}

.teaser__meta dd {
	margin: 0 1.5rem 0 0;      /* dd の右に隙間 = 次の dt との間だけ空く */
}

.teaser__meta dd:last-child {
	margin-right: 0;           /* 最後の dd の右は空けない */
}
.teaser__meta-wrap {
	text-align: center;
	padding-block: 2rem;
}
.teaser__meta dt::after {
	content: "：";
}
/* ------------------------------------------------------------------
   その他共通
------------------------------------------------------------------ */
/* 黄色い枠の共通スタイル。使い回す */
.frame-box {
	border: 2.8px solid #fbc93e;
	padding: 0.4rem 0.8rem;
}

/* キャッチ・リードは inline要素なので inline-block にして枠を効かせる */
.teaser__catch .frame-box,
.teaser__lead .frame-box {
	display: inline-block;
}

/* ------------------------------------------------------------------
   デザイン部分
------------------------------------------------------------------ */
.teaser__band {
	max-width: 1000px;
	margin-inline: auto;
	container-type: inline-size;   /* ← これが追加。この要素を幅の基準にする */
}

.teaser__band-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	background: #f1f0ee;
	margin-bottom: 2rem;
}

.teaser__band-row img {
	height: clamp(35px, 15cqw, 140px);   /* ← vw を cqw に変えただけ */
	width: auto;
}
.band-char--r0-c3 {
	margin-left: clamp(-15px, -1.5cqw, -5px);   /* A を左に寄せて、T との間を詰める */
}
.band-char--r1-c2 {
	margin-left: clamp(-15px, -1.5cqw, -5px);   /* A を左に寄せて、T との間を詰める */
}

/* ------------------------------------------------------------------
   スライド
------------------------------------------------------------------ */
.slider {
	overflow: hidden;        /* はみ出した画像を隠す（これで窓の外が見えなくなる） */
	width: 100%;
}

.slider__track {
	display: flex;
	width: max-content;      /* 中身（12枚）の合計幅まで広がる */
	animation: slide 120s linear infinite;   /* 40秒かけて流れる・一定速度・無限 */
}

.slider__item {
	flex: 0 0 auto;          /* 縮まない・伸びない・元のサイズ維持 */
	width: 280px;            /* 1枚の幅。好みで調整 */
	margin-right: 0px;      /* 写真の間隔 */
}

.slider__item img {
	width: 100%;
	height: 200px;           /* 高さを揃える */
	object-fit: cover;       /* 比率を保ったまま枠を埋める（歪まない） */
	display: block;
}
.teaser__credit {
	text-align: center;
	font-size: 0.8rem;
	color: #54b983;
}

/* アニメーション本体：左へ半分（=1組ぶん）動かす */
@keyframes slide {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }   /* 2組の半分＝1組ぶん */
}

/* 動きが苦手な人には止める */
@media (prefers-reduced-motion: reduce) {
	.slider__track {
		animation: none;
	}
}

/* ------------------------------------------------------------------
   公開区分バッジ
------------------------------------------------------------------ */

/* ---- 公開区分バッジ（角ばった四角） ---- */
.program__type {
	padding: 0.2em 1.25em;
	font-weight: 700;
	font-size: 1em;
	white-space: nowrap;
	/* デフォルトは塗り。色はスラッグ別クラスで指定 */
	color: #fff;
}

/* 塗りタイプ */
.program__type--tokukou { background: #54b983; }
.program__type--tour    { background: #ea5747; }
.program__type--event   { background: #2f689e; }

/* 特別展示だけ枠線タイプ（白背景＋色文字＋色枠） */
.program__type--tokuten {
	background: #fff;
	color: #54b983;
	border: 2px solid #54b983;
}

/* ---- エリアバッジ（角丸・全部枠線） ---- */
.program__area {
	padding: 0em 0.25em;
	border-radius: 5px;
	font-weight: 700;
	font-size: 0.9em;
	white-space: nowrap;
	background: #fff;
}

.program__area--moji        { color: #54b983; border: 2px solid #54b983; }
.program__area--kokura      { color: #999999; border: 2px solid #999999; }
.program__area--yahata      { color: #b19161; border: 2px solid #b19161; }
.program__area--yahatanishi { color: #2f689e; border: 2px solid #2f689e; }
.program__area--tobata      { color: #ea5747; border: 2px solid #ea5747; }