body {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 150%;
  text-align: center;
  background: #002340;
  margin: 0;
  min-width: 1080px;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

a[href^="http"] {
  background: url(img/gaibu.png?16) no-repeat right center;
  padding-right: 18px;
  margin-right: 5px;
}

a[href^="http://contest.japias.jp/tqj19/190100/"] {
  background: none;
  padding-right: 0px;
  margin-right: 0px;
}

a:hover {
  color: #ff0000;
}

a:hover img {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -mßs-filter: "alpha( opacity=80 )";
}

h1 {
  margin: 0px;
  font-weight: normal;
}

h2 {
  color: #006096;
  /*文字色*/
  border: solid 3px #963200;
  /*線色*/
  padding: 0.5em;
  /*文字周りの余白*/
  border-radius: 0.5em;
  /*角丸*/
  text-align: left;
  font-weight: bold;
  left: 0px;
}

h3 {
  color: #fff;
  /*文字色*/
  padding: 0.5em;
  /*文字周りの余白*/
  display: inline-block;
  /*おまじない*/
  line-height: 1.3;
  /*行高*/
  width: 780px;
  background: #963200;
  /*背景色*/
  vertical-align: middle;
  /*上下中央*/
  border-radius: 25px 0px 0px 25px;
  /*左側の角を丸く*/
  text-align: left;
  margin: 5px;
}

h3:before {
  content: '●';
  color: white;
  margin-right: 8px;
}

table {
  border-collapse: collapse;
  text-align: left;
  line-height: 1.5;
  border-left: 3px solid #006096;
  margin-left: auto;
  margin-right: auto;
  margin: 20px;
}

table td {
  padding: 10px;
  vertical-align: middle;
}

.matome {
  position: relative;
  color: #fff;
  font-size: 24px;
  background: #d14;
  margin: 0 -24px;
  padding: 4px 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  &:before, &:after {
    position: absolute;
    top: 100%;
    content: "";
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top: 5px solid #000;
    opacity: 0.5;
  }
  &:before {
    left: 0;
    border-right: 5px solid #000;
  }
  &:after {
    right: 0;
    border-left: 5px solid #000;
  }
}

.matomebox {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 14px;
  background: #fff;
  text-align: left;
  background-color: #c0e8fe;
}

p {
  text-align: left;
}

.headerbg {
  width: 100%;
  min-width: 1080px;
  position: fixed;
  z-index: 100;
}

.container {
  width: 100%;
  min-width: 1080px;
  background-color: #fff;
}

.main {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 30px;
}

.footerbg {
  background: #002340;
  width: 100%;
  min-width: 1080px;
  margin-top: 0px;
}

.footer {
  width: 1080px;
  padding: 20px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.menu ul {
  display: inline;
  margin: 0;
  padding: 0;
}

.menu ul li {
  list-style: none;
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 16px;
  float: left;
  position: relative;
  width: 10%;
  height: 40px;
  line-height: 40px;
  background: #963200;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.menu ul li a {
  display: inline;
  color: #fff;
  display: block;
  text-decoration: none;
}

.menu ul li:hover, .menu ul li a:hover {
  background: #ff5500;
  color: #fff;
}

.menu * {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.button1 {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  outline: none;
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #963200;
  color: #333;
  line-height: 50px;
  overflow: hidden;
  margin-left: 20px;
  margin-right: 20px;
}

.button1:hover {
  color: #fff;
}

.button1::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}

.button1:hover::after {
  background: #963200;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.button1::before, .button1::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.button1, .button1::before, .button1::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button2 {
  display: inline-block;
  width: 170px;
  height: 36px;
  text-align: center;
  text-decoration: none;
  outline: none;
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #006096;
  color: #333;
  line-height: 33px;
  overflow: hidden;
  margin-left: 20px;
  margin-right: 20px;
}

.button2:hover {
  color: #fff;
}

.button2::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}

.button2:hover::after {
  background: #006096;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.button2::before, .button2::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.button2, .button2::before, .button2::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.boxtop {
  font-size: 40px;
  color: #fff;
  text-shadow: 3px 3px 3px #000;
  letter-spacing: - 5px;
  width: 100%;
  min-width: 1080px;
  height: 180px;
  text-align: center;
  vertical-align: middle;
  line-height: 220px;
  background-image: url(img/container.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.yellow_line {
  background: linear-gradient(transparent 60%, #ffff00 60%);
  font-weight: bold;
}
.chat-box {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    text-align: left;
}
.chat-face {
    float: left;
    margin-right: -120px;
}
.chat-face img{
    border-radius: 30px;
    border: 1px solid #ccc;
    box-shadow: 0 0 4px #ddd;
}
.chat-area {
    width: 100%;
    float: right;
}
.chat-yui {
    display: inline-block;
    padding: 15px 20px;
    margin-left: 120px;
    margin-top: 8px;

    border-radius: 10px;
    position: relative;
    background-color: rgba(249, 106, 113, 0.72);
}

.chat-yui:after {
    content: "";
    position: absolute;
    top: 50%; left: -10px;
    margin-top: -10px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(249, 106, 113, 0.72); transparent transparent;
}
.chat-kouki {
  display: inline-block;
  padding: 15px 20px;
  margin-left: 120px;
  margin-top: 8px;

  border-radius: 10px;
  position: relative;
  background-color: rgb(121, 205, 105);
}
.chat-kouki:after {
  content: "";
  position: absolute;
  top: 50%; left: -10px;
  margin-top: -10px;
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(121, 205, 105);  transparent transparent;
}


.chat-misaki {
  display: inline-block;
  padding: 15px 20px;
  margin-left: 120px;
  margin-top: 8px;

  border-radius: 10px;
  position: relative;
  background-color:rgb(157, 165, 251);
}
.chat-misaki:after {
  content: "";
  position: absolute;
  top: 50%; left: -10px;
  margin-top: -10px;
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(157, 165, 251);  transparent transparent;
}

.chat-takumi {
  display: inline-block;
  padding: 15px 20px;
  margin-left: 120px;
  margin-top: 8px;
  border-radius: 10px;
  position: relative;
  background-color:rgb(99, 176, 232);
}
.chat-takumi:after {
  content: "";
  position: absolute;
  top: 50%; left: -10px;
  margin-top: -10px;
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(99, 176, 232);  transparent transparent;
}
