@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;
}

/* 専用 */
@media screen and (min-width: 640px) {

  /*PC*/
  header {
    position: fixed;
    top: 0;
    background: var(--bg1);
    width: calc(100% - 20px);
    padding: 10px 10px 0 10px;
  }

  header ul {
    display: flex;
    justify-content: center;
  }

  header li {
    padding: 0 10px 10px 0;
    user-select: none;
  }

  header nav ul li a {
    color: #000;
    font-size: 18px;
    text-decoration: none;
    background: #fff;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 18px;
  }

  header nav ul li a:hover {
    background: #ccc;
  }

  header nav ul li .now {
    background: #ff0;
  }

  header nav ul li .now:hover {
    background: #ff0;
  }

  main {
    background: white;
    width: calc(100% - 60px);
    max-width: 1000px;
    border-radius: 10px;
    margin: 80px auto 20px auto;
    padding: 30px 60px 60px 60px;
  }

  h1 {
    font-weight: bold;
    font-size: 36px;
    line-height: 36px;
    text-align: center;
    margin: 20px 0px;
  }

  .area-btn {
    display: block;
    text-align: center;
  }

  .area-btn button {
    color: white;
    font-size: 20px;
    line-height: 20px;
    background: var(--bg2);
    border: none;
    border-radius: 4px;
    padding: 6px 20px;
    cursor: pointer;
  }

  #p-user-name {
    font-weight: bold;
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    border-bottom: solid thin var(--bg1);
  }

  #p-user-name small {
    font-weight: normal;
    font-size: 10px;
    margin: 0 0 0 6px;
  }
}

@media screen and (max-width: 640px) {

  /*スマホ*/
  header {
    position: fixed;
    background: var(--bg1);
    width: calc(100% - 12px);
    display: inline-block;
    padding: 6px 6px 0 6px;
    z-index: 1000;
  }

  header li {
    padding: 0 6px 6px 0;
    display: inline-block;
    user-select: none;
  }

  header nav ul li a {
    color: #000;
    font-size: 14px;
    text-decoration: none;
    background: #fff;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
  }

  header nav ul li a:hover {
    background: #ccc;
  }

  header nav ul li .now {
    background: #ff0;
  }

  header nav ul li .now:hover {
    background: #ff0;
  }

  main {
    background: white;
    padding: 60px 20px 40px 20px;
    margin: 0 0 10px 0;
  }

  h1 {
    font-weight: bold;
    font-size: 28px;
    line-height: 28px;
    text-align: center;
    margin: 20px 0px;
  }

  .area-btn {
    text-align: center;
  }

  .area-btn button {
    color: white;
    font-size: 20px;
    line-height: 20px;
    background: var(--bg2);
    border: none;
    border-radius: 4px;
    padding: 6px 20px;
    cursor: pointer;
  }

  #p-user-name {
    font-weight: bold;
    padding: 0 0 10px 0;
    margin: 0 0 20px 0;
    border-bottom: solid thin var(--bg1);
  }

  #p-user-name small {
    font-weight: normal;
    font-size: 10px;
    margin: 0 0 0 6px;
  }
}

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;
}

/*専用*/
body {
  background: var(--bg1quarter);
}

.logo {
  text-align: center;
}

.logo img {
  width: 50%;
  max-width: 300px;
  height: auto;
}

.span-mvp {
  font-weight: bold;
  font-size: 10px;
  line-height: 10px;
  background: #ffb02e;
  border-radius: 12px;
  padding: 3px 6px;
  user-select: none;
}

.small-staff-position:empty {
  display: none;
}

.small-staff-position {
  color: var(--bg1);
  font-weight: bold;
  font-size: 10px;
  line-height: 10px;
  border: solid thin var(--bg1);
  border-radius: 12px;
  padding: 3px 6px;
  user-select: none;
  margin: 0 6px 0 0;
}

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;
}

#form-search {
  background: whitesmoke;
  padding: 10px;
  border: solid thin lightgray;
  border-radius: 10px;
  text-align: center;
  max-width: 650px;
  margin: auto;
}

#form-search legend {
  font-size: 20px;
  margin: 20px 0;

}
#form-search fieldset{
  margin: 10px 0;
}

#form-search ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#form-search ul li {
  margin: 0 6px 6px 0;
}

#form-search ul li label {
  font-weight: bold;
  font-size: 14px;
  text-align: right;
  width: 100px;
  display: inline-block;
}

#form-search input,#form-search select {
  font-size: 14px;
  padding: 4px;
  width: 150px;
}

#form-search button {
  font-size: 16px;
  background-color: var(--bg1);
  color: white;
  border: none;
  padding: 6px 20px;
  margin: 0 6px;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
}

#form-search button:hover {
  opacity: 0.5;
}
.not-found {
  font-size: 16px;
  text-align: center;
  margin: 40px 10px;
}
#nav-edit {
  text-align: right;
  margin: 0 0 20px 0;
}

#nav-edit ul li {
  display: inline-block;
}

#nav-edit ul li button {
  background: var(--bg2half);
}

#form-edit ul {
  width: 540px;
  margin: 0 auto;
}

#form-edit ul li {
  margin: 0 0 14px 0;
  padding: 0 0 14px 0;
  border-bottom: solid thin gainsboro;
}

#form-edit ul li label {
  font-size: 1em;
  line-height: 1.4em;
  font-weight: bold;
  text-align: right;
  display: inline-block;
  width: 190px;
  vertical-align: top;
}

#form-edit ul li label small {
  font-weight: normal;
  font-size: 0.8em;
  line-height: 1.2em;
  display: block;
}

#form-edit ul li label+* {
  font-size: 1.3em;
  line-height: 1.3em;
  padding: 6px 10px;
  margin: 0 0 0 4px;
  width: 320px;
  border-radius: 4px;
  border: solid thin gray;
}
#form-edit ul li label+input[type="checkbox"] {
  display: 'none';
}

#form-edit ul li input[type="checkbox"]+.label-checkbox {
  font-size: 1.3em;
  line-height: 1.3em;
  font-weight: normal;
  width: auto;
  margin: 0 0 0 4px;
  padding: 4px 10px;
  color: gray;
  border: solid 2px lightgray;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}
#form-edit ul li input[type="checkbox"]:checked+.label-checkbox{
  background: var(--bg1quarter);
  color: var(--bg1);
  border: solid 2px var(--bg1);
}

#form-edit ul li label+textarea {
  height: 200px;
}

#form-edit .area-btn {
  text-align: center;
}

#form-edit .area-btn button {
  color: white;
  font-size: 1.5em;
  line-height: 1.5em;
  padding: 4px 20px;
}