@charset "UTF-8";

/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ
Version: 1.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   ここから下に現在のCSS
======================================== */
/* ========================================
   盗難・紛失楽器一覧
======================================== */

.lost-instrument-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 50px 20px !important;
	width: 100% !important;
	margin-top: 30px !important;
}

.lost-instrument-card {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.lost-instrument-card__link {
	display: block !important;
	width: 100% !important;
	color: inherit !important;
	text-decoration: none !important;
}

.lost-instrument-card__thumb {
	position: relative;
	width: 100% !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f2f3f4;
}

.lost-instrument-card__image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.lost-instrument-card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background: #f3f4f4;
	color: #777;
	font-size: 14px;
}

.lost-instrument-card__badges {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lost-instrument-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 4px 10px;
	border-radius: 999px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.lost-instrument-badge--incident {
	background: #b84343;
}

.lost-instrument-badge--status {
	background: #36725c;
}

.lost-instrument-card__body {
	display: block !important;
	padding: 14px 0 0 !important;
}

.lost-instrument-card__title {
	display: block !important;
	min-height: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 8px 10px !important;
	border-bottom: 1px solid #dfe4e7;
	color: #222 !important;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
}

.lost-instrument-card__title::after {
	content: "";
	display: block;
	width: 90px;
	height: 2px;
	margin-top: 10px;
	margin-bottom: -11px;
	background: #59bda7;
}

.lost-instrument-card__details {
	margin: 0 !important;
	color: #222 !important;
}

.lost-instrument-card__row {
	display: grid !important;
	grid-template-columns: 90px minmax(0, 1fr) !important;
	gap: 10px;
	padding: 9px 8px !important;
	border-bottom: 1px solid #e5e8ea;
}

.lost-instrument-card__row dt {
	margin: 0;
	color: #3c464b !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
}

.lost-instrument-card__row dd {
	min-width: 0;
	margin: 0;
	color: #222 !important;
	font-size: 13px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

/* ========================================
   詳細を見るボタン：全端末で表示
======================================== */

.lost-instrument-card__footer {
	display: block !important;
	margin-top: 14px;
}

.lost-instrument-card__button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 9px 15px;

	background: #59bfae;
	color: #fff !important;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;

	text-align: center;
	text-decoration: none !important;
	border-radius: 5px;
}

.lost-instrument-card__button:hover {
	color: #fff !important;
	opacity: 0.8;
}

/* ========================================
   アーカイブをワイド表示
======================================== */

.post-type-archive-lost_instrument .l-container,
.post-type-archive-lost_instrument .l-mainContent {
	width: 100% !important;
	max-width: none !important;
}

.post-type-archive-lost_instrument .l-sidebar {
	display: none !important;
}


/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 959px) {

	.lost-instrument-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 30px 14px !important;
	}

	.lost-instrument-card__title {
		font-size: 16px !important;
	}
}


/* ========================================
   スマホ
   ※今回はまず元に戻すことを優先
======================================== */

@media screen and (max-width: 600px) {

.lost-instrument-card__title {
		font-size: 14px !important;
	}

	.lost-instrument-card__row {
		display: block !important;
		padding: 6px 2px !important;
	}

	.lost-instrument-card__row dt {
		margin-bottom: 2px;
		font-size: 11px !important;
	}

	.lost-instrument-card__row dd {
		font-size: 11px !important;
	}
}
/* ========================================
   盗難・紛失楽器 個別ページ
======================================== */

.lost-instrument-single {
	max-width: 900px;
	margin: 0 auto;
}

.lost-instrument-single__header {
	margin-bottom: 28px;
}

.lost-instrument-single__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.lost-instrument-single__title {
	margin: 0;
	font-size: 32px;
	line-height: 1.45;
}

.lost-instrument-single__instrument {
	margin: 10px 0 0;
	color: #456557;
	font-size: 16px;
	font-weight: 700;
}


/* ========================================
   メイン画像
======================================== */

.lost-instrument-single__main-image {
	margin-bottom: 34px;
	overflow: hidden;
	border-radius: 10px;
	background: #f2f3f4;
}

.lost-instrument-single__image {
	display: block;
	width: 100%;
	height: auto;
}


