/* common.css */

/* =========================================================
共通スタイル
========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
	background: #e9e9e9;
	font-family: "Noto Sans JP","Noto Sans",sans-serif;
	color: #3B3C39;
}

/* =========================================================
共通ボタン・パーツ系
========================================================= */

.button-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.register-btn,
.top-button {
	margin: 0;
}

.register-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 247px;
	height: 44px;
	border-radius: 100px;
	text-decoration: none;
	box-shadow: 0 0 10px rgba(115,137,196,.45);

	background: #6E84CF;
	color: #fff;
	font-size: 18px;
	letter-spacing: .4px;
}

.top-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;

	width: 247px;
	height: 44px;
	margin: 0 auto;
	border-radius: 100px;
	background: #F3F2F9;
	box-shadow: 0 0 10px rgba(115,137,196,.5);
}

.top-arrow {
	position: absolute;
	left: 16px;
	top: 50%;

	transform: translateY(-50%);

	width: 12px;
	height: 12px;
	font-size: 0;
	background: url("img/left_arrow.png") center / 12px 12px no-repeat;
	color: #7389C4;
}

.top-text {
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .7px;
	color: #3B3C39;
}

.gray-btn{
	position: relative;
	display: flex;
	align-items: center;
	background: #F3F2F9;
	justify-content: center;
	width: 247px;
	height: 44px;
	margin: 0 auto;
	border-radius: 100px;
	box-shadow: 0 0 10px rgba(115,137,196,.45);
	color: #3B3C39;
	text-decoration: none;
	font-size: 14px;
	/* font-weight: 500; */
	letter-spacing: .8px;
}

.blue-btn{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 247px;
	height: 48px;
	margin: 0 auto;
	border-radius: 24px;
	background-image: linear-gradient(90deg, #7389c4, #5977d0);
	box-shadow: 0 3px 8px rgba(115,137,196,.35);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .3px;
}

.line{
	width: auto;
	height: 1px;
	opacity: 0.2;
	background: #7389C4;
}

::placeholder {
	color: #C4C4C3;
}

/* =========================================================
ヘッダー
========================================================= */

.cover {
	position: absolute;
	top: 0;
	left: 0;

	width: 375px;
	height: 144px;

	border-radius: 0 0 20px 20px;
	overflow: hidden;
}

.topbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 375px;
	height: 44px;
	background: rgba(255,255,255,.08);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.brand-logo-img {
	position: absolute;
	top: 12px;
	left: 20px;
	width: 95px;
	height: 20px;
	object-fit: contain;
	display: block;
	background: url("img/header_logo.svg") center center / contain no-repeat;
}

.brand-reserve {
	position: absolute;
	top: 15px;
	left: 135px;
	margin: 0;
	color: #fff;
	font-family: Optima,"URW Classico","Noto Sans",serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1.7px;

	white-space: nowrap;
}

.brand-site {
	position: absolute;
	top: 18px;
	left: 220px;

	margin: 0;

	color: #fff;
	font-size: 10px;
	font-weight: 400;
	line-height: 10px;
	letter-spacing: .7px;

	white-space: nowrap;
}

.brand-divider {
	position: absolute;
	top: 10px;
	left: 122px;

	width: 1px;
	height: 24px;

	background: #fff;
	opacity: 0.2;
}

.global-menu-header .brand-divider {
	background: #3B3C39;
}
/* =========================================================
ハンバーガーメニュー
========================================================= */

.menu {
	position: absolute;
	top: 14px;
	right: 20px;

	width: 20px;
	height: 14px;

	border: 0;
	padding: 0;
	background: transparent;

	cursor: pointer;
}

.menu span,
.menu::before,
.menu::after {
	content: "";

	position: absolute;
	left: 0;

	width: 20px;
	height: 2px;

	border-radius: 999px;
	background: #fff;
}

.menu::before {
	top: 0;
}

.menu span {
	top: 6px;
}

.menu::after {
	top: 12px;
}

.title {
	position: absolute;
	top: 84px;
	left: 83px;

	width: 210px;
	height: 24px;

	margin: 0;

	color: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 1.2px;

	white-space: nowrap;
}

/* =========================================================
共通レイアウト
========================================================= */

.main-area {
	position: absolute;
	top: 144px;
	left: 0;

	width: 375px;
	height: calc(100% - 144px);
}

.main-area main > * {
	margin-top: 30px;
	margin-bottom: 30px;
}

/* =========================================================
グローバルメニュー
========================================================= */

.global-menu {
	position: absolute;
	top: 0;
	left: 0;

	width: 375px;
	height: 812px;

	z-index: 100;

	display: none;

	color: #FFFFFF;
	background: url("img/login-sp.png") center center / cover no-repeat;

	overflow: hidden;
}

.global-menu.is-open {
	display: block;
}

.global-menu-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 375px;
	height: 44px;
	background: #FFFFFF;
}

