html, body {
	margin: 0;
	padding: 0;
	color: #6e564c;
	font-size: 16px;
	font-family: Roboto, Arial, sans-serif;
}

body {
	padding-bottom: 40px;
	-webkit-text-size-adjust: 100%;
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
		 -moz-user-select: none; /* Firefox */
		  -ms-user-select: none; /* Internet Explorer/Edge */
			  user-select: none; /* Non-prefixed version, currently
									supported by Chrome and Opera */
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}

* {
	box-sizing: border-box;
}

:focus {
	outline: none;
}

hr {
	border: none;
	height: 2px;
	line-height: 2px;
	background-color: #01e0aa;
}

h1, h2 {
	margin: 0;
	padding: 0;
	text-align: center;
}

h1 {
	font-size: 120%;
	margin-top: 20px;
}

h2 {
	font-size: 100%;
	font-weight: normal;
}

h3 {
	width: calc(100% + 60px);
	margin-left: -30px;
	padding-bottom: 10px;
	font-size: 100%;
	font-weight: normal;
	text-align: center;
	line-height: 0px !important;
	border-bottom: solid 2px #01e0aa;
}

h3::before {
	content: url(icon.png);
	width: 24px;
	height: 24px;
	padding-right: 5px;
	display: inline-block;
}

h3.plain::before {
	content: none;
}

h3 label {
	position: relative;
	top: -5px;
}

h4 {
	width: 100%;
	font-weight: normal;
	text-align: center;
	border-bottom: solid 1px #6e564c;
}

a {
	text-decoration: none;
	color: #00ace4;
}

form {
	width: 100%;
	padding: 20px 30px;
}

label.input {
	display: inline-block;
	width: 100%;
	padding: 10px 10px;
	background-color: #f7f7f7;
	border-bottom: solid 1px #01e0aa;
}
label.input span{
	float: right;
	padding-top: 4px;
	font-size: 80%;
}

label.choice {
	display: inline-block;
	width: 100%;
	padding: 10px 10px;
	background-color: #fff;
}

label.radio {
	display: inline-block;
	position: relative;
/*	height: 22px;*/
	color: #fff;
	font-size: 100%;
	text-align: center;
}

.oval label.radio {
	left: -30px;
	width: 50px;
/*	height: 26px;*/
	background-color: #c4c4c4;
	border-radius: 11px;
}

.oval input[type="radio"]:checked + label {
	color: #ffffff;
	background: #F33;
}

.round label.radio {
	left: -25px;
	padding: 0 10px;
/*	width: 50px;*/
	width: auto !important;
	font-size: 90%;
	white-space: nowrap;
	background-color: #c4c4c4;
	border-radius: 11px;
/*	border-radius: 4px;*/
}

.round.large label.radio {
	left: -25px;
	width: 60px;
}

.round.auto label.radio {
	left: -25px;
	width: auto;
	padding: 0 5px;
}

input[type="radio"] {
	opacity: 0;
}

.round input[type="radio"]:checked + label {
	color: #ffffff;
/*	background: #0092e0;*/
	background: #f00;
}

textarea,
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"],
input[type="number"] {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	font-size: 100%;
	border: solid 1px #c4c4c4;
	border-radius: 10px;
	-webkit-appearance: none;
}

textarea {
	padding-top: 5px;
	resize: none;
}

select {
	-webkit-appearance: none;
}

div.note {
	white-space: pre-wrap;
}

div.amount {
	position: relative;
}

div.amount input {
	padding-right: 30px;
	text-align: right;
}

div.amount div {
	position: absolute;
	left: 10px;
	top: 15px;
	width: calc(100% - 40px);
	padding: 5px 0;
	text-align: right;
	background-color: #fff;
}

div.amount.label {
	text-align: right;
	padding-left: 100px;
}

div.amount.label label {
	float: left;
	padding-top: 18px;
}

div.amount.label input {
/*	width: calc(100% - 50px);*/
	width: 100px;
	padding-right: 30px;
	text-align: right;
}

div.amount span {
	position: absolute;
	right: 10px;
	top: 17px;
}
/*
input:read-only {
	background-color: #ccecf9;
}
*/
input:disabled {
	-webkit-text-fill-color: rgba(3, 3, 3, 1); 
	-webkit-opacity: 1; 
	color: rgba(3, 3, 3, 1); 
	background-color: #eee !important;
}

.highlight {
	background-color: #f0fffc !important;
}

input.highlight {
/*	background-color: #ccecf9;*/
/*	background-color: #f0fffc;*/
	border: solid 1px #00ffa5;
}

