@charset "UTF-8";
/*
Theme Name: みまもりキッズ横浜 放課後キッズクラブ
Description: 横浜市放課後キッズクラブ向けみまもりキッズ
Author: 株式会社ティー・エム・シー
Version: 0.75.14
*/

/* 全体デザイン ここから */
html {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: -webkit-fill-available;
}

body {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	min-height: -webkit-fill-available;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 16px;
}

@media print {
	body{
		color: #000;
		print-color-adjust: exact;
		-webkit-print-color-adjust: exact;
	}

	body .contents-area {
		max-width: 100%;
		min-width: 100%;
	}
}

header,footer,main,article,section,aside {
	display: block;
}

h2 {
	margin: 0;
	font-size: 20px;
}

p {
	margin: 10px 0;
	line-height: 1.7em;
	overflow-wrap: break-word;
}

a {
	text-decoration: none;
	transition: 0.2s;
	color: #0D47A1;
}

a:hover, a:active {
	text-decoration: underline;
}

/* ボタン */
.button {
	display: inline-block;
	padding: 10px 13px;
	background-color: #00529E;
	border: none;
	border-radius: 5px;
	box-shadow: 0 1px 3px #AAAAAA;
	font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 14px;
	color: #FFFFFF;
	line-height: 1em;
}

.button:hover {
	opacity: 0.9;
	box-shadow: 0 1px 8px #AAAAAA;
	cursor: pointer;
	text-decoration: none;
}

.button:active {
	opacity: 1;
	box-shadow: none;
}

.button.green {
	background-color: #43A047;
}

.button.red {
	background-color: #D81B60;
}

.button.pink {
	background-color: #EC407A;
}

.button.blue {
	background-color: #00529E;
}

.button.orange {
	background-color: #EF6C00;
}

.button.purple {
	background-color: #673AB7;
}

.button.gray {
	background-color: #607D8B;
}

.button.large {
	padding: 14px 25px;
	font-size: 16px;
}

.button.small {
	padding: 7px 10px;
	font-size: 12px;
}

.button:disabled {
	background-color: #CFD8DC !important;
	opacity: 1;
	box-shadow: none;
	cursor: not-allowed;
}

.button i {
	margin-right: 5px;
}

.button.large i {
	margin-right: 8px;
}

/* フォーム */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="password"],
textarea,
select {
	max-width: 100%;
	padding: 3px 5px;
	border: solid 2px #BBBBBB;
	border-radius: 4px;
	color: #000;
	font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 14px;
	box-sizing: border-box;
}

input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="tel"]:disabled,
input[type="email"]:disabled,
input[type="date"]:disabled,
input[type="time"]:disabled,
input[type="datetime-local"]:disabled,
input[type="password"]:disabled,
textarea:disabled,
select:disabled {
	background-color: #EEE;
}

.input-veryshort {
	width: 4em;
}

.input-short {
	width: 7.2em;
}

.input-long {
	width: 25em;
}

.input-verylong {
	width: 35em;
}

.input-superlong {
	width: 45em;
}

.input-100 {
	width: 100%;
}

.submit-button-box {
	padding: 20px 0 10px;
	display: flex;
	justify-content: center;
}

/* テーブル */
table {
	border-collapse: collapse;
}

/* 画像 */
img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* コンテンツ領域幅設定 */
.contents-area {
	max-width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
}

.contents-area.limit {
	width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}

/* 固定ページ */
#page-main {
	display: flex;
	flex-direction: column;
	flex: 1;
	position: relative;
	background-color: #F1F3F4;
}

#page-main .contents-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	padding: 10px 10px;
}

/* 404ページ */
.error404 #page-main .contents-area {
	padding: 0;
}

.error404 #notfound-msg {
	padding: 150px 0;
	color: #666;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

/* ボックス */
.box-col {
	display: flex;
	flex-direction: column;
}

.box {
	margin: 0 10px 10px 0;
	padding: 20px;
	background-color: #FFFFFF;
	border-radius: 10px;
	box-sizing: border-box;
}

.box-col > .box {
	width: 100%;
	margin-right: 0;
}

.box:last-of-type {
	margin-right: 0;
}

.box-head {
	display: flex;
	flex: none;
	align-items: center;
	width: 100%;
	margin-bottom: 5px;
}

.box-head-space {
	flex: 1;
}

.box-head-left-menu,
.box-head-right-menu {
	display: flex;
	gap: 0 8px;
}

#page-main .box-head h2 {
	margin-bottom: 0;
}

/* ポップアップ */
#popup-wrapper {
	display: none;
	position: fixed;
	top: 0;
	z-index: 8;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100vh;
	height: -webkit-fill-available;
}

#popup-flex {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.popup-box {
	max-width: calc(100vw - 20px);
	max-height: 98vh;
	padding: 10px 15px;
	z-index: 9;
	background-color: #FFFFFF;
	border: solid 3px #FFFFFF;
	border-radius: 10px;
	box-sizing: border-box;
}

/* ポップアップ内のデータ読み込み中 */
.popup-box.loading .input-cell,
.popup-box.loading .button.edit {
	visibility: hidden;
}

/* ポップアップ内のボタン */
.popup-box .submit-button-area {
	display: flex;
	justify-content: center;
	padding-top: 5px;
}

.popup-box .submit-button-area .read,
.popup-box.editable .submit-button-area .update,
.popup-box.new .submit-button-area .insert {
	display: flex;
}

.popup-box.editable .submit-button-area .read,
.popup-box.new .submit-button-area .read,
.popup-box .submit-button-area .update,
.popup-box .submit-button-area .insert {
	display: none;
}

.popup-box.delete .submit-button-area .button.edit {
	display: none;
}

.popup-box .submit-button-area .button {
	display: inline-block;
	margin: 5px 5px 0;
}

/* ポップアップ内のメッセージ */
.popup-box .popup-message-list {
	display: none;
	list-style: none;
	margin: 10px 0 0;
	padding: 2px 5px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	word-break: break-all;
	word-break: break-word;
}

/* ポップアップ内のメッセージ（正常系） */
.popup-box .popup-message-list.info {
	display: block;
	background-color: #e0edc8;
	color: #2E7D32;
}

.popup-box .popup-message-list.info li::before {
	content: "\f058";
	margin-right: 0.3em;
	font-family: "Font Awesome 5 Free";
}

/* ポップアップ内のメッセージ（エラー系） */
.popup-box .popup-message-list.error {
	display: block;
	background-color: #FCE4EC;
	color: #FF0000;
}

.popup-box .popup-message-list.error li::before {
	content: "\f071";
	margin-right: 0.3em;
	font-family: "Font Awesome 5 Free";
}

/* PC・タブレット版 */
@media (min-width:768px) {
	.only-sp {
		display: none;
	}
}

/* スマートフォン版 */
@media (max-width:767px) {
	.only-pc {
		display: none;
	}

	body {
		font-size: 16px;
	}

	/* コンテンツエリア */
	#page-main .contents-area {
		padding: 10px;
	}
}
