/*共通*/
*{
  font-size: 14px;
}
ol, ul {
	list-style: none;
}

*{
  margin:0;
  padding:0;
}
a:hover,
a{
	text-decoration: none;
}
a:hover{
	opacity: 0.9;
}
a {
  cursor: pointer;
}
table {
  width:100%;
  margin: 1em auto;
}
th{
  white-space: nowrap;
}
tr,td,th{
  border: 1px solid #666;
  padding:0.2em 0.5em;
  border-collapse: collapse;
}
.submit {
  text-align: center;
  margin: 1em;
}
.example {
  color: red;
}
.text-center {
  text-align: center;
}
textarea,
select,
input[type="url"],
input[type="search"],
input[type="datetime-local"],
input[type="time"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="month"],
input[type="text"],
input[type="password"]{
	height: 30px;
	line-height: 30px;
  border: 1px solid #666;
  padding: 0.5em;
	width:calc(100% - 1em - 2px);
  background-color: rgba(255,255,255,.15);
  border-radius: 1px;
  font-size: 14px;
  color:#000;
	display: inline-block;
	vertical-align: top;
}
select{
padding: 0;
width:calc(100% - 2px);
}
textarea {
  min-height: 100px;
}
.input-half input{
	width:40%;
}
input[type="search"] {
  -webkit-appearance: searchfield;
}
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}
::placeholder{
	color:#000;
	opacity: 0.3;
}
.error {
	padding: 0.5em;
	color:red;
	margin-bottom: 0.5em;
}
.btn {
  padding:0.2em 0.4em;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  margin-bottom: 0.5em;
  line-height: 2;
  cursor: pointer;
}
.btn.small{
  font-size: 6px;
  line-height: 1;
  margin: 0 0.2em;
  float: right;
  cursor: pointer;
  padding: 0;
}
.btn.small.text{
  float: none;
}
.btn_box {
  text-align: center;
  margin: 1.5rem auto;
}
.btn-green {
	border: 1px solid #84ad00;
  background: #84ad00;
  color:#fff !important;
	border-radius: 1px;
	margin-right: 5px;
}

.btn-blue {
	border: 1px solid #0099b8;
  background: #0bb2d4;
  color:#fff !important;
	border-radius: 1px;
	margin-right: 5px;
}
.btn-blue:hover{
	background-color: #28c0de;
}

.btn-skyblue {
	border: 1px solid #21a0c5;
  background: #21a0c5;
  color:#fff !important;
	border-radius: 1px;
}
.btn-danger {
	border: 1px solid #e85656;
  background: #e85656;
  color:#fff !important;
	border-radius: 1px;
}
.btn-realdanger {
	border: 1px solid black;
  background: red;
  color:#fff !important;
	border-radius: 1px;
}
.btn-yellow {
	border: 1px solid #3ac10;
  background: #d3ac10;
  color:#fff !important;
	border-radius: 1px;
}
.btn-default {
  border: 1px solid #247cf0;
	background: #3e8ef7;
  color:#fff !important;
	border-radius: 1px;
}
.btn-default:hover{
  background: #589ffc;
}
footer
,header {
  width: 100%;
  text-align: center;
  position: relative;
  background: #000;
  color: #fff;
  padding: 1em 0;
}
header a {
  color: #fff;
}
header .names {
  position: absolute;
  left:1em;
  top:1em;
}
header ul {
  text-align: center;
}

header li {
  display: inline-block;
  margin: 0 0.5em;
  vertical-align: top;
}

header .logout_btn {
  position: absolute;
  right:1em;
  top:1em;
}

.container {
  max-width: 960px;
  margin: 2em auto;
}
.container.big {
  max-width: 95%;
  margin: 2em auto;
}
.container.middle {
  max-width: 640px;
}
.container.small {
  max-width: 320px;
}

h1.title {
  text-align: center;
  display: block;
  font-size: 18px;
  margin-bottom: 1rem;
}

/*calendar */
table.calendar{
    width: 100%;
}
table.calendar th{
  width: 14%;
}

table.calendar th, table.calendar td{
    padding: 0.2em;
    background-color: #FFF;
    text-align: center;
    border: 1px solid #CCC;
}

table.calendar th:first-of-type, table.calendar td:first-of-type{
    background-color: #ffefef;
    color: #FF0000;
    font-weight: bold;
}

table.calendar th:last-of-type, table.calendar td:last-of-type{
    background-color: #ededff;
    color: #0000FF;
    font-weight: bold;
}
table.calendar td{
  min-height: 3em;
  font-size:14px;
  height: 6em;
}

table.calendar td.today{
    background-color: #fbffa3;
    font-weight: bold;
}
table.calendar td span:first-child{
  font-size: 10px;
  display: block;
  text-align: left;
}
table.calendar td span{
  font-size: 10px;
  display: block;
  text-align: left;
  border-bottom: 1px dotted #ccc;
}
.half_box {
  margin-top: 1.2rem;
}
.half_box div {
  display: inline-block;
}

.half_box label {
  display: block;
}
.half_box div select {
  width: 4em;
}
.box_menu_text {
  overflow-wrap: break-word;
}

@media screen and (max-width:768px) {
  .container.middle {
    width: 85%;
  }
}

@media only screen and (min-width: 768px) {
  /* ヘッダーエリア*/
  header {
      min-width: 1000px;
  }

  header #header-area {
      width: 1000px;
      margin-left: auto;
      margin-right: auto;
  }
  header h1 {
      text-align: right;
  }
  header .logo {
      width: auto;
  }
  /*PC用ヘッダーボタン*/
  header .button {
      float: right;
      display: block;
      margin-top: 20px;
  }
  header .button ul {
  }
  header .button li {
      float: right;
      font-size: 12px;
      line-height: 1.4;
  }
  header .button a {
      margin-left: 10px;
      margin-right: 10px;
      padding-top: 5px;
      padding-bottom: 7px;
      padding-left: 17px;
      padding-right: 10px;
      display: inline-block;
      border-radius: 5px;
      border: 1px solid #999;
      color: #666;
      background: url(../images/arrow1.png) no-repeat 6px center;
      background-size: 6px;
  }
  header .button a:hover {
      opacity: 0.7;
  }
  /*スマホ用メニューボタン非表示*/
  header .navOpen {
      display: none;
  }
}
