@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

:root {
	--bg-color: #b9e6f0;
	--dark-color: #222222;
	--accent-color: #fac04c;
	--blue-base: #0b84ff;
	scroll-behavior: smooth;
	color: var(--dark-color);
}

body {
	position: relative;
	z-index: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 400;
	font-style: normal;
	/* font-family: "momochidori", sans-serif;
	font-weight: 400;
	font-style: normal; */
	background-color: var(--bg-color);
	/* background-image: url(./img/hebisaba_bg.png);
	background-position: top -20%, left 0;
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-size: cover; */
	overflow-x: hidden;
	font-size: 110%;
}

/* 既存の #hebisaba-bg-image 定義を全削除し、下記で置き換え */
#hebisaba-bg-image {
	position: fixed;
	inset: 0;
	top: -100%;
	left: -100%;
	z-index: -1;
	/* 前景の下に配置 */
	object-fit: cover;
	width: 300%;
	opacity: .5;
	filter: blur(3px);
	pointer-events: none;
	will-change: transform;
}

/* main の z-index を無効化（スタッキング文脈を作らせない） */
main {
	z-index: initial;
}

a {
	color: initial;
}

i {
	display: block;
	height: 100%;
	margin: 0 auto;
}

p {
	font-weight: 500;
}

header {
	width: 100%;
	height: 55px;
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	flex-direction: row;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
}

header div {
	margin: 0 auto;
	width: auto;
	display: flex;
	justify-content: center;
}

.hamburger {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 11px;
	left: 15px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hamburger i {
	display: flex;
	justify-content: center;
	text-align: center;
	line-height: 30px;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0;
	left: 0;
	transition: 0.4s;
}

.hamburger i:nth-child(2) {
	opacity: 0;
}

/* クリック時の変形 */
.hamburger.active i:nth-child(1) {
	transform: rotate(360deg);
	opacity: 0;
}

.hamburger.active i:nth-child(2) {
	transform: rotate(360deg);
	opacity: 1;
}
.header-btn-container {
	position: absolute;
	top: 7.5px;
	right: 0;
	width: 15%;
	height: 2rem;
}
:is(.btn-login-s, .btn-login, .btn-register) {
	height: 1.7rem!important;
	width: 5rem;
	border-radius: 12px!important;
	color: #ffffff;
	margin: auto 1%!important;
	font-weight: bold;
	transition: 0.2s all;
}
.btn-login-s {
	display: none!important;
}
.btn-login-s i {
	margin: auto 0;
	position: relative;
	top: 7.5px;
	font-size: 1.2rem;
}
.btn-login, .btn-login-s {
	background-color: var(--blue-base);
}
.btn-login:hover, .btn-login-s:hover {
	background: color-mix(in oklab, var(--blue-base) 80%, black 20%);
}
.btn-register {
	background-color: var(--accent-color);
}
.btn-register:hover {
	background: color-mix(in oklab, var(--accent-color) 80%, black 20%);
}

#sidebar {
	width: 25%;
	height: 100%;
	position: fixed;
	top: 0;
	left: -100%;
	background-color: #ffffff;
	z-index: 99;
	transition: 0.5s;
}

#sidebar.active {
	left: 0;
}

#sidebar a {
	text-decoration: none;
}

#sidebar section {
	width: 70%;
	height: 100%;
	display: flex;
	justify-content: left;
	flex-direction: column;
	margin: 0 auto;
	margin-top: 55px;
	padding: 10% 5%;
}

#sidebar section div {
	height: 4rem;
	justify-content: center;
	display: flex;
	border-bottom: solid 1px var(--dark-color);
	cursor: pointer;
	transition: all 0.7s;
}

#sidebar section div:hover {
	background-color: #eeeeee;
}

#sidebar section div a {
	width: 96%;
	height: 4rem;
	display: flex;
	padding: 0;
	text-align: left;
	align-items: center;
}

a:has(.logo) {
	margin: 0 auto;
	position: absolute;
	width: 168px;
	height: 100%;
}

#title {
	font-family: "vdl-megamarupop-shadow", sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: -0.2em;
	font-size: 600%;
	color: #0ca3d1;
	padding: 0 5%;
	margin: 0;
	background-color: #ffffff;
	border-radius: 16px;
	width: 45vw;
	margin: 3% auto;
	height: 100%;
}

main {
	position: relative;
	top: 0;
	left: 0;
	margin-top: 55px;
	width: 80%;
	height: 100%;
	padding: 5% 10%;
	padding-top: 3%;
	margin: 0;
	background-color: var(--bg-color);
	text-align: center;
	z-index: 0;
	overflow: hidden;
}

