@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: normal;
  src: url('../assets/fonts/NotoSans/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Sans';
  font-weight: 400;
  font-style: italic;
  src: url('../assets/fonts/NotoSans/NotoSans-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: normal;
  src: url('../assets/fonts/NotoSans/NotoSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-style: italic;
  src: url('../assets/fonts/NotoSans/NotoSans-BoldItalic.ttf') format('truetype');
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
}

p {
  margin: 0;
  padding: 0;
}

.font-size-l {
  font-size: 24px;
  line-height: 32px;
}

.font-size-m {
  font-size: 18px;
  line-height: 24px;
}

.font-size-xl {
  font-size: 28px;
  line-height: 36px;
}

.font-size-huge {
  font-size: 50px;
  line-height: 52px;
}

main {
  padding-top: 64px;
  padding-bottom: 14px;
}

main section.trial-consent-apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1%;
}

main section.trial-consent-apps article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 40%;
  margin: 15px;
  padding: 35px 15px;
  background: url('../assets/images/box.png') no-repeat center center;
  background-size: cover;
}

main section.trial-consent-apps article .app-logo {
  width: 20rem;
}

main section.trial-consent-apps article p {
  width: 90%;
  text-align: left;
  margin: 20px 0;
}

main section.trial-consent-apps article p legend {
  text-align: center;
  margin: 10px auto;
}

main section.trial-consent-hub {
  margin-top: 1%;
  padding: 10px 9% 25px 9%;
  background: url('../assets/images/hub.png') no-repeat center center;
  background-size: cover;
}

main section.trial-consent-hub h1 {
  font-weight: normal;
}

main section.trial-consent-hub article.description {
  display: flex;
  margin-bottom: 25px;
}

main section.trial-consent-hub article .btn {
  flex-shrink: 0;
  height: 40px;
}

main section.trial-consent-hub article.description > span {
  padding-right: 120px;
  text-align: left;
}

.global-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
}

.btn {
  line-height: 1.2;
  padding: 0.5rem 3rem;
  text-align: center;
  background: #057cb1;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
}

.btn:hover {
  background: #00618d;
}

.btn:active {
  background: #014e71;
}

@media (max-width: 1024px) {
  main section.trial-consent-hub article.description > span {
    padding-right: 60px;
  }
}

@media (max-width: 850px) {
  html {
    font-size: 14px;
  }

  main section.trial-consent-apps {
    flex-direction: column;
    align-items: center;
  }

  main section.trial-consent-apps article {
    width: 80%;
    margin: 10px;
  }

  main section.trial-consent-apps article .app-logo {
    width: 20rem;
  }

  main section.trial-consent-apps article p {
    margin: 20px;
  }

  main section.trial-consent-hub h1 {
    font-size: 28px;
    line-height: 36px;
  }

  main section.trial-consent-hub article.description {
    flex-direction: column;
  }

  main section.trial-consent-hub article.description > span {
    padding-right: 0;
    margin-bottom: 20px;
  }
}
