/* ==========================================================================
   Shurijo Castle — Front-page campaign microsite
   Ported 1:1 from the original static site (lp_html/shurijo).
   Shared primitives (.sp/.pc, .sec-inner, .btn-lp, .bg2-title, body base
   theme) now live in style.css so every template shares them — this file
   only holds rules specific to the front-page sections below.
   ========================================================================== */

@media (max-width: 768px) {
	.front-page .sec-inner.award-inner {
		padding-bottom: 27vw;
		padding-top: 16vw;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.front-page .sec-hero {
	position: relative;
	min-height: 720px;
	background: url(../images/bg1.webp) center top / cover no-repeat;
	overflow: hidden;
}

@media (max-width: 480px) {
	.front-page .sec-hero {
		background: url(../images/bg1-sp.png) center 60px / 100% no-repeat;
		background-color: #350002;
	}
}

.front-page .hero-banner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 3;
	background: rgba(10, 10, 10, 0.8);
	padding: 90px 30px 25px;
	text-align: center;
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.front-page .hero-banner__text {
    margin: 0;
	font-size: clamp(15px, 3.5vw, 23px);
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.4;
}

@media (max-width: 480px) {
	.front-page .hero-banner__text {
		font-size: 3.4vw;
	}
}

.front-page .hero-wrap {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 190px 24px 96px;
}

.front-page .hero-img-title {
	width: min(900px, 76%);
	margin: 0 auto 14px;
}

.hero-img-en {
	width: min(740px, 90%);
	margin: 0 auto 30px;
}

.front-page .hero-title-text {
	margin: 0 auto 14px;
	color: #ffffff;
	font-family: "Zen Old Mincho", "Noto Serif JP", serif;
	font-weight: 600;
	font-size: clamp(50px, 11.5vw, 167px);
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5);
	font-feature-settings: "palt" 1;
}

.front-page .hero-title-text__line {
	position: relative;
	display: table;
	margin-left: auto;
	margin-right: auto;
}

.front-page .hero-title-text__reading {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 0.14em;
	font-weight: 400;
	letter-spacing: normal;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.front-page .hero-subtitle-text {
	margin: 40px auto 30px;
	color: #ffffff;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(13px, 2.8vw, 40px);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7), 0 1px 20px rgba(0, 0, 0, 0.45);
}

html:not([lang=ja]):not([lang=auto]) .front-page .hero-title-text__reading,
html:not([lang=ja]):not([lang=auto]) .front-page .award-title-reading {
	display: none;
}

html[lang=en] .front-page .hero-title-text,
html[lang=fr] .front-page .hero-title-text {
	font-size: clamp(30px, 7vw, 110px);
}

html:not([lang=ja]) .lang-hide {
	display: none;
}

@media (max-width: 1024px) {
	.front-page .hero-wrap {
		padding-top: 19vw;
	}

	.front-page .hero-img-title {
		width: 60vw;
	}

	.hero-img-en {
		width: 50vw;
	}
}

@media (max-width: 768px) {
	.front-page .hero-wrap {
		padding-top: 30vw;
	}
}

@media (max-width: 480px) {
	.front-page .hero-wrap {
		padding-top: 36vw;
	}

	html[lang="en"] .front-page .hero-wrap {
		padding-top: 42vw;
	}

	html[lang="fr"] .front-page .hero-wrap {
		padding-top: 44vw;
	}

	html[lang="en"] .front-page .lead-wrap, html[lang="fr"] .front-page .lead-wrap {
		margin-top: 0;
	}

	.front-page .hero-img-title {
		width: 77vw;
		margin: 0 auto -2vw;
	}

	.hero-img-en {
		width: 64vw;
	}

	.front-page .hero-title-text__line {
		text-shadow: 0 4px 10px rgba(0, 0, 0, 0.85), 0 1px 13px rgba(0, 0, 0, 0.7);
	}
	.front-page .hero-subtitle-text {
		text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 1px 7px rgba(0, 0, 0, 0.8);
	}
}

/* ── Lead text inside hero ── */

.front-page .lead-wrap {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 1160px;
	margin: 23% auto 21%;
	padding: 60px 24px 80px;
}

.front-page .lead-year-text {
	max-width: min(1100px, 95%);
	margin: 0 auto 42px;
	color: #ffffff;
	font-family: "Zen Old Mincho", "Noto Serif JP", serif;
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

.front-page .lead-body {
	font-size: clamp(18px, 1.3vw, 22px);
	line-height: 2;
	margin: 0 auto 16%;
	letter-spacing: 0.04em;
	font-family: "Zen Old Mincho", "Noto Serif JP", serif;
}

@media (max-width: 768px) {
	.front-page .hero-banner {
		padding-bottom: 12px;
	}
	.front-page .lead-body {
		font-size: 1.8vw;
	}

	.front-page .lead-wrap {
		padding-left: 6vw;
		padding-right: 6vw;
		margin-top: 40%;
	}

	.front-page .lead-year-text {
		font-size: 6vw;
	}

	.front-page .hero-subtitle-text {
		margin: 10px 0 10px;
	}
}

@media (max-width: 480px) {

	.front-page .lead-body {
		font-size: 3.35vw;
	}

	.front-page .lead-wrap {
		margin-top: 9%;
	}
}

/* ── News box ── */

.front-page .news-box-container {
	position: relative;
}

.front-page .news-box-container::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 2px;
	height: 80%;
	background: rgba(255, 255, 255, 0.5);
}

.front-page .news-box-container::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 2px;
	height: 80%;
	background: rgba(255, 255, 255, 0.5);
}

.front-page .news-box {
	position: relative;
	margin: 0 auto;
	padding: 50px 12%;
	background: transparent;
	font-family: "Noto Sans JP", sans-serif;
}

.front-page .news-box::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
}

