/* -------------------------------------------------------------------------- */

/*	CSS Reset
/* -------------------------------------------------------------------------- */

html,
body {
	border: none;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

blockquote::before,
blockquote::after {
	content: "";
}

/* -------------------------------------------------------------------------- */

/*	Document Setup
/* -------------------------------------------------------------------------- */


html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: #fff;
	box-sizing: border-box;
	color: #111;
	font-family: -apple-system, BlinkMacSystemFont, YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size: 1.6rem;
	text-align: left;
}

*,
*::before,
*::after {
	box-sizing: inherit;
	-webkit-font-smoothing: antialiased;
	word-break: break-word;
	word-wrap: break-word;
}

/* Base Transitions -------------------------- */

a:hover {
	transition: all 0.15s linear;
}

/* -------------------------------------------------------------------------- */

/*	Element Base
/* ---------------------------------------------*---------------------------- */

main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-feature-settings: "lnum";
	font-variant-numeric: lining-nums;
	font-weight: 700;
	line-height: 1.25;
	margin: 3.5rem 0 2rem;
}

h1 {
	font-size: 2.8rem;
	line-height: 1.138888889;
}

h2 {
	font-size: 2.6rem;
}

h3 {
	font-size: 2.4rem;
}

h4 {
	font-size: 2.1rem;
}

h5 {
	font-size: 1.8rem;
}

h6 {
	font-size: 1.6rem;
}

p {
	line-height: 1.5;
	margin: 0 0 1em 0;
}

em,
i,
q,
dfn {
	font-style: italic;
}

em em,
em i,
i em,
i i,
cite em,
cite i {
	font-weight: bolder;
}

big {
	font-size: 1.2em;
}

small {
	font-size: 0.75em;
}

b,
strong,
.bold {
	font-weight: 700;
}

ins {
	text-decoration: underline;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

abbr,
acronym {
	cursor: help;
}

address {
	line-height: 1.5;
	margin: 0 0 2rem 0;
}

hr {
	border-style: solid;
	border-width: 0.1rem 0 0 0;
	border-color: #ccc;
	margin: 4rem 0;
}

a {
	color: #0066c0;
	text-decoration: underline;
}

a:hover,
a:focus {
	text-decoration: none;
}

/* Lists ------------------------------------- */

ul,
ol {
	margin: 0 0 3rem 0;
}

ul {
	list-style: disc;
}

ul ul {
	list-style: circle;
}

ul ul ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

ol ol {
	list-style: lower-alpha;
}

ol ol ol {
	list-style: lower-roman;
}

li {
	line-height: 1.5;
	margin: 0 0 0 2rem;
}

li > ul,
li > ol {
	margin: 1rem 0 0 2rem;
}

.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
	list-style: none;
	margin: 0;
}

.reset-list-style li {
	margin: 0;
}

dt,
dd {
	line-height: 1.5;
}

dt {
	font-weight: 700;
}

dt + dd {
	margin-top: 0.5rem;
}

dd + dt {
	margin-top: 1.5rem;
}

/* Media ------------------------------------- */

figure {
	display: block;
	margin: 0;
}

iframe {
	display: block;
	max-width: 100%;
}

video {
	display: block;
}

svg,
img,
embed,
object {
	display: block;
	height: auto;
	max-width: 100%;
}

figcaption {
	color: #6d6d6d;
	display: block;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	margin-top: 1.5rem;
}

figcaption a {
	color: inherit;
}

/* Inputs ------------------------------------ */

fieldset {
	border: 0.2rem solid #999;
	padding: 2rem;
}

legend {
	font-size: 0.85em;
	font-weight: 700;
	padding: 0 1rem;
}

label {
	display: block;
	font-size: 1.6rem;
	font-weight: 400;
	margin: 0 0 0.5rem 0;
}

label.inline,
input[type="checkbox"] + label {
	display: inline;
	font-weight: 400;
	margin-left: 0.5rem;
}

input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
	top: 2px;
	display: inline-block;
	margin: 0;
	width: 2rem;
	min-width: 2rem;
	height: 2rem;
	background: #fff;
	border-radius: 0.4rem;
	border-style: solid;
	border-width: 0.1rem;
	border-color: #999;
	box-shadow: none;
	cursor: pointer;
}

input[type="checkbox"]:checked::before {
	/* Use the "Yes" SVG Dashicon */
	content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23000000%27%2F%3E%3C%2Fsvg%3E");
	position: absolute;
	display: inline-block;
	margin: 0.05rem 0 0 -0.05rem;
	height: 1.75rem;
	width: 1.75rem;
}

