@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');

.idx-visual-wrap {
	position: relative;
}

.idx-visual-wrap img.bg {
	width: 100%;
}

.idx-visual-wrap img.bg.pc {
	display: block;
}

.idx-visual-wrap img.bg.m {
	display: none;
}

.idx-visual-wrap .event-info {
	position: absolute;
	bottom: 70px;
	left: 50%;
	width: 1200px;
	margin-left: -600px;
}

.idx-visual-wrap .event-info img {
	display: block;
	width: 890px;
	margin: 0 auto;
}

.idx-visual-wrap .event-info .text {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top: 40px;
}

.idx-visual-wrap .event-info .text > div {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 3rem;
	font-weight: 800;
	color: #fff;
}

.idx-visual-wrap .event-info .text > div:first-child {
	padding-left: 40px;
	padding-right: 40px;
	margin-right: 60px;
	background: #fff;
	color: #002EA4;
}

.countdown-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 44px 0 32px 0;
	background: #0a33cc;
}

.countdown-wrap .countdown {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
}

.countdown-wrap .time-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: "Teko", sans-serif;
}

.countdown-wrap .time-box .num {
	display: block;
	width: 90px;
	height: 86px;
	border-radius: 10px;
	background: #fff;
	line-height: 1;
	text-align: center;
	font-family: "Teko", sans-serif;
	font-size: 10rem;
	color: #000;
	cursor: default;
}

.countdown-wrap .time-box #cd-days {
	width: auto;
	padding-left: 12px;
	padding-right: 12px;
}

.countdown-wrap .time-box .label {
	margin-top: 8px;
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: 1px;
	color: #fff;
}

.countdown-wrap .colon {
	font-size: 4rem;
	font-weight: 600;
	line-height: 1;
	margin-top: -36px;
	font-family: "Teko", sans-serif;
}

.menu-wrap {
  max-width: 1200px;
  margin: 50px auto 0 auto;
}

.menu-wrap .menu-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-wrap .menu-item {
  flex: 1;
  text-align: center;
}

.menu-wrap .menu-item a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 10px;
  text-decoration: none;
  overflow: hidden;
}

.menu-wrap .menu-item a::before {
  content: '';
  position: absolute;
  top: 76px;
  left: 50%;
  width: 150px;
  height: 150px;
  background-color: #3f63ff;
  border-radius: 50%;
  transform: translate(-180%, -50%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.menu-wrap .menu-item .icon {
  position: relative;
  z-index: 1;
}

.menu-wrap .menu-item .text {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  transition: color 0.35s ease;
}

.menu-wrap .menu-item a:hover::before,
.menu-wrap .menu-item.active a::before {
  transform: translate(-50%, -50%);
}

.menu-wrap .menu-item a:hover .text,
.menu-wrap .menu-item.active a .text {
  color: #3f63ff;
}

.line-bg {
	padding-top: 50px;
	background: url("/img/index/line-bg.png") no-repeat 50% 0 /100%;
}

.gunsantour-link {
	width: 1200px;
	margin: 0 auto;
}

.gunsantour-link img {
	width: 100%;
	border-radius: 10px 10px 0 0;
}

.gunsantour-link img.pc {
	display: block;
}

.gunsantour-link img.m {
	display: none;
}

.info-section {
	padding: 60px 0;
}

.info-wrap {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 24px;
}

.info-wrap .info-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 26px 26px 56px;
	border-radius: 14px;
	color: #ffffff;
}

.info-wrap .info-card.notice {
	position: relative;
	flex: 2;
	background: #232323;
}

.info-wrap .info-card.contact {
	background: #182A88 url("/img/index/contact-icon.png") no-repeat 82% 85% /121px;
}

.info-wrap .info-card.account {
	background: #4f63f5 url("/img/index/account-icon.png") no-repeat 82% 85% /145px;
}

.info-wrap .info-card.contact p,
.info-wrap .info-card.account p {
	font-weight: 700;
}

.info-wrap .card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.info-wrap .card-header h3 {
	margin: 0;
	font-size: 2.4rem;
	font-weight: 600;
}

.info-wrap .btn-more {
	position: relative;
	width: 24px;
	height: 24px;
	display: inline-block;
	text-decoration: none;
}

.info-wrap .btn-more::before,
.info-wrap .btn-more::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 4px;
	background: #fff;
	transform: translate(-50%, -50%);
}