.front-page .news-box::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 70%;
	height: 2px;
	background: rgba(255, 255, 255, 0.5);
}

.front-page .news-head {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin-bottom: 20px;
	text-align: center;
}

.front-page .news-list {
	list-style: none;
}

.front-page .news-list li {
	display: flex;
	align-items: baseline;
	gap: 28px;
	padding: 10px 0;
	font-size: 17px;
	text-align: left;
}

.front-page .news-date {
	flex-shrink: 0;
	letter-spacing: 0.05em;
	font-size: 95%;
}

.front-page .news-link-item {
	color: #fff;
	transition: color 0.3s, opacity 0.3s;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.front-page .news-link-item:hover {
	color: #4ecfc8;
	opacity: 1;
}

.front-page .news-btn-wrap {
	text-align: center;
	margin-top: 60px;
}

@media (max-width: 480px) {
	.front-page .news-btn-wrap {
		margin-top: 10vw;
	}

	.front-page .news-head {
		font-size: 5vw;
		margin-bottom: 1vw;
	}

	.front-page .news-box-container::before,
	.front-page .news-box-container::after {
		height: 40%;
	}

	.front-page .news-box {
		padding: 7vw 6vw;
	}

	.front-page .news-list li {
		flex-direction: column;
		gap: 0;
		font-size: 3.6vw;
	}

	.front-page .news-date {
		font-size: 3vw;
	}
}

/* ── Cloud decoration (top of schedule section) ── */

.front-page .cloud-img {
	width: 100%;
	display: block;
	position: relative;
	z-index: 1;
	transform: translateY(-52%);
	margin-bottom: -25.06%; /* cloud.webp is 2880×1328: 1328/2880 × 50% */
}

@media (max-width: 480px) {
	.front-page .cloud-img {
		margin-bottom: -27.87%; /* cloud-sp.png is 750×388: 388/750 × 50% */
	}
}

/* ==========================================================================
   bg2-wrap — shared background for schedule → archive → footer
   ========================================================================== */

.bg2-wrap.front-page {
	/* background: url(../images/bg2.jpg) center top / cover no-repeat; */
	position: relative;
	z-index: 0;
	/* background-image:
			linear-gradient(
			to bottom,
			#020202 0%,
			#003538 25%,
			#07686E 50%,
			#168EA7 75%,
			#48AAC3 88%,
			#6CBDD0 100%
		); */


	background-image:
			linear-gradient(
			to bottom,
			#020404 0%,
			#012C32 25%,
			#004C58 30%,
			#166F85 65%,
			#3D89AE 100%
	);
	background-position: center top;
	background-size: auto;
	background-repeat: repeat;
}

.bg2-wrap.front-page::before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	background-image: url(../images/bg-overlay.png);
	background-position: center top;
	background-size: 7.5%;
	background-repeat: repeat;
	z-index: -1;
	mix-blend-mode: overlay;
	pointer-events: none;
	opacity: 0.9;
}

