body {
  border: 0;
  padding: 0;
  margin: 0;
  color: #fff;
  background: #000000;
  font-size: 16px;
  background-size: cover;
  background-image: url("./background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, "Helvetica Neue", Helvetica, Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

div,
p,
header,
footer {
  border: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header {
  position: relative;
  height: 64px;
  padding: 10px 30px;
  display: flex;
  color: #000;
  background: #ffffff;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  font-size: 48px;
  padding: 0;
  margin: 0;
  align-content: baseline;
  height: 64px;
  position:relative;
  left: -20px;
}

header .logo img {
  height: 64px;
}

header .identifier {
  font-size: 48px;
  padding: 0 0 0 54px;
  margin: 0;
  align-content: baseline;
  height: 64px;
  position: relative;
  left: -20px;
  display: flex;
  align-items: center;
}


header .identifier img {
  height: 16px;
}

header .contact {
  color: #000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  flex-grow: 2;
  text-align: right;
}

header div a:link,
header div a:visited,
header div a:hover,
header div a:active,
header div a:focus {
  color: #000;
  text-decoration: none;
}

.main {
  min-height: calc(100vh - 130px);
  padding: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.main::after {
  content: "";
  display: block;
  background: url(./motif.png);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(0,25%);
}

@media screen and (orientation: landscape) {
  .main::after {
    max-width: 100vw;
    width: calc((100vh - 128px) * 0.8);
    height: calc((100vh - 128px) * 0.8);
    transform: translate(0,25%);
  }
}

@media screen and (orientation: portrait) {
  .main::after {
    max-width: 100vh;
    width: calc(100vw * 0.5);
    height: calc(100vw * 0.5);
    transform: translate(0,25%);
  }
}

.main-page {
  color: #ffffff;
  background: rgba(0, 30, 80, 0.8);
  padding: 3rem;
  width: 80vw;
  max-width: 1080px;
  margin: 0 auto;
}

.main-page-logo {
  width: 320px;
  margin-bottom: 0.8rem;
  padding: 0;
  margin: 0;
}

.main-page-logo img {
  width: 320px;
}

.main-page p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.main-page p.info {
  font-size: 1rem;
}

.main-page nav {
  display: flex;
  font-size: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.main-page a div {
  color: #ffffff;
  background: #0064D2;
  border: 1px solid #0059BB;
  padding: 0.8rem 3rem;
  display: inline-block;
  text-decoration: none;
}

footer {
  color: #000;
  background: #ffffff;
  height: 64px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .space {
  flex-grow: 2;
}

footer .privacy {
  margin-left: 20px;
}

footer div {
  font-size: 12px;
}

footer div a:link,
footer div a:visited,
footer div a:hover,
footer div a:active,
footer div a:focus {
  color: #000;
  text-decoration: none;
}
