@charset "UTF-8";

*, *:before, *:after {
	box-sizing: border-box;
	/* transition: all 0.1s ease 0s; */
}

/* --- 点滅 --- */
.blink {
	animation: blinking 1s ease-in-out infinite alternate;
}

@keyframes blinking {
	0%,100% { opacity: 1; }
	50% { opacity: 0; }
}

@-webkit-keyframes blinking {
	0%,100% { opacity: 1; }
	50% { opacity: 0; }
}



/* LOADING */
.loadingImg {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

.loadingMessage {
	font-size: 1.2rem;
	vertical-align: middle;
	padding: 10px 0px 10px 0px;
}

.loadingDescription {
	padding: 6px 0px 0px 0px;
}

/* MESSAGE */
.messageButtons {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: space-between;
	margin-top: 20px;
}

.modalTitle {
	font-size: 1.2rem;
	margin: 10px 0px 10px 0px;
}

#confirmModal .modalCheck {
	font-size: 1.0rem;
}

#confirmModal .modalCheck input {
	vertical-align: middle;
}

#confirmModal .modalCheck {
	padding: 10px 0px 0px 0px;
}

/* ----- モーダルウィンドウ ----- */
/* 主にダイアログ、利用規約など情報ウィンドウ */
.modalArea {
	position: fixed;
	z-index: 999;
	top: 0px;
	left: 0px;
	width: 100%;
	min-width: 300px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modalOverlay {
	position: fixed;
	z-index: 1000;
	top: -1000px;
	right: -1000px;
	bottom: -1000px;
	left: -1000px;
	z-index: 999;
	background-color: rgba(0, 0, 0, 0.4);
}

.borderWindow {
	position: relative;
	z-index: 1001;
	border: 0px solid #F0F0F0;
	background: #FFFFFF;
	border-bottom: solid 2px #F0F0F0;
	box-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
	border-radius: 9px;
	margin: 0px 20px 0px 20px;
	padding: 10px 20px 10px 20px;
	max-width: 500px;
	min-width: 280px;
	width: 100%;
	height:auto;
	overflow:hidden;
}



/* ----- ボタン類 ----- */

/* ボタンベース */
.button {
	margin: 6px;
	display: inline-block;
	text-align: center;
	font-size: 1.0rem;
	letter-spacing: 0.2rem;
	text-decoration: none;
	padding: 8px 24px 8px 24px;
	border-radius: 4px;
	cursor: pointer;
	flex: none;
}
.button:disabled {
	opacity:0.3;
	pointer-events:none;
}

/* 小さめのボタン */
.buttonSmall {
	font-size: 0.8rem;
	padding: 4px 12px 4px 12px;
}

/* ボーダーのある明るい青緑のボタン（新規作成等） */
.buttonBluegreen {
	color: #3CA39C;
	border: 2px solid #3CA39C;
	font-weight: bold;
}
.buttonBluegreen:hover {
	background-color: #3CA39C;
	border-color: #3CA39C;
	color: #FFF;
	text-decoration: none;
}


/* ボーダーのある通常のボタン（通常のボタン） */
.buttonNormal {
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}
.buttonNormal:hover {
	background-color: #EEEEEE;
	text-decoration: none;
}

/* ボーダーのある重要なボタン（ホバー時に赤くなる） */
.buttonImportant {
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}
.buttonImportant:hover {
	color: #d9333f;
	border: 1px solid #d9333f;
	background-color: #FFE7E4;
	text-decoration: none;
}

/* ボーダーのある白抜きボタン */
.buttonWhite {
	color: #FFFFFF;
	border: 1px solid #FFFFFF;
	font-weight: bold;
	
	background-color: rgba(0, 0, 0, 0.4);
}
.buttonWhite:hover {
	background-color: rgba(255, 255, 255, 0.2);
	text-decoration: none;
}

/* ボーダーのある軽い警告のボタン（ホバー時に黒くなる） */
.buttonAlert {
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;
}
.buttonAlert:hover {
	color: #FFFFFF;
	border: 1px solid #666666;
	background-color: #666666;
	text-decoration: none;
}

/* ボーダーのない明るい緑のボタン（情報ウィンドウのOKボタン） */
.buttonNbLightgreen {
	background-color: #81c784;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 0px;
}
.buttonNbLightgreen:hover {
	background-color: #9ed797;
	text-decoration: none;
}

.buttonIcon {
	font-size: 1.0rem;
	vertical-align: middle;
	margin: 0px 4px 0px 4px;
}

/* チェックボックス */
.customCheckbox {
    display: none;
}

.checklabel {
    cursor: pointer;
    display: inline-block;
    padding: 5px 15px 5px 30px;
    position: relative;
    width: auto;
}
.checklabel::before {
    display: block;
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 5px;
    margin-top: -10px;
    top: 50%;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 3px;
}
.checklabel::after {
    display: block;
    position: absolute;
    content: '';
    height: 24px;
    width: 12px;
    border-radius: 3px;
    left: 12px;
    margin-top: -18px;
    opacity: 0;
    top: 50%;
    transform: rotate(45deg);
    border-right: 6px solid #3CA39C;
    border-bottom: 3px solid #3CA39C;
}
.customCheckbox:checked + .checklabel::before {
    border-color: #606060;
}
.customCheckbox:checked + .checklabel::after {
    opacity: 1;
}


.closeButton {
	position: absolute;
	right: 20px;
	top: 20px;
	box-sizing: content-box;
	width: 1.2rem;
    height: 1.2rem;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("/images/close.svg") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: .5;
}

.closeButton:not(:disabled) {
    cursor: pointer;
}

/* 共通 */
.textDanger {
	color: #dc3545;
}

.textSecondary {
    color: #6c757d;
}

.opacity50 {
	opacity: 0.5;
}

.opacity25 {
	opacity: 0.25;
}

.m1 {
	margin: 0.25rem;
}

.m2 {
	margin: 0.5rem;
}

.fixedBottom {
	position: fixed;
    bottom: 0;
    z-index: 999;
}

/* ブックフッター */
.bookFooter {
	width: 100%;
	position: fixed;
    bottom: 0;
    left:0;
    z-index: 999;
    background-color: rgba(200, 200, 200, .70);
	display: flex;
	justify-content: center;
	padding: 4px 0px 4px 0px;
}