.container {
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
}

.campaign-banner {
  width: 100%;
}

.campaign-banner img {
  width: 100%;
}

.campaign-header h1 {
  margin: 1rem 10px 1rem 10px;
  font-size: 1.5rem;
}

.campaign-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(355px, 0fr));
  gap: 10px;
  padding: 0px 1rem;
}

.campaign-box {
  width: 100%;
  max-width: 320px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 5px 15px #00000015;
}

.campaign-pic {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.campaign-pic img {
  width: 100%;
}

.campaign-box h3 {
  text-align: center;
  padding: 10px;
}

.campaign-desc {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0px 1rem;
}

.campaign-desc p:nth-child(1){
  font-weight: 700;
}

.campaign-info{
  padding: 0rem 1rem !important;
}

.campaign-box a {
  width: 95%;
  margin: auto;
}

.campaign-box button {
  width: 100%;
  margin-bottom: 10px;
  padding: 1rem 10px;
  margin-top: 1rem;
  outline: none;
  border: none;
  background: var(--primary-gradient);
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
}

.campaign-thumnail {
  width: 100%;
  max-width: 600px;
  margin: auto;
  margin-top: 1rem;
}

.campaign-thumnail img {
  width: 100%;
  border-radius: 5px;
}

.campaign-condition{
    width: 95%;
    max-width: 600px;
    margin: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 10px #00000015;
}

.campaign-condition h2{
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.campaign-condition ol{
    padding: 0px 2rem;
}

.campaign-condition h4{
  margin-bottom: 1rem;
}

.campaign-single-desc h1 {
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem 1rem;
}

.answer-btn {
  float: left;
  margin: 0 5px 0 0;
  height: 120px;
  width: 120px;
  position: relative;
}

.answer-btn label,
.answer-btn input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.answer-btn input[type='radio'] {
  opacity: 0.011;
  z-index: 100;
  cursor: pointer;
}

.answer-btn input[type='radio']:checked + label {
  background: var(--primary-color);
  border-radius: 10px;
}

.answer-btn input[type='radio']:checked + label p{
    color: #fff;
}

.answer-btn label p{
    margin-top: .5rem;
}

.answer-btn label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  line-height: 1.8em;
  border: 1px solid #eeeeee;
  background: #fff;
  box-shadow: 0px 5px 15px #00000015;
  border-radius: 10px;
  height: 120px;
  width: 120px;
  margin: auto;
}

.answer-btn label img {
  width: 50px;
  height: 50px;
}

.campaign-form {
  width: 100%;
  margin: auto;
  margin-top: 2rem;
  max-width: 500px;
}

.middle-box {
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.middle-box{
    font-weight: 700;
}

.campaign-form form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flex-wrap {
  width: 100%;
  display: flex;
  margin-bottom: 1rem;
}

.left-box,
.right-box {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.campaign-form .input-wrap input{
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    width: 150px;
}

.campaign-submit{
    margin-top: 1rem;
    border-radius: 5px;
    width: 95%;
    padding: 1rem;
    background: linear-gradient(270deg, #f7a019, #f27f0c);
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.warning-text{
  padding: 5px 1rem;
  text-align: center;
}

.input-wrap-lotto{
    width: 95%;
    margin: auto;
}

.input-wrap-lotto p{
    font-weight: 500;
    margin-bottom: .5rem;
}

.input-wrap-lotto input{
    width: 100%;
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    margin-bottom: 1rem;
}

@media screen and (max-width:442px){
  .campaign-thumnail {
    width: 100%;
    max-width: 600px;
    margin: auto;
  }
  
  .campaign-thumnail img {
    width: 100%;
    border-radius: 0;
  }  
  .campaign-box{
    max-width: 320px;
    margin: 1rem auto;
  }

  .campaign-wrap{
    padding: 0px 1rem;
  }
  .campaign-header h1{
    margin: 1rem;
    text-align: center;
  }
}