.global-menu-header .brand-logo-img {
	position: absolute;
	top: 12px;
	left: 20px;
	width: 95px;
	height: 20px;
	object-fit: contain;
	display: block;
	z-index: 2;
	background: url("img/header_logo_menu.svg") center center / contain no-repeat;
}

.global-menu-header .brand-reserve {
	top: 15px;
	left: 135px;

	color: #7389C4;
}

.global-menu-header .brand-site {
	top: 18px;
	left: 220px;

	color: #3B3C39;
}

.menu-close {
	position: absolute;
	top: 14px;
	right: 20px;

	width: 20px;
	height: 14px;

	border: 0;
	padding: 0;
	background: transparent;

	cursor: pointer;
}

.menu-close::before,
.menu-close::after {
	content: "";

	position: absolute;
	top: 6px;
	left: 0;

	width: 20px;
	height: 2px;

	border-radius: 999px;
	background: #7389C4;
}

.menu-close::before {
	transform: rotate(45deg);
}

.menu-close::after {
	transform: rotate(-45deg);
}

.global-menu-content {
	position: relative;
	top: 60px;
	/* left: 36px; */
	/* width: 303px; */
	margin: 0 20px;
}

.global-menu-list,
.global-menu-grid {
	margin: 0;
	padding: 0;

	list-style: none;
}

.global-menu-link {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 16px;
	font-weight: 200;
	line-height: 36px;
	letter-spacing: .16px;
	text-shadow: 0 0 4px rgba(255,255,255,.25);
}

.global-menu-other-link {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;
	font-weight: 200;
	line-height: 38px;
	letter-spacing: .16px;
	text-shadow: 0 0 4px rgba(255,255,255,.25);
}

.global-menu-list.top {
	padding-bottom: 15px;

	border-bottom: 1px solid rgba(255,255,255,.32);
}

.global-menu-list.reserve {
	padding-top: 20px;
	padding-bottom: 21px;

	border-bottom: 1px solid rgba(255,255,255,.32);
}

.global-menu-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;

	column-gap: 20px;
	row-gap: 12px;

	padding-top: 30px;
	padding-bottom: 70px;
}

.global-menu-grid .global-menu-link,
.global-menu-grid .global-menu-other-link {
	line-height: 26px;
}

.global-menu-manual,
.global-menu-logout {
	display: block;

	margin-left: auto;
	margin-right: auto;

	color: #FFFFFF;
	text-align: center;
	text-decoration: none;

	font-size: 14px;
	font-weight: 200;
	line-height: 22px;
	letter-spacing: .4px;

	border-bottom: 1px solid rgba(255,255,255,.85);
}

.global-menu-manual {
	width: fit-content;
	margin-bottom: 28px;
}

.global-menu-logout {
	width: 78px;
	margin-bottom: 46px;
}

.global-menu-sns {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 58px;
}

.global-menu-sns a {
	display: flex;
	align-items: center;
	gap: 8px;

	color: #FFFFFF;
	text-decoration: none;
	font-size: 12px;
	font-weight: 350;
	line-height: 22px;
	letter-spacing: 1px;
}

.sns-home-icon,
.sns-insta-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	display: block;
}

.sns-home-icon{
	background: url("img/home.svg") center center / contain no-repeat;
}

.sns-insta-icon{
	background: url("img/insta.svg") center center / contain no-repeat;
}
.global-menu-sns a + a {
	padding-left: 18px;
	border-left: 1px solid rgba(255,255,255,.4);
}

/* =========================================================
footer
========================================================= */

/* フッターを画面最下部に常時固定（全ページ共通）。
   .global-menu(z-index:100)より下・通常コンテンツより上に置く。
   .main-area の padding-bottom:108px が下部余白を確保しているため
   最下部のボタン等が固定フッター(40px)に隠れない。 */
.footer-bar {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 375px;
	height: 40px;
	z-index: 50;
}

.footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 375px;
	height: 40px;
	background: #fff;
	border-top: 1px solid rgba(115,137,196,.5);
	color: #7389C4;
	font-size: 10px;
	font-weight: 400;
	text-align: center;
	line-height: 40px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-family: Optima;
}

.global-menu-footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 375px;
	height: 32px;
	color: #C4CDEB;
	font-size: 10px;
	font-weight: 400;
	text-align: center;
	line-height: 32px;
	letter-spacing: .6px;
	font-family: Optima;
    margin: 0;
}

.pagetop {
	position: absolute;
	right: 13px;
	bottom: 14px;
	line-height: 0;
	text-decoration: none;
}

.pagetop img {
	display: block;
	width: 12px;
	height: 12px;
}