input.readonly {
	background-color: #ccc;
}
/*
input[type="text"]::disabled,
input[type="tel"]::disabled,
input[type="email"]::disabled,
input[type="number"]::disabled {
	background-color: #fee;
}

input[type="text"]:read-only,
input[type="tel"]:read-only,
input[type="email"]:read-only,
input[type="number"]:read-only {
	background-color: #ccecf9;
}
*/
span.calendar {
	position: relative;
	display: block;
	width: 100%;
	height: 40px;
	padding: 10px 0;
	margin-top: 10px;
}
/*
span.calendar input[type="date"]{
	position: absolute;
	top: -10px;
	left: 40px;
	width: calc(100% - 40px) !important;
	height: 40px;
	text-align: center !important;
	background-color: #fff;
	-webkit-appearance: none;
}
*/
button {
	height: 22px;
	padding: 0 10px;
	color: #fff;
	font-size: 90%;
	text-align: center;
	border-radius: 4px;
	background-color: #eee;
	border: none;
}

button[type="submit"],
button[type="button"] {
	width: 100%;
	height: auto;
	padding: 10px 0;
	color: #333;
	background-color: #fffd38;
	border-radius: 20px;
	/*
	background-color: #e83e69;
	border-radius: 0;
	*/
}

button.new,
button.sel {
	width: auto;
	height: 22px;
	padding: 0 10px;
	color: #fff;
	font-size: 90%;
	text-align: center;
/*	border-radius: 4px;*/
	border-radius: 11px;
	border: none;
}

button.new {
/*	background-color: #68bd83;*/
	background-color: #f00;
}

button.sel {
	background-color: #0092e0;
}

/*
button.save {
	position: fixed;
	right: 0;
	bottom: 0;
	border-radius: 14px !important;
	padding: 1px 15px !important;
	border-radius: 14px !important;
	background-color: #6e564c !important;
}
*/
button.search {
	display: block;
	width: auto;
	height: 30px;
	margin: 0 auto;
	padding: 5px 40px;
/*	padding: 5px 10px 5px 30px;*/
/*	background-color: #00f2f0;*/
	white-space: nowrap;
	color: #6e564c;
	background-color: #fffd38;
	background-image: url(Search.png);
	background-size: 16px 16px;
	background-repeat: no-repeat no-repeat;
	background-position: 14px;
	border-radius: 10px;
}

div.control {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 100%;
/*	padding: 5px 20px;*/
	padding: 9px 20px;
	text-align: right;
	background-color: #fff;
}

.control button {
	width: auto !important;
	height: 30px !important;
	padding: 1px 15px !important;
	border-radius: 15px !important;
	background-color: #6e564c !important;
}
/*
.control button[type="submit"],
.control button[type="button"] {
}
*/
button:disabled {
	color: #ccc;
	background-color: #666666;
}

table.partner {
	width: 100%;
	border-collapse: collapse;
}

table.partner tbody {
	border-bottom: solid 1px #6e564c;
}

table.partner th {
	padding: 20px 10px;
	text-align: left;
	font-weight: normal;
}

table.partner td {
	padding: 20px 10px;
	white-space: nowrap;
	color: #00ace4;
}

table.date {
	width: 100%;
	position: relative;
/*	background-color: #eef;*/
	background-color: #f0fffc;
}

table.date th input[type="date"] {
	position: absolute;
	left: 0;
	width: 100%;
	opacity: 0;
}

table.date th {
	width: 10px;
	text-align: left;
	white-space: nowrap;
	padding: 10px 0;
}

table.date td {
	font-size: 120%;
	text-align: right;
	padding-right: 10px;
	vertical-align: middle;
}

table.date th,
table.date td {
	font-weight: normal;
/*	border: solid 1px #f00;*/
}

div.history table {
	width: 100%;
	border-collapse: collapse;
	border: solid 1px #ccc;
	border-top: none;
}

div.history table.top {
	width: 100%;
	border-collapse: collapse;
	border: solid 1px #ccc;
	border-top: solid 1px #ccc;
}
/*
div.history table tbody {
	border: solid 1px #ccc;
}
*/
div.history table th,
div.history table td {
	padding: 10px;
	font-weight: normal;
}

div.history table th {
	text-align: left;
	font-size: 150%;
	padding-top: 0;
}

div.history table td {
	padding-bottom: 0;
}

div.history table td.delete {
	display: none;
	width: 0;
	padding: 0;
	text-align: center;
/*	border: solid 1px #ccc;*/
	background-color: #eee;
	overflow: hidden;
	background-image: url(delete.png);
	background-repeat: no-repeat;
	background-size: 15px;
	background-position: center center;
}

div.history table td.delete img {
	width: 100%;
	max-width: 15px;
}

div.history table td.date {
	text-align: right;
}

p.note {
	text-align: center;
	font-size: 100%;
	line-height: 120%;
	margin: 0;
}

p.small {
	font-size: 60%;
	margin: 0;
}

