/* ==========================================================================
   Reset (based on Meyer's CSS Reset, matching the original theme's reset.css)
   ========================================================================== */
html, body, div, span,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, img, ul, ol, li,
fieldset, form, label,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, figcaption, footer, header,
main, nav, section, time {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, figcaption, figure, footer, header, main, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a:focus, button:focus {
	outline: none;
}
a {
	background: none;
}
img {
	border: none;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}
button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
	font: inherit;
}

/* ==========================================================================
   Base
   ========================================================================== */
* , *::before, *::after {
	box-sizing: border-box;
}
html {
	overflow-x: hidden;
}
html, body {
	-webkit-text-size-adjust: 100%;
}
body {
	color: #505050;
	background-color: #fff;
	font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "MS PGothic", sans-serif;
}
a {
	color: #2b2b2b;
	text-decoration: none;
	transition: .6s;
}
a:hover {
	color: #2b2b2b;
	text-decoration: underline;
	opacity: .7;
}
a img {
	transition: .6s;
}
a:hover img {
	opacity: .7;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header__bar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 100%;
	height: 50px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0 8px #c9c9c9;
}
.header__logo {
	position: absolute;
	top: 5px;
	right: 10px;
}
.header__logo img {
	height: 40px;
}

/* Hamburger button */
.hamburger {
	position: fixed;
	top: 15px;
	left: 15px;
	z-index: 20;
	width: 40px;
	height: 25px;
	text-align: center;
	color: #000;
}
.hamburger__wrapper,
.hamburger__bars {
	display: inline-block;
	width: 42px;
	margin-bottom: 5px;
}
.hamburger__bar {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0 auto 9px;
	background: #000;
	transition: all .2s ease-in-out;
}
.hamburger__bar:last-child {
	margin-bottom: 0;
}
.hamburger__label {
	display: block;
	font-size: 12px;
	letter-spacing: .1em;
}
.hamburger__label--close {
	display: none;
}
.is-nav-open .hamburger__label--menu {
	display: none;
}
.is-nav-open .hamburger__label--close {
	display: block;
}
.is-nav-open .hamburger__bar--top {
	transform: translateY(9px) rotate(-45deg);
}
.is-nav-open .hamburger__bar--middle {
	opacity: 0;
}
.is-nav-open .hamburger__bar--bottom {
	transform: translateY(-11px) rotate(45deg);
}

