*, *::before, *::after {
   box-sizing: inherit
}
html {
  box-sizing: border-box;
  font-family: 'Noto Sans TC', sans-serif;
  height: 100%
}
body {
  background-color: #2B2A2A;
  background-image: url("/assets/background.png");
  background-position: top 48px left calc(50% - 80px);
  background-repeat: no-repeat;
  background-size: 1024px;
  overflow-x: hidden
}
main {
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
  padding-top: 112px;
  width: 960px;
}
main h1 {
  color: white;
  font-size: 128px;
  letter-spacing: .1em;
  margin-bottom: 48px;
  margin-top: 0;
}
main p {
  color: white;
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 24px;
  margin-top: 0;
}
main address {
  font-style: normal;
  margin-top: 64px
}
main address ul {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  list-style-type: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0
}
main address ul li h2 {
  margin-bottom: 20px;
  margin-top: 0;
  height: 48px
}
main address ul li h2 img {
  height: 100%
}
main address ul li div {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  width: 128px
}
main address ul li div a {
  text-decoration: none;
  width: 44px
}
main address ul li div a img {
  /* text-decoration: none */
  width: 100%
}
footer {
  background-color: #414141;
  display: flex;
  flex-direction: column;
  height: 112px;
  justify-content: center
}
footer nav ul {
  align-items: center;
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin-bottom: 24px;
  margin-top: 0;
  padding-left: 0
}
footer nav ul li:not(:last-child)::after {
  color: white;
  content: "｜";
  font-size: 20px;
  margin-left: 12px;
  margin-right: 12px
}
footer nav ul li a {
  color: white;
  font-size: 22px;
  text-decoration: none
}
footer nav ul li a:hover {
  text-decoration: underline
}
footer small {
  color: #E8E8E8;
  display: flex;
  font-size: 14px;
  font-style: normal;
  justify-content: center;
}
footer small ul {
  display: flex;
  list-style-type: none;
  margin-bottom: 0;
  margin-left: 40px;
  margin-top: 0;
  padding-left: 0
}
footer small li:not(:last-child)::after {
  color: white;
  content: "｜";
  font-size: 14px;
}
footer small li a {
  color: white;
  text-decoration: none
}
footer small 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 */
    background-position: top 48px left 8px;
    background-size: 384px
  }
  main {
    min-width: 320px;
    padding: 80px 20px 48px;
    width: 100%
  }
  main h1 {
    font-size: 60px;
    margin-bottom: 24px;
  }
  main p {
    font-size: 16px;
    line-height: 24px;
  }
  main address {
    margin-top: 48px
  }
  main address ul {
    grid-template-columns: 1fr
  }
  main address ul li h2 {
    margin-bottom: 16px;
    height: 40px
  }
  main address ul li div {
    width: 96px
  }
  main address ul li div a {
    text-decoration: none;
    width: 36px
  }
  footer {
    height: 80px
  }
  footer nav ul {
    margin-bottom: 12px
  }
  footer nav ul li:not(:last-child)::after {
    font-size: 16px;
  }
  footer nav ul li a {
    font-size: 16px;
  }
  footer small {
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    /* transform-origin: .5em 1em; */
    /* transform: scale(.8333); */
    /* width: 120% */
  }
}
