@charset "UTF-8";
/*
編集はscssで行うこと
*/
/* CSS Document */
html {
  overflow: auto;
}

body {
  overflow: hidden;
}

.heading-h1 {
  display: none;
}

#wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
#wrapper a {
  text-decoration: none !important;
}
#wrapper .ended {
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  color: #c00;
}
#wrapper header .ended {
  margin-top: 2em;
}
#wrapper #period .ended {
  font-size: 1em;
}
#wrapper header {
  margin: 0 auto;
}
#wrapper header .main_banner, #wrapper header .sp_main_banner {
  max-width: 100%;
  height: auto;
}
#wrapper header .sp_main_banner {
  display: none;
}
#wrapper header .lead {
  margin: 0 10px;
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: justify;
}
@media screen and (min-width: 768px) {
  #wrapper header .lead {
    width: 80%;
    margin: 30px auto;
    font-size: 1.7rem;
    text-align: center;
  }
}
#wrapper header .lead p {
  width: 100%;
  line-height: 1.5;
}
#wrapper header .lead p span {
  display: inline-block;
}
#wrapper.detail header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  #wrapper.detail header .lead {
    margin-top: 50px;
    margin-bottom: 10px;
  }
}

#main {
  max-width: 1000px;
  margin: 0 auto;
}
#main .note {
  margin-top: 1em;
  font-size: 0.95em;
}

.headline {
  overflow: hidden;
  margin: 0 0 30px;
  text-align: center;
  border-bottom: solid 1px #777;
}
.headline h3 {
  margin: 0;
  padding-top: 20px;
  font-size: 3rem;
  font-weight: normal;
  color: #555;
}

#gift {
  margin: 0 10px 60px;
}
#gift .detail {
  text-align: center;
}
#gift .detail figure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#gift .detail figure img {
  width: 100%;
  padding: 10px;
}
@media screen and (min-width: 768px) {
  #gift .detail figure img {
    width: 50%;
  }
}
#gift .detail .note {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#items {
  margin: 0 0 60px;
}
#items > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#items > div .item {
  text-align: center;
  margin-top: 50px;
}

#period {
  margin: 0 10px 60px;
  text-align: center;
  line-height: 1.5;
  font-size: 2.1rem;
  font-weight: bold;
  color: #555;
}
#period span {
  display: inline-block;
}
#period span span {
  display: inline;
  font-size: 3.5rem;
}
#period .note {
  margin: -5px 0 20px;
  font-size: 1.5rem;
  font-weight: normal;
}

#target {
  margin: 0 10px 60px;
  text-align: center;
  font-size: 1.3em;
}
#target > p {
  margin-bottom: 2em;
  font-size: 0.9em;
}
#target figure {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#target figure img {
  max-height: 360px;
  margin: 0 auto;
}

