@charset "UTF-8";

/* ------------------------------------------- */
/* root */
/* ------------------------------------------- */
:root {
	--default-text-color: #000;
	--gray: #f7f7f7;
	--gray2: #dddddd;
	--gray3: #737373;
	--line: #e6e6e6;
	--blue: #0080ff;
	--green: #00de12;
}

/* --------------------------------------------------------------- */
/* reset start */
/* --------------------------------------------------------------- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
video {
	display: block;
}

ul,
li,
ol,
dl {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

a {
	display: inline-block;
	margin: 0;
	padding: 0;
	color: var(--default-text-color);
	text-decoration: none;
	transition: opacity 0.3s ease;

	&:hover {
		opacity: 0.7;
	}
}

@media (hover: hover) and (pointer: fine) {
	a:hover {
		text-decoration: none;
	}
}

del {
	text-decoration: line-through;
}

abbr[title],
dfn[title] {
	border-bottom: 0.1rem dotted;
	cursor: help;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

*,
*:after,
*:before {
	-webkit-appearance: none;
	word-break: break-all;
	box-sizing: border-box;
}

video {
	filter: contrast(1);
}

button {
	background-color: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color ease 0.3s;
}

/* --------------------------------------------------------------- */
/* reset end */
/* --------------------------------------------------------------- */

/* タブレット(1081px以上)のみ非表示 */
@media print,
screen and (min-width: 1080.01px) {
	.tab-off {
		display: none !important;
	}
}

/* PC(768px以上)のみ非表示 */
@media print,
screen and (min-width: 767.01px) {
	.pc-off {
		display: none !important;
	}
}

/* スマホのみ非表示 */
@media screen and (max-width: 767px) {
	.sp-off {
		display: none !important;
	}
}

@media screen and (max-width: 767px) {
	a[href^="tel:"] {
		color: var(--default-text-color);
	}
}

@media screen and (min-width: 767.01px) {
	a[href^="tel:"] {
		pointer-events: none;
		text-decoration: none;
	}
}

html {
	font-size: 62.5%;
	letter-spacing: 0;
	font-family: "Noto Sans JP", sans-serif;
	-webkit-text-size-adjust: none;

	@media screen and (min-width: 1080.01px) and (max-width: 1919.99px) {
		/* font-size: calc(10 / 1919 * 100 * 1vw); */
	}

	/* あまりにも文字サイズが小さくなった場合 */
	@media screen and (min-width: 767.01px) and (max-width: 1080px) {
		/* font-size: calc(12 / 1920 * 100 * 1vw); */
	}

	/* スマホ用（デザインサイズが375の場合） */
	@media screen and (max-width: 767px) {
		/* font-size: calc(10 / 375 * 100 * 1vw); */
	}
}

body {
	font-size: 1.6rem;
	line-height: 1;
	overflow: auto;

	@media screen and (max-width: 767px) {
		font-size: 1.4rem;
	}
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	vertical-align: top;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;

	@media screen and (max-width: 767px) {
		/* スマホ画像長押し禁止対策 */
		pointer-events: none;
	}
}


/* ------------------------------------------- */
/* 印刷用の設定 */
/* ------------------------------------------- */
@media print {
	html {
		font-size: calc(10 / 1919 * 100 * 14px);
	}

	body {
		-webkit-print-color-adjust: exact;
		position: relative;
		width: 1400px;
		zoom: 70%;
	}
}

@page {
	size: A4;
	margin: 10mm;
}

/* ------------------------------------------- */
/* デバッグ用：スクロールバーを0pxに
/* ------------------------------------------- */
.deve body {
	--sb-track-color: #ddd;
	--sb-thumb-color: #000;
	--sb-size: 0;
	/* scrollbar-color: var(--sb-thumb-color) var(--sb-track-color); */
	overflow-x: hidden;
}

.deve body::-webkit-scrollbar {
	width: var(--sb-size);
}

.deve body::-webkit-scrollbar-track {
	background: var(--sb-track-color);
	border-radius: 1px;
}

.deve body::-webkit-scrollbar-thumb {
	background: var(--sb-thumb-color);
	border-radius: 1px;
}

/* --------------------------------------------------------------- */
/* wrapper */
/* --------------------------------------------------------------- */
#wrapper {
	/* overflow: clip; */
}

.menu-active {
	/* overflow: hidden; */
}

