/* =====================================
   variables
   ===================================== */
:root {
  --font-family: 'Noto Sans', ui-sans-serif, system-ui, sans-serif;
  --bg-image-url: url(./images/bg-gradient.webp);
  --section-border-gradient: linear-gradient(111.47deg, #FFF3CA 4.6%, #EDB733 59.64%, #FFDE8E 100%);
  --typography-body-md: 16px;
  --typography-body-xsm: 13px;
  --typography-button-md: 16px;
  --light-100: rgba(255, 255, 255, 1);
  --light-070: rgba(255, 255, 255, 0.70);
  --dark-026: rgba(0, 0, 0, 0.26);
  --dark-087: rgba(0, 0, 0, 0.87);
}

/* =====================================
   reset style
   ===================================== */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--light-100);
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =====================================
   layout styles
   ===================================== */

.container {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0 80px;
  background-image: var(--bg-image-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  @media (max-width: 768px) {
    padding: 0 24px;
  }
}

.header {
  display: flex;
  justify-content: center;
  padding: 72px 40px 24px;
  @media (max-width: 768px) {
    padding-top: 40px;
  }
}
.header__logo {
  max-width: 320px;
}

.main {
  flex: 1;
  padding-bottom: 80px;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3px;
  border-radius: 8px;
  background: var(--section-border-gradient);
}

.section__inner {
  padding: 48px 24px 40px;
  background: #490989;
  border-radius: 5px;
}

.section__text {
  font-size: var(--typography-body-md);
  text-align: center;
  & + & {
    margin-top: 20px;
  }
}

.section__button {
  display: flex;
  margin-top: 40px;
  justify-content: center;
}

.button {
  display: inline-flex;
  padding: 12px;
  border-radius: 4px;
  background: var(--light-100);
  color: var(--dark-087);
  font-size: var(--typography-button-md);
  font-weight: 700;
  line-height: 1.4;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 24px;
  @media (max-width: 768px) {
    gap: 24px;
  }
}

.footer__nav {
  font-size: var(--typography-body-xsm);
}

.footer__nav--sns {
  & .footer__navListItem {
    width: 28px;
    height: 28px;
  }
}

.footer__nav--links {
  & .footer__navList {
    @media (max-width: 768px) {
      flex-direction: column;
    }
  }
}

.footer__navList {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__copyright {
  color: var(--light-070);
  font-size: var(--typography-body-xsm);
}

/* =====================================
   utility classes
   ===================================== */

.pc-only {
  display: block;
  @media (max-width: 768px) {
    display: none;
  }
}