/* Global nav (slide-in panel) */
.global-nav {
	position: fixed;
	left: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding-top: 70px;
	background-color: #fff;
	overflow: auto;
	transform: translateZ(0) translateX(-100%);
	transition: all 400ms ease-out;
}
.is-nav-open .global-nav {
	transform: translateZ(0) translateX(0);
}
.global-nav__item {
	position: relative;
	margin: 15px 0 15px 40px;
	padding-bottom: 15px;
	font-size: 20px;
	border-bottom: 1px solid #505050;
}
.global-nav__item:last-child {
	border-bottom: none;
}
.global-nav__item--dropdown {
	margin-top: 0;
	padding-bottom: 0;
}
.global-nav__link {
	position: relative;
	display: block;
}
.global-nav__link--arrow::before,
.global-nav__link--arrow::after {
	position: absolute;
	top: 0;
	right: 30px;
	bottom: 0;
	margin: auto;
	width: 8px;
	height: 8px;
	content: "";
	border-top: 1px solid #505050;
	border-right: 1px solid #505050;
	transform: rotate(45deg);
}
.global-nav__toggle {
	position: relative;
	display: block;
	width: 100%;
	padding: 15px 40px 15px 0;
	text-align: left;
	font-size: 20px;
	cursor: pointer;
}
.global-nav__toggle-icon {
	position: absolute;
	top: 50%;
	right: 0;
	width: 30px;
	height: 30px;
	border: 1px solid #505050;
	border-radius: 50%;
	transform: translateY(-50%);
	transition: all 200ms ease-out;
}
.global-nav__toggle-icon::before,
.global-nav__toggle-icon::after {
	content: "";
	position: absolute;
	background-color: #111;
}
.global-nav__toggle-icon::before {
	top: calc(50% - 0.5px);
	left: 15%;
	width: 70%;
	height: 1px;
}
.global-nav__toggle-icon::after {
	top: 15%;
	left: calc(50% - 0.5px);
	width: 1px;
	height: 70%;
	transition: all 200ms ease-out;
}
.global-nav__item--dropdown.is-open .global-nav__toggle-icon {
	transform: translateY(-50%) rotate(180deg);
}
.global-nav__item--dropdown.is-open .global-nav__toggle-icon::after {
	opacity: 0;
}
.global-nav__submenu {
	display: none;
	padding-top: 20px;
}
.is-open > .global-nav__submenu {
	display: block;
	padding-bottom: 15px;
}
.global-nav__submenu-item {
	position: relative;
	margin-bottom: 10px;
	padding-left: 20px;
	font-size: 16px;
}
.global-nav__submenu-link {
	position: relative;
	display: block;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
.global-nav__submenu-item:last-child .global-nav__submenu-link {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.global-nav__submenu-link::before {
	position: absolute;
	top: -5px;
	right: 30px;
	bottom: 0;
	margin: auto;
	width: 6px;
	height: 6px;
	content: "";
	border-top: 1px solid #505050;
	border-right: 1px solid #505050;
	transform: rotate(45deg);
}
.global-nav__banner {
	margin-bottom: 10px;
}
.global-nav__banner img {
	width: 100%;
}
.global-nav__search {
	padding: 20px 5%;
	text-align: center;
	background-color: #76805b;
}
.global-nav__search img {
	width: 90%;
}

/* Language switch */
.lang-switch {
	display: flex;
	align-items: center;
	height: 40px;
	margin: 5px 0 0 75px;
	padding-left: 20px;
	background: url(../images/ui/icon_lang.png) center left no-repeat;
	background-size: 20px;
}
.lang-switch__list {
	display: flex;
	gap: 15px;
	margin-left: 15px;
}
.lang-switch__item:not(:first-child) {
	padding-left: 15px;
	border-left: 1px solid #000;
}
.lang-switch__link {
	display: block;
	font-size: 13px;
}
.lang-switch__link--current {
	text-decoration: underline;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	height: 420px;
	overflow: visible;
	background-color: #f8922b;
}
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 14% center;
}
.hero__logo {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	width: 70px;
	height: auto;
}
.hero__title {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 300px;
	height: auto;
	transform: translate(-50%, -50%);
}

/* ==========================================================================
   Shop list section
   ========================================================================== */
.shop-list-section {
	width: 100%;
	margin: 40px 0 0;
}
.icon-legend {
	width: 90%;
	margin: 40px auto;
}
.icon-legend__heading {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 20px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}
.icon-legend__heading::before {
	position: absolute;
	bottom: 0;
	left: 50%;
	display: inline-block;
	width: 60px;
	height: 5px;
	content: "";
	background-color: #000;
	border-radius: 2px;
	transform: translateX(-50%);
}
.icon-legend__list {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: center;
	gap: 10px;
}
.icon-legend__item {
	display: flex;
	align-items: center;
	gap: 10px;
}
.icon-legend__icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	object-fit: contain;
}
.icon-legend__text {
	color: #505050;
	font-size: 14px;
	line-height: 1.5;
}
.shop-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 90%;
	margin: auto;
}
.shop-list__item {
	box-sizing: border-box;
	width: 48%;
	margin-bottom: 30px;
}
.shop-list__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.shop-list__link:hover {
	text-decoration: none;
	opacity: .5;
}
.shop-list__photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	object-fit: cover;
}
.shop-list__name {
	padding: 10px 0;
	color: #505050;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}
.shop-list__desc {
	color: #505050;
	line-height: 1.6;
	margin-bottom: 10px;
}
.shop-list__icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: flex-end;
	gap: 5px;
	margin-top: auto;
}
.shop-list__icon {
	width: 22.4px;
	height: 22.4px;
}
.shop-list__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.shop-list-section__note {
	margin: 30px auto 0;
	padding: 30px 0;
	width: 90%;
	line-height: 1.5em;
	text-align: center;
}

/* ==========================================================================
   Sponsors
   ========================================================================== */
.sponsors {
	margin: 40px auto 60px;
	text-align: center;
}
.sponsors__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
}
.sponsors__item {
	width: 100%;
}
.sponsors__item img {
	width: 100%;
	margin: 0 auto;
}
.sponsors__list--s {
	column-gap: 15px;
	row-gap: 20px;
	width: 64%;
	margin-bottom: 30px;
}
.sponsors__list--more {
	column-gap: 15px;
	row-gap: 15px;
	width: 42%;
	padding-top: 30px;
}
.sponsors__list--l {
	column-gap: 30px;
	row-gap: 20px;
	max-width: 812px;
	width: 90%;
	padding-top: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	position: relative;
	padding: 10px 5% 30px;
	color: #505050;
}
.footer__banner {
	margin-bottom: 30px;
	margin-inline: -5.5555%;
}
.sponsors .footer__banner {
	margin-inline: 0;
}
.footer__banner a {
	display: block;
}
.footer__banner img {
	width: 100%;
}
.footer__nav {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.footer__nav-logo {
	width: 60px;
}
.footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	padding-left: 30px;
}
.footer__nav-item {
	margin: 5px 0;
}
.footer__nav-link {
	display: block;
	padding: 0 25px;
	font-size: 12px;
	line-height: 18px;
	border-left: 1px solid #cf6c8b;
}
.footer__nav-item:last-child .footer__nav-link {
	border-right: 1px solid #cf6c8b;
}
.footer__nav-link:hover {
	color: #cf6c8b;
	text-decoration: none;
}
.footer__copyright {
	font-size: 12px;
	line-height: 24px;
}
.footer__jed-logo {
	text-align: center;
}
.footer__jed-logo img {
	display: block;
	width: 55%;
	margin: auto;
	padding-top: 30px;
}

