@charset "UTF-8";

/* ---------- ---------- フォント ---------- ---------- */
@font-face {
	font-family: "Noto Sans JP";
	src: url("../fonts/NotoSansJP/NotoSansJP-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Noto Sans JP";
	src: url("../fonts/NotoSansJP/NotoSansJP-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("../fonts/DMSans/DMSans-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("../fonts/DMSans/DMSans-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}


/* ---------- ---------- カスタムプロパティ ---------- ---------- */
:root {
	--color-main: #00B7C6;
	--color-red: #FF6262;
	--color-black: #34353A;
	--color-white: #FFFFFF;
	--color-darkgray: #6C8A9D;
	--color-middlegray: #ADC5D3;
	--color-gray: #E1EAEF;
	--color-lightgray: #F0F5F8;
}


/* ---------- ---------- 共用スタイル ---------- ---------- */
*:not(html) {
	font-family: 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #34353A;
	box-sizing: border-box;
}

a, button {
	transition: 0.3s;
}


/* ヘッダーナビゲーション */
.header {
	position: fixed;
	top: 0;
	left: 0;
	background-color: var(--color-black);
	height: 100vh;
	z-index: 1;
	transition: 0.3s;
}

.header_inner {
	height: 100%;
	padding: 0 0.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.header_button {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2.375rem;
	cursor: pointer;
}

.header_button img {
	max-width: 7px;
	transform: rotate(180deg);
}

.header_navigation li:not(:last-of-type) {
	margin-bottom: 1rem;
}

.header_icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	position: relative;
	z-index: 0;
}

.header_icon:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.header_icon img {
	max-width: 16px;
	transition: 0.3s;
}

.header_icon img.active {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: 0.3s;
}

.header_icon.active img.active {
	opacity: 1;
}

.inner_lower {
	margin-bottom: 1.875rem;
}


.header.open {
	left: -265px;
	z-index: 2;
	max-width: 273px;
}

.header.open.active {
	left: 0;
}

.header.open .header_inner {
	padding: 0 1rem;
}

.header.open .header_button {
	position: absolute;
	top: 0;
	left: 100%;
	margin-bottom: 0;
	background-color: var(--color-black);
	border-radius: 0 0 5px 0;
	cursor: pointer;
}

.header.open .header_button.open img {
	transform: rotate(180deg);
}

.header.open .header_button.close img {
	transform: rotate(0deg);
}

.header.open .header_logo {
	display: flex;
	align-items: center;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

.header.open .header_logo img {
	max-width: 32px;
	margin-right: 0.5rem;
}

.header.open .header_logo div {
	font-size: 0.75rem;
	color: var(--color-white);
	font-weight: 700;
	line-height: 1.25;
}

.header.open .header_navigation {
	padding: 0 0.5rem;
}

.header.open .header_navigation li {
	margin-bottom: 0;
}

.header.open .header_navigation li a {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-radius: 5px;
	min-width: 225px;
}

.header.open .header_navigation li.holding a {
	align-items: flex-start;
}

.header.open .header_navigation li a:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.header.open .header_navigation li a img {
	max-width: 16px;
	margin-right: 0.75rem;
}

.header.open .header_navigation li a img.active {
	display: none;
}

.header.open .header_navigation li a div {
	font-size: 0.875rem;
	color: var(--color-middlegray);
	font-weight: 700;
	line-height: 1.25;
}

.header.open .header_navigation li.holding a .title {
	font-size: 0.75rem;
	margin: 2px 0;
}

.header.open .header_navigation li.holding a .date {
	font-size: 0.75rem;
	font-weight: 400;
}

.header.open .header_navigation li a.active img.normal {
	display: none;
}

.header.open .header_navigation li a.active img.active {
	display: block;
}

.header.open .header_navigation li a.active div {
	color: var(--color-white);
}

.header.open .inner_lower {
	margin-bottom: 1.5rem;
	padding: 0 0.5rem;
}

.header.open .inner_lower a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	border-radius: 5px;
}

.header.open .inner_lower a .trash_navigation {
	display: flex;
	align-items: center;
}

.header.open .inner_lower a .trash_navigation img {
	max-width: 16px;
	margin-right: 0.25rem;
}

.header.open .inner_lower a .trash_navigation img.active {
	display: none;
}

.header.open .inner_lower a .trash_navigation div {
	font-size: 0.75rem;
	color: var(--color-middlegray);
	font-weight: 700;
	line-height: 1.25;
}

.header.open .inner_lower a .trash_length {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.header.open .inner_lower a .trash_length span {
	font-size: 0.875rem;
	color: var(--color-middlegray);
	font-weight: 700;
	line-height: 1.25;
}

.header.open .inner_lower a:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.header.open .inner_lower a .trash_navigation.active img.normal {
	display: none;
}

.header.open .inner_lower a .trash_navigation.active img.active {
	display: block;
}

.header.open .inner_lower a .trash_navigation.active div {
	color: var(--color-white);
}


/* 共通セクション */
.container {
	min-height: 100vh;
	background: linear-gradient(var(--color-gray) 0%, var(--color-gray) 200px, var(--color-lightgray) 200px, var(--color-lightgray) 100%);
	padding: 0 1.25rem;
	margin-left: 56px;
	display: flex;
	padding-bottom: 100px;
	transition: 0.3s;
}

.container.active {
	padding-left: 273px;
}

.content_inner {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}


/* コンテントタイトル */
h1 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}


/* ボタン */
.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
}

.btn span {
	font-size: 0.875rem;
	line-height: 1.25;
	transition: 0.3s;
}

.btn_main {
	background-color: var(--color-main);
}

.btn_main span {
	color: var(--color-white);
}

.btn_main:hover {
	background-color: #1FBECC;
}

.btn_normal {
	background-color: var(--color-white);
	border: solid 1px var(--color-middlegray);
}

.btn_normal:hover span {
	color: var(--color-middlegray);
}

.btn_gray {
	background-color: var(--color-middlegray);
	cursor: not-allowed;
}

.btn_gray span {
	color: var(--color-darkgray);
}

.btn_red {
	background-color: var(--color-red);
}

.btn_red:hover {
	background-color: #FD7272;
}

.btn_red span {
	color: var(--color-white);
}


/* セレクト */
.select {
	border: solid 1px var(--color-middlegray);
	border-radius: 5px;
	position: relative;
	z-index: 0;
}

.select::after {
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	border-right: solid 1px var(--color-black);
	border-bottom: solid 1px var(--color-black);
	position: absolute;
	right: 1rem;
	top: calc(50% - 1px);
	transform: translateY(-50%) rotate(45deg);
}


/* 入力欄 */
input.error,
textarea.error {
	border-color: var(--color-red) !important;
}


/* ポップアップ */
.popup {
	position: relative;
	z-index: 100;
}

.popup_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 101;
	background-color: var(--color-black);
	opacity: 0.8;
}

.popup_content {
	background-color: var(--color-white);
	border-radius: 10px;
	padding: 1.5rem;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 102;
}


/* 処理結果通知バナー */
.alert {
	width: 100%;
	position: fixed;
	bottom: -40px;
	left: 56px;
	background-color: var(--color-white);
	padding: 0.75rem 0.5rem;
	border-top: solid 1px var(--color-red);
	cursor: pointer;
	transition: 0.3s;
	z-index: 100;
}

.alert.open {
	left: 273px;
}

.alert.active {
	bottom: 0;
}

.alert p {
	font-size: 0.75rem;
	line-height: 1.25;
}

.alert p a {
	font-size: 0.75rem;
	line-height: 1.25;
	color: var(--color-main);
	text-decoration: underline;
}

.alert p a.main {
	color: var(--color-main);
}

.alert p a.red {
	color: var(--color-red);
}


/* エラーページ */
section.errors {
	background-color: var(--color-lightgray);
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

section.errors .error_title {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
}