/* ============================================================
  0. CSS変数（サイズ・色の共通設定）
============================================================= */
:root {
	--container: 1200px;
	--gutter: 24px;
	--header-height: 46px;
	--header-side-padding: 56px;

	/* 配色 */
	--color-text: #503714;
	--color-bg: #ffffff;
	--color-bg-alt: #f7f3ea;
	--color-accent: #a55b3c;
	--color-border: #dedede;

	--color-pink: #e7a1a8;
	--color-green: #73cd00;
	--color-orange: #eb5514;
	--color-purple: #8d6fae;
	--color-yellow: #f5a000;

	/* ヘッダー */
	--color-header-bg: #4b3f28;
	--color-header-text: #ffffff;

	--font-base: "Noto Sans JP", sans-serif;
}

/* ============================================================
  1. リセット・ベース
============================================================= */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

body {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	padding-top: var(--header-height);
}

body.is-modal-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
dl,
dd,
table {
	margin: 0;
	padding: 0;
	list-style: none;
	border-collapse: collapse;
}

h1,
h2,
h3,
p {
	margin: 0;
}

button {
	font: inherit;
}

/* ============================================================
  2. コンテナ／共通パーツ
============================================================= */
.l-container {
	width: min(var(--container), 100% - (var(--gutter) * 2));
	margin: 0 auto;
}

/* 文章中心のセクション用の狭め幅 */
.l-container--narrow {
	max-width: 620px;
}

.c-badge {
	display: inline-block;
	background: var(--color-text);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.c-badge--sm {
	font-size: 10px;
	padding: 2px 8px;
}

/* 個数制限バッジの色違い（背景色は先方指定） */
.c-badge--blue {
	background: #559bd7;
}

.c-badge--mint {
	background: #a0d7d2;
	/* 背景が明るく、白文字だと読めないため文字色を本文色にする */
	color: var(--color-text);
}

/* 情報公開前のブロック */
.p-tbd-block {
	margin-bottom: 32px;
}

.p-tbd-block__title {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
}

.p-tbd-block__box {
	background: #d9d9d9;
	color: #c62828;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
	padding: 40px 16px;
	border: 2px dashed #c62828;
}

/* ============================================================
  3. ヘッダー（上部固定）
  高さは固定値をやめ、上下パディングで自然に決まる方式
  （文字の上下に均等な余白ができる）
============================================================= */
.l-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--color-header-bg);
	z-index: 1000;
	display: flex;
	align-items: center;
}

.l-header__inner {
	width: 100%;
	padding: 10px var(--header-side-padding);
}

.l-header__nav-list {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

.l-header__nav-list a {
	color: var(--color-header-text);
	line-height: 1.4;
	font-size: 13px;
	font-weight: 500;
}

/* ============================================================
  4. HERO
============================================================= */
.p-hero {
	display: grid;
	position: relative;
}

@media (min-width: 768px) {
	.p-hero {
		margin-bottom: calc(5vh + 40px);
	}
}

@media (max-width: 767.98px) {
	.p-hero {
		/* 画面が縦に短い端末でも余白を確保する */
		margin-bottom: max(calc(6vh + 30px), 90px);
	}
}

.p-hero__bg {
	grid-column: 1;
	grid-row: 0;
	position: relative;
}

.p-hero__bg img {
	width: 100%;
	display: block;
}

/* ★スマホ判定の条件★
   HERO は「背景」「キャラクター」「余白の取り方」の3つが噛み合って成立するため、
   スマホ用画像に切り替わる条件と、この画面の高さいっぱいに敷く指定は
   必ず同じ条件にしておく。片方だけ切り替わるとPC用とスマホ用が混ざって崩れる。
   条件を変えるときは、下記4箇所をセットで直すこと。
     1. HTML：背景の<source media="...">
     2. HTML：キャラクターの<source media="...">
     3. このブロック（背景を画面の高さいっぱいにする）
     4. 「.p-hero__pin」のサイズ指定（横向き・縦幅狭のブロック） */
@media (max-width: 767.98px) and (orientation: portrait) and (min-height: 500px) {
	.p-hero__bg img {
		height: 100vh;
		height: 100dvh;
		object-fit: cover;
		object-position: center;
	}
}

.p-hero__bg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 30vh;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

.p-hero__pinWrapper {
	grid-column: 1;
	grid-row: 0;
	align-self: start;
	position: sticky;
	top: var(--header-height);
	bottom: 0;
	height: 0;
	z-index: 2;
}

.p-hero__pin {
	position: absolute;
	left: 50%;
	translate: -50% 0;
	width: min(120vh, 110vw, 1600px);
	text-align: center;
}

.p-hero__pinWrapper::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 40% 55% at 50% 60%,
			rgba(255, 255, 255, 0.9) 0%,
			rgba(255, 255, 255, 0.5) 55%,
			rgba(255, 255, 255, 0) 85%),
		linear-gradient(to bottom,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0.5) 30%,
			rgba(255, 255, 255, 0.9) 55%,
			#fff 70%);
}

