html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

input, button {
  outline: 0;
}
input::-moz-focus-inner, button::-moz-focus-inner {
  border: 0;
}

body {
  /*
  background-image: -webkit-linear-gradient(90deg, #00afff, #ffffff);
  background-image: linear-gradient(90deg, #00afff, #ffffff);
  */
  background-image: url(./hajime/image/background.jpg);
  text-align: center;

  padding: 2% 2vw;
}

body * {
  box-sizing: border-box;
}

body > div {
  position: fixed;
  left: 2vw;
  width: 96vw;

  background-color: #ffffff;
  color: #202080;
  border-style: outset;
  border-width: 2px;
  border-radius: 5px;
  border-color: #1080e0;

  font-size: 16px;
  /*
  text-shadow:
    -1px -1px 0 #1080e0, -1px 0px 0 #1080e0, -1px 1px 0 #1080e0, 0px -1px 0 #1080e0,
    0px 1px 0 #1080e0, 1px -1px 0 #1080e0, 1px 0px 0 #1080e0, 1px 1px 0 #1080e0;
    */
}

button {
  color: #202080;
  background-color: #f0f0ff;
  font-size: 16px;
  /*
  text-shadow:
    -1px -1px 0 #1080e0, -1px 0px 0 #1080e0, -1px 1px 0 #1080e0, 0px -1px 0 #1080e0,
    0px 1px 0 #1080e0, 1px -1px 0 #1080e0, 1px 0px 0 #1080e0, 1px 1px 0 #1080e0;
    */
}

#div_inner {
  position: fixed;
  top: 2dvh;
  width: 96dvw;
  max-width: 96dvw;
  height: 96dvh;
  max-height: 96dvh;
  overflow: hidden;
}

#div_inner>div{
  left: 3dvw;
  width: 94dvw;
}

#div_top {
  position: fixed;
  top: 3dvh;
  width: 94dvw;
  max-width: 94dvw;
  height: 6dvh;
  max-height: 6dvh;
  overflow: hidden;
}

#div_top img{
  width: auto;
  height: 100%;
  object-fit: scale-down;
}

#MESSAGE_SERV {
  position: fixed;
  top: 8.5%;
  width: 94vw;
  max-width: 94vw;
  height: 6%;
  max-height: 6%;
  text-align: center;
  overflow: hidden;
  color: #e04000;
}

#div_pickup {
  position: fixed;
  top: 12dvh;
  width: 94dvw;
  max-width: 94dvw;
  height: 14dvh;
  max-height: 14dvh;
  left: 3vw;
  text-align: center;
  overflow: hidden;
}

#div_contents_pickup{
  color: #ffffff;
  background-color: #000000;
  text-align: left;
  height: 100%;
  max-height: 100%;
}

#div_contents_pickup img{
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: scale-down;
  cursor: pointer;
  object-position: 50% top;
}



#div_news{
  position: fixed;
  top: 26dvh;
  width: 94vw;
  max-width: 94vw;
  text-align: center;
}

#div_news button{
  width: 94dvw;
  max-width: 94dvw;
  height: 2rem;
  max-height: 2rem;
  border-radius: 1dvw;
  cursor: pointer;
  font-size: 18px;

  background-color: #1080e0;
  color: #ffffff;
  animation: fadeIn infinite ease alternate; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
  
}

#div_news button:hover{
  color: #ffffff;
  background: #404040;
  border-width: 3px;
  border-color: #0060f0;
  border-style: outset;
}

#button_close_news,
#button_close_contents_close{
  position: fixed;
  top: 2dvw;
  right: 2dvh;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  color: #ffffff;
  border-radius: 3rem;
  background-color: #d04000;
  
}


#div_main_news,
#div_contents_close{
  width: 92dvw;
  max-width: 92dvw;
  height: 94dvh;
  max-height: 94dvh;
  text-align: center;
  overflow-y: scroll;
  position: fixed;
  left: 4dvw;
  top: 3dvh;
  border-width: 3px;
  border-color: #ffffff;
  border-style: outset;

}

#div_main_news_header,
#div_contents_close_header{
  color: #ffffff;
  font-size: 2rem;
}

#div_main_news_background,
#div_contents_close_background{
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  min-height: 100dvw;
  height: 100dvh;
  min-height: 100dvh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: -10000;
}


#tbody_news .caution{
  background-color: #1080e0;
  color: #ffffff;
  animation: fadeIn infinite ease alternate; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */

}


#tbody_news tr{
  background-color: #f0f0ff;
}


#tbody_news td{
  border: solid 1px #f0f0ff;
}

#tbody_news td:nth-child(1) {
  font-size: 12px;
  width: 10vw;
  border-radius: 0.6rem 0 0 0.6rem;
}

#tbody_news td:nth-child(2) {
  width: 10vw;
}

#tbody_news td:nth-child(3) {
  width: 10vw;
}

#tbody_news td:nth-child(4) {
  width: 60vw;
  cursor: pointer;
  border-radius: 0 0.6rem 0.6rem 0;
}

#div_contents {
  position: fixed;
  top: calc(26dvh + 2rem);
  width: 94vw;
  max-width: 94vw;
  height: calc(100dvh - 28dvh - 2rem);
  max-height: calc(100dvh - 28dvh - 2rem);
  text-align: center;
  
}

#div_contents_main{
  width: 94vw;
  max-width: 94vw;
  height: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  text-align: center;
  overflow-y: auto;
  
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.button_contents{
  float: left;
  width: 150px;
  max-width: 150px;
  height: 150px;
  max-height: 150px;
  margin: 1% 1vw;
  padding: 1% 1vw;
  border-radius: 2vw;
  cursor: pointer;
  font-size: 14px;
}

.button_contents:hover{
  color: #ffffff;
  background: #404040;
  border-width: 3px;
  border-color: #0060f0;
  border-style: outset;
}


#VER_ZETIXEQON {
  position: fixed;
  top: 0;
  text-align: right;


  background: none;
  border: none;
  font-size: 8px;
  color: #ffffff;
  /*text-shadow:
    -1px -1px 0 #8080d0, -1px 0px 0 #8080d0, -1px 1px 0 #8080d0, 0px -1px 0 #8080d0,
    0px 1px 0 #8080d0, 1px -1px 0 #8080d0, 1px 0px 0 #8080d0, 1px 1px 0 #8080d0;
    */
}

#COPYRIGHT {
  position: fixed;
  bottom: -0.1em;
  text-align: right;


  background: none;
  border: none;
  font-size: 12px;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #8080d0, -1px 0px 0 #8080d0, -1px 1px 0 #8080d0, 0px -1px 0 #8080d0,
    0px 1px 0 #8080d0, 1px -1px 0 #8080d0, 1px 0px 0 #8080d0, 1px 1px 0 #8080d0;
}