div.spc10 {
	height: 10px;
	line-height: 10px;
}

.popup {
	visibility: hidden;
	display: relative;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: none;
	pointer-events: none;
	transition: background-color 0.3s linear;
}

.popup.show {
	visibility: visible;
	background-color: rgba( 0, 0, 0, 0.2 );
}

.popup div.dialog {
	position: absolute;
	left: 20px;
	top: 100%;
	width: calc(100% - 40px);
	height: calc(100% - 200px);
	max-height: 300px;
	background-color: #fff;
	border-radius: 10px;
	pointer-events: auto;
	transition: top 0.3s ease-out;
}

.popup.show div.select {
	/*
	margin: 20px auto;
	width: calc(100% - 40px);
	height: calc(100% - 90px);
	border: solid 1px #ccc;
	*/
	width: 100%;
	height: calc(100% - 70px);
	border-radius: 10px;
	overflow-y: auto;
}

.popup.show div.select p {
	width: 100%;
	margin: 0;
	padding: 10px 20px;
	border-bottom: solid 1px #ccc;
}

.popup.show div.dialog {
	position: absolute;
	left: 20px;
	top: 100px;
}

.round-popup {
	visibility: hidden;
	display: relative;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: none;
	pointer-events: none;
	transition: background-color 0.3s linear;
}

.round-popup.show {
	visibility: visible;
	background-color: rgba( 0, 0, 0, 0.2 );
}

.round-popup div {
	position: absolute;
	left: 30px;
	top: 100%;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	overflow: hidden;
	border-radius: 10px;
	background-color: #fff;
	pointer-events: auto;
	transition: top 0.3s ease-out;
}

.round-popup.show div {
	top: 30px;
}

.round-popup iframe {
/*	position: relative;*/
	width: 100%;
	height: calc(100% - 60px);
	max-height: calc(100% - 60px);
	border: none;
	overflow: scroll;
}

.speech-bubble {
	display: none;
	position: absolute; /* 三角の位置を固定するために設定 */
	left: calc(50% - 150px);
	width: 300px; /* 幅 */
	padding: 5px; /* ふきだし内の余白 */
	background: #fff; /* 背景色 */
	border: 1px solid #ccc; /* 線色 */
	text-align: center; /* テキストの揃え */
	border-radius: 8px; /* <-追加 */
	box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
}
.speech-bubble::before,
.speech-bubble::after { /* 三角 */
	content: '';
	border: 14px solid transparent;
	position: absolute;
	left: 50%;
	margin-left: -14px;
}
.speech-bubble::before { /* 線になる部分 */
	border-bottom-color: #ccc; /* 吹き出しの線の色と同じ色 */
	top: -28px;
}
.speech-bubble::after { /* 地の部分 */
	border-bottom-color: #fff; /* 吹き出しの背景色と同じ色 */
	top: -27px;
}

.speech-bubble-left {
	display: none;
	position: absolute; /* 三角の位置を固定するために設定 */
	left: calc(50% - 150px);
	width: 300px; /* 幅 */
	padding: 5px; /* ふきだし内の余白 */
	background: #fff; /* 背景色 */
	border: 1px solid #ccc; /* 線色 */
	text-align: center; /* テキストの揃え */
	border-radius: 8px; /* <-追加 */
	box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
}
.speech-bubble-left::before,
.speech-bubble-left::after { /* 三角 */
	content: '';
	border: 14px solid transparent;
	position: absolute;
	left: 15%;
	margin-left: -14px;
}
.speech-bubble-left::before { /* 線になる部分 */
	border-bottom-color: #ccc; /* 吹き出しの線の色と同じ色 */
	top: -28px;
}
.speech-bubble-left::after { /* 地の部分 */
	border-bottom-color: #fff; /* 吹き出しの背景色と同じ色 */
	top: -27px;
}

.fullscreen {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: rgba( 0, 0, 0, 0.2 );
}

.cover {
	visibility: hidden;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: none;
/*	pointer-events: none;*/
	transition: background-color 0.3s linear;
}

.cover.show {
	visibility: visible;
	background-color: rgba( 0, 0, 0, 0.2 );
}

.frame {
	width: 40px;
	height: 40px;
	padding: 5px;
	margin: calc(50% + 80px) auto;
	background-color: rgba( 255, 2565, 255, 0.8 );
	border-radius: 10px;
}

.sp {
	width: 100%;
	height: 100%;
	clear: both;
}
.sp-circle {
	border: solid 4px rgba(0, 0, 0, 0.25);
	border-top: solid 4px black;
	border-radius: 50%;
	-webkit-animation: spCircRot .6s infinite linear;
	animation: spCircRot .6s infinite linear;
}
@-webkit-keyframes spCircRot {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(359deg);
	}
}
@keyframes spCircRot {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}