@media (min-width: 768px) {
	.p-hero__pin {
		bottom: -5vh;
	}

	.p-hero__pinWrapper::before {
		bottom: -5vh;
		height: 70vh;
	}
}

/* PCとスマホの中間サイズ。画像が画面幅を超えて左右が切れるのを防ぐ */
@media (min-width: 768px) and (max-width: 1100px) {
	.p-hero__pin {
		width: min(105vh, 100vw, 1600px);
		bottom: -2vh;
	}
}

@media (max-width: 767.98px) {
	.p-hero__pin {
		width: min(100vw, 95vh);
		bottom: -4vh;
	}


	.p-hero__pinWrapper::before {
		bottom: -6vh;
		height: 40vh;
	}
}

/* スマホの横向き。縦幅が狭くなるため、PCと同じく画面の高さ基準にして
   キャラクターが縦幅に合わせて小さくなるようにする */
/* 縦幅が極端に狭い場合はPC用画像に切り替わるため、サイズもPC相当にする */
@media (max-width: 767.98px) and (orientation: portrait) and (max-height: 499px) {
	.p-hero__pin {
		width: min(100vh, 100vw, 1600px);
	}
}

/* 横向きはPC用画像に切り替わるので、背景の高さ指定も自動的に外れる
   （上の「スマホ判定の条件」に orientation: portrait が入っているため） */
@media (max-width: 767.98px) and (orientation: landscape) {
	.p-hero__pin {
		width: min(100vh, 100vw, 1600px);
		bottom: -5vh;
	}

	.p-hero__pinWrapper::before {
		bottom: -5vh;
		height: 70vh;
	}
}

.p-hero__characters {
	width: 100%;
	/* ヘッダーの下を天井として、そこに収まる高さに制限する。
     dvhはアドレスバーを除いた実際の表示領域を基準にする */
	max-height: calc(100vh - var(--header-height) - 24px);
	max-height: calc(100dvh - var(--header-height) - 24px);
	object-fit: contain;
	margin: 0 auto;
}

/* ============================================================
  4-2. 日程・会場情報（ピンから独立した静止コンテンツ）
============================================================= */
.p-hero__info {
	margin-top: 32px;
	margin-bottom: 32px;
	text-align: center;
	position: relative;
	/* このブロックのみ文字色を黒にする */
	color: #222222;
}

/* 中身の一番広い要素に合わせて幅が決まる箱 */
.p-hero__info-content {
	/* 中身の幅に合わせて縮み、中央に配置 */
	display: inline-block;
	text-align: left;
	max-width: 100%;
	width: fit-content;
	margin: 0 auto;
}

