@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body {
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
}

header:not(.siteHeader) {
  background: #18761b;
  display: flex;
  justify-content: space-between;
  color: white;
  padding: 10px;
  height: 56px;
}
header:not(.siteHeader) h2 {
  font-size: clamp(14px, 4.5vw, 24px);
}
header:not(.siteHeader) div {
  display: flex;
  align-items: center;
}
header:not(.siteHeader) div p {
  display: flex;
  align-items: center;
  margin-right: 10px;
  border-bottom: 1px solid white;
  height: fit-content;
}
header:not(.siteHeader) div button.logout {
  border-radius: 4px;
  padding: 6px;
  background: white;
  border: none;
  color: black;
}

.contents.login {
  margin: calc(50vh - 23px) auto;
  width: fit-content;
  transform: translateY(-51%);
}
@media screen and (max-width: 768px) {
  .contents.login {
    margin-top: calc(25vh - 23px);
  }
}

.login {
  padding-top: 1px;
  transform: translateY(-28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.login #id, .login #pw {
  font-size: 20px;
  margin-bottom: 20px;
  padding: 4px;
}
.login .buttons {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.backToHP, button#loginSubmit {
  font-size: 18px;
  padding: 8px;
  width: 40%;
  background: transparent;
  border-radius: 6px;
  text-align: center;
}

.backToHP {
  display: block;
  text-decoration: none;
  color: black;
  border: 1px solid #c1c1c1;
  border-radius: 6px;
  text-align: center;
}

button#loginSubmit {
  border: none;
  background: #d6ffd8;
}
button#loginSubmit:hover {
  background: #68ff70;
}

.loginError1, .loginError2, .loginExpired {
  background-color: rgb(255, 77, 77);
  padding: 10px;
  color: white;
  font-weight: bold;
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translate(-50%);
  text-wrap: nowrap;
  opacity: 0;
}
.loginError1.active, .loginError2.active, .loginExpired.active {
  opacity: 1;
}

.loginExpired {
  top: -134px;
}

.contents.post {
  display: flex;
}
@media screen and (max-width: 766px) {
  .contents.post {
    flex-direction: column;
  }
  .contents.post .postListParent {
    width: 100%;
  }
  .contents.post #postEdit {
    width: 90%;
  }
}

#postEdit {
  width: 45vw;
  margin-top: 20px;
  margin: 20px auto 0;
}
#postEdit .ui {
  height: 70px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
#postEdit .ui .style {
  display: flex;
}
#postEdit .ui .style .font-size {
  display: flex;
  flex-direction: column;
  background: #caffcb;
  border-radius: 6px;
  justify-content: space-between;
  padding: 6px;
}
#postEdit .ui .style .font-size div {
  display: flex;
  height: fit-content;
  justify-content: space-evenly;
}
#postEdit .ui .style .font-size div .font-size-value {
  width: 50px;
  text-align: center;
  height: 1.4em;
  font-size: 20px;
  box-sizing: border-box;
}
#postEdit .ui .style .uiFlexParent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#postEdit .ui .style .uiFlexParent .uiFlexbox {
  display: flex;
}
#postEdit .ui .style .uiFlexParent .uiFlexbox .font-bold {
  font-size: 20px;
}
#postEdit .ui .style .uiFlexParent .uiFlexbox .font-color {
  width: 100px;
  display: flex;
  justify-content: center;
  font-size: 20px;
  border: 1px solid #767676;
  border: 2px solid #18761b;
  box-sizing: border-box;
  background: #eeeeee;
  align-items: center;
  margin-left: 6px;
}
#postEdit .ui .style .uiFlexParent .uiFlexbox .font-color .colorPicker {
  border: none;
  background: none;
  width: 30px;
}
#postEdit .ui .style .uiFlexParent .uiFlexbox .font-bold, #postEdit .ui .style .uiFlexParent .uiFlexbox .style-list, #postEdit .ui .style .uiFlexParent .uiFlexbox .style-align, #postEdit .ui .style .uiFlexParent .uiFlexbox .font-color {
  width: 100px;
  font-size: 18px;
  margin-left: 8px;
  background: white;
  border: none;
  background: #caffcb;
  border-radius: 6px;
  color: #0f6400;
}
#postEdit .ui .submitBtns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#postEdit .ui .submitBtns .postSend, #postEdit .ui .submitBtns .postSendSpawn {
  padding: 0 10px;
  font-size: 18px;
  width: 120px;
  border: none;
  border-radius: 6px;
  color: rgb(0, 0, 0);
  margin-left: 8px;
}
#postEdit .ui .submitBtns .postSend {
  background: #00ff04;
}
#postEdit .ui .submitBtns .postSendSpawn {
  background: #ff3737;
  color: white;
}
@media screen and (max-width: 1120px) {
  #postEdit .ui {
    height: auto;
  }
  #postEdit .ui .submitBtns {
    justify-content: start;
  }
  #postEdit .ui .submitBtns > :first-child {
    margin-bottom: 16px;
  }
  #postEdit .ui .style {
    flex-direction: column;
  }
  #postEdit .ui .style .uiFlexParent .uiFlexbox {
    margin-top: 8px;
  }
  #postEdit .ui .style .uiFlexParent .uiFlexbox *:nth-child(1) {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  #postEdit .ui .style {
    flex-direction: row;
  }
  #postEdit .ui .style .uiFlexParent {
    margin-left: 8px;
  }
}
@media screen and (max-width: 570px) {
  #postEdit .ui .style {
    flex-direction: column;
  }
}
#postEdit .editArea .postHeader {
  border: 1px solid gray;
  margin: 20px auto 16px;
  font-size: 20px;
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
#postEdit .editArea .postHeader.placeholder:before {
  content: "タイトルを入力";
  position: absolute;
  color: gray;
}
#postEdit .editArea .postContent {
  border: 1px solid gray;
  margin: 0 auto;
  padding: 10px;
  position: relative;
}
#postEdit .editArea .postContent.placeholder:before {
  content: "本文を入力";
  position: absolute;
  color: gray;
}
#postEdit .editArea .postHeader, #postEdit .editArea .postContent {
  min-height: 46px;
}
#postEdit .editArea .postHeader .selected, #postEdit .editArea .postContent .selected {
  background: rgb(229, 229, 229);
}

