/* イベント出店のご依頼（/event-request/）への入口（2026-11）
   style.css は版番号なしで読み込まれていて、変えてもブラウザに古いものが残りやすいので、
   足した分はこのファイルに分け、functions.php で版番号（ファイルの更新日時）つきで全ページに読み込む */

/* トップのバナー3枚（出店・スペース・イベント） */
.bnr-main.-col3 li {
	width: calc(33.333% - 20px);
}

.bnr-main li a.bnr-event::before {
	background: url(../img/ilst-head-05.png) no-repeat center bottom;
	background-size: auto 75%; /* 横長の絵なので、ほかの2枚より少し小さく */
}

@media (max-width:960px) {
.bnr-main.-col3 li {
	width: 100%;
}
}

/* ほかのページから「キッチンカーを呼びたい方へ」に案内する枠（スペース登録・お問い合わせ） */
.entry-guide {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em 2em;
	margin-bottom: 30px;
	padding: 1.2em 1.5em;
	background: #fff;
	border: 2px solid #004785;
	border-radius: 5px;
}

.entry-guide p {
	flex: 1 1 320px;
	margin: 0 !important;
	line-height: 1.8;
}

.entry-guide__btn {
	display: inline-block;
	padding: .8em 1.6em;
	background: #004785;
	color: #fff !important;
	border-radius: 5px;
	font-weight: bold;
	text-decoration: none !important;
	white-space: nowrap;
}

.entry-guide__btn:hover {
	opacity: .8;
}

/* トップの災害支援班への入口（2026-11。前の .bnr-shienhan の黄色いボタンから置き換え）
   色は災害支援班のページ（shienhan.css）のネイビー・ライムに合わせる */
.bnr-relief {
	display: grid;
	grid-template-columns: 1fr 240px; /* 写真は右に小さく、白い余白の中に（2026-11-30 本人） */
	align-items: center;
	gap: 36px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 24px 24px;
	background: #fff;
	border-left: 6px solid #e6ed32;
	border-radius: 5px;
	color: #333 !important;
	text-decoration: none !important;
	transition: opacity .3s;
}

.bnr-relief:hover {
	opacity: .9;
}

.bnr-relief__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 5px;
}

.bnr-relief__label {
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 .8em !important;
	font-weight: bold;
	color: #0f447c;
}

.bnr-relief__label img {
	width: 44px;
	height: auto;
}

.bnr-relief__title {
	margin: 0 0 .6em !important;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.4;
	color: #0f447c;
}

.bnr-relief__text {
	margin: 0 0 1.2em !important;
	line-height: 1.8;
}

.bnr-relief__more {
	display: inline-block;
	padding: .7em 2.6em .7em 1.6em;
	background: #0f447c;
	color: #fff;
	border-radius: 2em;
	font-weight: bold;
	position: relative;
}

.bnr-relief__more::after {
	content: '';
	position: absolute;
	right: 1.2em;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}

@media (max-width:960px) {
.bnr-relief {
	max-width: 640px;
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 22px 20px;
	border-left-width: 5px;
}

.bnr-relief__photo {
	order: -1; /* スマホでは写真を上に（白い枠の中） */
}

.bnr-relief__photo img {
	aspect-ratio: auto;
	height: 150px;
}

.bnr-relief__title {
	font-size: 2rem;
}
}


.bnr-relief__title span {
	display: inline-block; /* 「つなぎます。」を途中で折らない */
}

/* スマホ：3枚のバナーの間を詰める。イラストを小さくしてカードの左に重ね、文は右側に（2026-11-30 本人） */
@media (max-width:600px) {
.bnr-main.-col3 li {
	padding-top: 34px;
	padding-bottom: 14px;
}

.bnr-main.-col3 li a {
	padding: 22px 8px 22px 40%;
	text-align: center;
}

.bnr-main.-col3 li a strong {
	font-size: min(1.1em, 3.9vw); /* 狭いスマホでは小さく（320px幅でも1行に収める） */
	white-space: nowrap; /* 「キッチンカーを呼びたい方」を折らない */
}

.bnr-main.-col3 li a::before {
	top: -34px;
	left: 6px;
	width: 38%;
	height: calc(100% + 34px);
	background-position: center bottom 12px;
}

.bnr-main.-col3 li a.bnr-event::before {
	background-size: contain;
}
}


/* 1列の流れ（イベント出店のご依頼・スペース登録の「流れ」。2026-11-30 本人。左に箱・右に説明の2列だと間延びするため）
   白いカードに番号・見出し・説明を縦に並べ、カードの間に下向きの矢印 */
.flow-1col { counter-reset: flow-step; max-width: 680px; margin: 0 auto; padding: 0; list-style: none; }
.flow-1col li { position: relative; display: grid; grid-template-columns: 2.6em 1fr; column-gap: 1em; align-items: start; margin-bottom: 34px; padding: 20px 24px; background: #fff; border-radius: 5px; }
.flow-1col li:last-child { margin-bottom: 0; }
.flow-1col li::before { counter-increment: flow-step; content: counter(flow-step); grid-row: 1 / 3; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #004785; color: #fff; font-weight: bold; }
.flow-1col li:not(:last-child)::after { content: ''; position: absolute; left: 50%; bottom: -24px; width: 12px; height: 12px; margin-left: -6px; border-right: 2px solid #004785; border-bottom: 2px solid #004785; transform: rotate(45deg); }
.flow-1col h4 { margin: .2em 0 .3em; color: #004785; font-size: 1.8rem; }
.flow-1col h4 br { display: none; } /* 前の箱用の改行は使わない */
.flow-1col div p { margin: 0; line-height: 1.8; }
.flow-1col div p + p { margin-top: .3em; }

/* スペース登録：番号はスペースの黄色、イラストを右端に小さく（ヒアリングの人物・営業のキッチンカー） */
.flow-1col.-space li::before { background: #fbcc02; color: #004785; }
.flow-1col.-space li.space-nagare02,
.flow-1col.-space li.space-nagare04 { grid-template-columns: 2.6em 1fr 90px; }
.flow-1col.-space li.space-nagare02 h4,
.flow-1col.-space li.space-nagare04 h4 { grid-column: 2; }
.flow-1col.-space li.space-nagare02 div,
.flow-1col.-space li.space-nagare04 div { grid-column: 2; }
.flow-1col.-space .flow-ilst { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 90px; height: 70px; background: no-repeat center / contain; }

@media (max-width:600px) {
.flow-1col li { padding: 16px; column-gap: .8em; }
.flow-1col h4 { font-size: 1.6rem; }
.flow-1col.-space li.space-nagare02,
.flow-1col.-space li.space-nagare04 { grid-template-columns: 2.6em 1fr; }
.flow-1col.-space .flow-ilst { display: none; } /* スマホでは文の幅を優先してイラストを出さない */
}

/* 流れの下の一言（イベント出店のご依頼。2026-11-30 村上さん） */
.flow-1col-note { max-width: 680px; margin: 24px auto 0 !important; line-height: 1.8; text-wrap: pretty; } /* 最後の1語だけが次の行に落ちないように */