/* 左：会場情報＋注意書き／右：Xバナーの2分割行 */
.p-hero__bottom-row {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.p-hero__venue-col {
	flex: 1 1 auto;
	min-width: 0;
}

.p-hero__venue-block {
	margin-top: 24px;
	padding: 14px 0;
	border-top: 1px solid var(--color-text);
	border-bottom: 1px solid var(--color-text);
}

.p-hero__venue {
	font-size: 20px;
	font-weight: 700;
}

.p-hero__hours {
	margin-top: 4px;
	font-size: 15px;
	font-weight: 700;
}

.p-hero__small-note {
	margin-top: 12px;
	font-size: 10px;
	line-height: 1.6;
	color: #666;
}

/* PC：この注意書きは1行が長いため、放っておくと下段の幅を押し広げ、
   右のXバナーが上の日程（後期の行）より外へはみ出してしまう。
     width: 0      → この文章では箱の幅を決めない（幅の基準から外す）
     min-width:100% → 左カラムに残った幅いっぱいまで広げる
   これで下段の幅が日程の幅に収まり、バナーの右端が日程の右端と揃う。
   文章は必要に応じて折り返す */
@media (min-width: 768px) {
	.p-hero__small-note {
		width: 0;
		min-width: 100%;
	}
}

/* SNS誘導バナー */
.p-hero__x-banner {
	flex: 0 0 auto;
	margin-top: 24px;
}

.p-hero__x-banner img {
	width: 200px;
}

@media (max-width: 767.98px) {

	/* SPでは縦積みに戻す */
	.p-hero__info-content {
		display: block;
		text-align: center;
	}

	.p-hero__bottom-row {
		flex-direction: column;
		align-items: center;
	}

	.p-hero__x-banner {
		margin-top: 12px;
	}

	.p-hero__x-banner img {
		width: 180px;
	}
}

/* ============================================================
  前期・後期の日程
  PC：「前期」ラベルの右に日付を横一列（デザイン準拠）
  SP：「前期」ラベルを全幅バーにし、日付は2行に完全に分けて表示
============================================================= */
.p-hero__periods {
	display: inline-block;
	text-align: left;
}

.p-hero__period {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.p-hero__period-label {
	flex: 0 0 auto;
	background: #1a1a1a;
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3em;
	padding: 10px 12px 10px 14px;
	line-height: 1;
}

.p-hero__period-dates {
	display: flex;
	align-items: baseline;
	line-height: 1;
}

.p-hero__period-date {
	display: inline-flex;
	align-items: baseline;
}

.p-hero__period-y {
	font-size: 15px;
	font-weight: 700;
	margin-right: 2px;
}

.p-hero__period-num {
	font-size: 34px;
	font-weight: 900;
	margin: 0 1px;
}

.p-hero__period-u {
	font-size: 15px;
	font-weight: 700;
}

.p-hero__period-day {
	font-size: 15px;
	font-weight: 700;
	margin-right: 4px;
}

.p-hero__period-sep {
	font-size: 26px;
	font-weight: 700;
	margin: 0 8px;
	align-self: center;
}

@media (max-width: 767.98px) {

	/* SPは縦積みレイアウト。ラベルは全幅バー、日付は2行に分ける */
	.p-hero__periods {
		display: block;
		width: 100%;
	}

	.p-hero__period {
		display: block;
		margin-bottom: 20px;
	}

	.p-hero__period-label {
		display: block;
		width: 100%;
		font-size: 15px;
		letter-spacing: 0.4em;
		padding: 8px 0;
	}

	.p-hero__period-dates {
		display: block;
		margin-top: 8px;
	}

	.p-hero__period-date {
		display: flex;
		align-items: baseline;
		justify-content: center;
	}

	.p-hero__period-y {
		font-size: 16px;
	}

	.p-hero__period-num {
		font-size: 38px;
	}

	.p-hero__period-u {
		font-size: 16px;
	}

	.p-hero__period-day {
		font-size: 16px;
	}

	.p-hero__period-sep {
		display: block;
		text-align: center;
		/* テキストは非表示にし、::afterで縦線を描画 */
		font-size: 0;
		margin: 10px 0 0;
	}

	.p-hero__period-sep::after {
		content: "";
		display: inline-block;
		width: 2px;
		height: 14px;
		background: #333;
	}
}

.p-hero-banners {
	margin-top: 20px;
	text-align: center;
}

/* ============================================================
  5. セクション共通
============================================================= */
.p-section {
	padding: 80px 0;
}

.p-section--alt {
	background: var(--color-bg-alt);
}

.p-section--gray {
	background: #e6e6e6;
}

.p-section__title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	margin-bottom: 48px;
}

/* 画像タイトル共通。高さを固定し幅を自動にして大きさを揃える */
.p-section__title img {
	display: block;
	margin: 0 auto;
	height: 150px;
	width: auto;
}

@media (max-width: 767.98px) {
	.p-section__title img {
		height: min(150px, 28vw);
	}
}

.p-section__title span {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-top: 4px;
	color: #666;
}

.p-section__title-small {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 24px;
}

.p-placeholder-block {
	background: #d9d9d9;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-size: 13px;
}

/* ============================================================
  6. TOPICS（お知らせ）
  左右のイラストは個別配置ではなく、section自体の背景画像として設定。
  コンテンツは中央の狭い幅に収まるので、その左右の余白部分に
  背景画像がのぞいて見える形になる。
  TOPICS以外（TICKET・GOODS・HIGHLIGHTS・NOTES）にも同じ仕組みで
  背景装飾が入る予定のため、共通ルール(.p-section--decor-bg)として
  用意し、画像だけをセクションごとに指定する形にしている。
  background-size を 100% auto にしているのは、画面幅と背景画像の
  幅を常に一致させ、イラストが必ず画面の左右端に来るようにするため。
============================================================= */
.p-section--decor-bg {
	/* 基準幅で頭打ちにする */
	max-width: var(--container);
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: top center;
	/* .l-containerと同じ幅で頭打ちにする */
	background-size: min(100%, var(--container)) auto;
}

/* 01:TOPICS 02:TICKET 03:GOODS 04:HIGHLIGHTS 05:NOTES */
#topics.p-section--decor-bg {
	background-image: url(../images/topics-decor-bg-01.png);
}