/* --------------------------------------------------------------- */
/* header */
/* --------------------------------------------------------------- */
#header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 6.4rem;
	padding-left: 8.4rem;
	padding-right: 2.4rem;
	background-color: #fff;
	display: flex;
	/* justify-content: space-between; */
	justify-content: flex-end;
	align-items: center;
	z-index: 999;
	border-bottom: 0.2rem solid var(--line);

	.menu-btn {
		position: fixed;
		left: 0;
		top: 0;
		z-index: 1000;
		width: 6.4rem;
		height: 6.4rem;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: ease 0.3s all;
		border-right: 0.2rem solid var(--line);

		& span {
			display: block;
			position: relative;
			width: 1.8rem;
			height: 0.2rem;
			background: #000;

			&:before,
			&:after {
				content: "";
				position: absolute;
				left: 0;
				top: 0;
				width: 100%;
				height: 0.2rem;
				background: #000;
				transition: ease 0.3s all;
			}

			&:before {
				margin-top: -0.7rem;
			}

			&:after {
				margin-top: 0.7rem;
			}
		}
	}

	.nav {
		position: fixed;
		top: 0;
		left: -22.6rem;
		transition: left 0.3s ease;
		height: 100dvh;
		width: 22.6rem;
		background-color: #fff;
		padding: 8rem 2.4rem 4rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;

		.main-list {
			& li {

				& a {
					width: 100%;
					height: 5.2rem;
					border-radius: 2.6rem;
					display: flex;
					align-items: center;
					padding: 0 1.6rem;
					gap: 0.8rem;

					& img {
						width: 2.4rem;
					}

					& span {
						font-weight: 700;
						font-size: 1.4rem;
						line-height: 1.4;
						color: var(--gray3);
					}
				}
			}

			& li.active {
				& a {
					background-color: #f7f7f7;

					& img {
						filter: brightness(0);
					}

					& span {
						color: #000;
					}
				}
			}
		}

		.bottom-links {
			& a {
				display: block;
				margin-top: 1rem;
				font-weight: 500;
				font-size: 1.2rem;
				line-height: 1.4;
				color: var(--gray3);
			}
		}
	}

	.logo {
		/* width: 23.6rem; */
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 13.1rem;
	}

	.login-status {
		display: flex;
		align-items: center;

		#initials {
			display: flex;
			align-items: center;

			.initial {
				margin-left: -0.5rem;
				width: 2.6rem;
				height: 2.6rem;
				line-height: 2.2rem;
				border-radius: 50%;
				border: 0.2rem solid #fff;
				background-color: #000;
				text-align: center;
				color: #fff;
				font-size: 1.3rem;
				font-weight: 700;
			}
		}

		.rest-number {
			margin-left: 0.2rem;
			font-size: 1.4rem;
			font-weight: bold;
		}

		.member {
			margin-left: 1rem;
			margin-right: 2rem;
			font-size: 1.4rem;
			line-height: 1.4;
		}

		.login-switch {
			width: 10.2rem;
		}
	}
}

.menu-active {
	#header {
		.menu-btn {
			border-right: 0.2rem solid transparent;

			& span {
				background-color: transparent;

				&:before {
					margin-top: 0;
					transform: rotate(45deg);
					-webkit-transform: rotate(45deg);
				}

				&:after {
					margin-top: 0;
					transform: rotate(-45deg);
					-webkit-transform: rotate(-45deg);
				}
			}
		}

		.nav {
			left: 0;
		}
	}
}

/* --------------------------------------------------------------- */
/* breadcrumbs */
/* --------------------------------------------------------------- */
#breadcrumbs {
	padding: 2.4rem 0;

	@media screen and (max-width: 767px) {
		display: none;
	}

	& ol {
		display: flex;
		flex-wrap: wrap;
	}

	& li {
		position: relative;
		margin-right: 3.7rem;
		font-weight: 500;
		font-size: 1.2rem;
		letter-spacing: 0.1em;

		&:last-child {
			margin-right: 0;

			&:after {
				display: none;
			}
		}

		&:after {
			content: "";
			position: absolute;
			right: -2.7rem;
			top: 50%;
			z-index: 0;
			display: block;
			width: 1.4rem;
			height: 1px;
			background: #bcbcbc;

			&:last-child:after {
				display: none;
			}
		}
	}

	& a {
		text-decoration: underline;
		color: #7aa3c6;

		@media (hover: hover) and (pointer: fine) {
			&:hover {
				text-decoration: none;
			}
		}
	}
}

/* --------------------------------------------------------------- */
/* container */
/* --------------------------------------------------------------- */
#container {
	position: relative;
	padding-top: 6.4rem;
	background-color: #f5f5f5;
	min-height: 100dvh;
	overflow: auto;
}

/* --------------------------------------------------------------- */
/* contents */
/* --------------------------------------------------------------- */
#contents {}

/* --------------------------------------------------------------- */
/* footer */
/* --------------------------------------------------------------- */
#footer {}

/* ------------------------------------------- */
/* inner config */
/* ------------------------------------------- */
.inner {
	position: relative;
	margin: 0 auto;

	@media screen and (max-width: 767px) {
		width: calc(100% - 3rem);
	}
}

.w960 {
	max-width: 96rem;
}

.w1080 {
	max-width: 108rem;
}

.w1200 {
	max-width: 120rem;
}

.w1440 {
	/* max-width: 144rem; */
	min-width: 144rem;
	padding: 0 6.4rem;
	width: 100%;
}

/* ------------------------------------------- */
/* align */
/* ------------------------------------------- */
.tar {
	text-align: right;
}

.tal {
	text-align: left;
}

.tac {
	text-align: center;
}

