body {
	display: grid;
	grid-template-rows: 78px 1fr;
	grid-template-columns: 192px 1fr;
	position: relative;
	width: 100%;
	height: auto;
	min-height: 1200px;
	margin: 0;
	padding: 0;
	background-color: #F2F3F7;
	font-family: 'Roboto', 'Noto Sans JP';
	font-size: 13px;
	color: #333;
}

main {
	grid-area: 2/2/3/3;
	display: flex;
	padding: 30px 30px 80px;
	flex-direction: column;
}

p {
	margin: 0;
	padding: 0;
}

ul, li {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5 {
	margin: 0;
}

a {
	text-decoration: none;
	cursor: pointer;
}

input, button, select, textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	border-radius: 0;
	font: inherit;
	outline: none;
}

textarea {
	resize: vertical;
}

input[type='checkbox'], input[type='radio'] {
	display: none;
}

input[type='submit'], input[type='button'], label, button, select {
	cursor: pointer;
}

select::-ms-expand {
	display: none;
}

input:-webkit-autofill {
	box-shadow: 0 0 0px 1000px #fff inset;
}

/* ヘッダーメニュー */

.header-menu {
	grid-area: 1/1/2/3;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	position: fixed;
	width: 100%;
	height: 78px;
	padding: 8px 0;
	background-color: #2C3440;
	z-index: 10;
}

.header-menu .logo-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	width: 172px;
	margin: 0 20px 0 22px;
	color: #fff;
}

.header-menu .logo-wrap>.logo-txt span {
	display: block;
	width: 112px;
	height: 18px;
	line-height: 18px;
	font-size: 12px;
}

.header-menu .menu-button {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 85px;
	padding: 8px 0;
	margin-right: 28px;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}

.header-menu .menu-button span {
	display: block;
	width: 100%;
	height: 20px;
	line-height: 20px;
	text-align: center;
}

.header-menu .menu-button.selected span {
	color: #2C3440;
	background-color: #fff;
	border-radius: 4px;
}

.header-menu .menu-button.menu-logout {
	position: absolute;
	right: 0px;
}

.header-menu .logo-wrap:before, .header-menu .menu-button:before {
	display: block;
	content: "";
	background-repeat: no-repeat;
	background-position: top;
}

.header-menu .logo-wrap .logo-mark {
	display: block;
	width: 44px;
	height: 44px;
	text-decoration: none;
}

.header-menu .logo-wrap .logo-mark img {
	display: block;
	width: 100%;
	height: 100%;
}

.header-menu .menu-button:before {
	width: 64px;
	height: 32px;
	background-size: 40%;
}

.header-menu .menu-button.menu-csv {
	font-size: 10px;
}

.header-menu .menu-button.menu-search:before {
	background-image: url("../img/icon_search_white.svg");
}

.header-menu .menu-button.menu-filtering:before {
	background-image: url("../img/icon_calendar_white.svg");
}

.header-menu .menu-button.menu-signup:before {
	background-image: url("../img/icon_reg_white.svg");
}

.header-menu .menu-button.menu-logout:before {
	background-image: url("../img/icon_logout_white.svg");
}

.header-menu .menu-button.menu-csv:before {
	background-image: url("../img/icon_file_upload_wt.svg");
}

.header-menu .menu-button.how-to:before {
	content: "?";
	font-size: 16px;
	text-align: center;
	line-height: 26px;
	border: 1px solid;
	width: 26px;
	box-sizing: border-box;
	border-radius: 50%;
	height: 26px;
}

/* サイドメニュー */

.side-menu {
	grid-area: 1/1/3/2;
	position: fixed;
	box-sizing: border-box;
	width: 192px;
	height: 100%;
	padding: 80px 10px 0;
	background-color: #fff;
	z-index: 9;
	border-right: 1px solid #ddd;
}

.side-menu-title {
	width: 100%;
	height: 43px;
	line-height: 43px;
	text-indent: 17px;
	font-size: 13px;
	font-weight: 900;
	border-bottom: 1px solid #DDDDDD;
}

.side-menu-form {
	width: 100%;
	padding: 25px 14px 0;
}

.side-menu-input-wrap {
	position: relative;
	margin: 0 0 25px;
}

.side-menu-input-wrap .side-menu-input-title {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 600;
}