#ticket.p-section--decor-bg {
	background-image: url(../images/topics-decor-bg-02.png);
}

#goods.p-section--decor-bg {
	background-image: url(../images/topics-decor-bg-03.png);
}

#highlights.p-section--decor-bg {
	background-image: url(../images/topics-decor-bg-04.png);
}

#notes.p-section--decor-bg {
	background-image: url(../images/topics-decor-bg-05.png);
}

@media (max-width: 767.98px) {

	/* スマホでは位置を少し下げる */
	.p-section--decor-bg {
		background-position: top 30px center;
	}
}

.p-topics__inner {
	max-width: 620px;
	margin: 0 auto;
}

.p-news-list {
	width: 480px;
	max-width: 100%;
	margin: 0 auto;
}

@media (max-width: 767.98px) {
	.p-news-list {
		max-width: 90%;
	}
}

.p-news-list__item {
	display: flex;
	gap: 24px;
	padding: 20px 0;
}

.p-news-list__date {
	flex: 0 0 auto;
	font-size: 14px;
	color: #eb5514;
}

.p-news-list__text {
	font-size: 15px;
}

/* ============================================================
  7. OVERVIEW（会場ごとのアコーディオン）
============================================================= */
#overview {
	position: relative;
}

/* 装飾アイコン：コンテンツの左右外側に配置 */
.p-overview__deco {
	position: absolute;
	width: 64px;
}

.p-overview__deco--star {
	top: 90px;
	left: max(16px, calc(50% - 310px - 84px));
}

.p-overview__deco--shell {
	bottom: 30px;
	right: max(16px, calc(50% - 310px - 74px));
}

@media (max-width: 991px) {

	/* 幅が狭い場合は非表示 */
	.p-overview__deco {
		display: none;
	}
}

.p-overview__lead {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 24px;
	text-align: center;
}

.p-overview-venue {
	margin-bottom: 16px;
}

.p-overview-venue__title {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: var(--color-header-bg);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 20px;
	border-radius: 6px;
	cursor: pointer;
}

.p-overview-venue__icon {
	width: 0;
	height: 0;
	flex: 0 0 auto;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 8px solid #fff;
	transition: transform 0.2s ease;
}

.p-overview-venue__title[aria-expanded="true"] .p-overview-venue__icon {
	transform: rotate(90deg);
}

.p-overview-venue__body {
	padding: 24px 20px 8px;
}

.p-overview-venue__body[hidden] {
	display: none;
}

/* 会場名のリンク。お問い合わせ下のURL（.p-cta__link）と同じ赤にする */
.p-overview__link {
	color: var(--color-orange);
	text-decoration: underline;
}

.p-overview__soon {
	text-align: center;
	color: #888;
	font-size: 14px;
	padding: 24px 0;
}

.p-overview__table {
	border-top: 2px solid var(--color-text);
}