input,
textarea,
button,
.button {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	line-height: 1;
}

input,
textarea,
select {
	border-color: #999;
	color: #000;
}

code,
input[type="url"],
input[type="email"],
input[type="tel"] {

	/*rtl:ignore*/
	direction: ltr;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #fff;
	border-radius: 0.4rem;
	border-style: solid;
	border-width: 0.1rem;
	box-shadow: none;
	display: block;
	font-size: 1.4rem;
	margin: 0;
	max-width: 100%;
	padding: 1rem;
	width: 100%;
}

input[type="text"]:disabled {
	background: #e5e5e5;
	color: #999;
}

select {
	border-radius: 0.4rem;
	border-width: 0.1rem;
	font-size: 1.4rem;
	line-height: 1;
	padding: 0.92rem 1rem 1rem;
}

select.is-small-select {
	font-size: 1em;
	padding: 0.2rem 0.4rem;
}

textarea {
	height: 12rem;
	line-height: 1.5;
	width: 100%;
}

input::-webkit-input-placeholder {
	line-height: normal;
}

input:-ms-input-placeholder {
	line-height: normal;
}

input::-moz-placeholder {
	line-height: revert; /* Reset to the value from the user-agent stylesheet. */
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
	display: none;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #008C38;
	border-style: solid;
	border-width: 0;
	border-radius: 0.4rem;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.25;
	margin: 0;
	opacity: 1;
	padding: 1rem 1.44em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.15s linear;
}

button:focus,
button:hover,
.button:focus,
.button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
	background: #07702A;
	transition: background 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus {
	border-color: currentColor;
	transition: border 0.3s;
}

input[type="search"]:focus {
	outline: thin dotted;
	outline-offset: -4px;
}

.radio {
	display: inline-block;
	margin-right: 2rem;
}

.radio label {
	display: inline-block;
	margin-bottom: 0;
}

/* Tables ------------------------------------ */

table {
	border: 0.1rem solid #111;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	font-size: 1.4rem;
	margin: 0 0 4rem;
}

th,
td {
	border: 0.1rem solid #111;
	line-height: 1.4;
	margin: 0;
	overflow: visible;
	padding: 0.5em;
	vertical-align: middle;
}

caption {
	background: #111;
	font-weight: 600;
	padding: 0.5em;
	text-align: center;
}

thead {
	vertical-align: bottom;
	white-space: nowrap;
}

th {
	font-weight: 700;
}

/* -------------------------------------------------------------------------- */

/*	Helper Classes
/* -------------------------------------------------------------------------- */

/* Layout ------------------------------------ */

.no-margin {
	margin: 0 !important;
}

.no-padding {
	padding: 0 !important;
}

/* Sections ---------------------------------- */

section,
.section {
	padding: 5rem 0;
	width: 100%;
}

.section-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 120rem;
	width: calc(100% - 4rem);
}

.section-inner.max-percentage {
	width: 100%;
}

.section-inner.thin {
	max-width: 58rem;
}

.section-inner.small {
	max-width: 80rem;
}

.section-inner.medium {
	max-width: 100rem;
}

/* Typography -------------------------------- */

.font-size-xl {
	font-size: 1.25em;
}

.font-size-md {
	font-size: 1em;
}

.font-size-xs {
	font-size: 0.8em;
}

/* Colors ------------------------------------ */

/* COLOR */

.color-red {
	color: red;
}

/* Align Class ------------------------------- */

/* TEXT */

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

/* BLOCK */

.block-center {
	margin-right: auto;
	margin-left: auto;
}

/* -------------------------------------------------------------------------- */

/*	Login Page
/* -------------------------------------------------------------------------- */

.login-notice-button {
	background: #c00;
	border-bottom: 0.4rem solid #a00;
	border-radius: 0.6rem;
	color: #fff;
	width: 25rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	display: block;
	margin: 4rem auto;
	padding: 1.2rem 2em;
	text-align: center;
}

.login-notice-button:hover {
	background: #a00;
	cursor: pointer;
	transition: background 0.3s;
}

.login-notice-content {
	font-size: 1.3rem;
	margin-right: auto;
	margin-left: auto;
	max-width: 62rem !important;
	width: 90%;
	overflow-y: auto;
	padding: 0 !important;
}

.login-notice-content #modal-content {
	padding: 1rem !important;
}

.login-notice-content .login-notice-title {
	background: #ffe6e6;
	font-size: 130%;
	font-weight: 700;
	padding: 1rem;
}

.login-notice-content p:last-of-type {
	margin-bottom: 0;
}