.side-menu-input-wrap .side-menu-input-title:before {
	display: block;
	content: "";
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.side-menu-input-wrap .side-menu-input-title.search-id-no:before {
	background-image: url("../img/icon_login_user.svg");
}

.side-menu-input-wrap .side-menu-input-title.search-month:before {
	background-image: url("../img/icon_calendar.svg");
}

.side-menu-input-wrap .side-menu-input-text, .side-menu-input-wrap .side-menu-input-select-value {
	position: relative;
	box-sizing: border-box;
	width: 144px;
	height: 36px;
	line-height: 36px;
	border: 1px solid #707070;
	border-radius: 8px;
	text-align: center;
}

.side-menu-input-wrap .side-menu-input-text:hover, .side-menu-input-wrap .side-menu-input-select-value:hover, .side-menu-input-wrap .side-menu-input-text:focus, .side-menu-input-wrap .side-menu-input-select-value:focus {
	border: 2px solid #5386E8;
}

.side-menu-input-wrap .side-menu-input-select-value {
	color: #AAAAAA;
	border-color: #AAAAAA;
	width: 175px;
	display: flex;
	align-items: center;
}

.side-menu-input-select-value:before {
	content: "";
	width: 20px;
	height: 20px;
	background-size: contain;
	background-image: url(http://wl.pokewaku.com/img/icon_calendar_gray.svg);
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: auto 20px auto 10px;
}

.side-menu-input-wrap .side-menu-input-select-value:after {
	display: block;
	position: absolute;
	content: "";
	background-image: url(http://wl.pokewaku.com/img/icon_arrow_left_gray.svg);
	background-size: contain;
	width: 20px;
	height: 20px;
	transform: rotate( -90deg);
	right: 10px;
}

.side-menu-input-wrap .side-menu-input-select {
	position: absolute;
	opacity: 0;
	box-sizing: border-box;
	width: 175px;
	height: 36px;
	z-index: 2;
}

.side-menu-submit-btn {
	position: relative;
	box-sizing: border-box;
	width: 144px;
	height: 50px;
	padding-left: 20px;
	line-height: 50px;
	border-radius: 25px;
	background-color: #5174B8;
	color: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
}

.side-menu-submit-btn:before {
	display: block;
	position: absolute;
	content: "";
	width: 20px;
	height: 20px;
	top: 15px;
	left: 20px;
	background-image: url("../img/icon_search_white.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* コンテンツ共通部分 */

.content-dialog {
	display: grid;
	box-sizing: border-box;
	min-width: 1350px;
	padding: 40px;
	background-color: #fff;
	border-radius: 16px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.content-dialog .log-tag {
	display: flex;
	align-items: center;
	position: relative;
	box-sizing: border-box;
	width: 76px;
	height: 36px;
	margin: 0 calc(100% - 76px) 8px 0;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	border-radius: 5px;
}

.content-dialog .log-tag:before {
	display: block;
	content: "";
	width: 18px;
	height: 18px;
	margin: auto 2px;
	background-image: url("../img/icon_log_white.svg");
	background-size: contain;
	background-position: center;
}

.content-dialog .log-tag.red-tag {
	background-color: #FD7690;
}

.content-dialog .log-tag.gray-tag {
	background-color: #9899A2;
	margin-top: 5px;
}

.content-dialog .girl-info-wrap {
	grid-area: 1/1/2/2;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: auto;
	height: 100%;
	position: relative;
}

.content-dialog .girl-info-wrap .girl-info-site-wrap {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: 690px;
	height: 100%;
	border-bottom: 1px solid #ddd;
	position: relative;
}

.content-dialog .girl-info-wrap .girl-info-site-wrap .girl-info-header {
	width: 190px;
	height: 40px;
	display: grid;
	grid-template-areas: "photo id id" "photo name name" "photo job-area job-area";
}

.girl-info-header .girl-photo {
	grid-area: photo;
	display: block;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background-image: url("../img/icon_login_girl.svg");
	background-size: 70%;
	background-position: center;
	border: 2px solid #DBDBDB;
	background-repeat: no-repeat;
	margin-top: 5px;
}

.girl-info-header .girl-id {
	grid-area: id;
	font-size: 15px;
	color: #666666;
	margin-bottom: 3px;
}

.girl-info-header .girl-name {
	grid-area: name;
	font-size: 16px;
	color: #222222;
}

.girl-info-header .girl-name.small{
	font-size: 12px;
	max-width: 130px;
	height: 15px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.girl-info-header .girl-job-area {
	grid-area: job-area;
	font-size: 15px;
	color: #888888;
	margin-top: 8px;
}

.content-dialog .girl-info-wrap .girl-info-site-wrap .girl-info-site ul {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	list-style-type: none;
	width: 460px;
	height: 80px;
	margin: 0;
	padding: 0;
}

.girl-info-site ul li {
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: calc((100% - 30px) / 4);
	height: 32px;
	border-radius: 8px;
	font-size: 12px;
	background-color: #fff;
	color: #A9B2BF;
	user-select: none;
	margin-right: 5px;
	line-height: 32px;
}

.girl-info-site ul li.reg {
	color: #fff;
	background-color: #F3F3F4;
	color: #0D0C22;
}

.content-wrap {
	position: relative;
	margin-top: 15px;
}

/* フッター */

footer {
	position: absolute;
	width: calc(100% - 192px);
	bottom: 40px;
	left: 192px;
	text-align: center;
}

/* テスト用 */

.temp-content {
	grid-area: 2/2/3/3;
	padding-bottom: 100px;
}

.page-register .temp-content {
	padding-bottom: 0;
}

.before-search-icon-wrap {
	display: block;
	margin: 70px 0 0 570px;
	width: 210px;
}

.before-search-icon-wrap img {
	display: block;
	margin: auto;
	border: 2px solid #ccc;
	width: 64px;
	height: 64px;
	box-sizing: border-box;
	padding: 10px;
	border-radius: 50%;
}

.before-search-icon-wrap p {
	margin-top: 34px;
	color: #888888;
	font-size: 15px;
}

/* ページ名 */

.content-wrap:before {
	content: "";
	font-size: 14px;
	font-weight: bold;
	color: #222;
	position: absolute;
	top: -33px;
	left: 0;
}

.content-wrap.page-detail:before {
	content: "女性編集";
}

.content-wrap.page-condition:before {
	content: "条件指定";
}

.content-wrap.page-search:before {
	content: "ログ管理";
}

.content-wrap.page-register:before {
	content: "女性登録";
}

.content-wrap.page-registe-csvr:before {
	content: "女性CSV登録";
}

.content-wrap.page-howto:before {
	content: "使い方";
}

.content-wrap.page-worklog-addend:before {
	content: "ログ作成完了";
}

.content-wrap.page-admin-change:before {
	content: "変更履歴";
}

.content-wrap.page-work-log-list:before {
	content: "ログ発行履歴";
}


.log-list-wrap {
	position: relative;
}

.log-list-wrap li {
	display: grid;
	grid-template-columns: 100px 100px 265px 220px 135px;
	font-size: 12px;
	color: #222;
	border-bottom: 1px solid #EAEAEA;
	padding: 8px 15px;
	box-sizing: border-box;
	min-height: 46px;
}

.log-list-wrap.red li {
	grid-template-columns: 100px 100px 1fr;
	width: 690px;
	border: none;
}

.log-list-wrap.red li:last-of-type {
	height: 51px;
}

.log-list-wrap li:first-of-type {
	background: #F5F6FA;
	color: #6C6C6C;
	border: none;
	min-height: 32px;
	border-radius: 8px;
}

.log-list-wrap.red li:first-of-type {
	background: #FFEBEF;
}

.log-list-wrap li div {
	display: flex;
	align-self: center;
}

.log-list-wrap li .date {
	font-size: 12px;
}

.back-top-link {
	box-sizing: border-box;
	width: 132px;
	height: 38px;
	border: 1px solid;
	color: #333;
	display: block;
	text-align: center;
	line-height: 38px;
	border-radius: 19px;
	margin: auto;
}

.page-admin-change .back-top-link {
	margin-top: 50px;
}

.edit-girl-detail {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	box-shadow: 2px 3px 6px rgb(95 23 37 / 21%);
	font-size: 12px;
	width: 116px;
	height: 72px;
	margin:0 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #666666;
}

.edit-girl-detail img {
	width: 20px;
	height: 20px;
	margin-bottom: 10px;
}

.export-log {
	background: #FF5C7B;
	display: flex;
	flex-direction: column;
	color: #fff;
	position: absolute;
	right: 0;
	border-radius: 10px;
	box-shadow: 2px 3px 6px rgb(95 23 37 / 21%);
	font-size: 12px;
	width: 116px;
	height: 72px;
	align-items: center;
	justify-content: center;
	top: 0;
}

.export-log:disabled{
	background: #9899A2;
}

.export-log img {
	width: 32px;
	height: 32px;
	margin-bottom: 6px;
}

.dialog-inner-wrap {
	display: none;
	background: #fff;
	width: 470px;
	height: 300px;
	padding: 40px;
	box-sizing: border-box;
	border-radius: 18px;
	font-size: 16px;
	top: 300px;
	left: calc(50% - 235px);
}

.change-history {
	top: 123px;
	height: 75vh;
	width: 70vw;
	left: calc(50% - 35vw);
	padding-bottom: 110px;
}

.dialog-inner-wrap.open {
	display: block;
	z-index: 11;
	position: fixed;
}

.dialog-close-area {
	display: none;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .3);
	z-index: 10;
}

.dialog-close-area.open {
	display: block;
	position: fixed;
}

.close-btn {
	position: absolute;
	border: 1px solid;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	font-size: 30px;
	text-align: center;
	box-sizing: border-box;
	top: -20px;
	right: -20px;
	background: #fff;
}

.msess-main {
	text-align: center;
	font-weight: bold;
}

.dialog-inner-wrap .link {
	border: 1px solid #707070;
	width: 243px;
	height: 60px;
	box-sizing: border-box;
	color: #333;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: auto;
	border-radius: 30px;
}

.dialog-inner-wrap .link.do {
	background: #FD4E4E;
	color: #fff;
	border: none;
	margin: 40px auto 30px;
}

.csv-reg-btn {
	border-width: 2px;
	border-style: solid;
	border-color: #33333396;
	border-radius: 5px;
	color: #333333;
}

.page-search .pagination-wrap {
	margin-left: auto;
}

.page-admin-change .pagination-wrap {
	margin: 30px auto;
}

.pagination {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.page-item {
	background: #F3F3F4;
	margin-right: 10px;
	width: 30px;
	height: 30px;
	border-radius: 5px;
}

.page-link {
	color: #333;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-item.active {
	background: #FF5C7B;
}

.page-item.active .page-link {
	color: #fff;
}

.page-link span {
	user-select: none;
}

.done-mess-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 70px;
}

.done-mess-wrap h3 {
	margin-bottom: 50px;
}