/* --------------------------------------------------------------- */
/* common parts */
/* --------------------------------------------------------------- */

/* ------------------------------------------- */
/* common-area */
/* ------------------------------------------- */
.common-area {}

/* ------------------------------------------- */
/* common-title */
/* ------------------------------------------- */
.common-title {}

/* type01 */
.common-title.type01 {
	text-align: center;
}

/* ------------------------------------------- */
/* common-select */
/* ------------------------------------------- */
.common-select {}

/* ------------------------------------------- */
/* common-list */
/* ------------------------------------------- */
.common-list {}

/* ------------------------------------------- */
/* common-text */
/* ------------------------------------------- */
.common-text {}

/* ------------------------------------------- */
/* common-table */
/* ------------------------------------------- */
.common-table {
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;

	& p {
		margin-bottom: 2rem;

		&:last-child {
			margin-bottom: 0;
		}
	}
}

/* table-scroll */
@media screen and (max-width: 767px) {
	.table-scroll {
		position: relative;
		padding-bottom: 2rem;
		overflow-x: scroll;

		&:after {
			content: "←";
			position: absolute;
			right: 0;
			bottom: 0;
			z-index: 1;
			margin-left: -1.5rem;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			width: 3rem;
			height: 3rem;
			border-radius: 1.5rem;
			border: 0.1rem solid #000;
			animation: arrowtable 2s infinite forwards;
		}

		.common-table {
			width: 80rem;
		}
	}
}

@keyframes arrowtable {
	50% {
		opacity: 1;
		right: 0;
	}

	100% {
		opacity: 0;
		right: 100%;
	}
}

/* ------------------------------------------- */
/* アニメーション用 */
/* ------------------------------------------- */
/*
.moveFlag {
	position: relative;
	top: -5rem;
	opacity: 0;
	transition: ease 0.5s top, ease 0.5s opacity;
}
.moveFlag.on {
	top: 0;
	opacity: 1;
}
@media print {
	.moveFlag {
		top: 0;
		opacity: 1;
	}
}
*/

/* --------------------------------------------------------------- */
/*  margin padding */
/* --------------------------------------------------------------- */
.mb0 {
	margin-bottom: 0rem !important;
}

.mb10 {
	margin-bottom: 1rem !important;
}

.mb20 {
	margin-bottom: 2rem !important;
}

.mb30 {
	margin-bottom: 3rem !important;
}

.mb40 {
	margin-bottom: 4rem !important;
}

.mb50 {
	margin-bottom: 5rem !important;
}

.mb60 {
	margin-bottom: 6rem !important;
}

.mb70 {
	margin-bottom: 7rem !important;
}

.mb80 {
	margin-bottom: 8rem !important;
}

.mb90 {
	margin-bottom: 9rem !important;
}

.mb100 {
	margin-bottom: 10rem !important;
}

@media screen and (max-width: 767px) {
	.mb10 {
		margin-bottom: 0.5rem !important;
	}

	.mb20 {
		margin-bottom: 1rem !important;
	}

	.mb30 {
		margin-bottom: 1.5rem !important;
	}

	.mb40 {
		margin-bottom: 2rem !important;
	}

	.mb50 {
		margin-bottom: 2.5rem !important;
	}

	.mb60 {
		margin-bottom: 3rem !important;
	}

	.mb70 {
		margin-bottom: 3.5rem !important;
	}

	.mb80 {
		margin-bottom: 4rem !important;
	}

	.mb90 {
		margin-bottom: 4.5rem !important;
	}

	.mb100 {
		margin-bottom: 5rem !important;
	}
}

.mt0 {
	margin-top: 0rem !important;
}

.mt10 {
	margin-top: 1rem !important;
}

.mt20 {
	margin-top: 2rem !important;
}

.mt30 {
	margin-top: 3rem !important;
}

.mt40 {
	margin-top: 4rem !important;
}

.mt50 {
	margin-top: 5rem !important;
}

.mt60 {
	margin-top: 6rem !important;
}

.mt70 {
	margin-top: 7rem !important;
}

.mt80 {
	margin-top: 8rem !important;
}

.mt90 {
	margin-top: 9rem !important;
}

@media screen and (max-width: 767px) {
	.mt10 {
		margin-top: 0.5rem !important;
	}

	.mt20 {
		margin-top: 1rem !important;
	}

	.mt30 {
		margin-top: 1.5rem !important;
	}

	.mt40 {
		margin-top: 2rem !important;
	}

	.mt50 {
		margin-top: 2.5rem !important;
	}

	.mt60 {
		margin-top: 3rem !important;
	}

	.mt70 {
		margin-top: 3.5rem !important;
	}

	.mt80 {
		margin-top: 4rem !important;
	}

	.mt90 {
		margin-top: 4.5rem !important;
	}

	.mt100 {
		margin-top: 5rem !important;
	}
}

.pb0 {
	padding-bottom: 0 !important;
}

.pb10 {
	padding-bottom: 1rem !important;
}

.pb20 {
	padding-bottom: 2rem !important;
}

.pb30 {
	padding-bottom: 3rem !important;
}