.login-form {
	background: #efefef;
	padding: 4rem 3rem;
	margin: 4rem auto 5rem;
	max-width: 41rem;
}

.login-form .title {
	border-bottom: 0.1rem solid #999;
	color: #333;
	font-size: 2rem;
	letter-spacing: 0.05em;
	margin-top: 0;
	padding-bottom: 0.5em;
}

.login-form .login-button {
	background: #008C38;
	margin-top: 1em;
	width: 100%;
}

.login-form .login-button:focus,
.login-form .login-button:hover {
	background: #07702A;
	transition: background 0.3s;
}

.login-form .tel {
	color: inherit;
	display: inline-block;
	letter-spacing: 0.03em;
	margin-top: 0.2em;
	text-decoration: none;
}

.login-form .tel .label-tel {
	background: #555;
	color: #fff;
	display: inline-block;
	font-size: 0.7em;
	line-height: 1;
	padding: 0.4rem 0.5rem 0.2rem;
	margin-right: 0.4em;
}

.text-error {
	color: red;
}

/* -------------------------------------------------------------------------- */

/*	Header
/* -------------------------------------------------------------------------- */

.header-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 120rem;
	width: calc(100% - 4rem);
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.header-user-info {
	text-align: right;
}

.header-user-info .logout-button {
	background: #666;
	font-size: 1.2rem;
	line-height: 1;
	padding: 0.7rem 1.44em;
	text-decoration: none;
}

.header-user-info .logout-button:hover {
	background: #555;
}

.header-user-info .username {
	position: relative;
}

.header-user-info .username::before {
	background: url("../images/icon_user.svg") no-repeat center bottom;
	background-size: contain;
	content: "";
	display: inline-block;
}

/* -------------------------------------------------------------------------- */

/*	Main
/* -------------------------------------------------------------------------- */

/* TITLE */

.title-h1 {
	background: #eee;
	color: #111;
	letter-spacing: 0.04em;
	margin: 0 0 3rem;
	position: relative;
}

.title-h1::before {
	background: #008C38;
	border-radius: 0.5rem;
	content: "";
	width: 0.4rem;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 1.5rem;
	margin: auto 0;
}

/* TABLE */

.table-style {
	margin-bottom: 5rem;
}

.table-style table {
	margin-bottom: 0;
}

.table-style table th {
	background: #ccc;
}

.table-style table td.th-style {
	background: #ccc;
}

.table-style .bg-active {
	background: #fede01;
}

.table-style .bg-active__y-green {
	background: #99d1af;
}

.is-scroll-table {
	overflow-x: auto;
	white-space: nowrap;
}

.is-stripe-table table tbody tr:nth-of-type(even) {
	background: #f4f4f4;
}

.is-stripe-table.is-sticky-table table tbody tr .fixed-first {
	background: #fff;
}

.is-stripe-table.is-sticky-table table tbody tr:nth-of-type(even) .fixed-first {
	background: #f4f4f4;
}

.is-noborder-table table,
.is-noborder-table table th,
.is-noborder-table table td {
	background: none;
	border: none;
}

/* BUTTON -------------------------------- */

.button-add {
	background: #eb6100;
}

.button-add:focus,
.button-add:hover {
	background: #cc5605;
}

.button-return {
	background: #fff;
	border-width: 0.1rem;
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
	color: #008C38;
}

.button-return:focus,
.button-return:hover {
	color: #fff;
}

.button-delete {
	background: #666;
}

.button-delete:focus,
.button-delete:hover {
	background: #555;
}

/* ICON ---------------------------------- */

span[class^="icon-"] {
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
	height: 1.5rem;
	width: 1.5rem;
	margin-top: -0.4rem;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.icon-search {
	background-image: url("../images/icon_search.svg");
}

.icon-add {
	background-image: url("../images/icon_add.svg");
}

.icon-update {
	background-image: url("../images/icon_update.svg");
}

.icon-cancel {
	background-image: url("../images/icon_cancel.svg");
}

.icon-notes {
	background-image: url("../images/icon_notice.svg");
}

/* -------------------------------------------------------------------------- */

/*	User Page
/* -------------------------------------------------------------------------- */

/* LIST ---------------------------------- */

.user-search-content {
	max-width: 50rem;
}

/* -------------------------------------------------------------------------- */

/*	Admin Page
/* -------------------------------------------------------------------------- */

/* MENU ---------------------------------- */

.menu-button-list li {
	display: inline-block;
	padding-right: 0.5rem;
	padding-bottom: 0.5rem;
}

.menu-button {
	background: #008C38;
	border-bottom: 0.4rem solid #07702A;
	border-radius: 0.6rem;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.1em;
	display: inline-block;
	padding: 1.2rem 2em;
	text-decoration: none;
}

.menu-button:hover {
	background: #07702A;
}

/* BUTTON -------------------------------- */

.button-list {
	margin: 4rem -0.5rem;
	overflow: hidden;
}

.button-list li {
	display: inline-block;
	margin: 0.5rem;
}

/* MODAL --------------------------------- */

#modal-overlay {
	background: #000;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	position: fixed;
	z-index: 97;
}