.info-wrap .btn-more::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.info-wrap .btn-more:hover::before,
.info-wrap .btn-more:hover::after,
.info-wrap .btn-more:focus-visible::before,
.info-wrap .btn-more:focus-visible::after {
	background: #dfe6ff;
}

.info-wrap .card-body {
	padding-top: 18px;
	line-height: 1.6;
}

.info-wrap .notice .card-body p {
	font-size: 1.6rem;
}

.info-wrap .contact .card-body p,
.info-wrap .account .card-body p {
	font-size: 2rem;
}

.info-wrap .contact .card-body p i {
	display: inline-block;
	vertical-align: text-bottom;
	padding: 0 5px;
	font-size: 1.4rem;
	font-style: normal;
}

.info-wrap .card-body .title {
	display: block;
	margin-bottom: 10px;
	font-size: 2rem;
	font-weight: 700;
}


.info-wrap .card-body p.bold {
	font-weight: 700;
}

.info-wrap .card-body hr {
	display: block;
	margin: 16px 0;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.3);
}

.info-wrap .card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.info-wrap .card-link:hover .title {
	text-decoration: underline;
}

.info-wrap .card-footer {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
	opacity: 0.8;
}

.info-wrap .info-card.notice .date {
	position: absolute;
	right: 26px;
	bottom: 26px;
	display: inline-block;
	padding-left: 30px;
	background: url("/img/index/date-icon.png") no-repeat 0 0 /23px;
	font-size: 1.6rem;
	letter-spacing: 0;
}

.org-section {
	background: #000;
	padding: 80px 0 30px 0;
}

.org-wrap {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 32px;
}

.org-wrap .org-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.org-wrap .org-right {
	flex: 1.2;
}

.org-wrap .org-card {
	border-radius: 14px;
	overflow: hidden;
}

.org-wrap .org-card.dark {
	background: #262626;
	color: #fff;
}

.org-wrap .org-card.light {
	background: #fff;
	color: #000;
}

.org-wrap .org-header {
	padding: 30px 0 10px;
	font-size: 2.4rem;
	font-weight: 600;
	text-align: center;
	border-bottom: 1px solid #525252;
}

.org-wrap .org-body {
	padding: 36px 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.org-wrap .org-card.dark .org-body {
	justify-content: center;
	gap: 0;
}

.org-wrap .org-card.dark .org-body img {
	min-width: 200px;
	display: block;
	margin: 0 auto;
	text-align: center;
}

.org-wrap .org-body img {
	max-height: 60px;
	object-fit: contain;
}

.org-wrap .sponsor-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 40px;
	padding-top: 38px;
	padding-bottom: 38px;
}

.org-wrap .sponsor-grid img {
	max-height: 48px;
	justify-self: center;
}

.org-wrap .sponsor-grid .line {
	position: absolute;
	top: 15%;
	left: 50%;
	display: block;
	width: 1px;
	height: 70%;
	background: #A7A7A7;
}