/* 写真がない場合 */
.lost-instrument-single__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	margin-bottom: 34px;
	padding: 24px;
	background: #f5f6f6;
	border: 1px solid #dfe4e7;
	border-radius: 10px;
	color: #666;
	font-weight: 700;
	text-align: center;
}


/* ========================================
   セクション
======================================== */

.lost-instrument-single__summary,
.lost-instrument-single__content {
	margin-top: 36px;
}

.lost-instrument-single__section-title {
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid #36725c;
	font-size: 24px;
	line-height: 1.5;
}


/* ========================================
   楽器情報・発生情報
======================================== */

.lost-instrument-single__details {
	margin: 0;
	border-top: 1px solid #dfe4e7;
}

.lost-instrument-single__row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	border-bottom: 1px solid #dfe4e7;
}

.lost-instrument-single__row dt,
.lost-instrument-single__row dd {
	margin: 0;
	padding: 14px 16px;
	line-height: 1.7;
}

.lost-instrument-single__row dt {
	background: #f5f7f6;
	font-weight: 700;
}

.lost-instrument-single__row dd {
	background: #fff;
}


/* ========================================
   詳しい状況・情報
======================================== */

.lost-instrument-single__content-body {
	padding: 22px 24px;
	background: #f7f9f8;
	border: 1px solid #dfe6e2;
	border-radius: 8px;
	line-height: 1.9;
}

.lost-instrument-single__content-body > *:first-child {
	margin-top: 0;
}

.lost-instrument-single__content-body > *:last-child {
	margin-bottom: 0;
}


/* ========================================
   一覧へ戻る
======================================== */

.lost-instrument-single__back {
	margin-top: 42px;
	text-align: center;
}

.lost-instrument-single__back a {
	display: inline-block;
	padding: 12px 24px;
	border: 1px solid #36725c;
	border-radius: 6px;
	color: #36725c;
	font-weight: 700;
	text-decoration: none;
}

.lost-instrument-single__back a:hover {
	background: #36725c;
	color: #fff;
}


/* ========================================
   目撃・情報提供エリア
======================================== */

.lost-instrument-contact-box {
	margin-top: 42px;
	padding: 28px 30px;
	background: #f2f8f5;
	border: 1px solid #cddfd6;
	border-radius: 10px;
	text-align: center;
}

.lost-instrument-contact-box__title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.5;
}

.lost-instrument-contact-box__text {
	max-width: 680px;
	margin: 0 auto 20px;
	line-height: 1.9;
}

.lost-instrument-contact-box__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 30px;
	background: #36725c;
	border: 2px solid #36725c;
	border-radius: 7px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none !important;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}

.lost-instrument-contact-box__button:hover {
	background: #fff;
	color: #36725c !important;
}


/* ========================================
   解決済み表示
======================================== */

.lost-instrument-resolved-message {
	margin-top: 42px;
	padding: 22px 24px;
	background: #eef7f1;
	border: 1px solid #bfd8c7;
	border-radius: 8px;
	color: #285e44;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}


/* ========================================
   個別ページ スマートフォン
======================================== */

@media screen and (max-width: 600px) {

	.lost-instrument-single {
		width: 100%;
	}

	.lost-instrument-single__title {
		font-size: 25px;
	}

	.lost-instrument-single__section-title {
		font-size: 21px;
	}

	.lost-instrument-single__row {
		grid-template-columns: 125px minmax(0, 1fr);
	}

	.lost-instrument-single__row dt,
	.lost-instrument-single__row dd {
		padding: 12px 10px;
		font-size: 14px;
	}

	.lost-instrument-single__row dt {
		white-space: nowrap;
	}

	.lost-instrument-single__content-body {
		padding: 17px 15px;
	}

	.lost-instrument-single__noimage {
		min-height: 220px;
	}

	.lost-instrument-contact-box {
		padding: 22px 16px;
	}

	.lost-instrument-contact-box__title {
		font-size: 19px;
	}

	.lost-instrument-contact-box__button {
		width: 100%;
		padding: 12px 15px;
		font-size: 15px;
	}
}


/* ========================================
   スマホ：一覧カードを見やすく調整
======================================== */

@media screen and (max-width: 600px) {

	/* カード同士の間隔を広げる */
	.post-type-archive-lost_instrument .lost-instrument-grid {
		row-gap: 42px !important;
	}
}
/* ========================================
   ページネーション：全端末共通
======================================== */

.post-type-archive-lost_instrument .lost-instrument-pagination {
	margin: 40px 0 30px !important;
	text-align: center !important;
}

.post-type-archive-lost_instrument .lost-instrument-pagination .nav-links {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 7px !important;
}

/* 1・2・3など */
.post-type-archive-lost_instrument .lost-instrument-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: auto !important;
	min-width: 38px !important;
	height: 38px !important;

	margin: 0 !important;
	padding: 0 11px !important;

	font-size: 14px !important;
	line-height: 1 !important;

	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;

	color: #555 !important;
	text-decoration: none !important;
}

