@charset "UTF-8";

/*===================*/
/* 基本セット ▼ここから▼ */
/*===================*/

body {
	-webkit-text-size-adjust: 100%;
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	animation: fadeIn 1s ease 0s 1 normal;
}
@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

:not(span) {
	box-sizing: border-box;
	line-height: 1;
	margin: 0;
	padding: 0;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 1rem;
	font-weight: normal;
	line-height: 1.25;
}
p,li,dt,dd {
	line-height: 1.75;
}
li {
	list-style-type: none;
}
a,
avisited {
	color: black;
	text-decoration: none;
}
img, iframe {
	max-width: 100%;
}
label {
	cursor: pointer;
}
/*===================*/
/* 基本セット ▲ここまで▲ */
/*===================*/

body {
	background: #FFFFEB;
	font-family: sans-serif;
}
@media (min-width: 52.001rem) {
	header {
		width: 50rem;
		max-width: calc(100% - 2rem);
		margin: 2rem auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	header h1 {
		width: 16rem;
		flex-shrink: 0;
	}
	header h1 img {
		width: 10rem;
	}
	header h2 {
		width: 20rem;
		flex-shrink: 0;
		text-align: center;
		background: #ff7497;
		color: white;
		font-size: 1.25rem;
		padding: 0.5rem 0;
		letter-spacing: 0.1rem;
		text-indent: 0.1rem;
	}
	header p {
		width: 16rem;
		flex-shrink: 0;
		text-align: right;
		font-size: 1rem;
		letter-spacing: 0.1rem;
		text-indent: 0.1rem;
	}
	header p span + span {
		padding-left: 1em;
	}
}
@media (max-width: 52rem) {
	header {
		width: calc(100% - 2rem);
		margin: 1rem auto 1rem;
		display: grid;
		grid-template-rows: 4rem 2rem;
		grid-template-columns: 30% 1fr;
	}
	header h1 {
		grid-row: 1 / 3;
		grid-column: 1 / 2;
	}
	header h1 img {
		height: 6rem;
	}
	header h2 {
		grid-row: 1 / 2;
		grid-column: 2 / 3;
		background: #ff7497;
		color: white;
		font-size: 1.2rem;
		margin: 0.9rem 0 0.9rem 1rem;
		padding: 0.5rem 0;
		letter-spacing: 0.1rem;
		text-indent: 0.1rem;
		text-align: center;
	}
	header p {
		grid-row: 2 / 3;
		grid-column: 2 / 3;
		text-align: right;
	}
}
@media (max-width: 35rem) {
	header h2 {
		font-size: 1rem;
		margin: 1rem 0 1rem 1rem;
		letter-spacing: 0;
		text-indent: 0;
	}
}

.monthly_header {
	width: 50rem;
	margin: 0 auto;
	max-width: calc(100% - 2rem);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.monthly_header h3 {
	font-size: 2rem;
}
.monthly_header p {
	font-size: 1.25rem;
}
@media (max-width: 30rem) {
	.monthly_header h3 {
		font-size: 1.5rem;
	}
	.monthly_header p {
		font-size: 1.125rem;
	}
}

.calendar table {
	width: calc(100% - 2rem);
	max-width: 50rem;
	margin: 0.5rem auto 2rem;
	table-layout: fixed;
	border-collapse: collapse;
}
.calendar table caption {
	font-size: 0.85rem;
	line-height: 1.25;
	margin-bottom: 0.25rem;
	color: red;
	text-align: left;
}
.calendar table th,
.calendar table td {
	border: solid thin black;
	text-align: center;
	width: calc((100% - 4rem) / 7);
	font-weight: normal;
	font-size: 1.25rem;
	vertical-align: top;
	padding: 3px;
}
.calendar table td span {
	display: block;
}
.calendar table td span + span {
	font-size: 0.9rem;
	margin-top: 0.75rem;
}
@media (min-width: 52.001rem) {
	.calendar table th {
		height: 4rem;
	}
	.calendar table td {
		height: 5.5rem;
	}
}
@media (max-width: 52rem) {
	.calendar table th {
		height: 8vw;
	}
	.calendar table td {
		height: 13.5vw;
	}
}
@media (max-width: 30rem) {
	.calendar table th,
	.calendar table td {
		font-size: 4.5vw;
	}
	.calendar table td span + span {
		font-size: 3vw;
		margin-top: 2vw;
	}
}

/* カレンダーのマスの背景色 ここから */
.calendar table .white {
	background: white;
}
.calendar table .gray {
	background: #C6C6C6;
}
.calendar table .orange {
	background: #FFB087;
}
.calendar table .red {
	background: #E95513;
}
/* カレンダーのマスの背景色 ここまで */

.calendar table td input {
	display: none;
}
.calendar table td div {
	position: fixed;
	bottom: -40vh;
	left: 0;
	width: 100%;
	height: 40vh;
	background: #CCC;
	text-align: center;
	overflow-y: scroll;
	transition: .3s;
}
.calendar table td input:checked + div {
	bottom: 0;
}
.calendar table td div h4 {
	background: #EEE;
	padding: 0.75rem 0;
	line-height: 1;
}
.calendar table td div ul {
	margin: 1rem 0 5rem;
}
.calendar table td div ul li {
	margin: 0.5rem 0;
	padding: 0.25rem 0
}
.calendar table td div label {
	position: absolute;
	font-size: 0.85rem;
	top: 1rem;
	right: 1rem;
	
}
.calendar table td ul li button {
	border:none;
	font-size:1em;
	background:#ccc;

}

.basic_data {
		width: 50rem;
		max-width: calc(100% - 2rem);
		margin: 2rem auto;
		text-align: center;
}
.basic_data div {
	margin: 1rem 0;
	display: flex;
	justify-content: space-between;
	align-items: start;
}
.basic_data div input,
.basic_data div textarea {
	width: calc(100% - 12rem);
	padding: 0.25rem 0.5rem;
	font-size: 1.125rem;
	border: solid thin #CCC;
	border-radius: 0.25em;
	line-height: 1.5;
}
.basic_data div textarea {
	height: 6rem;
}
.basic_data div span {
	padding-top: 0.5rem;
	text-align: left; /* 新規追加コード */
	white-space: nowrap; /* 新規追加コード */
}

/* 古いコード ここから
@media (max-width: 40rem) {
	.basic_data div input {
		width: calc(100% - 10rem);
	}
	.basic_data div textarea {
		width: calc(100% - 4rem);
	}
}
古いコード ここまで */
/* 新しいコード ここから */
@media (max-width: 40rem) {
	.basic_data div {
		display: block;
	}
	.basic_data div span {
		display: block;
		margin-bottom: 0.5rem;
	}
	.basic_data div span br {
		display: none;
	}
	.basic_data div input {
		width:100%;
	}
	.basic_data div textarea {
		width: 100%;
	}
}
/* 新しいコード ここまで */

.basic_data  ul {
	display: inline-block;
}
.basic_data  ul li {
	text-align: left;
	padding-left: 1rem;
	text-indent: -1rem;
	line-height: 1.25;
	margin: 0.5rem 0;
}
.basic_data ul li::before {
	display: inline-block;
	content: '※';
	width: 1rem;
	position: relative;
	left: 1rem;
	z-index: -1;
}
.login button,
.basic_data button {
	display: block;
	width: 15rem;
	margin: 2rem auto;
	font-size: 1.25rem;
	letter-spacing: 0.5rem;
	text-indent: 0.5rem;
	padding: 0.75rem;
	border-radius: 1.5rem;
	border: none;
	background: #ff7497;
	color: white;
	cursor: pointer;
}

.logout p {
	text-align: center;
	margin: 2rem 0 4rem;
	color: #036EB8;
}
.logout p a {
	color: #036EB8;
}

.login h1 {
	text-align: center;
	margin: 2rem 0 1rem;
}
.login h1 img {
	width: 300px;
}
.login h2 {
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
	color: #333333;
}
.login form {
	width: 18rem;
	margin: 5rem auto;
}
.login form div {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0.5rem 0;
}
.login form div span,
.login form div input {
	display: block;
}
.login form div input {
	width: calc(100% - 5.5rem);
	padding: 0.25rem 0.5rem;
	font-size: 1.125rem;
	border: solid thin #CCC;
	border-radius: 0.25em;
	line-height: 1.5;
}
.login form button {
	margin-top: 3rem;
}

.start{
	margin:0;
	padding:0;
	border:1px solid red;
	display:block;

}
.end{
	margin:0;
	padding:0;
	border:1px solid red;
	display:block;
}

select{
	width:100%;
	border:1px solid #dcdcdc;
-webkit-appearance: none;/* ベンダープレフィックス(Google Chrome、Safari用) */
-moz-appearance: none; /* ベンダープレフィックス(Firefox用) */
appearance: none; /* 標準のスタイルを無効にする */
	height:3em;
	text-align:center;
	margin:0 auto;
  background:#FFFFEB;
	font-size:1.1em;
}
option:first-child{
 	color:red;
}