#modal-window {
	background: #fff;
	display: none;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	height: 90%;
	max-height: 38rem;
	max-width: 52rem;
	position: fixed;
	z-index: 98;
}

#modal-window > .modal-close {
	background: #757575;
	border-radius: 3rem;
	box-shadow: 0 0 0.2rem 0 #000;
	color: #fff;
	cursor: pointer;
	line-height: 3rem;
	height: 2.6rem;
	width: 2.6rem;
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	z-index: 99;
}

#modal-window > .modal-close::before,
#modal-window > .modal-close::after {
	background: #fff;
	content: "";
	height: 1.6rem;
	width: 0.2rem;
	position: absolute;
	top: 0.45rem;
	left: 1.17rem;
	z-index: 100;
}

#modal-window > .modal-close::before {
	transform: rotate(45deg);
}

#modal-window > .modal-close::after {
	transform: rotate(-45deg);
}

#modal-iframe {
	border: 0;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

.modal {
	overflow: hidden;
	padding: 0 2rem;
}

.modal-title-h1 {
	background: #eee;
	color: #008C38;
	font-size: 2rem;
	letter-spacing: 0.05em;
	margin: 2rem 0 5.5rem;
	padding: 1.5rem;
	text-align: center;
}

/* FORM COLUMN --------------------------- */

.form-columns {
	display: flex;
	margin: 0 -0.5rem;
	overflow: hidden;
}

.form-columns .form-column {
	margin: 0 0.5rem;
}

/* CONTENT CENTER ------------------------ */

.content-center {
	display: grid;
	justify-content: center;
}

/* -------------------------------------------------------------------------- */

/*	Media Queries
/* -------------------------------------------------------------------------- */

@media ( min-width: 768px ) {

	/* Header -------------------------------- */

	.header-inner {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.header-user-info {
		font-size: 1.4rem;
	}

	.header-user-info .username {
		margin-top: 0.8rem;
		margin-left: 1.8rem;
	}

	.header-user-info .username::before {
		height: 1.6rem;
		width: 1.6rem;
		position: absolute;
		top: 0;
		left: -1.8rem;
	}

	/* Main ---------------------------------- */

	/* TITLE */

	.title-h1 {
		font-size: 2.6rem;
		padding: 2rem 2rem 2rem 3rem;
	}

	.title-h1::before {
		height: calc(100% - 4rem);
	}
	

}

@media ( max-width: 767px ) {

	/* Header -------------------------------- */

	.header-logo {
		width: 14.9rem;
	}

	.header-user-info {
		font-size: 1.4rem;
	}

	.header-user-info .logout-button {
		position: absolute;
		top: 1.5rem;
		right: 2rem;
	}

	.header-user-info .username {
		margin-top: 1rem;
		margin-left: 1.6rem;
	}

	.header-user-info .username::before {
		height: 1.2rem;
		width: 1.2rem;
	}

	/* Main ---------------------------------- */

	/* TITLE */

	.title-h1 {
		font-size: 2rem;
		padding: 1.5rem 1.5rem 1.5rem 3rem;
	}

	.title-h1::before {
		height: calc(100% - 3rem);
	}

	/* TABLE */

	.is-sticky-table {
		white-space: normal;
	}

	.is-sticky-table th:not(.fixed-first),
	.is-sticky-table td:not(.fixed-first) {
		white-space: nowrap;
	}

	.is-sticky-table .fixed-first {
		position: sticky;
		left: 0;
		min-width: calc(50vw - 2rem);
	}

	.is-sticky-table .fixed-first::before,
	.is-sticky-table .fixed-first::after {
		content: "";
		height: 100%;
		position: absolute;
		top: 0;
		z-index: 1;
	}

	.is-sticky-table .fixed-first::before {
		border-left: 0.1rem solid #000;
		left: -0.1rem;
	}

	.is-sticky-table .fixed-first::after {
		border-right: 0.1rem solid #000;
		right: -0.1rem;
	}

}