.blur-bg {
	width: 100vw;
	height: 100vh;
	filter: blur(50px);
	position: relative;
	top: 0;
	left: 0;
	z-index: -1;
}

footer {
	margin-top: 0;
	width: 100%;
	height: 16vh;
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	flex-direction: column;
	position: relative;
	bottom: 0;
	left: 0;
	z-index: 99;
}

footer .link-container {
	margin: 0 auto;
	justify-content: center;
	align-items: center;
}

footer .link-container a i {
	line-height: 50px;
}

.link-container {
	width: 70%;
	margin: 3% auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.link-container a {
	width: 40px;
	height: 100%;
	margin: auto 1%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: initial;
	transition: all 0.2s;
}

.link-container a:hover {
	transform: scale(120%);
}

.credit-container {
	height: 2rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

h1,
h2,
h3,
h4 {
	font-weight: bold;
	margin: 0;
	margin: 0.5rem 0;
}

h2 {
	font-size: 2rem;
}

.top-wrapper h1 {
	font-size: 3rem;
	font-weight: bold;
	margin: 0 auto;
	margin-bottom: 2%;
	padding: 0;
}

:root {
	--blue-base: #0b84ff;
}

/* 未定義なら追加 */

:is(.top-wrapper, .join-wrapper) {
	margin: 5% auto;
	width: 75%;
	height: 8%;
	position: relative;
	top: 0;
	left: 0;
	padding: 2% 5%;
	border-radius: 16px;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
	/* 256→255 に修正 */
	isolation: isolate;
	/* 疑似要素のブラー漏れ防止 */

	/* グラデ（20%不透明） */
	--start: color-mix(in oklab, var(--bg-color) 20%, transparent);
	--tint: color-mix(in oklab, var(--bg-color) 75%, var(--blue-base) 25%);
	--end: color-mix(in oklab, var(--tint) 20%, transparent);
	background: linear-gradient(to right, var(--start), var(--end));
	/* 背景は半透明のままにする。opaqueな background-color は外す */
}

.btn-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.btn-container a {
	margin: 0.5rem 0;
}

.blur-backdrop {
	/* 半透明でないと効果が見えない */
	background: color-mix(in oklab, var(--bg-color) 20%, transparent);
	backdrop-filter: blur(12px);
	/* Chrome/Edge */
	-webkit-backdrop-filter: blur(12px);
	/* Safari */
}

.blur-self::before {
	content: "";
	position: absolute;
	inset: 0;
	background: inherit;
	/* さきほどのグラデをコピー */
	filter: blur(10px);
	transform: scale(1.06);
	/* ブラー端の切れ防止 */
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
}

/* 共通 */
a.btn,
button.btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border: 0;
	width: auto;
	height: 2rem;
	padding: 2% 5%;
	border-radius: 50px;
	cursor: pointer;
	text-decoration: none;
	/* a の下線を消す */
	line-height: 1;
	gap: .5rem;
	user-select: none;
}

/* バリアント例 */
.btn--primary {
	background: color-mix(in oklab, var(--accent-color) 90%, black 10%);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
	transition: all 0.2s;
	font-size: 150%;
	font-weight: bold;
}

.btn--primary:hover {
	background: color-mix(in oklab, var(--accent-color) 80%, black 20%);
}

.btn--outline {
	background: transparent;
	border: 1px solid currentColor;
	color: var(--dark-color);
}

/* アクセシビリティ */
.btn:focus-visible {
	outline: 3px solid color-mix(in oklab, var(--accent-color) 60%, white 40%);
	outline-offset: 2px;
}

.btn[aria-disabled="true"] {
	opacity: .5;
	pointer-events: none;
}

/* 幅いっぱいにしたい場合 */
.btn--block {
	width: 100%;
}

/* タブ本体 */
.tabs {
	--on: var(--blue-base, #0b84ff);
	--off: color-mix(in oklab, var(--bg-color, #b9e6f0) 40%, #000 0%);
	--radius: 999px;
	--h: 44px;
	--pad: 4px;
	/* 追加: 外枠の内側余白 */
	margin: 2rem auto;
	width: min(720px, 92%);
}

/* ヘッダー（タブボタン領域） */
.tabs__list {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: var(--h);
	background: var(--off);
	border-radius: var(--radius);
	padding: var(--pad);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
	overflow: hidden;
}

/* スライダー（サイズと角丸を pad に揃える） */
.tabs__slider {
	position: absolute;
	top: var(--pad);
	left: var(--pad);
	width: calc(50% - var(--pad));
	/* 半分から pad 分だけ内側へ */
	height: calc(100% - var(--pad) * 2);
	border-radius: calc(var(--radius) - var(--pad));
	background: var(--on);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
	transition: transform .25s ease;
	z-index: 0;
}

/* 右側へ移動。コンテナ中央の隙間ぶん pad を加算 */
.tabs[data-active="profile"] .tabs__slider {
	transform: translateX(calc(100%));
}

/* タブボタン */
.tabs__tab {
	appearance: none;
	border: 0;
	margin: 0;
	background: transparent;
	color: #222;
	font: 700 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	border-radius: calc(var(--radius) - var(--pad));
	cursor: pointer;
	position: relative;
	z-index: 1;
}

/* 選択中の文字色 */
.tabs[data-active="zip"] #tab-zip,
.tabs[data-active="profile"] #tab-profile {
	color: #fff;
}


/* パネル */
.tabs__panel {
	background: rgba(255, 255, 255, .85);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 16px;
	padding: 2rem;
	margin-top: 1rem;
	text-align: left;
	box-shadow: 0 0 20px rgba(255, 255, 255, .35);
}

.tabs__panel h3 {
	text-align: center;
}

/* ダーク文字色継承 */
.tabs__panel h3 {
	margin: .25rem 0 1rem;
}

.tabs__panel ol {
	padding-left: 1.2rem;
}

.tabs__panel a.btn {
	margin-top: .75rem;
	display: inline-flex;
}

.rules-secction {
	margin-top: 3rem;
	border-top: solid 2px var(--dark-color);
}

.rules-list {
	background: rgba(255, 255, 255, .85);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 16px;
	padding: 3rem;
	padding-left: 4rem;
	margin-top: 1rem;
	text-align: left;
	box-shadow: 0 0 20px rgba(255, 255, 255, .35);
}

.rules-list li {
	padding-top: 1rem;
}

.float-announce {
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 1000;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	padding: 1.5rem 2rem;
	/* ← 以前の約2倍 */
	border-radius: 20px;
	text-decoration: none;
	line-height: 1.4;
	background: color-mix(in oklab, var(--bg-color, #b9e6f0) 15%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
	border: 2px solid rgba(255, 255, 255, .6);
	color: #111;
	max-width: min(480px, 94vw);
	transition: transform .2s ease, box-shadow .2s ease;
}

.float-announce__title {
	font: 700 18px/1 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	opacity: .9;
}

.float-announce__headline {
	font: 800 20px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	color: #fff;
	padding: 6px 10px;
	border-radius: 10px;
	background: var(--accent-color, #fac04c);
	display: inline-block;
	white-space: nowrap;
}

/* ホバー */
.float-announce:hover,
.float-announce:focus-visible {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
	outline: none;
}


/* 調整用 */
.progress {
	--h: 24px;
	/* 高さ */
	--radius: 50px;
	/* 要望どおりの角丸 */
	--bg: #fff;
	/* ベース色（白） */
	--fill: #7c3aed;
	/* 紫系のゲージ色 */
	--fill2: #9f67ff;
	/* グラデ上側 */
	--dur: .35s;
	/* アニメ時間 */
	position: relative;
	width: 80%;
	height: var(--h);
	background: var(--bg);
	border-radius: var(--radius);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
	overflow: hidden;
	margin: 0 auto;
}

/* 進捗部分 */
.progress__bar {
	height: 100%;
	width: calc(var(--val, 0) * 1%);
	/* JS/inlineで --val を更新 */
	background: linear-gradient(180deg, var(--fill2), var(--fill));
	border-radius: var(--radius);
	transition: width var(--dur) ease;
	will-change: width;
}

/* パーセンテージ表示（任意） */
.progress__label {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	font-weight: bold;
	color: #bbbbbb;
	mix-blend-mode: difference;
	/* 白地でも読める */
	pointer-events: none;
}

.reward-list {
	width: 75%;
	height: auto;
	margin: 0;
	margin-left: auto;
	font-size: 150%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.reward-list div {
	display: flex;
	align-items: center;
	justify-content: left;
	margin: 0;
	padding: 0;
	font-size: 1.1vw;
}

.reward-list div img {
	width: calc(3vw + 0.1rem);
}

.reward-list div i {
	font-size: calc(3vw + 0.1rem);
}

.reward-list div :is(h4, p) {
	margin: 0;
	font-size: calc(1vw + 0.3rem);
}

.notices {
	width: min(900px, 96%);
	margin: 1rem auto 0;
}

.notice {
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	background: rgba(255, 255, 255, .8);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.notice+.notice {
	margin-top: .75rem;
}

.notice__header {
	all: unset;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: .75rem;
	align-items: center;
	width: 95%;
	padding: .9rem 1rem;
	cursor: pointer;
}

.notice__date {
	font: 600 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	color: #555;
	white-space: nowrap;
}

.notice__title {
	text-align: left;
	font: 700 15px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	color: #111;
}

.notice__chev {
	width: 1rem;
	height: 1rem;
	transform: rotate(0deg);
	transition: transform .25s ease;
	opacity: .7;
}

.notice[aria-expanded="true"] .notice__chev {
	transform: rotate(180deg);
}

/* パネルのスムーズ展開 */
.notice__panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height .35s ease, opacity .25s ease;
	will-change: max-height;
}

.notice[aria-expanded="true"] .notice__panel {
	opacity: 1;
}

.notice__body {
	padding: 0.5rem 5% 1rem;
	color: #222;
	text-align: left;
	font: 400 14px/1.8 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
	cursor: pointer;
}

.notice__body :where(h4, h5) {
	margin: .6rem 0 .3rem;
}

.notice__body :where(p, ul, ol) {
	margin: .4rem 0;
}

.notice__body a {
	color: var(--blue-base, #0b84ff);
}

.notice__body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.notice__body hr {
	border: 0;
	height: 1px;
	background: rgba(0, 0, 0, .08);
	margin: .8rem 0;
}

/* フォーカス */
.notice__header:focus-visible {
	outline: 3px solid color-mix(in oklab, var(--accent-color, #fac04c) 60%, white 40%);
	outline-offset: 2px;
	border-radius: 10px;
}

.server-status-container {
	width: 100%;
	margin-top: 1rem;
	background: rgba(255,255,255,.85);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	border-radius: 16px; padding: 1rem;
	box-shadow: 0 0 20px rgba(255,255,255,.35);
	display: flex;
	justify-content: center;
}
.map-container {
	width: 60%;
}
.chat-container {
	width: 40%;
	display: flex;
	justify-content: left;
	flex-direction: column;
	padding: 1rem 0rem;
	padding-right: 1rem;
}
.chat-header {
	width: 100%;
	height: 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color:#222;
	border-bottom: 1px solid currentColor;
}
.chat-header * {
	height: 1rem;
	padding: 0;
	margin: 0.2rem 0;
	line-height: 0.5rem;
}
.chat-header p {
	color:#222; font:400 calc(0.5vw + 0.5rem) system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
}
.chat-body {
	width: 95%;
	height: auto;
	padding: 0.5rem 1rem;
	text-align: left;
	color:#222; font:400 calc(0.5vw + 0.5rem) system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
	overflow-y: scroll;
	height: 30vw;
}
.chat-line {
	width: 100%;
	padding: 0.5rem 0;
}
/* ====== Map Tabs v2 ====== */
.map-tabs{
  --on: var(--blue-base, #0b84ff);
  --off: color-mix(in oklab, var(--bg-color, #b9e6f0) 40%, #000 0%);
  --radius: 999px;
  --h: 44px;
  --pad: 4px;
  --count: 3;   /* JSで上書き */
  --idx: 0;     /* JSで上書き */
  --w: calc((100% - var(--pad)*2) / var(--count));
  margin: 1.25rem auto 0;
  width: min(720px, 92%);
}

.map-tabs__list{
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  height: var(--h);
  background: var(--off);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  overflow: hidden;
}

.map-tabs__slider{
  position: absolute;
  top: var(--pad);
  left: calc(var(--pad) + var(--idx) * var(--w));
  width: var(--w);
  height: calc(100% - var(--pad)*2);
  border-radius: calc(var(--radius) - var(--pad));
  background: var(--on);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: left .25s ease, width .25s ease;
  z-index: 0;
  pointer-events: none;
}

.map-tabs__tab{
  appearance:none; border:0; margin:0; background:transparent;
  color:#222; font:700 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;
  border-radius: calc(var(--radius) - var(--pad));
  cursor:pointer; position:relative; z-index:1;
}
.map-tabs__tab[aria-selected="true"]{ color:#fff; }

.map-frame[hidden]{ display:none !important; }

.map-frame iframe{
  display:block;
  width: 30vw;
  aspect-ratio:1/1;
  border:2px solid var(--accent-color);
  border-radius:10px;
  margin:10px auto;
  background:#fff;
}

@media screen and (max-width:540px) {
	main {
		width: 100%;
		padding: 5% 0;
		margin: 0 auto;
		margin-top: 55px;
	}
	.btn-login-s {
		display: block!important;
		width: 2rem!important;
		height: 2rem!important;
	}
	.btn-login {
		display: none!important;
	}
	.btn-register {
		display: none!important;
	}
	.header-btn-container.login {
		position: absolute!important;
		top: 0!important;
		right: 0!important;
	}
	.header-btn-container.login :is(strong, p) {
		display: none;
	}
	.btn.btn-logout {
		width: 1.5rem!important;
	    height: 1.5rem!important;
	    border-radius: 10px!important;
	}
	.btn.btn-logout i {
		line-height: 1.5rem;
		font-size: 1.2rem;
		font-weight: 500;
	}
	
	.tabs__panel,
	ol {
		padding: 1rem 0.5rem !important;
		padding-left: 1rem !important;
	}
	.rules-secction .rules-list {
		padding: 1rem!important;
		padding-left: 1.5rem !important;
	}

	#title {
		width: 40%;
		font-size: 150%;
	}

	#sidebar {
		width: 60vw;
	}

	:is(.top-wrapper, .join-wrapper) {
		width: 80%;
		padding: 2% auto;
	}

	.float-announce {
		padding: 0.6rem 1.2rem;
		right: 12px;
		bottom: 12px;
	}

	.float-announce__title {
		font-size: 16px;
	}

	.float-announce__headline {
		font-size: 18px;
		white-space: normal;
	}

	.join-wrapper a.btn {
		font-size: 100%;
	}

	h2 {
		font-size: 1.7rem;
		margin-bottom: 0.5rem;
	}

	#hebisaba-bg-image {
		height: 200vh;
		top: -80%;
		left: -20%;
	}

	.reward-list {
		width: 100%;
		height: auto;
		margin: 0;
		margin-left: auto;
		font-size: 150%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.reward-list div {
		display: flex;
		align-items: center;
		justify-content: left;
		margin: 0;
		padding: 0.5rem 0;
		font-size: 1.1vw;
	}

	.reward-list div img {
		width: calc(3vw + 0.2rem);
	}

	.reward-list div i {
		font-size: calc(3vw + 0.3rem);
	}

	.reward-list div :is(h4, p) {
		font-size: calc(1vw + 0.6rem);
	}

	h1 {
		font-size: calc(1vw + 1rem);
	}

	h2 {
		font-size: calc(1vw + 0.8rem);
	}

	h3 {
		font-size: calc(1vw + 0.7rem);
	}

	h4 {
		font-size: calc(1vw + 0.6rem);
	}

	p,
	a,
	li {
		font-size: calc(1vw + 0.6rem);
	}
	:is(.notice__title, .notice__body, .notice__date) {
		font-size: calc(1vw + 0.5rem);
	}
	.notice__header {
		padding: 0.9rem 0.5rem;
		gap: 0.2rem;
	}
	.map-container {
		width: 100%;
	}
	.map-tabs{
		width:100%;
	}
	.map-tabs__list button {
		font-size: calc(1vw + 0.4rem);
	}
	.map-frame iframe{
		width:60vw;
	}
	.server-status-container {
		width: auto;
		height: 100%;
		flex-direction: column;
	}
	.chat-container {
		width: 100%;
		padding: 0;
	}
	.chat-header {
		height: 2.5rem;
	}
	.chat-body {
		height: 70vw;
		padding: 0;
		margin: 0 auto;
	}
	.chat-line {
		padding: 0.25rem 0;
	}
}

@media screen and (min-width:541px) and (max-width:760px) {
	main {
		width: 90%;
		padding: 5% 0;
		margin: 0 auto;
		margin-top: 55px;
	}

	#title {
		width: 40%;
		font-size: 250%;
	}

	#sidebar {
		width: 40vw;
	}

	#sidebar section div {
		height: 3rem;
	}

	#sidebar section div a {
		height: 3rem;
	}

	:is(.top-wrapper, .join-wrapper) {
		width: 90%;
		padding: 2% 4%;
	}

	#hebisaba-bg-image {
		height: 180vh;
		top: -80%;
		left: -20%;
	}

	.reward-list {
		width: 80%;
		margin: 0;
	}
}

@media screen and (min-width:761px) and (max-width:1024px) {
	main {
		width: 90%;
		padding: 5% 0;
		margin: 0 auto;
	}

	#title {
		width: 30%;
		font-size: 250%;
	}

	#sidebar {
		width: 35vw;
	}

	#sidebar section div {
		height: 3rem;
	}

	#sidebar section div a {
		height: 3rem;
	}

	:is(.top-wrapper, .join-wrapper) {
		width: 90%;
		padding: 2% 2%;
	}

	#hebisaba-bg-image {
		height: 160vh;
		top: -60%;
		left: -90%;
	}

	.reward-list {
		width: 80%;
		margin: 0 auto;
	}
}