@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: 1rem;
  line-height: 1.4;
  text-align: justify;
}
@media screen and (min-width: 768px) {
  #wrapper header .lead {
    width: 80%;
    margin: 30px auto;
    font-size: 1.2rem;
    text-align: center;
  }
}
#wrapper header .lead p {
  width: 100%;
  line-height: 1.5;
}
#wrapper header .lead p span {
  display: inline-block;
}

#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: 2rem !important;
  font-weight: normal !important;
  color: #555;
}

#gift {
  margin: 0 10px 60px;
}
#gift .gift_detail {
  text-align: center;
}
#gift .gift_detail h4 {
  display: inline-block;
  margin: 5px auto 20px;
  padding: 12px 15px 10px 25px;
  background-color: #7b47d2;
  color: #fff;
  font-size: 1.9rem;
  font-weight: bold;
}
#gift .gift_detail .people {
  position: relative;
  max-width: 150px;
  margin: 5px auto 20px;
  padding: 10px 5px 8px;
  border: solid 1px #7b47d2;
  font-size: 1.9rem;
  font-weight: bold;
}
#gift .gift_detail .image-box {
  margin-bottom: 2em;
}
#gift .gift_detail .image-box figure {
  padding: 0;
}
#gift .gift_detail .image-box figure img {
  margin: 0 auto;
}
#gift .gift_detail .note {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#period {
  margin: 0 10px 60px;
  text-align: center;
  line-height: 1.5;
  font-size: 1.3rem;
  font-weight: bold;
  color: #555;
}
#period span {
  display: inline-block;
}
#period span span {
  display: inline;
  font-size: 2.5rem;
}
#period .note {
  margin: -5px 0 20px;
  font-size: 1.5rem;
  font-weight: normal;
}

#applicable {
  margin: 0 10px 60px;
  text-align: center;
  font-size: 1.3em;
}
#applicable > p {
  margin-bottom: 2em;
  font-size: 0.9em;
}
#applicable .products img {
  max-height: 400px;
  margin: 0 auto;
}
#applicable .products h4 {
  font-weight: normal;
  font-size: 1.2em;
  line-height: 1.5;
}
#applicable .products p {
  margin: 0;
  font-size: 0.8em;
}
#applicable .products p.note {
  margin: 0.5em 0 2em;
  font-size: 0.7em;
}

#how_to {
  background-color: #eee;
  margin-left: -500%;
  margin-right: -500%;
  padding-left: 500%;
  padding-right: 500%;
  margin-bottom: 20px;
}
#how_to .headline {
  border: none;
  padding: 10px 0 10px;
}
#how_to .headline h3 {
  margin: 0;
  color: #000;
}
#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.05rem;
  line-height: 1.5em;
  box-shadow: 4px 4px 1px rgba(50, 50, 50, 0.1);
}
@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: -32px;
    transform: translateY(-50%);
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 20px solid #aaa;
  }
}
@media screen and (max-width: 767px) {
  #how_to #step .step_box:not(:last-child)::after {
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 20px solid #aaa;
    border-left: 40px solid transparent;
    border-right: 40px 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 p {
  margin: 10px 15px 12px;
  text-align: justify;
}
#how_to #step .number {
  padding: 16px 0 12px;
  background-color: #7b47d2;
  color: #fff;
  font-size: 1.3em;
  text-align: center;
}
#how_to p.note {
  display: table;
  margin: 0 auto 1em;
}
#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: #7b47d2;
  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 #7b47d2;
    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: #7b47d2;
    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;
  }
}

#conditions {
  margin: 0 10px 30px;
}
@media screen and (min-width: 768px) {
  #conditions {
    margin: 70px 20px 50px;
  }
}
#conditions .lead {
  font-size: 1.2rem;
}
#conditions .apply_inner h4 {
  color: #555;
}
#conditions .apply_inner ul {
  padding: 0 0 0 1em;
}
#conditions .apply_inner ul li {
  list-style-type: none;
  max-width: 1200px;
  font-size: 15px;
  padding-bottom: 5px;
}
#conditions .apply_inner ul li:last-child {
  padding-bottom: 20px;
}
#conditions .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;
}
#conditions .apply_inner a {
  color: #555;
}
@media screen and (min-width: 768px) {
  #conditions .apply_inner a {
    display: inline-block;
    line-height: 1;
    border-bottom: solid 1px transparent;
    transition: 0.5s;
  }
  #conditions .apply_inner a:hover {
    border-bottom-color: #303030;
    transition: 1.2s;
  }
}
#conditions .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;
}