.postSend, .postSendSpawn, .font-bold, .style-list, .style-align, .font-color,
.postListParent #postList tr td button, button.logout, .backToHP, button#loginSubmit {
  cursor: pointer;
  transform: translate(-1px, -1px);
  transition: 0.2s;
  box-shadow: #b3b3b3 2px 2px 3px;
}
.postSend:active, .postSendSpawn:active, .font-bold:active, .style-list:active, .style-align:active, .font-color:active,
.postListParent #postList tr td button:active, button.logout:active, .backToHP:active, button#loginSubmit:active {
  box-shadow: none;
  transform: translate(1px, 1px);
}
.postSend:hover, .postSendSpawn:hover, .font-bold:hover, .style-list:hover, .style-align:hover, .font-color:hover,
.postListParent #postList tr td button:hover, button.logout:hover, .backToHP:hover, button#loginSubmit:hover {
  filter: saturate(2);
}

.postSend, .postSendSpawn, .font-bold, .style-list, .style-align, .font-color {
  padding: 8px auto;
}

.font-size {
  box-shadow: #b3b3b3 2px 2px 3px;
}

.postListParent {
  width: 50vw;
}
.postListParent #postList {
  margin: 20px auto;
  width: 90%;
  border-spacing: 0;
}
.postListParent #postList tr th, .postListParent #postList tr td {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 4px;
}
.postListParent #postList tr th:has(button), .postListParent #postList tr td:has(button) {
  text-align: center;
}
.postListParent #postList tr th button, .postListParent #postList tr td button {
  border: none;
  border-radius: 6px;
  background: red;
  color: white;
  padding: 2px 10px;
  white-space: nowrap;
  font-size: 20px;
  cursor: pointer;
}
.postListParent #postList tr th button.orderUp, .postListParent #postList tr th button.orderDown, .postListParent #postList tr td button.orderUp, .postListParent #postList tr td button.orderDown {
  background: #18761b;
  color: white;
}
.postListParent #postList tr th button.orderUp:hover, .postListParent #postList tr th button.orderDown:hover, .postListParent #postList tr td button.orderUp:hover, .postListParent #postList tr td button.orderDown:hover {
  background: #0f6400;
}
.postListParent #postList tr th {
  border-top: 1px solid black;
  background: #eeeeee;
}
.postListParent #postList tr td {
  cursor: pointer;
}
.postListParent #postList tr td:last-of-type {
  cursor: default;
}
.postListParent #postList tr:nth-child(1) {
  border-left: 1px solid black;
}
.postListParent #postList tr > th:nth-child(1), .postListParent #postList tr > td:nth-child(1) {
  border-left: 1px solid black;
  text-align: center;
}

.postListParent .postContent .postList td {
  color: black !important;
  font-weight: normal !important;
}

.postDate {
  font-size: clamp(8px, 1.2vw, 16px);
}

.inputs input.style-tag {
  border: none;
  font-size: 16px;
  width: calc(100% - 20px);
}
.inputs input.style-tag:focus {
  outline: none;
}

.align-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.align-right {
  display: flex;
  justify-content: right;
  width: 100%;
}

.postContent div {
  width: 100%;
}
.postContent div.align-center {
  align-items: center;
}
.postContent div.align-right {
  align-items: end;
}

.list:not(.style-edit-ui) {
  display: block;
  line-height: 2em;
}
.list:not(.style-edit-ui)::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  display: inline-block;
  background: #18761b;
  border-radius: 50%;
  position: relative;
  margin-right: 0.8rem;
  box-sizing: border-box;
  transform: translate(50%, 0);
}

.postContent * span.align-center {
  width: 100%;
  display: flex;
  justify-content: center;
}

.postContent * span.align-right {
  width: 100%;
  display: flex;
  justify-content: end;
}

body.admin * {
  user-select: none;
}

.inputs * {
  user-select: all;
}/*# sourceMappingURL=admin.css.map */