img {
  width: 100%;
}
/* カラー変数 */
:root {
  --primary: #d80c24;
  --secondary: #ff0064;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

.p-btn {
  display: inline-block;
  width: 380px;
  padding: 10px 20px;
  font-size: 20px;
  
  color: #fff;
  border-radius: 80px;
  text-align: center;
}
.p-btn.-primary {
  background-color: var(--primary);
}
.p-btn.-secondary {
  background-color: var(--secondary);
}

.p-hero {
  background-color: #eedee1;
}

.p-hero__inner {
  position: relative;
  width: 1000px;
  margin: 0 auto;
}

.p-hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20%;
}

.p-head {
  padding: 35px 25px 0;
  color: var(--primary);
  text-align: center;
}

.p-head__title {
  width: 536px;
  margin: 35px auto 0;
}

.p-head__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

.p-head__bottom {
  margin-top: 40px;
}

.p-body {
  width: 600px;
  margin: 48px auto;
}

.p-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-align: center;
  color: var(--primary);
}

.p-box {
  margin-top: 48px;
}

.p-box__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: var(--primary);
}

.p-box__text {
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
  padding-top: 20px;
}

.p-howto {
  margin-top: 64px;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  padding: 20px 0;
  text-align: center;
  line-height: 1.75;
}

.p-howto__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  
}

.p-bottom {
  width: 400px;
  margin: 0 auto;
}

.p-bottom__body {
  padding-top: 30px;
  
}

.p-bottom__text {
  padding-top: 8px;
  font-size: 14px;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
}

.p-container {
  padding-bottom: 100px;
}

.p-bottom-btnWrapper {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.u-sp {
  display: none;
}

.u-pc {
  display: block;
}

@media (max-width: 768px) {
  .p-btn {
    font-size: 17px;
    width: 280px;
  }
  .p-hero__inner {
    width: 100%;
  }
  .p-hero__badge {
    left: 30px;
    bottom: 16px;
  }
  .p-head__text {
    font-size: 18px;
  }
  .p-head__title {
    width: 100%;
  }
  .p-head__bottom {
    margin-top: 36px;
  }
  .p-body {
    width: 100%;
    padding: 0 25px;
  }
  .p-title {
    font-size: 18px;
  }
  .p-box {
    margin-top: 32px;
  }
  .p-box__title {
    font-size: 15px;
  }
  .p-box__text {
    font-size: 13px;
    padding-top: 10px;
  }
  .p-howto__title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .p-howto__text {
    font-size: 13px;
  }
  .p-bottom {
    width: 100%;
    padding: 0 25px;
  }


  .p-container {
    padding-bottom: 80px;
  }
  .u-sp {
    display: block;
  }
  .u-pc {
    display: none;
  }
}