.bg2-wrap.front-page::after {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	background-image: linear-gradient(to bottom, #020202 0%, transparent 100%);
	z-index: -1;
	pointer-events: none;
}


@media (max-width: 767px) {
	.bg2-wrap.front-page {
		/* background: url(../images/bg2-sp.jpg) center top / cover no-repeat; */
		background-image:
				linear-gradient(
				to bottom,
				#020201 0%,
				#01262C 25%,
				#005967 30%,
				#1A718A 45%,
				#3281A2 65%,
				#4B92BC 100%
		);
	}

	.bg2-wrap.front-page::before {
		background-size: 18%;
	}
}

/* ── Table 2: 関係機関の主な取組（主体ごとの org-block） ── */

.front-page .sch-title--2 {
	margin-top: 72px;
}

.front-page .sch-title--2 + .org-block {
	margin-top: 55px;
}

.front-page .org-block {
	margin-top: 70px;
}

.front-page .org-header {
	border: 2px solid rgba(255, 255, 255, 0.8);
	text-align: center;
	padding: 8px 20px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #fff;
	margin-bottom: 0;
	font-size: 20px;
}

.front-page .org-table {
	width: 100%;
	border-collapse: collapse;
}

.front-page .org-table th {
	padding: 20px 16px 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-bottom: 2px solid rgba(255, 255, 255, 0.8);
	text-align: left;
	width: 50%;
	font-size: 20px;
}

.front-page .org-table th:first-child {
	border-left: none;
	padding-left: 0 !important;
}

.front-page .org-table th:last-child {
	padding-right: 0;
}

.front-page .org-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	line-height: 1.6;
	vertical-align: top;
	font-size: 16px;
	letter-spacing: 0.08em;
}

.front-page .org-table td:first-child {
	border-left: none;
	padding-left: 0;
}

.front-page .org-table td:last-child {
	padding-right: 0;
}

/* highlighted date span */
.front-page .org-table .d {
	color: #23afa1;
	display: inline-block;
}