.p-overview__row {
	display: flex;
	gap: 24px;
	padding: 16px 0;
	/* 点線の区切り。3px＝円の直径、9px＝円の間隔 */
	background-image: radial-gradient(circle, #503714 1.5px, transparent 1.5px);
	background-position: bottom left;
	background-size: 9px 3px;
	background-repeat: repeat-x;
	padding-bottom: 19px;
	font-size: 14px;
	line-height: 1.6;
}

/* 最後の項目だけ、区切りではなく終端の下線（実線）にする */
.p-overview__row:last-child {
	background-image: none;
	border-bottom: 2px solid var(--color-text);
	padding-bottom: 16px;
}

.p-overview__row dt {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 120px;
	font-weight: 700;
}

.p-overview__row-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.p-overview__row dd {
	flex: 1;
}

/* ============================================================
  8. TICKET
============================================================= */
.p-ticket-table {
	width: 100%;
	font-size: 18px;
	/* 角丸を効かせるため線をまとめて描画 */
	border-collapse: separate;
	border-spacing: 0;
	border: 3px solid #eb5514;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.p-ticket-table th,
.p-ticket-table td {
	padding: 20px 24px;
	font-weight: 700;
}

/* 上下の行のあいだの区切り線 */
.p-ticket-table tr:not(:last-child) th,
.p-ticket-table tr:not(:last-child) td {
	border-bottom: 3px solid #eb5514;
}

.p-ticket-table th {
	text-align: center;
	/* 縦の点線。3px＝円の直径、9px＝円の間隔 */
	background-image: radial-gradient(circle, #eb5514 1.5px, transparent 1.5px);
	background-position: right center;
	background-size: 3px 9px;
	background-repeat: repeat-y;
}

.p-ticket-table td {
	text-align: center;
	color: #eb5514;
	font-size: 20px;
}

.p-ticket-table__tax {
	font-size: 13px;
	margin-left: 2px;
}

.p-ticket-note {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.p-ticket-buttons {
	display: flex;
	gap: 24px;
	margin-top: 32px;
}

.p-ticket-buttons__item {
	flex: 1;
	text-align: center;
}

.p-ticket-buttons__label {
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #666;
}

.p-ticket-buttons__note {
	margin-top: 8px;
	font-size: 11px;
	color: #888;
}

/* 入場特典（レプリカチケット）：1枚画像として埋め込み */
.p-entry-bonus {
	margin-top: 56px;
	text-align: center;
}

.p-entry-bonus img {
	margin: 32px auto 0;
}

/* ============================================================
  9. 共通ボタン
============================================================= */
.c-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	width: 100%;
	/* button要素でもリンクと同じ見た目にする */
	border: none;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
}

/* チケット販売サイト・店舗一覧のボタン */
.c-btn--outline {
	background: #f5a000;
	color: #fff;
	border-radius: 6px;
	font-size: 16px;
	padding: 18px 32px;
}

.c-btn--dark {
	background: var(--color-header-bg);
	color: #fff;
	width: auto;
	padding: 16px 56px;
}

/* お問い合わせボタン。アイコン配置の基準になる */
.c-btn--cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--color-orange);
	color: #fff;
	width: auto;
	min-width: 420px;
	/* 右側は文字だけなので、左（気球側）より広めに取る */
	padding: 20px 90px 20px 56px;
	font-size: 20px;
}

/* 気球のラッパー。高さ0でボタンの高さに影響させない */
.c-btn__mail-icon-wrap {
	flex: 0 0 auto;
	position: relative;
	display: block;
	width: 100px;
	height: 0;
}

/* 気球本体。上方向へはみ出させる */
.c-btn__mail-icon {
	position: absolute;
	left: 0;
	/* マイナス方向にすると下へ移動 */
	bottom: -30px;
	width: 100%;
	height: auto;
	/* 気球らしく、ゆっくり上下に漂うアニメーション */
	animation: balloon-float 4s ease-in-out infinite;
}

@keyframes balloon-float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-8px);
	}
}

/* 「アニメーションを減らす」設定にしている人には動かさない */
@media (prefers-reduced-motion: reduce) {
	.c-btn__mail-icon {
		animation: none;
	}
}

.p-cta {
	/* 気球のはみ出しぶん、上の余白を多めに取る */
	padding: 120px 0 20px;
	text-align: center;
}

/* 中央寄せしつつ、テキストは左揃え */
.p-cta__note {
	display: inline-block;
	margin-top: 20px;
	text-align: left;
}

.p-cta__note li {
	position: relative;
	padding-left: 1.4em;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.9;
}

.p-cta__note li::before {
	content: "※";
	position: absolute;
	left: 0;
}

/* お問い合わせボタン下の注釈 */
.p-cta__mail-note {
	margin-top: 20px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.8;
}

@media (max-width: 767.98px) {
	/* スマホでは折り返しを許可 */
	.p-cta__mail-note {
		margin-top: 16px;
		font-size: 12px;
	}
}

/* 作品のコピーライト：グレー背景エリアの最後に中央揃えで配置 */
.p-cta__rights {
	display: block;
	margin-top: 40px;
	text-align: center;
	font-size: 11px;
	color: #666;
}

.p-cta__link {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--color-orange);
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.c-btn--cta {
		min-width: 0;
		/* 内容に合わせた幅にして中央に置く */
		width: auto;
		font-size: 16px;
		/* 右側は文字だけなので、左（気球側）より広めに取る */
		padding: 16px 70px 16px 28px;
	}

	/* スマホでは気球をさらに小さく */
	.c-btn__mail-icon-wrap {
		width: 72px;
	}

	.c-btn__mail-icon {
		bottom: -22px;
	}

	.p-cta {
		padding-top: 90px;
	}

	.p-cta__note li {
		font-size: 11px;
	}
}

/* ============================================================
  10. GOODS
============================================================= */
.p-goods__note {
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	/* 背景イラストの上に重ねるため */
	position: relative;
	z-index: 1;
}

/* 情報公開前の表記 */
.p-goods__soon {
	max-width: 800px;
	margin: 40px auto 0;
	padding: 56px 24px;
	background: #fff;
	border: 2px solid #eb5514;
	border-radius: 12px;
	text-align: center;
	font-family: "Noto Serif", serif;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #eb5514;
	/* 背景イラストの上に重ねるため */
	position: relative;
	z-index: 1;
}

