
#csp-header {
  background-image: url(../img/gradient_bg.png);
  background-repeat: repeat-x;
  background-size: 97px 325px;
  height: 325px;
  overflow: hidden;
  margin-bottom: 15px;
}

@media (max-width: 1000px) {
  #csp-header {
    height: calc((100vw - 800px) * 35 / 200 + 290px);
  }
}

@media (max-width: 800px) {
  #csp-header {
    height: 290px;
  }
}

#csp-header a {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  padding: 24px 15px 0;
  margin: 0 auto;
  position: relative;
  text-decoration: none;
  box-sizing: border-box;
}

#csp-header .text {
  transition: opacity 1.5s;
  transition-delay: 1s;
  z-index: 1;
  animation-name: textFadeIn;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 3s;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 1000px) {
  #csp-header .text {
    font-size: calc((100vw - 800px) * 4 / 200 + 12px);
  }
}

@media (max-width: 800px) {
  #csp-header .text {
    font-size: 0.75em;
    position: static;
  }
}

@media (max-width: 600px) {
  #csp-header .text span {
    display: block;
  }
}

#csp-header .text h1 {
  color: #cdfb00;
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 200;
  font-size: 3em;
  line-height: 1em;
  width: 9em;
}

@media (max-width: 800px) {
  #csp-header .text h1 {
    width: 100%;
    text-align: center;
    margin: 0.5em 0;
    font-size: calc((100vw - 600px) * 11/200 + 31px);
  }
}

@media (max-width: 600px) {
  #csp-header .text h1 {
    margin: 0.25em 0;
    font-size: 2.5833333333em;
  }
}

@media (max-width: 340px) {
  #csp-header .text h1 {
    margin: 0.25em 0;
    font-size: 2.5em;
  }
}

#csp-header .text p {
  color: #fff;
  font-size: 1.375em;
  line-height: 1.4em;
  width: 18em;
}

@media (max-width: 800px) {
  #csp-header .text p {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

@media (max-width: 480px) {
  #csp-header.ASpot_529Day {
    height: calc((100vw - 428px) * -35/52 + 325px);
  }
}

@media (max-width: 428px) {
  #csp-header.ASpot_529Day {
    height: 325px;
  }
}

#csp-header.ASpot_529Day a {
  padding: 24px 46px 0 30px;
  background-image: url(../img/529day_boy.png);
  background-position: 560px bottom;
  background-size: 500px;
  background-repeat: no-repeat;
}

@media (max-width: 1200px) {
  #csp-header.ASpot_529Day a {
    background-position: calc((100vw - 1000px) * 76/200 + 484px) bottom;
  }
}

@media (max-width: 1000px) {
  #csp-header.ASpot_529Day a {
    padding: calc((100vw - 800px) * -24/200 + 48px) calc((100vw - 800px) * 14/200 + 32px) 0;
    background-position: calc((100vw - 800px) * 138/200 + 346px) bottom;
    background-size: calc((100vw - 800px) * 52/200 + 448px);
  }
}

@media (max-width: 800px) {
  #csp-header.ASpot_529Day a {
    padding: 12px;
    background-size: 264px;
    background-position: calc(50% + 32px) bottom;
  }
}

#csp-header.ASpot_529Day .text h1 {
  color: #ffe56f;
}

@media (max-width: 600px) {
  #csp-header.ASpot_529Day .text h1 {
    line-height: 1.2em;
  }
}

#csp-header.ASpot_529Day .text p span {
  display: block;
}

@media (max-width: 800px) {
  #csp-header.ASpot_529Day .text p span {
    display: inline;
  }
}

@media (max-width: 448px) {
  #csp-header.ASpot_529Day .text p span {
    display: block;
  }
}