@media (max-width: 480px) {
	.front-page .org-block {
		margin-top: 14vw;
	}

	.front-page .org-table th {
		font-size: 3.6vw;
		padding-top: 2.6vw;
		padding-bottom: 2.5vw;
		padding-left: 10px;
		padding-right: 10px;
	}

	.front-page .org-header {
		font-size: 3.6vw;
		padding-top: 2.5vw;
		padding-bottom: 2.5vw;
	}

	.front-page .sch-title--2 + .org-block {
		margin-top: 3vw;
	}

	.front-page .org-table td {
		font-size: 3.1vw;
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* ==========================================================================
   Award
   ========================================================================== */

.front-page .sec-award {
	position: relative;
}

.front-page .award-inner {
	position: relative;
	padding-top: 160px;
	padding-bottom: 160px;
}

.front-page .sec-award::before {
	content: "";
	display: block;
	background: url(../images/cloud-right.png) no-repeat top center / 100%;
	width: 700px;
	height: 350px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.front-page .sec-award::after {
	content: "";
	display: block;
	background: url(../images/cloud-left.png) no-repeat top center / 100%;
	width: 800px;
	height: 500px;
	position: absolute;
	left: 0;
	bottom: -0.7%;
}

.front-page .award-card {
	background: rgba(0, 55, 55, 0.75);
	border: 2px solid rgba(255, 255, 255, 0.5);
	overflow: hidden;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 70px;
}

.front-page .award-card:last-child {
	margin-bottom: 0;
	position: relative;
	z-index: 1;
}

.front-page .award-card-img {
	display: block;
	width: 68%;
	max-width: 600px;
	margin: 0 auto;
}

/* Real text replacing award1.png/award1-sp.png. The main title is one
   plain text node (not fragmented into per-character spans) — the
   per-word readings are separate, absolutely positioned spans instead, so
   nothing here breaks the sentence Google Translate reads (same approach
   as .hero-title-text, since it's the exact same phrase). */
.front-page .award-title-block {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}

/* Leaves live in here (not .award-title-block) so they center against
   just the heading's own height — award1.png also has .award-title-main
   below the heading, and centering against the WHOLE block (heading +
   tagline) put the leaves too low, no longer level with the heading. */
.front-page .award-title-head-row {
	position: relative;
}

/* award2.png has no tagline below the heading (unlike award1.png), so it
   doesn't need the same bottom padding reserved for .award-title-main. */
.front-page .award-title-block--compact {
	padding-bottom: 20px;
}

.front-page .award-title-leaf {
	/* top:50% + translateY(-50%) instead of a fixed top:0 — translated
	   text (GTranslate) can wrap onto more/fewer lines than the Japanese
	   original, changing .award-title-block's height, so the leaves need
	   to stay centered against however tall the text ends up being rather
	   than pinned to the block's top edge. */
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: auto;
	height: 135px;
}

.front-page .award-title-leaf--left {
	left: 0;
}

.front-page .award-title-leaf--right {
	right: 0;
}

.front-page .award-title-heading {
	color: #fff;
	font-weight: 700;
	font-size: clamp(17px, 4vw, 28px);
	letter-spacing: 0.1em;
	line-height: 1.6;
	padding-left: 60px;
	padding-right: 60px;
}

.front-page .award-title-main {
	position: relative;
	display: inline-block;
	margin-top: 100px;
	color: #fff;
	font-weight: 700;
	font-size: clamp(26px, 4.4vw, 46px);
	letter-spacing: 0.05em;
	line-height: 1.5;
}

.front-page .award-title-reading {
	position: absolute;
	top: -0.5em;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 0.25em;
	font-weight: 400;
	letter-spacing: normal;
}

@media (max-width: 767px) {
	.front-page .award-title-block {
		padding: 4vw 0;
	}

	.front-page .award-title-leaf {
		height: 19vw;
	}

	.front-page .award-title-leaf--left {
		left: 5vw;
	}

	.front-page .award-title-leaf--right {
		right: 5vw;
	}

	.front-page .award-title-main {
		margin-top: 9vw;
		padding-left: 3.3vw;
		padding-right: 3.3vw;
	}
	.front-page .award-title-heading{
		padding-left: 13vw;
		padding-right: 13vw;
	}
}

.front-page .award-card-body {
	padding: 40px 90px 80px;
}

.front-page .award-author {
	letter-spacing: 0.1em;
	text-align: right;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.85);
	margin-bottom: 36px;
}

.front-page .award-author--left {
	text-align: left;
}

.front-page .award-author span {
	font-size: 120%;
}

.front-page .award-text-block {
	margin-bottom: 30px;
}

.front-page .award-text-block:last-child {
	margin-bottom: 0;
}

.front-page .award-text-block p:last-child {
	line-height: 1.95;
}

.front-page .award-logo-row {
	display: flex;
	gap: 50px;
	align-items: flex-start;
}

.front-page .award-logo-col {
	flex: 0 0 160px;
	width: 250px;
}

.front-page .award-logo-img {
	width: 100%;
	object-fit: contain;
	background: #fff;
	padding: 8px;
}

.front-page .award-logo-note {
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
}

.front-page .award-logo-right {
	flex: 1;
}

@media (max-width: 1024px) {
	.front-page .sec-award::before {
		width: 56vw;
	}

	.front-page .sec-award::after {
		width: 56vw;
		bottom: -14vw;
	}
}

@media (max-width: 768px) {
	.front-page .sec-award::before {
		top: 0;
	}

	.front-page .sec-award::after {
		bottom: -2vw;
		height: 300px;
	}

	.front-page .award-card-body {
		padding: 28px 5vw 36px;
	}

	.front-page .award-logo-row {
		flex-direction: column;
		gap: 24px;
	}

	.front-page .award-logo-col {
		flex: none;
		width: 45vw;
		margin: 0 auto;
	}

	.front-page .award-card-img {
		width: 85%;
	}
}

@media (max-width: 480px) {
	.front-page .sec-award::after {
		width: 67vw;
		height: 260px;
		bottom: -15vw;
	}

	.front-page .award-text-block {
		font-size: 3.4vw;
	}

	.front-page .award-card {
		padding-top: 50px;
	}
}

/* ==========================================================================
   応援事業募集 (ouen)
   ========================================================================== */

.front-page .ouen-inner {
	padding-top: 60px;
	padding-bottom: 80px;
}

.front-page .ouen-title {
	display: table;
	margin: 0 auto 36px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	letter-spacing: 0.18em;
	color: #fff;
	padding: 18px 0 6px;
	border-bottom: 2px solid #fff;
}

.front-page .ouen-box {
	border: 2px solid rgba(255, 255, 255, 0.3);
	padding: 48px 80px;
}

.front-page .ouen-block {
	margin-bottom: 28px;
}

.front-page .ouen-block:last-of-type {
	margin-bottom: 0;
}

.front-page .ouen-num {
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.06em;
}

.front-page .ouen-sub-head {
	font-weight: 700;
	font-size: 14px;
	margin-top: 16px;
	margin-bottom: 4px;
	color: rgba(255, 255, 255, 0.9);
}

.front-page .ouen-block p:not(.ouen-num):not(.ouen-sub-head) {
	font-size: 16px;
	line-height: 1.6;
}

.front-page .ouen-block a {
	text-decoration: underline;
}

.front-page .ouen-btn-wrap {
	text-align: center;
	margin-top: 44px;
}

@media (max-width: 768px) {
	.front-page .ouen-box {
		padding: 28px 5vw 36px;
	}
}

@media (max-width: 480px) {
	.front-page .ouen-title {
		font-size: 4.6vw;
		padding-bottom: 1vw;
	}

	.front-page .ouen-num,
	.front-page .ouen-block p:not(.ouen-num):not(.ouen-sub-head) {
		font-size: 3.6vw;
	}
}

/* ==========================================================================
   広報素材ダウンロード
   ========================================================================== */

.front-page .download-inner {
	text-align: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.front-page .faq-inner {
	padding-top: 60px;
	padding-bottom: 80px;
}

.front-page .faq-list {
	display: flex;
	flex-direction: column;
}

.front-page .faq-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding: 24px 0;
}

.front-page .faq-item:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.front-page .faq-q,
.front-page .faq-a {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	line-height: 1.85;
}

.front-page .faq-q span:last-child {
	font-size: 18px;
}

.front-page .faq-a span:last-child {
	font-size: 16px;
}

.front-page .faq-q {
	font-weight: 700;
	margin-bottom: 13px;
}

.front-page .faq-lbl {
	flex-shrink: 0;
	font-weight: 700;
	width: 28px;
	color: #fff;
	font-size: 19px;
	line-height: 1.5;
}

.front-page .faq-category {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin-top: 40px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	letter-spacing: 0.08em;
}

.front-page .note-text {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
	.front-page .ouen-inner ,
	.contact-inner {
		padding-top: 0;
		padding-bottom: 0;
	}

	.front-page .sec-faq .bg2-title{
		margin-top: 0;
	}
}
@media (max-width: 480px) {
	.front-page .faq-a span:last-child {
		font-size: 3.4vw;
	}

	.front-page .faq-q span:last-child {
		font-size: 3.6vw;
	}

	.front-page .faq-category {
		font-size: 4.2vw;
		margin-top: 8vw;
		margin-bottom: 4vw;
		padding-bottom: 2.5vw;
	}
}

/* 各種お問い合わせ and 開催記録アーカイブ now render from footer.php on every
   template (not just the front page), so their styling moved to the
   unscoped rules in header-footer.css alongside the rest of the footer. */