@media (max-width: 767.98px) {
	.p-goods__soon {
		margin-top: 32px;
		padding: 40px 16px;
		border-radius: 8px;
		font-size: 24px;
	}
}

.p-goods__badges {
	margin-top: 12px;
	display: flex;
	/* バッジが増えても、収まらない分は次の行に送る */
	flex-wrap: wrap;
	justify-content: center;
	/* 縦（行間）8px ／ 横（バッジ間）12px */
	gap: 8px 12px;
}

/* 個数制限バッジの下に置く注釈。
   中身の幅に合わせた箱を中央に置き、文章は左揃えにする。
   「※」は::beforeで付けるため、HTML側の本文には書かない
   （折り返した2行目が「※」の下に潜り込まず、頭が揃う） */
.p-goods__annotations {
	width: fit-content;
	max-width: 100%;
	margin: 16px auto 0;
}

.p-goods__annotations li {
	position: relative;
	padding-left: 1.4em;
	font-size: 12px;
	line-height: 1.8;
	color: #666;
}

.p-goods__annotations li::before {
	content: "※";
	position: absolute;
	left: 0;
}

.p-goods__subtitle {
	font-size: 16px;
	font-weight: 700;
	margin: 40px 0 20px;
	text-align: center;
}

.p-goods-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* カードは1枚画像。クリックで拡大表示する */
.p-goods-card {
	all: unset;
	box-sizing: border-box;
	display: block;
	width: 100%;
	cursor: pointer;
}

.p-goods__cta {
	margin-top: 32px;
	text-align: center;
}

/* 購入特典 */
.p-purchase-bonus {
	margin-top: 56px;
	text-align: center;
}

.p-purchase-bonus__title {
	font-size: 22px;
	font-weight: 700;
}

.p-purchase-bonus__lead {
	margin-top: 8px;
	font-size: 13px;
	color: #666;
}

.p-purchase-bonus .c-badge {
	margin-top: 12px;
}

.p-purchase-bonus-grid {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 12px;
}

.p-purchase-bonus-grid__item {
	background: #d9d9d9;
	aspect-ratio: 1 / 1;
}

/* 支払い方法一覧 */
.p-payment {
	margin-top: 40px;
	text-align: center;
}

.p-payment__title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 12px;
}

.p-payment__list li {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

/* ============================================================
  11. HIGHLIGHTS
============================================================= */
/* 白背景＋茶色の枠線の角丸ボックス */
.p-highlights-text {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	border: 2px solid var(--color-header-bg);
	border-radius: 12px;
	padding: 48px 56px;
	position: relative;
	z-index: 1;
	/* 中のキャッチコピーが、このボックスの内側の幅を基準に
	   文字サイズを決められるようにする（下のcqi指定で使用） */
	container-type: inline-size;
}

.p-highlights-text__catch {
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.02em;
	margin-bottom: 32px;
	/* キャッチコピーは必ず1行で見せる */
	white-space: nowrap;
	/* 1行に収まらない幅では、折り返さずに文字を縮小する。
	   1cqi＝このボックスの内側の幅の1%。全16文字なので
	   5.8cqi なら常に横幅の95%程度に収まる計算。
	   （container query未対応の古い環境では上の30pxが使われる） */
	font-size: 30px;
	font-size: min(30px, 5.8cqi);
}

.p-highlights-text__body {
	font-size: 15px;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 20px;
}

.p-highlights-text__annotation {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.9;
	margin-top: 24px;
}

@media (max-width: 767.98px) {
	.p-highlights-text {
		padding: 32px 20px;
		border-radius: 8px;
	}

	.p-highlights-text__catch {
		margin-bottom: 24px;
		font-size: 20px;
		font-size: min(20px, 5.8cqi);
	}

	.p-highlights-text__body {
		font-size: 14px;
		line-height: 1.9;
	}
}

.p-highlight-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 40px;
	position: relative;
}

.p-highlight-item::before {
	content: "";
	position: absolute;
	top: -10px;
	left: -10px;
	width: 60px;
	height: 60px;
	background: var(--color-pink);
	opacity: 0.3;
	z-index: -1;
}

.p-highlight-item:nth-child(even)::before {
	background: var(--color-yellow);
}

.p-highlight-item__num {
	flex: 0 0 auto;
	font-size: 40px;
	font-weight: 900;
	font-style: italic;
	color: transparent;
	-webkit-text-stroke: 2px var(--color-pink);
	line-height: 1;
}

.p-highlight-item__title {
	font-size: 17px;
	font-weight: 700;
}

.p-highlight-item__text {
	margin-top: 8px;
	font-size: 13px;
	color: #555;
}

/* ============================================================
  12. NOTES（注意事項）：クリックで開閉するアコーディオン
============================================================= */
#notes {
	position: relative;
}