#how_to {
  margin: 0 10px 60px;
  font-size: 1.3em;
}
#how_to > p {
  margin-bottom: 1em;
  text-align: justify;
}
@media screen and (min-width: 768px) {
  #how_to > p {
    text-align: center;
  }
}
#how_to .select {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#how_to .select a {
  display: block;
  margin: 20px;
  padding: 20px;
  font-size: 0.9em;
  transition: .5s;
}
#how_to .select a:hover {
  opacity: 0.6;
  transition: .5s;
}
#how_to .select a img {
  max-width: 360px;
  margin-bottom: 30px;
}
#how_to .select a p {
  text-align: center;
}
#how_to .select a p::after {
  display: inline-block;
  margin-left: .6em;
  content: "\f105";
  font-family: FontAwesome;
  font-size: 0.9em;
}
#how_to img {
  display: block;
  margin: 10px auto;
}
#how_to #step {
  padding: 0 20px 2px;
}
@media screen and (min-width: 768px) {
  #how_to #step {
    display: flex;
    justify-content: space-between;
    padding: 0 30px 60px;
  }
}
#how_to #step .step_box {
  position: relative;
  background-color: #fff;
  margin: 20px 0 40px;
  padding: 0 0 5px;
  font-size: 1.7rem;
  line-height: 1.5em;
  border: solid 1px #000;
}
@media screen and (min-width: 768px) {
  #how_to #step .step_box {
    width: 33.3%;
    margin: 0 20px;
  }
}
#how_to #step .step_box:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
}
@media screen and (min-width: 768px) {
  #how_to #step .step_box:not(:last-child)::after {
    top: 50%;
    right: -36px;
    transform: translateY(-50%);
    border-top: 36px solid transparent;
    border-bottom: 36px solid transparent;
    border-left: 28px solid #956cdb;
  }
}
@media screen and (max-width: 767px) {
  #how_to #step .step_box:not(:last-child)::after {
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 28px solid #956cdb;
    border-left: 36px solid transparent;
    border-right: 36px solid transparent;
  }
}
#how_to #step .step_box img {
  display: block;
  margin: 20px auto;
  max-width: 90%;
}
#how_to #step .step_box h4 {
  text-align: center;
}
#how_to #step .step_box .number h4 {
  margin: 0;
}
#how_to #step .step_box p {
  margin: 10px 15px 12px;
  text-align: justify;
}
#how_to #step .number {
  padding: 16px 0 12px;
  background-color: #000;
  color: #fff;
  font-size: 1.3em;
  text-align: center;
}
#how_to p.note {
  display: table;
  margin: 0 auto 1em;
  font-size: 1.5rem;
  text-align: left;
}
#how_to ul {
  padding: 0;
}
#how_to ul li {
  list-style-type: none;
}
#how_to .apply-buttons {
  padding: 0 0 20px;
}
@media screen and (min-width: 768px) {
  #how_to .apply-buttons {
    display: flex;
    justify-content: center;
    padding: 20px 0 60px;
  }
}
#how_to .apply-buttons li {
  margin: 20px 0;
  text-align: center;
  font-size: 1.2em;
}
@media screen and (min-width: 768px) {
  #how_to .apply-buttons li {
    width: 45%;
    margin: 0 20px;
  }
}
#how_to .apply-buttons li a {
  display: block;
  margin: 3px 0 0;
  padding: 1em 0 1em 0.5em;
  background-color: #000;
  color: #fff;
}
#how_to .apply-buttons li a::after {
  position: relative;
  top: 2px;
  display: inline-block;
  content: "\f105";
  font-family: FontAwesome;
  font-size: 1.5em;
  line-height: 1;
  margin-left: .8em;
}
@media screen and (min-width: 768px) {
  #how_to .apply-buttons li a {
    overflow: hidden;
    position: relative;
    border: solid 2px #000;
    font-weight: bold;
    transition: 0.7s;
  }
  #how_to .apply-buttons li a::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background: #fff;
    transform-origin: right top;
    transform: scale(0, 1.05);
    transition: transform 0.7s;
  }
  #how_to .apply-buttons li a:hover {
    border-color: #000;
    color: #000;
    transition: 0.7s;
  }
  #how_to .apply-buttons li a:hover::before {
    transform-origin: left top;
    transform: scale(1, 1.05);
    transition: transform 0.7s;
  }
  #how_to .apply-buttons li a span {
    position: relative;
  }
}

#apply {
  margin: 0 10px 30px;
}
@media screen and (min-width: 768px) {
  #apply {
    margin: 70px 20px 50px;
  }
}
#apply .lead {
  font-size: 1.8rem;
}
#apply .apply_inner h4 {
  color: #555;
}
#apply .apply_inner ul {
  padding: 0 0 0 1em;
}
#apply .apply_inner ul li {
  list-style-type: none;
  max-width: 1200px;
  font-size: 15px;
  padding-bottom: 5px;
}
#apply .apply_inner ul li:last-child {
  padding-bottom: 20px;
}
#apply .apply_inner ul li:before {
  content: '';
  width: 4px;
  height: 4px;
  border: 0px;
  transform: rotate(45deg);
  position: absolute;
  background-color: #555;
  margin-left: -0.8em;
  margin-top: 0.5em;
  transition: 0.4s;
}
#apply .apply_inner a {
  color: #555;
}
@media screen and (min-width: 768px) {
  #apply .apply_inner a {
    display: inline-block;
    line-height: 1;
    border-bottom: solid 1px transparent;
    transition: 0.5s;
  }
  #apply .apply_inner a:hover {
    border-bottom-color: #303030;
    transition: 1.2s;
  }
}
#apply .apply_inner a::after {
  display: inline-block;
  margin-left: .5em;
  content: "\f08e";
  font-family: FontAwesome;
  font-size: 0.9em;
}

#contact {
  margin: 0 10px;
}
@media screen and (min-width: 768px) {
  #contact {
    margin: 80px 0;
  }
}
#contact .title {
  font-weight: bold;
  margin-bottom: 5px;
}
#contact p {
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  div#wrap-to-page-top > div > div {
    width: 130px;
  }
}
