@charset "UTF-8";

body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 16px;
  font-family: "Yu Gothic UI";
  background-color: black;
  color: white;
  min-width: 400px;
}

input {
  font-size: 14px;
  background-color: black;
  color: white;
}

* {
  box-sizing: border-box;
}

.error {
  text-align: center;
  color: red;
}

.button_center {
  display: flex;
  justify-content: center;
}

.botton_default {
  background-color: #2486d1;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  cursor: pointer;
  margin: 0 2%;
}

.form_div {
  padding: 16px 16px 0 16px;
}

/* ------------------------------ */
/* sample04 */
/* ------------------------------ */
.header04 {
  position:fixed;
  top: -20px;
  width: 100%;
  height: 100px;
  padding: 24px 24px;
  background-color: #222222;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header04-logo {
  font-weight: bold;
  font-size: 24px;
}

.header04-list {
  display: flex;
  gap: 32px;
  font-weight: bold;
  font-size: 20px;
  padding: 0 0 0 0;
}

.header04-contact {
  background-color: #2486d1;
  font-weight: bold;
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  margin-left: auto;
}

.content {
  margin-top: 80px;
}

/* ------------------------------ */
/* オーバーレイ */
/* ------------------------------ */

#overlay{
  display: flex;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
  background-color: rgba(0,0,0,0.8);
  transition: all 0.5s ease-out;
  justify-content: center;
}
#overlay.overlay_on{
  visibility: visible;
}

#overlay > * {
  margin: calc((100vh - 200px) * 0.2) 0 auto 0;
  width: 500px;
  height: 300px;
  justify-content: center;
  text-align:center;
  font-size: 16px;
}

/* ------------------------------ */
/* 読み込み中のオーバーレイ */
/* ------------------------------ */

#overlay_loading {
  background-color: transparent;
}

#overlay_loading p {
  margin-top: 50px;
  font-weight: bold;
}

.loader {
  margin: 100px auto 0 auto;
  position: relative;
  width: 85px;
  height: 50px;
  background-repeat: no-repeat;
  background-image: linear-gradient(#fff 50px, transparent 0),
                    linear-gradient(#fff 50px, transparent 0),
                    linear-gradient(#fff 50px, transparent 0),
                    linear-gradient(#fff 50px, transparent 0),
                    linear-gradient(#fff 50px, transparent 0),
                    linear-gradient(#fff 50px, transparent 0);
  background-position: 0px center, 15px center, 30px center, 45px center, 60px center, 75px center, 90px center;
  animation: rikSpikeRoll 0.65s linear infinite alternate;
}
@keyframes rikSpikeRoll {
0% { background-size: 10px 3px;}
16% { background-size: 10px 50px, 10px 3px, 10px 3px, 10px 3px, 10px 3px, 10px 3px}
33% { background-size: 10px 30px, 10px 50px, 10px 3px, 10px 3px, 10px 3px, 10px 3px}
50% { background-size: 10px 10px, 10px 30px, 10px 50px, 10px 3px, 10px 3px, 10px 3px}
66% { background-size: 10px 3px, 10px 10px, 10px 30px, 10px 50px, 10px 3px, 10px 3px}
83% { background-size: 10px 3px, 10px 3px,  10px 10px, 10px 30px, 10px 50px, 10px 3px}
100% { background-size: 10px 3px, 10px 3px, 10px 3px,  10px 10px, 10px 30px, 10px 50px}
}