/* 装飾キャラクターの位置の基準 */
#notes .l-container {
	position: relative;
}

/* 装飾キャラクター。見出し画像の左右に配置 */
.p-notes__deco {
	position: absolute;
	top: 20px;
	width: 110px;
}

.p-notes__deco--left {
	/* コンテナの端の内側に配置 */
	left: 0;
}

.p-notes__deco--right {
	right: 0;
}

@media (max-width: 991px) {
	.p-notes__deco {
		width: 80px;
		top: 20px;
	}
}

@media (max-width: 600px) {
	.p-notes__deco {
		width: 80px;
		top: 26px;
	}

	/* 画面が狭いときは、コンテナの端よりさらに内側に寄せる */
	.p-notes__deco--left {
		left: 16px;
	}

	.p-notes__deco--right {
		right: 16px;
	}
}

.p-notes-accordion {
	margin-bottom: 12px;
}

.p-notes-accordion__title {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: var(--color-header-bg);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	padding: 16px 20px;
	border-radius: 6px;
	cursor: pointer;
}

.p-notes-accordion__icon {
	width: 0;
	height: 0;
	flex: 0 0 auto;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 8px solid #fff;
	transition: transform 0.2s ease;
}

.p-notes-accordion__title[aria-expanded="true"] .p-notes-accordion__icon {
	transform: rotate(90deg);
}

.p-notes-accordion__body {
	padding: 20px 8px 4px;
}

.p-notes-accordion__body[hidden] {
	display: none;
}

.p-notes-accordion__list li {
	position: relative;
	padding-left: 1.2em;
	font-size: 13px;
	line-height: 1.9;
	margin-bottom: 10px;
}

.p-notes-accordion__list li::before {
	content: "・";
	position: absolute;
	left: 0;
}

.p-notes-accordion__subhead {
	margin: 18px 0 10px;
	font-size: 13px;
	font-weight: 700;
}

.p-notes-accordion__link {
	color: #d4351c;
	text-decoration: underline;
}

/* ============================================================
  13. OFFICIAL SNS
============================================================= */
.p-sns__title {
	font-family: "Noto Serif", serif;
}

.p-sns__lead {
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 12px;
}

/* SNSボタン：Xマーク＋縦の区切り線＋テキストの横長ボタン */
.p-sns-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #503714;
	color: #fff;
	border-radius: 6px;
	padding: 0 14px;
	/* Xボタンと下の緑・黄ボタンの高さを揃えるための共通値 */
	min-height: 56px;
	font-size: 13px;
	font-weight: 700;
}

.p-sns-btn__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	/* ロゴの大きさと区切り線の高さの基準 */
	font-size: 22px;
	line-height: 1;
	height: 1em;
	/* テキストとのあいだの縦の区切り線 */
	padding-right: 12px;
	border-right: 1px solid rgba(255, 255, 255, 0.5);
}

/* Xのロゴ画像（images/icon-x.svg を差し替えれば見た目が変わる）。
   上のfont-sizeに合わせて大きさが決まるので、SPでも自動で縮む。
   縦横比が正方形でない画像を入れた場合は、はみ出さずに収まる */
.p-sns-btn__x-logo {
	display: block;
	width: 0.8em;
	height: 0.8em;
	object-fit: contain;
}

.p-sns-btn__label {
	flex: 1;
	text-align: center;
	/* 長いラベルを改行させない */
	white-space: nowrap;
}

/* 一番上のボタンだけ、中央に少し狭めで配置 */
.p-sns-btn--main {
	max-width: 380px;
	margin: 0 auto;
}

@media (max-width: 767.98px) {

	/* スマホでは幅の上限を外し、他のボタンと揃える */
	.p-sns-btn--main {
		max-width: none;
	}
}

