@charset "utf-8";

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

/* Reset
---------------------------------------------*/

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%;
	vertical-align: baseline;
	background: transparent;
}

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

ul,
ol {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

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

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

input,
select {
	vertical-align: middle;
}


/* Basic Settings
---------------------------------------------*/

*,
*:before,
*:after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	text-align: left;
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	font-weight: 500;
	/* 游ゴシックがWindowsのGoogleChromeで細くなる用対策 */
	color: #000;
	font-size: 1.5rem;
	line-height: 1.6;
	letter-spacing: 0;
	color: #222;
	-webkit-text-size-adjust: 100%;
	background-color: #fff;
}

a {
	color: #222;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: none;
	outline: none;
}

a:active {
	outline: none;
}

.en {
	font-family: 'arial', sans-serif;
}

.clear {
	clear: both;
}

.center {
	text-align: center;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

/* FLOAT */
.fleft {
	float: left;
}

.fright {
	float: right;
}

input,
select,
textarea,
button {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	font-weight: 500;
	/* 游ゴシックがWindowsのGoogleChromeで細くなる用対策 */
}

input:focus,
select:focus,
textarea:focus {
	outline: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* CLEARFIX */
.cl:after {
	content: " ";
	display: block;
	clear: both;
}

.close {
	display: none;
}


/*---------------------------------------------
 Container 全ページ共通
---------------------------------------------*/

.container {
	width: fit-content;
}

.contents {
	min-width: 100%;
	width: fit-content;
	padding-right: 1.5vw;
	padding-bottom: 150px;
	padding-left: 1.5vw;
}




/*---------------------------------------------
 HEADER　全ページ共通
---------------------------------------------*/

header {
	z-index: 9999;
	position: sticky;
	left: 0;
	width: var(--disp-area-width);
	height: 130px;
	background-color: #fff;
}

/* logo */
header h1 {
	z-index: 100;
	position: absolute;
	top: 12px;
	left: 1.5%;
	width: 140px;
	height: auto;
}


/* Nav
---------------------------------------------*/

.gnav {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 48px;
	font-size: 1.5rem;
	line-height: 1.2;
	padding-left: 1.5%;
	background-color: #285CB1;
}

.gnav ul {
	padding-left: 2px;
}

.gnav ul li {
	display: inline-block;
	margin-right: 60px;
}

.gnav ul li a {
	cursor: pointer;
	position: relative;
	display: inline-block;
	color: #fff;
	padding: 14px 5px 4px 5px;
}

.gnav ul li a:hover {
	color: #fff;
}

/* Number Mark */
.gnav ul li .number-mark {
	display: block;
	position: absolute;
	top: 11px;
	right: -32px;
	width: 25px;
	height: 25px;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	text-align: center;
	padding-top: 7px;
	border-radius: 50%;
	background-color: #F24C4C;
}

/* current */
body.student .gnav ul li.gnav-student a,
body.sales .gnav ul li.gnav-sales a,
body.entry .gnav ul li.gnav-entry a,
body.staff .gnav ul li.gnav-staff a {
	border-bottom: 2px solid #fff;
	pointer-events: none;
	cursor: default;
}


/* Header User　ヘッダー右端の情報
---------------------------------------------*/

.header-usericon {
	cursor: pointer;
	position: absolute;
	top: 40px;
	right: 5vw;
	height: 20px;
	color: #000;
	font-size: 1.5rem;
	line-height: 1.2;
	padding-right: 27px;

	display: block flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.header-usericon::before {
	content: "";
	display: block;
	position: absolute;
	top: 0px;
	right: 0;
	width: 17px;
	height: 17px;
	border: 1px solid #000;
	border-radius: 50%;
}

.header-usericon::after {
	content: "";
	position: absolute;
	top: 5px;
	right: 6px;
	display: block;
	width: 5px;
	height: 5px;
	border-bottom: solid 1px #000;
	border-right: solid 1px #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.header-usericon.open::after {
	top: 7px;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.header-notice-badge {
	display: block flex;
	align-items: center;
	justify-content: center;

	height: 150%;
	aspect-ratio: 1;
	border-radius: 50%;
	background-color: #ff1010;
	color: #ffffff;
}

/* White */
.header-usericon.wh {
	color: #fff;
}

.header-usericon.wh::before {
	border-color: #fff;
}

.header-usericon.wh::after {
	border-bottom-color: #fff;
	border-right-color: #fff;
}

/* Number Mark */
.header-usericon .number-mark {
	display: block;
	position: absolute;
	top: -6px;
	right: -37px;
	min-width: 25px;
	height: 25px;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	text-align: center;
	padding: 7px 3px 0 3px;
	border-radius: 50%;
	background-color: #F24C4C;
}

/* Header Usermenu
---------------------------------------------*/

.header-usermenu {
	z-index: 100;
	position: absolute;
	top: 82px;
	right: calc(5vw - 12px);
	width: 250px;
	text-align: center;
	padding-top: 40px;
	padding-bottom: 45px;
	margin-left: -90px;
	border: 2px solid #009AA8;
	border-radius: 3px;
	background-color: #fff;
}

.header-usermenu.open {
	display: block;
}

.header-usermenu-text {
	color: #000;
	font-size: 1.3rem;
	line-height: 1.2;
}

.header-usermenu-btn1 button {
	cursor: pointer;
	display: block;
	width: 75%;
	height: 40px;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	margin: 45px auto 0 auto;
	border: none;
	border-radius: 3px;
	background-color: #6AABDE;
}

.header-usermenu-btn1 button:hover {
	background-color: #5f99c7;
}

button.header-usermenu-btn2,
.header-usermenu-btn2 button {
	cursor: pointer;
	display: block;
	width: 50%;
	height: 25px;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	margin: 35px auto 0 auto;
	border: none;
	border-radius: 3px;
	background-color: #575858;
}

button.header-usermenu-btn2,
.header-usermenu-btn2 button:hover {
	background-color: #444;
}

.header-usermenu-close-btn::before {
	content: "";
	display: block;
	position: absolute;
	top: 6px;
	right: 2px;
	width: 12px;
	height: 2px;
	background-color: #000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.header-usermenu-close-btn::after {
	content: "";
	display: block;
	position: absolute;
	top: 6px;
	right: 2px;
	width: 12px;
	height: 2px;
	background-color: #000;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}




/* 閉じるボタン× */
.close-button {
	--button-size: 20px;
	--line-width: 2px;
	--line-length: 12px;
	--cross-mark-color: #000000;
	--border-size: 1px;
	--border-color: #000000;
	--button-background: #ffffff;
	cursor: pointer;
	display: block;
	position: absolute;
	aspect-ratio: 1;
	top: 10px;
	right: 8px;
	height: var(--button-size);
	border: solid var(--border-size) var(--border-color);
	border-radius: 50%;
	background-color: var(--button-background);
}

.close-button::before,
.close-button::after {
	content: "";
	display: block;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: var(--line-width);
	height: var(--line-length);
	background-color: var(--cross-mark-color);
}

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

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

/*/閉じるボタン× */

/* #region ＋ボタン－ボタン */
.minus-button {
	--button-size: 1em;
	--line-width: calc(var(--button-size) * 0.1);
	--line-length: calc(var(--button-size) * 0.6);
	--border-width: calc(var(--button-size) * 0.1);
	--button-color: #ffc0c0;
	--icon-color: red;

	cursor: pointer;
	display: block;
	position: relative;
	aspect-ratio: 1;
	height: var(--button-size);
	padding: 0;
	background-color: #00000000;
	border-radius: 50%;
	border: solid var(--border-width) var(--icon-color);
}

.minus-button:hover {
	background-color: var(--button-color);
}

.minus-button::before {
	content: "";
	display: block;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: var(--line-length);
	height: var(--line-width);
	background-color: var(--icon-color);
}

.plus-button {
	--button-size: 1em;
	--line-width: calc(var(--button-size) * 0.1);
	--line-length: calc(var(--button-size) * 0.6);
	--border-width: calc(var(--button-size) * 0.1);
	--button-color: #c0ffc0;
	--icon-color: green;

	cursor: pointer;
	display: block;
	position: relative;
	aspect-ratio: 1;
	height: var(--button-size);
	padding: 0;
	background-color: #00000000;
	border-radius: 50%;
	border: solid var(--border-width) var(--icon-color);
}

.plus-button:hover {
	background-color: var(--button-color);
}

.plus-button::before,
.plus-button::after {
	content: "";
	display: block;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: var(--line-length);
	height: var(--line-width);
	background-color: var(--icon-color);
}

.plus-button::after {
	transform: rotate(90deg);
}

/* #endregion */

/* #region ページネーション */

.pagenation-box {
	position: sticky;
	width: calc(var(--disp-area-width) / 2);
	left: calc(var(--disp-area-width) / 4);
	display: block flex;
	flex-direction: row;
	gap: 10px;
}

.pagenation-left,
.pagenation-center,
.pagenation-right {
	display: block flex;
	gap: 10px;
}

.pagenation-center {
	flex-direction: row;
}

/* 最初へ、前へ　最後へ、次への順番 */
.pagenation-left {
	flex-direction: row;
}

.pagenation-right {
	flex-direction: row-reverse;
}

.pagenation-left,
.pagenation-right {
	width: 100px;
	flex-grow: 0;
}

.pagenation-center {
	flex-grow: 1;
	justify-content: space-around;
}

.pagenation-button {
	position: relative;
	font-size: 1.2rem;
	color: #222;
	background-color: #0000;

	display: block flex;
	align-items: center;
	justify-content: center;
}

.pagenation-center>.pagenation-button {
	width: 30px;
	height: 26px;
}

.pagenation-dummy::before {
	content: '…';
}

.pagenation-first::before {
	content: '最初へ';
}

.pagenation-last::before {
	content: '最後へ'
}

.pagenation-dummy::before,
.pagenation-first::before,
.pagenation-last::before {
	width: fit-content;
}

.pagenation-prev,
.pagenation-next {
	width: 30px;
}

.pagenation-prev::before,
.pagenation-next::before {
	content: '';
	display: block;
	position: absolute;
	width: 9px;
	height: 9px;
	border-top: solid 2px #111;
	border-left: solid 2px #111;
}

.pagenation-prev::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.pagenation-next::before {
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}

.pagenation-button.current {
	background-color: #6aabde;
	pointer-events: none;
}

.pagenation-button.dummy {
	pointer-events: none;
}

.pagenation-button:hover {
	background-color: #ccc;
	color: #fff;
}

/* #endregion ページネーション */

:root {
	--on-hover-brightness-value: 1.2;
}

.bright-on-hover:hover:not(.disabled) {
	filter: brightness(var(--on-hover-brightness-value));
}

.gnav {
	--on-hover-brightness-value: 0.8;
}

.header-usericon:hover {
	filter: opacity(0.8);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

textarea {
	resize: vertical;
}

.number-input {
	text-align: right;
}

/* 必須 */
.required::before {
	content: "必須";
	display: inline-block;
	color: #fff;
	font-size: 1.1rem;
	text-align: center;
	padding: 4px 8px;
	margin-right: 10px;
	border-radius: 5px;
	background-color: #E60000;
}

/* 任意 */
.not-required::before {
	content: "任意";
	display: inline-block;
	color: #fff;
	font-size: 1.1rem;
	text-align: center;
	padding: 4px 8px;
	margin-right: 10px;
	border-radius: 5px;
	background-color: #A0A0A0;
}

.warning::before {
	content: "";
	display: inline-block;
	aspect-ratio: 1;
	border: none;
	background-image: url(/image/icon_caution.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 30px;
}

.caution {
	color: red;
	font-size: 0.8em;
}

.caution::before {
	content: '※';
}

/* 入力が不正な場合 */
:invalid:not(:focus):not(:placeholder-shown).changed {
	background-color: #f8c2c2 !important;
}

.disabled {
	pointer-events: none !important;
	background-color: #888 !important;
}

.pagenation-disabled {
	pointer-events: none;
	opacity: 0.35;
}


.password-preview-button {
	z-index: 10;
	cursor: pointer;
	display: block;
	position: absolute;
	top: 25%;
	right: 10px;
	aspect-ratio: 1;
	height: 50%;
	border: none;
}

.password-preview-button.password-hidden {
	background: url(/image/password-hidden.png) center center no-repeat;
	background-size: contain;
}

.password-preview-button.password-shown {
	background: url(/image/password-shown.png) center center no-repeat;
	background-size: contain;
}

input:focus,
select:focus {
	outline: solid 1px #222;
}

.draggable-list {
	list-style: decimal;
}

.draggable-list-item {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	border-top: solid 1px #80808080;
	border-bottom: solid 1px #80808080;
}

.draggable-list-dragover-top {
	border-top: solid 2px blue;
}

.draggable-list-dragover-bottom {
	border-bottom: solid 2px blue;
}

@media print {
	:has(.table-base) :not(:has(.table-base), .table-base, .table-base *) {
		display: none;
	}

	th,
	td {
		border: solid 1px #000;
	}

	table {
		border-collapse: collapse;
	}
}

.sticky {
	position: sticky;
	z-index: 5;
}

thead .sticky {
	z-index: 15 !important;
}

html {
	overscroll-behavior-x: none;
}