.pb40 {
	padding-bottom: 4rem !important;
}

.pb50 {
	padding-bottom: 5rem !important;
}

.pb60 {
	padding-bottom: 6rem !important;
}

.pb70 {
	padding-bottom: 7rem !important;
}

.pb80 {
	padding-bottom: 8rem !important;
}

.pb90 {
	padding-bottom: 9rem !important;
}

.pb100 {
	padding-bottom: 10rem !important;
}

@media screen and (max-width: 767px) {
	.pb10 {
		padding-bottom: 0.5rem !important;
	}

	.pb20 {
		padding-bottom: 1rem !important;
	}

	.pb30 {
		padding-bottom: 1.5rem !important;
	}

	.pb40 {
		padding-bottom: 2rem !important;
	}

	.pb50 {
		padding-bottom: 2.5rem !important;
	}

	.pb60 {
		padding-bottom: 3rem !important;
	}

	.pb70 {
		padding-bottom: 3.5rem !important;
	}

	.pb80 {
		padding-bottom: 4rem !important;
	}

	.pb90 {
		padding-bottom: 4.5rem !important;
	}

	.pb100 {
		padding-bottom: 5rem !important;
	}
}

.pt0 {
	padding-top: 0 !important;
}

.pt10 {
	padding-top: 1rem !important;
}

.pt20 {
	padding-top: 2rem !important;
}

.pt30 {
	padding-top: 3rem !important;
}

.pt40 {
	padding-top: 4rem !important;
}

.pt50 {
	padding-top: 5rem !important;
}

.pt60 {
	padding-top: 6rem !important;
}

.pt70 {
	padding-top: 7rem !important;
}

.pt80 {
	padding-top: 8rem !important;
}

.pt90 {
	padding-top: 9rem !important;
}

.pt100 {
	padding-top: 10rem !important;
}

@media screen and (max-width: 767px) {
	.pt10 {
		padding-top: 0.5rem !important;
	}

	.pt20 {
		padding-top: 1rem !important;
	}

	.pt30 {
		padding-top: 1.5rem !important;
	}

	.pt40 {
		padding-top: 2rem !important;
	}

	.pt50 {
		padding-top: 2.5rem !important;
	}

	.pt60 {
		padding-top: 3rem !important;
	}

	.pt70 {
		padding-top: 3.5rem !important;
	}

	.pt80 {
		padding-top: 4rem !important;
	}

	.pt90 {
		padding-top: 4.5rem !important;
	}

	.pt100 {
		padding-top: 5rem !important;
	}
}

/* ------------------------------------------- */
/* pagination */
/* ------------------------------------------- */
.single-post-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: 7rem;

	@media screen and (max-width: 767px) {
		margin-top: 3.5rem;
	}

	.back {
		margin: 0 8.3rem;

		@media screen and (max-width: 767px) {
			margin: 0 1rem;
		}
	}

	.prev,
	.next {
		width: 14rem;

		@media screen and (max-width: 767px) {
			width: 4.6rem;
		}

		& a {
			position: relative;
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			width: 100%;
			height: 4.6rem;
			font-weight: 500;
			text-decoration: underline;
			letter-spacing: 0.08rem;
			color: #000;
			box-sizing: border-box;

			@media screen and (max-width: 767px) {
				padding: 0;
				font-size: 0;
				color: transparent;
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover {
					text-decoration: none;
				}
			}

			&:after {
				content: "";
				position: absolute;
				top: 50%;
				margin-top: -2.3rem;
				display: block;
				width: 4.6rem;
				height: 4.6rem;
				border-radius: 2.3rem;
				background-color: #2987d9;
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover:after {
					background-color: #2987d9;
				}
			}

			@media screen and (max-width: 767px) {
				&:after {
					width: 4.8rem;
					height: 4.8rem;
					margin-top: -2.4rem;
					border-radius: 0;
				}
			}

			&:before {
				content: "";
				position: absolute;
				top: 50%;
				z-index: 1;
				margin-top: -0.4rem;
				display: block;
				width: 0.8rem;
				height: 0.8rem;
				border-top: 0.2rem solid #fff;
				box-sizing: border-box;
				transition: ease 0.25s border;
			}
		}
	}

	.prev {
		& a {
			padding-left: 7.3rem;

			&:after {
				left: 0;
			}

			&:before {
				left: 2.2rem;
				border-left: 0.2rem solid #fff;
				-webkit-transform: rotate(-45deg);
				transform: rotate(-45deg);
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover:before {
					border-left-color: #fff;
				}
			}
		}
	}

	.next {
		& a {
			padding-right: 7.3rem;

			&:after {
				right: 0;
			}

			&:before {
				right: 2.2rem;
				border-right: 0.2rem solid #fff;
				-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
			}
		}
	}
}