.p-sns-groups {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.p-sns-group__title {
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 12px;
}

.p-sns-group .p-promo-buttons__item {
	margin-top: 16px;
}

.p-promo-buttons__item {
	/* .p-sns-btn と同じ min-height で高さを揃える */
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 8px 10px;
	border-radius: 6px;
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.p-promo-buttons__item--green {
	background: var(--color-green);
}

.p-promo-buttons__item--yellow {
	background: var(--color-yellow);
}

@media (max-width: 767.98px) {
	.p-sns-groups {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.p-sns-btn {
		font-size: 13px;
		gap: 12px;
		padding: 0 16px;
	}

	.p-sns-btn__icon {
		padding-right: 12px;
		font-size: 20px;
	}
}

/* ============================================================
  14. フッター
============================================================= */
.l-footer {
	background: #fff;
}

/* ヘッダーと同じく、コンテナ幅で絞らず全幅にする。
   ロゴを画面の左端、コピーライトを右端に寄せるため
   （左右の余白は他セクションと同じ--gutter：PC24px／SP16px） */
.l-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding: 20px var(--gutter);
}

/* 画面が極端に狭いときだけ、ロゴを縮めて横スクロールを防ぐ */
.l-footer__logo {
	min-width: 0;
}

.l-footer__logo img {
	max-width: 100%;
}

/* ロゴ画像。images/TOMOWEL.png を配置 */
.l-footer__logo img {
	width: 240px;
	height: auto;
}

.l-footer__copy {
	font-size: 11px;
	color: #888;
}

@media (max-width: 767.98px) {
	.l-footer__logo img {
		width: 180px;
	}

}

/* ============================================================
  15. 画像拡大モーダル
============================================================= */
.c-image-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 2000;
}

.c-image-modal[hidden] {
	display: none;
}

.c-image-modal__image {
	max-width: min(720px, 100%);
	max-height: calc(100vh - 96px);
	object-fit: contain;
}

.c-image-modal__close {
	all: unset;
	box-sizing: border-box;
	position: fixed;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: var(--color-text);
}

.c-image-modal__close:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 3px;
}

/* ============================================================
  16. レスポンシブ（スマホ：〜768px）
============================================================= */
@media (max-width: 767.98px) {

	:root {
		--gutter: 16px;
		--header-height: 34px;
		--header-side-padding: 16px;
	}

	.l-header__inner {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.l-header__nav-list a {
		font-size: 10px;
	}

	.p-section {
		padding: 48px 0;
	}

	.p-section__title {
		font-size: 22px;
		margin-bottom: 32px;
	}

	.p-overview__row {
		flex-direction: column;
		gap: 4px;
	}

	.p-overview__row dt {
		flex: none;
	}

	.p-ticket-table {
		font-size: 14px;
	}

	.p-ticket-table th,
	.p-ticket-table td {
		padding: 14px 10px;
	}

	.p-ticket-table td {
		font-size: 15px;
	}

	.p-ticket-buttons {
		flex-direction: column;
		gap: 16px;
	}

	.p-goods-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.p-purchase-bonus-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	/* スマホでも横並びを維持 */
	.l-footer__inner {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.l-footer__copy {
		font-size: 10px;
		white-space: nowrap;
	}
}
/* ============================================================
  17. ホバー効果（PCのみ）
  マウスが使える環境だけに適用する。スマホ・タブレットでは
  「ホバー」が存在せず、タップ後に効果が残って見えてしまうため
============================================================= */
@media (hover: hover) {

	/* --- 共通の下準備：変化をなめらかにする --- */
	.c-btn,
	.p-sns-btn,
	.p-promo-buttons__item,
	.p-goods-card,
	.p-notes-accordion__title,
	.p-overview-venue__title,
	.p-hero__x-banner,
	.l-header__nav-list a,
	.p-news-list__item,
	.p-cta__link,
	.p-notes-accordion__link,
	.p-overview__link {
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	/* --- ボタン類：少し明るく（薄く）＋わずかに拡大 --- */
	.c-btn:hover,
	.p-sns-btn:hover,
	.p-promo-buttons__item:hover {
		opacity: 0.85;
		transform: scale(1.02);
	}

	/* --- グッズ画像：拡大できることを伝えるため少し大きく --- */
	.p-goods-card:hover {
		opacity: 0.85;
		transform: scale(1.03);
	}

	/* --- アコーディオンの見出し：クリックできると伝える --- */
	.p-notes-accordion__title:hover,
	.p-overview-venue__title:hover {
		opacity: 0.85;
	}

	/* --- Xバナー画像 --- */
	.p-hero__x-banner:hover {
		opacity: 0.85;
		transform: scale(1.02);
	}

	/* --- ヘッダーのナビ --- */
	.l-header__nav-list a:hover {
		opacity: 0.7;
	}

	/* --- テキストリンク --- */
	.p-cta__link:hover,
	.p-notes-accordion__link:hover,
	.p-overview__link:hover {
		opacity: 0.7;
	}
}

/* 「アニメーションを減らす」設定の人には動きを付けない */
@media (prefers-reduced-motion: reduce) {

	.c-btn,
	.p-sns-btn,
	.p-promo-buttons__item,
	.p-goods-card,
	.p-hero__x-banner {
		transition: opacity 0.2s ease;
	}

	.c-btn:hover,
	.p-sns-btn:hover,
	.p-promo-buttons__item:hover,
	.p-goods-card:hover,
	.p-hero__x-banner:hover {
		transform: none;
	}
}