/* 現在のページ */
.post-type-archive-lost_instrument .lost-instrument-pagination .page-numbers.current {
	background: #59bfae !important;
	border-color: #59bfae !important;
	color: #fff !important;
}

/* 前へ・次へ */
.post-type-archive-lost_instrument .lost-instrument-pagination .prev,
.post-type-archive-lost_instrument .lost-instrument-pagination .next {
	width: auto !important;
	min-width: auto !important;
	padding: 0 14px !important;
}
/* この楽器の情報を提供するボタンを強調 */
.lost-info-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 280px;
	min-height: 58px;
	padding: 15px 32px;

	background: #f28c28 !important;
	color: #fff !important;

	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;

	border-radius: 7px;
	text-decoration: none !important;

	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
	transition: 0.2s;
}

.lost-info-button:hover {
	background: #dc7415 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* スマホ */
@media (max-width: 600px) {
	.lost-info-button {
		width: 100%;
		min-width: 0;
		min-height: 56px;
		font-size: 16px;
		padding: 14px 20px;
	}
}
/* 情報提供ボタンをオレンジで強調 */
.lost-instrument-contact-box:first-of-type .lost-instrument-contact-box__button {
	background: #f28c28 !important;
	border-color: #f28c28 !important;
	color: #fff !important;

	min-width: 280px;
	min-height: 58px;
	padding: 15px 32px;

	font-size: 17px !important;
	font-weight: 700;

	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.lost-instrument-contact-box:first-of-type .lost-instrument-contact-box__button:hover {
	background: #dc7415 !important;
	border-color: #dc7415 !important;
	color: #fff !important;
}


/* ------------------------------------------------------------
   スマホのメインビジュアル余白調整（2026-08-17）

   メインビジュアルの高さは背景画像の縦横比で決まり（610px前後）、
   中身は上下中央に配置される。ヘッダーが80pxあるため、
   そのままだとBRASS FINDERのマークがヘッダーロゴに近づきすぎ、
   逆に検索ボタンの下が余っていた。

   中身全体を下へずらして、上を広げ・下を詰めている。
   マークとカードの間隔も少し詰めて、その分の余白を上下に回した。
   数値を変えるときは、上下の余白の合計が決まっている点に注意。
   ------------------------------------------------------------ */
@media (max-width: 767px) {

	/* 中身を下へずらす（上の余白が増え、その分だけ下が詰まる） */
	.p-mainVisual__textLayer {
		padding-top: 84px;
	}

	/* マークと検索カードの間隔（既定40px）。追加CSS側の指定を上書きする */
	.p-mainVisual .vk-filter-search {
		margin-top: 20px !important;
	}
}



/* ページ送り：検索結果ページにも同じ見た目を適用 */
.lost-instrument-pagination {
	margin: 40px 0 30px !important;
	text-align: center !important;
}

.lost-instrument-pagination .nav-links {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 7px !important;
}

.lost-instrument-pagination .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 38px !important;
	height: 38px !important;
	margin: 0 !important;
	padding: 0 11px !important;
	font-size: 14px !important;
	line-height: 1 !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	color: #555 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.lost-instrument-pagination .page-numbers.current {
	background: #59bfae !important;
	border-color: #59bfae !important;
	color: #fff !important;
}

.lost-instrument-pagination .prev,
.lost-instrument-pagination .next {
	width: auto !important;
	min-width: auto !important;
	padding: 0 14px !important;
}