@media all and (max-width: 1200px) {
	.idx-visual-wrap .event-info {
		bottom: 30px;
		width: 100%;
		margin-left: -50%;
	}
	.idx-visual-wrap .event-info img {
		width: 70%;
	}
	
	.idx-visual-wrap .event-info .text {
		gap: 20px;
		margin-top: 20px;
	}
	
	.idx-visual-wrap .event-info .text > div {
		padding-top: 6px;
		padding-bottom: 6px;
		font-size: 2rem;
	}
	
	.idx-visual-wrap .event-info .text > div:first-child {
		padding-left: 12px;
		padding-right: 12px;
		margin-right: 0;
	}
	.menu-wrap {
		margin-top: 20px;
		padding: 0 16px;
	}

	.menu-wrap .menu-list {
		gap: 8px;
	}

	.menu-wrap .menu-item a {
		gap: 14px;
		padding: 16px 6px;
	}

	.menu-wrap .menu-item .icon {
		max-width: 64px;
		height: auto;
	}

	.menu-wrap .menu-item .text {
		font-size: 1.7rem;
	}

	.menu-wrap .menu-item a::before {
		left: 40%;
        width: 80px;
        height: 80px;
        top: 46px;
	}
	
	.menu-wrap .menu-item a:hover::before,
	.menu-wrap .menu-item.active a::before {
		transform: translate(-40%, -50%);
	}
	
	.line-bg {
		padding: 10px 0 0 0;
		background: none;
	}
	
	.gunsantour-link {
		width: 100%;
	}
	
	.gunsantour-link img {
		border-radius: 0;
	}
	
	.info-section {
		padding: 20px;
	}
	
	.info-wrap {
		flex-wrap: wrap;
		gap: 20px;
	}
	
	.info-wrap .info-card {
		padding: 20px 20px 50px;
	}

	.info-wrap .info-card.notice {
		flex: 0 0 100%;
	}

	.info-wrap .info-card.contact,
	.info-wrap .info-card.account {
		flex: 0 0 calc(50% - 10px);
	}
	
	.info-wrap .card-header {
		padding-bottom: 10px;
	}
	
	.info-wrap .card-header h3 {
		font-size: 2rem;
	}
	
	.info-wrap .btn-more {
		width: 20px;
		height: 20px;
	}
	
	.info-wrap .btn-more::before,
	.info-wrap .btn-more::after {
		width: 16px;
	}
	
	.info-wrap .card-body .title {
		margin-bottom: 4px;
	}
	
	.info-wrap .notice .card-body p {
		font-size: 1.4rem;
	}
	
	.info-wrap .info-card.notice .date {
		right: 20px;
		bottom: 20px;
		padding-left: 24px;
		background-size: 17px;
		font-size: 1.3rem;
	}
	
	.info-wrap .contact .card-body p {
		font-size: 1.6rem;	
	}
	
	.info-wrap .account .card-body p {
		font-size: 1.8rem;
	}
	
	.org-section {
		padding: 20px;
	}
	
	.org-wrap {
		flex-wrap: wrap;
		gap: 20px;
	}

	.org-wrap .org-left {
		flex: 0 0 100%;
		flex-direction: row;
		gap: 24px;
	}

	.org-wrap .org-left .org-card {
		flex: 1;
	}

	.org-wrap .org-right {
		flex: 0 0 100%;
	}
	
	.org-wrap .org-header {
		padding: 16px 0 10px;
		font-size: 2rem;
	}
	
	.org-wrap .org-body {
		padding: 26px 20px;
	}
	
	.org-wrap .org-card.dark .org-body img {
		min-width: auto;
		height: 40px;
	}
	
	.org-wrap .sponsor-grid img {
		width: 100%;
		max-width: 180px;
		height: auto;
	}
}

@media all and (max-width: 700px) {
	.idx-visual-wrap .event-info {
		bottom: 16px;
	}
	
	.idx-visual-wrap .event-info .text {
		flex-direction: column;
        align-items: center;
		gap: 0;
		margin-top: 16px;
	}
	
	.idx-visual-wrap .event-info .text > div {
		font-size: 1.6rem;
	}
	
	.countdown-wrap {
		padding: 24px 0 16px 0;
	}
	
	.countdown-wrap .countdown {
        gap: 6px;
    }

    .countdown-wrap .time-box .num {
		width: 48px;
        height: 46px;
		padding-top: 2px;
        font-size: 5rem;
    }

    .countdown-wrap .time-box .label {
		margin-top: 4px;
        font-size: 1.4rem;
    }
	
	.countdown-wrap .time-box #cd-days {
		padding-left: 8px;
		padding-right: 8px;
	}

    .countdown-wrap .colon {
        font-size: 2rem;
        margin-top: -26px;
    }
	
	.menu-wrap .menu-list {
		flex-wrap: wrap;
		gap: 0;
	}

	.menu-wrap .menu-item {
		flex: 0 0 50%;
	}

	.menu-wrap .menu-item a {
		padding: 20px 8px;
	}

	.menu-wrap .menu-item .text {
		font-size: 1.6rem;
	}
	
	.info-wrap .info-card.contact,
	.info-wrap .info-card.account {
		flex: 0 0 100%;
		padding-bottom: 20px;
	}
	
	.gunsantour-link {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.gunsantour-link img.pc {
		display: none;
	}

	.gunsantour-link img.m {
		display: block;
	}
	
	.org-wrap {
		flex-direction: column;
	}

	.org-wrap .org-left {
		flex-direction: column;
		gap: 20px;
	}

	.org-wrap .org-right {
		margin-top: 20px;
	}
	
	.org-wrap .org-left {
		flex-direction: column;
		gap: 20px;
	}

	.org-wrap .org-left .org-card {
		flex: 0 0 100%;
	}
	
	.org-wrap .org-right {
		flex: 0 0 100%;
		margin-top: 0;
	}
}

