@charset "utf-8";

/**********************************
						構造・共通
**********************************/

.container {
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
}

.container2 {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}

#wrap {
	width: 100%;
	/* height: 100%; */
	overflow-x: hidden;
}

/**********************************
					メイン、ヘッダー部分
**********************************/
#nagasaki_logo {
	display: block;
	margin: 40px 0 80px 0;
	text-align: center;
}

#nagasaki_logo img {
	display: block;
	max-width: 135px;
	margin: 0 auto;
}

#main_logo {
	display: block;
	margin: 0 0 100px 0;
	text-align: center;
}

#main_logo img {
	display: block;
	margin: 0 auto;
	max-width: 510px;
}

.main_copy_title {
	display: block;
	font-size: 2.8rem;
	color: #614a23;
	margin-bottom: 20px;
	text-align: center;
}

.main_copy {
	display: block;
	font-size: 2rem;
	color: #614a23;
	text-align: center;
	line-height: 1.8;
}


article#main {
	display: block;
	margin-top: 80px;
}

article section {
	display: block;
}

article section .container {
	display: block;
	padding: 70px 0 85px 0;
	position: relative;
}

article section .container2 {
	display: block;
	padding: 70px 0 85px 0;
	position: relative;
}

article section.about:before {
	content: url("../images/section_border.png");
	display: block;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

article section.about:after {
	content: url("../images/section_border.png");
	display: block;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

/**********************************
						一覧ボタン
**********************************/

#list_btn {
	display: block;
	margin-top: 30px;
}

#list_btn a:hover {
	opacity: 0.7;
}

#list_btn img {
	display: block;
	margin: 0 auto;
	max-width: 315px;
}

/**********************************
						イベント情報
**********************************/
/* .event:after {
	content: url("../images/section_border2.png");
	display: block;
	width: 100%;
	margin: 0 auto;
	text-align: center;
} */

#event_title {
	margin-bottom: 55px;
}

#event_title img {
	display: block;
	margin: 0 auto;
	max-width: 315px;
}

ul.day_select {
	display: flex;
	width: 100%;
	gap: 18px;
	margin: 55px 0 165px 0;
}

ul.day_select li {
	width: calc(100% / 5 - 18px);
}

ul.day_select li img {
	max-width: 148px;
	margin: 0 auto;
	display: block;
}

.day_detail {
	display: block;
	min-height: 910px;
	width: 100%;
	padding-top: 110px;
	background: url("../images/day_border.png") no-repeat;
	background-position: top center;
	background-size: contain;
	position: relative;
}

.day_title {
	position: absolute;
	left: 50%;
	top: -85px;
	z-index: 99;
	transform: translateX(-50%);
}

.detail_inner {
	display: block;
	max-width: 620px;
	width: 100%;
	margin: 0 auto;
}

.event_name {
	display: block;
	width: 100%;
	font-size: 2.8rem;
	color: #614a23;
	margin-top: 50px;
	margin-bottom: 35px;
	text-align: center;
}

.event_description {
	display: flex;
	justify-content: center;
	gap: 55px;
	margin-bottom: 40px;
}

.event_description .desc_text {
	flex: 0 0 65%;
}

/* リスト全体のスタイル調整 */
.event-info {
	display: flex;
	flex-wrap: wrap;
	color: #231815;
}

/* 見出し（dt）のスタイル */
.event-info dt {
	width: 3em;
	box-sizing: border-box;
	font-size: 2rem;
}

/* 内容（dd）のスタイル */
.event-info dd {
	width: calc(100% - 5em);
	margin-left: 0;
	box-sizing: border-box;
	font-size: 2rem;
}

/* 住所などの補足テキスト */
.event-info .address {
	display: block;
}


ul.event_photo {
	display: flex;
	width: 100%;
	gap: 30px;
	margin-bottom: 45px;
}

ul.event_photo li {
	width: calc(100% / 2 - 15px);
}


ul.event_photo li span {
	display: block;
	margin-top: 3px;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: right;
}


.event_btn {
	display: flex;
	width: 100%;
	gap: 50px;
}

.event_btn li {
	width: calc(100% / 2 - 25px);
}

/**********************************
						ニュース
**********************************/
.news_inner {
	display: block;
	max-width: 600px;
	margin: 0 auto;
}

#news_title {
	margin-bottom: 55px;
}

#news_title img {
	display: block;
	margin: 0 auto;
	max-width: 315px;
}

.news_inner p.main_copy {
	margin-bottom: 55px;
}

/**********************************
						Youtube
**********************************/
.youtube {
	width: 100%;
	aspect-ratio: 16 / 9;
	line-height: 1;
}