/* navigation pagination */
.navigation.pagination {
	margin: 7rem 0 0;

	@media screen and (max-width: 767px) {
		margin: 3rem 0 0;
	}

	.disable {
		display: none;
	}

	.nav-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;

		@media screen and (max-width: 767px) {
			position: relative;
			padding-bottom: 5rem;
		}
	}

	.pager {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		margin: 0 0.8rem;
		width: 4.4rem;
		height: 5rem;
		font-family: "Roboto", sans-serif;
		font-weight: bold;
		letter-spacing: 0.08em;
		color: #2987d9;
		background: #fff;
		text-decoration: none;
		transition: ease 0.25s all;
		/* border-radius: 0.4em; */
		border: 0.1rem solid #2987d9;

		@media screen and (max-width: 767px) {
			width: 3rem;
			height: 3rem;
		}

		@media (hover: hover) and (pointer: fine) {
			&:hover {
				color: #fff;
				background: #2987d9;
				border-color: #2987d9;
			}
		}
	}

	.pager.current {
		color: #fff;
		font-weight: bold;
		background: #2987d9;
		border-color: #2987d9;
	}

	.next,
	.prev {
		@media screen and (max-width: 767px) {
			/*position: absolute;*/
			/*bottom: 0;*/
			/*width: 48%;*/
			/*height: 4rem;*/
		}

		& a {
			position: relative;
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			justify-content: center;
			width: 4.4rem;
			height: 5rem;
			font-size: 0;
			font-family: "Roboto", sans-serif;
			font-weight: bold;
			letter-spacing: 0.08em;
			text-decoration: none;
			color: #000;
			background: #fff;
			border: 0.1rem solid #2987d9;
			transition: ease 0.25s background, ease 0.25s color;

			@media screen and (max-width: 767px) {
				width: 2.8rem;
				height: 2.8rem;
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover {
					color: #fff;
					background-color: #2987d9;

					&:after {
						border-top-color: #fff;
					}
				}
			}

			&:after {
				content: "";
				position: absolute;
				top: 50%;
				margin-top: -0.4rem;
				display: block;
				width: 0.8rem;
				height: 0.8rem;
				border-top: 0.1rem solid #2987d9;
				box-sizing: border-box;
				transition: ease 0.25s border;
			}
		}
	}

	.prev {
		@media screen and (min-width: 767.01px) {
			margin-right: 0.8rem;
		}

		@media screen and (max-width: 767px) {
			margin-right: 1rem;
		}

		& a {
			&:after {
				left: 50%;
				margin-left: -0.2rem;
				border-left: 0.1rem solid #2987d9;
				-webkit-transform: rotate(-45deg);
				transform: rotate(-45deg);
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover:after {
					border-left-color: #fff;
				}
			}
		}
	}

	.next {
		@media screen and (min-width: 767.01px) {
			margin-left: 0.8rem;
		}

		@media screen and (max-width: 767px) {
			margin-left: 1rem;
			/*right: 0;*/
		}

		& a {
			&:after {
				right: 50%;
				margin-right: -0.2rem;
				border-right: 0.1rem solid #2987d9;
				-webkit-transform: rotate(45deg);
				transform: rotate(45deg);
			}

			@media (hover: hover) and (pointer: fine) {
				&:hover:after {
					border-right-color: #fff;
				}
			}
		}
	}
}

input[type="radio"] {
	cursor: pointer;
}

input[type="text"].disable {
	background-color: #ededed !important;
	pointer-events: none !important;
}

input[type="text"]:focus {
	border: 0.2rem solid var(--line) !important;
}

input[type="text"].error {
	background-color: #fcf5f6 !important;
	border: 0.2rem solid #ff002b !important;
}

input[type="date"] {
	width: 12rem;
	height: 4.2rem;
	border: 0.1rem solid var(--line);
	border-radius: 0.4rem;
	font-size: 1.4rem;
	line-height: 1.4;
	font-family: Noto Sans JP;
	letter-spacing: 0.05em;
	padding: 0 0.5rem;
}

input[type="time"] {
	width: 8.5rem;
	height: 4.2rem;
	border: 0.1rem solid var(--line);
	border-radius: 0.4rem;
	font-size: 1.4rem;
	line-height: 1.4;
	font-family: Noto Sans JP;
	letter-spacing: 0.05em;
	padding: 0 0.5rem;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
	width: 1.5rem;
	height: 1.5rem;
	opacity: 0.5;
	cursor: pointer;
}

.range-separator {
	font-size: 1.4rem;
	line-height: 1.4;
	font-family: Noto Sans JP;
	color: var(--gray3);
}

html.is-modal-open,
body.is-modal-open {
	overflow: hidden;
}

.common-modal-overlay {
	display: none;
	width: 100dvw;
	height: 100dvh;
	position: fixed;
	z-index: 1110;
	top: 0;
	left: 0;
	background-color: gray;
	opacity: 0.8;
}

