@charset "UTF-8";

:root {
  --bg1: #6495ed;
  --bg1half: #b9c8f3;
  --bg1quarter: #dce4f9;
  --bg2: #00008b;
  --bg2half: #7f7fc2;
  --bg2quarter: #bfbfe1;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
}

body {
  -webkit-text-size-adjust: none;
  word-break: break-all;
  font-family: "Sawarabi Gothic", "游ゴシック Medium", "YuGothic", "YuGothicM",
    "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", "sans-serif";
  font-weight: 100;
  background: gainsboro;
}

body,
td,
th {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

fieldset,
img {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

.clear {
  clear: both;
}

a:hover {
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}

header {
  background: var(--bg1);
  width: calc(100% - 20px);
  padding: 10px;
}
header #p-user-name {
  font-size: 14px;
  line-height: 14px;
  background: white;
  display: inline-block;
  font-weight: bold;
  padding: 6px;
  border-radius: 4px;
  color: black;
}

header #p-user-name small {
  font-weight: normal;
  font-size: 10px;
  margin: 0 0 0 6px;
}

main {
  max-width: 600px;
  width: calc(100% - 60px);
  border-radius: 10px;
  margin: 40px auto;
}
main ul > li {
  text-align: center;
  background: white;
  border-radius: 6px;
  padding: 20px;
  margin: 0 0 30px 0;
}

main ul > li div {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: solid thin var(--bg1);
}
main ul > li div small {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 10px;
}

main ul > li p {
  font-size: 16px;
  margin: 0 0 10px;
}

main ul > li p > b {
  font-size: 20px;
  font-weight: bold;
}

main ul > li > button {
  font-size: 20px;
  line-height: 20px;
  color: white;
  background: var(--bg1);
  cursor: pointer;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 10px;
}

main ul > li > button:disabled {
  background: gainsboro;
  cursor: not-allowed;
}
main ol > #li-check_in,
main ol > #li-check_out {
  font-size: 1.8em;
  line-height: 1em;
  color:dimgray;
  border-bottom: solid thin dimgray;
  display: inline-block;
  padding: 4px 2px;
  margin: 10px 4px;
}
main ol > #li-check_in small,
main ol > #li-check_out small {
  font-size: 0.6em;
  font-weight: normal;
}
main ol > li {
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  padding: 2px 0;
}
main ol > li > button {
  font-size: 20px;
  line-height: 20px;
  color: var(--bg1);
  border: solid thin var(--bg1);
  background: var(--bg1quarter);
  cursor: pointer;
  border-radius: 20px;
  padding: 10px;
  margin: 6px;
  width: 100%;
  max-width: 260px;
}
main ol > li > #button-late,main ol > li > #button-rest {
  color: white;
  background: var(--bg1);
}
main ol > li > button:disabled {
  background: lightgray !important;
  border: solid thin lightgray !important;
  cursor: not-allowed !important;
}

h1 {
  font-weight: bold;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  margin: 20px 0 10px 0;
}

.div-btn {
  display: block;
  text-align: center;
}
.div-btn a {
  text-decoration: none;
  font-size: 14px;
  line-height: 14px;
  color: white;
  background: var(--bg2);
  cursor: pointer;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  margin: 10px;
}

footer {
  display: block;
  text-align: center;
  font-size: 12px;
}

.required,
.red {
  font-size: 14px;
  color: red;
}

.bg_red {
  background: red;
}

.table_scroll {
  width: 100%;
  overflow: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 30px 0;
}

/*専用*/
body {
  background: var(--bg1quarter);
}

table tr:nth-child(odd) {
  background-color: #f8f8f8;
  /* 薄い灰色 */
}

.nav-button-add {
  text-align: right;
  margin: 0 0 20px 0;
}
.nav-button-add li {
  display: inline-block;
  margin: 0 0 0 10px;
}

.nav-button-add button {
  color: black;
  border-radius: 4px;
  border: solid 2px var(--bg1);
  background: var(--bg1quarter);
  font-size: 16px;
  line-height: 16px;
  padding: 4px 10px;
  cursor: pointer;
  user-select: none;
}

.nav-button-add button:hover {
  opacity: 0.5;
}
#modalWin form{
  font-size: 1.5em;
  line-height: 1.5em;
}
#modalWin form input{
  font-size: 1.5em;
  padding: 4px;
}
#modalWin form .div-button{
  margin: 20px 0;
}
#modalWin form .div-button button{
  font-size: 1.3em;
  line-height: 1.3em;
  font-weight: normal;
  display: inline-block;
  background: var(--bg1);
  border: none;
  color: white;
  border-radius: 20px;
  padding: 6px 20px;
  margin: 0 10px;
  cursor: pointer;
  user-select: none;
}