/* ==========================================================================
   To-top button
   ========================================================================== */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 60px;
	z-index: 1000;
	display: block;
	width: 60px;
	height: 60px;
	background: #fff;
	border: 1px solid #505050;
	border-radius: 30px;
}
.to-top__arrow {
	position: absolute;
	top: 12px;
	left: 0;
	right: 0;
	margin: auto;
	width: 8px;
	height: 8px;
	border-top: 2px solid #505050;
	border-right: 2px solid #505050;
	transform: rotate(-45deg);
}
.to-top__label {
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	font-size: 12px;
	color: #505050;
}

/* ==========================================================================
   Layout offset for fixed header
   ========================================================================== */
.main {
	padding-top: 50px;
}

/* ==========================================================================
   Desktop (min-width: 1000px)
   ========================================================================== */
@media screen and (min-width: 1000px) {
	.main {
		padding-top: 80px;
	}
	.header__bar {
		height: 80px;
	}
	.header__logo img {
		height: 70px;
	}
	.hamburger {
		top: 30px;
		left: 20px;
	}
	.global-nav {
		padding-top: 100px;
	}
	.global-nav__inner {
		width: 60%;
		margin: auto;
	}
	.global-nav__banner {
		width: 100%;
		margin-top: 40px;
		text-align: center;
	}
	.global-nav__banner a {
		display: inline-block;
		width: 500px;
	}
	.global-nav__search {
		width: 100%;
		padding: 30px 5%;
	}
	.global-nav__search img {
		width: 360px;
	}
	.lang-switch {
		height: 70px;
		margin: 5px 0 0 80px;
		padding-left: 35px;
		background-size: 35px;
	}
	.lang-switch__list {
		gap: 20px;
		margin-left: 20px;
	}
	.lang-switch__item:not(:first-child) {
		padding-left: 20px;
	}
	.lang-switch__link {
		font-size: 16px;
	}
	.hero {
		height: 624px;
	}
	.hero__image {
		object-position: center 25%;
	}
	.hero__logo {
		top: 24px;
		left: 24px;
		width: 100px;
	}
	.hero__title {
		top: 105px;
		right: 50px;
		left: auto;
		width: 500px;
		transform: none;
	}
	.icon-legend {
		width: 1000px;
		margin: 60px auto;
	}
	.icon-legend__list {
		grid-template-columns: repeat(2, auto);
		gap: 12px 40px;
	}
	.shop-list-section {
		width: 1000px;
		margin: 40px auto 0;
	}
	.shop-list {
		width: 100%;
	}
	.shop-list::before {
		display: block;
		order: 1;
		width: 31%;
		height: 0;
		content: "";
	}
	.shop-list__item {
		width: 31%;
	}
	.shop-list__icon {
		width: 46.4px;
		height: 46.4px;
	}
	.shop-list-section__note {
		width: 1000px;
	}
	.sponsors {
		width: 1000px;
	}
	.footer__banner {
		margin-bottom: 45px;
		margin-inline: 0;
		text-align: center;
	}
	.footer__banner a {
		display: inline-block;
		width: 500px;
	}
	.footer__nav {
		justify-content: center;
	}
	.footer__nav-logo {
		width: 80px;
	}
	.footer {
		width: 1000px;
		margin: auto;
		padding: 24px 0 30px;
		text-align: center;
	}
	.footer__jed-logo img {
		width: 300px;
	}
}

/* ==========================================================================
   Sponsors banner breakpoint (matches original component's own 768px rule)
   ========================================================================== */
@media screen and (min-width: 768px) {
	.sponsors__list--s {
		row-gap: 15px;
		width: 90%;
		margin-bottom: 40px;
	}
	.sponsors__list--s .sponsors__item {
		width: calc((100% - 30px) / 3);
	}
	.sponsors__list--more {
		width: 60%;
		max-width: 470px;
		padding-top: 40px;
	}
	.sponsors__list--more .sponsors__item {
		width: calc((100% - 15px) / 2);
	}
	.sponsors__list--l {
		row-gap: 25px;
		padding-top: 40px;
	}
	.sponsors__list--l .sponsors__item {
		width: calc((100% - 30px) / 2);
	}
}