.common-modal {
	display: none;
	width: 72rem;
	max-width: calc(100vw - 4rem);
	background-color: #fff;
	position: fixed;
	z-index: 1111;
	top: 50dvh;
	left: 50dvw;
	transform: translate(-50%, -50%);
	border-radius: 1.6rem;
	overflow: hidden;

	.modal-head {
		padding: 2.8rem;
		font-weight: 500;
		font-size: 2.2rem;
		line-height: 1.4;
		border-bottom: 0.2rem solid var(--line);
		position: relative;

		.extra-btns {
			position: absolute;
			right: 2.8rem;
			top: 50%;
			transform: translateY(-50%);
			display: flex;
			gap: 0.6rem;

			.white {
				width: 14.4rem;
			}

			.black {
				width: 11.2rem;
			}
		}
	}

	.modal-main {
		padding: 4.8rem;
		/* max-height: 48rem; */
		max-height: min(48rem, calc(100dvh - 22rem));
		overflow: auto;

		.normal-text {
			line-height: 1.6;
		}

		.gray-box {
			margin-top: 2.4rem;
			background-color: var(--gray);
			border-radius: 0.4rem;
			border: 0.3rem dashed var(--line);
			padding: 5.6rem 0;

			.text1 {
				font-weight: 700;
				font-size: 1.4rem;
				line-height: 1.6;
				text-align: center;
			}

			.text2 {
				margin-top: 1.2rem;
				font-size: 1.1rem;
				line-height: 1.6;
				text-align: center;
			}

			.common-btn {
				margin: 1.2rem auto 0;
			}
		}

		.shop-tree {
			height: 42rem;
			overflow: auto;
			padding: 2rem 3.2rem;
			border: 0.2rem solid var(--line);
			border-radius: 0.8rem;

			& input[type="checkbox"] {
				display: none;
			}

			.tree-item {
				position: relative;
				padding: 1.2rem 0;
				border-bottom: 0.1rem solid var(--line);

				.check-label {
					font-size: 1.4rem;
					line-height: 1.4;
					display: flex;
					align-items: center;
					cursor: pointer;

					& input {
						appearance: none;
						width: 2.4rem;
						height: 2.4rem;
						background-image: url(../img/common/icon_not_checked.svg);
						background-size: contain;
						background-repeat: no-repeat;
						margin: 0 0.5rem 0 0;
						cursor: pointer;
					}

					& input:checked {
						background-image: url(../img/common/icon_checked.svg);
					}

					& input:indeterminate {
						background-image: url(../img/common/icon_partial_checked.svg);
					}
				}
			}

			.level-1,
			.level-2,
			.level-3 {
				position: relative;
			}

			.level-1,
			.level-2 {
				.state {
					position: absolute;
					right: 0.8rem;
					top: 1.4rem;
					z-index: 1;
					transition: transform ease 0.3s;
				}

				.state.open {
					transform: rotate(180deg);
				}

				.state+ul {
					overflow: hidden;
					display: block;
				}


				.state.open+ul {
					display: none;
				}
			}

			.level-2,
			.level-3 {
				padding-left: 2.4rem;
			}
		}

		.dark-gray-box {
			background-color: var(--gray3);
			padding: 11.2rem 0;

			& p {
				font-weight: 500;
				font-size: 2.2rem;
				line-height: 1.6;
				text-align: center;
				color: #fff;
			}
		}

		.red-text {
			padding: 3rem 0;
			font-weight: 500;
			line-height: 1.6;
			text-align: center;
			color: #FF002B;
		}

		.black-text {
			padding: 3rem 0;
			font-weight: 500;
			line-height: 1.6;
			text-align: center;
		}

		.filter-container {
			margin-top: 3.2rem;
			/* display: grid; */
			/* grid-template-columns: 18.2rem 18.2rem; */
			display: flex;
			gap: 2.2rem;
			align-items: center;
		}

		.filter-item {
			position: relative;

			.text-label {
				display: block;
				margin-bottom: 1.6rem;
				font-weight: 700;
				font-size: 1.4rem;
				line-height: 1.4;
			}

			& input[type="text"] {
				height: 4.2rem;
				border: 0.1rem solid var(--line);
				border-radius: 0.4rem;
				font-size: 1.4rem;
				line-height: 1.4;
				color: #000;
				/* background-color: #f5f5f5; */
				padding: 0 1.6rem;
				width: 100%;
			}

			input[type="text"]::placeholder {
				font-size: 1.4rem;
				line-height: 1.4;
				font-family: Noto Sans JP;
				color: var(--gray3);
			}

			.absolute-icon {
				position: absolute;
				left: 1.2rem;
				bottom: 1.2rem;
				width: 2rem;
				pointer-events: none;
			}

			.datetime-group {
				display: flex;
				gap: 0.5rem;
				align-items: center;
			}
		}

		.filter-item.with-icon {

			& input[type="text"] {
				padding-left: 4rem;
			}
		}

		.filter-item:first-child {
			padding-right: 2rem;
		}

		.filter-item:last-child {

			&::before {
				content: "〜";
				position: absolute;
				left: -2.8rem;
				bottom: 1rem;
				font-size: 1.4rem;
				line-height: 1.4;
				color: var(--gray3);
			}
		}

		.modal-table-wrapper1 {

			& table {
				width: 100%;

				& thead {
					& tr {
						display: grid;
						grid-template-columns: 0.8fr 2fr repeat(5, 1fr);

						& th {
							border: 0.1rem solid var(--line);
							padding: 1.2rem 1rem;
							background-color: var(--gray);
							font-size: 1.4rem;
							line-height: 1.4;
							text-align: left;
						}
					}
				}

				& tbody {
					& tr {
						display: grid;
						grid-template-columns: 0.8fr 2fr repeat(5, 1fr);

						& td {
							border: 0.1rem solid var(--line);
							padding: 1.2rem 1rem;
							font-size: 1.4rem;
							line-height: 1.4;
						}

						& td:nth-child(2) {
							overflow: hidden;
							white-space: nowrap;
							text-overflow: ellipsis;
						}
					}
				}
			}
		}

		.modal-table-wrapper2 {
			& input[type="text"] {
				height: 4.2rem;
				border: 0.1rem solid var(--line);
				border-radius: 0.4rem;
				font-size: 1.4rem;
				line-height: 1.4;
				color: #000;
				/* background-color: #f5f5f5; */
				padding: 0 1.6rem;
				width: 100%;
			}



			& table {
				& th {
					border: 0.1rem solid var(--line);
					padding: 1.2rem 1rem;
					background-color: #000;
					font-size: 1.4rem;
					line-height: 1.4;
					text-align: left;
					color: #fff;
				}
				& td {
					border: 0.1rem solid var(--line);
					padding: 1.2rem 1rem;
					font-size: 1.4rem;
					line-height: 1.4;
				}

				& thead {
					& tr {
						display: grid;
						grid-template-columns: 20rem;
						grid-auto-flow: column;
						grid-auto-columns: minmax(20.6rem, 33.6rem);
						overflow: auto;
						inline-size: 100%;
					}
				}

				& tbody {
					& tr {
						display: grid;
						grid-template-columns: 20rem;
						grid-auto-flow: column;
						grid-auto-columns: minmax(20.6rem, 33.6rem);
						overflow: auto;
						inline-size: 100%;

						& td:nth-child(1) {
							overflow: hidden;
							white-space: nowrap;
							text-overflow: ellipsis;
						}
					}

					& tr.gray {
						& td {
							background-color: var(--gray);
						}
					}
				}
      }

      table.distribution-count thead tr,
      table.distribution-count tbody tr {
        display: grid;
        grid-template-columns: 3fr repeat(3, 1fr);
        grid-auto-flow: initial;
        grid-auto-columns: initial;
      }

		}

		.row {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.pair {
				padding: 1.6rem;
				display: flex;
				align-items: center;
				gap: 0.8rem;
				background-color: var(--gray);
				border-radius: 0.4rem;

				.key {
					font-size: 1.4rem;
					font-weight: 500;
					color: var(--gray3);
				}

				.value {
					font-size: 1.4rem;
					font-weight: 500;
				}
			}

			.detail {
				padding: 1.1rem 0.8rem 1.1rem 1.6rem;
				display: flex;
				align-items: center;

				& span {
					font-size: 1.4rem;
					font-weight: 500;
				}

				& img {
					width: 2rem;
				}
			}
		}

		.modal-list {
			border-radius: 1.6rem;

			.th {
				padding: 1.1rem 0;
				display: grid;
				grid-template-columns: 4fr repeat(6, 1fr);
				align-items: center;

				.name {
					font-weight: 500;
					font-size: 1.2rem;
					line-height: 1.4;
					color: var(--gray3);
				}

				.name:first-child {
					padding-left: 3rem;
				}
			}

			.td {
				border-top: 0.2rem solid var(--line);
				padding: 2.4rem 0;
				display: grid;
				grid-template-columns: 4fr repeat(6, 1fr);
				align-items: center;

				& p {
					font-size: 1.4rem;
					line-height: 1.4;
				}

				.blue-title {
					padding: 0 3rem;
					color: var(--blue);
					white-space: nowrap;
					overflow: hidden;
					text-overflow: ellipsis;
				}

				.status {
					position: relative;
					/* padding-left: 1em; */

					/* &::before {
						content: "";
						width: 0.8rem;
						height: 0.8rem;
						border-radius: 50%;
						position: absolute;
						left: 0;
						top: 50%;
						transform: translateY(-50%);
					} */
				}

				.status.confirmed {
					&::before {
						background-color: var(--green);
					}
				}

				.status.doing {
					&::before {
						background-color: var(--blue);
					}
				}

				.status.done {
					&::before {
						background-color: var(--gray3);
					}
				}
			}
		}

		.attr-columns {
			display: grid;
			grid-template-columns: 3fr 2fr;
			gap: 2rem;

			.attr-col {
				max-height: 38rem;
				overflow: auto;

				.attr-item {
					font-size: 1.4rem;
					line-height: 1.4;
					display: flex;
					align-items: center;
					cursor: pointer;
					padding: 1.2rem;
					border-bottom: 0.1rem solid var(--line);

					& input {
						display: none;
					}

					.fake-checkbox {
						appearance: none;
						width: 2.4rem;
						height: 2.4rem;
						background-image: url(../img/common/icon_not_checked.svg);
						background-size: contain;
						background-repeat: no-repeat;
						margin: 0 0.5rem 0 0;
					}

					& input:checked+.fake-checkbox {
						background-image: url(../img/common/icon_checked.svg);
					}
				}
			}

			.attr-col:first-child {
				background-color: #fff;
			}

			.attr-col:last-child {
				background-color: #f7f7f7;
			}
		}
	}

	.modal-foot {
		padding: 2.4rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-top: 0.2rem solid var(--line);

		& button {
			width: 16rem;
		}
	}
}

