*, *::before, *::after {
   box-sizing: inherit
}
html {
  box-sizing: border-box;
  height: 100%
}
body {
  background-size: 1118px;
  background: #2B2A2A url("/assets/background.png") no-repeat top 70px left calc(50% - 80px);
  height: 100%;
  overflow-x: hidden
}
main {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
  padding-top: 170px;
  width: 960px;
}
main h1 {
  margin-bottom: 50px;
  margin-top: 0;
  width: 830px
}
main h1 img {
  width: 100%
}
main p {
  color: white;
  font-size: 20px;
  letter-spacing: .33px;
  line-height: 32px;
  margin-bottom: 12px;
  margin-top: 0;
  text-align: justify
}
main address {
  font-style: normal;
  margin-top: 85px
}
main address ul {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0
}
main address ul li h2 {
  margin-bottom: 20px;
  margin-top: 0;
  width: 230px
}
main address ul li h2 img {
  width: 100%
}
main address ul li div {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  width: 125px
}
main address ul li div a {
  text-decoration: none
}
footer {
  background-color: #414141;
  height: 130px;
  padding-top: 30px
}
footer nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-bottom: 35px;
  margin-top: 0
}
footer nav ul li:not(:last-child)::after {
  color: white;
  content: "｜";
  font-size: 22px;
  margin-left: 50px;
  margin-right: 50px
}
footer nav ul li a {
  color: white;
  font-size: 22px;
  letter-spacing: .36px;
  text-decoration: none
}
footer nav ul li a:hover {
  text-decoration: underline
}
footer address {
  color: #E8E8E8;
  display: flex;
  font-size: 14px;
  font-style: normal;
  justify-content: center;
}
footer address ul {
  display: flex;
  list-style-type: none;
  margin-bottom: 0;
  margin-left: 40px;
  margin-top: 0;
  padding-left: 0
}
footer address li:not(:last-child)::after {
  color: white;
  content: "｜";
  font-size: 14px;
  margin-left: .5em;
  margin-right: .5em
}
footer address li a {
  color: white;
  text-decoration: none
}
footer address li a:hover {
  text-decoration: underline
}

@media (max-width: 1023px) {
  body {
    background-image: url("/assets/m-background.png");
    background-position: top 20px left;
    background-size: 290px
  }
  main {
    min-width: 320px;
    padding: 160px 30px 0;
    width: 100%
  }
  main h1 {
    margin-bottom: 30px;
    width: 315px
  }
  main p {
    font-size: 14px;
    letter-spacing: .73px;
    line-height: 22px;
  }
  main address {
    margin-top: 50px
  }
  main address ul {
    flex-direction: column
  }
  main address ul li {
    margin-bottom: 60px
  }
  main address ul li h2 {
    margin-left: auto;
    margin-right: auto;
    width: 200px
  }
  footer {
    height: 110px;
    padding-top: 26px
  }
  footer nav ul {
    margin-bottom: 22px;
    padding-left: 0
  }
  footer nav ul li:not(:last-child)::after {
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px
  }
  footer nav ul li a {
    font-size: 16px;
    letter-spacing: .26px
  }
  footer address {
    flex-direction: column;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    transform-origin: .5em 1em;
    transform: scale(.75);
    width: 132%
  }
  footer address ul {
    justify-content: center;
    margin-left: 0
  }
}