.youtube iframe {
	width: 100%;
	height: 100%;
}

.movie_colum {
	display: flex;
	align-items: flex-end;
	gap: 20px;
}

.movie_colum .long {
	width: 60% !important;
}

.movie_colum .movie_col {
	width: 20%;
}

.movie_colum .movie_col img {
	width: 100%;
}

.movie_colum .movie_col span {
	display: block;
	text-align: right;
	font-size: 14px;
	padding: 5px;
}


/**********************************
「描いてみんね！長崎」を活用された作品
**********************************/
article section.work:before {
	content: url("../images/section_border.png");
	display: block;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

article section.work:after {
	content: url("../images/section_border.png");
	display: block;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

#work_title {
	margin-bottom: 55px;
}

#work_title img {
	display: block;
	margin: 0 auto;
	max-width: 385px;
}

.map {
	display: block;
	width: 100%;
	position: relative;
}

.map img {
	display: block;
	width: 100%;
}


/* --- ベースのマップコンテナ --- */
.map {
	display: block;
	width: 100%;
	position: relative;
}

.map .map-bg {
	display: block;
	width: 100%;
	height: auto;
}

/* --- ピンとポップアップを内包する要素 --- */
.map-item {
	position: absolute;
	transform: translate(-50%, -50%);
	/* ％で指定した位置をピンの中心にする */
	z-index: 10;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* ★ピン（丸）のスタイル（記述が空だったため補足） */
.map-pin {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

/* .map-pin.is-cyan {
	background-color: #00a896;
} */

/* ホバー時のピンのアニメーション */
.map-item:hover {
	z-index: 100;
	/* ホバーしたアイテムを一番手前に持ってくる */
}

/* .map-item:hover .map-pin {
	transform: scale(1.2);
} */

/* --- ポップアップ（SVG画像）の制御 --- */
/* .popup-content {
	position: absolute;
	top: 24px;
	left: 50%;
	transform: translateX(-50%) scale(0);
	transform-origin: top center;
	width: 385px;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
	pointer-events: none;
} */

/* ==========================================================================
   ベースのマップコンテナ・ピンの設定
   ========================================================================== */
.map-container,
.map {
	position: relative;
	width: 100%;
	display: block;
}

.map-container img,
.map img {
	display: block;
	width: 100%;
	height: auto;
}

/* ピンとポップアップを内包する要素 */
.map-item {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 10;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.map-pin {
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

/* ホバー時のピンのアニメーション */
.map-item:hover {
	z-index: 100;
}

.map-item:hover .map-pin {
	transform: scale(1.2);
}


/* ==========================================================================
   【通常時（PC：1151px超）】ポップアップの初期状態とホバー制御
   ========================================================================== */
.popup-content {
	position: absolute;
	top: 24px;
	left: 50%;
	width: 385px;
	/* 通常サイズ */
	max-width: calc(100vw - 20px);
	background: #fff;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));

	/* 初期状態は非表示（中央基準で縮小） */
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) scale(0);
	transform-origin: top center;
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
	z-index: 100;
	pointer-events: none;
}

/* PCサイズでの各幅指定 */
.map .long-content {
	width: 770px !important;
}

.map .long-content2 {
	width: 1100px !important;
}

/* ポップアップ内の画像を綺麗に収める */
.popup-content img {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
}

/* ★丸から画像までの隙間を埋める透明なエリア */
.popup-content::before {
	content: '';
	position: absolute;
	top: -26px;
	left: 50%;
	width: 100%;
	height: 26px;
	background: transparent;
	transform: translateX(-50%);
}

/* 【通常時（PC）】ホバーした時の表示 */
.map-item:hover .popup-content {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) scale(1);
	pointer-events: auto;
}

/* ==========================================
   レスポンシブ対応（画面が狭くなった時）
   ========================================== */
@media (max-width: 768px) {

	/* ピンのタップ領域を少し広げる（スマホ対策） */
	.map-pin {
		width: 20px;
		height: 20px;
	}

	/* マップ自体が縮小するのに合わせて、ポップアップSVGも小さくする */
	.popup-content {
		width: 200px;
		/* スマホ・タブレット表示でのポップアップの横幅 */
		top: 20px;
		/* ★スマホ時も隙間に合わせて微調整 */
	}

	/* ★スマホ時も見えない橋のサイズを微調整 */
	.popup-content::before {
		top: -22px;
		height: 22px;
	}
}



#footer {
	display: block;
	margin-top: 100px;
	padding: 75px 40px;
}

#footer p.footer_logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

#footer p.footer_logo img {
	max-width: 135px;
}

#footer p.footer_logo span {
	display: inline-block;
	margin-left: 15px;
}