.common-modal.wide {
	width: 105.6rem;
}

.common-modal.mini {
	width: 54rem;

	.modal-main {
		padding: 1.6rem;
	}
}

.common-modal.table {
	width: 80rem;

	.modal-main {
		padding: 0;
	}
}

.common-modal.tiny {
	width: 24rem;

	.modal-main {
		padding: 1rem;
	}
}


/* .common-download {
	border: 0.1rem solid var(--line);
	border-radius: 0.4rem;
	height: 4.2rem;
	padding-left: 1.2rem;
	padding-right: 1.6rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.8rem;

	& img {
		width: 2rem;
	}

	& span {
		font-size: 1.4rem;
		line-height: 1.4;
		color: #000;
	}
} */

button.common-btn {
	border-radius: 0.4rem;
	height: 4.2rem;
	padding: 0 1.4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.8rem;

	& img {
		width: 2rem;
	}

	& span {
		font-size: 1.4rem;
		white-space: nowrap;
	}
}

button.light {
	background-color: #fff;
	border: 0.1rem solid var(--line);

	&:hover {
		background-color: #ededed !important;
	}
}

button.dark {
	color: #fff;
	font-weight: 700;
	background-color: #000;

	& span {
		color: #fff;
		font-weight: 700;
	}

	&:hover {
		background-color: #4c4c4c !important;
	}
}

