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

html {
	font-size: 100%;
	/*	-webkit-text-size-adjust: 100%;*/
	/*	-ms-text-size-adjust: 100%;*/
	height: 100%;
	touch-action: manipulation;
	min-width: 100%;
}

input:focus,
textarea:focus {
	outline-color: #39bcff;
}

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

a,
a:visited,
a:active {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

::selection {
	background: #ed327b;
	color: #fff;
}

::-moz-selection {
	background: #ed327b;
	color: #fff;
}

* {
	font-size: 100%;
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	background-image: url(../img/login_back.jpg);
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: auto;
}

#top_logo {
	height: 8dvh;
	background-image: url(../img/FoodsLogo.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/*.main{*/
/*	display: inline-block;*/
/*}*/

/*.main img{*/
/*	width: auto;*/
/*	height: auto;*/
/*}*/

* {
	font-family: "Helvetica Neue", Helvetica, Arial;
}

h5 {
	text-align: center;
	margin-top: 3%;
	color: #eee;
}

h5>a,
a:visited {
	color: #fff;
	text-decoration: underline;
}

h5>a:hover {
	text-decoration: none;
}

form {
	background: #fff;
	border-radius: 6px;
	box-shadow: 15px 15px 0px rgba(0, 0, 0, .1);
	padding: 20px;
	padding-top: 30px;
	width: 80%;
	margin: 10dvh auto 0 auto;
	min-width: 300px;
	max-width: 500px;
}

h1 {
	text-align: center;
	font-size: 1.4em;
	font-weight: 700;
	color: #000;
	margin-bottom: 24px;
}


input {
	width: 100%;
	background: #f5f5f5;
	border: 0;
	padding: 20px;
	border-radius: 6px;
	margin-bottom: 10px;
	border: 1px solid #eee;
}

.btn {
	position: relative;
	width: 100%;
	padding: 20px;
	border-radius: 6px;
	border: 0;
	background: #f26964;
	font-size: 1.2em;
	color: #fff;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, .1);
	box-shadow: 0px 3px 0px #c1524e;
	margin-top: 5%;
}

.btn:active {
	top: 3px;
	box-shadow: none;
}

h6 {
	text-align: center;
	padding: 20px;
	padding-top: 35px;
	color: #777;
	cursor: pointer;
}

/*= デバイスの横幅が768px以下の場合 h6 折り返す=*/
@media only screen and (max-width: 768px) {
	.css-br::after {
		content: "\A";
		white-space: pre;
	}
}

h3 {
	font-weight: 500;
}

/*パスワード保存*/
.passKeep {
	margin: 5% 5% 5% 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.passKeep input {
	width: 15%;
}

/*PW保存チェックボックス装飾*/
.container {
	margin-right: 5%;
}

.container>div:first-of-type {
	width: 4.5rem;
	height: 1.8rem;
	position: relative;
}

.container>div:first-of-type input {
	opacity: 0;
}

.container>div:first-of-type label {
	position: absolute;
	background-color: #dbdbdb;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 3.125rem;
	-webkit-transition: background-color .2s ease-in-out;
	transition: background-color .2s ease-in-out;
}

.container>div:first-of-type label:after {
	content: "";
	display: block;
	width: 35%;
	height: 90%;
	border-radius: 50%;
	cursor: pointer;
	position: absolute;
	top: 5%;
	z-index: 1;
	left: 5%;
	background-color: #FFFFFD;
	-webkit-transition: left .2s ease-in-out;
	transition: left .2s ease-in-out;
}

.container>div:first-of-type input[type=checkbox]:checked~label {
	background-color: #4fbe79;
}

.container>div:first-of-type input[type=checkbox]:checked~label:after {
	left: 60%;
}

/*PW忘れた場合吹き出し*/
/*親div*/
.balloonoya {
	position: relative;
	/* 指定した分だけ相対的に移動 */
	cursor: pointer;
	/* カーソルをポインターで表示 */
	text-align: center;
	margin-top: 10%;
	color: gray;
	font-weight: bold;
}

.balloon1 {
	display: none;
	/* 吹き出しを非表示 */
}

.balloon {
	height: 30dvh;
	position: absolute;
	display: inline;
	font-size: large;
	background-color: #ffffff;
	width: 100%;
	left: 0%;
	bottom: 100%;
	margin-bottom: 20px;
	border: solid 2px #0a43a3;
	border-radius: 6px;
	animation: hukidasiAnime 1s linear;
	box-shadow: 1px 1px 8px 0px;
	color: black;
	z-index: 3;
}

.ballonContents {
	height: 100%;
	width: 100%;
	position: relative;
}

.ballonContents p {
	background-color: #0a43a3;
	color: white;
	height: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.balloonClose {
	position: absolute;
	top: 0;
	right: 10px;
	color: white;
	font-weight: bold;
	height: 100%;
	display: flex;
	align-items: center;
}

.balloonTEL {
	font-size: 1.7rem;
}

.balloonMSG {
	font-size: 1rem;
	color: #444;
}

.MSGtitle{
	color: #0b194d;	
	font-size: 1.1rem;
}

@keyframes hukidasiAnime {
	100% {
		color: black;
		background: white
	}

	50% {
		color: black;
		background: white
	}

	0% {
		color: white;
		background: white
	}
}

.balloon:after {
	border-top: 20px solid #0a43a3;
	/* 吹き出し口の高さ・色 */
	border-left: 10px solid transparent;
	/* 吹き出し口の幅１／２ */
	border-right: 10px solid transparent;
	/* 吹き出し口の幅１／２ */
	bottom: -20px;
	/* 吹き出し口の位置調整 */
	left: 40%;
	/* 吹き出し口の横位置 */
	content: "";
	/* コンテンツの挿入 */
	position: absolute;
	/* 親要素を基準 */
}