@charset "utf-8";

/* CSS Document */
body {
  margin: auto;
  letter-spacing: 1px;
  max-width: 700px;
  font-size: 20px;
  font-family: sans-serif;
  text-decoration-skip-ink: none;
}

div {
  width: auto;
  margin-left: 2%;
  margin-right: 2%;
}

img {
  max-width: 100%;
}


/* 画面幅500pxから　(pc) */
@media (min-width: 700px) {
  body {
    font-size: 32px;
  }

  .d0-0{
    display: flex;
    max-width: 700px;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .d0-1 {
    text-align: center;
    align-items: center;
    justify-content: center;
    background-image: url("./sozai/sozai_0hover.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  }

  .d0-1 a:hover {
    opacity: 0;
  }

  .d0-1 img {
    /* max-width: 90%; */
    transition: opacity .3s;
  }

  .d0-2 img {
    /* max-width: 90%; */
    transition: opacity .3s;
  }

  .d0-2 {
    text-align: center;
    align-items: center;
    justify-content: center;
    background-image: url("./sozai/sozai_2hover.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  }

  .d0-2 a:hover {
    opacity: 0;
  }
}

/* 画面幅500pxまで　(スマホ) */
@media (max-width: 500px) {
  body {
    font-size: calc(30px + ((1vw - 7.6px)*(16/4.4)));
  }

  .d0-0{
    display:block;
    max-width: 700px;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

}

.d0 {
  display: flex;
  padding-top: 1%;
  background-color: #ffffff;
  border-top: 3px solid #999999;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
}

.d2 {
  margin-top: 3px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-image: url("./sozai/sozai_2hover.png");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}

.d2 img {
  max-width: 90%;
  transition: opacity .3s;
}

.d2 a:hover {
  opacity: 0;
}

.d3 {
  background-color: #aaaaaa;
  padding-top: 2%;
  padding-bottom: 2%;
}

.d3-1 {
  color: #ffffff;
  margin: 2%;
  padding: 1%;
  background-color: #666666;
  text-align: center;
  font-weight: bold;
}

.d3-2 {
  display: flex;
  background-color: #ffffff;
  font-size: 83%;
  align-items: center;
}

.d3-2 img {
  max-width: 10%;
  margin: 2%;
}

.d4-1 {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  background-color: #019fe8;
  padding: 2%;
  font-size: 110%;
}

.d4-2 {
  margin-top: -3%;
}

.d5-1 {
  background-color: #019fe8;
  margin: auto;
  padding: 2%;
  color: #ffffff;
  text-align: center;
  font-size: 100%;
  font-weight: 800;
}

.d5-2 {
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  justify-content: space-between;
}

.d5-3 {
  margin: 2px;
  width: 45%;
  height: 25vw;
  max-height: 250px;
  font-size: 80%;
  border: solid 5px #019fe8;
  font-weight: bold;
  text-align: center;
  color: #000000;
  padding: 10px;
  box-sizing: border-box;
  text-decoration-line: underline;
  text-decoration-color: yellow;
  text-decoration-thickness: 5px;
  text-underline-offset: -2px;
  text-decoration-skip-ink: none;
  letter-spacing: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.d5-4 {
  color: red;
}

.d6-1 {
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  background-color: #019fe8;
  margin: 1%;
  padding: 2%;
}

.d6-2 {
  display: block;
}

.d6-2 img {
  margin-top: 2%;
}

.d7-1 {
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  background-color: #019fe8;
  margin: 1%;
  padding: 2%;
}

.d7-2 {
  display: block;
}

.d7-2 img {
  margin-top: 2%;
  margin-bottom: -2%;
}

.d8-1 {
  font-size: 100%;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  background-color: #019fe8;
  padding: 2%;
}

.d8-2 {
  margin-top: 3px;
  display: flex;
  padding: 5px;
  font-size: 60%;
  letter-spacing: 0px;
  color: #666666;
  align-items: center;
}

.d8-2 img {
  max-width: 45px;
  margin-left: 1%;
  margin-right: 1%;
}

.d8-3 {
  margin-top: 3px;
  display: flex;
  padding: 5px;
  font-size: 60%;
  letter-spacing: 0px;
  color: #666666;
  background-color: #dff5ff;
  align-items: center;
}

.d8-3 img {
  max-width: 45px;
  margin-left: 1%;
  margin-right: 1%;
}

.d9 {
  background-color: #fffde4;
  padding-top: 1%;
}

.d9-1 {
  font-size: 100%;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  background-color: #019fe8;
  padding: 2%;
  margin-top: 2%;
  margin-bottom: 6%;
}

.footer {
  font-size: 40%;
  color: #333333;
  text-align: center;
}

.footer a {
  text-decoration: none;
  color: #333333;
}

.footer a:hover {
  text-decoration: none;
  color: #44a46b;
}