button.inactive {
	background-color: var(--gray2);
	pointer-events: none;
}

.sub-menu-bar {
    height: 5.6rem;
    padding: 0 2.4rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 6.4rem;
    left: 0;
    z-index: 900;
    border-bottom: 0.2rem solid var(--line);


    .lefty {
        display: flex;
        align-items: center;
        gap: 0.8rem;

        & img {
            width: 2rem;
        }

        & span {
            font-size: 1.4rem;
            line-height: 1.4;
        }
    }

    .righty {
        display: flex;
        align-items: center;
        gap: 0.6rem;

        .dark {
            width: 11.2rem;
        }

        .status {
            padding-left: 1.8rem;
            display: flex;
            align-items: center;
            gap: 3.2rem;

            .key {
                font-weight: 600;
                font-size: 1.2rem;
                line-height: 1.4;
                color: var(--gray3);
            }

            .value {
                font-size: 1.4rem;
                line-height: 1.4;
                position: relative;

                &::before {
                    content: "";
                    width: 0.8rem;
                    height: 0.8rem;
                    border-radius: 50%;
                    position: absolute;
                    left: -1.5rem;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }

            .value.confirmed {
                &::before {
                    background-color: var(--green);
                }
            }

            .value.doing {
                &::before {
                    background-color: var(--blue);
                }
            }

            .value.done {
                &::before {
                    background-color: var(--gray3);
                }
            }
        }

    }
}

.select-wrap {
  position: relative;
  height: 4.2rem;

  & select {
    width: 100%;
    height: 100%;
    border: 0.1rem solid var(--line);
    border-radius: 0.4rem;
    padding-left: 1.6rem;
    font-size: 1.4rem;
    line-height: 1.4;
    cursor: pointer;
  }

  .chevron {
    position: absolute;
    right: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    pointer-events: none;
  }
}

.lists {
  margin-top: 1.6rem;

  .list {
    background-color: #f7f7f7;
    height: 6.6rem;
    margin-top: 0.8rem;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding-left: 2.4rem;
    padding-right: 2rem;

    .text1 {
      white-space: nowrap;
      font-weight: 500;
      font-size: 1.4rem;
      line-height: 1.4;
    }

    .text2 {
      font-weight: 600;
      font-size: 1.2rem;
      line-height: 1.4;
      color: var(--gray3);
    }

    .text3 {
      padding: 1rem 1.6rem;
      border: 0.1rem solid var(--line);
      border-radius: 0.4rem;
      font-size: 1.4rem;
      line-height: 1.4;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .delete {
      & img {
        width: 2.4rem;
      }
    }
  }
}

.text-area-field {
  margin-top: 2.6rem;

  & label {
    display: block;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  & textarea {
    padding: 1.8rem 2.2rem;
    width: 100%;
    height: 10.2rem;
    border-radius: 0.4rem;
    border: 0.1rem solid var(--line);
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

/**
 * ローディング中に表示するSpinner用
 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 4rem;
  height: 4rem;
  border: 0.4rem solid #e0e0e0;
  border-top: 0.4rem solid #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
