@charset "UTF-8";


:root {
  --black: #333;
  --white: #f3f3f3;
  --green: #014908;
  --wine: #92000A;
  --blue: #218aff;
  --grey: #d8d8d8;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

.blind {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
}

:focus-visible {
  outline-offset: 2px;
  outline: 2px solid black;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
li,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

img {
  max-width: 100%;
}

button,
a {
  cursor: pointer;
}

button {
  border: none;
  background: transparent;
}

body {
  font-family: "sandoll-gothicneo1", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  height: 100%;
  background: url(/img/bg.webp);
  color: var(--black);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* common */
#container {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 30px auto;
  position: relative;
  animation: fadeIn 2s forwards;
  -webkit-animation: fadeIn 2s forwards;
}

#container a span {
  color: #53565a;
}

#contents {
  width: 100%;
  text-align: center;
}

/* index  */
#intro {
  margin: 150px auto;
}

.bg {
  width: 100%;
  height: 100%;
  background: url(/img/key.webp) no-repeat center;
  position: absolute;
  opacity: .4;
  z-index: -1;
}

.icon {
  margin: 50px 0;
}

.icon a {
  display: inline-block;
  height: 80px;
  width: 120px;
  background: url(/img/icon.png) no-repeat center;
}

.icon a:hover,
.icon a:focus {
  background: url(/img/icon_ho.png) no-repeat center;
  transition: .2s;
  opacity: 1;
}

.notice {
  width: 100%;
  height: auto;
  padding: 50px 30px;
  background: #fefefe;
  opacity: .8;
  border-radius: 12px;
}
.notice p {
  margin-bottom: 20px;
  line-height: 1.3;
}
.notice span.jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 200;
}
.notice p::after {
  width: 100%;
  transform: rotate(90deg);
  color: var(--grey)
}
.notice ol li {
  margin-bottom: 20px;
}

/* note
===================================== */

.notelist {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.note {
  text-align: left;
  font-size: 14px;
  margin: 60px 0;
  line-height: 1.8;
  word-break: keep-all;
}

.n_head {
  width: 70%;
  background-color: var(--white);
  padding: 10px;
  border-radius: 8px 16px 0 0;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #eee;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.fa-paperclip {
  color: var(--green);
  padding: 4px 0;
}

.n_body {
  background: #fefefe;
  font-weight: 400;
  padding: 18px 14px;
  border-radius: 0px 8px 8px 8px;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.n_body p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.n_text {
  display: none;
  background: #fefefe;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
  padding: 30px;
  width: 100%;
  height: 650px;
  transform: translate(-50%, -50%);
  z-index: 5;
  position: absolute;
  top: 50%;
  left: 50%;
}

.n_text>button {
  float: right;
  padding: 5px;
}

.n_text .p {
  position: relative;
  height: 510px;
  margin: 40px 0;
  font-size: 16px;
  word-break: keep-all;
  line-height: 1.8;
  overflow: auto;
}

.fa-xmark {
  color: var(--black);
}

.scroll {
  position: fixed;
  bottom: 110px;
  left: 40px;
  z-index: 10;
  text-align: center;
}

.scroll span {
  position: relative;
  display: block;
  margin: 5px auto 0;
  width: 4px;
  height: 100px;
  background: #CCC;
  border-radius: 2px;
}

.scroll span em {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--wine);
  border-radius: 2px;
}


/* view */
.view_wrap {
  width: 100%;
  background: #fefefe;
  border-radius: 10px;
  margin: 50px 0;
  padding: 30px 20px;
  opacity: .8;
}

.view_wrap h2 {
  text-align: center;
  font-size: 18px;
  padding: 0 0 30px 0;
  color: var(--green);
}

.view_wrap hr {
  border: 1px solid #ccc;
  width: 100%;
}

.view_wrap .view {
  padding: 30px 0;
  font-size: 16px;
  line-height: 1.8;
  word-break: break-word;
  font-weight: 400;
}


/* write */
input[type=text],
textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 20px 10px;
}

#tit {
  height: 30px;
}

#cont {
  height: 400px;
}

.admin input[type=submit] {
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #ccc;
  width: 60px;
  height: 30px;
  font-weight: bold;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
}


/* message */
.chat {
  margin: auto;
  width: 375px;
  height: 700px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.c_head {
  height: 65px;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey);
}

.c_body {
  width: 100%;
  height: 570px;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
}

.incoming,
.outgoing {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-end;
  font-weight: 100;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.incoming {
  align-items: flex-end;
}

.outgoing {
  align-items: flex-start;
}

.message {
  padding: 4px 12px;
  position: relative;
  margin: 8px;
  max-width: 260px;

}

.message p {
  display: inline-flex;
  color: var(--white);
  text-align: center;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.message p:before {
  content: "";
  background-color: var(--blue);
  border-radius: 24px;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.send {
  padding: 16px 14px;
  position: relative;
}

.send p {
  display: inline-flex;
  color: var(--black);
  text-align: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.send p:before {
  content: "";
  background-color: var(--grey);
  border-radius: 24px;
  width: 100%;
  height: 30px;
  position: absolute;
  z-index: -1;
}

.c_input {
  height: 65px;
  border-top: 1px solid var(--grey);
  display: flex;
  justify-content: space-between;
  position: relative;
}

.c_input .submit {
  display: inline-flex;
  background-color: var(--blue);
  width: 30px;
  height: 30px;
  position: relative;
  margin: auto;
  border-radius: 15px;
}

.submit>.fa-arrow-up {
  color: var(--white);
  padding: 8px;
}

.c_input>input[type=text] {
  border: 0;
  width: 90%;
}

.submit>input[type=submit] {
  position: absolute;
  z-index: -1;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 0;
}

/* tablet */
@media all and (min-width: 768px) and (max-width: 1399px) {
  #container {
    padding: 100px 30px;
    margin: 0 auto;
  }
}

/* mobile */
@media only all and (max-width: 767px) {
  body {
    background: url(/img/bg_mo.webp) center;
  }

  #container {
    padding: 30px 15px;
    margin: 0 auto;
    height: 100vh;
  }

  .bg {
    background: url(/img/key_mo.webp) no-repeat center;
    height: 90%;
  }

  .note {
    font-size: 16px;
  }

  .scroll {
    display: none;
  }
}