@media all and (max-width: 560px) {
	.idx-visual-wrap img.bg.pc {
		display: none;
	}

	.idx-visual-wrap img.bg.m {
		display: block;
	}
}

/* ÆË¾÷¸ð´Þ 2025.12.29 ÀüÁ¤ÁÖ */
:root {
		--modal-bg: rgba(0, 0, 0, 0.85);
		--card-bg: #ffffff;
		--accent: #e74c3c;
		--info: #3498db;
		--text-muted: #666;
}

/* Modal Overlay - Flexbox for Centering */
#multiModalOverlay {
		position: fixed;
		top: 0; left: 0;
		width: 100%; height: 100%;
		background: var(--modal-bg);
		z-index: 10000;
		display: none;
		overflow-y: auto;
		/* Center elements vertically and horizontally */
		display: none; /* jQuery fadeIn will change this to block, so we use flex in JS */
		align-items: center;
		justify-content: center;
		padding: 40px 20px;
		box-sizing: border-box;
}

/* Inner container for scrollable centered content */
.modal-wrapper {
		width: 100%;
		max-width: 1200px;
		margin: auto; /* Important for vertical centering in flex */
		display: flex;
		flex-direction: column;
		gap: 20px;
}

/* Controls */
.modal-master-controls {
		display: flex;
		justify-content: flex-end;
		gap: 12px;
}

.btn-master {
		padding: 10px 20px;
		border-radius: 8px;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		border: 1px solid rgba(255,255,255,0.3);
		background: rgba(255,255,255,0.1);
		color: white;
		transition: all 0.2s;
}

.btn-master:hover {
		background: white;
		color: black;
}

.btn-master.highlight {
		background: var(--info);
		border-color: var(--info);
		color: white;
}

/* Grid */
.modal-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 24px;
		justify-content: center;
}

/* Card */
.modal-card {
		background: var(--card-bg);
		border-radius: 16px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
		animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
		from { opacity: 0; transform: scale(0.9); }
		to { opacity: 1; transform: scale(1); }
}

.media-box {
		position: relative;
		width: 100%;
		padding-top: 56.25%; /* 16:9 */
		background: #111;
}

.media-box iframe,
.media-box img {
		position: absolute;
		top: 0; left: 0;
		width: 100%; height: 100%;
		object-fit: cover;
		border: none;
}

.image-link-wrapper {
		display: block;
		width: 100%;
		height: 100%;
		cursor: pointer;
}

.image-link-wrapper::after {
		content: '»ó¼¼º¸±â';
		position: absolute;
		top: 50%; left: 50%;
		transform: translate(-50%, -50%);
		background: rgba(0,0,0,0.8);
		color: white;
		padding: 10px 20px;
		border-radius: 30px;
		font-size: 12px;
		letter-spacing: 1px;
		opacity: 0;
		transition: opacity 0.3s;
}

.image-link-wrapper:hover::after {
		opacity: 1;
}

/* Footer */
.card-footer {
		padding: 16px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: #fafafa;
		border-top: 1px solid #eee;
}

.btn-check {
		font-size: 13px;
		color: var(--text-muted);
		cursor: pointer;
		background: none;
		border: none;
		display: flex;
		align-items: center;
		gap: 6px;
}

.btn-check:hover { color: #000; }

.btn-close {
		padding: 8px 16px;
		background: #1f2937;
		color: white;
		border: none;
		border-radius: 8px;
		font-size: 13px;
		font-weight: 500;
		cursor: pointer;
}

.btn-close:hover { background: #374151; }

/* Demo Background UI */
.main-ui {
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		color: #333;
}